/* Bulk Order Modal */
.bulk-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.bulk-modal.show {
    display: flex;
}

.bulk-modal-content {
    background: var(--bg);
    border-radius: 16px;
    padding: 0;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    overflow: hidden;
}

.bulk-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--bg3);
    border: none;
    color: var(--fg);
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10;
}

.bulk-modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.bulk-modal-image {
    width: 100%;
    overflow: hidden;
}

.bulk-modal-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.bulk-modal-content h2 {
    color: var(--primary);
    font-size: 32px;
    margin: 30px 30px 15px 30px;
    font-weight: 800;
}

.bulk-modal-text {
    font-size: 18px;
    color: var(--fg);
    margin: 0 30px 30px 30px;
    line-height: 1.6;
}

.bulk-modal-text strong {
    color: var(--primary);
    font-weight: 700;
}

.bulk-modal-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 30px 30px 30px;
    flex-wrap: nowrap;
}

.bulk-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--mute);
    flex: 0 1 auto;
    min-width: 90px;
    max-width: 120px;
}

.bulk-icon {
    font-size: 32px;
    display: block;
}

.bulk-modal-btn {
    margin: 0 30px 15px 30px;
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
}

.bulk-modal-note {
    font-size: 13px;
    color: var(--mute);
    margin: 0 30px 30px 30px;
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 600px) {
    .bulk-modal-image img {
        height: 200px;
    }
    
    .bulk-modal-content h2 {
        font-size: 24px;
        margin: 20px 20px 12px 20px;
    }
    
    .bulk-modal-text {
        font-size: 16px;
        margin: 0 20px 20px 20px;
    }
    
    .bulk-modal-features {
        margin: 0 20px 25px 20px;
        gap: 12px;
        justify-content: space-evenly;
    }
    
    .bulk-feature {
        min-width: 80px;
        max-width: 100px;
        font-size: 13px;
    }
    
    .bulk-icon {
        font-size: 28px;
    }
    
    .bulk-modal-btn {
        margin: 0 20px 12px 20px;
        width: calc(100% - 40px);
    }
    
    .bulk-modal-note {
        margin: 0 20px 20px 20px;
        font-size: 12px;
    }
}

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.loader-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--bg3);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

