:root {
  color-scheme: light;
  --background: #FAF7F2;
  --paper: #FFFFFF;
  --ink: #302936;
  --muted: #6D6274;
  --line: #C8BFD1;
  --pale: #EAE4EF;
  --lavender: #837397;
  --badge: #94849F;
  --accent: #655477;
  --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font: 17px/1.6 Arial, Helvetica, sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, select, input, textarea { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled, select:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; }
button, a, select, textarea { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 5px; }
main:focus { outline: none; }
main { min-height: calc(100vh - 284px); scroll-margin-top: 120px; }
[hidden] { display: none !important; }
.container { width: 90%; max-width: 1296px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px 20px; background: var(--accent); color: white; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 32px; border: 1px solid transparent; border-radius: 30px; background: var(--accent); color: white; font-size: 18px; line-height: 1.4; font-weight: 600; text-align: center; transition: background .18s, transform .18s; }
.button:hover:not(:disabled) { background: var(--ink); }
.button:active:not(:disabled) { transform: translateY(1px); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--accent); transition: background .18s; }
.icon-button:hover { background: var(--pale); }
.text-button { padding: 6px 0; background: none; border: 0; color: var(--accent); font-size: 16px; font-weight: 600; text-align: left; }
.text-button:hover:not(:disabled), .continue-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { color: var(--lavender); font-size: 13px; font-weight: 600; letter-spacing: 2px; line-height: 1.5; }

/* Shared sticky navigation and footer. */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--background); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 103px; width: calc(100% - 112px); max-width: 1328px; margin: auto; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 18px; margin-right: auto; flex-shrink: 0; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand span { font: 27px/1.2 var(--serif); }
.main-nav { display: flex; align-items: center; gap: 12px; }
.main-nav a { min-height: 44px; padding: 8px 18px; border-radius: 24px; display: flex; align-items: center; gap: 6px; }
.main-nav a[aria-current], .main-nav a:hover { background: var(--pale); color: var(--accent); }
.cart-count { display: inline-flex; justify-content: center; align-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 20px; background: var(--badge); color: var(--ink); font: 12px/1 Arial, sans-serif; }
.header-order { min-width: 208px; margin-left: 24px; }
.site-footer { background: var(--pale); }
.footer-inner { min-height: 180px; padding-block: 36px 22px; display: grid; grid-template-columns: 1fr 258px; align-items: start; }
.footer-brand { font: 30px/1.3 var(--serif); }
.footer-inner p { color: var(--muted); margin-top: 6px; }
.socials p { font-size: 16px; margin: 0 0 10px; }
.social-links { display: flex; gap: 16px; }
.social-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--accent); }
.copyright { font-size: 14px; color: var(--muted); margin-top: 18px; grid-column: 1 / -1; }

/* Landing page. */
.hero { padding-top: 40px; }
.hero-banner { width: min(100%, 1040px); height: auto; aspect-ratio: 1040 / 594; object-fit: contain; margin: auto; }
.hero-copy { text-align: center; padding: 53px 0 84px; }
.hero-copy h1 { font-size: 40px; }
.hero-copy p { margin-top: 22px; color: var(--muted); font-size: 22px; line-height: 1.5; }
.oven-section { container-type: inline-size; border-top: 1px solid var(--line); padding-top: 67px; padding-bottom: 122px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 39px; }
.section-heading h2 { font-size: 44px; margin-top: 25px; }
.gallery-arrows { display: flex; gap: 22px; padding-bottom: 5px; }
.gallery-viewport { overflow: hidden; margin-inline: clamp(12px, 1.5vw, 24px); }
.gallery-grid { width: min(90cqw, 1296px); display: flex; gap: 24px; will-change: transform; }
.gallery-slide { flex: 0 0 calc((100% - 24px) / 2); min-width: 0; }
.gallery-slide img { width: 100%; height: auto; aspect-ratio: 636 / 480; object-fit: cover; }
.gallery-message { width: 100%; padding: 80px 20px; text-align: center; color: var(--muted); }
.carousel-dots { display: flex; align-items: center; justify-content: center; }
.dot { position: relative; border: 0; padding: 0; width: 24px; height: 30px; background: transparent; }
.dot::after { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--line); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.dot.is-active::after { width: 8px; height: 8px; background: var(--accent); }
.order-invitation { text-align: center; margin-top: 30px; }
.order-invitation h2 { font-size: 29px; margin-bottom: 22px; }
.order-invitation .button { min-width: 230px; }

