/* ============================================
   PRITHVI GEMSTONES — Main Stylesheet
   Fonts: Cormorant Garamond (display) + Jost (body)
   Colors: Deep green #006F24, cream #fcfcfc, gold accents
   ============================================ */

:root {
    --green: #006F24;
    --green-dark: #004d18;
    --green-light: #e8f5ec;
    --gold: #c9a84c;
    --black: #111111;
    --gray: #555555;
    --light: #f8f8f5;
    --cream: #fcfcfc;
    --white: #ffffff;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', sans-serif;
    --shadow: 0 4px 30px rgba(0,0,0,0.08);
    --radius: 4px;
    --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--cream);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }

/* ─── PRELOADER ─────────────────────────── */
#preloader {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fcfcfc;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease;
}
#preloader.fade-out { opacity: 0; pointer-events: none; }
#preloader img { width: min(500px, 80vw); }

/* ─── NAVBAR ────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(252,252,252,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-container {
    max-width: 1200px; margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px;
}
.nav-logo img { height: 40px; }
.nav-menu {
    display: flex; align-items: center; gap: 32px;
    font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-menu a {
    color: var(--black); position: relative; padding-bottom: 2px;
    transition: color var(--transition);
}
.nav-menu a::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 1px; background: var(--green);
    transition: width var(--transition);
}
.nav-menu a:hover { color: var(--green); }
.nav-menu a:hover::after { width: 100%; }
.nav-icons { display: flex; align-items: center; gap: 16px; }
.nav-icon {
    font-size: 18px; color: var(--black); position: relative;
    transition: color var(--transition);
}
.nav-icon:hover { color: var(--green); }
.cart-badge {
    position: absolute; top: -8px; right: -8px;
    background: var(--green); color: #fff;
    font-size: 10px; width: 18px; height: 18px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* ─── Firstname display (desktop only) ──── */
.nav-user {
    display: flex; align-items: center; gap: 6px;
}
.nav-firstname {
    font-size: 12px; font-family: var(--font-body);
    color: var(--black); letter-spacing: .03em;
    max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    transition: color var(--transition);
}
.nav-user:hover .nav-firstname { color: var(--green); }