.loader-text {
    color: var(--mute);
    font-size: 1rem;
    font-weight: 500;
    animation: fadeIn 1s ease 0.5s both;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(255, 107, 53, 0.5);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Enhanced Scroll Animations */
.rv {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rv.in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for child elements */
.menu .item.rv,
.why > div.rv,
.rev figure.rv {
    transition-delay: calc(var(--stagger-delay, 0) * 100ms);
}

/* Fade in from left */
.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-left.in {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-right.in {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up animation */
.scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-up.in {
    opacity: 1;
    transform: scale(1);
}

/* Rotate in animation */
.rotate-in {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.rotate-in.in {
    opacity: 1;
    transform: rotate(0) scale(1);
}

:root {
    /* Vibrant Tolz Kitchen color scheme - Dark Mode */
    --bg: #1a1410;
    --bg2: #2a2218;
    --bg3: #3a2f20;
    --cream: #fef9f3;
    --mute: #c4b5a0;
    --primary: #ff6b35;      /* Vibrant orange - main brand color */
    --secondary: #4ecdc4;    /* Teal accent */
    --gold: #ffa500;         /* Bright orange-gold */
    --amber: #ff8c42;        /* Warm amber */
    --green: #6ab547;        /* Fresh green */
    --red: #e74c3c;          /* Accent red */
    --brown: #8b6f47;        /* Warm brown */
    --line: #4a3f2f;
    --r: 22px;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

/* Light Theme */
:root[data-theme="light"] {
    --bg: #fff9f0;
    --bg2: #fff4e6;
    --bg3: #ffefd5;
    --cream: #1a1410;
    --mute: #6b5940;
    --primary: #ff6b35;      /* Vibrant orange - main brand color */
    --secondary: #4ecdc4;    /* Teal accent */
    --gold: #ff8c00;         /* Bright orange-gold */
    --amber: #ff7730;        /* Warm amber */
    --green: #5da83c;        /* Fresh green */
    --red: #e74c3c;          /* Accent red */
    --brown: #9d7e54;        /* Warm brown */
    --line: #e8dcc8;
}

/* Light mode logo and nav default (before scrolling) */
:root[data-theme="light"] .logo {
    color: #1a1410;
}

:root[data-theme="light"] .links a:not(.btn) {
    color: #6b5940;
}

/* Smooth transition for theme changes */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: inherit
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--cream);
    font: 400 17px/1.6 Figtree, system-ui, sans-serif;
    overflow-x: hidden
}

h1,
h2,
h3 {
    font-family: 'Bricolage Grotesque', Impact, sans-serif;
    line-height: 1.02;
    margin: 0;
    letter-spacing: -.02em
}

h1 {
    font-size: clamp(2.8rem, 8vw, 6.2rem);
    font-weight: 800
}

h2 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800
}

h3 {
    font-size: 1.5rem;
    font-weight: 700
}

p {
    margin: 0
}

a {
    color: inherit
}

img,
svg {
    max-width: 100%
}

.wrap {
    width: min(1180px, 100% - 40px);
    margin-inline: auto
}

section {
    padding: clamp(64px, 10vw, 120px) 0
}

.mute {
    color: var(--mute)
}

.gold {
    color: var(--gold)
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 8px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 28px;
    border-radius: 999px;
    font: 600 1rem Figtree, sans-serif;
    letter-spacing: .04em;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .2s, background .2s, box-shadow .2s, border-color .2s
}

.btn:hover {
    transform: translateY(-2px)
}

.btn.pri {
    background: linear-gradient(135deg, var(--primary), var(--gold));
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(255, 107, 53, 0.5);
    font-weight: 700;
}

.btn.sec {
    border-color: var(--primary);
    color: var(--cream);
    background: transparent
}

.btn.sec:hover {
    background: rgba(255, 107, 53, 0.15);
    border-color: var(--gold);
}

.btn.sm {
    min-height: 42px;
    padding: 0 20px
}

svg.i {
    width: 1.2em;
    height: 1.2em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none
}

/* nav */
header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    padding-top: env(safe-area-inset-top, 0px);
    transition: background .3s, box-shadow .3s
}

header.on {
    background: rgba(14, 12, 10, .88);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line)
}

header.on .logo {
    color: #fff;
}

header.on .links a:not(.btn) {
    color: var(--cream);
}

/* Light mode header when scrolling */
:root[data-theme="light"] header.on {
    background: rgba(255, 249, 240, .95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}

:root[data-theme="light"] header.on .logo {
    color: #1a1410;
}

:root[data-theme="light"] header.on .links a:not(.btn) {
    color: #6b5940;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px
}

.logo {
    font: 800 1.35rem 'Bricolage Grotesque', sans-serif;
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: center;
    color: #fff;
}

.lg {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
    padding: 2px
}

.art img,
.scene img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1)
}

.zoom:hover img {
    transform: scale(1.06)
}

.ci .th img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px
}

.junk {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--gold), var(--brown));
    box-shadow: inset -6px -4px 0 rgba(14, 12, 10, .55)
}

.links {
    display: flex;
    align-items: center;
    gap: 30px
}

.links a:not(.btn) {
    text-decoration: none;
    color: var(--mute);
    font-weight: 500;
    transition: color .2s
}

.links a:not(.btn):hover {
    color: var(--cream)
}

.navr {
    display: flex;
    gap: 10px;
    align-items: center
}

.iconbtn {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--bg2);
    color: var(--cream);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease
}

.iconbtn:hover {
    background: var(--bg3);
    border-color: var(--primary);
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font: 700 .75rem/20px Figtree;
    text-align: center;
    padding: 0 5px
}

.burger {
    display: none
}

@media(max-width:860px) {
    .burger {
        display: grid
    }

    .navr .btn {
        display: none
    }

    .links {
        position: fixed;
        inset: 0;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        gap: 26px;
        font-size: 1.7rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: .3s
    }

    .links.open {
        opacity: 1;
        visibility: visible;
        transform: none
    }

    .links a:not(.btn) {
        font: 700 2rem 'Bricolage Grotesque'
    }

    .nav {
        position: relative;
        z-index: 2
    }
}

@media(min-width:861px) {
    .links .mob {
        display: none
    }
}

