/* ==========================================================================
   MEALOYE — Ultra-Premium Design System v3.0
   "Asli Source. Asli Food. Seedha Aap Tak."
   ========================================================================== */

:root {
    /* Primary Colors - Warm, Premium, Earthy */
    --ink: #14110F;
    --ink-light: #2A2520;
    --red: #E63946;
    --red-dark: #C42233;
    --red-soft: #FDE8EA;
    --cream: #F8F2E7;
    --cream-2: #F1E8D6;
    --cream-3: #E8DDC8;
    --gold: #C9971F;
    --gold-light: #E8C84A;
    --gold-soft: #F5ECD7;
    --green: #1E2E22;
    --green-2: #25392C;
    --green-light: #3A5A44;
    --white: #FFFFFF;
    --off-white: #FAF8F5;
    
    /* Functional Colors */
    --line: rgba(20,17,15,0.08);
    --line-strong: rgba(20,17,15,0.15);
    --shadow-xs: 0 2px 8px rgba(20,17,15,0.04);
    --shadow-sm: 0 4px 16px rgba(20,17,15,0.06);
    --shadow-md: 0 12px 40px rgba(20,17,15,0.08);
    --shadow-lg: 0 24px 64px rgba(20,17,15,0.12);
    --shadow-xl: 0 40px 80px rgba(20,17,15,0.16);
    --shadow-glow: 0 0 60px rgba(201,151,31,0.08);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    /* Typography */
    --ff-display: 'Poppins', sans-serif;
    --ff-body: 'Inter', sans-serif;
    --ff-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;
    --space-7: 64px;
    --space-8: 80px;
    
    /* Transitions */
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { 
    scroll-behavior: smooth; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: var(--ff-body);
    color: var(--ink);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}
::selection {
    background: var(--gold);
    color: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.3s var(--ease-smooth); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, .display {
    font-family: var(--ff-display);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink);
    line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.display { 
    font-size: clamp(3rem, 7vw, 6rem); 
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.02;
}
.eyebrow {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--gold);
    display: inline-block;
}
.section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.08;
    margin-bottom: 0.6rem;
}
.section-sub {
    color: #6B6560;
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.7;
}
.mono { font-family: var(--ff-mono); }

/* ---------- Utility Classes ---------- */
.text-cream { color: var(--cream); }
.text-gold { color: var(--gold); }
.text-red { color: var(--red); }
.text-muted { color: #8A8478; }
.bg-ink { background: var(--ink); }
.bg-green { background: var(--green); }
.bg-cream { background: var(--cream); }
.bg-cream2 { background: var(--cream-2); }
.bg-off-white { background: var(--off-white); }
.bg-white { background: var(--white); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.min-vh-60 { min-height: 60vh; }
.min-vh-70 { min-height: 70vh; }

/* Spacing Utilities */
.pt-8 { padding-top: var(--space-8); }
.pb-8 { padding-bottom: var(--space-8); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }

/* ---------- Container ---------- */
.container-xl {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}
@media (max-width: 768px) {
    .container-xl { padding: 0 var(--space-3); }
}

/* ---------- Buttons ---------- */
.btn {
    border-radius: var(--radius-full);
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.8rem;
    border: 2px solid transparent;
    transition: all 0.3s var(--ease-spring);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-smooth);
}
.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.btn-mealoye {
    background: var(--red);
    color: #fff;
}
.btn-mealoye:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -8px rgba(230,57,70,0.4);
}
.btn-outline-mealoye {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
}
.btn-outline-mealoye:hover {
    background: var(--ink);
    color: #fff;
    transform: translateY(-2px);
}
.btn-gold {
    background: var(--gold);
    color: var(--ink);
}
.btn-gold:hover {
    background: #B3860F;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -8px rgba(201,151,31,0.4);
}
.btn-cream {
    background: var(--cream);
    color: var(--ink);
}
.btn-cream:hover {
    background: #fff;
    transform: translateY(-2px);
}
.btn-outline-cream {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.btn-outline-cream:hover {
    background: #fff;
    color: var(--ink);
    transform: translateY(-2px);
}
.btn-sm {
    padding: 0.45rem 1.2rem;
    font-size: 0.8rem;
}
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}
.btn-block {
    width: 100%;
    justify-content: center;
}

