﻿/* Static fallback stylesheet generated from app/globals.css imports. */
/* Tangier Bakery website styles */

:root {
    --cream: #FFFBF5;
    --soft-cream: #FFF9F0;
    --sage: #edc01f;
    --sage-dark: #d4a817;
    --sage-muted: #E8D4B8;
    --blush: #F5E6D3;
    --charcoal: #2C2416;
    --text: #3A2F1F;
    --accent: #edc01f;
    --shadow: rgba(44, 36, 22, 0.12);
    --max-width: min(1180px, 90vw);
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --transition: 200ms ease;
    --transition-slow: 420ms ease;
    --font-hero: 'MontserratVariable', sans-serif;
}

@font-face {
    font-family: "Transcity DEMO";
    src: url("/fonts/Transcity-DEMO.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Daisuky Fancy";
    src: url("/fonts/Daisuky-Fancy.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "MontserratVariable";
    src: url("/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

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

html {
    overflow-x: clip;
}

html.i18n-loading body {
    visibility: visible;
    opacity: 1;
}

/* Keep text readable first; reveal images after i18n initialization. */
html.i18n-loading img {
    opacity: 0;
}

html:not(.i18n-loading) img {
    opacity: 1;
    transition: opacity 180ms ease;
}

body {
    margin: 0;
    font-family: var(--font-body), system-ui, sans-serif;
    color: var(--text);
    background-color: var(--cream);
    overflow-x: clip;
    /* Modern browsers support clip which doesn't break sticky */

    /* === BACKGROUND PATTERN === */
    /* Alternative: PNG Pattern */
    /* background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.7) 0, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 80% 10%, rgba(232, 212, 184, 0.65) 0, rgba(232, 212, 184, 0) 55%),
        url("../images/bg.png");
    background-attachment: fixed;
    background-size: auto, auto, 260px 180px; */

    /* Current: PNG cooking icon pattern */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.7) 0, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 80% 10%, rgba(232, 212, 184, 0.65) 0, rgba(232, 212, 184, 0) 55%),
        url("/images/pattern-icons.png");
    background-size: auto, auto, 220px 220px;
    background-repeat: no-repeat, no-repeat, repeat;
    background-position: 10% 20%, 80% 10%, 0 0;
    background-attachment: fixed;
    /* === END BACKGROUND PATTERN === */

    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

h1,
h2,
h3 {
    color: var(--charcoal);
    margin-top: 0;
}

h1 {
    font-family: var(--font-display), "Times New Roman", serif;
    font-size: clamp(2.4rem, 3.8vw, 3.5rem);
    font-style: italic;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 600;
}

h3 {
    font-size: 1.35rem;
    font-weight: 600;
}

p {
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--charcoal);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 999;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 0;
}

.site-header.is-sticky {
    box-shadow: 0 12px 32px rgba(28, 46, 43, 0.12);
}

.site-header.is-sticky .nav-inner {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.15rem clamp(1rem, 3vw, 1.5rem);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    transition: padding var(--transition);
}

.brand-mark {
    display: grid;
    gap: 0.1rem;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage-dark);
}

.nav-links {
    display: flex;
    justify-content: center;
}

.nav-links ul {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.5rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

html[dir="rtl"] .nav-links ul {
    direction: ltr;
}

/* Nav link double underline - two thin lines centered under text */
.nav-links a {
    position: relative;
    display: inline-block;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    padding: 0.4rem 0;
    transition: color 220ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

.nav-links a::before,
.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform-origin: center;
    transform: translateX(-50%) scaleX(0);
    transition: transform 220ms cubic-bezier(0.2, 0.9, 0.3, 1);
    height: 2px;
    /* line thickness */
    width: 100%;
    background: var(--sage-dark);
    border-radius: 2px;
}

/* Position the two lines: evenly spaced under text */
.nav-links a::before {
    bottom: -6px;
    /* first line */
}

.nav-links a::after {
    bottom: -10px;
    /* second line, 4px below first */
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--sage-dark);
    text-decoration: none;
    outline: 2px solid var(--sage-dark);
    outline-offset: 4px;
}

/* Animate underlines on hover and active state */
.nav-links a:hover::before,
.nav-links a:hover::after,
.nav-links a:focus-visible::before,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::before,
.nav-links a[aria-current="page"]::after {
    transform: translateX(-50%) scaleX(1);
}

/* Active page indicator */
.nav-links a[aria-current="page"] {
    color: var(--sage-dark);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.nav-link {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
    white-space: nowrap;
    transition: color var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--sage-dark);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.nav-toggle span:nth-child(2),
.nav-toggle span:nth-child(3) {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--charcoal);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle span:nth-child(2) {
    top: 18px;
}

.nav-toggle span:nth-child(3) {
    top: 26px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1500;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(127, 156, 137, 0.18);
    transition: box-shadow var(--transition), padding var(--transition), background-color var(--transition);
}

@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    .btn,
    a,
    button,
    .product-card,
    .value-card,
    .nav-toggle,
    .filter-btn {
        user-select: none;
        -webkit-user-select: none;
    }
}

.promo-banner {
    background-color: var(--sage);
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    padding: 0.75rem 1rem;
    text-align: center;
}

.promo-banner p {
    margin: 0;
}

.hero-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 2rem 0 4rem 60px;
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
    align-items: start;
    background: transparent;
}

.hero-section::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 0% 0%,
            rgba(255, 251, 245, 0.95) 0%,
            rgba(255, 251, 245, 0.55) 40%,
            rgba(255, 251, 245, 0.0) 75%),
        url("/images/hero-family.png");
    background-size: cover;
    background-position: 70% center;
    background-repeat: no-repeat;
    opacity: 1;
    transform: translateY(0);
}

.hero-section.hero-bg-ready::before {
    animation: heroDropIn 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-copy,
.hero-media {
    position: relative;
    z-index: 1;
}

.hero-section.hero-intro-pending .hero-copy {
    visibility: hidden;
    pointer-events: none;
}

.hero-section.hero-intro-ready .hero-copy {
    visibility: visible;
    pointer-events: auto;
}

.hero-copy > * {
    opacity: 1;
    transform: translateY(0);
}

.hero-section.hero-intro-ready .hero-copy > * {
    animation: heroDropIn 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-section.hero-intro-ready .hero-copy > :nth-child(1) {
    animation-delay: 0ms;
}

.hero-section.hero-intro-ready .hero-copy > :nth-child(2) {
    animation-delay: 140ms;
}

.hero-section.hero-intro-ready .hero-copy > :nth-child(3) {
    animation-delay: 280ms;
}

@keyframes heroDropIn {
    0% {
        opacity: 0;
        transform: translateY(-32px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section::before {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .hero-section.hero-intro-ready .hero-copy,
    .hero-section.hero-intro-ready .hero-copy > * {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-self: start;
    align-self: start;
    align-items: center;
    text-align: center;
    margin-left: 2.5rem;
    padding-left: 0;
    margin-top: 40px;
}

.hero-copy p {
    margin-bottom: 2rem;
}

.hero-logo-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-logo {
    width: clamp(130px, 20vw, 220px);
    height: auto;
    animation: logoFloat 3.6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero-copy h1 {
    max-width: 22ch;
    font-family: var(--font-hero);
    font-size: clamp(1.6rem, 2.3vw, 2.2rem);
    font-weight: 800;
    font-style: normal;
    white-space: pre-line;
}

html[dir="rtl"] .hero-copy h1 {
    font-weight: 900;
}

.hero-section .hero-actions .btn {
    padding: 0.65rem 1.3rem;
    font-size: 0.85rem;
}

.hero-section .hero-kicker,
.hero-section p,
.hero-section .btn,
.hero-section .metric,
.hero-section .metric-label {
    font-weight: 600;
}

.text-gold {
    color: var(--accent);
    font-weight: 700;
}

.hero-kicker {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--sage-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 40ch;
    margin-top: -0.5rem;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 0.5rem;
}

/* Enhanced Hero Button Hover Effects */
.hero-actions .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-actions .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hero-actions .btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Primary Button - Golden Shimmer Effect */
.hero-actions .btn-primary {
    background: linear-gradient(135deg, #edc01f 0%, #d4a817 100%);
    box-shadow: 0 8px 25px rgba(237, 192, 31, 0.4);
}

.hero-actions .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.hero-actions .btn-primary:hover {
    background: linear-gradient(135deg, #f5d14a 0%, #edc01f 100%);
    box-shadow:
        0 12px 40px rgba(237, 192, 31, 0.6),
        0 0 30px rgba(237, 192, 31, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-4px) scale(1.05);
}

/* Outline Button - Golden Border Glow */
.hero-actions .btn-outline {
    border: 2px solid #edc01f;
    color: #edc01f;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(237, 192, 31, 0.2);
}

.hero-actions .btn-hero-franchise {
    background: #ffffff;
}

.hero-actions .btn-outline::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    padding: 2px;
    background: linear-gradient(45deg, #edc01f, #f5d14a, #edc01f);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-actions .btn-outline:hover {
    background: linear-gradient(135deg, rgba(237, 192, 31, 0.15), rgba(245, 209, 74, 0.15));
    border-color: #f5d14a;
    color: #f5d14a;
    box-shadow:
        0 8px 30px rgba(237, 192, 31, 0.4),
        0 0 40px rgba(237, 192, 31, 0.3),
        inset 0 0 20px rgba(237, 192, 31, 0.1);
    transform: translateY(-4px) scale(1.05);
}

.hero-actions .btn-outline:hover::after {
    opacity: 1;
    animation: borderRotate 2s linear infinite;
}

@keyframes borderRotate {
    0% {
        filter: hue-rotate(0deg) brightness(1);
    }

    50% {
        filter: hue-rotate(15deg) brightness(1.2);
    }

    100% {
        filter: hue-rotate(0deg) brightness(1);
    }
}

/* Sparkle Effect on Hover */
.hero-actions .btn:hover {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.1);
    }
}


.hero-metadata {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 420px;
    padding-top: 1rem;
}

.metric {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--sage-dark);
}

.metric-label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3a2f1f;
}

.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: -15% -10% -10% -5%;
    background: transparent;
    /* Removed white circular background */
    border-radius: 50%;
    z-index: -1;
    display: none;
    /* Hide the background element completely */
}


.hero-media img {
    max-width: min(480px, 100%);
    filter: drop-shadow(0 24px 36px rgba(64, 84, 76, 0.18));
    animation: heroFloat 3s ease-in-out infinite;
}

.hero-media--photo {
    align-items: stretch;
    justify-content: flex-end;
    margin-top: -35px;
}

.hero-media--photo img {
    display: none;
}

.hero-media--photo::after {
    display: none;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.hero-overlay-card {
    position: absolute;
    bottom: -1.5rem;
    left: 10%;
    background: rgba(127, 156, 137, 0.92);
    color: #fff;
    padding: 1.4rem 1.8rem;
    border-radius: var(--radius-md);
    max-width: 260px;
    box-shadow: 0 20px 44px rgba(64, 84, 76, 0.22);
    font-size: 0.95rem;
    display: grid;
    gap: 0.6rem;
    display: none;
}

.hero-overlay-card span {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    z-index: 10;
    animation: scrollFloat 2s ease-in-out infinite;
    /* Hidden temporarily per request */
    display: none;
}

@keyframes scrollFloat {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 10px);
    }
}

.scroll-text {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #000000;
    transition: color 0.3s ease;
    text-shadow: 0 2px 12px rgba(205, 159, 71, 0.8),
        0 4px 20px rgba(184, 138, 58, 0.5),
        0 0 10px rgba(212, 175, 55, 0.6);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--sage-dark);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--sage-dark) 0%, transparent 100%);
    animation: scrollLineMove 1.5s ease-in-out infinite;
}

/* Hover effects */
.scroll-indicator:hover .scroll-text {
    color: rgba(220, 220, 220, 0.9);
}

.scroll-indicator:hover .scroll-line {
    background: var(--sage);
}

/* Line animation */
@keyframes scrollLineMove {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Hide on mobile if needed */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 1rem;
    }

    .scroll-line {
        height: 30px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition);
    cursor: pointer;
    box-shadow: none;
    white-space: nowrap;
    min-width: fit-content;
    min-height: 48px;
    line-height: 1.2;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(64, 84, 76, 0.18);
}

.btn-primary {
    background-color: var(--sage);
    color: #fff;
    box-shadow: 0 14px 32px rgba(96, 126, 110, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: var(--sage-dark);
    box-shadow: 0 24px 44px rgba(96, 126, 110, 0.28);
}

.btn-outline {
    background-color: transparent;
    color: var(--sage-dark);
    border-color: var(--sage-dark);
    box-shadow: 0 10px 24px rgba(64, 84, 76, 0.12);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background-color: rgba(127, 156, 137, 0.1);
    box-shadow: 0 20px 42px rgba(64, 84, 76, 0.18);
}

.btn-secondary {
    background-color: var(--blush);
    color: var(--charcoal);
    box-shadow: 0 12px 28px rgba(211, 159, 159, 0.22);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background-color: #f0caca;
    box-shadow: 0 22px 46px rgba(211, 159, 159, 0.24);
}

.btn-dark {
    background-color: var(--charcoal);
    color: #fff;
    box-shadow: 0 14px 34px rgba(47, 47, 43, 0.28);
}

.btn-dark:hover,
.btn-dark:focus-visible {
    background-color: #1f1f1c;
    box-shadow: 0 24px 52px rgba(47, 47, 43, 0.32);
}

.btn-small {
    padding: 0.55rem 1.05rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.nav-actions .btn-primary {
    padding-inline: 1.1rem;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.85);
    color: var(--sage-dark);
    border: 2px solid rgba(205, 159, 71, 0.25);
    padding: 0.6rem 1.4rem;
    box-shadow: 0 6px 16px rgba(205, 159, 71, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: linear-gradient(135deg, rgba(205, 159, 71, 0.15), rgba(184, 138, 58, 0.15));
    border-color: var(--sage-dark);
    box-shadow: 0 12px 32px rgba(205, 159, 71, 0.25);
    transform: translateY(-1px);
}

/* Enhanced golden hover for outline buttons (Quick View) */
.btn-outline:hover,
.btn-outline:focus-visible {
    background: linear-gradient(135deg, rgba(205, 159, 71, 0.12), rgba(184, 138, 58, 0.12));
    border-color: var(--sage-dark);
    box-shadow: 0 12px 32px rgba(205, 159, 71, 0.22);
    transform: translateY(-1px);
}

.btn.is-added {
    animation: cartPulse 0.4s ease;
}

@keyframes cartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Lightweight cart icon + badge */
.cart-icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--sage-dark);
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--transition), transform var(--transition);
}

.cart-icon-button:hover,
.cart-icon-button:focus-visible {
    color: var(--sage);
    transform: scale(1.05);
}

.cart-icon-button:focus-visible {
    outline: 2px solid var(--sage-dark);
    outline-offset: 4px;
    border-radius: 8px;
}

.cart-icon-svg {
    width: 24px;
    height: 24px;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--sage);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
}

.values {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4.5rem 0;
    scroll-margin-top: 70px; /* reduce scroll overlap under fixed header */
}

.values h2 {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 1.1rem;
    color: var(--sage-dark);
    margin-bottom: 2.5rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.value-card {
    padding: 2.25rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 34px var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-card h3 {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 1rem;
    color: var(--charcoal);
}

.value-card p {
    font-size: 0.98rem;
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--soft-cream);
    display: grid;
    place-items: center;
    border: 1px solid var(--sage-muted);
}

.value-icon svg {
    width: 34px;
    height: 34px;
    stroke: var(--sage-dark);
}

/* ========================================
   PSYCHOLOGICAL HOVER EFFECTS
   ======================================== */

/* Base card hover preparation */
.value-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. HEALTHY INGREDIENTS - "Purity Pulse" 
   Emotion: Safety, Trust, Care */
.value-grid .value-card:nth-child(1) {
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.value-grid .value-card:nth-child(1)::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center,
            rgba(76, 175, 80, 0.15) 0%,
            rgba(139, 195, 74, 0.08) 40%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.value-grid .value-card:nth-child(1):hover::before {
    opacity: 1;
    animation: purityPulse 3s ease-in-out infinite;
}

.value-grid .value-card:nth-child(1):hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(76, 175, 80, 0.25),
        0 0 40px rgba(76, 175, 80, 0.15),
        0 14px 34px var(--shadow);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(232, 245, 233, 0.95) 100%);
}

.value-grid .value-card:nth-child(1):hover .value-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-color: #4caf50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
}

.value-grid .value-card:nth-child(1):hover .value-icon svg {
    stroke: #4caf50;
    animation: iconBreathe 2s ease-in-out infinite;
}

@keyframes purityPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes iconBreathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

/* 2. DAILY PRODUCTION - "Fresh Energy Spark"
   Emotion: Vitality, Freshness, Activity */
.value-grid .value-card:nth-child(2) {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.value-grid .value-card:nth-child(2)::before,
.value-grid .value-card:nth-child(2)::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #ff9800, #ff6f00);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.8);
}

.value-grid .value-card:nth-child(2)::before {
    top: 20%;
    left: 10%;
}

.value-grid .value-card:nth-child(2)::after {
    bottom: 25%;
    right: 15%;
}

.value-grid .value-card:nth-child(2):hover::before {
    animation: sparkFloat1 1.5s ease-out infinite;
}

.value-grid .value-card:nth-child(2):hover::after {
    animation: sparkFloat2 1.5s ease-out 0.3s infinite;
}

.value-grid .value-card:nth-child(2):hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(255, 152, 0, 0.3),
        0 0 40px rgba(255, 193, 7, 0.2),
        0 14px 34px var(--shadow);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 243, 224, 0.95) 100%);
}

