:root {
    --ink: #211912;
    --muted: #6f5d4d;
    --cream: #fff8ef;
    --paper: #fffdf8;
    --line: rgba(60, 39, 23, 0.14);
    --coffee: #6f3f26;
    --coffee-dark: #3a2117;
    --gold: #f3ad17;
    --gold-soft: #f8d46b;
    --copper: #c9582d;
    --copper-dark: #9a3c2d;
    --honey: var(--gold);
    --sage: #64745c;
    --rose: var(--copper);
    --shadow: 0 24px 70px rgba(58, 33, 23, 0.16);
    --brand-gradient: linear-gradient(135deg, var(--copper), var(--gold));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(243, 173, 23, 0.14), transparent 34vw),
        var(--cream);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px clamp(18px, 4vw, 54px);
    background: rgba(255, 248, 239, 0.9);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 30px rgba(33, 25, 18, 0.05);
    backdrop-filter: blur(18px);
}

.site-header::after {
    position: absolute;
    left: clamp(18px, 4vw, 54px);
    right: clamp(18px, 4vw, 54px);
    bottom: -1px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--gold), var(--copper), transparent);
    opacity: 0.72;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(243, 173, 23, 0.52);
    background: #fffaf2;
    box-shadow: 0 0 0 4px rgba(201, 88, 45, 0.08);
}

.brand strong,
.footer strong {
    display: block;
    color: var(--copper);
    font-size: 1.02rem;
}

.brand small,
.footer span {
    color: var(--muted);
    font-size: 0.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vw, 30px);
    color: var(--muted);
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--copper);
}

.header-action,
.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 900;
}

.header-action,
.primary-button {
    color: #fffaf2;
    background: linear-gradient(135deg, var(--copper-dark), var(--copper));
    box-shadow: 0 12px 28px rgba(58, 33, 23, 0.18);
}

.ghost-button {
    color: var(--coffee-dark);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.54);
}

.hero {
    position: relative;
    min-height: min(760px, calc(100svh - 76px));
    display: grid;
    align-items: end;
    padding: clamp(110px, 16vh, 170px) clamp(18px, 5vw, 72px) clamp(44px, 8vh, 78px);
    overflow: hidden;
}

.hero::after,
.checkout-hero::after,
.order-hero::after {
    position: absolute;
    width: 210px;
    height: 210px;
    content: "";
    background: url("lapana.jpg") center / contain no-repeat;
    opacity: 0.08;
    filter: saturate(1.15);
    pointer-events: none;
}

.hero::after {
    right: clamp(18px, 5vw, 72px);
    bottom: clamp(30px, 7vh, 80px);
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(36, 24, 16, 0.72), rgba(36, 24, 16, 0.28) 48%, rgba(36, 24, 16, 0.05)),
        url("https://images.unsplash.com/photo-1511920170033-f8396924c348?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero-content {
    position: relative;
    max-width: 680px;
    color: #fffaf2;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--honey);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.8rem, 12vw, 10rem);
    line-height: 0.86;
    letter-spacing: 0;
    text-shadow: 0 3px 0 rgba(201, 88, 45, 0.2);
}

.hero-copy {
    max-width: 560px;
    margin: 24px 0 0;
    color: rgba(255, 250, 242, 0.9);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.55;
}

.hero-actions,
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-stats span {
    min-width: 128px;
    padding: 14px 16px;
    border: 1px solid rgba(248, 212, 107, 0.28);
    background: rgba(255, 248, 239, 0.12);
    border-radius: 8px;
    backdrop-filter: blur(12px);
}

.hero-stats strong,
.hero-stats small {
    display: block;
}

.hero-stats small {
    color: rgba(255, 250, 242, 0.74);
    font-weight: 700;
}

.intro-band,
.menu-section,
.bakery-band,
.footer {
    padding-inline: clamp(18px, 5vw, 72px);
}

.intro-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
    gap: clamp(22px, 6vw, 80px);
    padding-block: clamp(48px, 8vw, 84px);
    background: var(--paper);
}

h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.02;
}

.intro-band > p,
.section-heading p,
.customizer-product p,
.form-note {
    color: var(--muted);
    line-height: 1.65;
}

.menu-section {
    padding-block: clamp(42px, 7vw, 76px);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.category-strip {
    display: flex;
    gap: 10px;
    margin: 0 0 22px;
    padding-bottom: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.category-strip button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 16px;
    color: var(--coffee-dark);
    background: #fffdf8;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 900;
}

.category-strip button.is-active {
    color: #fffaf2;
    background: var(--coffee-dark);
}

.menu-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
    gap: 24px;
    align-items: start;
}