/* ---------- Navbar ---------- */
.navbar-mealoye {
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(20,17,15,0.06);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s var(--ease-smooth);
}
.navbar-mealoye.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255,255,255,0.98);
}
.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: var(--red);
    display: inline-block;
    flex: none;
    box-shadow: 0 4px 12px rgba(230,57,70,0.3);
}
.brand-mark::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -10%;
    width: 120%;
    height: 55%;
    background: var(--ink);
    border-radius: 0 0 60% 60% / 0 0 100% 100%;
}
.brand-word {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}
.brand-word span { color: var(--red); }
.nav-link-mealoye {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--ink);
    margin: 0 0.4rem;
    padding: 0.4rem 0 !important;
    position: relative;
    opacity: 0.7;
    transition: all 0.3s var(--ease-smooth);
}
.nav-link-mealoye::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s var(--ease-smooth);
}
.nav-link-mealoye:hover {
    opacity: 1;
}
.nav-link-mealoye:hover::after,
.nav-link-mealoye.active::after {
    width: 100%;
}
.nav-link-mealoye.active {
    opacity: 1;
    color: var(--red);
}
.cart-btn {
    position: relative;
    padding: 0.45rem 1.2rem !important;
}
.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--red);
    color: #fff;
    font-size: 0.6rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-mono);
    font-weight: 700;
}
.topbar {
    background: var(--ink);
    color: var(--cream);
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    padding: 0.35rem 0;
}
.topbar a { 
    color: var(--gold); 
    transition: color 0.3s ease;
}
.topbar a:hover { color: var(--gold-light); }
.divider-dot {
    width: 4px;
    height: 4px;
    background: var(--red);
    border-radius: 50%;
    display: inline-block;
    margin: 0 0.6rem;
    vertical-align: middle;
}

/* ---------- Hero Slider ---------- */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}
.hero-slider {
    position: relative;
    min-height: 70vh;
}
.slide {
    display: none;
    animation: slideFade 0.7s var(--ease-smooth);
}
.slide.active { display: block; }
@keyframes slideFade {
    0% { opacity: 0; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}
.slide-bg {
    padding: 3rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.slide-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.slide-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.slide-display {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    animation: float 6s var(--ease-smooth) infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.slide-icon { font-size: 6rem; line-height: 1; }
.slide-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-top: 0.5rem;
    background: rgba(0,0,0,0.3);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
}
.slide-badge-secondary {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.3rem;
    font-family: var(--ff-mono);
}
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    pointer-events: none;
    z-index: 10;
}
.slider-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s var(--ease-spring);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.08);
}
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
}
.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: all 0.4s var(--ease-spring);
    border: none;
    padding: 0;
}
.slider-dots .dot.active {
    background: var(--gold);
    width: 32px;
    border-radius: var(--radius-full);
}

/* ---------- Promise Strip ---------- */
.promise-strip {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
}
.promise-item {
    text-align: center;
    padding: 0.5rem;
}
.promise-item .promise-icon {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
}
.promise-item strong {
    display: block;
    font-family: var(--ff-display);
    font-size: 0.9rem;
}
.promise-item small {
    display: block;
    color: #8A8478;
    font-size: 0.75rem;
}

/* ---------- Category Cards ---------- */
.category-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-spring);
    height: 100%;
    padding: 2rem 1.5rem !important;
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--red));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.category-card:hover::before {
    opacity: 1;
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.category-image {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}
.category-icon-wrapper {
    width: 88px;
    height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-2);
    border-radius: 50%;
    font-size: 2.8rem;
}

/* ---------- Product Cards ---------- */
.product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease-spring);
    height: 100%;
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.product-image {
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
    background: var(--cream-2);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}
.product-card:hover .product-image img {
    transform: scale(1.06);
}
.badge-sale {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: var(--red);
    color: #fff;
    font-family: var(--ff-mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
    box-shadow: var(--shadow-sm);
}
.badge-classification {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--ff-mono);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}
.badge-batch {
    position: absolute;
    bottom: 0.8rem;
    left: 0.8rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-family: var(--ff-mono);
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}
.product-info { padding: 1.2rem 1.2rem 1.4rem; }
.product-origin {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    color: #8A8478;
    display: block;
    margin-bottom: 0.2rem;
}
.product-title {
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}
.product-title a:hover { color: var(--red); }
.product-rating {
    color: var(--gold);
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}
.product-price {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 0.6rem;
}
.product-price del {
    font-weight: 400;
    font-size: 0.85rem;
    color: #A39D90;
    margin-right: 0.4rem;
}
.product-price ins { text-decoration: none; }
.product-card .btn {
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
}