.value-grid .value-card:nth-child(2):hover .value-icon {
    transform: rotate(8deg) scale(1.15);
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-color: #ff9800;
    box-shadow: 0 0 25px rgba(255, 152, 0, 0.5);
    animation: energyPulse 0.8s ease-in-out infinite;
}

.value-grid .value-card:nth-child(2):hover .value-icon svg {
    stroke: #ff6f00;
}

@keyframes sparkFloat1 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-15px, -30px) scale(1.5);
    }
}

@keyframes sparkFloat2 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(20px, -35px) scale(1.8);
    }
}

@keyframes energyPulse {

    0%,
    100% {
        transform: rotate(8deg) scale(1.15);
    }

    50% {
        transform: rotate(8deg) scale(1.2);
    }
}

/* 3. HIGH EXPANSION - "Growth Cascade"
   Emotion: Ambition, Potential, Scaling */
.value-grid .value-card:nth-child(3) {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.value-grid .value-card:nth-child(3)::before,
.value-grid .value-card:nth-child(3)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.value-grid .value-card:nth-child(3)::before {
    width: 100px;
    height: 100px;
    border-color: rgba(63, 81, 181, 0.6);
}

.value-grid .value-card:nth-child(3)::after {
    width: 150px;
    height: 150px;
    border-color: rgba(103, 58, 183, 0.4);
}

.value-grid .value-card:nth-child(3):hover::before {
    animation: rippleExpand1 2s ease-out;
}

.value-grid .value-card:nth-child(3):hover::after {
    animation: rippleExpand2 2s ease-out 0.4s;
}

.value-grid .value-card:nth-child(3):hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 25px 70px rgba(63, 81, 181, 0.35),
        0 10px 40px rgba(103, 58, 183, 0.25),
        0 0 50px rgba(63, 81, 181, 0.2),
        0 14px 34px var(--shadow);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(232, 234, 246, 0.95) 100%);
}

.value-grid .value-card:nth-child(3):hover .value-icon {
    transform: scale(1.2) rotate(5deg);
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
    border-color: #3f51b5;
    box-shadow:
        0 0 30px rgba(63, 81, 181, 0.6),
        0 5px 20px rgba(63, 81, 181, 0.3);
}

.value-grid .value-card:nth-child(3):hover .value-icon svg {
    stroke: #3f51b5;
    animation: growRotate 3s linear infinite;
}

@keyframes rippleExpand1 {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

@keyframes rippleExpand2 {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.8);
        opacity: 0;
    }
}

@keyframes growRotate {
    0% {
        transform: scale(1.2) rotate(0deg);
    }

    100% {
        transform: scale(1.2) rotate(360deg);
    }
}

/* 4. TRANSPARENT & SUPPORTIVE - "Community Warmth"
   Emotion: Openness, Connection, Care */
.value-grid .value-card:nth-child(4) {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.value-grid .value-card:nth-child(4)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
            rgba(255, 112, 67, 0.12) 0%,
            rgba(255, 138, 101, 0.08) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: var(--radius-md);
    pointer-events: none;
}

.value-grid .value-card:nth-child(4):hover::before {
    opacity: 1;
    animation: warmthGlow 2.5s ease-in-out infinite;
}

.value-grid .value-card:nth-child(4):hover {
    transform: translateY(-8px) scaleX(1.02);
    box-shadow:
        0 20px 60px rgba(255, 112, 67, 0.3),
        0 0 50px rgba(255, 138, 101, 0.2),
        0 14px 34px var(--shadow);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 235, 238, 0.95) 100%);
    border: 1px solid rgba(255, 112, 67, 0.2);
}

.value-grid .value-card:nth-child(4):hover .value-icon {
    transform: scale(1.15);
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border-color: #ff7043;
    box-shadow:
        0 0 25px rgba(255, 112, 67, 0.5),
        0 5px 20px rgba(255, 112, 67, 0.3);
    animation: heartBeat 1.2s ease-in-out infinite;
}

.value-grid .value-card:nth-child(4):hover .value-icon svg {
    stroke: #ff5722;
}

@keyframes warmthGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1.15);
    }

    10%,
    30% {
        transform: scale(1.2);
    }

    20%,
    40% {
        transform: scale(1.15);
    }
}

/* Smooth icon transitions */
.value-icon {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.value-icon svg {
    transition: all 0.3s ease;
}


.story {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4.5rem 0;
    display: grid;
    gap: 3rem;
}

/* ========================================
   INTERACTIVE TIMELINE
   ======================================== */

.timeline-interactive {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 2rem 0;
}

/* Central vertical line with gradient */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
            #edc01f 0%,
            #d4a817 25%,
            #7f9c89 75%,
            #607e6e 100%);
    transform: translateX(-50%);
    border-radius: 999px;
    box-shadow: 0 0 20px rgba(237, 192, 31, 0.3);
}

/* Timeline item positioning */
.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    margin-bottom: 4rem;
    align-items: flex-start;
}

/* Left-aligned items */
.timeline-item--left .timeline-content-wrapper {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
    padding-right: 3rem;
}

.timeline-item--left .timeline-node {
    grid-column: 2;
    grid-row: 1;
}

.timeline-item--left .timeline-connector {
    grid-column: 2;
    grid-row: 1;
    left: 50%;
    transform: translateX(-100%);
}

/* Right-aligned items */
.timeline-item--right .timeline-content-wrapper {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
    padding-left: 3rem;
}

.timeline-item--right .timeline-node {
    grid-column: 2;
    grid-row: 1;
}

.timeline-item--right .timeline-connector {
    grid-column: 2;
    grid-row: 1;
    right: 50%;
    transform: translateX(100%);
}

/* Timeline node (pulsing dot) */
.timeline-node {
    position: relative;
    width: 24px;
    height: 24px;
    z-index: 10;
    margin-top: 0.5rem;
}

.timeline-node-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #edc01f, #f5d14a);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(237, 192, 31, 0.3),
        0 4px 12px rgba(237, 192, 31, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, rgba(237, 192, 31, 0.4), transparent 70%);
    border-radius: 50%;
    animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Connecting line from node to content */
.timeline-connector {
    position: absolute;
    top: 0.75rem;
    width: 2.5rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(237, 192, 31, 0.3), rgba(237, 192, 31, 0.6));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Timeline content wrapper */
.timeline-content-wrapper {
    max-width: 420px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Timeline header (always visible) */
.timeline-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-item--left .timeline-header {
    align-items: flex-end;
}

.timeline-item--right .timeline-header {
    align-items: flex-start;
}

/* Year badge */
.timeline-year {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #edc01f;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 12px rgba(237, 192, 31, 0.3);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .timeline-year {
        background: linear-gradient(135deg, #edc01f 0%, #f5d14a 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

.timeline-year::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #edc01f, #f5d14a);
    border-radius: 999px;
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Title */
.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.3;
    margin: 0;
    transition: all 0.3s ease;
}

/* Hidden content by default */
.timeline-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.timeline-content p {
    padding: 1.5rem 2rem;
    margin: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
    line-height: 1.7;
}

/* ========================================
   HOVER STATES
   ======================================== */

.timeline-item:hover .timeline-content {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 1.5rem;
}

.timeline-item:hover .timeline-year::after {
    transform: scaleX(1);
}

.timeline-item:hover .timeline-node-core {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 0 3px rgba(237, 192, 31, 0.5),
        0 0 20px rgba(237, 192, 31, 0.6),
        0 8px 24px rgba(237, 192, 31, 0.4);
}

.timeline-item:hover .timeline-node-pulse {
    animation: nodePulseIntense 1.5s ease-in-out infinite;
}

@keyframes nodePulseIntense {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.timeline-item:hover .timeline-connector {
    width: 3rem;
    background: linear-gradient(90deg, rgba(237, 192, 31, 0.6), rgba(237, 192, 31, 0.9));
    box-shadow: 0 0 10px rgba(237, 192, 31, 0.4);
}

.timeline-item:hover .timeline-title {
    color: var(--sage-dark);
    transform: scale(1.02);
}

/* ========================================
   COLORFUL GRADIENTS PER MILESTONE
   ======================================== */

/* Emerald (2019) - New Beginnings */
.timeline-item[data-color="emerald"]:hover .timeline-content p {
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.08) 0%,
            rgba(52, 211, 153, 0.12) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.timeline-item[data-color="emerald"]:hover .timeline-node-core {
    background: linear-gradient(135deg, #10b981, #34d399);
}

/* Amber (2021) - Refinement */
.timeline-item[data-color="amber"]:hover .timeline-content p {
    background: linear-gradient(135deg,
            rgba(245, 158, 11, 0.08) 0%,
            rgba(251, 191, 36, 0.12) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.15);
}

.timeline-item[data-color="amber"]:hover .timeline-node-core {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

/* Violet (2023) - Growth */
.timeline-item[data-color="violet"]:hover .timeline-content p {
    background: linear-gradient(135deg,
            rgba(139, 92, 246, 0.08) 0%,
            rgba(167, 139, 250, 0.12) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.timeline-item[data-color="violet"]:hover .timeline-node-core {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

/* Cyan (2026) - Future Vision */
.timeline-item[data-color="cyan"]:hover .timeline-content p {
    background: linear-gradient(135deg,
            rgba(6, 182, 212, 0.08) 0%,
            rgba(34, 211, 238, 0.12) 100%);
    border: 1px solid rgba(6, 182, 212, 0.25);
    box-shadow: 0 12px 40px rgba(6, 182, 212, 0.15);
}

.timeline-item[data-color="cyan"]:hover .timeline-node-core {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

/* Shimmer effect on hover */
.timeline-item:hover .timeline-content p::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);
    animation: contentShimmer 2s ease-in-out infinite;
}

@keyframes contentShimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .timeline-interactive {
        padding: 1rem 1.5rem;
    }

    .timeline-line {
        left: 2rem;
    }

    .timeline-item,
    .timeline-item--left,
    .timeline-item--right {
        grid-template-columns: auto 1fr;
        margin-bottom: 3rem;
    }

    .timeline-item--left .timeline-content-wrapper,
    .timeline-item--right .timeline-content-wrapper {
        grid-column: 2;
        text-align: left;
        padding-left: 2rem;
        padding-right: 0;
    }

    .timeline-item--left .timeline-node,
    .timeline-item--right .timeline-node {
        grid-column: 1;
    }

    .timeline-item--left .timeline-connector,
    .timeline-item--right .timeline-connector {
        left: 100%;
        right: auto;
        transform: translateX(0);
    }

    .timeline-item--left .timeline-header,
    .timeline-item--right .timeline-header {
        align-items: flex-start;
    }

    .timeline-year {
        font-size: 2rem;
    }

    .timeline-title {
        font-size: 1.1rem;
    }

    .timeline-content p {
        padding: 1.2rem 1.5rem;
    }

    /* RTL (Arabic) - mirror the mobile timeline layout */
    html[dir="rtl"] .timeline-line {
        left: auto;
        right: 1.5rem;
        transform: translateX(-50%);
    }

    html[dir="rtl"] .timeline-item,
    html[dir="rtl"] .timeline-item--left,
    html[dir="rtl"] .timeline-item--right {
        grid-template-columns: 1fr auto;
    }

    html[dir="rtl"] .timeline-item--left .timeline-content-wrapper,
    html[dir="rtl"] .timeline-item--right .timeline-content-wrapper {
        grid-column: 1;
        text-align: right;
        padding-right: 2rem;
        padding-left: 0;
    }

    html[dir="rtl"] .timeline-item--left .timeline-node,
    html[dir="rtl"] .timeline-item--right .timeline-node {
        grid-column: 2;
    }

    html[dir="rtl"] .timeline-item--left .timeline-connector,
    html[dir="rtl"] .timeline-item--right .timeline-connector {
        left: auto;
        right: 100%;
        transform: translateX(0);
        background: linear-gradient(270deg, rgba(237, 192, 31, 0.3), rgba(237, 192, 31, 0.6));
    }

    html[dir="rtl"] .timeline-item--left .timeline-header,
    html[dir="rtl"] .timeline-item--right .timeline-header {
        align-items: flex-end;
    }
}

.provenance {
    padding: 4.5rem 0;
    background: rgba(255, 255, 255, 0.7);
}

.provenance-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.provenance-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.provenance-list strong {
    color: var(--charcoal);
}

.provenance-map {
    background: transparent;
    border-radius: var(--radius-xl);
    padding: 0;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    height: 600px;
    /* Increased from 500px to prevent top cutoff */
    position: relative;
}


.provenance-map svg {
    width: 100%;
}

.provenance-map canvas {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 1;
    display: block;
    cursor: grab;
    transition: transform 0.3s ease;
    position: relative;
    top: 0;
    margin-top: 40px;
    /* Move globe down to prevent top cutoff */
}


.provenance-map canvas:hover {
    transform: scale(1.02);
}

.provenance-map canvas:active {
    cursor: grabbing;
}

.chef-spotlight {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5.25rem 1.5rem;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(380px, 1fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
}

.chef-media {
    position: relative;
    isolation: isolate;
}

.chef-media::before {
    content: "";
    position: absolute;
    inset: -3% -4% -4% -3%;
    border-radius: calc(var(--radius-lg) * 1.1);
    background: rgba(127, 156, 137, 0.18);
    z-index: -1;
    filter: blur(0);
}

.chef-media img {
    width: 92%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 60px rgba(64, 84, 76, 0.22);
    background: #fff;
}

.chef-content {
    display: grid;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 3vw, 2.5rem);
    box-shadow: 0 30px 64px rgba(64, 84, 76, 0.22);
    max-width: 560px;
}

#chef-heading {
    margin-bottom: 0rem;
    line-height: 1.2;
}

.chef-highlights {
    display: grid;
    gap: 0.7rem;
    padding-left: 1rem;
}

.chef-content p {
    font-size: 1rem;
    line-height: 1.65;
}

.chef-highlights li {
    position: relative;
}

.chef-highlights li::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sage-dark);
}

.chef-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.product-section {
    padding: 4.5rem 0;
}

.section-header {
    max-width: var(--max-width);
    margin: 0 auto 2.5rem;
}

.section-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.88rem;
    color: var(--sage-dark);
    margin-bottom: 1rem;
}

.product-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.menu-load-more {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.product-card {
    background-color: #FFFFFF;
    border-radius: var(--radius-lg);
    /* Softer, larger radius */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(237, 192, 31, 0.1);
    /* Subtle golden border */
}

/* "Health Glow" Hover Effect & Lift */
.product-card:hover,
.product-card:focus-within {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px -4px rgba(237, 192, 31, 0.15),
        /* Golden glow */
        0 8px 16px -4px rgba(0, 0, 0, 0.05);
    border-color: rgba(237, 192, 31, 0.3);
}

.product-media {
    position: relative;
    aspect-ratio: 1/1;
    /* Square ratio for reduced height */
    overflow: hidden;
    background: #f8f8f8;
}

/* Smooth Image Zoom */
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-media img {
    transform: scale(1.08);
    /* Subtle, slow zoom */
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--charcoal);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 2;
    border: none;
}

.product-badge--calm {
    background: rgba(255, 255, 255, 0.95);
    color: #557b65;
    /* Muted green text */
}

.product-badge--bright {
    background: rgba(255, 255, 255, 0.95);
    color: #d4a817;
    /* Golden text */
}

/* Actions Overlay - Appears on Hover */
.product-actions-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 36, 22, 0.2);
    /* Dark delicate tint */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
}

.product-card:hover .product-actions-overlay,
.product-card:focus-within .product-actions-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Circular Action Buttons */
.btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--charcoal);
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.3, 1.5, 0.5, 1);
    /* Bouncy pop */
}

.btn-icon:hover {
    transform: scale(1.1);
    color: var(--sage-dark);
    box-shadow: 0 12px 24px rgba(237, 192, 31, 0.25);
}