/* ─── Wishlist nav icon ─────────────────── */
.wishlist-nav-icon { color: var(--black); }
.wishlist-nav-icon:hover, .wishlist-nav-icon.active { color: #e11d48; }
.wishlist-nav-icon .fa-solid.fa-heart { color: #e11d48; }
.wishlist-nav-badge { background: #e11d48 !important; }

/* ─── Wishlist button on cards ──────────── */
.wishlist-btn {
    position: absolute; top: 10px; right: 10px;
    width: 34px; height: 34px;
    background: #fff; border: 1px solid #eee;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 15px; color: #9ca3af;
    transition: all .2s; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.08);
    line-height: 1;
}
.wishlist-btn:hover { border-color: #e11d48; color: #e11d48; transform: scale(1.1); }
.wishlist-btn.wishlisted { color: #e11d48; border-color: #e11d48; background: #fff5f5; }
.wishlist-btn.wishlisted i { font-weight: 900; } /* solid heart */

/* ─── Wishlist button on product detail ── */
.wishlist-detail-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border: 1px solid #e5e7eb;
    border-radius: var(--radius); background: #fff;
    font-family: var(--font-body); font-size: 13px;
    letter-spacing: .05em; text-transform: uppercase;
    cursor: pointer; color: var(--gray);
    transition: all .2s; white-space: nowrap;
}
.wishlist-detail-btn:hover { border-color: #e11d48; color: #e11d48; }
.wishlist-detail-btn.wishlisted { border-color: #e11d48; color: #e11d48; background: #fff5f5; }
.wishlist-detail-btn.wishlisted .wl-label::after { content: 'ed'; }

/* ─── Wishlist page grid ─────────────────── */
.wishlist-empty {
    text-align: center; padding: 60px 24px; color: var(--gray);
}
.wishlist-empty i { font-size: 52px; opacity: .25; display: block; margin-bottom: 16px; }
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; padding: 4px;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--black); transition: var(--transition);
}

/* ─── FLASH MESSAGE ─────────────────────── */
.flash-message {
    position: fixed; top: 70px; left: 50%; transform: translateX(-50%);
    z-index: 999; padding: 12px 24px; border-radius: var(--radius);
    font-size: 14px; display: flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow); animation: slideDown 0.3s ease;
}
.flash-success { background: var(--green); color: #fff; }
.flash-error { background: #dc3545; color: #fff; }
.flash-info { background: #0d6efd; color: #fff; }
.flash-message button { background: none; color: inherit; font-size: 16px; }
@keyframes slideDown { from { opacity:0; transform: translateX(-50%) translateY(-10px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }

/* ─── HERO SLIDER ───────────────────────── */
.slider {
    width: 100%;
    height: calc(100vh - 70px);
    min-height: 480px;
    max-height: 900px;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    background: var(--cream);
}
.slides {
    display: flex;
    height: 100%;
    transition: transform 0.9s cubic-bezier(0.77,0,0.175,1);
    will-change: transform;
}
.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* ── Big gem name ── */
.slide h1 {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 11rem);
    color: rgba(240,240,240,0.92);
    font-weight: 300;
    letter-spacing: 0.04em;
    max-width: 100%;
    margin-left: 200%;
    white-space: nowrap;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.active-h1 { animation: text-animate 5s alternate forwards; }
@keyframes text-animate {
    0%   { margin-left: 200%; }
    28%  { margin-left: 0; }
    72%  { margin-left: 0; }
    100% { margin-left: -200%; }
}

/* ── Gem image ── */
.slide img {
    position: absolute;
    width: clamp(140px, 18vw, 280px);
    max-width: none;
    transform: scale(0);
    transition: transform 0.4s ease;
    pointer-events: none;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
    z-index: 2;
}
.active-image { animation: img-animate 4s alternate forwards; }
@keyframes img-animate {
    0%   { transform: scale(0.4) rotate(-4deg); opacity: 0; }
    25%  { transform: scale(1.05) rotate(0deg); opacity: 1; }
    70%  { transform: scale(1) rotate(0deg); opacity: 1; }
    100% { transform: scale(0.4) rotate(4deg); opacity: 0; }
}
.paused {
    animation: none !important;
    transform: scale(1) !important;
    margin-left: 0 !important;
    opacity: 1 !important;
}

/* ── Bottom content strip ── */
.slide .herocontent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    padding: 0 5% 32px 5%;
    z-index: 3;
    gap: 0;
}
.slide .divider {
    width: 1px;
    height: 80px;
    background: rgba(0,0,0,0.3);
    flex-shrink: 0;
    align-self: flex-end;
    margin-bottom: 4px;
}
.slide .herocontent h2 {
    font-family: var(--font-display);
    font-size: clamp(0.85rem, 1.1vw, 1.1rem);
    font-weight: 400;
    color: var(--black);
    letter-spacing: 0.06em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    margin: 0 16px 0 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.slide .herocontent p {
    max-width: 300px;
    font-size: 12px;
    line-height: 1.75;
    color: rgba(0,0,0,0.7);
    text-align: left;
    padding-bottom: 4px;
}
.slide .herocontent p strong {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    color: var(--black);
}

/* ── Slide nav dots ── */
.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slide-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}
.slide-dot.active {
    background: var(--green);
    width: 20px;
    border-radius: 3px;
}

/* ── Prev / Next buttons ── */
.buttons {
    position: absolute;
    bottom: 40px;
    right: 5%;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.buttons button {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.9);
    color: var(--black);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    font-size: 13px;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}
.buttons button:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    transform: scale(1.08);
}

/* ── Progress bar at bottom of slider ── */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--green);
    z-index: 10;
    width: 0%;
    transition: width 0.1s linear;
}

/* ── TABLET (768–1024) ── */
@media (max-width: 1024px) and (min-width: 769px) {
    .slider { height: calc(100vh - 70px); min-height: 440px; }
    .slide h1 { font-size: clamp(3.5rem, 9vw, 9rem); }
    .slide img { width: clamp(120px, 15vw, 220px); }
    .slide .herocontent h2 { font-size: 0.9rem; }
}

/* ── MOBILE (≤768px) ── */
@media (max-width: 768px) {
    .slider {
        height: 92svh;
        height: 92vh;
        min-height: 520px;
        max-height: none;
        margin-top: 70px;
    }
    .slide { align-items: flex-start; padding-top: 10vw; }
    .slide h1 {
        font-size: clamp(3rem, 14vw, 6rem);
        white-space: normal;
        text-align: center;
        line-height: 0.9;
        max-width: 100%;
        padding: 0 16px;
    }
    .slide img {
        width: clamp(120px, 38vw, 190px);
        top: 50%;
        transform: scale(0) translateY(-50%);
    }
    @keyframes img-animate {
        0%   { transform: scale(0.3) translateY(-50%); opacity: 0; }
        25%  { transform: scale(1.04) translateY(-50%); opacity: 1; }
        70%  { transform: scale(1) translateY(-50%); opacity: 1; }
        100% { transform: scale(0.3) translateY(-50%); opacity: 0; }
    }
    /* Bottom content: horizontal on mobile, smaller */
    .slide .herocontent {
        flex-direction: row;
        align-items: flex-end;
        padding: 0 14px 24px;
        gap: 10px;
    }
    .slide .divider {
        width: 1px;
        height: 60px;
        margin-bottom: 2px;
    }
    .slide .herocontent h2 {
        font-size: 11px;
        margin: 0 10px 0 12px;
        letter-spacing: 0.05em;
    }
    .slide .herocontent p {
        font-size: 11px;
        max-width: 200px;
        line-height: 1.6;
    }
    .slide .herocontent p strong { font-size: 13px; }
    .buttons { bottom: 28px; right: 14px; }
    .buttons button { width: 36px; height: 36px; font-size: 12px; }
    .slide-dots { bottom: 14px; }
}

/* ── SMALL PHONE (≤480px) ── */
@media (max-width: 480px) {
    .slider { height: 92svh; height: 92vh; min-height: 480px; }
    .slide { padding-top: 12vw; }
    .slide h1 { font-size: clamp(2.8rem, 16vw, 5rem); }
    .slide img { width: clamp(100px, 36vw, 160px); }
    .slide .herocontent p { max-width: 160px; font-size: 10.5px; }
    .slide .divider { height: 50px; }
    .slide .herocontent h2 { font-size: 10px; }
    .buttons { bottom: 22px; right: 10px; gap: 6px; }
}

/* ─── SECTIONS ──────────────────────────── */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400; letter-spacing: 0.02em; color: var(--black);
}
.section-header p { color: var(--gray); margin-top: 12px; max-width: 500px; margin-inline: auto; }

/* ─── PRODUCT CARDS ─────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 2px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card-image {
    height: 260px; overflow: hidden;
    background: var(--light);
    display: flex; align-items: center; justify-content: center;
}
.product-card-image img {
    width: 100%; height: 100%; object-fit: contain;
    padding: 20px; transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-body { padding: 20px; }
.product-card-body .planet {
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--green); margin-bottom: 6px;
}
.product-card-body h3 {
    font-family: var(--font-display); font-size: 1.4rem;
    font-weight: 400; margin-bottom: 4px;
}
.product-card-body .sanskrit {
    font-family: var(--font-display); font-style: italic;
    color: var(--gray); font-size: 0.95rem; margin-bottom: 12px;
}
.product-card-body .price {
    font-size: 1.1rem; font-weight: 500; color: var(--green); margin-bottom: 16px;
}
.product-card-actions { display: flex; gap: 8px; }

/* ─── BUTTONS ───────────────────────────── */
.btn-primary {
    background: var(--green); color: #fff;
    padding: 10px 22px; border-radius: var(--radius);
    font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
    transition: background var(--transition); display: inline-block;
}
.btn-primary:hover { background: var(--green-dark); }
.btn-outline {
    background: transparent; color: var(--green);
    padding: 9px 22px; border-radius: var(--radius);
    font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
    border: 1px solid var(--green); transition: var(--transition); display: inline-block;
}
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-full { width: 100%; text-align: center; }

/* ─── ABOUT SECTION ─────────────────────── */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.about-image img {
    width: 100%; border-radius: 2px;
    filter: sepia(10%) contrast(1.05);
}
.about-text h2 {
    font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300; line-height: 1.3; margin-bottom: 20px;
}
.about-text h2 em { color: var(--green); font-style: normal; }
.about-text p { color: var(--gray); margin-bottom: 16px; }

/* ─── TESTIMONIALS CAROUSEL ─────────────── */
.testimonials-carousel-wrap {
    position: relative;
    overflow: hidden;
    padding: 0 0 52px;
}
.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    cursor: grab;
    user-select: none;
}
.testimonials-track:active { cursor: grabbing; }
.testimonial-card {
    background: #fff;
    padding: 32px 28px;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    flex: 0 0 calc(33.333% - 16px);
    min-width: calc(33.333% - 16px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 0.6;
    color: var(--green-light);
    position: absolute;
    top: 20px;
    left: 22px;
    pointer-events: none;
}
.testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.testimonial-stars {
    color: #f59e0b;
    font-size: 13px;
    margin-bottom: 16px;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}
.testimonial-card p {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #f0f0ec;
}
.testimonial-author img {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.testimonial-author-info strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}
.testimonial-author-info span {
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 0.04em;
}

/* Carousel controls */
.tc-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}
.tc-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid #e0e0db;
    background: #fff;
    color: var(--black);
    font-size: 13px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.tc-btn:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
.tc-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}
.tc-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}
.tc-dot.active {
    background: var(--green);
    width: 18px;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonial-card { flex: 0 0 calc(50% - 12px); min-width: calc(50% - 12px); }
}
@media (max-width: 600px) {
    .testimonial-card { flex: 0 0 calc(100% - 0px); min-width: calc(100%); }
    .testimonials-track { gap: 16px; }
    .testimonial-card { padding: 24px 20px; }
}

