/* Classic theme: scoped refinements on top of css/front/store/main.css.
   Everything is under body.theme-classic so Ashion, Aura, Famms and the shared fallback views are untouched. */

body.theme-classic {
    --classic-radius: 12px;
    --classic-ink: #0b1f33;
    --classic-muted: #64748b;
    /* Classic stays one blue: the shared gradient runs primary to secondary (grey), so use a blue-to-deep-blue one */
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    font-family: var(--font-family, 'Plus Jakarta Sans', sans-serif);
    -webkit-font-smoothing: antialiased;
    background: #ffffff;
    color: var(--classic-ink);
}

/* Header: clean white bar, solid brand text, no gradient-clipped logo */
body.theme-classic .navbar {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border) !important;
    padding: 0.75rem 0;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}
body.theme-classic .navbar-brand {
    background: none;
    -webkit-text-fill-color: var(--classic-ink);
    color: var(--classic-ink);
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}
body.theme-classic .navbar-brand i { color: var(--primary); }
body.theme-classic .store-logo { width: auto; height: 40px; border-radius: 6px; object-fit: contain; }
body.theme-classic .nav-link { font-size: 0.95rem; color: var(--classic-muted) !important; }
body.theme-classic .nav-link:hover,
body.theme-classic .nav-link.active { color: var(--primary) !important; }

/* Buttons: solid brand color, consistent radius */
body.theme-classic .btn-gradient {
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
body.theme-classic .btn-gradient:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.25);
}
body.theme-classic .btn-view { border-width: 1.5px; border-radius: 10px; }