/* hero */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 130px 0 70px;
    background: radial-gradient(ellipse 70% 60% at 75% 40%, rgba(255, 107, 53, 0.25), transparent 70%), var(--bg)
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center
}

.hero p.lead {
    font-size: 1.25rem;
    margin: 22px 0 6px
}

.tag {
    margin-top: 6px;
    color: var(--primary);
    font-weight: 600
}

.ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: var(--mute);
    font-size: .95rem
}

.pills span {
    display: flex;
    gap: 8px;
    align-items: center
}

.pills svg {
    color: var(--primary)
}

.online {
    margin-top: 26px;
    font-size: .85rem;
    letter-spacing: .14em;
    color: var(--mute);
    font-weight: 600
}

.art {
    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, #2a2018, #120f0c 70%);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px var(--line);
    display: grid;
    place-items: center;
    overflow: hidden
}

.art svg {
    width: 92%;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1)
}

@keyframes float {
    50% {
        transform: translateY(-12px) rotate(-1.5deg)
    }
}

.zoom:hover svg {
    transform: scale(1.06) rotate(-1deg)
}

@media(max-width:860px) {
    .hero .wrap {
        grid-template-columns: 1fr
    }

    .hero .art {
        max-width: 420px;
        margin: 0 auto;
        order: -1;
        width: 80%
    }

    .hero {
        padding-top: 100px
    }
}

/* menu */
.head {
    max-width: 680px;
    margin-bottom: 48px
}

.head p {
    margin-top: 16px;
    color: var(--mute)
}

.menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px
}

.item {
    background: linear-gradient(180deg, var(--bg3), var(--bg2));
    border-radius: var(--r);
    padding: 26px;
    box-shadow: 0 24px 50px -28px #000;
    display: flex;
    flex-direction: column;
    gap: 18px
}

.item .art {
    border-radius: var(--r);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.item .art svg {
    width: 70%;
    height: auto;
    display: block;
    margin: auto;
}

.item .art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px
}

.price {
    font: 700 1.5rem 'Bricolage Grotesque';
    color: var(--primary)
}

.buy {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap
}

.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg)
}

.qty button {
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    color: var(--cream);
    cursor: pointer;
    border-radius: 50%;
    display: grid;
    place-items: center
}

.qty button:hover {
    background: var(--bg3)
}

.qty output {
    min-width: 28px;
    text-align: center;
    font-weight: 600
}

.buy .btn {
    flex: 1;
    min-width: 150px
}

@media(max-width:760px) {
    .menu {
        grid-template-columns: 1fr
    }
}

/* duel */
.duel {
    background: var(--bg2)
}

.duel .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--line)
}

.side {
    padding: 48px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px
}

.side:first-child {
    background: radial-gradient(circle at 50% 30%, rgba(107, 74, 43, .5), var(--bg3) 70%)
}

.side:last-child {
    background: radial-gradient(circle at 50% 30%, rgba(212, 162, 76, .22), var(--bg3) 70%)
}

.side .art {
    width: min(260px, 70%);
    margin-bottom: 8px
}

.side h3 {
    font-size: 2.4rem
}

@media(max-width:700px) {
    .duel .grid {
        grid-template-columns: 1fr
    }
}

/* why */
.why {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px
}

.why .ic {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--bg3);
    color: var(--primary);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    box-shadow: inset 0 0 0 1px var(--line)
}

.why h3 {
    font-size: 1.2rem;
    margin-bottom: 6px
}

.why p {
    color: var(--mute);
    font-size: .95rem
}

@media(max-width:900px) {
    .why {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:480px) {
    .why {
        grid-template-columns: 1fr
    }
}

/* events */
.events {
    background: var(--bg)
}

/* Dark theme gradient for events section */
:root[data-theme="dark"] .events {
    background: linear-gradient(180deg, var(--bg), #2a1f15 50%, var(--bg))
}

.ev {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center
}

.occ {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0
}

.occ span {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 600
}

.scene {
    aspect-ratio: 5/4;
    border-radius: var(--r);
    background: radial-gradient(circle at 50% 80%, rgba(224, 138, 46, .25), #150f0a 70%);
    box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px #000;
    overflow: hidden
}

.scene svg {
    width: 100%;
    height: 100%;
    display: block
}

@media(max-width:860px) {
    .ev {
        grid-template-columns: 1fr
    }
}

/* about */
.about {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: center
}

.about .art {
    border-radius: var(--r);
    aspect-ratio: 1
}

.about p {
    margin-top: 18px;
    color: var(--mute);
    max-width: 56ch
}

.about blockquote {
    margin: 24px 0 0;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
    font: 700 1.3rem/1.35 'Bricolage Grotesque';
    color: var(--cream)
}

@media(max-width:860px) {
    .about {
        grid-template-columns: 1fr
    }
}

/* steps */
.procs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px
}

.procs h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    margin-bottom: 28px
}

ol.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: s
}