/* Menu and product cards. */
.page-heading { padding-top: 61px; }
.page-heading h1 { font-size: clamp(36px, 3.75vw, 54px); margin-top: 27px; }
.page-heading > p:last-of-type { color: var(--muted); font-size: 20px; margin-top: 17px; }
.category-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.category-tabs a { min-height: 74px; display: grid; place-items: center; border-bottom: 3px solid var(--line); color: var(--muted); font-size: 19px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.category-tabs a[aria-current] { background: var(--pale); color: var(--accent); border-color: var(--accent); }
.category-tabs a:hover { background: var(--pale); }
.category-heading { display: flex; align-items: center; justify-content: space-between; margin: 32px 0 28px; gap: 16px; }
.category-heading h2 { font-size: 26px; }
.category-heading p { color: var(--muted); font-size: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.product-card { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); display: flex; flex-direction: column; }
.product-photo { position: relative; aspect-ratio: 392 / 320; overflow: hidden; border-radius: 6px; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-previous, .photo-next { position: absolute; top: calc(50% - 22px); }
.photo-previous { left: 12px; }
.photo-next { right: 12px; }
.photo-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: var(--paper); border-radius: 30px; padding-inline: 8px; }
.photo-placeholder { background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)), linear-gradient(to bottom right, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)), var(--pale); display: grid; place-items: center; }
.photo-placeholder span { background: var(--pale); border-radius: 8px; padding: 8px 16px; color: var(--muted); }
.product-content { padding: 27px 11px 11px; display: flex; flex-direction: column; flex: 1; }
.product-content h3 { font-size: clamp(22px, 1.9vw, 27px); }
.product-description { color: var(--muted); font-size: 17px; line-height: 1.6; margin-top: 18px; margin-bottom: 28px; }
.product-price { margin-top: auto; display: flex; align-items: baseline; gap: 10px; }
.product-price > span:first-child { font-size: 23px; font-weight: 600; }
.price-unit { font-size: 15px; color: var(--muted); }
.product-options { display: flex; align-items: center; gap: 20px; margin-top: 14px; margin-bottom: 19px; }
select { width: 100%; min-height: 48px; padding: 10px 34px 10px 15px; border: 1px solid var(--line); border-radius: 8px; background-color: var(--background); color: var(--ink); font-size: 16px; }
.product-options select { flex: 1; min-width: 0; }
.product-options .text-button { flex-shrink: 0; }
.add-to-cart { width: 100%; }
.catalog-note { margin: 20px 0 32px; color: var(--muted); font-size: 14px; }

