﻿@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,800;1,800&display=swap');

:root {
    --ink: #362019;
    --brand: #713221;
    --cream: #fff8ea;
    --white: #fffdf6;
    --line: #ebd9c0;
    --pink: #f9dccf;
    --muted: #694738
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: "DM Sans", sans-serif
}

[hidden] {
    display: none !important
}

a {
    color: inherit;
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

button,
input,
select {
    font: inherit
}

.wrap {
    width: min(1150px, calc(100% - 64px));
    margin-inline: auto
}

header {
    border-bottom: 1px solid var(--line)
}

.nav,
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 83px
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 700
}

.brand {
    font: 800 30px/.95 "Playfair Display", Georgia, serif;
    color: var(--brand);
    display: inline-flex;
    flex-direction: column;
    width: max-content
}

.brand span,
.eyebrow {
    font: 700 11px/1.5 "DM Sans", sans-serif;
    letter-spacing: .21em
}

.brand span {
    margin-top: 6px
}

.eyebrow {
    color: var(--brand)
}

button,
.button {
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 12px 19px;
    border-radius: 7px;
    background: var(--brand);
    color: white;
    font-weight: 700;
    cursor: pointer
}

button:hover,
.button:hover {
    background: #542318;
    text-decoration: none
}

button:disabled {
    opacity: .55;
    cursor: default
}

.small {
    padding: 8px 13px
}

.wide {
    width: 100%
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1.06fr;
    min-height: 485px;
    margin: 34px 0 56px;
    background: var(--pink);
    border-radius: 20px;
    overflow: hidden
}

.hero-copy {
    padding: clamp(32px, 6vw, 78px);
    align-self: center
}

.hero h1,
.page-heading h1 {
    font: 800 clamp(58px, 8.2vw, 112px)/.91 "Playfair Display", Georgia, serif;
    letter-spacing: -.065em;
    margin: 15px 0 21px
}

.hero em {
    color: var(--brand)
}

.hero p {
    max-width: 32ch;
    line-height: 1.55;
    margin: 0 0 23px
}

.hero-photo {
    position: relative;
    min-height: 300px
}

.hero-photo img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: center 48%
}

.stamp {
    position: absolute;
    right: 23px;
    bottom: 22px;
    border-radius: 50%;
    width: 87px;
    height: 87px;
    display: grid;
    place-content: center;
    text-align: center;
    line-height: 1.1;
    font-size: 15px;
    font-weight: 800;
    background: #ffc974;
    color: var(--ink);
    transform: rotate(-12deg);
    border: 2px dashed var(--brand)
}

h2 {
    font: 800 clamp(29px, 4vw, 46px)/1.1 "Playfair Display", Georgia, serif;
    letter-spacing: -.04em;
    margin: 7px 0 20px
}

h3 {
    font-size: 21px;
    margin: 0 0 15px
}

.shop {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, 1fr);
    gap: 26px;
    align-items: start
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px
}

.product {
    display: block;
    text-align: left;
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
    padding: 15px
}

.product:hover,
.product[aria-pressed=true] {
    background: #f9dedc;
    color: var(--brand);
    border-color: var(--brand)
}

.product span {
    display: block;
    font-size: 13px;
    margin-top: 6px
}

.panel,
.order,
.stock-row,
.metric {
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--white);
    padding: 20px
}

.flavors,
.options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px
}

.flavors label,
.options label {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 7px 9px;
    margin: 0;
    cursor: pointer
}

.flavors label:has(input:checked),
.options label:has(input:checked) {
    background: #f9dedc;
    border-color: var(--brand)
}

input[type=radio],
input[type=checkbox] {
    accent-color: var(--brand)
}

label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 9px
}

label>input:not([type=checkbox], [type=radio]),
label>select {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 9px;
    border-radius: 6px;
    border: 1px solid #bda28d;
    background: white;
    color: var(--ink)
}

fieldset {
    border: 0;
    padding: 0;
    margin: 15px 0 0
}

legend {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 7px
}

.row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap
}

.row label {
    margin: 0
}

.row input[type=number] {
    width: 76px
}

.status,
.muted {
    color: var(--muted);
    font-size: 14px
}

.status:empty,
.muted:empty {
    display: none
}

.total,
.cart-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid var(--line)
}

.total {
    font-weight: 700;
    margin-top: 12px
}

.remove {
    background: transparent;
    color: var(--brand);
    border-color: var(--line);
    padding: 6px 8px
}

.remove:hover {
    background: #f9dedc
}

.tracking {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 33px 0
}

.tracking h2 {
    margin-bottom: 6px
}

footer {
    border-top: 1px solid var(--line);
    margin-top: 33px
}