ol.steps li {
    counter-increment: s;
    position: relative;
    padding: 0 0 28px 64px
}

ol.steps li::before {
    content: counter(s);
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg3);
    color: var(--primary);
    font: 700 1.1rem/44px 'Bricolage Grotesque';
    text-align: center;
    box-shadow: inset 0 0 0 1px var(--brown)
}

ol.steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 50px;
    bottom: 6px;
    width: 1px;
    background: var(--line)
}

ol.steps h3 {
    font-size: 1.15rem
}

ol.steps p {
    color: var(--mute)
}

@media(max-width:860px) {
    .procs {
        grid-template-columns: 1fr;
        gap: 20px
    }
}

/* reviews */
.rev {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px
}

.rev figure {
    margin: 0
}

.stars {
    color: var(--primary);
    display: flex;
    gap: 2px;
    margin-bottom: 14px
}

.stars svg {
    fill: var(--primary)
}

.rev blockquote {
    margin: 0;
    font: 700 1.45rem/1.25 'Bricolage Grotesque'
}

.rev figcaption {
    margin-top: 14px;
    color: var(--mute);
    font-size: .9rem
}

@media(max-width:860px) {
    .rev {
        grid-template-columns: 1fr
    }
}

/* gallery */
.gallery {
    background: var(--bg2)
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px
}

.gallery-item {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--r);
    overflow: hidden;
    background: var(--bg3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .4)
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform .3s ease;
    color: #fff;
    overflow: hidden;
}

.gallery-item:hover .overlay {
    transform: translateY(0)
}

.overlay h4 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    color: #fff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.overlay p {
    margin: 0;
    font-size: .9rem;
    opacity: .9;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media(max-width:640px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px
    }

    .gallery-item {
        aspect-ratio: 1
    }
    
    .gallery-item .overlay {
        padding: 12px;
    }
    
    .overlay h4 {
        font-size: 0.95rem;
    }
    
    .overlay p {
        font-size: 0.8rem;
    }
}

/* order/contact */
.oc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px
}

.panel {
    border-radius: var(--r);
    padding: clamp(28px, 4vw, 48px);
    background: radial-gradient(circle at 20% 0%, rgba(212, 162, 76, .25), var(--bg3) 60%);
    box-shadow: inset 0 0 0 1px var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px
}

.panel h3 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem)
}

.info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
    align-content: center
}

.info li {
    display: flex;
    gap: 14px;
    align-items: flex-start
}

.info svg {
    color: var(--primary);
    margin-top: 3px
}

.info small {
    display: block;
    color: var(--mute)
}

@media(max-width:860px) {
    .oc {
        grid-template-columns: 1fr
    }
}

/* form */
.form {
    background: var(--bg2);
    border-radius: var(--r);
    padding: clamp(24px, 4vw, 48px);
    box-shadow: inset 0 0 0 1px var(--line);
    max-width: 820px;
    margin-inline: auto
}

.fg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.fg .full {
    grid-column: 1/-1
}

label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 6px
}

input,
select,
textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--cream);
    font: inherit;
    box-sizing: border-box;
    max-width: 100%;
}

input[type="date"] {
    font-size: 16px;
}

@media(max-width: 640px) {
    input[type="date"] {
        font-size: 14px;
    }
}

textarea {
    min-height: 120px;
    resize: vertical
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary);
    border-color: var(--primary)
}

.form .btn {
    margin-top: 22px;
    width: 100%
}

.ok {
    text-align: center;
    padding: 30px 0;
    display: none
}

.ok svg {
    width: 56px;
    height: 56px;
    color: var(--green)
}

.done .ok {
    display: block;
    animation: pop .5s
}