/* Cart. */
.cart-page { padding-bottom: 180px; }
.cart-heading { position: relative; margin-bottom: 42px; }
.cart-heading h1 { padding-right: 210px; }
.continue-link { position: absolute; right: 0; bottom: 44px; color: var(--accent); font-size: 18px; }
.cart-items { display: grid; gap: 20px; }
.cart-row { display: grid; grid-template-columns: 194px minmax(0, 1fr) 220px; gap: 32px; min-height: 226px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.cart-photo { width: 194px; height: 194px; object-fit: cover; border-radius: 3px; }
.cart-details { padding-top: 12px; }
.cart-details h2 { font-size: 29px; }
.cart-description { margin-top: 14px; color: var(--muted); font-size: 18px; }
.cart-choices { margin-top: 16px; padding: 12px 16px; background: var(--pale); color: var(--accent); border-radius: 8px; font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.cart-actions { display: flex; gap: 35px; margin-top: 10px; }
.cart-actions .muted { font-weight: 400; }
.cart-row-end { text-align: right; padding: 12px 16px 0 0; }
.cart-price { font-size: 26px; font-weight: 600; line-height: 1.4; }
.cart-price-details { min-width: 0; }
.cart-unit { color: var(--muted); font-size: 15px; margin-top: 4px; }
.quantity-control { display: inline-flex; align-items: center; justify-content: space-between; width: 158px; height: 50px; margin-top: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--background); overflow: hidden; }
.quantity-control button { width: 48px; height: 48px; padding: 0; border: 0; background: transparent; font-size: 24px; }
.quantity-control button:hover:not(:disabled) { background: var(--pale); }
.quantity-control output { min-width: 40px; text-align: center; font-size: 18px; }
.cart-bottom { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 40px; display: grid; grid-template-columns: minmax(0, 718px) minmax(300px, 412px); gap: clamp(40px, 11.5vw, 166px); }
.order-note label { display: block; margin-bottom: 18px; font: 27px/1.3 var(--serif); }
textarea { display: block; width: 100%; min-height: 116px; resize: vertical; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-size: 18px; }
textarea::placeholder { color: var(--muted); }
.order-summary > div { display: flex; justify-content: space-between; align-items: baseline; }
.order-summary h2 { font-size: 24px; }
.order-summary > div span { font-size: 30px; font-weight: 600; line-height: 1.2; }
.order-summary > p { color: var(--muted); font-size: 16px; margin-top: 20px; }
.order-summary .button { width: 100%; margin-top: 29px; }
.order-summary .ordering-note { margin-top: 10px; font-size: 14px; text-align: center; }
.empty-state { text-align: center; padding: 70px 20px 30px; }
.empty-bag { display: grid; place-items: center; width: 90px; height: 90px; margin: 0 auto 28px; border-radius: 50%; background: var(--pale); color: var(--accent); }
.empty-bag svg { width: 48px; height: 48px; }
.empty-state h2 { font-size: 34px; }
.empty-state p { color: var(--muted); margin: 18px auto 28px; max-width: 460px; }

/* Native dialogs provide keyboard focus trapping and Escape-to-close. */
.dialog { position: fixed; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 42px 36px 36px; border: 1px solid var(--line); border-radius: 18px; background: var(--background); color: var(--ink); box-shadow: 0 20px 90px #30293633; }
.dialog::backdrop { background: #30293673; }
.dialog-close { position: absolute; right: 14px; top: 14px; font-size: 26px; width: 36px; height: 36px; }
.dialog .eyebrow { margin-bottom: 18px; padding-right: 20px; }
.dialog h2 { font-size: 34px; margin-bottom: 16px; }
.dialog p:not(.eyebrow) { color: var(--muted); margin-block: 12px; }
.dialog .button { width: 100%; margin-top: 18px; }
.field-label { display: block; margin: 24px 0 8px; font-weight: 600; }
#custom-price { margin-top: 10px; }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 30; width: max-content; max-width: calc(100% - 32px); transform: translate(-50%, 16px); padding: 14px 24px; border-radius: 12px; background: var(--accent); color: white; box-shadow: 0 8px 30px #30293626; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; font-size: 16px; text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 1441px) {
  .product-content h3 { font-size: 27px; }
}
@media (max-width: 1100px) {
  .header-inner { width: 90%; gap: 20px; }
  .brand { gap: 12px; }
  .brand span { font-size: 24px; }
  .header-order { min-width: 150px; margin-left: 0; }
  .main-nav { gap: 4px; }
  .main-nav a { padding-inline: 14px; }
  .product-grid { gap: 18px; }
  .product-content { padding-inline: 5px; }
  .product-options { gap: 12px; flex-wrap: wrap; }
  .product-options select { flex-basis: 100%; }
  .cart-row { grid-template-columns: 150px minmax(0, 1fr) 158px; gap: 20px; }
  .cart-photo { width: 150px; height: 170px; }
  .cart-row-end { padding-right: 0; }
  .cart-details h2 { font-size: 26px; }
  .cart-description { font-size: 16px; }
  .cart-bottom { gap: 50px; grid-template-columns: 1.4fr 1fr; }
  .cart-heading h1 { padding-right: 0; }
  .continue-link { position: static; display: inline-block; margin-top: 18px; }
}
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; gap: 8px 16px; padding-block: 14px 10px; }
  .brand img { width: 46px; height: 46px; }
  .brand span { font-size: 23px; }
  .header-order { order: 1; min-width: 0; min-height: 44px; padding: 10px 20px; font-size: 15px; }
  .main-nav { order: 2; width: 100%; justify-content: center; gap: 12px; }
  .main-nav a { padding: 6px 22px; min-height: 40px; font-size: 16px; }
  .hero { padding-top: 28px; }
  .hero-copy { padding: 40px 12px 54px; }
  .hero-copy h1 { font-size: 32px; }
  .hero-copy p { font-size: 18px; }
  .desktop-break { display: none; }
  .oven-section { padding-top: 42px; padding-bottom: 70px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 34px; margin-top: 16px; }
  .gallery-arrows { gap: 10px; }
  .gallery-grid { gap: 18px; }
  .gallery-slide { flex-basis: calc((100% - 18px) / 2); }
  .page-heading { padding-top: 40px; }
  .page-heading > p:last-of-type { font-size: 18px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .product-content h3 { font-size: 26px; }
  .product-description { font-size: 16px; }
  .category-tabs a { min-height: 64px; font-size: 16px; }
  .cart-row { grid-template-columns: 130px minmax(0, 1fr); gap: 20px; }
  .cart-photo { width: 130px; height: 150px; }
  .cart-details { padding-top: 0; }
  .cart-row-end { grid-column: 1 / -1; display: flex; align-items: center; text-align: left; padding: 0; gap: 10px; }
  .cart-price-details { flex: 1; }
  .cart-unit { margin: 0; }
  .quantity-control { margin: 0 0 0 auto; }
  .cart-bottom { grid-template-columns: 1fr; gap: 36px; }
  .order-summary { max-width: 412px; width: 100%; margin-left: auto; }
  .cart-page { padding-bottom: 80px; }
  .footer-inner { grid-template-columns: 1fr 180px; gap: 12px; }
}
@media (max-width: 540px) {
  .brand { gap: 8px; }
  .brand span { font-size: 20px; }
  .brand img { width: 40px; height: 40px; }
  .header-order { padding-inline: 15px; font-size: 14px; }
  .header-inner { gap: 10px 8px; }
  .main-nav { gap: 4px; }
  .hero-copy h1 { font-size: 29px; }
  .hero-copy p { font-size: 17px; }
  .section-heading { align-items: flex-end; gap: 14px; }
  .section-heading h2 { font-size: 30px; }
  .gallery-arrows { gap: 8px; }
  .gallery-slide { flex-basis: 100%; }
  .gallery-slide img { aspect-ratio: 4 / 5; }
  .page-heading h1 { font-size: 36px; margin-top: 20px; }
  .category-tabs { margin-top: 30px; }
  .category-tabs a { font-size: 13px; letter-spacing: 1.2px; min-height: 58px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-content { padding: 24px 11px 11px; }
  .product-content h3 { font-size: 27px; }
  .product-options { flex-wrap: nowrap; gap: 18px; }
  .product-options select { flex-basis: auto; }
  .product-description { font-size: 17px; }
  .cart-heading { margin-bottom: 30px; }
  .cart-row { grid-template-columns: 86px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .cart-photo { width: 86px; height: 100px; }
  .cart-details h2 { font-size: 23px; }
  .cart-description { font-size: 15px; line-height: 1.5; margin-top: 8px; }
  .cart-choices { font-size: 14px; padding: 10px; margin-top: 12px; }
  .cart-actions { gap: 24px; flex-wrap: wrap; }
  .cart-actions .text-button { font-size: 14px; }
  .cart-row-end { border-top: 1px solid var(--line); padding-top: 14px; }
  .cart-bottom { margin-top: 32px; padding-top: 30px; }
  .order-note label { font-size: 25px; }
  textarea { font-size: 16px; padding: 16px; }
  .empty-state { padding: 36px 6px 0; }
  .empty-state h2 { font-size: 29px; }
  .footer-inner { grid-template-columns: 1fr; padding-block: 30px; gap: 28px; }
  .footer-brand { font-size: 28px; }
  .copyright { margin-top: 0; }
  .dialog { padding: 42px 24px 24px; }
  .dialog h2 { font-size: 30px; }
  .toast { font-size: 14px; bottom: 16px; padding: 12px 18px; }
}
@media (max-width: 360px) {
  .brand span { font-size: 18px; }
  .brand img { width: 32px; height: 32px; }
  .header-order { padding-inline: 12px; }
  .gallery-arrows { flex-direction: column; }
  .cart-actions { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