/* Success animation when item added to cart */
.btn-icon.is-added {
    animation: addToCartBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes addToCartBounce {
    0% {
        transform: scale(0.9);
    }

    25% {
        transform: scale(1.3) rotate(10deg);
        color: var(--sage);
    }

    50% {
        transform: scale(1.1) rotate(-5deg);
    }

    75% {
        transform: scale(1.25) rotate(3deg);
        box-shadow: 0 0 25px rgba(237, 192, 31, 0.6);
    }

    100% {
        transform: scale(0.9) rotate(0deg);
    }
}

.product-info {
    padding: 1.5rem 2rem 2rem;
    background: #FFFFFF;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-header {
    display: block;
    text-align: center;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    /* Elegant serif */
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.product-card:hover h3 {
    color: var(--sage-dark);
}

.product-price {
    font-size: 1.1rem;
    color: rgba(58, 47, 31, 0.8);
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;
}

.product-category-overlay {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--charcoal);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    pointer-events: none;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.product-desc {
    font-size: 0.95rem;
    text-align: center;
    color: rgba(58, 47, 31, 0.7);
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-tags {
    justify-content: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .product-actions-overlay {
        opacity: 1;
        transform: translateY(0);
        background: rgba(44, 36, 22, 0.1);
        backdrop-filter: none;
        bottom: 0.5rem;
        top: auto;
        height: auto;
        padding: 0.5rem;
    }

    .btn-icon {
        width: 42px;
        height: 42px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

.carousel {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
    transition: transform var(--transition);
}

.carousel .product-card {
    min-width: 380px;
    flex: 0 0 380px;
}

.carousel-control {
    display: none;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    place-items: center;
    font-size: 1.8rem;
    color: var(--sage-dark);
    box-shadow: 0 12px 28px var(--shadow);
    cursor: pointer;
    transition: transform var(--transition), background-color var(--transition);
}

.carousel-control:hover,
.carousel-control:focus-visible {
    transform: translateY(-3px);
    background-color: var(--sage);
    color: #fff;
}

.carousel-control[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.testimonials {
    padding: 4.5rem 0;
    background: rgba(255, 255, 255, 0.7);
}

.testimonial-carousel {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 0 0 1rem;
}

.testimonial-carousel::before,
.testimonial-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(60px, 8vw, 120px);
    pointer-events: none;
    z-index: 2;
}

.testimonial-carousel::before {
    left: 0;
    background: linear-gradient(90deg, rgba(248, 244, 236, 1) 0%, rgba(248, 244, 236, 0) 100%);
}

.testimonial-carousel::after {
    right: 0;
    background: linear-gradient(270deg, rgba(248, 244, 236, 1) 0%, rgba(248, 244, 236, 0) 100%);
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    will-change: transform;
}

.testimonial-card {
    min-width: clamp(280px, 28vw, 360px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.8rem;
    box-shadow: 0 22px 50px rgba(64, 84, 76, 0.2);
    display: grid;
    gap: 0.8rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover,
.testimonial-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 30px 64px rgba(64, 84, 76, 0.24);
}

.testimonial-card blockquote {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.testimonial-name {
    display: block;
    font-weight: 600;
}

.testimonial-meta {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.testimonial-stars {
    font-size: 1.6rem;
    color: #edc01f;
    letter-spacing: 0.15em;
    margin: -0.2rem 0;
}

.journal {
    padding: 4.5rem 0;
}

.journal-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.journal-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: 0 18px 44px rgba(64, 84, 76, 0.18);
    transition: transform var(--transition), box-shadow var(--transition);
}

.journal-card:hover,
.journal-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 26px 54px rgba(64, 84, 76, 0.24);
}

.journal-card a {
    display: grid;
    gap: 1rem;
}

.journal-tag {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sage-dark);
}

.journal-meta {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(63, 64, 58, 0.7);
}

.journal-actions {
    text-align: center;
    margin-top: 2.5rem;
}

.events {
    padding: 4.5rem 0;
    background: rgba(255, 255, 255, 0.7);
}

.events-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
}

.event-list {
    display: grid;
    gap: 1.4rem;
}

.event-list li {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.25rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 18px 44px rgba(64, 84, 76, 0.16);
}

.event-date {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage-dark);
}

.events-form {
    background: rgba(127, 156, 137, 0.14);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: grid;
    gap: 1rem;
    box-shadow: 0 22px 48px rgba(64, 84, 76, 0.16);
}

.events-form input,
.events-form select {
    padding: 1rem 1.3rem;
    border-radius: 999px;
    border: 1px solid rgba(127, 156, 137, 0.4);
    background: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.5;
}

.events-form input,
.events-form select,
.events-form button {
    width: 100%;
}

.events-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(89, 115, 98, 0.5) 50%), linear-gradient(135deg, rgba(89, 115, 98, 0.5) 50%, transparent 50%);
    background-position: right 1.1rem center, right 0.75rem center;
    background-size: 9px 9px, 9px 9px;
    background-repeat: no-repeat;
    padding-right: 2.75rem;
}

.events-form input::placeholder,
.events-form select::placeholder {
    color: rgba(63, 64, 58, 0.6);
}

.form-footnote {
    font-size: 0.85rem;
    color: rgba(63, 64, 58, 0.75);
}

.community {
    position: relative;
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    overflow: hidden;
}


.community-shell {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3.5rem clamp(1.75rem, 4vw, 3rem);
    background: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(127, 156, 137, 0.18);
    box-shadow: 0 32px 80px rgba(49, 66, 59, 0.18);
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
}

.community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
}

.community-copy {
    display: grid;
    gap: 1.5rem;
    max-width: 520px;
    color: var(--text);
}

.community-lede {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(63, 64, 58, 0.8);
}

.community-highlights {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 0 1px rgba(127, 156, 137, 0.16), 0 24px 50px rgba(64, 84, 76, 0.08);
}

.community-highlights div {
    display: grid;
    gap: 0.4rem;
    text-align: left;
}

.community-highlights dt {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--sage-dark);

}

.community-highlights dd {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(63, 64, 58, 0.75);
    width: 85%;
}

.community-media {
    display: flex;
    justify-content: center;
    position: relative;
}

@keyframes floatSoft {

    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) scale(1.05) rotate(10deg);
    }
}