/* ─── CONSULTATION SECTION ──────────────── */
.consult-section {
    background: var(--green); color: #fff;
    text-align: center; padding: 80px 24px;
}
.consult-section h2 {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300; margin-bottom: 12px;
}
.consult-section p { opacity: 0.85; margin-bottom: 32px; font-size: 1.1rem; }
.consult-section .btn-primary { background: #fff; color: var(--green); }
.consult-section .btn-primary:hover { background: #f0f0f0; }

/* ─── POPUP ─────────────────────────────── */
.popup-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 9999;
    align-items: center; justify-content: center;
    padding: 20px;
}
.popup-overlay.active { display: flex; }
.popup-content {
    background: #fff; padding: 40px; width: 520px; max-width: 100%;
    border-radius: 4px; position: relative; max-height: 90vh;
    overflow-y: auto;
}
.popup-content h1 {
    font-family: var(--font-display); color: var(--green);
    font-size: 1.8rem; font-weight: 400; margin-bottom: 6px;
}
.popup-content > p { color: var(--gray); font-size: 14px; margin-bottom: 24px; }
.close-popup {
    position: absolute; top: 16px; right: 20px;
    cursor: pointer; font-size: 20px; color: #999;
    background: none;
}

/* ─── FORMS ─────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 10px 14px;
    border: 1px solid #ddd; border-radius: var(--radius);
    font-family: var(--font-body); font-size: 14px;
    color: var(--black); background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0,111,36,0.08);
}
.form-group textarea { min-height: 100px; resize: vertical; }

/* ─── SHOP PAGE ──────────────────────────  */
.shop-hero {
    background: var(--light); padding: 60px 24px 40px;
    text-align: center; margin-top: 70px;
}
.shop-hero h1 {
    font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300; letter-spacing: 0.04em;
}
.shop-hero p { color: var(--gray); margin-top: 12px; }

/* ─── PRODUCT DETAIL ─────────────────────  */
.product-detail { margin-top: 70px; padding: 60px 24px; }
.product-detail-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.product-gallery-main {
    background: var(--light);
    border-radius: 2px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    min-height: 400px; padding: 40px;
}
.product-gallery-main img { max-height: 400px; object-fit: contain; }
.product-info h1 {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400; line-height: 1.2; margin-bottom: 6px;
}
.product-info .sanskrit-name {
    font-family: var(--font-display); font-style: italic;
    color: var(--gray); font-size: 1.1rem; margin-bottom: 20px;
}
.product-info .planet-badge {
    display: inline-block; background: var(--green-light); color: var(--green);
    padding: 4px 14px; border-radius: 20px; font-size: 12px;
    letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px;
}
.product-price {
    font-size: 1.6rem; font-weight: 500; color: var(--green); margin-bottom: 8px;
}
.product-price .original {
    font-size: 1rem; color: var(--gray); text-decoration: line-through; margin-left: 10px;
}
.product-desc { color: var(--gray); margin: 20px 0; line-height: 1.8; }
.variants-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.variants-grid { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.variant-btn {
    padding: 8px 18px; border: 1px solid #ddd; border-radius: var(--radius);
    font-size: 13px; background: #fff; transition: var(--transition);
}
.variant-btn.active,
.variant-btn:hover { border-color: var(--green); color: var(--green); }
.add-to-cart-row { display: flex; gap: 12px; align-items: center; }
.qty-input {
    width: 70px; padding: 10px 14px; border: 1px solid #ddd;
    border-radius: var(--radius); font-size: 14px; text-align: center;
}

/* ─── CART PAGE ──────────────────────────  */
.cart-page { margin-top: 70px; padding: 60px 24px; }
.cart-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 360px; gap: 40px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 12px 16px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 2px solid #eee; color: var(--gray); }
.cart-table td { padding: 16px; border-bottom: 1px solid #eee; vertical-align: middle; }
.cart-item-info { display: flex; align-items: center; gap: 16px; }
.cart-item-info img { width: 60px; height: 60px; object-fit: contain; background: var(--light); padding: 4px; border-radius: 2px; }
.cart-item-name { font-family: var(--font-display); font-size: 1rem; }
.cart-item-variant { font-size: 12px; color: var(--gray); }
.remove-item { background: none; color: #ccc; font-size: 18px; transition: color var(--transition); }
.remove-item:hover { color: #dc3545; }
.order-summary { background: var(--light); padding: 30px; border-radius: 2px; height: fit-content; }
.order-summary h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total { border-top: 2px solid #eee; margin-top: 12px; padding-top: 16px; font-size: 1.1rem; font-weight: 500; }
.coupon-row { display: flex; gap: 8px; margin: 16px 0; }
.coupon-row input { flex: 1; }

/* ─── AUTH PAGES ─────────────────────────  */
.auth-page { margin-top: 70px; min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-box { width: 420px; max-width: 100%; }
.auth-box h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; margin-bottom: 6px; }
.auth-box .subtitle { color: var(--gray); font-size: 14px; margin-bottom: 32px; }
.auth-switch { text-align: center; font-size: 14px; color: var(--gray); margin-top: 24px; }
.auth-switch a { color: var(--green); }

/* ─── ADMIN BADGE ────────────────────────  */
.admin-bar {
    background: var(--green); color: #fff;
    padding: 6px 24px; font-size: 12px; letter-spacing: 0.06em;
    display: flex; align-items: center; justify-content: space-between;
}
.admin-bar a { color: #fff; text-decoration: underline; }

/* ─── FOOTER ─────────────────────────────  */
.site-footer { background: var(--black); color: rgba(255,255,255,0.7); }
.footer-container {
    max-width: 1200px; margin: 0 auto;
    padding: 70px 24px 50px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px;
}
.footer-brand img { height: 36px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.8; }
.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a { color: rgba(255,255,255,0.5); font-size: 18px; transition: color var(--transition); }
.footer-social a:hover { color: #fff; }
.footer-links h4 {
    color: #fff; font-size: 12px; letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 20px;
}
.footer-links a {
    display: block; font-size: 13px; padding: 4px 0;
    color: rgba(255,255,255,0.6); transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-consult h4 {
    color: #fff; font-size: 12px; letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 16px;
}
.footer-consult p { font-size: 13px; margin-bottom: 20px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center; padding: 20px 24px;
    font-size: 12px; color: rgba(255,255,255,0.4);
}

/* ─── UTILITY ────────────────────────────  */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.divider-line { height: 1px; background: #eee; margin: 40px 0; }
.empty-state { text-align: center; padding: 60px 24px; color: var(--gray); }
.empty-state i { font-size: 48px; opacity: 0.3; margin-bottom: 16px; }
.badge-new {
    position: absolute; top: 12px; left: 12px;
    background: var(--gold); color: #fff;
    font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 3px 10px; border-radius: 20px;
}

/* ─── RESPONSIVE ─────────────────────────  */
@media (max-width: 1024px) {
    .footer-container { grid-template-columns: 1fr 1fr; gap: 30px; }
    .about-grid, .product-detail-inner { grid-template-columns: 1fr; gap: 40px; }
    .cart-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .nav-firstname { display: none; }
    .nav-menu.open {
        display: flex; flex-direction: column;
        position: fixed; top: 70px; left: 0; right: 0;
        background: #fff; padding: 20px 24px; gap: 20px;
        border-bottom: 1px solid #eee; box-shadow: var(--shadow);
    }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
}

/* ════════════════════════════════════════
   MOBILE BOTTOM NAVIGATION
   ════════════════════════════════════════ */

/* The bar itself — hidden on desktop */
.mob-nav {
    display: none;
}

@media (max-width: 768px) {

    /* ── Bottom nav bar ─────────────────── */
    .mob-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        height: 60px;
        background: #fff;
        border-top: 1px solid #e8e8e3;
        z-index: 600;
        align-items: stretch;
        box-shadow: 0 -4px 20px rgba(0,0,0,.06);
    }

    .mob-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        text-decoration: none;
        color: #999;
        font-family: var(--font-body);
        font-size: 10px;
        letter-spacing: .03em;
        position: relative;
        transition: color .15s;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
        border: none;
        background: none;
        padding: 0;
        width: 100%;
    }

    .mob-nav-item i {
        font-size: 20px;
        line-height: 1;
        transition: transform .18s cubic-bezier(.34,1.5,.64,1);
    }

    .mob-nav-item span {
        font-size: 9.5px;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    /* Active state */
    .mob-nav-item.active {
        color: var(--green);
    }

    /* Tap ripple — scale icon on press */
    .mob-nav-item:active i {
        transform: scale(.82);
    }

    /* Active indicator dot above tab */
    .mob-nav-item.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 28px;
        height: 2.5px;
        background: var(--green);
        border-radius: 0 0 3px 3px;
    }

    /* Badge on cart / wishlist */
    .mob-nav-badge {
        position: absolute;
        top: 6px;
        left: calc(50% + 5px);
        background: var(--green);
        color: #fff;
        font-size: 9px;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
        padding: 0 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        font-weight: 600;
    }

    .mob-nav-badge.heart {
        background: #e11d48;
    }

    /* Wishlist heart color */
    .mob-nav-item[data-tab="wishlist"].active { color: #e11d48; }
    .mob-nav-item[data-tab="wishlist"].active::before { background: #e11d48; }

    /* ── Search overlay ─────────────────── */
    .mob-search-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 700;
        background: rgba(0,0,0,.5);
        align-items: flex-start;
        padding-top: 80px;
    }
    .mob-search-overlay.open {
        display: flex;
    }
    .mob-search-box {
        width: 100%;
        background: #fff;
        padding: 16px;
        display: flex;
        gap: 10px;
        align-items: center;
        box-shadow: 0 8px 32px rgba(0,0,0,.12);
    }
    .mob-search-box input {
        flex: 1;
        font-size: 16px; /* 16px prevents iOS zoom */
        padding: 10px 14px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-family: var(--font-body);
        outline: none;
    }
    .mob-search-box input:focus {
        border-color: var(--green);
        box-shadow: 0 0 0 3px rgba(0,111,36,.08);
    }
    .mob-search-box button {
        padding: 10px 18px;
        background: var(--green);
        color: #fff;
        border: none;
        border-radius: 6px;
        font-family: var(--font-body);
        font-size: 14px;
        cursor: pointer;
    }

    /* ── Body adjustments ───────────────── */

    /* Push page content above the bar */
    body {
        padding-bottom: 60px;
    }

    /* Bump WhatsApp float button up */
    a[href*="wa.me"][style*="position:fixed"][style*="bottom:28px"][style*="right:28px"],
    a[href*="wa.me"][style*="bottom:28px"] {
        bottom: 76px !important;
    }

    /* Bump social proof ticker up */
    #spTicker {
        bottom: 76px !important;
    }

    /* Hide top navbar icons that are now in bottom nav to avoid duplication */
    .nav-icon.wishlist-nav-icon,
    .nav-icon.cart-icon {
        display: none;
    }

    /* Keep hamburger visible — it reveals full nav menu */
    .hamburger {
        display: flex;
    }

    /* ── Active tab animation ────────────── */
    @keyframes mobTabPop {
        0%   { transform: translateY(0); }
        40%  { transform: translateY(-5px); }
        100% { transform: translateY(0); }
    }
    .mob-nav-item.active i {
        animation: mobTabPop .3s ease;
    }
}

/* ════════════════════════════════════════
   SEARCH AUTOCOMPLETE
   ════════════════════════════════════════ */

/* ── Desktop search trigger icon ───────── */
.nav-search-btn {
    font-size: 18px;
    color: var(--black);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    transition: color .15s;
    padding: 0;
}
.nav-search-btn:hover { color: var(--green); }

/* ── Expanding search bar (desktop) ─────── */
.nav-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search-field {
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: width .3s cubic-bezier(.4,0,.2,1), opacity .25s ease;
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-search-wrap.open .nav-search-field {
    width: 260px;
    opacity: 1;
}

.nav-search-field input {
    width: 100%;
    padding: 7px 14px;
    border: 1.5px solid var(--green);
    border-radius: 20px;
    font-size: 13px;
    font-family: var(--font-body);
    outline: none;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,111,36,.1);
    color: var(--black);
    white-space: nowrap;
}

.nav-search-field input::placeholder {
    color: #aaa;
    font-size: 12px;
}

/* ── Autocomplete dropdown ──────────────── */
.ac-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    min-width: 380px;
    max-width: 480px;
    background: #fff;
    border: 1px solid #e8e8e3;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.13);
    z-index: 1100;
    overflow: hidden;
    display: none;
    animation: acFadeIn .18s ease;
}

/* Desktop: drop from the right side */
.nav-search-wrap .ac-dropdown {
    right: 0;
    left: auto;
    top: 46px;
}

/* Mobile: drop below the search box */
.mob-search-box .ac-dropdown {
    position: static;
    margin-top: 10px;
    min-width: 100%;
    max-width: 100%;
    border-radius: 8px;
    animation: none;
}

.ac-dropdown.visible { display: block; }

@keyframes acFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Dropdown sections ──────────────────── */
.ac-section { padding: 0; }

.ac-section-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #aaa;
    padding: 12px 14px 6px;
}

.ac-section + .ac-section {
    border-top: 1px solid #f0f0ec;
}

/* ── Product row ────────────────────────── */
.ac-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    cursor: pointer;
    text-decoration: none;
    color: var(--black);
    transition: background .12s;
}

.ac-product:hover,
.ac-product.focused {
    background: #f8f8f5;
}

.ac-product-img {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ac-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.ac-product-img .ac-gem-icon {
    font-size: 18px;
    color: #ccc;
}

.ac-product-info {
    flex: 1;
    min-width: 0;
}

.ac-product-name {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ac-product-sub {
    font-size: 11px;
    color: var(--gray);
    margin-top: 1px;
}

.ac-product-right {
    text-align: right;
    flex-shrink: 0;
}

.ac-price {
    font-size: 13px;
    font-weight: 500;
    color: var(--black);
}

.ac-price-old {
    font-size: 11px;
    color: #bbb;
    text-decoration: line-through;
    display: block;
}

.ac-out {
    font-size: 10px;
    color: #ef4444;
    letter-spacing: .03em;
}

/* ── Planet badge ───────────────────────── */
.ac-planet-badge {
    font-size: 10px;
    padding: 1px 7px;
    border-radius: 10px;
    background: var(--green-light);
    color: var(--green);
    white-space: nowrap;
}

/* ── Tag / category / planet pill rows ──── */
.ac-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 14px 12px;
}

.ac-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    color: var(--black);
    border: 1px solid #e0e0db;
    background: #fff;
    transition: border-color .12s, color .12s, background .12s;
    white-space: nowrap;
}

.ac-pill:hover,
.ac-pill.focused {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-light);
}

.ac-pill i {
    font-size: 11px;
    opacity: .7;
}

/* ── "See all results" footer ───────────── */
.ac-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-top: 1px solid #f0f0ec;
    font-size: 12px;
    color: var(--gray);
    background: #fafaf8;
    cursor: pointer;
    transition: background .12s;
}
.ac-footer:hover { background: #f3f3ee; }
.ac-footer strong { color: var(--green); }

/* ── Spinner ────────────────────────────── */
.ac-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #ccc;
    font-size: 13px;
    gap: 8px;
}

/* ── Empty state ────────────────────────── */
.ac-empty {
    padding: 20px 14px;
    text-align: center;
    color: var(--gray);
    font-size: 13px;
}

.ac-empty strong {
    display: block;
    font-size: 15px;
    color: var(--black);
    margin-bottom: 4px;
}

/* ── highlight matched text ─────────────── */
.ac-highlight {
    background: #fff3cd;
    border-radius: 2px;
    padding: 0 1px;
}

/* Mobile search box wraps dropdown */
.mob-search-box {
    flex-wrap: wrap;
}

/* Desktop: hide search icon on small screens (mobile uses bottom nav) */
@media (max-width: 768px) {
    .nav-search-wrap { display: none; }
}

/* ════════════════════════════════════════
   CHECKOUT PROGRESS STEPPER
   ════════════════════════════════════════ */

.co-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 44px;
    max-width: 520px;
    position: relative;
    padding: 0 8px;
}

/* Connecting line between steps */
.co-stepper::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: #e8e8e3;
    z-index: 0;
}

/* Filled portion of the line */
.co-stepper-line {
    position: absolute;
    top: 18px;
    left: 60px;
    height: 2px;
    background: var(--green);
    z-index: 1;
    width: 0;
    transition: width .45s cubic-bezier(.4,0,.2,1);
}

.co-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    flex: 1;
    cursor: default;
}

