/* =============================================
   Valley Offers Carousel + Grid
   ============================================= */

.voc-carousel {
    overflow: hidden;
    position: relative;
}

.voc-track {
    display: flex;
    transition: transform 0.4s ease;
}

.voc-card {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* ── Grid mode — show all cards at once ──
   Default gap; overridden by the Gap Between Cards responsive control. */
.voc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}
.voc-grid .voc-card {
    flex: initial;
    max-width: none;
    padding: 0;
}

.voc-card-inner {
    position: relative;
    padding: 32px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    box-sizing: border-box;
}

/* ── Structured card elements ── */

.voc-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.voc-amount,
.valley-offer-amount {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 2px;
    padding: 0;
}

/* Mobile: slightly smaller */
@media (max-width: 767px) {
    .valley-offer-amount {
        font-size: 2.4rem;
    }
}

.voc-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 0 20px;
    padding: 0;
}

.voc-strikethrough {
    text-decoration: line-through;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    opacity: 0.4;
}

/* ── Dark style (navy + gold) ── */

.voc-dark .voc-card-inner {
    background: #0F2440;
    border: 1px solid rgba(196,155,47,0.4);
    padding: 40px 30px;
}
.voc-dark .voc-card-inner::after {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(196,155,47,0.35);
    pointer-events: none;
}

.voc-dark .voc-label {
    color: #C49B2F;
}

.voc-dark .voc-amount {
    color: #fff;
}

.voc-dark .voc-subtitle {
    color: rgba(255,255,255,0.7);
}

.voc-dark .voc-strikethrough {
    color: rgba(255,255,255,0.4);
}

.voc-dark .voc-deal {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.voc-dark .voc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.voc-dark .voc-terms {
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    line-height: 1.5;
    margin: 0;
}

.voc-dark .voc-expiration {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    margin: 0;
}

.voc-dark .voc-divider {
    height: 1px;
    width: 80%;
    background: linear-gradient(to right, transparent, rgba(196,155,47,0.4), transparent);
    margin: 12px 0;
}

.voc-dark .voc-cta {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    background: #F5C518;
    color: #1B3A5C;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease;
}
.voc-dark .voc-cta:hover {
    background: #EAB800;
}

/* ── Light style (white + navy) ── */

.voc-light .voc-card-inner {
    background: #fff;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.voc-light .voc-deal {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #C62828;
    line-height: 1.1;
}

.voc-light .voc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1B3A5C;
    margin: 0;
}

.voc-light .voc-terms {
    color: #9CA3AF;
    font-size: 0.7rem;
    line-height: 1.5;
    margin: 0;
}

.voc-light .voc-divider {
    height: 1px;
    width: 60%;
    background: #E5E7EB;
    margin: 8px 0;
}

.voc-light .voc-cta {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    background: #1B3A5C;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease;
}
.voc-light .voc-cta:hover {
    background: #2A4F7A;
}

/* ── Navigation ── */

.voc-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.voc-prev,
.voc-next {
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.6);
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.voc-prev:hover,
.voc-next:hover {
    border-color: #C49B2F;
    color: #C49B2F;
}

.voc-light .voc-prev,
.voc-light .voc-next {
    border-color: #D1D5DB;
    color: #6B7280;
}
.voc-light .voc-prev:hover,
.voc-light .voc-next:hover {
    border-color: #1B3A5C;
    color: #1B3A5C;
}

.voc-dots {
    display: flex;
    gap: 8px;
}

.voc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}
.voc-dot.active {
    background: #C49B2F;
}
.voc-light .voc-dot {
    background: #D1D5DB;
}
.voc-light .voc-dot.active {
    background: #1B3A5C;
}

/* ── Responsive ── */

@media (max-width: 1023px) {
    .voc-carousel .voc-card {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .voc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .voc-carousel .voc-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .voc-grid {
        grid-template-columns: 1fr;
    }
    .voc-dark .voc-deal,
    .voc-light .voc-deal {
        font-size: 2.2rem;
    }
    .voc-dark .voc-card-inner {
        padding: 32px 24px;
    }
}