.community-gallery {
    position: relative;
    margin: 0 auto;
    width: clamp(320px, 32vw, 440px);
    height: clamp(360px, 36vw, 500px);
    perspective: 1400px;
    touch-action: pan-y;
    cursor: grab;
    color: var(--gallery-text, #ffffff);
    user-select: none;
    -webkit-user-select: none;
    border-radius: 50%;
    border: 2px solid rgba(205, 159, 71, 0.3);
    background:
        radial-gradient(circle at 30% 40%, rgba(205, 159, 71, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(184, 138, 58, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, rgba(248, 244, 236, 0.3) 100%);
    box-shadow:
        inset 0 0 60px rgba(205, 159, 71, 0.1),
        0 20px 60px rgba(205, 159, 71, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: galleryGlow 8s ease-in-out infinite;
}

@keyframes galleryGlow {

    0%,
    100% {
        box-shadow:
            inset 0 0 60px rgba(205, 159, 71, 0.1),
            0 20px 60px rgba(205, 159, 71, 0.15),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    }

    50% {
        box-shadow:
            inset 0 0 80px rgba(205, 159, 71, 0.18),
            0 20px 80px rgba(205, 159, 71, 0.25),
            0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    }
}

#community-heading {
    margin-bottom: 0rem;
}

.community-gallery.is-dragging {
    cursor: grabbing;
}

.community-gallery::before {
    content: "";
    position: absolute;
    inset: 4%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 65% 70%, rgba(205, 159, 71, 0.15) 0%, transparent 55%);
    z-index: 0;
    animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Outer decorative ring with rotating sparkles */
.community-gallery::after {
    content: "";
    position: absolute;
    inset: -8%;
    border-radius: 50%;
    background:
        radial-gradient(3px 3px at 50% 2%, #edc01f 50%, transparent 50%),
        radial-gradient(2px 2px at 15% 20%, rgba(205, 159, 71, 0.6) 50%, transparent 50%),
        radial-gradient(3px 3px at 85% 25%, rgba(205, 159, 71, 0.7) 50%, transparent 50%),
        radial-gradient(2px 2px at 10% 50%, rgba(205, 159, 71, 0.5) 50%, transparent 50%),
        radial-gradient(3px 3px at 90% 55%, rgba(205, 159, 71, 0.8) 50%, transparent 50%),
        radial-gradient(2px 2px at 20% 85%, rgba(205, 159, 71, 0.6) 50%, transparent 50%),
        radial-gradient(3px 3px at 80% 90%, rgba(205, 159, 71, 0.7) 50%, transparent 50%),
        radial-gradient(2px 2px at 50% 98%, rgba(205, 159, 71, 0.5) 50%, transparent 50%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
    animation: rotateSparkles 20s linear infinite;
}

@keyframes rotateSparkles {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.community-gallery__ring {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    z-index: 1;
}

@keyframes bounceSoft {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-12px);
    }
}

.community-gallery__item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(200px, 30vw, 280px);
    height: clamp(280px, 36vw, 360px);
    transform-style: preserve-3d;
    transform: translate3d(-50%, -50%, 0);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 24px 60px rgba(64, 84, 76, 0.18);
    border-radius: calc(var(--gallery-radius, 0.08) * 100%);
    display: grid;
    color: inherit;
}

.community-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 0.6s ease-out;
}

.community-gallery__item figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 1.1rem 1.3rem 1.35rem;
    background: linear-gradient(180deg, rgba(31, 44, 39, 0) 0%, rgba(31, 44, 39, 0.78) 85%);
    display: grid;
    gap: 0.4rem;
    color: inherit;
}

.community-gallery__handle {
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.community-gallery__note {
    font-size: 0.96rem;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.community-gallery__item:focus-visible {
    outline: 3px solid rgba(127, 156, 137, 0.6);
    outline-offset: 6px;
}

.community-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.highlight {
    color: var(--sage-dark);
}

.press {
    padding: 4.5rem 0;
    background: rgba(255, 255, 255, 0.7);
}

.press-logos {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(63, 64, 58, 0.68);
    font-weight: 600;
    text-align: center;
}

.specials {
    padding: 4.5rem 0;
    background: rgba(255, 255, 255, 0.7);
}

.specials-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.special-card {
    background-color: var(--soft-cream);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--sage-muted);
    box-shadow: 0 16px 40px rgba(64, 84, 76, 0.16);
}

.special-card p {
    padding-bottom: 20px;
}

/* ============================================
   CTA BANNER - Nature Wellness Theme (Health & Safety)
   Light, airy design that evokes trust and freshness
   ============================================ */

.cta-banner {
    margin: 6rem auto;
    max-width: var(--max-width);
    border-radius: 40px;
    padding: 0;
    /* Soft light background - feels clean and healthy */
    background:
        linear-gradient(180deg,
            #f8fcf8 0%,
            #f0f8f2 50%,
            #e8f5eb 100%);
    color: var(--charcoal);
    position: relative;
    overflow: hidden;
    /* Soft protective shadow */
    box-shadow:
        0 40px 100px rgba(90, 138, 107, 0.12),
        0 0 0 1px rgba(90, 138, 107, 0.06),
        inset 0 0 80px rgba(255, 255, 255, 0.9);
    min-height: auto;
    display: flex;
    align-items: center;
}

/* Breathing animation - feels alive/fresh */
@keyframes ctaBreathe {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 30px 80px rgba(90, 138, 107, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    }

    50% {
        transform: scale(1.003);
        box-shadow: 0 35px 90px rgba(90, 138, 107, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    }
}

/* Organic blob shapes - soft, non-threatening = safety */
.cta-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    /* Organic blob shape instead of perfect circle */
    border-radius: 60% 40% 70% 30% / 40% 60% 40% 60%;
    animation: floatOrganic 15s ease-in-out infinite;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -35%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
    border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
    animation: floatOrganic 18s ease-in-out infinite reverse;
}

@keyframes floatOrganic {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    33% {
        transform: translateY(-20px) rotate(5deg) scale(1.02);
    }

    66% {
        transform: translateY(-10px) rotate(-3deg) scale(0.98);
    }
}

/* Leaf decorations in corners */
.cta-banner .cta-content::before {
    content: 'ðŸŒ¿';
    position: absolute;
    left: 40px;
    top: 40px;
    font-size: 55px;
    opacity: 0.18;
    z-index: 0;
    animation: leafSway 6s ease-in-out infinite;
}

.cta-banner .cta-content::after {
    content: 'ðŸƒ';
    position: absolute;
    right: 45px;
    bottom: 40px;
    font-size: 45px;
    opacity: 0.14;
    z-index: 0;
    animation: leafSway 8s ease-in-out infinite 1s;
}

/* Leaf sway animation - natural, calming */
@keyframes leafSway {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(5deg);
    }

    75% {
        transform: rotate(-5deg);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 4rem;
    padding: 4rem 4.5rem;
    width: 100%;
}

/* Left column - Text content */
.cta-content-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-content h2 {
    color: #2d4a3a;
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 700px;
}

.cta-content p {
    color: #5a7a68;
    font-size: clamp(1.05rem, 1.5vw, 1.15rem);
    line-height: 1.7;
    margin: 0;
    max-width: 550px;
}

/* Right column - Call-to-action card */
.cta-action-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.cta-action-card::before {
    content: 'ðŸ¥';
    font-size: 80px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

/* Green-themed button - inviting and healthy */
.cta-action-card .btn {
    width: 100%;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: #fff;
    color: #3d6b4e;
    border: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-action-card .btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: #f0fff4;
}

.cta-action-card .btn:active {
    transform: translateY(-1px) scale(1.01);
}

/* Alternative: If HTML doesn't support the new structure */
.cta-content:not(.cta-content-text) {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    padding: 4.5rem 3rem;
}

.cta-content:not(.cta-content-text) h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    color: #2d4a3a;
}

.cta-content:not(.cta-content-text) p {
    text-align: center;
    max-width: 550px;
    color: #5a7a68;
}

/* Healthy green button */
.cta-content .btn,
.cta-content .btn-dark,
.cta-content:not(.cta-content-text) .btn {
    padding: 1.1rem 2.8rem;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #5a8a6b 0%, #4a7a5b 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    box-shadow:
        0 12px 35px rgba(90, 138, 107, 0.3),
        0 4px 12px rgba(90, 138, 107, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.cta-content .btn::before,
.cta-content .btn-dark::before,
.cta-content:not(.cta-content-text) .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.cta-content .btn:hover,
.cta-content .btn-dark:hover,
.cta-content:not(.cta-content-text) .btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 20px 50px rgba(90, 138, 107, 0.4),
        0 8px 20px rgba(90, 138, 107, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #6a9a7b 0%, #5a8a6b 100%);
}

.cta-content .btn:hover::before,
.cta-content .btn-dark:hover::before,
.cta-content:not(.cta-content-text) .btn:hover::before {
    left: 100%;
}

.cta-content .btn:active,
.cta-content .btn-dark:active,
.cta-content:not(.cta-content-text) .btn:active {
    transform: translateY(-1px) scale(1.01);
}

/* ============================================
   FRANCHISE CTA - Professional Business Theme
   For B2B franchise investors - premium golden theme
   ============================================ */

.franchise-cta {
    /* Premium golden gradient - professional and luxurious */
    background: linear-gradient(135deg,
            #edc01f 0%,
            #d4a817 35%,
            #c49615 70%,
            #b8a458 100%) !important;
    border-radius: 32px;
    box-shadow:
        0 40px 100px rgba(200, 147, 91, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 80px rgba(237, 192, 31, 0.3);
    min-height: 350px;
    position: relative;
    /* Luxurious glowing animation */
    animation: luxuryGlow 4s ease-in-out infinite;
}

@keyframes luxuryGlow {

    0%,
    100% {
        box-shadow:
            0 40px 100px rgba(200, 147, 91, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 80px rgba(237, 192, 31, 0.3);
    }

    50% {
        box-shadow:
            0 45px 110px rgba(200, 147, 91, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 0 100px rgba(237, 192, 31, 0.45);
    }
}

/* Subtle gold accent lines */
.franchise-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 0 0 4px 4px;
}

/* Remove emojis */
.franchise-cta .cta-content::before,
.franchise-cta .cta-content::after {
    display: none !important;
}

/* Professional typography */
.franchise-cta .cta-content h2 {
    color: #fff !important;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.franchise-cta .cta-content p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.1rem;
}

/* Premium white button - luxurious contrast */
.franchise-cta .cta-content .btn,
.franchise-cta .cta-content .btn-dark {
    background: #fff !important;
    color: #2d3548 !important;
    border: none;
    padding: 1.2rem 2.8rem;
    font-weight: 700;
    border-radius: 14px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.franchise-cta .cta-content .btn:hover,
.franchise-cta .cta-content .btn-dark:hover {
    background: #fffef8 !important;
    transform: translateY(-5px) scale(1.04);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.3),
        0 10px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 30px rgba(255, 255, 255, 0.5);
}

.newsletter {
    padding: 5rem 0 6rem;
    background: var(--sage-dark);
    color: #fff;
}

.newsletter-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    display: grid;
    gap: 1.5rem;
}

.newsletter h2 {
    color: #fff;
}

.newsletter .section-kicker {
    color: #fff;
}

.newsletter-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.newsletter input {
    padding: 1rem 1.25rem;
    border-radius: 999px;
    border: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.85);
    color: var(--charcoal);
}

.newsletter input::placeholder {
    color: rgba(47, 47, 43, 0.6);
}

.newsletter button {
    border: none;
}

.site-footer {
    background: rgba(255, 255, 255, 0.9);
    padding: 4rem 0 2rem;
}

.footer-top {
    max-width: var(--max-width);
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.footer-brand h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    margin: 0.3rem 0;
}

.footer-nav h3,
.footer-social h3 {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.88rem;
    color: var(--sage-dark);
    margin-bottom: 1rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-social ul {
    flex-direction: row;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--sage-muted);
    transition: background-color var(--transition), transform var(--transition);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
    stroke: var(--sage-dark);
    fill: none;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    background-color: var(--sage);
    transform: translateY(-3px);
}

.footer-social a:hover svg,
.footer-social a:focus-visible svg {
    stroke: #fff;
    fill: none;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(47, 47, 43, 0.7);
}

.footer-bottom a {
    color: inherit;
}

.site-footer a.active {
    color: #edc01f !important;
    font-weight: 600;
}


.quickview-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 100%);
    background: var(--charcoal);
    color: #fff;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 1000;
}

.quickview-toast.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

[data-animate] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 901px) {
    .hero-copy {
        align-self: flex-start;
        margin-top: 2.5rem; /* slightly down on desktop */
    }
}

@media (max-width: 1100px) {

    .value-grid,
    .product-grid,
    .timeline,
    .provenance-content,
    .journal-grid,
    .events-content,
    .press-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-section {
        padding-inline: clamp(1rem, 3vw, 2rem);
    }

    .hero-metadata {
        gap: 1rem;
    }

    .testimonial-track {
        gap: 1.6rem;
    }

    .testimonial-card {
        min-width: clamp(260px, 55vw, 320px);
        padding: 2.4rem 2.05rem;
    }

    .community-layout {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
        gap: clamp(1.75rem, 4vw, 3rem);
    }

    .community-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-gallery {
        width: min(400px, 60vw);
        height: clamp(320px, 46vw, 460px);
    }

    .community-gallery__item {
        width: clamp(140px, 32vw, 180px);
        height: clamp(190px, 36vw, 240px);
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-inner {
        display: flex;
        flex-wrap: nowrap;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        justify-content: space-between;
        align-items: center;
    }

    .brand-mark {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .brand-name {
        font-size: 1.1rem;
        line-height: 1.1;
    }

    .brand-tagline {
        font-size: 0.6rem;
    }

    .nav-links {
        position: absolute;
        inset: calc(100% + 0.5rem) 1.25rem auto 1.25rem;
        background: rgba(248, 244, 236, 0.98);
        backdrop-filter: blur(15px);
        padding: 2rem;
        border-radius: var(--radius-md);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-0.5rem);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav-links[aria-expanded="true"] {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links a {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0.85rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-actions {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .nav-actions .btn-primary {
        display: none !important;
    }

    @media (min-width: 600px) {
        .nav-actions .btn-primary {
            display: inline-flex !important;
            padding: 0.5rem 0.6rem;
            font-size: 0.7rem;
        }
    }

    .hero-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 2rem 1rem 2rem;
        gap: 1.7rem;
        min-height: calc(100vh - 72px); /* center within viewport minus header */
    }

    .hero-section::before {
        background-position: 90% center;
    }


    .hero-copy {
        align-items: center;
    }

    .hero p {
        max-width: 45ch;
    }

    .hero-overlay-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 2rem auto 0;
    }

    .hero-media--photo {
        margin-top: 0;
        min-height: clamp(220px, 50vw, 280px);
        /* show far right side on mobile */
        background-position: 90% center;
    }

    /* Tighter hero on mobile */
    .hero-logo {
        width: clamp(160px, 40vw, 220px);
    }

    .hero-copy h1 {
        font-size: clamp(1.45rem, 5.2vw, 2.1rem);
        line-height: 1.18;
        max-width: 20ch;
    }

    .hero-section .hero-actions .btn {
        padding: 0.78rem 1.65rem;
        font-size: 0.95rem;
        width: auto;
        min-width: 72%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-copy {
        margin-left: 0;
        margin-top: 0;
        align-items: center;
    }

    .chef-spotlight {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .chef-actions {
        justify-content: center;
    }

    .events-content {
        grid-template-columns: 1fr;
    }

    .event-list li {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .testimonial-track {
        gap: 1.4rem;
    }

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: clamp(40px, 12vw, 80px);
    }

    .testimonial-card {
        min-width: clamp(260px, 70vw, 320px);
    }

    .community-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .community-copy {
        text-align: center;
        justify-items: center;
    }

    .community-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        text-align: left;
    }

    .community-actions {
        justify-content: center;
    }

    .community-media {
        margin-top: 0.5rem;
    }

    .community-gallery {
        width: min(360px, 80vw);
        height: clamp(320px, 62vw, 440px);
    }

    .community-gallery__item {
        width: clamp(140px, 42vw, 180px);
        height: clamp(190px, 48vw, 230px);
    }

    .values,
    .product-section,
    .specials,
    .newsletter {
        padding-inline: 1rem;
    }

    .specials-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 680px) {

    .value-grid,
    .product-grid,
    .timeline,
    .provenance-content,
    .journal-grid,
    .specials-grid,
    .press-logos {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 0;
    }

    .product-media img {
        width: 100%;
    }

    .carousel {
        flex-direction: column;
    }

    .carousel-track {
        gap: 1.5rem;
    }

    .carousel .product-card {
        min-width: 100%;
        flex: 0 0 100%;
    }

    .carousel-control {
        order: -1;
    }

    .chef-spotlight {
        padding: 3.5rem 0;
    }

    .testimonial-track {
        gap: 1.2rem;
    }

    .testimonial-card {
        padding: 2.2rem 1.9rem;
        min-width: min(100%, 320px);
    }

    .community-shell {
        padding: 2.75rem 1.5rem 3.25rem;
    }

    .community-copy {
        gap: 1.3rem;
    }

    .community-highlights {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .community-gallery {
        width: min(300px, 88vw);
        height: clamp(300px, 70vw, 420px);
    }

    .community-gallery__item {
        width: clamp(120px, 48vw, 150px);
        height: clamp(170px, 52vw, 210px);
    }

    .event-list li {
        padding: 1.5rem;
    }
}

@media (max-width: 520px) {
    .promo-banner {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    .hero-actions,
    .chef-actions,
    .community-actions {
        flex-direction: column;
    }

    /* CTA Banner mobile responsive */
    .cta-banner {
        min-height: auto;
        margin: 4rem auto;
    }

    .cta-banner .cta-content::before {
        display: none;
        /* Hide large decorative emoji on mobile */
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 2rem;
    }

    .cta-content h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-action-card {
        padding: 2.5rem 2rem;
        width: 100%;
    }

    .cta-action-card::before {
        font-size: 60px;
    }

    .newsletter-inner {
        padding: 2.5rem 1.5rem;
    }

    .community-gallery {
        width: min(260px, 92vw);
        height: clamp(290px, 78vw, 400px);
    }

    .community-gallery__item {
        width: clamp(110px, 50vw, 140px);
        height: clamp(160px, 56vw, 200px);
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .testimonial-carousel {
        overflow: visible;
    }

    .community-gallery {
        cursor: default;
    }
}

/* =========================================
   Events Modern Section - Card-based Design
   ========================================= */
.events-modern {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.events-modern .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(237, 192, 31, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(237, 192, 31, 0.15);
    border-color: rgba(237, 192, 31, 0.4);
}

.event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.event-tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #edc01f 0%, #f5d14a 100%);
    color: #1a1a1a;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-tag-premium {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
    color: white;
}

.event-tag-master {
    background: linear-gradient(135deg, #dc2626 0%, #f87171 100%);
    color: white;
}

.event-date {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.event-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.event-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.event-meta {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.event-duration,
.event-spots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.event-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Dark mode adjustments */
[data-theme="dark"] .events-modern {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

[data-theme="dark"] .event-card {
    background: rgba(45, 45, 45, 0.9);
    border-color: rgba(237, 192, 31, 0.3);
}

[data-theme="dark"] .event-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .event-card p,
[data-theme="dark"] .event-date,
[data-theme="dark"] .event-duration,
[data-theme="dark"] .event-spots {
    color: #b0b0b0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .events-modern {
        padding: 4rem 1.5rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .event-card {
        padding: 1.5rem;
    }

    .event-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================
   Cart Hover Panel
   ========================================= */
.cart-hover-panel {
    position: fixed;
    width: 380px;
    max-height: 500px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(237, 192, 31, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow: hidden;
}

.cart-hover-panel.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cart-hover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-hover-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

.cart-hover-header span {
    font-size: 0.85rem;
    color: #666;
}

.cart-hover-items {
    max-height: 320px;
    overflow-y: auto;
    padding: 0.5rem;
}

.cart-hover-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: background 0.2s ease;
    position: relative;
}

.cart-hover-item:hover {
    background: rgba(237, 192, 31, 0.05);
}

.cart-hover-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

.cart-hover-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-hover-item-info {
    flex: 1;
    min-width: 0;
}

.cart-hover-item-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-hover-item-price {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.cart-hover-item-remove {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.cart-hover-item-remove:hover {
    background: #dc2626;
    color: white;
    transform: scale(1.1);
}

.cart-hover-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.5);
}

.cart-hover-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cart-hover-total span {
    color: #666;
}

.cart-hover-total strong {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.25rem;
}

.cart-hover-view-btn {
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
}

.cart-hover-empty {
    padding: 3rem 2rem;
    text-align: center;
    color: #999;
}

.cart-hover-empty svg {
    margin: 0 auto 1rem;
    opacity: 0.3;
}

.cart-hover-empty p {
    margin: 0;
    color: #666;
}

/* Dark mode support */
[data-theme="dark"] .cart-hover-panel {
    background: rgba(26, 26, 26, 0.98);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(237, 192, 31, 0.2);
}

[data-theme="dark"] .cart-hover-header h3,
[data-theme="dark"] .cart-hover-item-info h4,
[data-theme="dark"] .cart-hover-total strong {
    color: #ffffff;
}

[data-theme="dark"] .cart-hover-header span,
[data-theme="dark"] .cart-hover-item-price,
[data-theme="dark"] .cart-hover-total span {
    color: #b0b0b0;
}

[data-theme="dark"] .cart-hover-item:hover {
    background: rgba(237, 192, 31, 0.1);
}

[data-theme="dark"] .cart-hover-header,
[data-theme="dark"] .cart-hover-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .cart-hover-footer {
    background: rgba(45, 45, 45, 0.5);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .cart-hover-panel {
        width: calc(100vw - 2rem);
        right: 1rem !important;
    }
}

/* =========================================
   Typing Animation Cursor
   ========================================= */
.typing-cursor {
    color: var(--sage-dark);
    font-weight: 300;
    animation: blink 1s infinite;
    margin-left: 4px;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

/* Hide cursor on mobile for cleaner look */
@media (max-width: 768px) {
    .typing-cursor {
        display: none;
    }
}

/* =========================================
   Hero Media - Cutout helper
   ========================================= */
.hero-media--cutout {
    background: transparent !important;
}

.hero-media--cutout img {
    background: transparent !important;
    mix-blend-mode: multiply;
}


/* Cart Hover Panel Styles */
.cart-hover-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: 360px;
    max-width: 90vw;
    max-height: calc(100vh - 140px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 64px rgba(44, 36, 22, 0.2),
        0 8px 24px rgba(44, 36, 22, 0.12);
    border: 1px solid rgba(205, 159, 71, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 250ms cubic-bezier(0.2, 0.9, 0.3, 1),
        transform 250ms cubic-bezier(0.2, 0.9, 0.3, 1),
        visibility 250ms;
    z-index: 99999;
    /* Increased to be above all hero elements */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cart-hover-panel.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-hover-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(205, 159, 71, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(255, 251, 245, 0.7), rgba(255, 255, 255, 0));
}

.cart-hover-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.02em;
}

.cart-hover-header span {
    font-size: 0.85rem;
    color: var(--sage-dark);
    font-weight: 500;
}

.cart-hover-items {
    max-height: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.75rem;
}

.cart-hover-items::-webkit-scrollbar {
    width: 6px;
}

.cart-hover-items::-webkit-scrollbar-track {
    background: rgba(205, 159, 71, 0.08);
    border-radius: 3px;
}

.cart-hover-items::-webkit-scrollbar-thumb {
    background: var(--sage-muted);
    border-radius: 3px;
}

.cart-hover-items::-webkit-scrollbar-thumb:hover {
    background: var(--sage-dark);
}

.cart-hover-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 0.875rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    transition: background-color 200ms ease, transform 150ms ease;
    border: 1px solid rgba(205, 159, 71, 0.1);
}

.cart-hover-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-2px);
}

.cart-hover-item:last-child {
    margin-bottom: 0;
}

.cart-hover-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(205, 159, 71, 0.08);
    border: 1px solid rgba(205, 159, 71, 0.15);
}

.cart-hover-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-hover-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

.cart-hover-item-info h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.3;
}

.cart-hover-item-price {
    font-size: 0.8rem;
    color: var(--sage-dark);
    font-weight: 500;
    margin: 0;
}

.cart-hover-item-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.35rem;
    color: #999;
    transition: color 200ms ease, transform 150ms ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.cart-hover-item-remove:hover {
    color: #e74c3c;
    transform: rotate(90deg);
    background: rgba(231, 76, 60, 0.08);
}

.cart-hover-item-remove svg {
    width: 18px;
    height: 18px;
}

.cart-hover-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(205, 159, 71, 0.15);
    background: linear-gradient(to top, rgba(255, 251, 245, 0.7), rgba(255, 255, 255, 0));
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-hover-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.cart-hover-total span {
    color: var(--text);
    font-weight: 500;
}

.cart-hover-total strong {
    font-size: 1.15rem;
    color: var(--sage-dark);
    font-weight: 700;
}

.cart-hover-view-btn {
    width: 100%;
    text-align: center;
}

.cart-hover-empty {
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cart-hover-empty svg {
    color: var(--sage-muted);
    width: 56px;
    height: 56px;
    opacity: 0.6;
}

.cart-hover-empty p {
    color: var(--text);
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.8;
}

/* Mobile adjustments */
@media (max-width: 48rem) {
    .cart-hover-panel {
        position: fixed;
        top: 5.5rem;
        right: 1rem;
        left: auto;
        width: calc(100vw - 2rem);
        max-width: 360px;
    }
}

/* ============================================
   INTERACTIVE.CSS - Interactive Components
   ============================================ */

/* Modal/Lightbox */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

/* Quick View Modal (Product) */
.quick-view {
    padding: 2rem;
    max-width: 800px;
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.quick-view-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.quick-view-image img {
    width: 100%;
    height: auto;
    display: block;
}

.quick-view-info h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #2C2416;
}

.quick-view-price {
    font-size: 2rem;
    font-weight: 700;
    color: #edc01f;
    margin-bottom: 1rem;
}

.quick-view-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.quick-view-tag {
    padding: 0.35rem 0.75rem;
    background: #E8D4B8;
    color: #d4a817;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Tooltip */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: #2C2416;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 100;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2C2416;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tooltip:hover::before {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Badge with Animation */
.badge-pulse {
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.badge-pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid currentColor;
    border-radius: inherit;
    opacity: 0.5;
    animation: pulse 2s ease-in-out infinite;
}

/* Status Indicator */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-indicator::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.status-open {
    background: #d4edda;
    color: #155724;
}

.status-open::before {
    background: #28a745;
}

.status-closed {
    background: #f8d7da;
    color: #721c24;
}

.status-closed::before {
    background: #dc3545;
}

/* Image Zoom on Hover */
.image-zoom {
    overflow: hidden;
    border-radius: 12px;
}

.image-zoom img {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
    width: 100%;
}

.image-zoom:hover img {
    transform: scale(1.1);
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #edc01f, #d4a817);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(127, 156, 137, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.fab:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 30px rgba(127, 156, 137, 0.6);
}

.fab:active {
    transform: scale(0.95);
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #edc01f;
    color: #ffffff;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cart-badge.active {
    transform: scale(1);
}

.cart-badge.bump {
    animation: bounceIn 0.5s ease;
}

/* Search Box */
.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #E8D4B8;
    border-radius: 999px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #edc01f;
    box-shadow: 0 0 0 4px rgba(127, 156, 137, 0.1);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #edc01f;
}

/* Filter Pills */
.filter-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-pill {
    padding: 0.6rem 1.25rem;
    border: 2px solid #E8D4B8;
    border-radius: 999px;
    background: white;
    color: #d4a817;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.filter-pill:hover {
    transform: translateY(-3px);
    border-color: #edc01f;
}

.filter-pill.active {
    background: #cd9f47;
    color: white;
    border-color: #edc01f;
    transform: scale(1.05);
}

/* Accordion Improvements */
.accordion-item {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: #edc01f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #FFFBF5;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .quick-view-grid {
        grid-template-columns: 1fr;
    }

    .fab {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
}
/* ============================================
   COMPACT CTA - Direct & Persuasive
   ============================================ */

.compact-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.compact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(237, 192, 31, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(237, 192, 31, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.compact-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

/* Message Side */
.cta-message {
    flex: 1;
}

.cta-urgency {
    display: inline-block;
    background: rgba(237, 192, 31, 0.2);
    color: #edc01f;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fire-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.3rem;
}


.cta-message h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.8rem 0;
    line-height: 1.2;
}

.cta-message p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 500px;
}

/* Action Side */
.cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.cta-btn-premium {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #edc01f 0%, #f5d14a 100%);
    color: #1a1a1a;
    padding: 1.5rem 3rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 10px 40px rgba(237, 192, 31, 0.4),
        0 0 0 0 rgba(237, 192, 31, 0.5);
    position: relative;
    overflow: hidden;
}

.cta-btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-btn-premium:hover::before {
    left: 100%;
}

.cta-btn-premium:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 50px rgba(237, 192, 31, 0.6);
    text-decoration: none;
}

.btn-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.btn-badge {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.8;
    margin-top: 0.3rem;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.cta-trust {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .compact-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-message p {
        max-width: 100%;
    }

    .cta-action {
        align-items: center;
    }

    .cta-btn-premium {
        padding: 1.3rem 2.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 500px) {
    .compact-cta {
        padding: 2.5rem 1.5rem;
    }

    .cta-message h2 {
        font-size: 1.8rem;
    }

    .cta-btn-premium {
        width: 100%;
        padding: 1.2rem 2rem;
    }
}
/* ====================================
   FLIPBOOK CATALOG PREMIUM STYLES
   Theme: Gold, Emerald, & Cream Paper
   ==================================== */

:root {
    --paper-bg: #fdfbf7;
    --paper-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");

    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa8c2c;
    --gold-gradient: linear-gradient(135deg, #cfae44 0%, #e6cf79 45%, #b59328 100%);

    --emerald-deep: #1a472a;
    --emerald-light: #2d5e3e;

    --text-primary: #2c241b;
    --text-secondary: rgba(44, 36, 27, 0.7);

    --font-heading: "Playfair Display", serif;
    --font-body: "Work Sans", sans-serif;
}

/* === WRAPPER === */
.flipbook-catalog {
    padding: 6rem 0;
    background: radial-gradient(circle at center, #f5f0e6 0%, #e6ded3 100%);
    position: relative;
    overflow: hidden;
}

.flipbook-wrapper {
    max-width: min(1400px, 95vw);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    position: relative;
    z-index: 2;
}

/* === FLIPBOOK HEADER === */
.flipbook-header {
    text-align: center;
    margin-bottom: 4rem;
}

.flipbook-header .section-kicker {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 1rem;
    color: var(--gold-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.flipbook-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.flipbook-header p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === FLIPBOOK CONTAINER === */
#flipbook-container {
    margin: 0 auto;
    position: relative;
    width: min(92vw, 1200px);
    height: min(75vh, 650px);
    max-height: 750px;
    filter: drop-shadow(0 20px 40px rgba(26, 71, 42, 0.15));
    transition: filter 0.3s ease;
}

/* === PAGE BASE === */
.page {
    background: var(--paper-bg);
    background-image: var(--paper-texture);
    border-radius: 4px;
    /* Sharper edges for paper feel */
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.02);
}

/* Spine Shadow */
.page::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.12), transparent);
    z-index: 10;
    pointer-events: none;
    left: 0;
}

.page:nth-child(even)::before {
    left: auto;
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.12), transparent);
}

/* === CONTENT LAYOUTS === */
.page-content {
    height: 100%;
    padding: 1.2rem;
    /* Reduced for better content fit */
    position: relative;
    display: flex;
    flex-direction: column;
}

.page-inner-border {
    border: 1px solid rgba(212, 175, 55, 0.3);
    height: 100%;
    width: 100%;
    position: relative;
    padding: 0.8rem;
    /* Reduced for better content fit */
    display: flex;
    flex-direction: column;
}

/* === COVER PAGE (PREMIUM) === */
.cover-page {
    background: #1a1a1a;
    /* Fallback */
    background: radial-gradient(circle at center, #2e2e2e 0%, #1a1a1a 100%);
    color: var(--gold-light);
    padding: 1.5rem;
}

.cover-frame {
    border: 2px solid var(--gold-dark);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 1rem;
    position: relative;
    z-index: 2;
}

.cover-header,
.cover-footer {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    opacity: 0.8;
}

.cover-footer-text {
    display: inline-block;
    letter-spacing: 0.24em;
    color: var(--gold-light);
    opacity: 0.95;
}

.cover-center {
    text-align: center;
}

.logo-mark-large {
    margin-bottom: 2rem;
    opacity: 0.9;
    display: flex;
    justify-content: center;
}

.logo-mark-large img {
    height: 160px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.cover-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    /* Scaled down for better fit */
    color: #fff;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.02em;
}

.cover-subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin-top: 0.5rem;
    font-weight: 400;
}

.cover-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4af37' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

/* === BACK COVER === */
.back-cover {
    background: #1a472a;
    color: #ecf0f1;
}

.back-cover .cover-frame {
    border-color: rgba(255, 255, 255, 0.2);
    justify-content: center;
    gap: 4rem;
}

.b-contact-section h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

.b-contact-section p {
    font-size: 1rem;
    opacity: 0.9;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    color: #fff;
}

.b-location-section p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
}

.b-location-section .b-small {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.b-logo-small {
    opacity: 0.4;
    display: flex;
    justify-content: center;
}

.b-logo-small img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.8);
    /* Make it white/light for the dark green background */
}


/* === STORY / PHILOSOPHY PAGES === */
.page-header-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.4rem;
    margin-bottom: 1.2rem;
}

.page-chapter {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--gold-dark);
    font-size: 1.2rem;
}

.page-label {
    text-transform: uppercase;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

.story-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    /* Scaled down for better fit */
    line-height: 1.1;
    color: var(--emerald-deep);
    margin-bottom: 0.8rem;
    /* Reduced margin */
}

.story-text-lead {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    /* Scaled down for better fit */
    color: var(--gold-dark);
    margin-bottom: 0.6rem;
    font-style: italic;
}

.story-text {
    font-size: 0.72rem;
    /* Scaled down for better fit */
    line-height: 1.5;
    color: var(--text-primary);
    max-width: 95%;
    /* Increased width utilization */
}

/* === HEALTH STAMP === */
.health-stamp {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    width: 100px;
    height: 100px;
    color: var(--emerald-deep);
    opacity: 0.9;
}

.stamp-rotate {
    animation: rotateStamp 20s linear infinite;
    transform-origin: center;
}

@keyframes rotateStamp {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.stamp-text {
    font-size: 12px;
    font-family: var(--font-body);
    letter-spacing: 2px;
    fill: currentColor;
    font-weight: 600;
}

.stamp-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gold-dark);
}

/* === PROMISE LIST === */
.promise-section {
    padding-top: 2rem;
}

.section-title-sm {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--emerald-deep);
    margin-bottom: 1.2rem;
    text-align: center;
}

.promise-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.promise-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.promise-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promise-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.promise-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.promise-text p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.signature-block {
    margin-top: auto;
    text-align: right;
    font-family: "Allura", cursive, var(--font-heading);
    /* Fallback */
    font-size: 2rem;
    color: var(--gold-dark);
    padding-right: 2rem;
}

/* === CATALOG GRID === */
.catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.catalog-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ci-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ci-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.catalog-item:hover .ci-image img {
    transform: scale(1.05);
}

.ci-details {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.ci-details h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--emerald-deep);
    margin: 0;
}

.ci-line {
    flex-grow: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 1rem;
}

.ci-price {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--gold-dark);
}

.ci-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* === FULL PAGE VISUAL === */
.full-page-feature {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--emerald-deep);
    margin-bottom: 0.75rem;
}

.feature-image-container {
    width: 100%;
    height: 150px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.feature-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-dark);
    display: inline-block;
    border-bottom: 2px solid var(--gold-light);
}

