/* Price Bar Widget Styles */

.kc-price-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    padding: 28px 32px;
    box-sizing: border-box;
    background: #ffffff;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}

/* ── Left column ─────────────────────────────────────── */
.kc-pb-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

/* Old price */
.kc-pb-price-old {
    font-size: clamp(0.95rem, 1.8vw, 1.25rem);
    font-weight: 500;
    color: #bcbcbc;
    text-decoration: line-through;
    display: block;
    line-height: 1;
}

/* Price row: big price + savings badge */
.kc-pb-price-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.kc-pb-price-current {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -1.5px;
    line-height: 1;
}

.kc-pb-savings {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--kc-pb-accent, #00b4a0);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    text-align: center;
}

/* SeQura row */
.kc-pb-sequra-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.kc-pb-sequra-link {
    text-decoration: none;
}

.kc-pb-sequra-logo {
    display: inline-block;
    background: #112d6a;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 900;
    font-size: 0.78rem;
    letter-spacing: -0.5px;
    transition: background 0.25s ease;
}

.kc-pb-sequra-link:hover .kc-pb-sequra-logo {
    background: #0d2354;
}

.kc-pb-sequra-info {
    color: #1a1a2e;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.kc-pb-sequra-info:hover {
    opacity: 0.7;
}

/* Details */
.kc-pb-details {
    margin-top: 4px;
}

.kc-pb-details-title {
    font-size: 0.78rem;
    font-weight: 900;
    color: #1a1a2e;
    margin: 0 0 2px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kc-pb-details-text {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
    line-height: 1.4;
}

/* ── Right column ────────────────────────────────────── */
.kc-pb-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.kc-pb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--kc-pb-accent, #00b4a0);
    color: #ffffff;
    padding: 16px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.3px;
}

.kc-pb-btn:hover {
    background-color: #009d8c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 160, 0.3);
    color: #ffffff;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
    .kc-price-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 22px 20px;
    }

    .kc-pb-right {
        width: 100%;
        justify-content: stretch;
    }

    .kc-pb-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .kc-pb-price-current {
        letter-spacing: -1px;
    }
}

@media (max-width: 480px) {
    .kc-price-bar {
        padding: 18px 16px;
        gap: 16px;
    }

    .kc-pb-savings {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}