.product-panel {
    min-width: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
    gap: 16px;
}

.product-card,
.cart-panel,
.bakery-cards article,
.customizer-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(58, 33, 23, 0.08);
}

.product-card {
    display: grid;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #ead8c1;
}

.product-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.product-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.product-title h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.2;
}

.price {
    color: var(--coffee);
    font-weight: 950;
    white-space: nowrap;
}

.product-card p {
    min-height: 44px;
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-meta span {
    padding: 6px 9px;
    color: var(--sage);
    background: rgba(100, 116, 92, 0.11);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
}

.add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    color: #fffaf2;
    background: var(--coffee);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 900;
}

.add-button:disabled {
    cursor: not-allowed;
    background: #b8aea4;
}

.preview-order-link {
    width: 100%;
}

.cart-panel {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 16px;
    max-height: calc(100svh - 112px);
    padding: 18px;
    overflow: auto;
}

.cart-head,
.cart-total,
.cart-line,
.qty-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-head h2 {
    font-size: 2rem;
}

.cart-head span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fffaf2;
    background: var(--rose);
    border-radius: 50%;
    font-weight: 950;
}

.cart-items {
    display: grid;
    gap: 12px;
}

.cart-empty,
.empty-state {
    color: var(--muted);
}

.cart-line {
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.cart-line strong,
.cart-line small {
    display: block;
}

.cart-line small {
    margin-top: 4px;
    color: var(--muted);
}

.qty-controls button,
.icon-button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--coffee-dark);
    background: #f3e8da;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    font-weight: 900;
}

.cart-total {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
}

.checkout-form {
    display: grid;
    gap: 12px;
}

.checkout-form label {
    display: grid;
    gap: 6px;
    color: var(--coffee-dark);
    font-size: 0.82rem;
    font-weight: 900;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    color: var(--ink);
    background: #fffaf2;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
}

.checkout-form textarea {
    resize: vertical;
}

.submit-order {
    width: 100%;
    margin-top: 4px;
}

.ghost-link {
    color: var(--coffee);
    font-weight: 950;
    text-align: center;
}

.premium-gallery,
.branches-section,
.pickgo-band,
.order-shell {
    padding-inline: clamp(18px, 5vw, 72px);
}

.premium-gallery {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    gap: 14px;
    padding-block: clamp(34px, 6vw, 68px);
    background: #2f251e;
}

.premium-gallery figure {
    position: relative;
    min-height: 340px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.premium-gallery figure:first-child {
    min-height: 430px;
}

.premium-gallery img,
.branch-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-gallery figcaption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 12px;
    color: #fffaf2;
    background: rgba(36, 24, 16, 0.62);
    border-radius: 999px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.pickgo-band {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
    gap: clamp(22px, 5vw, 70px);
    padding-block: clamp(48px, 8vw, 86px);
    background: var(--paper);
}

.pickgo-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pickgo-steps article {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 190px;
    padding: 18px;
    background: #fff8ef;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.pickgo-steps span,
.branch-pill {
    color: var(--copper);
    font-weight: 950;
}

.pickgo-steps p,
.branch-card p,
.branch-card small {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.branches-section {
    padding-block: clamp(48px, 8vw, 84px);
    background: var(--cream);
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.branch-card {
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(58, 33, 23, 0.1);
}

.branch-card img {
    display: block;
    aspect-ratio: 16 / 9;
}

.branch-card div {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.branch-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.order-page {
    background:
        linear-gradient(180deg, rgba(255, 248, 239, 0.96), rgba(255, 248, 239, 1)),
        url("https://images.unsplash.com/photo-1517701604599-bb29b565090c?auto=format&fit=crop&w=1600&q=80") center top / cover fixed;
}

.order-shell {
    padding-top: clamp(34px, 6vw, 70px);
    padding-bottom: clamp(42px, 7vw, 78px);
}

.order-hero {
    position: relative;
    max-width: 760px;
    margin-bottom: 22px;
}

.order-hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.94;
}

.order-hero p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.55;
}

.order-menu {
    padding: 0;
}

.bakery-band {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr);
    gap: clamp(22px, 5vw, 70px);
    padding-block: clamp(46px, 7vw, 78px);
    background: #2f251e;
    color: #fffaf2;
}

.bakery-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.bakery-cards article {
    display: grid;
    gap: 8px;
    min-height: 150px;
    padding: 18px;
    color: var(--ink);
}

.bakery-cards span {
    color: var(--muted);
    line-height: 1.5;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-block: 26px;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.footer a {
    color: var(--coffee);
    font-weight: 950;
}

.customizer {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(36, 24, 16, 0.55);
}

.customizer[hidden],
.toast[hidden] {
    display: none;
}

.customizer-card {
    position: relative;
    width: min(680px, 100%);
    max-height: min(720px, calc(100svh - 36px));
    padding: 20px;
    overflow: auto;
    box-shadow: var(--shadow);
}

.customizer-card .icon-button {
    position: absolute;
    top: 14px;
    right: 14px;
}

.customizer-product {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 16px;
    align-items: center;
    padding-right: 38px;
}

.customizer-product img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.option-groups {
    display: grid;
    gap: 16px;
    margin: 18px 0;
}

.option-group {
    display: grid;
    gap: 10px;
}

.option-group h3 {
    margin: 0;
    font-size: 1rem;
}

.option-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
}

.option-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px;
    background: #fffaf2;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}

.option-list input:disabled + span {
    color: #9c9084;
}

.full-button {
    width: 100%;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 60;
    width: min(440px, calc(100% - 28px));
    padding: 16px 18px;
    color: #fffaf2;
    background: var(--coffee-dark);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateX(-50%);
    font-weight: 850;
    text-align: center;
}

.checkout-page {
    min-height: 100svh;
    background:
        linear-gradient(180deg, rgba(255, 248, 239, 0.94), rgba(255, 248, 239, 1)),
        url("https://images.unsplash.com/photo-1509440159596-0249088772ff?auto=format&fit=crop&w=1600&q=78") center / cover fixed;
}

.checkout-shell {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(36px, 7vw, 78px) 0;
}

.checkout-hero {
    position: relative;
    max-width: 760px;
    margin-bottom: 24px;
}

.checkout-hero h1,
.result-card h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 6vw, 5.8rem);
    line-height: 0.95;
}