/* === CATALOG LIST === */
.catalog-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.4rem;
}

.list-item {
    display: grid;
    grid-template-columns: 1fr 110px;
    /* Fixed width for the labels column to align them vertically */
    gap: 1.5rem;
    align-items: center;
    padding-bottom: 0.7rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

/* Specific centering for full-page features like the Summer Preview */
.full-page-feature .list-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.25rem;
}

.li-info h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin: 0 0 0.15rem 0;
}

.li-info p {
    font-size: 0.68rem;
    color: var(--text-secondary);
    margin: 0;
}

.li-price {
    font-weight: 600;
    color: var(--emerald-deep);
    font-size: 0.7rem;
    text-align: left;
    /* Aligns the start of the 'with...' text */
    line-height: 1.2;
}

/* === SERVICES & FRANCHISE === */
.elegant-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--emerald-deep);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.elegant-heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold-primary);
    margin: 10px auto 0;
}

.page-center-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 8px;
}

.service-icon-lg {
    font-size: 1.5rem;
}

.service-data h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin: 0 0 0.2rem 0;
    color: var(--emerald-deep);
}

.service-data p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.highlight-bg {
    background-color: var(--emerald-deep);
    color: #fff !important;
    position: relative;
}

.highlight-bg p {
    color: #fff !important;
}

.highlight-bg .page-inner-border {
    border-color: rgba(255, 255, 255, 0.2);
}

.highlight-bg .page-number {
    color: rgba(255, 255, 255, 0.4);
}

.franchise-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.eyebrow-accent {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.7rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    display: block;
}

.franchise-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: var(--gold-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 3rem 0;
}

.stat-box {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem;
}

.stat-val {
    display: block;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--gold-light);
}

.stat-lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
}

/* Keep EN ROI/Investment lines slightly higher on page 17 without affecting Arabic layout */
html[lang="en"] .franchise-content .franchise-footer {
    transform: translateY(-12px);
}

/* === PAGE NUMBER === */
.page-number {
    position: absolute;
    bottom: 1.5rem;
    font-size: 0.7rem;
    font-family: var(--font-body);
    color: var(--text-secondary);
}

.left .page-number {
    left: 2rem;
}

.right .page-number {
    right: 2rem;
}

.note-box {
    background: rgba(212, 175, 55, 0.1);
    padding: 0.8rem;
    border-radius: 4px;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: auto;
    margin-bottom: 5.5rem;
    /* Lifted up to avoid page number */
    font-size: 0.75rem;
    color: var(--emerald-deep);
}

/* Desktop-only upscale for e-book pages 11, 12, 13 */
@media (min-width: 1024px) {
    .ebook-page-11 .story-title {
        font-size: 2.35rem;
    }

    .ebook-page-11 .story-text {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .ebook-page-11 .promise-text strong {
        font-size: 1.2rem;
    }

    .ebook-page-11 .promise-text p {
        font-size: 1rem;
    }

    .page-content.ebook-page-12 .elegant-heading {
        font-size: 2.35rem !important;
    }

    .page-content.ebook-page-12 .service-row {
        padding: 1rem !important;
        margin-bottom: 1.45rem !important;
    }

    .page-content.ebook-page-12 .service-icon-lg {
        font-size: 1.75rem !important;
    }

    .page-content.ebook-page-12 .service-data h4 {
        font-size: 1.35rem !important;
    }

    .page-content.ebook-page-12 .service-data p {
        font-size: 1.04rem !important;
        line-height: 1.6 !important;
    }

    .page-content.ebook-page-13 .eyebrow-accent {
        font-size: 0.9rem !important;
    }

    .page-content.ebook-page-13 .story-text-lead {
        font-size: 1.35rem !important;
        line-height: 1.6;
    }

    .page-content.ebook-page-13 .story-text {
        font-size: 1.02rem !important;
        line-height: 1.65 !important;
    }

    /* Impact page (08): enlarge content for desktop, keep title size unchanged */
    .page-content.ebook-page-13-impact .story-text {
        font-size: 1rem;
        line-height: 1.68;
    }

    .page-content.ebook-page-13-impact .promise-list {
        margin-top: 2.4rem !important;
        gap: 1.5rem;
    }

    .page-content.ebook-page-13-impact .promise-icon {
        width: 46px;
        height: 46px;
        font-size: 1.45rem;
    }

    .page-content.ebook-page-13-impact .promise-text strong {
        font-size: 1.28rem;
    }

    .page-content.ebook-page-13-impact .promise-text p {
        font-size: 1.04rem;
        line-height: 1.62;
    }
}

/* === FLIPBOOK NAVIGATION CONTROLS === */
.flipbook-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.flip-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    z-index: 101;
    pointer-events: auto;
}

.flip-btn:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #e6cf79 0%, #cfae44 45%, #aa8c2c 100%);
}

.flip-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.flip-btn:disabled {
    background: #ddd;
    color: #999;
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

.page-indicator {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--emerald-deep);
    font-weight: 500;
    min-width: 140px;
    text-align: center;
    letter-spacing: 0.05em;
    user-select: none;
    position: relative;
    z-index: 101;
}

.cover-footer {
    display: grid;
    gap: 0.35rem;
}

.cover-footer-location,
.catalog-footnote,
.page-callout,
.signature-note {
    color: rgba(44, 36, 22, 0.74);
    font-size: 0.95rem;
}

.visual-story {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
    gap: 1.5rem;
    align-items: center;
    min-height: 100%;
}

.visual-story-copy {
    display: grid;
    gap: 0.9rem;
}

.visual-story-media {
    align-self: center;
}

.visual-story-media img {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    object-fit: contain;
}

.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.catalog-product-grid--bites {
    grid-template-columns: 1fr;
}

.catalog-product-card {
    display: grid;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(212, 168, 23, 0.16);
    border-radius: 20px;
    overflow: hidden;
}

.catalog-product-card__media {
    aspect-ratio: 4 / 3;
    background: rgba(255, 251, 245, 0.9);
}

.catalog-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-product-card__copy {
    display: grid;
    gap: 0.45rem;
    padding: 0 1rem 1rem;
}

.catalog-product-card__copy h3,
.pairing-card h4,
.feature-list h4 {
    margin: 0;
}

.catalog-product-card__price {
    font-weight: 700;
    color: var(--sage-dark);
}

.pairing-grid,
.feature-list,
.back-cover-metrics {
    display: grid;
    gap: 1rem;
}

.pairing-card,
.feature-list article {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(212, 168, 23, 0.14);
}

.pairing-card span {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sage-dark);
}

.catalog-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.back-cover-shell {
    display: grid;
    gap: 1.2rem;
    align-content: center;
    min-height: 100%;
}

.back-cover-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.back-cover-metrics div {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
}