.done form {
    display: none
}

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(.95)
    }
}

@media(max-width:560px) {
    .fg {
        grid-template-columns: 1fr
    }
}

/* final */
.final {
    text-align: center;
    background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(224, 138, 46, .28), transparent), var(--bg2)
}

.final h2 {
    font-size: clamp(3.2rem, 12vw, 8rem)
}

.final .ctas {
    justify-content: center
}

.final p.mute {
    margin: 14px 0
}

/* footer */
footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 100px;
    color: var(--mute);
    font-size: .95rem
}

.fgrid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px
}

footer h4 {
    margin: 0 0 12px;
    color: var(--cream);
    font: 700 1rem 'Bricolage Grotesque'
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px
}

footer a {
    text-decoration: none
}

footer a:hover {
    color: var(--primary)
}

.copy {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: .85rem
}

@media(max-width:760px) {
    .fgrid {
        grid-template-columns: 1fr 1fr
    }

    .fgrid>:first-child {
        grid-column: 1/-1
    }
}

/* cart */
.scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 80
}

.scrim.open {
    opacity: 1;
    visibility: visible
}

aside.cart {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(440px, 100%);
    background: var(--bg2);
    z-index: 90;
    transform: translateX(104%);
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s cubic-bezier(.2, .7, .2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: none;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

aside.cart.open {
    transform: none;
    box-shadow: -30px 0 80px rgba(0, 0, 0, .6);
}

.ch {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line)
}

.cb {
    flex: 1;
    overflow-y: auto;
    padding: 12px 24px
}

.empty {
    text-align: center;
    color: var(--mute);
    padding: 60px 0
}

.ci {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    animation: pop .3s
}

.ci .th {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: var(--bg3);
    display: grid;
    place-items: center
}

.ci .qty button {
    width: 36px;
    height: 36px
}

.rm {
    background: none;
    border: 0;
    color: var(--mute);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%
}

.rm:hover {
    color: var(--amber)
}

.cf {
    padding: 20px 24px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px
}

.tot {
    display: flex;
    justify-content: space-between;
    font: 700 1.4rem 'Bricolage Grotesque'
}

.note {
    font-size: .82rem;
    color: var(--mute);
    background: var(--bg);
    border: 1px dashed var(--brown);
    border-radius: 12px;
    padding: 10px 14px
}

.sum {
    display: grid;
    gap: 6px;
    padding: 8px 0
}

.sum div {
    display: flex;
    justify-content: space-between
}

/* sticky mobile */
.sticky {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    display: none;
    transform: translateY(140%);
    transition: transform .35s;
    pointer-events: none;
}

.sticky.show {
    transform: none;
    pointer-events: auto;
}

.sticky .btn {
    width: 100%;
    min-height: 56px;
    justify-content: space-between;
    box-shadow: 0 14px 40px -8px rgba(0, 0, 0, .8)
}

@media(max-width:860px) {
    .sticky {
        display: block;
    }
}

/* Audio Control - Sticky Left Side */
.audio-control {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 70;
    animation: fadeIn 0.8s ease 1s both;
}

.audio-control-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
}

.audio-control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.6);
}

.audio-control-btn:active {
    transform: scale(0.95);
}