/* ---------- Deal Cards ---------- */
.deal-card {
    border-radius: var(--radius-xl);
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--ease-spring);
}
.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.deal-card.featured {
    background: var(--green);
    color: var(--cream);
    border-color: var(--green);
}
.deal-card.featured .text-muted { color: rgba(255,255,255,0.6); }
.deal-card.featured .btn {
    background: var(--cream);
    color: var(--ink);
}
.deal-card.featured .btn:hover {
    background: #fff;
}
.deal-ribbon {
    position: absolute;
    top: 1.2rem;
    right: -2.8rem;
    transform: rotate(38deg);
    background: var(--red);
    color: #fff;
    font-family: var(--ff-mono);
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    padding: 0.3rem 3.5rem;
    font-weight: 700;
}
.save-chip {
    display: inline-block;
    background: var(--gold-soft);
    color: var(--gold);
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-full);
    font-weight: 700;
}
.deal-card.featured .save-chip {
    background: rgba(255,255,255,0.15);
    color: var(--gold-light);
}

/* ---------- Trace Strip ---------- */
.trace-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}
.trace-step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.2rem 0.5rem;
}
.trace-step .num {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    color: var(--red);
    border: 1.5px solid var(--red);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    font-weight: 700;
}
.trace-step .lbl {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 0.9rem;
}
.trace-arrow {
    color: var(--line-strong);
    font-size: 1.2rem;
}

/* ---------- Source Journey ---------- */
.source-story { background: var(--cream-2); }
.journey-step {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s var(--ease-smooth);
}
.journey-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.journey-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 0.3rem;
}
.journey-label {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 0.85rem;
    display: block;
}

/* ---------- City Pills ---------- */
.city-pill {
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius-full);
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.3s var(--ease-spring);
}
.city-pill:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ---------- Offers Section ---------- */
.offers-section {
    position: relative;
    overflow: hidden;
}
.offers-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.offers-section .offer-badge {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    padding: 2.5rem;
    border: 2px dashed rgba(255,255,255,0.15);
    animation: floatBadge 4s var(--ease-smooth) infinite;
}
.offers-section .offer-icon {
    font-size: 3.5rem;
    display: block;
}
.offers-section .offer-text {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-top: 0.3rem;
}
.offers-section .offer-sub {
    font-size: 0.75rem;
    opacity: 0.6;
    display: block;
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.02); }
}

/* ---------- Footer ---------- */
.footer-mealoye {
    background: var(--ink);
    color: #C9C4B8;
    position: relative;
    overflow: hidden;
}
.footer-mealoye::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-mealoye h6 {
    color: #fff;
    font-family: var(--ff-display);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.6;
}
.footer-mealoye a {
    color: #A49F92;
    font-size: 0.9rem;
    line-height: 2.2;
    display: block;
    transition: all 0.3s ease;
}
.footer-mealoye a:hover {
    color: var(--gold);
    transform: translateX(4px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.78rem;
    color: #807B6E;
}
.social-links a {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1.3rem;
    padding: 0.4rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb-mo {
    font-family: var(--ff-mono);
    font-size: 0.78rem;
    color: #8A8478;
    padding: 0.5rem 0;
}
.breadcrumb-mo a {
    transition: color 0.3s ease;
}
.breadcrumb-mo a:hover { color: var(--red); }

/* ---------- Section Spacing ---------- */
.section-py {
    padding-top: clamp(3rem, 6vw, 5.5rem);
    padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

/* ---------- Scroll Reveal ---------- */
.mo-reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: all 0.7s var(--ease-smooth);
}
.mo-reveal.mo-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ---------- Product Detail ---------- */
.trace-panel {
    background: var(--green);
    color: var(--cream);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.trace-panel dt {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.trace-panel dd {
    font-family: var(--ff-display);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
.badge-classification-lg {
    display: inline-block;
    background: var(--gold-soft);
    color: var(--gold);
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.9rem;
    border-radius: var(--radius-full);
}
.product-origin-lg {
    font-size: 0.95rem;
    color: #5B564E;
    margin: 0.5rem 0;
}
.product-batch-lg {
    font-size: 0.85rem;
    color: #8A8478;
}
.product-rating-lg {
    color: var(--gold);
}
.product-price-lg {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--ink);
}
.product-price-lg del {
    font-weight: 400;
    font-size: 1.2rem;
    color: #A39D90;
    margin-right: 0.5rem;
}
.product-price-lg ins { text-decoration: none; }
.product-facts-box {
    background: var(--cream-2);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
}
.product-facts-box strong {
    font-family: var(--ff-display);
    font-weight: 600;
}

/* ---------- Source Cards ---------- */
.source-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    transition: all 0.4s var(--ease-spring);
}
.source-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.source-visual {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--cream);
}

/* ---------- Toast ---------- */
.mo-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--ink);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 2000;
    font-family: var(--ff-display);
    font-size: 0.9rem;
    transform: translateY(140%);
    transition: transform 0.4s var(--ease-spring);
}
.mo-toast.show { transform: translateY(0); }