.co-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: #aaa;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    font-family: var(--font-body);
    position: relative;
}

.co-step-dot i {
    font-size: 14px;
}

.co-step-label {
    font-size: 11px;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #bbb;
    font-family: var(--font-body);
    transition: color .3s;
    white-space: nowrap;
}

/* Active step */
.co-step.active .co-step-dot {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
    box-shadow: 0 0 0 4px var(--green-light);
}
.co-step.active .co-step-label {
    color: var(--green);
    font-weight: 500;
}

/* Completed step */
.co-step.done .co-step-dot {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}
.co-step.done .co-step-label {
    color: var(--green);
}

/* Clickable completed steps */
.co-step.done {
    cursor: pointer;
}
.co-step.done .co-step-dot:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

/* ── Step panels ──────────────────────── */
.co-panel {
    display: none;
    animation: coPanelIn .3s ease;
}
.co-panel.active {
    display: block;
}

@keyframes coPanelIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Step header inside a panel ─────────── */
.co-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}

.co-step-header h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.co-step-header h3 .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 12px;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    flex-shrink: 0;
}

/* ── Summary card for a completed step ─── */
.co-done-card {
    background: var(--light);
    border: 1px solid #e8e8e3;
    border-left: 3px solid var(--green);
    border-radius: 4px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.co-done-card .co-done-text {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
}

.co-done-card .co-done-text strong {
    display: block;
    color: var(--black);
    font-size: 14px;
    margin-bottom: 2px;
}

.co-done-card .co-edit-btn {
    font-size: 12px;
    color: var(--green);
    cursor: pointer;
    white-space: nowrap;
    background: none;
    border: 1px solid var(--green);
    border-radius: 3px;
    padding: 4px 12px;
    transition: .15s;
    flex-shrink: 0;
}
.co-done-card .co-edit-btn:hover {
    background: var(--green);
    color: #fff;
}

/* ── Continue button ─────────────────── */
.co-continue-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-body);
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .15s;
    margin-top: 24px;
}
.co-continue-btn:hover { background: var(--green-dark); }
.co-continue-btn i { font-size: 13px; }