.admin {
    padding-bottom: 40px
}

.page-heading {
    margin: 32px 0 18px
}

.page-heading h1 {
    font-size: clamp(44px, 6.5vw, 78px)
}

.login {
    max-width: 420px
}

.tabs,
.metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 25px
}

.tabs button {
    background: var(--white);
    color: var(--brand);
    border-color: var(--line)
}

.tabs button[aria-pressed=true] {
    background: var(--brand);
    color: white
}

.metric {
    flex: 1;
    min-width: 150px
}

.metric strong {
    display: block;
    font-size: 25px
}

.order,
.stock-row,
.compact {
    margin: 12px 0
}

.order p {
    margin: 6px 0
}

.order ul {
    padding-left: 19px
}

.badge {
    display: inline-block;
    color: var(--brand);
    background: #f9dedc;
    border-radius: 5px;
    padding: 3px 8px;
    font-weight: 700
}

.compact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end
}

.compact label {
    margin: 0
}

.compact h3 {
    flex-basis: 100%;
    margin: 0
}

.table-wrap {
    overflow: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white)
}

td,
th {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid var(--line)
}

details {
    margin-top: 8px
}

summary {
    cursor: pointer;
    color: var(--brand);
    font-weight: 700
}

@media(max-width:760px) {
    .wrap {
        width: calc(100% - 30px)
    }

    .nav {
        min-height: 68px
    }

    .nav nav {
        gap: 12px
    }

    .nav>a.button {
        display: none
    }

    .hero,
    .shop,
    .tracking {
        grid-template-columns: 1fr
    }

    .hero {
        margin: 20px 0 30px
    }

    .hero-copy {
        padding: 31px 24px
    }

    .hero-photo {
        min-height: 270px
    }

    .products {
        gap: 6px
    }

    .product {
        padding: 9px
    }

    .tracking {
        gap: 5px
    }
}

.promo-label {
    color: var(--brand);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em
}

.recipe-part {
    margin: 10px 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px
}

.recipe-part legend {
    padding: 0 5px
}

.recipe-part .flavors {
    margin-bottom: 8px
}

#counter-picker fieldset,
#flavors fieldset {
    margin-top: 9px
}

#stock-search,
#promo-search {
    max-width: 320px
}

.live-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

.live-state {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 13px;
    color: var(--muted)
}

.live-state::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9a521e
}

.live-state[data-online=true] {
    color: #24576a
}

.live-state[data-online=true]::before {
    background: #42849b
}

.low-alert,
.order-notice {
    border: 1px solid #dfac6c;
    background: #fff0d3;
    color: #642f14;
    border-radius: 12px;
    padding: 13px 17px;
    margin-bottom: 11px
}

.low-alert strong {
    display: block;
    margin-bottom: 4px
}

.low-alert p {
    margin: 4px 0 0
}

.order-notice {
    background: #e9f6f8;
    border-color: #b5dbe4;
    color: #542318;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px
}

.menu-section {
    margin-bottom: 38px
}

.menu-section>.products {
    margin-bottom: 18px
}

.menu-section .product {
    min-height: 83px
}

.dialog-head {
    padding: 20px 24px 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: start
}

.dialog-head h2 {
    font-size: clamp(25px, 5vw, 38px);
    margin: 5px 0 0
}

.dialog-body {
    padding: 10px 24px 18px;
    overflow: auto;
    min-height: 0
}

.dialog-actions {
    padding: 13px 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line)
}

.dialog-actions .status {
    flex-basis: 100%;
    margin: 0;
    color: var(--brand)
}

dialog {
    width: min(590px, calc(100% - 24px));
    max-height: 90dvh;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 15px 60px #3c221b40;
    overflow: auto
}

dialog::backdrop {
    background: #3c221b90
}

dialog[open] {
    display: flex;
    flex-direction: column
}

dialog form {
    display: flex;
    flex-direction: column;
    min-height: 0
}

.pot {
    min-inline-size: 0;
    padding: 10px 13px;
    margin: 12px 0;
    border: 1px solid var(--line);
    border-radius: 9px
}

.pot .flavors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
    margin: 0;
}

.pot .flavors label {
    min-inline-size: 0;
    min-height: 44px;
}

.pot .flavors input {
    flex: none;
    margin: 0;
}

.pot .flavor-name {
    min-inline-size: 0;
    overflow-wrap: anywhere;
}

.pot p {
    margin: 0
}

.pot legend {
    padding: 0 4px
}

.receipt-settings {
    max-width: 680px
}