/* ---------- Mobile ---------- */
.mo-sticky-atc {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 32px rgba(20,17,15,0.06);
    padding-bottom: env(safe-area-inset-bottom);
}
.mo-tab-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-around;
    padding: 0.4rem 0 calc(0.4rem + env(safe-area-inset-bottom));
}
.mo-tab-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    color: #8A8478;
    font-size: 1.2rem;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.2rem 0.6rem;
}
.mo-tab-bar a small {
    font-size: 0.6rem;
    font-family: var(--ff-display);
    font-weight: 600;
}
.mo-tab-bar a.active {
    color: var(--red);
}
.mo-tab-bar a.active small {
    color: var(--red);
}
.mo-tab-cart-count {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--red);
    color: #fff;
    font-size: 0.55rem;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-mono);
    font-weight: 700;
}
body:has(.mo-sticky-atc) { padding-bottom: 76px; }
@media (min-width: 992px) {
    .mo-sticky-atc, .mo-tab-bar { display: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .slide-bg { min-height: 60vh; }
    .slide-display {
        width: 200px;
        height: 200px;
    }
    .slide-icon { font-size: 4rem; }
    .slider-controls { padding: 0 0.8rem; }
    .slider-btn { width: 40px; height: 40px; font-size: 1.2rem; }
}
@media (max-width: 767px) {
    .trace-step .trace-arrow { display: none; }
    .promise-item { margin-bottom: 0.8rem; }
    .journey-step { margin-bottom: 0.8rem; }
    .slide-display {
        width: 160px;
        height: 160px;
    }
    .slide-icon { font-size: 3rem; }
    .slide-badge { font-size: 0.7rem; }
    .product-card .btn { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
}
@media (max-width: 480px) {
    .slide-bg { min-height: 50vh; padding: 1.5rem 0; }
    .slide-display {
        width: 140px;
        height: 140px;
    }
    .slide-icon { font-size: 2.5rem; }
    
    
}





/* ===== ADDITIONAL SHOP STYLES ===== */

/* Product Card Loading State */
.product-add-to-cart.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}
.product-add-to-cart.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.3);
    border-radius: inherit;
}
.product-add-to-cart.added {
    background: var(--green);
    border-color: var(--green);
}

/* Quick View Overlay Enhancements */
.product-overlay {
    background: rgba(20,17,15,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.product-overlay-btn {
    background: var(--white);
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.product-overlay-btn:hover {
    background: var(--gold);
    color: var(--ink);
    transform: scale(1.05);
}

/* Product Card Hover - Glow Effect */
.product-card.premium:hover {
    box-shadow: 0 24px 64px rgba(20,17,15,0.12), 0 0 0 1px rgba(201,151,31,0.1);
}

/* Product Image Zoom */
.product-image-wrapper {
    overflow: hidden;
}
.product-image-main {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
}
.product-card.premium:hover .product-image-main {
    transform: scale(1.08);
    filter: brightness(1.02);
}

/* Star Rating Colors */
.product-rating .star-rating {
    color: var(--gold);
}
.product-rating .star-rating .star {
    color: var(--gold);
}

/* Category Badge Colors */
.badge-direct {
    background: var(--gold);
    color: var(--ink);
}
.badge-organic {
    background: var(--green);
    color: #fff;
}
.badge-traditional {
    background: #8B5E3C;
    color: #fff;
}
.badge-single {
    background: #2D6A4F;
    color: #fff;
}
.badge-multi {
    background: #6A4E2D;
    color: #fff;
}
.badge-default {
    background: var(--ink);
    color: #fff;
}
.badge-sale {
    background: var(--red);
    color: #fff;
    animation: pulse-sale 2s ease-in-out infinite;
}

@keyframes pulse-sale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Product Card Responsive Grid */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .product-info-wrapper {
        padding: 0.8rem;
    }
    .product-title {
        font-size: 0.85rem;
    }
    .product-price {
        font-size: 0.95rem;
    }
    .product-actions .btn {
        font-size: 0.7rem;
        padding: 0.35rem 0.6rem;
    }
    .product-origin {
        font-size: 0.6rem;
    }
    .product-batch {
        font-size: 0.55rem;
    }
    .product-rating .star-rating {
        font-size: 0.7rem;
        width: 70px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .product-info-wrapper {
        padding: 0.6rem;
    }
    .product-title {
        font-size: 0.75rem;
    }
    .product-price {
        font-size: 0.8rem;
    }
    .product-actions .btn {
        font-size: 0.6rem;
        padding: 0.3rem 0.4rem;
        border-radius: var(--radius-sm);
    }
    .product-badge {
        font-size: 0.5rem;
        padding: 0.15rem 0.5rem;
        top: 0.4rem;
        left: 0.4rem;
    }
    .product-badge.badge-sale {
        right: 0.4rem;
        left: auto;
    }
    .product-overlay-btn {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
}