/* ── Payment method cards ────────────── */
.co-payment-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.co-payment-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 2px solid #e8e8e3;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    background: #fff;
}

.co-payment-card:hover {
    border-color: var(--green);
    background: #fafff8;
}

.co-payment-card.selected {
    border-color: var(--green);
    background: var(--green-light);
}

.co-payment-card input[type="radio"] {
    margin-top: 2px;
    width: auto;
    flex-shrink: 0;
    accent-color: var(--green);
}

.co-payment-card-body {
    flex: 1;
}

.co-payment-card-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
}

.co-payment-card-sub {
    font-size: 12px;
    color: var(--gray);
}

.co-payment-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.co-payment-icons img,
.co-payment-icon-pill {
    height: 20px;
    border-radius: 3px;
    border: 1px solid #e8e8e3;
    padding: 2px 6px;
    background: #fff;
    font-size: 10px;
    color: #666;
    display: flex;
    align-items: center;
    font-family: var(--font-body);
    white-space: nowrap;
}

/* ── Trust badge strip ───────────────── */
.co-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 14px;
    background: var(--light);
    border-radius: 4px;
    font-size: 11px;
    color: var(--gray);
}

.co-trust-strip span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.co-trust-strip i {
    color: var(--green);
    font-size: 13px;
}

/* ── Breadcrumb trail above stepper ──── */
.co-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 28px;
}

.co-breadcrumb a {
    color: var(--green);
    text-decoration: none;
}

.co-breadcrumb a:hover { text-decoration: underline; }

.co-breadcrumb .sep {
    font-size: 10px;
    color: #ccc;
}

/* ── Mobile responsive ───────────────── */
@media (max-width: 768px) {
    .co-stepper {
        margin-bottom: 32px;
    }
    .co-stepper::before { left: 40px; right: 40px; }
    .co-stepper-line { left: 40px; }
    .co-step-dot { width: 30px; height: 30px; font-size: 11px; }
    .co-step-label { font-size: 9.5px; }
    .co-stepper::before { top: 15px; }
    .co-stepper-line { top: 15px; }
}

/* ════════════════════════════════════════════════════════════
   FULL RESPONSIVE OVERHAUL — ALL DEVICES
   Breakpoints: 1200 · 1024 · 768 · 480 · 360
   ════════════════════════════════════════════════════════════ */

/* ── 1. Global box model safety net ──────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe { max-width: 100%; height: auto; }
table { width: 100%; }

/* Prevent any element from ever causing horizontal scroll */
body { overflow-x: hidden; }

/* ── 2. Responsive containers ────────────────────────────── */
.section-inner,
.footer-container,
.co-wrap,
.cart-page > *,
.product-detail,
.shop-hero,
.auth-page,
.acc-wrap {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
}