.back-cover-metrics strong {
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .visual-story,
    .catalog-product-grid,
    .back-cover-metrics {
        grid-template-columns: 1fr;
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .page-content {
        padding: 0.5rem;
    }

    .page-inner-border {
        padding: 0.35rem;
    }

    .cover-title {
        font-size: 1.8rem;
    }

    .cover-subtitle {
        font-size: 1.1rem;
    }

    .logo-mark-large img {
        height: 90px;
    }

    .story-title {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        line-height: 1.1;
    }

    .story-text-lead {
        font-size: 0.65rem;
        margin-bottom: 0.3rem;
    }

    .story-text {
        font-size: 0.52rem;
        line-height: 1.35;
    }

    .health-stamp {
        width: 45px;
        height: 45px;
        bottom: 0.5rem;
        right: 0.5rem;
    }

    .stamp-center {
        font-size: 0.75rem;
    }

    .section-title-sm {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .promise-list {
        gap: 0.6rem;
    }

    .promise-icon {
        width: 25px;
        height: 25px;
    }

    .promise-text strong {
        font-size: 0.75rem;
    }

    .promise-text p {
        font-size: 0.6rem;
    }

    .catalog-grid {
        gap: 0.3rem;
    }

    .ci-image {
        height: 90px;
    }

    .ci-details h4 {
        font-size: 0.65rem;
    }

    .ci-price {
        font-size: 0.6rem;
    }

    .ci-desc {
        font-size: 0.5rem;
    }

    /* Make e-book pages 8 and 9 (product-page spreads) lighter on phone */
    .page-content.product-page .catalog-grid {
        gap: 0.2rem;
    }

    .page-content.product-page .catalog-item {
        gap: 0.15rem;
    }

    .page-content.product-page .ci-image {
        height: 72px;
    }

    .page-content.product-page .ci-details h4 {
        font-size: 0.56rem;
        line-height: 1.2;
    }

    .page-content.product-page .ci-line {
        margin: 0 0.35rem;
    }

    .page-content.product-page .ci-price {
        font-size: 0.54rem;
    }

    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .feature-text {
        font-size: 0.6rem;
        margin-bottom: 0.5rem;
        padding: 0 0.5rem;
    }

    .feature-image-container {
        height: 100px !important;
        /* Override inline style */
        margin-bottom: 0.5rem;
    }

    .feature-price {
        font-size: 1.1rem;
    }

    .catalog-list {
        gap: 0.2rem;
    }

    .list-item {
        grid-template-columns: 1fr 80px;
        gap: 0.4rem;
        padding-bottom: 0.4rem;
        margin-bottom: 0;
        border-bottom-width: 0.5px;
    }

    .li-info h4 {
        font-size: 0.7rem;
    }

    .li-info p {
        font-size: 0.5rem;
    }

    /* Specific fix for centering list items on full page features */
    .full-page-feature .list-item {
        gap: 0.1rem;
        padding-bottom: 0.4rem;
    }

    .elegant-heading {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .service-row {
        padding: 0.4rem;
        margin-bottom: 0.6rem;
    }

    .service-icon-lg {
        font-size: 1.1rem;
    }

    .service-data h4 {
        font-size: 0.85rem;
    }

    .franchise-title {
        font-size: 1.8rem;
    }

    .stat-grid {
        margin: 1.2rem 0;
        gap: 0.6rem;
    }

    .stat-val {
        font-size: 1.4rem;
    }

    .signature-block {
        font-size: 1.4rem;
        padding-right: 0.8rem;
    }

    .page-chapter {
        font-size: 0.85rem;
    }

    .page-number {
        bottom: 0.75rem;
        font-size: 0.65rem;
    }

    .note-box {
        font-size: 0.5rem;
        padding: 0.3rem;
        margin-bottom: 2rem;
        margin-top: 0.5rem !important;
    }
}

/**
 * RTL (Right-to-Left) Support for Arabic
 * Applied when html[dir="rtl"] is set
 */

/* Base RTL direction */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Navigation */
html[dir="rtl"] .nav-inner {
    grid-template-columns: auto auto 1fr;
}

html[dir="rtl"] .nav-links {
    order: 0;
}

html[dir="rtl"] .brand-mark {
    order: 1;
    text-align: center;
}

html[dir="rtl"] .nav-actions {
    order: -1;
    justify-content: flex-start;
}

html[dir="rtl"] .nav-links ul {
    flex-direction: row-reverse;
}

/* Disable blue selection on phone version for interactive elements */
@media (max-width: 768px) {

    .btn,
    a,
    button,
    .product-card,
    .value-card,
    .nav-toggle,
    .filter-btn {
        user-select: none;
        -webkit-user-select: none;
    }
}

/* Hero section */
html[dir="rtl"] .hero-copy {
    text-align: center;
}

html[dir="rtl"] .hero-section {
    direction: ltr;
}



html[dir="rtl"] .hero-metadata {
    direction: rtl;
}

html[dir="rtl"] .hero-overlay-card {
    left: auto;
    right: 10%;
}


/* Value cards and grids */
html[dir="rtl"] .value-card {
    text-align: right;
}

html[dir="rtl"] .value-grid {
    direction: rtl;
}

/* Timeline */
html[dir="rtl"] .timeline {
    direction: rtl;
}

html[dir="rtl"] .timeline article {
    text-align: right;
}

/* Timeline RTL: flip line and markers to the right */
html[dir="rtl"] .timeline {
    direction: rtl;
    border-left: none;
    border-right: 3px solid var(--accent);
    padding-left: 0;
    padding-right: 1.5rem;
}

html[dir="rtl"] .timeline article {
    padding-left: 0;
    padding-right: 1.25rem;
}

html[dir="rtl"] .timeline article::before {
    left: auto;
    right: -0.85rem;
}

html[dir="rtl"] .timeline article::after {
    left: auto;
    right: -1.5rem;
}

/* Vertical timeline (timeline-vertical) flip to the right in RTL */
html[dir="rtl"] .timeline-vertical {
    padding-left: 0 !important;
    padding-right: 3rem !important;
    border-left: none !important;
    border-right: 3px solid rgba(237, 192, 31, 0.3) !important;
    text-align: right !important;
}

html[dir="rtl"] .timeline-vertical .timeline-content {
    text-align: right !important;
}

html[dir="rtl"] .timeline-vertical .timeline-item::before {
    left: auto !important;
    right: -3rem !important;
    transform: translateX(calc(50% - 1.5px)) !important;
}

html[dir="rtl"] .timeline-vertical .timeline-year {
    margin-right: 0 !important;
    margin-left: auto !important;
}

html[dir="rtl"] .timeline-vertical .timeline-content h3,
html[dir="rtl"] .timeline-vertical .timeline-content p {
    text-align: right !important;
}

/* Timeline immersive (full-width journey) RTL tweaks */
html[dir="rtl"] .history-content {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .timeline-immersive {
    direction: rtl;
}

html[dir="rtl"] .timeline-section {
    flex-direction: column;
}

html[dir="rtl"] .timeline-section-content {
    text-align: right;
}

html[dir="rtl"] .timeline-section::before {
    right: auto;
    left: 5%;
}

html[dir="rtl"] .timeline-section::after {
    left: auto;
    right: 8%;
}

/* Immersive timeline background positioning for RTL */
html[dir="rtl"] .timeline-section {
    background-position: right center, right center !important;
}

/* Provenance section */
html[dir="rtl"] .provenance-content {
    direction: rtl;
}

html[dir="rtl"] .provenance-list {
    text-align: right;
    padding-right: 0;
    padding-left: 0;
}

/* Chef spotlight */
html[dir="rtl"] .chef-spotlight {
    direction: rtl;
}

html[dir="rtl"] .chef-content {
    text-align: right;
}

html[dir="rtl"] .chef-highlights {
    padding-right: 1rem;
    padding-left: 0;
}

html[dir="rtl"] .chef-highlights li::before {
    left: auto;
    right: -1rem;
}

html[dir="rtl"] .chef-actions {
    justify-content: flex-start;
}

/* Product cards */
html[dir="rtl"] .product-grid {
    direction: rtl;
}

html[dir="rtl"] .product-card {
    text-align: right;
}

html[dir="rtl"] .product-header {
    flex-direction: row-reverse;
}

html[dir="rtl"] .product-tags {
    padding-right: 0;
    padding-left: 0;
    justify-content: flex-end;
}

html[dir="rtl"] .product-actions {
    flex-direction: row-reverse;
}

html[dir="rtl"] .product-badge {
    left: auto;
    right: 1rem;
}

/* Section headers */
html[dir="rtl"] .section-header {
    text-align: right;
}

/* Keep explicitly centered headers centered in RTL (e.g., franchising options/benefits) */
html[dir="rtl"] .section-header.centered,
html[dir="rtl"] .section-header.centered h1,
html[dir="rtl"] .section-header.centered h2,
html[dir="rtl"] .section-header.centered h3,
html[dir="rtl"] .section-header.centered .section-kicker,
html[dir="rtl"] .section-header.centered p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Franchise hero and hero-like intros should stay centered in RTL */
html[dir="rtl"] .franchise-hero,
html[dir="rtl"] .franchise-hero-content,
html[dir="rtl"] .franchise-hero h1,
html[dir="rtl"] .franchise-hero .section-kicker,
html[dir="rtl"] .franchise-hero-lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Carousel */
html[dir="rtl"] .carousel {
    direction: rtl;
}

html[dir="rtl"] .carousel-control.prev {
    left: auto;
    right: 0;
}

html[dir="rtl"] .carousel-control.next {
    right: auto;
    left: 0;
}

/* Testimonials */
html[dir="rtl"] .testimonial-card {
    text-align: right;
}

html[dir="rtl"] .testimonial-track {
    animation-direction: reverse;
}

/* Journal */
html[dir="rtl"] .journal-grid {
    direction: rtl;
}

html[dir="rtl"] .journal-card {
    text-align: right;
}

/* Events */
html[dir="rtl"] .events-content {
    direction: rtl;
}

html[dir="rtl"] .event-list li {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .events-form {
    text-align: right;
}

/* Community section */
html[dir="rtl"] .community-layout {
    direction: rtl;
}

html[dir="rtl"] .community-copy {
    text-align: right;
}

html[dir="rtl"] .community-highlights {
    direction: rtl;
    gap: 2rem;
    padding-right: 0.25rem !important;
    padding-left: 1.5rem !important;
    text-align: center;
}

html[dir="rtl"] .community-highlights div {
    text-align: center !important;
    justify-items: center;
    align-items: center;
}

html[dir="rtl"] .community-highlights div:not(:first-child) {
    border-right: none;
    padding-right: 0;
    border-left: none;
    padding-left: 0;
}

html[dir="rtl"] .community-highlights div:first-child {
    padding-right: 0 !important;
    /* Remove internal padding for the rightmost item */
}

html[dir="rtl"] .community-highlights dt {
    text-align: center;
    justify-self: center;
    width: 100%;
}

html[dir="rtl"] .community-highlights dd {
    line-height: 1.5;
    text-align: center !important;
    text-align-last: center;
    margin: 0;
    direction: rtl;
    justify-self: center;
    width: 100%;
    white-space: normal;
    /* Allow wrapping */
}

html[dir="rtl"] .community-actions {
    justify-content: flex-start;
}

/* Press */
html[dir="rtl"] .press-logos {
    direction: rtl;
}

/* Specials */
html[dir="rtl"] .specials-grid {
    direction: rtl;
}

html[dir="rtl"] .special-card {
    text-align: right;
}

/* CTA Banner */
html[dir="rtl"] .cta-content {
    text-align: right;
}

/* Newsletter */
html[dir="rtl"] .newsletter-inner {
    text-align: right;
}

html[dir="rtl"] .newsletter-form {
    direction: rtl;
}

html[dir="rtl"] .hero-copy h1 {
    font-weight: 900;
}

/* Footer */
html[dir="rtl"] .footer-top {
    direction: rtl;
}

html[dir="rtl"] .footer-brand {
    text-align: right;
}

html[dir="rtl"] .footer-nav {
    text-align: center;
}

html[dir="rtl"] .footer-social ul {
    justify-content: flex-start;
}

@media (max-width: 768px) {

    html[dir="rtl"] .footer-brand,
    html[dir="rtl"] .footer-nav,
    html[dir="rtl"] .footer-social h3 {
        text-align: center;
    }

    html[dir="rtl"] .footer-social ul {
        justify-content: center;
    }

    html[dir="rtl"] .hero-copy h1 {
        min-height: 2.6em;
    }
}

html[dir="rtl"] .footer-bottom {
    direction: rtl;
    text-align: center;
    justify-content: center;
}

/* Forms */
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
    text-align: right;
    direction: rtl;
}

/* Language selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.75rem;
}

html[dir="rtl"] .lang-selector {
    margin-left: 0;
    margin-right: 0.75rem;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
}

.lang-btn:hover,
.lang-btn:focus-visible {
    background: rgba(237, 192, 31, 0.12);
    color: #c49615;
}

.lang-btn:focus-visible {
    outline: 2px solid #edc01f;
    outline-offset: 2px;
}

.lang-btn.active {
    background: #edc01f;
    color: #fff;
    border-color: #edc01f;
}

.lang-separator {
    color: var(--sage-muted);
    font-size: 0.85rem;
}

/* Mobile RTL adjustments */
@media (max-width: 880px) {
    html[dir="rtl"] .nav-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    html[dir="rtl"] .brand-mark {
        order: 1;
        flex: 1;
        text-align: center;
    }

    html[dir="rtl"] .nav-toggle {
        order: 0;
    }

    html[dir="rtl"] .nav-actions {
        order: 2;
    }

    html[dir="rtl"] .nav-links {
        text-align: center;
        inset: calc(100% + 0.5rem) 1.25rem auto 1.25rem !important;
        right: 1.25rem !important;
        left: 1.25rem !important;
    }

    html[dir="rtl"] .nav-links ul {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 680px) {
    html[dir="rtl"] .hero {
        text-align: right;
    }

    html[dir="rtl"] .hero-metadata {
        justify-items: end;
    }

    html[dir="rtl"] .timeline {
        padding-right: 2rem;
        padding-left: 0;
        border-left: none;
        border-right: 2px solid var(--sage-muted);
    }

    html[dir="rtl"] .timeline article::before {
        left: auto;
        right: -2.5rem;
    }
}

/* Service Cards RTL */
html[dir="rtl"] .service-card-premium {
    text-align: right;
}

html[dir="rtl"] .service-card-content {
    align-items: stretch !important;
}

html[dir="rtl"] .service-feature {
    flex-direction: row;
    gap: 0.75rem;
    align-self: flex-end;
}

html[dir="rtl"] .service-feature svg {
    margin-right: 0;
    margin-left: 0;
}

html[dir="rtl"] .service-cta {
    width: 100% !important;
    min-width: 100% !important;
    display: flex !important;
    flex-direction: row-reverse !important;
}

html[dir="rtl"] .service-cta svg {
    transform: rotate(180deg);
}

html[dir="rtl"] .service-cta:hover svg {
    transform: rotate(180deg) translateX(5px);
}


/* Responsive Fixes for Golden Sweet */

/* 1. Universal Layout Polish */
:root {
    --section-padding-mobile: 4rem 1.25rem;
}

@media (max-width: 768px) {
    section {
        padding: var(--section-padding-mobile) !important;
    }

    .hero-section {
        padding-top: 1.25rem !important;
    }

    .hero {
        padding-top: 1.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .section-header {
        margin-bottom: 2.5rem !important;
    }

    .section-header h2 {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    /* Improved Button Tap Targets */
    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

}

/* 2. Page Hero Spacing */
@media (max-width: 768px) {
    .page-hero {
        padding: 5rem 1.25rem 3rem !important;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }
}

/* 3. Service Cards (nos-services.html) */
@media (max-width: 768px) {
    .service-card-premium {
        height: auto !important;
        min-height: 500px;
        padding-bottom: 2rem;
    }

    .service-card-content {
        padding: 2.5rem 1.5rem !important;
    }

    .services-grid-premium {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
}

/* 4. Flipbook Catalog (index.html) */
@media (max-width: 768px) {
    #flipbook-container {
        width: 95vw !important;
        height: 420px !important;
    }

    .flipbook-catalog {
        padding: 4rem 0 !important;
    }

    .flipbook-header {
        padding: 0 1.25rem;
    }
}

/* 5. Provenance Globe (index.html) */
@media (max-width: 768px) {
    .provenance-content {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .provenance-map {
        margin: 0 auto !important;
        max-width: 280px !important;
        height: 280px !important;
        order: -1;
        overflow: hidden !important;
    }

    .provenance-map canvas#provenance-globe {
        margin-top: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 280px !important;
    }

    .provenance-list {
        text-align: left;
        margin-top: 2rem;
    }
}

/* 6. Values Grid (index.html) */
@media (max-width: 768px) {
    .value-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .value-card {
        padding: 2rem !important;
    }
}

/* 7. Catalog Grid inside Flipbook */
@media (max-width: 480px) {
    .catalog-grid {
        grid-template-columns: 1fr !important;
    }

    .ci-image {
        height: 140px !important;
    }
}

/* 8. Compact CTA Fix */
@media (max-width: 768px) {
    .compact-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 3rem 1.5rem !important;
    }

    .cta-message {
        align-items: center;
    }

    .cta-action {
        width: 100%;
        align-items: center;
    }

    .cta-btn-premium {
        width: 100%;
        justify-content: center;
    }
}

/* 9. Header Fix for Language Selector */
@media (max-width: 480px) {
    .lang-selector {
        padding: 0.2rem 0.4rem;
        background: rgba(237, 192, 31, 0.1);
        border-radius: 8px;
    }

    .lang-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
}

/* 11. Footer Responsiveness */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 3rem;
    }

    .footer-social ul {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* 12. Immersive Timeline (la-maison.html) Mobile Fix */
@media (max-width: 768px) {
    .timeline-year-huge {
        font-size: 5rem !important;
        left: 5% !important;
        top: 15vh !important;
    }

    .timeline-section-content {
        padding: 0 1.5rem !important;
        margin-top: 20vh;
    }

    .timeline-section-content h3 {
        font-size: 1.8rem !important;
    }

    .timeline-nav {
        bottom: 1.5rem !important;
        padding: 0.5rem 1rem !important;
    }

    .timeline-nav button {
        font-size: 0.8rem !important;
    }

    .timeline-icon {
        display: flex !important;
        justify-content: center !important;
    }

    .timeline-icon img {
        margin: 0 auto !important;
    }

    html[dir="rtl"] .timeline-section {
        background-position: 70% center;
    }

}

/* 13. FAQ Accordion Mobile Padding */
@media (max-width: 768px) {
    .accordion-trigger {
        padding: 1.25rem 1rem !important;
        font-size: 1rem !important;
    }

    .accordion-body {
        padding: 0 1rem 1.5rem !important;
    }
}

/* 10. Menu Page Fixes */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .catalog-filters {
        display: flex !important;
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        padding: 0.5rem 0 1.5rem !important;
        margin: 0 0 2rem !important;
        gap: 0.75rem !important;
        justify-content: center;
    }

    .filter-btn {
        white-space: nowrap !important;
        padding: 0.6rem 1.2rem !important;
        flex-shrink: 0 !important;
    }
}

/* 14. Laboratory & Process Fixes */
@media (max-width: 768px) {

    .process-steps,
    .values-grid,
    .certifications-grid,
    .press-grid,
    .awards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .certification-badge {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem !important;
    }

    .lab-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* 15. Franchising Journey Fixes */
@media (max-width: 768px) {
    .journey-steps {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
    }

    .journey-connector {
        width: 2px !important;
        height: 40px !important;
        margin: 0 !important;
    }

    .journey-step {
        width: 100% !important;
        max-width: 300px !important;
        margin-bottom: 0 !important;
    }

    .investment-panel {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* 16. Community/Instagram Section Centralization */
@media (max-width: 768px) {
    .community-layout {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .community-copy {
        max-width: 100% !important;
        align-items: center !important;
        text-align: center !important;
    }

    .community-lede {
        text-align: center !important;
        margin: 0 auto !important;
        font-size: 0.9rem !important;
    }

    .community-copy h2 {
        font-size: 1.5rem !important;
    }

    .community-actions {
        justify-content: center !important;
    }

    .community-highlights div {
        text-align: center !important;
        justify-items: center !important;
    }

    .community-highlights dd {
        width: 100% !important;
    }

    .community-media {
        display: block !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .community-gallery {
        margin: 0 !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        /* Wrapper is block */
        overflow-x: auto !important;
        overflow-y: hidden !important;
        touch-action: pan-x !important;
        overscroll-behavior-x: contain;
        /* scroll-snap-type: x mandatory; */
        padding-bottom: 2rem !important;
        /* Space for shadow/scroll */

        /* Ensure touch scrolling works */
        -webkit-overflow-scrolling: touch;

        /* Reset styles */
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        animation: none !important;
        perspective: none !important;
    }

    .community-gallery__ring {
        display: flex !important;
        width: max-content !important;
        /* Force content width */
        gap: 1.5rem !important;
        padding: 1rem 1.5rem !important;
        /* Side padding */

        /* Reset positioning */
        position: static !important;
        transform: none !important;
        inset: auto !important;
    }

    /* Direct children of gallery (if structure is different) or items themselves */
    .community-gallery__item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: translateZ(0) !important;
        /* HW Acceleration */

        /* Ensure no focusing/dimming effects */
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        scale: 1 !important;

        /* Card sizing */
        flex: 0 0 240px !important;
        /* Fixed width cards */
        width: 240px !important;
        height: 320px !important;

        scroll-snap-align: center;
        margin: 0 !important;
    }

    /* Optional: Hide scrollbar for cleaner look but keep functionality */
    .community-gallery::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 880px) {
    html[dir="rtl"] .history-image img {
        transform: translateX(10%);
    }
}

/**
 * Page-specific styles for Cinnamona subpages
 * Extends styles.css with additional components
 */

/* =========================================
   Page Hero
   ========================================= */
.page-hero {
    background: linear-gradient(135deg, rgba(127, 156, 137, 0.1) 0%, rgba(243, 216, 216, 0.15) 100%);
    padding: clamp(4rem, 10vw, 8rem) 1.5rem;
    text-align: center;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    margin-bottom: 0.5rem;
}

.page-hero-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
    max-width: 700px;
    margin: 0.75rem auto 0;
}

.lead-ar {
    display: none;
}

html[dir="rtl"] .lead-en {
    display: none;
}

html[dir="rtl"] .lead-ar {
    display: block;
}

.page-hero .section-kicker {
    margin-bottom: 1.5rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 1rem;
}

.option-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    text-align: left;
}

.option-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
    color: #2c241b;
}

.option-card p {
    margin: 0;
    color: #4a4133;
    line-height: 1.6;
}

.options-note {
    margin: 0.5rem 0 2.5rem;
    font-weight: 600;
    color: #2c241b;
    text-align: center;
}


/* =========================================
   Section Container
   ========================================= */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4.5rem 1.5rem;
}

.section-header.centered {
    text-align: center;
    margin-bottom: 3rem;
}

/* =========================================
   History Section
   ========================================= */
.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.history-text p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.9;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: #2c241b;
    letter-spacing: 0.01em;
    font-style: italic;

}

.history-image {
    overflow: hidden;
}

.history-image img {
    width:100%;
    max-width: 650px;
    height: auto;
    transform: translateX(-10%);
}

/* Vertical Timeline */
.timeline-vertical {
    position: relative;
    padding-left: 3rem;
    border-left: 3px solid rgba(237, 192, 31, 0.3);
}

.timeline-vertical .timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-vertical .timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0.3rem;
    width: 16px;
    height: 16px;
    background: #edc01f;
    border-radius: 50%;
    border: 3px solid var(--cream);
    transform: translateX(calc(-50% + 1.5px));
}

.timeline-vertical .timeline-year {
    display: inline-block;
    background: #edc01f;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}


.timeline-vertical .timeline-content h3 {
    margin-bottom: 0.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.timeline-vertical .timeline-content p {
    color: var(--text);
    max-width: 500px;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Override interactive timeline styles for vertical timeline */
.timeline-vertical .timeline-content {
    max-height: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin-top: 1rem !important;
    transition: none !important;
}

.timeline-vertical .timeline-content p {
    padding: 0 !important;
    background: none !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.timeline-vertical .timeline-item {
    opacity: 1 !important;
    transform: none !important;
}


/* =========================================
   Values Section
   ========================================= */
.values-section {
    background: rgba(255, 255, 255, 0.8);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.value-card-large {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px var(--shadow);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.value-card-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px var(--shadow);
}

.value-card-large .value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: var(--soft-cream);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.value-card-large .value-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--sage-dark);
}

.value-card-large h3 {
    margin-bottom: 0.75rem;
}

.value-card-large--full {
    grid-column: 1 / -1;
}

/* ========================================
   PSYCHOLOGICAL HOVER EFFECTS
   ======================================== */

/* Base card hover preparation */
.value-card-large {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. HEALTHY INGREDIENTS - "Purity Pulse" */
.values-grid .value-card-large:nth-child(1) {
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.values-grid .value-card-large:nth-child(1)::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center,
            rgba(76, 175, 80, 0.15) 0%,
            rgba(139, 195, 74, 0.08) 40%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.values-grid .value-card-large:nth-child(1):hover::before {
    opacity: 1;
    animation: purityPulse 3s ease-in-out infinite;
}

.values-grid .value-card-large:nth-child(1):hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(76, 175, 80, 0.25),
        0 0 40px rgba(76, 175, 80, 0.15),
        0 14px 34px var(--shadow);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(232, 245, 233, 0.95) 100%);
}

.values-grid .value-card-large:nth-child(1):hover .value-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-color: #4caf50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
}

.values-grid .value-card-large:nth-child(1):hover .value-icon svg {
    stroke: #4caf50;
    animation: iconBreathe 2s ease-in-out infinite;
}

/* 2. DAILY PRODUCTION - "Fresh Energy Spark" */
.values-grid .value-card-large:nth-child(2) {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.values-grid .value-card-large:nth-child(2)::before,
.values-grid .value-card-large:nth-child(2)::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #ff9800, #ff6f00);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.8);
}

.values-grid .value-card-large:nth-child(2)::before {
    top: 20%;
    left: 10%;
}

.values-grid .value-card-large:nth-child(2)::after {
    bottom: 25%;
    right: 15%;
}

.values-grid .value-card-large:nth-child(2):hover::before {
    animation: sparkFloat1 1.5s ease-out infinite;
}

.values-grid .value-card-large:nth-child(2):hover::after {
    animation: sparkFloat2 1.5s ease-out 0.3s infinite;
}

.values-grid .value-card-large:nth-child(2):hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(255, 152, 0, 0.3),
        0 0 40px rgba(255, 193, 7, 0.2),
        0 14px 34px var(--shadow);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 243, 224, 0.95) 100%);
}

.values-grid .value-card-large:nth-child(2):hover .value-icon {
    transform: rotate(8deg) scale(1.15);
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-color: #ff9800;
    box-shadow: 0 0 25px rgba(255, 152, 0, 0.5);
    animation: energyPulse 0.8s ease-in-out infinite;
}

.values-grid .value-card-large:nth-child(2):hover .value-icon svg {
    stroke: #ff6f00;
}

/* 3. HIGH EXPANSION - "Growth Cascade" */
.values-grid .value-card-large:nth-child(3) {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.values-grid .value-card-large:nth-child(3)::before,
.values-grid .value-card-large:nth-child(3)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.values-grid .value-card-large:nth-child(3)::before {
    width: 100px;
    height: 100px;
    border-color: rgba(63, 81, 181, 0.6);
}

.values-grid .value-card-large:nth-child(3)::after {
    width: 150px;
    height: 150px;
    border-color: rgba(103, 58, 183, 0.4);
}

.values-grid .value-card-large:nth-child(3):hover::before {
    animation: rippleExpand1 2s ease-out;
}

.values-grid .value-card-large:nth-child(3):hover::after {
    animation: rippleExpand2 2s ease-out 0.4s;
}

.values-grid .value-card-large:nth-child(3):hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 25px 70px rgba(63, 81, 181, 0.35),
        0 10px 40px rgba(103, 58, 183, 0.25),
        0 0 50px rgba(63, 81, 181, 0.2),
        0 14px 34px var(--shadow);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(232, 234, 246, 0.95) 100%);
}

.values-grid .value-card-large:nth-child(3):hover .value-icon {
    transform: scale(1.2) rotate(5deg);
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
    border-color: #3f51b5;
    box-shadow:
        0 0 30px rgba(63, 81, 181, 0.6),
        0 5px 20px rgba(63, 81, 181, 0.3);
}

.values-grid .value-card-large:nth-child(3):hover .value-icon svg {
    stroke: #3f51b5;
    animation: growRotate 3s linear infinite;
}

/* 4. TRANSPARENT & SUPPORTIVE - "Community Glow" */
.values-grid .value-card-large:nth-child(4) {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.values-grid .value-card-large:nth-child(4)::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle at 30% 50%,
            rgba(233, 30, 99, 0.2) 0%,
            rgba(244, 143, 177, 0.1) 40%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.values-grid .value-card-large:nth-child(4):hover::before {
    opacity: 1;
    animation: communityWarmth 4s ease-in-out infinite;
}

.values-grid .value-card-large:nth-child(4):hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(233, 30, 99, 0.25),
        0 0 40px rgba(233, 30, 99, 0.15),
        0 14px 34px var(--shadow);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(252, 228, 236, 0.95) 100%);
}