/* Section rhythm */
body.theme-classic section.py-5 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
body.theme-classic .bg-light { background: #f8fafc !important; }

/* Footer: deeper tone, clearer hierarchy */
body.theme-classic footer { background: #0b1f33; padding: 4rem 0 1.5rem; }
body.theme-classic footer h6 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; }
body.theme-classic footer .footer-links a { color: #94a3b8; }
body.theme-classic footer .footer-links a,
body.theme-classic footer .footer-links a:hover,
body.theme-classic footer .footer-links a:focus { text-decoration: none !important; }
body.theme-classic footer .footer-links a:hover,
body.theme-classic footer .footer-links a:focus { color: #fff; padding-left: 0; }

@media (max-width: 575.98px) {
    body.theme-classic section.py-5 { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
}

/* ===== Classic home redesign ===== */

/* Hero */
body.theme-classic .classic-hero {
    padding: 8rem 0 4.5rem;
    background:
        radial-gradient(900px 400px at 85% 10%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
        linear-gradient(180deg, color-mix(in srgb, var(--primary) 6%, white) 0%, #ffffff 100%);
    overflow: hidden;
}
.classic-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .4rem .9rem; border-radius: 999px;
    background: color-mix(in srgb, var(--primary) 12%, white);
    color: var(--primary-dark); font-weight: 600; font-size: .85rem;
    margin-bottom: 1.25rem;
}
.classic-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
    color: var(--classic-ink, #0b1f33); margin-bottom: 1rem;
}
.classic-hero-title span { color: var(--primary); }
.classic-hero-sub { font-size: 1.1rem; color: #475569; max-width: 520px; margin-bottom: 1.75rem; }
.classic-search {
    display: flex; align-items: center; gap: .5rem;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
    padding: .4rem .4rem .4rem 1rem; max-width: 520px;
    box-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
}
.classic-search i { color: #94a3b8; }
.classic-search input { flex: 1; border: 0; outline: 0; background: transparent; padding: .6rem .25rem; font-size: 1rem; min-width: 0; }
.classic-search button {
    border: 0; background: var(--primary); color: #fff; font-weight: 600;
    padding: .65rem 1.3rem; border-radius: 10px;
}
.classic-search button:hover { background: var(--primary-dark); }
.classic-hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.classic-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.classic-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* Hero collage */
.classic-collage { position: relative; height: 440px; }
.classic-collage-item {
    position: absolute; display: block; overflow: hidden; background: #f1f5f9;
    border-radius: 22px; box-shadow: 0 24px 50px -18px rgba(15, 23, 42, .35);
    border: 6px solid #fff; transition: transform .35s ease;
}
.classic-collage-item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.classic-collage-item:hover { transform: translateY(-6px) rotate(0deg) !important; z-index: 5; }
.classic-collage-item.item-1 { width: 58%; height: 78%; top: 0; right: 4%; transform: rotate(2deg); z-index: 2; }
.classic-collage-item.item-2 { width: 40%; height: 46%; bottom: 0; left: 2%; transform: rotate(-3deg); z-index: 3; }
.classic-collage-item.item-3 { width: 34%; height: 38%; bottom: 4%; right: 0; transform: rotate(3deg); z-index: 4; }
.classic-chip {
    position: absolute; left: 10px; bottom: 10px; right: 10px;
    display: flex; justify-content: space-between; align-items: center; gap: .5rem;
    background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px);
    border-radius: 12px; padding: .4rem .65rem; font-size: .78rem; color: #0b1f33;
}
.classic-chip em { font-style: normal; font-weight: 800; color: var(--primary); }
.classic-collage-empty {
    display: flex; align-items: center; justify-content: center; font-size: 5rem;
    color: color-mix(in srgb, var(--primary) 35%, white);
    background: color-mix(in srgb, var(--primary) 8%, white); border-radius: 28px;
}

/* Trust strip */
.classic-trust { padding: 0 0 1rem; margin-top: -1.5rem; position: relative; z-index: 3; }
.classic-trust-item {
    display: flex; align-items: center; gap: .85rem; height: 100%;
    background: #fff; border: 1px solid #eef2f7; border-radius: 16px; padding: 1rem 1.1rem;
    box-shadow: 0 8px 24px -14px rgba(15, 23, 42, .2);
}
.classic-trust-item i {
    width: 42px; height: 42px; flex: none; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--primary) 12%, white); color: var(--primary);
}
.classic-trust-item b { display: block; font-size: .92rem; color: #0b1f33; line-height: 1.2; }
.classic-trust-item span { font-size: .78rem; color: #64748b; }

/* Section headings */
.classic-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.classic-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; margin: 0; color: #0b1f33; }
.classic-kicker { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--primary); margin-bottom: .4rem; }

/* Banner */
body.theme-classic .banner-carousel { padding: 2.5rem 0 1rem; }
body.theme-classic .banner-slide { border-radius: 22px; overflow: hidden; }
body.theme-classic .banner-overlay { background: linear-gradient(90deg, rgba(15, 23, 42, .65) 0%, rgba(15, 23, 42, 0) 65%); }

/* Reviews */
body.theme-classic .reviews-section { padding: 4rem 0; background: color-mix(in srgb, var(--primary) 5%, white); }
body.theme-classic .review-card { border-radius: 18px; border: 0; box-shadow: 0 10px 30px -16px rgba(15, 23, 42, .25); }

@media (max-width: 991.98px) {
    body.theme-classic .classic-hero { padding: 6.5rem 0 3rem; }
    .classic-hero-sub { font-size: 1rem; }
}
@media (max-width: 575.98px) {
    .classic-search button { padding: .6rem 1rem; }
    .classic-trust { margin-top: 0; padding-top: 1.25rem; }
    .classic-trust-item { padding: .75rem; gap: .6rem; }
    .classic-trust-item i { width: 34px; height: 34px; }
    .classic-trust-item { align-items: flex-start; height: 100%; }
    .classic-trust-item b { font-size: .85rem; }
    .classic-trust-item span { font-size: .7rem; line-height: 1.25; display: block; margin-top: 2px; }
    .classic-head { margin-bottom: 1.25rem; }
}

/* Hero backdrop: the first hero image, blurred and tinted, fading to white behind the text */
body.theme-classic .classic-hero { position: relative; overflow: hidden; }
.classic-hero-bg {
    position: absolute; inset: -60px; z-index: 0;
    background-size: cover; background-position: center;
    filter: blur(46px) saturate(1.25); opacity: .55; transform: scale(1.1);
}
.classic-hero::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, #ffffff 97%),
        linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, .88) 32%, rgba(255, 255, 255, .15) 68%, rgba(11, 31, 51, .12) 100%);
}
.classic-hero .container { z-index: 2; }
.classic-collage-item.item-1 .classic-chip { bottom: auto; top: 10px; }

/* Banner carousel (own section under the hero) */
.classic-banner-section { padding: 2rem 0 1rem; }
.classic-banner { border-radius: 24px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(11, 31, 51, .4); background: #e2e8f0; }
.classic-banner .carousel-item img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; display: block; }
.classic-banner .carousel-control-prev-icon,
.classic-banner .carousel-control-next-icon {
    background-color: rgba(11, 31, 51, .55); border-radius: 50%; width: 2.4rem; height: 2.4rem; background-size: 50%;
}
.classic-banner .carousel-indicators { margin-bottom: .6rem; }
.classic-banner .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; border: 0; }
@media (max-width: 767.98px) {
    .classic-banner { border-radius: 16px; }
    .classic-banner .carousel-item img { aspect-ratio: 16 / 9; }
}

/* Form controls and buttons do not inherit the body font by default */
body.theme-classic button,
body.theme-classic input,
body.theme-classic select,
body.theme-classic textarea { font-family: inherit; }
body.theme-classic .classic-hero-title,
body.theme-classic .classic-head h2 { letter-spacing: -0.025em; }

/* ===== Card base (moved from the home view) ===== */
/* Home product rows: 4 per row on laptops, 5 per row on wide screens (1400px and up) */
@media (min-width: 992px) {
    .col-custom-5 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 25% !important;
    }
}
@media (min-width: 1400px) {
    .col-custom-5 {
        flex: 0 0 20% !important;
        max-width: 20% !important;
        width: 20% !important;
    }
}