/* ══════════════════════════════════════════════════════
   LARGE TABLET  (≤1200px)
══════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
    .footer-consult { grid-column: 1 / -1; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* ══════════════════════════════════════════════════════
   TABLET  (≤1024px)
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    /* Product cards */
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

    /* About grid */
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-image { max-width: 560px; margin: 0 auto; }

    /* Cart */
    .cart-inner { grid-template-columns: 1fr; gap: 24px; }
    .order-summary { position: static !important; }

    /* Footer */
    .footer-container { grid-template-columns: 1fr 1fr; gap: 30px; }

    /* Account addresses tab */
    .acc-addr-grid { grid-template-columns: 1fr !important; }

    /* Co-stepper layout */
    .co-layout { grid-template-columns: 1fr !important; }

    /* Shop sidebar */
    .shop-sidebar-grid { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════════════════════
   MOBILE  (≤768px)
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Typography scale-down ───────────────────────── */
    h1, .page-title { font-size: clamp(1.6rem, 6vw, 2.5rem) !important; }
    h2 { font-size: clamp(1.3rem, 5vw, 2rem) !important; }

    /* ── Sections ────────────────────────────────────── */
    .section { padding: 40px 0; }
    .section-inner { padding: 0 16px; }
    .section-header { margin-bottom: 28px; }

    /* ── Products grid ───────────────────────────────── */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card-image { height: 180px; }
    .product-card-body { padding: 14px; }
    .product-card-body h3 { font-size: 1.1rem; }
    .product-card-actions { flex-direction: column; gap: 6px; }
    .product-card-actions .btn-outline,
    .product-card-actions .btn-primary { width: 100%; text-align: center; font-size: 12px; padding: 8px; }

    /* ── Shop page ───────────────────────────────────── */
    .shop-sidebar-grid { grid-template-columns: 1fr !important; }

    /* Sidebar becomes a collapsible drawer */
    .shop-sidebar {
        position: static !important;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 6px;
        padding: 0 !important;
        margin-bottom: 20px;
    }
    .shop-sidebar-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        border-bottom: 1px solid transparent;
    }
    .shop-sidebar-toggle.open { border-bottom-color: #eee; }
    .shop-sidebar-inner { display: none; padding: 16px; }
    .shop-sidebar-inner.open { display: block; }

    /* Active filter chips on mobile */
    .filter-chips {
        display: flex !important;
        gap: 8px;
        flex-wrap: wrap;
        padding: 10px 16px;
        border-top: 1px solid #eee;
    }
    .filter-chip {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 4px 10px;
        border-radius: 20px;
        background: var(--green-light);
        color: var(--green);
        font-size: 11px;
        border: 1px solid var(--green);
    }

    /* ── Product detail page ─────────────────────────── */
    .product-detail { padding: 20px 16px 40px; margin-top: 70px; }
    .product-detail-inner { grid-template-columns: 1fr !important; gap: 24px; }
    .gallery-wrap { position: static !important; }
    .gallery-main { min-height: 260px; }
    .gallery-thumbs { gap: 6px; }
    .gallery-thumb { width: 56px; height: 56px; }
    .product-info h1 { font-size: clamp(1.6rem, 6vw, 2.5rem) !important; }
    .add-to-cart-row { flex-wrap: wrap; }
    .qty-input { width: 60px; }
    .product-details-section { padding: 0 16px 40px; }

    /* ── Cart page ───────────────────────────────────── */
    .cart-page { padding: 20px 0 40px; }
    .cart-table thead { display: none; } /* Hide table headers on mobile */
    .cart-table tr { display: block; padding: 16px; border-bottom: 1px solid #eee; }
    .cart-table td { display: block; padding: 4px 0; border: none; }
    .cart-table td::before {
        content: attr(data-label);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--gray);
        display: block;
        margin-bottom: 3px;
    }
    .cart-item-info { flex-wrap: wrap; gap: 10px; }
    .cart-item-info img { width: 50px; height: 50px; }
    .coupon-row { flex-direction: column; }
    .coupon-row input, .coupon-row button { width: 100%; }

    /* ── Checkout page ───────────────────────────────── */
    .co-layout { grid-template-columns: 1fr !important; }
    .co-wrap { padding: 16px 16px 80px; }
    .co-stepper { max-width: 100%; }
    .co-payment-icons { flex-wrap: wrap; }
    .co-trust-strip { gap: 12px; font-size: 10px; }

    /* ── Auth pages ──────────────────────────────────── */
    .auth-page { padding: 24px 16px; align-items: flex-start; padding-top: 80px; }
    .auth-box { width: 100%; }

    /* ── Account page ────────────────────────────────── */
    .acc-wrap { margin-top: 70px; padding: 24px 16px 80px; }
    .acc-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
    .acc-stats .stat { padding: 14px 12px; }
    .acc-addr-grid { grid-template-columns: 1fr !important; }

    /* Order items in account */
    .order-item { flex-wrap: wrap; gap: 8px; }
    .order-item-img { width: 44px !important; height: 44px !important; }

    /* ── Footer ──────────────────────────────────────── */
    .footer-container { grid-template-columns: 1fr; gap: 28px; padding: 40px 16px 32px; }
    .footer-bottom { padding: 16px; font-size: 11px; }

    /* ── Forms ───────────────────────────────────────── */
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* ── Popup / modals ──────────────────────────────── */
    .popup-content { margin: 20px auto; max-height: 90vh; overflow-y: auto; padding: 20px 16px; }

    /* ── Testimonials carousel ───────────────────────── */
    .testimonials-carousel-wrap { padding-bottom: 48px; }

    /* ── Contact / franchise forms ───────────────────── */
    .contact-grid,
    .franchise-grid { grid-template-columns: 1fr !important; gap: 24px; }

    /* ── flash messages ──────────────────────────────── */
    .flash-message { width: calc(100% - 32px); left: 16px; transform: none; font-size: 13px; }
    @keyframes slideDown { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }

    /* ── Order success ───────────────────────────────── */
    .co-stepper { margin-bottom: 24px; }
}

/* ══════════════════════════════════════════════════════
   SMALL PHONE  (≤480px)
══════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    /* Single-column product grid */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card-image { height: 160px; }

    /* Account stats */
    .acc-stats { grid-template-columns: 1fr 1fr !important; }

    /* Nav icons gap */
    .nav-icons { gap: 10px; }

    /* Buttons full width in CTAs */
    .hero-cta .btn-primary,
    .hero-cta .btn-outline { display: block; width: 100%; text-align: center; margin-bottom: 10px; }

    /* Checkout stepper labels */
    .co-step-label { font-size: 8.5px; letter-spacing: .03em; }
    .co-step-dot { width: 28px; height: 28px; font-size: 11px; }
}

/* ══════════════════════════════════════════════════════
   VERY SMALL PHONE  (≤360px)
══════════════════════════════════════════════════════ */
@media (max-width: 360px) {
    .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .product-card-body { padding: 10px; }
    .nav-container { padding: 0 12px; }
    .nav-logo img { height: 32px; }
}

/* ════════════════════════════════════════════════════════════
   REMAINING RESPONSIVE FIXES — PASS 2
   ════════════════════════════════════════════════════════════ */

/* ── Contact page 2-col grid ─────────────────────────────── */
.contact-layout { display:grid; grid-template-columns:1fr 1.5fr; gap:60px; align-items:start; }
@media (max-width:768px) {
    .contact-layout { grid-template-columns:1fr !important; gap:32px; }
}

/* ── Product page additions ──────────────────────────────── */
@media (max-width:480px) {
    .gallery-thumb { width:48px !important; height:48px !important; }
    .gallery-thumbs { gap:5px; }
    .product-info .breadcrumb { font-size:11px; }
    .add-to-cart-row { gap:8px; }
    .add-to-cart-row .btn-primary,
    .add-to-cart-row .btn-outline { flex:1; text-align:center; font-size:12px; padding:10px 8px; }
    .variant-btn { padding:6px 12px; font-size:12px; }
    .planet-badge { font-size:10px; }
    .product-details-section { padding:0 12px 32px; }
}

/* ── Account page ────────────────────────────────────────── */
@media (max-width:768px) {
    .acc-wrap { padding:16px 12px 80px; }
    .acc-inner { padding:0; }
    /* Addresses tab 2-col -> 1-col */
    div[style*="grid-template-columns:1fr 340px"] { grid-template-columns:1fr !important; }
    /* Order card head stacks */
    .order-head { flex-direction:column; align-items:flex-start; padding:12px 14px; }
    .order-meta { gap:12px; }
    .order-meta-item .value { font-size:12px; }
    /* Order items image smaller */
    .order-item { padding:10px 14px; }
    .order-item-img { width:40px !important; height:40px !important; min-width:40px; }
    /* Order actions row */
    .oa-row { flex-wrap:wrap; gap:6px; }
    .oa-btn { font-size:11px; padding:6px 10px; }
    /* Pending payment banner */
    .pending-banner { flex-direction:column; align-items:flex-start; }
    /* Stats */
    .acc-stats { grid-template-columns:1fr 1fr !important; gap:8px; }
    .acc-stats .stat { padding:12px; }
    .acc-stats .stat .value { font-size:1.4rem; }
}

@media (max-width:480px) {
    .order-card { border-radius:4px; }
    .acc-stats .stat .value { font-size:1.2rem; }
    .acc-stats .stat .label { font-size:10px; }
}

/* ── Checkout page extra fixes ───────────────────────────── */
@media (max-width:480px) {
    .co-step-header h3 { font-size:1.1rem; }
    .co-step-header h3 .step-num { width:22px; height:22px; font-size:11px; }
    .co-payment-card { padding:12px 14px; }
    .co-payment-card-title { font-size:13px; }
    .co-done-card { flex-direction:column; gap:8px; }
    .co-trust-strip { font-size:9px; gap:8px; }
    .co-breadcrumb { font-size:11px; }
    .saved-addr-card { padding:10px 12px; }
}

/* ── Order success page ──────────────────────────────────── */
@media (max-width:768px) {
    .co-stepper { max-width:100%; padding:0; }
}