.audio-control-btn .i {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.audio-control-btn.muted {
    background: var(--bg3);
    color: var(--mute);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.audio-control-btn.muted:hover {
    background: var(--bg2);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .audio-control {
        left: 12px;
        bottom: 90px;
    }
    
    .audio-control-btn {
        width: 48px;
        height: 48px;
    }
    
    .audio-control-btn .i {
        width: 20px;
        height: 20px;
    }
}

.toast {
    position: fixed;
    left: 50%;
    top: 84px;
    translate: -50% -20px;
    background: var(--green);
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 999px;
    opacity: 0;
    transition: .3s;
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(106, 181, 71, 0.4);
}

.toast.show {
    opacity: 1;
    translate: -50% 0
}

.rv {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s, transform .8s
}

.rv.in {
    opacity: 1;
    transform: none
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important
    }

    html {
        scroll-behavior: auto
    }

    .rv {
        opacity: 1;
        transform: none
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox img {
    max-width: 100%;
    max-height: calc(90vh - 120px);
    object-fit: contain;
    border-radius: var(--r);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    margin-top: 20px;
    text-align: center;
    color: #fff;
}

.lightbox-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.lightbox-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.lightbox-counter {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Make gallery items clickable */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

@media(max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: -40px;
    }
}


/* Color-coded icons for visual variety */
.why .ic:nth-child(1) {
    /* Fresh Ingredients - Green for freshness */
    color: var(--green) !important;
}

.why .ic:nth-child(5) {
    /* Slow Roasted - Orange/Red for heat */
    color: var(--red) !important;
}

.why .ic:nth-child(9) {
    /* Made to Order - Primary orange */
    color: var(--primary) !important;
}

.why .ic:nth-child(13) {
    /* Generous Portions - Gold */
    color: var(--gold) !important;
}

/* Pills section - make leaf icon green */
.pills span:has(svg):first-child svg {
    color: var(--red);
}

.pills span:has(svg):nth-child(2) svg {
    color: var(--gold);
}

.pills span:has(svg):last-child svg {
    color: var(--green);
}


/* Green utility class for freshness emphasis */
.green-text {
    color: var(--green);
}

/* Update blockquote border to use green for freshness emphasis */
.about blockquote {
    border-left-color: var(--green);
}

/* Online ordering tag with green accent */
.online {
    color: var(--green);
}

/* Add green glow to "Packed with Flavour" in pills */
.pills span:last-child {
    color: var(--green);
}

/* Event occasion tags - all same design */
.occ span:nth-child(1),
.occ span:nth-child(2),
.occ span:nth-child(3) {
    border-color: var(--primary);
    color: var(--primary);
}
}

/* Info section - make certain icons green */
.info li:nth-child(1) svg {
    /* Online ordering - green for go/available */
    color: var(--green) !important;
}

.info li:nth-child(7) svg {
    /* Event enquiries - green */
    color: var(--green) !important;
}


/* Quantity buttons with green accent on hover */
.qty button:hover {
    color: var(--green);
}

/* Active cart badge with green pulse effect */
.badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 107, 53, 0);
    }
}

/* Add subtle green accent to "Freshly Made" and fresh-related text */
.hero .pills span:first-child {
    color: var(--cream);
}

.hero .pills span:last-child {
    color: var(--green);
    font-weight: 600;
}

/* Gallery counter with mixed color scheme */
.lightbox-counter {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(106, 181, 71, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Customer Form Modal */
#customerFormModal {
    z-index: 1001;
}

#customerFormScrim {
    z-index: 1000;
}

#customerFormModal.open,
#customerFormScrim.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

#customerFormModal input,
#customerFormModal textarea {
    background: var(--bg);
    color: var(--text);
    border-color: var(--line);
}

#customerFormModal input:focus,
#customerFormModal textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

#customerFormModal .err {
    color: var(--red);
    font-size: 14px;
    min-height: 20px;
}

/* Radio button styling */
#customerFormModal input[type="radio"] {
    accent-color: var(--primary);
}

#customerFormModal label {
    transition: opacity 0.2s;
}

#customerFormModal label:has(input[type="radio"]):hover {
    opacity: 0.8;
}

/* Collection address box */
#customerFormModal .cb > form > div:has(strong) {
    background: var(--accent) !important;
}

/* Form Inline Validation Styles */
.field-error {
    display: block;
    color: var(--red);
    font-size: 13px;
    margin-top: 4px;
    min-height: 18px;
    font-weight: 500;
}

.fg > div input.error,
.fg > div select.error,
.fg > div textarea.error {
    border-color: var(--red);
    background-color: rgba(231, 76, 60, 0.05);
}

.fg > div input.success,
.fg > div select.success,
.fg > div textarea.success {
    border-color: var(--green);
}

.fg > div input:focus,
.fg > div select:focus,
.fg > div textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.fg > div label {
    font-weight: 600;
}

/* Required field indicator */
.fg > div label::after {
    content: "";
}

/* Loading button animation */
.btn.loading {
    position: relative;
    cursor: not-allowed;
    opacity: 0.8;
}

.loading-dots {
    display: inline-block;
}

.loading-dots span {
    animation: loading-dot 1.4s infinite;
    animation-fill-mode: both;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loading-dot {
    0%, 80%, 100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}