.checkout-hero p:not(.eyebrow),
.result-card p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.checkout-alert {
    margin-top: 16px;
    padding: 14px 16px;
    color: #fffaf2;
    background: #8d3328;
    border-radius: 8px;
    font-weight: 850;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
    gap: 22px;
    align-items: start;
}

.checkout-card {
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.checkout-card.checkout-form,
.order-summary {
    padding: clamp(18px, 3vw, 28px);
}

.order-summary {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 16px;
}

.result-shell {
    display: grid;
    place-items: center;
    min-height: calc(100svh - 78px);
    padding: 32px 18px;
}

.result-card {
    width: min(720px, 100%);
    padding: clamp(24px, 5vw, 46px);
}

.ticket-box {
    display: grid;
    gap: 4px;
    margin: 22px 0;
    padding: 18px;
    background: #fff8ef;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.ticket-box span,
.ticket-box small {
    color: var(--muted);
    font-weight: 800;
}

.ticket-box strong {
    color: var(--coffee-dark);
    font-size: 1.5rem;
}

.result-actions {
    margin-top: 22px;
}

.result-ghost {
    background: #fff8ef;
    border-color: var(--line);
}

@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .intro-band,
    .menu-layout,
    .bakery-band,
    .pickgo-band,
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .premium-gallery,
    .branch-grid {
        grid-template-columns: 1fr;
    }

    .premium-gallery figure,
    .premium-gallery figure:first-child {
        min-height: 280px;
    }

    .cart-panel {
        position: static;
        max-height: none;
    }

    .order-summary {
        position: static;
    }

    .bakery-cards {
        grid-template-columns: repeat(3, minmax(170px, 1fr));
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .pickgo-steps {
        grid-template-columns: repeat(3, minmax(210px, 1fr));
        overflow-x: auto;
        padding-bottom: 4px;
    }
}

@media (max-width: 620px) {
    .site-header {
        padding-inline: 14px;
    }

    .brand small,
    .header-action {
        display: none;
    }

    .hero {
        min-height: 720px;
        padding-inline: 16px;
    }

    .hero-media {
        background:
            linear-gradient(180deg, rgba(36, 24, 16, 0.34), rgba(36, 24, 16, 0.76)),
            url("https://images.unsplash.com/photo-1511920170033-f8396924c348?auto=format&fit=crop&w=1200&q=82") center / cover;
    }

    .hero-stats span {
        flex: 1 1 132px;
    }

    .section-heading,
    .footer {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .customizer-product {
        grid-template-columns: 1fr;
    }
}