.values-grid .value-card-large:nth-child(4):hover .value-icon {
    transform: scale(1.15);
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    border-color: #e91e63;
    box-shadow: 0 0 25px rgba(233, 30, 99, 0.5);
    animation: heartbeat 1.2s ease-in-out infinite;
}

.values-grid .value-card-large:nth-child(4):hover .value-icon svg {
    stroke: #e91e63;
}

/* Animations */
@keyframes purityPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes iconBreathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes sparkFloat1 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-15px, -30px) scale(1.5);
    }
}

@keyframes sparkFloat2 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(20px, -35px) scale(1.8);
    }
}

@keyframes energyPulse {

    0%,
    100% {
        transform: rotate(8deg) scale(1.15);
    }

    50% {
        transform: rotate(8deg) scale(1.2);
    }
}

@keyframes rippleExpand1 {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

@keyframes rippleExpand2 {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.8);
        opacity: 0;
    }
}

@keyframes growRotate {
    0% {
        transform: scale(1.2) rotate(0deg);
    }

    100% {
        transform: scale(1.2) rotate(360deg);
    }
}

@keyframes communityWarmth {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1.15);
    }

    25% {
        transform: scale(1.25);
    }

    50% {
        transform: scale(1.15);
    }

    75% {
        transform: scale(1.2);
    }
}

/* =========================================
   Team Section
   ========================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 16px 40px var(--shadow);
    transition: transform var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-photo {
    aspect-ratio: 1;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-card h3 {
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 0.25rem;
}

.team-role {
    padding: 0 1.5rem;
    color: var(--sage-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.team-card>p:last-child {
    padding: 0.5rem 1.5rem 1.5rem;
}

/* =========================================
   Vision Section
   ========================================= */
.vision-section {
    background: linear-gradient(135deg, var(--sage-muted) 0%, var(--blush) 100%);
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.vision-image {
    display: flex;
    justify-content: flex-end;
}

.vision-text h2 {
    margin-bottom: 1.5rem;
}

.vision-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.vision-text .btn {
    margin-top: 1rem;
}

.vision-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.15);
}

/* =========================================
   Shops Page
   ========================================= */
.shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.shop-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 16px 44px var(--shadow);
}

.shop-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-info {
    padding: 1.5rem;
}

.shop-info h3 {
    margin-bottom: 1rem;
}

.shop-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.shop-detail svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--sage-dark);
    margin-top: 0.15rem;
}

.shop-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

/* Map placeholder */
.map-placeholder {
    background: var(--sage-muted);
    border-radius: var(--radius-md);
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 3rem;
}

.map-placeholder p {
    color: var(--sage-dark);
    font-weight: 500;
}

/* =========================================
   Services Page - Premium Design
   ========================================= */
.services-showcase {
    padding: 5rem 1.5rem;
}

.services-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card-premium {
    position: relative;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    height: 680px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-card-premium:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.service-card-premium[data-service="custom"]::after {
    background-image: url('/assets/custom_orders_bg.png');
}

.service-card-premium[data-service="b2b"]::after {
    background-image: url('/assets/b2b_wholesale_bg.png');
}

.service-card-premium[data-service="delivery"]::after {
    background-image: url('/assets/delivery_247_bg.png');
}

.service-card-premium:hover::after {
    transform: scale(1.1);
}

/* Gradient Overlays - Unique for Each Service */
.service-card-premium[data-service="custom"] .service-card-overlay {
    background: linear-gradient(135deg,
            rgba(255, 182, 193, 0.95) 0%,
            rgba(255, 218, 224, 0.90) 50%,
            rgba(255, 255, 255, 0.98) 100%);
}

.service-card-premium[data-service="b2b"] .service-card-overlay {
    background: linear-gradient(135deg,
            rgba(205, 159, 71, 0.95) 0%,
            rgba(218, 179, 102, 0.90) 50%,
            rgba(255, 255, 255, 0.98) 100%);
}

.service-card-premium[data-service="delivery"] .service-card-overlay {
    background: linear-gradient(135deg,
            rgba(75, 85, 148, 0.95) 0%,
            rgba(138, 147, 201, 0.90) 50%,
            rgba(255, 255, 255, 0.98) 100%);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    transition: opacity 0.6s ease;
}

.service-card-premium:hover .service-card-overlay {
    opacity: 0.97;
}

/* Card Content */
.service-card-content {
    position: relative;
    z-index: 3;
    height: 100%;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Service Number */
.service-number {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0.1;
    color: var(--charcoal);
    transition: all 0.5s ease;
    font-family: 'Work Sans', sans-serif;
}

.service-card-premium:hover .service-number {
    opacity: 0.15;
    transform: scale(1.1);
}

/* Icon */
.service-icon-premium {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: grid;
    place-items: center;
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card-premium:hover .service-icon-premium {
    transform: translateY(-5px) rotate(5deg) scale(1.05);
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 0 0 8px rgba(255, 255, 255, 0.1);
}

.service-icon-premium svg {
    width: 36px;
    height: 36px;
    stroke: var(--charcoal);
    stroke-width: 2;
    transition: all 0.4s ease;
}

.service-card-premium:hover .service-icon-premium svg {
    stroke: var(--sage-dark);
    transform: scale(1.1);
}

/* Typography */
.service-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    transition: all 0.4s ease;
}

.service-card-premium:hover .service-title {
    transform: translateX(5px);
}

.service-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--charcoal);
    margin-bottom: 1.25rem;
    opacity: 0.85;
    transition: all 0.4s ease;
}

.service-card-premium:hover .service-tagline {
    opacity: 1;
    transform: translateX(5px);
}

.service-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Features List */
.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: var(--charcoal);
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
}

.service-feature:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateX(8px);
}

.service-feature svg {
    width: 18px;
    height: 18px;
    stroke: var(--sage-dark);
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.service-feature:hover svg {
    opacity: 1;
    stroke: var(--sage);
}

.service-feature span {
    font-weight: 500;
}

/* CTA Button */
.service-card-premium .service-cta {
    display: flex !important;
    width: 100% !important;
    flex: 1 !important;
    min-width: 100% !important;
    align-self: stretch !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2rem;
    margin-top: auto !important;
    box-sizing: border-box !important;
    background: var(--sage-dark);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.service-cta:hover::before {
    left: 100%;
}

.service-cta:hover {
    background: var(--sage);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.service-cta svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-cta:hover svg {
    transform: translateX(5px);
}

/* Animated Glow Effect */
.service-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--sage-dark), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
    animation: pulse-glow 3s ease-in-out infinite;
}

.service-card-premium:hover .service-glow {
    opacity: 0.08;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.05;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-premium:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .services-grid-premium {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card-premium {
        height: auto;
        min-height: 600px;
    }

    .service-card-premium:last-child {
        grid-column: 1;
    }

    .service-number {
        font-size: 3.5rem;
    }
}

/* =========================================
   Catalog Page
   ========================================= */
.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--sage-muted);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--sage);
    border-color: var(--sage);
    color: #fff;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* =========================================
   FAQ Page
   ========================================= */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.faq-section {
    margin-bottom: 3rem;
}

.faq-section h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--sage-muted);
}

.accordion {
    display: grid;
    gap: 1rem;
}

.accordion-item {
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px var(--shadow);
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition);
}

.accordion-trigger:hover {
    background: rgba(127, 156, 137, 0.08);
}

.accordion-trigger svg {
    width: 20px;
    height: 20px;
    stroke: var(--sage-dark);
    transition: transform var(--transition);
}

.accordion-trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.open {
    max-height: 500px;
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
}

/* =========================================
   Contact Page
   ========================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 52px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--sage-muted);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group .btn {
    width: 100%;
}

/* Custom Select Dropdown Styling */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237f9c89' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
    cursor: pointer;
    font-weight: 500;
}

.form-group select:hover {
    border-color: var(--sage);
    background-color: var(--sage-muted);
}

.form-group select option {
    padding: 0.75rem 1rem;
    font-weight: 500;
    background: #fff;
    color: var(--charcoal);
}

.form-group select option:hover,
.form-group select option:checked {
    background: var(--sage);
    color: #fff;
}

.form-group select option:first-child {
    color: var(--text);
    font-weight: 400;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
    color: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    height: fit-content;
}

.contact-info-card h3 {
    color: #fff;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: rgba(255, 255, 255, 0.8);
}

.contact-info-item a {
    color: #fff;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-social a:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.contact-social svg {
    width: 20px;
    height: 20px;
}

/* =========================================
   Press Page
   ========================================= */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.press-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 36px var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition);
}

.press-card:hover {
    transform: translateY(-4px);
}

.press-logo {
    height: 40px;
    margin-bottom: 1rem;
    color: var(--sage-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.press-card h3 {
    flex: 1;
    margin-bottom: 0.75rem;
}

.press-card .read-link {
    color: var(--sage-dark);
    font-weight: 600;
    text-decoration: underline;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.award-card {
    background: linear-gradient(135deg, var(--blush) 0%, #fff 100%);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.award-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* =========================================
   Laboratory Page
   ========================================= */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--sage);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.lab-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.lab-gallery img {
    border-radius: var(--radius-sm);
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

.certifications-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.certification-badge {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 28px var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.certification-badge svg {
    width: 32px;
    height: 32px;
    stroke: var(--sage);
}

/* =========================================
   Franchising Page
   ========================================= */

/* Franchise Hero */
.franchise-hero {
    background: linear-gradient(135deg, rgba(205, 159, 71, 0.15) 0%, rgba(184, 138, 58, 0.1) 50%, rgba(255, 251, 245, 1) 100%);
    padding: clamp(5rem, 12vw, 10rem) 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.franchise-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(205, 159, 71, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.franchise-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.franchise-hero h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--sage-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.franchise-hero-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.franchise-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Franchise Benefits Section */
.franchise-benefits {
    background: var(--soft-cream);
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sage) 0%, var(--sage-dark) 100%);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--sage-muted) 0%, rgba(205, 159, 71, 0.2) 100%);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--sage-dark);
}

.benefit-card h3 {
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Investment Section */
.franchise-investment {
    background: linear-gradient(180deg, #fff 0%, var(--soft-cream) 100%);
}

.investment-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.investment-stat {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(205, 159, 71, 0.2);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.investment-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(205, 159, 71, 0.15);
}

.investment-value {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--sage-dark);
    margin-bottom: 0.5rem;
}

.investment-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.investment-stat p {
    font-size: 0.9rem;
    color: var(--text);
    margin: 0;
}

/* Journey Steps Section */
.franchise-journey {
    background: #fff;
}

.journey-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.journey-step {
    flex: 1;
    min-width: 200px;
    max-width: 220px;
    text-align: center;
    padding: 0 1rem;
}

.journey-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 24px rgba(205, 159, 71, 0.3);
}

.journey-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.journey-step p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.journey-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--sage-muted) 0%, var(--sage) 50%, var(--sage-muted) 100%);
    margin-top: 27px;
    flex-shrink: 0;
}

/* Support Section */
.franchise-support {
    background: linear-gradient(135deg, var(--soft-cream) 0%, rgba(205, 159, 71, 0.08) 100%);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-item {
    display: flex;
    gap: 1.25rem;
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition);
}

.support-item:hover {
    transform: translateY(-3px);
}

.support-icon {
    width: 52px;
    height: 52px;
    background: var(--sage-muted);
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.support-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--sage-dark);
}

.support-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.support-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Franchise FAQ */
.franchise-faq {
    background: #fff;
}

/* Franchise CTA */
.franchise-cta {
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
}

/* Franchise Responsive */
@media (max-width: 880px) {
    .journey-steps {
        flex-direction: column;
        align-items: center;
    }

    .journey-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .journey-step {
        max-width: 100%;
    }
}