body.theme-classic .product-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
}

body.theme-classic .product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.12) !important;
    border-color: #cbd5e1 !important;
}

body.theme-classic .product-card .product-image-container {
    position: relative !important;
    width: 100% !important;
    height: 220px !important;
    background: #f8fafc !important;
    overflow: hidden !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.theme-classic .product-card .product-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    transition: transform 0.35s ease !important;
}

body.theme-classic .product-card:hover .product-image {
    transform: scale(1.06) !important;
}

body.theme-classic .product-card .product-favorite {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

body.theme-classic .product-card .product-favorite:hover,
body.theme-classic .product-card .product-favorite.active {
    background: #ffffff !important;
    color: #ef4444 !important;
    border-color: #fca5a5 !important;
    transform: scale(1.1) !important;
}

body.theme-classic .product-card .product-badge {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 10 !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 20px !important;
}

body.theme-classic .product-card .product-body {
    padding: 0.85rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

body.theme-classic .product-card .category-subtitle {
    font-size: 0.7rem !important;
    letter-spacing: 0.5px !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-bottom: 0.25rem !important;
}

body.theme-classic .product-card .product-title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    margin-bottom: 0.35rem !important;
    min-height: 2.4rem !important;
    max-height: 2.4rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.theme-classic .product-card .product-price {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: var(--primary, #2563eb) !important;
    margin-bottom: 0.4rem !important;
}

body.theme-classic .product-card .product-actions {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
    margin-top: auto !important;
}

body.theme-classic .product-card .btn-add-to-cart,
body.theme-classic .product-card .btn-gradient {
    flex: 1 !important;
    border-radius: 10px !important;
    padding: 7px 10px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

body.theme-classic .product-card .btn-quick-view {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

body.theme-classic .product-card .btn-quick-view:hover {
    background: var(--primary, #2563eb) !important;
    color: #ffffff !important;
    border-color: var(--primary, #2563eb) !important;
}

@media (max-width: 576px) {
    body.theme-classic .product-card .product-image-container {
        height: 165px !important;
    }
    body.theme-classic .product-card .product-body {
        padding: 0.55rem !important;
    }
    body.theme-classic .product-card .product-title {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
        min-height: 2rem !important;
        max-height: 2rem !important;
        margin-bottom: 0.2rem !important;
    }
    body.theme-classic .product-card .product-price {
        font-size: 0.8rem !important;
        margin-bottom: 0.25rem !important;
    }
    body.theme-classic .product-card .btn-add-to-cart,
    body.theme-classic .product-card .btn-gradient {
        font-size: 0.7rem !important;
        padding: 5px 6px !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }
    body.theme-classic .product-card .btn-quick-view {
        width: 28px !important;
        height: 28px !important;
        border-radius: 8px !important;
        font-size: 0.7rem !important;
    }
}

/* ===== Classic product cards (home) ===== */
body.theme-classic .product-card {
    background: #fff !important;
    border: 1px solid #e8eef5 !important;
    border-radius: 18px !important;
    box-shadow: 0 1px 2px rgba(11, 31, 51, .04) !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}
body.theme-classic .product-card:hover {
    transform: translateY(-4px) !important;
    border-color: color-mix(in srgb, var(--primary) 25%, #e8eef5) !important;
    box-shadow: 0 18px 36px -18px rgba(11, 31, 51, .28) !important;
}
body.theme-classic .product-card .product-image-container {
    aspect-ratio: 1 / 1;
    border-radius: 0 !important;
    margin: 0;
    background: #f1f5f9 !important;
}
body.theme-classic .product-card .product-body { padding: .9rem 1rem 1rem !important; }
body.theme-classic .product-card .category-subtitle {
    color: var(--primary) !important; font-size: .68rem !important; letter-spacing: .08em !important; opacity: .85;
}
body.theme-classic .product-card .product-title { font-size: .92rem !important; font-weight: 600 !important; color: #0b1f33 !important; }

/* Badges */
body.theme-classic .product-card .product-badge { border-radius: 8px !important; font-size: .68rem !important; letter-spacing: .02em; }
body.theme-classic .product-card .classic-badge-sale { background: #d92d20 !important; color: #fff !important; }

/* Rating: real reviews only */
.classic-rating { display: flex; align-items: center; gap: .3rem; font-size: .78rem; margin-bottom: .45rem; color: #64748b; }
.classic-rating i { color: #f5a623; font-size: .72rem; }
.classic-rating b { color: #0b1f33; font-weight: 700; }

/* Price */
body.theme-classic .product-card .product-price { font-size: 1.05rem !important; font-weight: 800 !important; color: #0b1f33 !important; }

/* Stock note: only for low / out of stock */
.classic-stock { font-size: .74rem; font-weight: 600; margin-bottom: .6rem; }
.classic-stock.low { color: #b54708; }
.classic-stock.out { color: #667085; }

/* Actions: ghost icon + solid add-to-cart */
body.theme-classic .product-card .product-actions { gap: .5rem !important; margin-top: auto !important; padding-top: .35rem; }
body.theme-classic .product-card .btn-quick-view {
    width: 40px !important; height: 40px !important; border-radius: 10px !important; flex: none;
    background: #fff !important; border: 1px solid #dbe4ee !important; color: #475569 !important;
}
body.theme-classic .product-card .btn-quick-view:hover { background: color-mix(in srgb, var(--primary) 8%, white) !important; color: var(--primary) !important; border-color: var(--primary) !important; }
body.theme-classic .product-card .btn-gradient,
body.theme-classic .product-card .btn-add-to-cart {
    height: 40px; border-radius: 10px !important; font-size: .85rem !important; font-weight: 600 !important;
    background: var(--primary) !important; color: #fff !important; padding: 0 .75rem !important;
}
body.theme-classic .product-card .btn-gradient:hover { background: var(--primary-dark) !important; transform: none; box-shadow: 0 8px 18px -8px var(--primary); }
body.theme-classic .product-card .btn-gradient.disabled,
body.theme-classic .product-card .btn-gradient:disabled { background: #cbd5e1 !important; box-shadow: none; }

/* Wishlist heart */
body.theme-classic .product-card .product-favorite { top: 10px !important; right: 10px !important; box-shadow: 0 4px 10px rgba(11, 31, 51, .12) !important; border: 0 !important; }

@media (max-width: 575.98px) {
    body.theme-classic .product-card .product-body { padding: .65rem .7rem .8rem !important; }
    body.theme-classic .product-card .product-title { font-size: .82rem !important; }
    body.theme-classic .product-card .btn-gradient { font-size: .74rem !important; height: 36px; padding: 0 .4rem !important; }
    body.theme-classic .product-card .btn-quick-view { width: 36px !important; height: 36px !important; }
}

/* Small phones: keep the Add to Cart label whole inside two-column cards */
@media (max-width: 575.98px) {
    body.theme-classic .product-card .btn-gradient i { display: none; }
    body.theme-classic .product-card .btn-gradient,
    body.theme-classic .product-card .btn-add-to-cart { min-width: 0; white-space: nowrap; font-size: .76rem !important; }
    body.theme-classic .product-card .product-price { font-size: .95rem !important; }
    body.theme-classic .product-card .product-actions { gap: .4rem !important; }
}
@media (max-width: 359.98px) {
    body.theme-classic .product-card .btn-quick-view { display: none !important; }
}

.classic-head { flex-wrap: wrap; }
.classic-head .classic-link { white-space: nowrap; }


/* ===== Audit fixes ===== */

/* Container width: set for every storefront theme in css/front/store/container.css. */

/* Visible keyboard focus */
body.theme-classic :focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 6px;
}
body.theme-classic footer :focus-visible { outline-color: #fff; }
body.theme-classic .classic-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
body.theme-classic .classic-search input:focus-visible { outline: none; }

/* Text sizes and contrast */
body.theme-classic .product-card .category-subtitle { font-size: .72rem !important; opacity: 1; }
.classic-trust-item span { font-size: .8rem; }
.classic-stock { font-size: .78rem; }
.classic-chip { font-size: .8rem; }

/* Bigger tap area for the wishlist heart without changing how it looks */
body.theme-classic .product-card .product-favorite::after { content: ''; position: absolute; inset: -8px; }

/* Orphan videos stay centred */
.classic-videos-row { justify-content: center; }

/* Laptops (five cards per row get narrow): keep the Add to Cart label on one line */
@media (min-width: 992px) and (max-width: 1399.98px) {
    body.theme-classic .product-card .btn-gradient i { display: none; }
    body.theme-classic .product-card .btn-gradient,
    body.theme-classic .product-card .btn-add-to-cart { white-space: nowrap; min-width: 0; font-size: .8rem !important; padding: 0 .5rem !important; }
    body.theme-classic .product-card .product-price { font-size: 1rem !important; }
}

/* One-line category label so card heights stay even */
body.theme-classic .product-card .category-subtitle {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}


/* ===== Instagram stories (shared styles live in css/front/instagram/story-viewer.css) ===== */
body.theme-classic .sv-title { color: #0b1f33; }

/* ===== Reviews slider ===== */
/* The shared slider script moves the track by exact percentages, so a CSS gap between slides made
   cards drift out of alignment with every slide. Spacing lives in padding instead. */
body.theme-classic .reviews-slider { gap: 0 !important; }
body.theme-classic .reviews-slider .review-slide { flex: 0 0 100% !important; max-width: 100% !important; padding: 10px 10px 18px; }
@media (min-width: 768px) {
    body.theme-classic .reviews-slider .review-slide { flex-basis: 50% !important; max-width: 50% !important; }
}
@media (min-width: 992px) {
    body.theme-classic .reviews-slider .review-slide { flex-basis: 33.3333% !important; max-width: 33.3333% !important; }
}
body.theme-classic .reviews-slider-container { max-width: none; padding: 0 56px; }
@media (max-width: 767.98px) {
    body.theme-classic .reviews-slider-container { padding: 0; }
    body.theme-classic .reviews-slider .review-slide { padding: 6px 4px 14px; }
    body.theme-classic .slider-controls { display: none; }
}
body.theme-classic .review-card {
    display: flex; flex-direction: column; height: 100%; padding: 1.4rem 1.5rem;
    border: 0; border-radius: 18px; box-shadow: 0 10px 30px -18px rgba(11, 31, 51, .35);
}
body.theme-classic .review-card:hover { transform: none; box-shadow: 0 14px 34px -16px rgba(11, 31, 51, .4); }
body.theme-classic .review-header { display: flex; align-items: center; gap: .85rem; margin-bottom: .85rem; }
body.theme-classic .review-avatar {
    flex: none; width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--primary) 14%, white); color: var(--primary-dark); font-weight: 700;
}
body.theme-classic .review-header h6 { font-size: .95rem; font-weight: 700; color: #0b1f33; }
body.theme-classic .review-text { font-style: normal; color: #334155; font-size: .98rem; line-height: 1.6; flex: 1; margin-bottom: .9rem; }
body.theme-classic .review-card small.text-muted {
    align-self: flex-start; background: #f1f5f9; border-radius: 999px; padding: .2rem .7rem; font-size: .78rem; color: #475569 !important;
}
body.theme-classic .slider-dots { margin-top: .5rem; gap: 8px; }
body.theme-classic .slider-dots .dot { width: 8px; height: 8px; transform: none; }
body.theme-classic .slider-dots .dot.active { width: 24px; border-radius: 999px; transform: none; }

/* ===== Instagram feed section ===== */
body.theme-classic .instagram-section { padding: 4rem 0; background: #fff; }
@media (max-width: 575.98px) { body.theme-classic .instagram-section { padding: 2.75rem 0; } }


/* Instagram feed: handle sits under the heading; grid lines up with the heading and the product grid */
.classic-insta-handle { display: inline-block; margin-top: .35rem; font-size: .95rem; }
body.theme-classic .instagram-grid { max-width: none; margin: 0; gap: 16px; }
@media (min-width: 992px) {
    body.theme-classic .instagram-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    body.theme-classic .instagram-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767.98px) {
    body.theme-classic .instagram-grid { gap: 12px; }
}

/* Links styled as buttons never get the browser underline (the shared stylesheet underlines every a:hover) */
body.theme-classic a.btn, body.theme-classic a.btn:hover, body.theme-classic a.btn:focus, body.theme-classic a.btn:active { text-decoration: none !important; }


/* ===== Shared pages (products list, cart, ...) rendered with Classic =====
   These pages use the shared store templates, so their markup differs from the home page cards. */
body.theme-classic .product-card .product-description { display: none; }
body.theme-classic .product-card .product-categories { margin-bottom: .25rem !important; }
body.theme-classic .product-card .category-tag {
    display: block; padding: 0; margin: 0; background: none; border: 0; border-radius: 0;
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.theme-classic .product-card .category-tag:nth-child(n+2) { display: none; }
@media (max-width: 575.98px) {
    body.theme-classic .product-card .category-tag,
    body.theme-classic .product-card .category-subtitle { font-size: .66rem !important; letter-spacing: .03em; }
}
/* no reviews: show nothing rather than "No reviews yet" */
body.theme-classic .product-card .product-rating:has(> small.text-muted:only-child) { display: none; }
body.theme-classic .product-card .product-rating { margin-bottom: .45rem !important; }
body.theme-classic .product-card .product-price { margin-bottom: .75rem !important; }
body.theme-classic .product-card .price-current { color: #0b1f33; font-weight: 800; font-size: 1.05rem; }
body.theme-classic .product-card .add-to-cart-btn {
    height: 40px; border-radius: 10px !important; font-weight: 600; font-size: .85rem;
    background: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important;
}
body.theme-classic .product-card .add-to-cart-btn:hover { background: var(--primary-dark) !important; }



/* ===== Quick info strip: cards are links ===== */
a.classic-trust-item { text-decoration: none !important; color: inherit; transition: transform .2s ease, border-color .2s ease; }
a.classic-trust-item:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--primary) 35%, #eef2f7); color: inherit; }

/* ===== Reviews: all cards in a row share the same height ===== */
body.theme-classic .reviews-slider { align-items: stretch; }
body.theme-classic .reviews-slider .review-slide { display: flex; }
body.theme-classic .review-card { height: auto; width: 100%; display: flex; flex-direction: column; }
body.theme-classic .review-text {
    flex: 1 1 auto; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== Products page on phones: two cards per row, like the home page ===== */
body.theme-classic [class*="col-xxl-3"] .product-card .product-image { object-position: center; }
@media (max-width: 575.98px) {
    body.theme-classic .row.g-4:has(> [class*="col-xxl-3"]) { --bs-gutter-x: .75rem; --bs-gutter-y: .75rem; }
    body.theme-classic .row > [class*="col-xxl-3"] { flex: 0 0 auto; width: 50%; }
    body.theme-classic [class*="col-xxl-3"] .product-card .product-body { padding: .6rem .65rem .75rem !important; }
    body.theme-classic [class*="col-xxl-3"] .product-card .product-title { font-size: .82rem !important; }
    body.theme-classic [class*="col-xxl-3"] .product-card .price-current { font-size: .92rem; }
    body.theme-classic [class*="col-xxl-3"] .product-card .product-actions { gap: .35rem; }
    body.theme-classic [class*="col-xxl-3"] .product-card .btn-quick-view { width: 34px; height: 34px; flex: none; }
    body.theme-classic [class*="col-xxl-3"] .product-card .add-to-cart-btn { height: 34px; padding: 0 .4rem; font-size: .74rem; white-space: nowrap; min-width: 0; }
    body.theme-classic [class*="col-xxl-3"] .product-card .add-to-cart-btn i { display: none; }
    /* the coupon chip is too wide for a half-width card: keep the price, drop the code */
    body.theme-classic [class*="col-xxl-3"] .product-card .card-offer { padding: .3rem .45rem; font-size: .7rem; }
    body.theme-classic [class*="col-xxl-3"] .product-card .card-offer__code { display: none; }
}

/* ===== Products and product pages: content starts right under the fixed header (75px desktop, 71px phone) ===== */
body.theme-classic.theme-classic .products-main-section { margin-top: 75px !important; padding-top: 1.5rem !important; }
body.theme-classic.theme-classic .breadcrumb-section { margin-top: 75px !important; }
@media (max-width: 991.98px) {
    body.theme-classic.theme-classic .products-main-section { margin-top: 71px !important; padding-top: 1rem !important; }
    body.theme-classic.theme-classic .breadcrumb-section { margin-top: 71px !important; }
}

/* ===== Same header height on every page =====
   Shared pages force a 48px logo; keep Classic identical to the home page. */
body.theme-classic .store-logo { height: 40px !important; max-height: 40px !important; max-width: 180px !important; width: auto !important; padding: 0; background: none; }
@media (max-width: 576px) {
    body.theme-classic .store-logo { height: 36px !important; max-height: 36px !important; max-width: 140px !important; }
}