.receipt-settings textarea {
    display: block;
    width: 100%;
    min-height: 74px;
    border: 1px solid #bda28d;
    border-radius: 6px;
    padding: 9px;
    margin-top: 5px;
    font: inherit;
    color: var(--ink)
}

.intake-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.intake-list-heading {
    margin-top: 24px
}

.intake-format-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

.intake-format-row p {
    margin: 4px 0 0
}

@media(max-width:760px) {
    .intake-layout {
        grid-template-columns: 1fr
    }
}

#quantities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start
}

.quantity-card {
    min-width: 0
}

.quantity-card .product {
    width: 100%;
    height: auto;
    min-height: 65px
}

.quantity-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 8px 0 0
}

.quantity-stepper button {
    width: 43px;
    height: 43px;
    padding: 0;
    font-size: 20px
}

.quantity-stepper output {
    min-width: 30px;
    text-align: center;
    font-weight: 700
}

.reservation-code {
    background: #f9dedc;
    border: 1px solid #e8b7ad;
    color: var(--brand);
    border-radius: 10px;
    padding: 13px 17px;
    display: grid;
    gap: 3px
}

.reservation-code span {
    font-size: 13px;
    font-weight: 700
}

.reservation-code strong {
    font-size: clamp(28px, 7vw, 40px);
    letter-spacing: .13em;
    line-height: 1.15
}

@media(max-width:520px) {
    .success-actions {
        display: grid;
        grid-template-columns: 1fr
    }

    .success-actions .button,
    .success-actions button {
        width: 100%;
        min-height: 44px
    }

    .success-actions .status {
        grid-column: 1/-1
    }
}

.brand-logo {
    display: block;
    width: auto;
    height: 67px;
    object-fit: contain
}

.nav .brand:has(.brand-logo),
footer .brand:has(.brand-logo) {
    padding-block: 5px
}

@media(max-width:760px) {
    .brand-logo {
        height: 55px
    }
}

.order-notice {
    color: #24576a
}

.order-notice .remove {
    color: #24576a;
    border-color: #b5dbe4
}

.order-notice .remove:hover {
    background: #d9edf2
}

.promo-label {
    color: #7e3427
}

.quantity-stepper button:focus-visible,
.product:focus-visible,
.button:focus-visible {
    outline: 2px solid #42849b;
    outline-offset: 3px
}.instagram-link{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:8px 14px;border-radius:9px;background:linear-gradient(115deg,#a42e33,#a3165e 50%,#673098);color:#fff;font-size:14px;font-weight:700}.instagram-link:hover{text-decoration:none;filter:brightness(1.1)}.instagram-link:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.instagram-icon{position:relative;display:inline-block;width:18px;height:18px;flex:none;border:1.7px solid currentColor;border-radius:5px}.instagram-icon::before,.instagram-icon::after{content:"";position:absolute;border-radius:50%}.instagram-icon::before{width:6px;height:6px;border:1.5px solid currentColor;inset:0;margin:auto}.instagram-icon::after{width:2.5px;height:2.5px;right:2px;top:2px;background:currentColor}
.history-panel{margin-top:22px}.history-panel>summary{font-size:17px}.history-order{padding:10px 13px;margin:7px 0}.history-order summary{line-height:1.7}.history-order summary small{display:inline-block;font-weight:400;color:var(--muted);margin-left:6px}

.security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.security-table{max-height:420px}.security-table td{vertical-align:top}.security-table small{display:block;margin-top:3px;color:var(--muted);overflow-wrap:anywhere}.security-table .security-signal{color:#874714;font-weight:700}.security-table .agent{font-size:11px}.security-table code{overflow-wrap:anywhere}#security-filter{max-width:400px}@media(max-width:850px){.security-grid{grid-template-columns:1fr}}

.security-activity{display:flex;flex-wrap:wrap;gap:8px 22px;margin:10px 0 17px;color:var(--muted);font-size:14px}.security-activity strong{color:var(--ink);font-variant-numeric:tabular-nums}.security-priority{margin-bottom:18px}.security-priority h3{margin-bottom:4px}.security-priority .muted{margin:0 0 10px}.security-priority .table-wrap{max-height:300px}.signal-badge{margin:2px 3px 2px 0;font-size:12px;line-height:1.4}

.product:disabled{opacity:1;background:var(--white);color:var(--ink);border-color:var(--line);cursor:not-allowed}.product .product-unavailable{color:var(--brand);font-weight:700}.price-panel{margin-bottom:18px}.price-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(105px,150px) auto;gap:12px;align-items:end;border-top:1px solid var(--line);padding:9px 0}.price-row small{display:block;color:var(--muted)}.price-row label{margin:0}@media(max-width:460px){.price-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.price-row button{grid-column:2;justify-self:start}}