@media (max-width: 680px) {
    .franchise-hero {
        padding: 3.5rem 1rem 3rem;
    }

    .franchise-hero-lead {
        font-size: 1rem;
    }

    .benefit-cards {
        grid-template-columns: 1fr;
    }

    .investment-panel {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-item {
        flex-direction: column;
        text-align: center;
    }

    .support-icon {
        margin: 0 auto;
    }
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 880px) {

    .history-content,
    .vision-content,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .history-image {
        order: -1;
    }
}

@media (max-width: 680px) {
    .page-hero {
        padding: 3rem 1rem 2rem;
    }

    .section-container {
        padding: 3rem 1rem;
    }

    .timeline-vertical {
        padding-left: 2rem;
    }

    .shops-grid {
        grid-template-columns: 1fr;
    }

    /* Contact page mobile fit */
    .contact-layout {
        gap: 1rem;
    }

    .contact-form-card,
    .contact-info-card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        border-radius: 18px;
        overflow: hidden;
    }

    .contact-info-item {
        gap: 0.75rem;
    }

    .contact-info-item>div,
    .contact-info-item span,
    .contact-info-item a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .contact-social {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
}

.options-section {
    background: linear-gradient(180deg, #fffaf2 0%, #fdf5e8 100%);
    padding: 4.5rem 0;
}

.options-lead {
    max-width: 760px;
    margin: 0.5rem auto 0;
    color: #4a4133;
    line-height: 1.7;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 1rem;
}

.option-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.option-card--accent {
    box-shadow: 0 22px 44px rgba(237, 192, 31, 0.18);
    border: 1px solid rgba(237, 192, 31, 0.35);
}

.option-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
    color: #2c241b;
}

.option-card p {
    margin: 0;
    color: #4a4133;
    line-height: 1.6;
}

.option-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.option-pill {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(237, 192, 31, 0.15);
    color: #a57b12;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.options-note {
    margin: 0.5rem 0 0;
    font-weight: 600;
    color: #2c241b;
    text-align: center;
}

@media (max-width: 768px) {
    .options-section {
        padding: 3.5rem 0;
    }
    .options-grid {
        gap: 1rem;
    }
    .option-card {
        padding: 1.25rem;
    }
}


/* ============================================
   ANIMATIONS.CSS - Bold & Playful Animations
   ============================================ */

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-25px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Animation Classes - Initially hidden, animate on scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
}

.fade-in-down.animated {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInDown 0.8s ease forwards;
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
}

.scale-in.animated {
    opacity: 1;
    transform: scale(1);
    animation: scaleIn 0.6s ease forwards;
}

/* Initially hide bounce-in elements */
.bounce-in {
    opacity: 0;
    transform: scale(0.3) translateY(50px);
}

/* Animate only when scrolled into view */
.bounce-in.animated {
    opacity: 1;
    transform: scale(1) translateY(0);
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-left.animated {
    opacity: 1;
    transform: translateX(0);
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.slide-in-right.animated {
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 0.8s ease forwards;
}

/* Stagger delays for multiple items */
.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

.stagger-5 {
    animation-delay: 0.5s;
}

.stagger-6 {
    animation-delay: 0.6s;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover {
    transform: translateY(-10px);
}

.hover-bounce:hover {
    animation: pulse 0.5s ease;
}

.hover-wiggle:hover {
    animation: wiggle 0.5s ease;
}

.hover-float {
    transition: transform 0.3s ease;
}

.hover-float:hover {
    animation: float 2s ease-in-out infinite;
}

/* Button Animations */
.btn-animated {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-animated:hover::before {
    left: 100%;
}

.btn-animated:active {
    transform: scale(0.95);
}

/* Card Flip */
.flip-card {
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner,
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(200, 147, 91, 0.2);
    border-top-color: #edc01f;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Success Checkmark */
@keyframes checkmark {
    0% {
        stroke-dashoffset: 50;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: checkmark 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

/* Progress Bar */
.progress-bar {
    position: relative;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #edc01f, #d4a817);
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shimmer 2s infinite;
}

/* Counter Animation */
.counter {
    font-variant-numeric: tabular-nums;
    animation: countUp 0.5s ease;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typing Animation Cursor */
@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.typing-cursor {
    display: inline-block;
    margin-left: 2px;
    color: #edc01f;
    font-weight: 400;
    animation: blink 1s step-end infinite;
}

/* Ensure typed text maintains proper spacing */
.typed-text {
    display: inline-block;
    min-height: 1em;
    width: 120%;
}

/* Prevent layout shift during typing */
h1[data-typing-words] {
    min-height: 1.2em;
}

/* Prevent the dynamic word and cursor from wrapping to a new line */
.typed-text,
.typing-cursor {
    white-space: nowrap;
}

/* Keep "none of the [word]" together on one line */
.no-wrap-group {
    white-space: nowrap;
    display: inline-block;
}

.static-text-end {
    white-space: nowrap;
}
/* ============================================
   IMMERSIVE TIMELINE - Enhanced Scroll Experience
   ============================================ */

/* Container */
.timeline-immersive {
    position: relative;
    width: 100%;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* Progress Bar */
.timeline-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

.timeline-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #edc01f 0%, #d4a817 100%);
    transition: width 0.3s ease-out;
    box-shadow: 0 0 10px rgba(237, 192, 31, 0.5);
}

/* Navigation Dots - HIDDEN */
.timeline-nav {
    display: none;
}

.timeline-nav button:hover::after,
.timeline-nav button.active::after {
    opacity: 1;
}

.timeline-nav button.active,
.timeline-nav button:hover {
    background: #edc01f;
    border-color: #edc01f;
    transform: scale(1.4);
}

/* Timeline Sections - FULL SCREEN */
.timeline-section {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    scroll-snap-align: start;
    position: relative;
    transition: background 0.8s ease;
    /* Full viewport coverage */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Add blur transition overlays at top and bottom */
.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 0.4) 40%,
            transparent 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: none;
    z-index: 1;
}

.timeline-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 0.4) 40%,
            transparent 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: none;
    z-index: 1;
}

/* Year-specific backgrounds - FULL SCREEN */
.timeline-section[data-year="2019"] {
    background: url('/images/bg1.png') center/cover no-repeat, linear-gradient(135deg, #FFF5E6 0%, #FFE5CC 100%);
}

.timeline-section[data-year="2021"] {
    background: url('/images/bg2.png') center/cover no-repeat, linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.timeline-section[data-year="2023"] {
    background: url('/images/bg3.png') center/cover no-repeat, linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.timeline-section[data-year="2026"] {
    background: url('/images/bg.4.png') center/cover no-repeat, linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
}

/* Animated Connector Line */
.timeline-connector {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100px;
    background: linear-gradient(180deg, #edc01f 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.timeline-section.active .timeline-connector {
    opacity: 1;
    animation: drawLine 1.5s ease forwards;
}

@keyframes drawLine {
    from {
        height: 0;
    }

    to {
        height: 100px;
    }
}

/* Content Container */
.timeline-section-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* STICKY YEAR NUMBER - Follows you as you scroll */
.timeline-year-huge {
    font-family: 'Playfair Display', serif;
    font-size: clamp(8rem, 20vw, 15rem);
    font-weight: 900;
    background: linear-gradient(135deg, #edc01f 0%, #d4a817 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 0.9;
    display: block;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;

    /* STICKY POSITIONING */
    position: sticky;
    top: 10vh;
    z-index: 0;

    /* Animation */
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-section.active .timeline-year-huge {
    opacity: 1;
    transform: translateX(0);
}

/* Title */
.timeline-section-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
    position: relative;
    z-index: 10;
    text-align: center;
}

.timeline-section.active .timeline-section-content h3 {
    opacity: 1;
    transform: translateY(0);
}

/* Description */
.timeline-section-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: rgba(63, 64, 58, 0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s;
    position: relative;
    z-index: 10;
    text-align: center;
}

.timeline-section.active .timeline-section-content p {
    opacity: 1;
    transform: translateY(0);
}

/* Icon */
.timeline-icon {
    font-size: 4rem;
    margin-top: 2rem;
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-icon img {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.timeline-icon.icon-visible {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Decorative Background Elements - Full bleed */
.timeline-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}

.timeline-section[data-year="2019"]::before {
    background: radial-gradient(circle, #FF9933 0%, transparent 70%);
}

.timeline-section[data-year="2021"]::before {
    background: radial-gradient(circle, #4CAF50 0%, transparent 70%);
}

.timeline-section[data-year="2023"]::before {
    background: radial-gradient(circle, #2196F3 0%, transparent 70%);
}

.timeline-section[data-year="2026"]::before {
    background: radial-gradient(circle, #9C27B0 0%, transparent 70%);
}

/* Additional decorative element */
.timeline-section::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 8%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

.timeline-section[data-year="2019"]::after {
    background: radial-gradient(circle, #FF9933 0%, transparent 70%);
}

.timeline-section[data-year="2021"]::after {
    background: radial-gradient(circle, #4CAF50 0%, transparent 70%);
}

.timeline-section[data-year="2023"]::after {
    background: radial-gradient(circle, #2196F3 0%, transparent 70%);
}

.timeline-section[data-year="2026"]::after {
    background: radial-gradient(circle, #9C27B0 0%, transparent 70%);
}

/* Scroll Indicator (only on first section) */
.scroll-hint {
    display: none;
}

.scroll-hint span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal);
}

.scroll-hint::after {
    content: 'â†“';
    font-size: 1.5rem;
    color: #edc01f;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-nav {
        right: 1rem;
        gap: 1rem;
    }

    .timeline-nav button {
        width: 10px;
        height: 10px;
    }

    .timeline-nav button::after {
        display: none;
    }

    .timeline-section-content {
        padding: 3rem 1.5rem;
    }

    .timeline-year-huge {
        font-size: clamp(5rem, 15vw, 8rem);
        top: 15vh;
    }

    .timeline-section-content h3 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .timeline-section-content p {
        font-size: 1rem;
    }

    .timeline-icon {
        font-size: 3rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .timeline-immersive {
        scroll-snap-type: none;
    }

    .timeline-year-huge,
    .timeline-section-content h3,
    .timeline-section-content p,
    .timeline-icon {
        transition: none;
        opacity: 1 !important;
        transform: none !important;
    }

    .scroll-hint {
        animation: none;
    }

    .timeline-year-huge {
        position: relative;
        top: auto;
    }
}

/* Cart Page Styles */
.breadcrumb-section {
    background: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(205, 159, 71, 0.15);
}

.breadcrumb-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem clamp(1rem, 3vw, 1.5rem);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: "â€º";
    margin-left: 0.5rem;
    color: var(--sage-dark);
    font-weight: 600;
}

.breadcrumb a {
    color: var(--sage-dark);
    transition: color 200ms ease;
}

.breadcrumb a:hover {
    color: var(--sage);
    text-decoration: none;
}

.breadcrumb li[aria-current="page"] {
    color: var(--text);
    font-weight: 500;
}

.cart-page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem clamp(1rem, 3vw, 1.5rem);
    min-height: 60vh;
}

.cart-container {
    width: 100%;
}

.cart-page-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--charcoal);
    margin-bottom: 2.5rem;
    text-align: center;
}

.cart-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.cart-items-panel {
    display: grid;
    gap: 1rem;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(205, 159, 71, 0.16);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 34px rgba(44, 36, 22, 0.08);
}

.cart-item-card__media {
    width: 140px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: rgba(205, 159, 71, 0.08);
}

.cart-item-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cart-item-card__body {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
}

.cart-item-card__body h3 {
    margin: 0;
    color: var(--charcoal);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.25;
}

.cart-item-card__body p {
    margin: 0;
    color: var(--sage-dark);
    font-weight: 700;
}

.cart-item-card__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cart-summary-panel {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(205, 159, 71, 0.16);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(44, 36, 22, 0.12);
}

.cart-totals {
    display: grid;
    gap: 0.35rem;
}

.cart-totals p {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(205, 159, 71, 0.12);
    color: var(--text);
}

.cart-totals p:last-child {
    border-bottom: 2px solid var(--sage-dark);
    color: var(--charcoal);
    font-size: 1.08rem;
}

.customer-form {
    display: grid;
    gap: 0.7rem;
}

.customer-form label {
    color: var(--charcoal);
    font-size: 0.9rem;
    font-weight: 700;
}

.customer-form input,
.customer-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid rgba(205, 159, 71, 0.22);
    border-radius: 8px;
    color: var(--charcoal);
    background: rgba(255, 255, 255, 0.88);
    font: inherit;
}

.customer-form textarea {
    min-height: 88px;
    resize: vertical;
}

.customer-form input:focus,
.customer-form textarea:focus {
    outline: none;
    border-color: var(--sage-dark);
    box-shadow: 0 0 0 3px rgba(205, 159, 71, 0.12);
}

.cart-empty-state {
    max-width: 560px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(205, 159, 71, 0.14);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 34px rgba(44, 36, 22, 0.08);
}

.cart-empty-state h2 {
    margin: 0 0 0.75rem;
    color: var(--charcoal);
}

.cart-empty-state p {
    margin: 0;
    color: var(--text);
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.cart-items-section {
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 14px 34px rgba(44, 36, 22, 0.08);
}

.cart-items-header h2 {
    font-size: 1.4rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(205, 159, 71, 0.12);
    transition: box-shadow 200ms ease, transform 150ms ease;
}

.cart-item:hover {
    box-shadow: 0 8px 24px rgba(44, 36, 22, 0.12);
    transform: translateY(-2px);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(205, 159, 71, 0.08);
    border: 1px solid rgba(205, 159, 71, 0.15);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-item-details h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--sage-dark);
    font-weight: 500;
    margin: 0;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(205, 159, 71, 0.2);
    border-radius: 8px;
    padding: 0.25rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: var(--sage-dark);
    transition: background-color 200ms ease, transform 150ms ease;
}

.quantity-btn:hover {
    background: rgba(205, 159, 71, 0.12);
    transform: scale(1.05);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input:focus {
    outline: 2px solid var(--sage-dark);
    outline-offset: 2px;
    border-radius: 4px;
}

.cart-item-total {
    min-width: 100px;
    text-align: right;
}

.cart-item-total strong {
    font-size: 1.1rem;
    color: var(--sage-dark);
    font-weight: 700;
}

.cart-item-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #999;
    transition: color 200ms ease, transform 150ms ease;
    border-radius: 6px;
}

.cart-item-remove:hover {
    color: #e74c3c;
    transform: rotate(90deg) scale(1.1);
    background: rgba(231, 76, 60, 0.08);
}

.cart-summary-section {
    position: sticky;
    top: 100px;
}

.cart-summary {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 16px 40px rgba(44, 36, 22, 0.12);
    border: 1px solid rgba(205, 159, 71, 0.15);
}

.cart-summary h2 {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    font-size: 0.95rem;
    color: var(--text);
    border-bottom: 1px solid rgba(205, 159, 71, 0.1);
}

.cart-summary-line:last-of-type {
    margin-bottom: 1rem;
}

.cart-delivery-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(205, 159, 71, 0.08);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--sage-dark);
    margin-bottom: 1rem;
}

.cart-delivery-notice svg {
    flex-shrink: 0;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    border-top: 2px solid var(--sage-dark);
    border-bottom: 2px solid var(--sage-dark);
    margin-bottom: 1.5rem;
}

.cart-total-amount {
    font-size: 1.4rem;
    color: var(--sage-dark);
}

/* Customer Information Form */
.customer-info-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 0 16px 40px rgba(44, 36, 22, 0.12);
    border: 1px solid rgba(205, 159, 71, 0.15);
    margin-bottom: 1rem;
}

.customer-info-form h2 {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.customer-info-form h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--sage-dark), var(--sage));
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.form-group label svg {
    color: var(--sage-dark);
    flex-shrink: 0;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid rgba(205, 159, 71, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Work Sans', sans-serif;
    color: var(--charcoal);
    background: rgba(255, 255, 255, 0.8);
    transition: all 200ms ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage-dark);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(205, 159, 71, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: rgba(205, 159, 71, 0.3);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(231, 76, 60, 0.4);
}

/* Proceed to Order Button */
.cart-proceed-order-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cart-proceed-order-btn svg {
    flex-shrink: 0;
}

/* Back Button */
.summary-back-button {
    margin-bottom: 1.5rem;
}

.btn-back {
    background: transparent;
    border: none;
    color: var(--sage-dark);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: color 200ms ease, transform 200ms ease;
}

.btn-back:hover {
    color: var(--sage);
    transform: translateX(-4px);
}

.btn-back svg {
    flex-shrink: 0;
}

/* Customer Info Preview */
.customer-info-preview {
    background: rgba(205, 159, 71, 0.08);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--sage-dark);
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.preview-item:not(:last-child) {
    border-bottom: 1px solid rgba(205, 159, 71, 0.15);
}

.preview-item strong {
    color: var(--charcoal);
    font-weight: 600;
    min-width: 100px;
}

.preview-item span {
    color: var(--text);
    text-align: right;
    flex: 1;
}

.cart-checkout-btn,
.cart-continue-btn {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-checkout-btn {
    margin-bottom: 0.75rem;
}

.cart-checkout-btn svg {
    flex-shrink: 0;
}

.cart-empty {
    text-align: center;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cart-empty-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(205, 159, 71, 0.1), rgba(205, 159, 71, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.cart-empty-icon svg {
    color: var(--sage-muted);
    opacity: 0.7;
}

.cart-empty h2 {
    font-size: 1.8rem;
    color: var(--charcoal);
    margin: 0;
}

.cart-empty p {
    font-size: 1.05rem;
    color: var(--text);
    max-width: 40ch;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 68rem) {
    .cart-page-grid {
        grid-template-columns: 1fr;
    }

    .cart-summary-panel {
        position: static;
    }

    .cart-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cart-summary-section {
        position: static;
    }
}

@media (max-width: 48rem) {
    .cart-item-card {
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 0.9rem;
        padding: 0.85rem;
    }

    .cart-item-card__media {
        width: 86px;
    }

    .cart-summary-panel {
        padding: 1rem;
    }

    .cart-item {
        grid-template-columns: 70px 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
        grid-row: 1 / 3;
    }

    .cart-item-details {
        grid-column: 2;
        grid-row: 1;
    }

    .cart-item-quantity {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
    }

    .cart-item-total {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        min-width: auto;
    }

    .cart-item-remove {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }

    .cart-item {
        position: relative;
    }
}