/* ── Footer popup ────────────────────────────────────────── */
@media (max-width:480px) {
    .popup-content { padding:16px; margin:10px auto; border-radius:8px 8px 0 0; position:fixed; bottom:0; left:0; right:0; max-height:92vh; overflow-y:auto; }
    .popup-overlay.active { align-items:flex-end; }
}

/* ── General table safety on all pages ───────────────────── */
@media (max-width:768px) {
    .table-responsive { overflow-x:auto; -webkit-overflow-scrolling:touch; }
    .table-responsive table { min-width:480px; }
}

/* ── Admin: media library ────────────────────────────────── */
@media (max-width:768px) {
    .media-toolbar { flex-wrap:wrap; gap:8px; }
    .media-toolbar input[type=text] { min-width:0; width:100%; flex-basis:100%; }
    .media-detail-panel { width:100% !important; right:-100% !important; }
    .media-detail-panel.open { right:0 !important; }
}

/* ── Admin: customers page ───────────────────────────────── */
@media (max-width:768px) {
    .cm-layout { grid-template-columns:1fr !important; }
    .cm-stats  { grid-template-columns:1fr 1fr !important; }
    .cm-tabs   { overflow-x:auto; white-space:nowrap; }
    .cm-tab    { padding:10px 12px; font-size:12px; }
    .wl-grid   { grid-template-columns:repeat(3,1fr) !important; gap:6px; }
    .or-row    { flex-wrap:wrap; }
}

@media (max-width:480px) {
    .cm-stats  { grid-template-columns:1fr 1fr !important; }
    .cm-hero   { padding:16px 14px; }
    .cm-av     { width:44px; height:44px; font-size:18px; }
    .cm-name   { font-size:1.2rem; }
    .wl-grid   { grid-template-columns:1fr 1fr 1fr !important; }
}

/* ── Admin: product-edit ─────────────────────────────────── */
@media (max-width:960px) {
    .pe-layout  { grid-template-columns:1fr !important; }
    .pe-sidebar { position:static !important; top:auto; }
}

/* ── Admin: categories / coupons / testimonials sidebar grids ── */
@media (max-width:768px) {
    /* All 2-col admin layout pages */
    [style*="grid-template-columns:1fr 340px"],
    [style*="grid-template-columns:1fr 360px"],
    [style*="grid-template-columns:1fr 380px"],
    [style*="grid-template-columns:1fr 310px"],
    [style*="grid-template-columns:1fr 300px"] {
        grid-template-columns: 1fr !important;
    }
}

/* ── Admin: stat-grid 4-col override ────────────────────── */
@media (max-width:768px) {
    [style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: 1fr 1fr !important;
    }
    [style*="grid-template-columns:repeat(3,1fr)"] {
        grid-template-columns: 1fr 1fr !important;
    }
}
@media (max-width:480px) {
    [style*="grid-template-columns:repeat(4,1fr)"],
    [style*="grid-template-columns:repeat(3,1fr)"] {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ── Index page / homepage ───────────────────────────────── */
@media (max-width:768px) {
    .consult-section { padding:48px 16px; }
    .consult-section h2 { font-size:clamp(1.6rem,6vw,2.4rem) !important; }
    .section-header h2 { font-size:clamp(1.4rem,5vw,2rem) !important; }
    .about-image img { max-height:300px; object-fit:cover; }
    .about-text h2 { font-size:clamp(1.4rem,5vw,2rem) !important; }
}

/* ── Franchise page ──────────────────────────────────────── */
@media (max-width:768px) {
    .fr-tiers  { grid-template-columns:1fr !important; }
    .fr-grid-2 { grid-template-columns:1fr !important; }
    .fr-grid-3 { grid-template-columns:1fr !important; }
}

/* ── Fix: nav search hidden on mobile ────────────────────── */
@media (max-width:768px) {
    .nav-search-wrap { display:none !important; }
}

/* ── Fix: social proof ticker — narrow screens ───────────── */
@media (max-width:360px) {
    #spTicker { left:8px !important; right:8px !important; width:auto !important; max-width:calc(100vw - 16px) !important; }
}

/* ── Fix: autocomplete dropdown on very narrow screens ────── */
@media (max-width:480px) {
    .ac-dropdown { min-width:100% !important; }
}

/* ── Invoice page ───────────────────────────────────────── */
@media (max-width:768px) {
    .invoice-wrap { padding:16px !important; }
    .invoice-header { flex-direction:column !important; gap:16px; }
    .invoice-totals { width:100% !important; }
}

/* ── Auth / Login page ──────────────────────────────────── */
@media (max-width:480px) {
    .auth-box h1 { font-size:1.7rem; }
    .form-row { grid-template-columns:1fr; gap:0; }
}

/* ── iOS safe area — only on actual mobile with bottom bar ── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    @media (max-width: 768px) {
        .mob-nav {
            padding-bottom: env(safe-area-inset-bottom);
            height: calc(60px + env(safe-area-inset-bottom));
        }
        body {
            padding-bottom: calc(60px + env(safe-area-inset-bottom));
        }
    }
}

/* ── Prevent font scaling on iOS ───────────────────────────── */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ── Focus visible outlines for accessibility ──────────────── */
:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

/* ── Tap highlight removal on touch targets ─────────────── */
a, button, label, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
}

/* ── Smooth scroll on all pages ─────────────────────────── */
html { scroll-behavior: smooth; }

/* ── Input zoom fix: 16px min on iOS to prevent auto-zoom ── */
@media (max-width:768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }
}
/* ════════════════════════════════════════════════════════════
   FINAL PRODUCTION RESPONSIVE POLISH
   ════════════════════════════════════════════════════════════ */

/* ── 1. Remove any leftover desktop body padding from mob-nav ── */
@media (min-width: 769px) {
    body { padding-bottom: 0 !important; }
}

/* ── 2. Hero slider — clamp font for very large screens ─────── */
@media (min-width: 1400px) {
    .slide h1 { font-size: 9rem; }
    .slide img { width: 260px; }
}

/* ── 3. Homepage sections spacing ───────────────────────────── */
@media (max-width: 768px) {
    .section { padding: 48px 0; }
    .section-inner { padding: 0 16px; }
    .section-header { margin-bottom: 28px; }
    .section-header h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
    .consult-section { padding: 48px 20px; }
    .consult-section h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
    .consult-section p { font-size: 0.95rem; }
}

/* ── 4. Featured products grid ──────────────────────────────── */
@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card-image { height: 150px; }
    .product-card-body { padding: 10px 12px; }
    .product-card-body h3 { font-size: 1rem; }
    .product-card-body .price { font-size: 0.95rem; margin-bottom: 10px; }
    .product-card-actions { gap: 5px; }
    .product-card-actions .btn-primary,
    .product-card-actions .btn-outline {
        padding: 7px 6px; font-size: 10px; letter-spacing: 0.02em;
    }
}
@media (max-width: 360px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card-image { height: 130px; }
}

/* ── 5. About section ───────────────────────────────────────── */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 28px; }
    .about-image { max-width: 380px; margin: 0 auto; }
    .about-image img { border-radius: 6px; max-height: 340px; object-fit: cover; width: 100%; }
    .about-text h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
    .about-text p { font-size: 14px; }
}
@media (max-width: 480px) {
    .about-image { max-width: 100%; }
    .about-image img { max-height: 260px; }
}

/* ── 6. Testimonials carousel responsive extras ─────────────── */
@media (max-width: 768px) {
    .tc-controls { gap: 12px; }
    .tc-btn { width: 36px; height: 36px; font-size: 12px; }
    .testimonials-carousel-wrap { padding-bottom: 44px; }
}
@media (max-width: 480px) {
    .testimonial-card { padding: 20px 16px; }
    .testimonial-card::before { font-size: 4rem; top: 14px; left: 14px; }
    .testimonial-card p { font-size: 13px; }
}

