:root {
  --paper: #faf5eb; --white: #fffcf6; --ink: #26191a; --dark: #241718;
  --muted: #695952; --red: #ae2333; --red-dark: #8b1726; --rose: #f7e5e1;
  --gold: #f5bf74; --line: #e8dbce; --green: #225641;
  color: var(--ink); background: var(--paper);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
h1,h2,h3,p,dl,dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button,input,select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .54; cursor: not-allowed; }
:focus-visible { outline: 3px solid #a64a0c; outline-offset: 3px; }
.wrap { width: min(1230px, calc(100% - 72px)); margin-inline: auto; }
.sprite,.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; transform: translateY(-150%); padding: .65rem; background: var(--white); }
.skip:focus { transform: none; }
.icon { width: 19px; height: 19px; flex: 0 0 19px; stroke: currentColor; stroke-width: 1.65; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.button,.icon-button { display: inline-flex; align-items: center; justify-content: center; gap: .48rem; min-height: 44px; padding: .6rem .88rem; border: 1px solid transparent; border-radius: 8px; color: var(--ink); background: transparent; font-size: .9rem; font-weight: 750; line-height: 1.18; text-align: center; text-decoration: none; }
.icon-button { flex: 0 0 44px; width: 44px; padding: 0; }
.primary { color: #fff8f0; background: var(--red); }
.primary:hover:not(:disabled) { background: var(--red-dark); }
.outline { border-color: var(--line); }
.outline:hover:not(:disabled),.quiet:hover { background: #f3e8dc; }
.on-dark { border-color: #e6b39680; color: #fff7e8; }
.on-dark:hover { background: #442729; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }

.site-head { position: sticky; z-index: 4; top: 0; border-bottom: 1px solid var(--line); background: var(--white); }
.nav-row { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.brand,.nav-actions,nav { display: flex; align-items: center; gap: .55rem; }
.brand { flex: 0 0 auto; font-size: .92rem; line-height: 1.08; letter-spacing: .055em; font-weight: 900; text-decoration: none; }
.logo { display: grid; place-items: center; width: 45px; height: 45px; padding: 5px; border-radius: 50%; background: var(--dark); }
.brand small { display: block; margin-top: .3rem; color: var(--red); font-size: .6rem; letter-spacing: .17em; }
nav { gap: clamp(.7rem, 2vw, 1.85rem); }
nav a { display: grid; place-items: center; min-height: 44px; border-bottom: 2px solid transparent; font-size: .91rem; font-weight: 690; text-decoration: none; white-space: nowrap; }
nav a:hover,nav a[aria-current] { color: var(--red); }
nav a[aria-current] { border-bottom-color: var(--red); }
.count { display: grid; place-items: center; min-width: 22px; min-height: 22px; padding-inline: 4px; border-radius: 50px; background: #fff0d9; color: var(--red-dark); font-size: .74rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff5e7; background: var(--dark); }
.hero-image { position: absolute; z-index: -2; inset: 0 0 0 37%; width: 63%; height: 100%; object-fit: cover; object-position: 58% 57%; }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, var(--dark) 29%, #241718df 42%, #2417181a 73%); }
.hero-inner { position: relative; min-height: 500px; padding-block: 70px; display: grid; align-content: center; justify-items: start; }
.eyebrow { color: var(--red); font-size: .74rem; font-weight: 850; letter-spacing: .16em; }
.hero-eyebrow { color: var(--gold); display: flex; align-items: center; gap: .55rem; }
.hero-eyebrow span { width: 15px; height: 1px; background: currentColor; }
h1,h2,h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.06; }
h1 { margin: .65rem 0 1rem; font-size: clamp(3.2rem, 7.2vw, 6.3rem); letter-spacing: -.073em; }
h1 em { color: var(--gold); font-weight: 600; }
h2 { font-size: clamp(2.4rem, 5.2vw, 4.35rem); letter-spacing: -.065em; }
h3 { font-size: 1.42rem; letter-spacing: -.027em; }
.hero-copy { max-width: 375px; color: #ead8ce; }
.hero-buttons,.inline-actions,.detail-actions { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.hero-buttons { margin-top: 1.38rem; }
.hero-buttons .button { min-height: 50px; padding-inline: 1.08rem; }
.hero-note { position: absolute; bottom: 24px; right: 0; padding: .42rem .72rem; color: #ffe4b9; background: #221517df; border: 1px solid #f6be7e70; border-radius: 5px; font-size: .68rem; letter-spacing: .16em; font-weight: 770; }
.ribbon { background: #91222e; color: #fff0dd; }
.ribbon-content { display: flex; justify-content: space-around; align-items: center; gap: .5rem; padding-block: .74rem; font-size: .72rem; font-weight: 820; letter-spacing: .15em; }
.ribbon b { color: var(--gold); font-size: .56rem; }

.section { padding-block: 58px 70px; }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.section h2 { margin-top: .3rem; }
.search { width: min(100%, 350px); display: flex; align-items: center; gap: .62rem; padding-inline: .75rem; border: 1px solid #d9c7b7; border-radius: 9px; background: var(--white); color: var(--muted); }
.search:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
.search input { width: 100%; min-height: 46px; border: 0; background: transparent; color: var(--ink); outline: none; }
.search input:focus-visible { outline: none; }
.menu-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin: 1.18rem 0 .9rem; }
.menu-toolbar > p { margin-left: auto; font-size: .83rem; }
.filters,.auth-tabs { display: flex; flex-wrap: wrap; gap: .48rem; }
.filters button,.auth-tabs button { min-height: 44px; padding: .44rem .87rem; border: 1px solid #dfcdbd; border-radius: 30px; color: var(--muted); background: transparent; font-size: .87rem; font-weight: 740; }
.filters button:hover,.auth-tabs button:hover { background: #f2e5d8; }
.filters button[aria-pressed="true"],.auth-tabs button[aria-pressed="true"] { border-color: var(--dark); color: #fff7e9; background: var(--dark); }
#menu-message:empty { display: none; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.product-grid.promo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.product { position: relative; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 13px; background: var(--white); overflow: hidden; }
.product:hover,.product:focus-within { border-color: #c5a68d; box-shadow: 0 10px 24px #311b1112; }
.product-media { position: relative; aspect-ratio: 1.55; overflow: hidden; background: var(--dark); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: .66rem; left: .66rem; padding: .28rem .52rem; border-radius: 5px; color: #451c13; background: #ffdfab; font-weight: 820; font-size: .71rem; }
.product-info { flex: 1; display: flex; flex-direction: column; gap: .34rem; padding: .85rem .91rem .95rem; }
.product-category { font-size: .66rem; letter-spacing: .11em; }
.product-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; }
.product-link::after { position: absolute; inset: 0; content: ""; }
.product-link:focus-visible::after { outline: 3px solid var(--red); outline-offset: -4px; border-radius: 13px; }
.product-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--muted); font-size: .84rem; }
.product-footer { display: flex; align-items: end; justify-content: space-between; gap: .48rem; padding-top: .7rem; margin-top: auto; }
.price { display: grid; gap: .08rem; white-space: nowrap; }
.price del { color: var(--muted); font-size: .75rem; }
.add { z-index: 1; position: relative; background: var(--rose); color: var(--red-dark); padding-inline: .58rem; }
.add:hover { background: #eed1c9; }

.about { background: var(--dark); color: #fff4e4; }
.about-grid,.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.about-grid { align-items: center; gap: clamp(1.5rem,6vw,6rem); }
.about .eyebrow,.brand-panel small { color: var(--gold); }
.about p:not(.eyebrow) { margin-top: .85rem; color: #ead6ca; max-width: 460px; }
.brand-panel { min-height: 245px; display: grid; place-content: center; justify-items: center; gap: .32rem; border: 1px solid #edb77060; border-radius: 12px; background: repeating-linear-gradient(-45deg,#36211d,#36211d 14px,#3a231f 14px,#3a231f 28px); letter-spacing: .18em; }
.brand-panel small { font-size: .68rem; font-weight: 800; }
.location-grid { margin-top: 1.15rem; }
.location-panel { padding: 1.3rem; border-radius: 12px; border: 1px solid var(--line); background: var(--white); }
.location-panel h3 { margin-bottom: .35rem; }
.location-panel .button { margin-top: .85rem; }
.location-account { background: #f8e8de; }
.local { display: flex; gap: .65rem; align-items: start; padding-top: .78rem; }
.local .icon { color: var(--red); margin-top: .12rem; }
address { font-style: normal; color: var(--muted); }
footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-row { padding-block: 1.18rem; display: flex; justify-content: space-between; align-items: center; gap: .85rem; flex-wrap: wrap; }
.footer-row p { color: var(--muted); font-size: .82rem; }

.dialog { width: min(620px,calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 20px 80px #1b1111a0; overflow: auto; }
.checkout-dialog { width: min(960px,calc(100% - 24px)); }
.dialog::backdrop { background: #1d1013ce; }
.dialog-head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .65rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--white); }
.dialog-head h2 { font-size: clamp(1.5rem,3vw,2rem); overflow-wrap: anywhere; }
.dialog-body { padding: 1.15rem 1.2rem 1.35rem; }
.detail-photo { width: 100%; max-height: 290px; aspect-ratio: 1.7; object-fit: cover; border-radius: 9px; }
.detail-dialog .eyebrow,.detail-actions { margin-top: .8rem; }
.detail-dialog .eyebrow + p { margin-top: .35rem; }
.detail-actions strong { margin-right: auto; font-size: 1.25rem; }
.reviews { border-top: 1px solid var(--line); margin-top: .86rem; padding-top: .75rem; }
.review,.history-card { border: 1px solid var(--line); border-radius: 8px; padding: .65rem .74rem; margin-top: .6rem; }
.stars { color: #904108; }
.success-text { color: var(--green); font-size: .88rem; margin-top: .32rem; }

.stepper { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .35rem; padding: 0 0 .9rem; margin: 0 0 .9rem; border-bottom: 1px solid var(--line); list-style: none; }
.stepper li { display: flex; align-items: center; gap: .42rem; color: var(--muted); font-size: .82rem; font-weight: 720; }
.stepper b { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; display: grid; place-items: center; background: #f2e8db; }
.stepper li[aria-current] { color: var(--red-dark); }
.stepper li[aria-current] b { color: #fff; background: var(--red); }
.stepper .done b { background: #e3eee5; color: var(--green); }
.checkout-grid { display: grid; align-items: start; grid-template-columns: minmax(0,1.45fr) minmax(245px,1fr); gap: 1.15rem; }
#step-content > p { margin-top: .5rem; }
.summary { background: #fbf0e3; border: 1px solid #ead6c2; border-radius: 10px; padding: .95rem; }
.summary-list,.history-card ul { list-style: none; padding: 0; margin: .6rem 0; }
.summary-list { max-height: 200px; overflow: auto; }
.summary-list li,.summary dl div,.history-card li,.history-head { display: flex; justify-content: space-between; gap: .55rem; align-items: start; }
.summary-list li,.history-card li { font-size: .85rem; padding-block: .22rem; }
.summary-list strong,.history-card li strong { white-space: nowrap; }
.summary dl { border-top: 1px solid #e4d0bb; margin-top: .56rem; padding-top: .55rem; font-size: .88rem; }
.summary .grand-total { margin-top: .42rem; padding-top: .42rem; border-top: 1px solid #e4d0bb; font-weight: 850; font-size: 1.05rem; }
.cart-line { display: grid; grid-template-columns: 55px minmax(0,1fr) auto; gap: .55rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 55px; height: 55px; object-fit: cover; border-radius: 7px; }
.cart-line small,.delivery-option small,.history-card small { display: block; color: var(--muted); }
.quantity,.member-head { display: flex; align-items: center; justify-content: space-between; gap: .38rem; }
.flow-actions { display: flex; justify-content: flex-end; gap: .54rem; margin-top: 1.05rem; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
form label:not(.delivery-option) { display: block; margin-top: .63rem; font-size: .89rem; font-weight: 700; }
form input:not([type="radio"]),form select { width: 100%; min-height: 45px; display: block; margin-top: .25rem; border: 1px solid #ccb9a9; border-radius: 7px; padding: .47rem .62rem; background: #fffefa; color: var(--ink); font-size: 1rem; }
.delivery-options { display: grid; gap: .55rem; margin-top: .75rem; }
.delivery-option { display: flex; align-items: center; gap: .62rem; min-height: 70px; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.delivery-option:has(:checked) { background: var(--rose); border-color: var(--red); }
.delivery-option input { accent-color: var(--red); }
.info-box { display: flex; gap: .55rem; padding: .65rem .75rem; margin-top: .7rem; border: 1px solid var(--line); border-radius: 8px; font-size: .91rem; }
.info-box p { color: var(--muted); overflow-wrap: anywhere; }
.demo { background: #fbf0e3; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
#step-content .inline-actions { margin-top: .65rem; }
.auth-tabs { margin-bottom: .65rem; }
#auth-submit { margin-top: .92rem; }
#password-hint { margin-top: .35rem; }
.member-head { margin-bottom: .85rem; flex-wrap: wrap; }
.member-head p { font-weight: 780; overflow-wrap: anywhere; }
.history-head { flex-wrap: wrap; }
.history-head span { color: var(--muted); font-size: .81rem; }
.history-status { display: inline-block; margin-left: .3rem; padding: .14rem .42rem; border-radius: 5px; background: var(--rose); color: var(--red-dark); font-size: .75rem; font-weight: 740; }
.error:not(:empty),.empty { margin-top: .6rem; padding: .55rem .7rem; border-radius: 6px; background: var(--rose); color: var(--red-dark); }
.empty { background: #f5ece2; color: var(--muted); }
.receipt-box { display: grid; justify-items: center; gap: .7rem; text-align: center; padding-block: 1rem; }
.receipt-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e0f1e7; color: var(--green); }
.receipt-code { font-size: 1.24rem; letter-spacing: .07em; }
.receipt-box .inline-actions { justify-content: center; }
.toast:not(:empty) { position: fixed; z-index: 5; bottom: 16px; right: 16px; max-width: calc(100% - 32px); padding: .62rem .86rem; border-radius: 8px; color: #fff5e7; background: var(--dark); }

@media(max-width:1080px) {
  .wrap { width: calc(100% - 48px); }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:870px) {
  .nav-row { flex-wrap: wrap; min-height: 0; padding-top: .38rem; gap: 0 .5rem; }
  nav { width: 100%; order: 3; justify-content: center; }
  .hero-inner { min-height: 430px; }
}
@media(max-width:640px) {
  html { scroll-padding-top: 121px; }
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: .75rem; }
  .logo { width: 39px; height: 39px; }
  .brand small { font-size: .53rem; }
  nav { gap: .72rem; }
  nav a { font-size: .77rem; }
  .nav-actions { gap: .1rem; }
  .nav-actions .button { padding-inline: .43rem; }
  .account-button span,.nav-cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hero-image { inset: 0; width: 100%; object-position: 63% 54%; }
  .hero::after { background: linear-gradient(90deg,#241718fa,#241718a0 57%,#24171857),linear-gradient(0deg,#241718,#24171800 45%); }
  .hero-inner { min-height: 405px; padding-block: 55px 65px; }
  h1 { font-size: clamp(2.65rem,9.5vw,4.5rem); }
  .hero-note { bottom: 12px; }
  .ribbon-content { flex-wrap: wrap; justify-content: center; gap: .35rem .62rem; font-size: .58rem; }
  .section { padding-block: 38px 45px; }
  .product-grid,.product-grid.promo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .72rem; }
  .product-info { padding: .65rem; }
  .product-info h3 { font-size: 1.19rem; }
  .about-grid,.location-grid,.checkout-grid { grid-template-columns: 1fr; }
  .brand-panel { min-height: 180px; }
  .brand-panel img { width: 95px; height: 95px; }
  .stepper li { flex-direction: column; align-items: center; text-align: center; font-size: .71rem; gap: .2rem; }
  .dialog-head,.dialog-body { padding-inline: .8rem; }
  .summary-list { max-height: 140px; }
}
@media(max-width:430px) {
  .product-grid,.product-grid.promo-grid,.form-pair { grid-template-columns: 1fr; }
  .quantity { gap: .2rem; }
  .cart-line { grid-template-columns: minmax(0,1fr) auto; }
  .cart-line img { display: none; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