/* ── 7. Footer ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-container { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 32px; }
    .footer-brand { max-width: 320px; }
    .footer-bottom { padding: 16px 20px; font-size: 11px; }
    .footer-social { gap: 18px; }
    .footer-social a { font-size: 20px; }
}

/* ── 8. Account page — acc-tabs scrollbar fully hidden ──────── */
.acc-tabs { -ms-overflow-style: none; scrollbar-width: none; }
.acc-tabs::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ── 9. Checkout page extras ────────────────────────────────── */
@media (max-width: 768px) {
    .co-wrap { padding: 16px 14px 80px; }
    .co-breadcrumb { font-size: 11px; padding-top: 12px; }
    .co-step-label { font-size: 10px; }
    .co-step-dot { width: 32px; height: 32px; font-size: 13px; }
    .order-summary { padding: 20px 16px; }
}
@media (max-width: 480px) {
    .co-stepper { padding: 0 4px; }
    .co-stepper::before { left: 30px; right: 30px; }
    .co-stepper-line { left: 30px; }
    .co-step-dot { width: 28px; height: 28px; font-size: 11px; }
    .co-step-label { font-size: 9px; letter-spacing: 0.02em; }
    .co-payment-icons { flex-wrap: wrap; gap: 5px; }
    .co-payment-icon-pill { font-size: 9px; padding: 2px 5px; height: 18px; }
    .co-trust-strip { gap: 8px; padding: 10px; font-size: 9.5px; }
    .co-continue-btn { font-size: 13px; padding: 12px; }
}

/* ── 10. Cart page extras ───────────────────────────────────── */
@media (max-width: 768px) {
    .cart-page { padding: 16px 0 60px; }
    .cart-table td::before {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: .05em;
        color: var(--gray);
        font-weight: 500;
    }
    .coupon-row { flex-direction: column; gap: 8px; }
    .coupon-row input, .coupon-row .btn-outline { width: 100%; }
}
@media (max-width: 480px) {
    .cart-item-info img { width: 44px !important; height: 44px !important; }
    .cart-item-name { font-size: 0.9rem; }
}

/* ── 11. Product page ───────────────────────────────────────── */
@media (max-width: 768px) {
    .product-detail { padding: 16px 14px 40px; }
    .gallery-main { min-height: 260px; padding: 16px; }
    .gallery-thumbs { margin-top: 8px; gap: 6px; }
    .gallery-thumb { width: 54px !important; height: 54px !important; }
    .product-info h1 { font-size: clamp(1.5rem, 6vw, 2.2rem) !important; }
    .product-price { font-size: 1.3rem; }
    .add-to-cart-row { flex-wrap: wrap; gap: 8px; }
    .add-to-cart-row .btn-primary { flex: 1; text-align: center; }
    .variants-grid { gap: 7px; }
    .variant-btn { padding: 6px 12px; font-size: 12px; }
}
@media (max-width: 480px) {
    .gallery-main { min-height: 220px; padding: 10px; }
    .gallery-thumb { width: 46px !important; height: 46px !important; }
    .product-info h1 { font-size: clamp(1.3rem, 7vw, 1.8rem) !important; }
}

/* ── 12. Shop page ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .shop-hero { padding: 36px 16px 28px; }
    .shop-hero h1 { font-size: clamp(1.6rem, 6vw, 2.5rem); }
    .shop-sidebar-grid { gap: 0; }
}
@media (max-width: 480px) {
    .shop-sidebar-toggle { font-size: 13px; padding: 12px 14px; }
}

/* ── 13. Auth pages ─────────────────────────────────────────── */
@media (max-width: 480px) {
    .auth-page { padding: 80px 14px 40px; }
    .auth-box { width: 100%; }
    .auth-box h1 { font-size: 1.7rem; }
    .auth-box .subtitle { font-size: 13px; }
    .auth-switch { font-size: 13px; }
}

/* ── 14. Invoice page ───────────────────────────────────────── */
@media (max-width: 768px) {
    .invoice-page { padding: 16px !important; }
    .invoice-header { flex-direction: column !important; gap: 20px; }
    .invoice-to { font-size: 13px; }
    .invoice-totals { font-size: 13px; }
}
@media print {
    .mob-nav, #spTicker, .whatsapp-float { display: none !important; }
    body { padding-bottom: 0 !important; }
}

/* ── 15. Franchise page ─────────────────────────────────────── */
@media (max-width: 768px) {
    .fr-hero { min-height: 300px !important; }
    .fr-hero-inner h1 { font-size: clamp(1.5rem, 6vw, 2.5rem) !important; }
    .fr-tiers { grid-template-columns: 1fr !important; }
    .fr-grid-2 { grid-template-columns: 1fr !important; }
    .fr-grid-3 { grid-template-columns: 1fr !important; }
    .fr-steps { gap: 20px; }
    .fr-step { padding: 20px 16px; }
}
@media (max-width: 480px) {
    .fr-hero { min-height: 260px !important; }
    .fr-form-wrap { padding: 20px 16px; }
}

/* ── 16. Contact page ───────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ── 17. Social proof ticker on mobile ──────────────────────── */
@media (max-width: 768px) {
    #spTicker {
        bottom: 80px !important;
        left: 12px !important;
        width: calc(100vw - 24px) !important;
        max-width: 320px !important;
        border-radius: 8px;
    }
}
@media (max-width: 360px) {
    #spTicker {
        left: 8px !important;
        width: calc(100vw - 16px) !important;
        max-width: none !important;
        font-size: 12px;
    }
}

/* ── 18. Navbar ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-container { padding: 0 16px; gap: 12px; }
    .nav-logo img { height: 34px; }
    .nav-icons { gap: 10px; }
}
@media (max-width: 360px) {
    .nav-logo img { height: 30px; }
    .nav-icons { gap: 8px; }
}

/* ── 19. Preloader on mobile ─────────────────────────────────── */
@media (max-width: 768px) {
    #preloader img { width: 80vw; max-width: 320px; }
}

/* ── 20. WhatsApp float on mobile ────────────────────────────── */
@media (max-width: 768px) {
    a[href*="wa.me"][style*="position:fixed"] {
        bottom: 80px !important;
        right: 16px !important;
        width: 46px !important;
        height: 46px !important;
    }
}

/* ── 21. Flash messages ─────────────────────────────────────── */
@media (max-width: 768px) {
    .flash-message {
        width: calc(100vw - 32px);
        left: 16px;
        transform: none;
        right: 16px;
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* ── 22. Popup / consultation modal ─────────────────────────── */
@media (max-width: 480px) {
    .popup-overlay { align-items: flex-end; }
    .popup-content {
        margin: 0 !important;
        border-radius: 16px 16px 0 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 88vh;
        overflow-y: auto;
        padding: 20px 16px 32px;
    }
}

/* ── 23. Mobile search overlay extras ──────────────────────── */
@media (max-width: 480px) {
    .mob-search-box { padding: 12px; gap: 8px; }
    .mob-search-box input { font-size: 16px; padding: 9px 12px; }
    .mob-search-box button { padding: 9px 14px; font-size: 13px; }
}

/* ── 24. Order success / stepper ────────────────────────────── */
@media (max-width: 480px) {
    .co-stepper { margin-bottom: 24px; }
    .co-step-label { font-size: 9px; }
}

/* ── 25. Prevent horizontal overflow on ALL pages ───────────── */
html, body { max-width: 100vw; overflow-x: hidden; }
* { max-width: 100%; box-sizing: border-box; }
img, video, iframe, embed, object { max-width: 100%; }