/* Ember & Olive — sample restaurant site. Shared styles. */
:root {
  --cream: #fbf5ec;
  --sand: #f2e7d5;
  --paper: #fffdf9;
  --terracotta: #b5472b;
  --terracotta-dark: #8f3520;
  --olive: #5b6236;
  --olive-dark: #434826;
  --gold: #c99a3e;
  --ink: #2a211b;
  --muted: #6b5d52;
  --line: #e4d6c1;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(42, 33, 27, .10);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta-dark); text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #f6ecdd; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--terracotta); margin-bottom: .75rem; }
.section--dark .eyebrow { color: var(--gold); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { margin-bottom: 2.5rem; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Demo banner */
.demo-banner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.demo-banner .dodo-credit { display: inline-block; white-space: normal; }
.demo-banner { background: var(--olive-dark); color: #f3ead8; font-size: .85rem; text-align: center; padding: .45rem 1rem; }
.demo-banner strong { color: var(--gold); }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 245, 236, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-serif); font-weight: 700; font-size: 1.45rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--terracotta-dark); }
.brand svg { width: 34px; height: 34px; }
.brand .amp { color: var(--terracotta); font-style: italic; font-weight: 400; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: .55rem .9rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav-list a:hover { background: var(--sand); color: var(--ink); }
.nav-list a[aria-current="page"] { color: var(--terracotta-dark); background: var(--sand); }
.nav-list .nav-cta a { background: var(--terracotta); color: #fff; margin-left: .5rem; }
.nav-list .nav-cta a:hover, .nav-list .nav-cta a[aria-current="page"] { background: var(--terracotta-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; padding: 0; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; content: ""; }
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .js .nav-list { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--cream); border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1.25rem; display: none; box-shadow: var(--shadow); }
  .js .nav-list.open { display: flex; }
  .nav-list a { padding: .85rem 1rem; }
  .nav-list .nav-cta a { margin: .5rem 0 0; text-align: center; }
  .no-js .nav-list { flex-wrap: wrap; }
  .no-js .nav-wrap { flex-wrap: wrap; padding-block: .5rem; }
}

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: 1rem; padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Hero */
.hero { position: relative; color: #fff; background: #2a211b url("images/hero.jpg") center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(30,20,14,.85) 0%, rgba(30,20,14,.55) 55%, rgba(30,20,14,.25) 100%); }
.hero .container { position: relative; padding-block: clamp(5rem, 14vw, 10rem); }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero p { font-size: 1.2rem; max-width: 52ch; color: #f1e6d4; }
.open-status { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: .35rem .9rem; border-radius: 999px; font-size: .9rem; margin-bottom: 1.25rem; }
.open-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #aaa; }
.open-status.is-open::before { background: #6fd07a; }
.open-status.is-closed::before { background: #e5745a; }
.page-hero { background: var(--sand); border-bottom: 1px solid var(--line); padding: clamp(3rem, 7vw, 5rem) 0; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero .lead { margin: 0 auto; }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; background: var(--sand); }
.stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.stats strong { display: block; font-family: var(--font-serif); font-size: 2rem; color: var(--terracotta); line-height: 1.1; }
.stats span { font-size: .9rem; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(42,33,27,.05); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; background: var(--sand); }
.card-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .98rem; flex: 1; }
.price { font-family: var(--font-serif); font-weight: 700; color: var(--terracotta-dark); font-size: 1.15rem; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: .15rem .5rem; border-radius: 6px; background: #e8ecd6; color: var(--olive-dark); border: 1px solid #cfd6ad; }
.tag--v { background: #e8ecd6; }
.tag--vg { background: #d9e8c8; color: #2f5a1b; border-color: #b7d29a; }
.tag--gf { background: #f6e8c6; color: #7a5a14; border-color: #e6cf93; }
.tag--df { background: #dcebf0; color: #1f5a6e; border-color: #b2d3de; }
.tag--spicy { background: #f8dcd3; color: #8f3520; border-color: #eab5a5; }

/* Hours */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: .7rem 0; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 400; }
.hours-table td { text-align: right; font-weight: 600; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--terracotta-dark); font-weight: 700; }
.section--dark .hours-table th, .section--dark .hours-table td { border-color: rgba(255,255,255,.18); }
.section--dark .hours-table tr.today th, .section--dark .hours-table tr.today td { color: var(--gold); }
.hours-note { font-size: .92rem; color: var(--muted); margin-top: 1rem; }
.section--dark .hours-note { color: #cdbfa9; }

/* Testimonials */
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; margin: 0; position: relative; }
.quote::before { content: "\201C"; font-family: var(--font-serif); font-size: 4rem; color: var(--gold); line-height: .6; display: block; height: 1.6rem; }
.quote p { font-size: 1.05rem; }
.quote footer { font-size: .92rem; color: var(--muted); }
.quote footer strong { color: var(--ink); display: block; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .5rem; font-size: 1.05rem; }

/* CTA */
.cta { background: var(--terracotta); color: #fff; text-align: center; padding: clamp(3rem, 7vw, 5rem) 0; }
.cta h2 { color: #fff; }
.cta p { color: #fbe6dc; max-width: 55ch; margin: 0 auto 1.75rem; }
.cta .btn-row { justify-content: center; }
.cta .btn-primary { background: #fff; color: var(--terracotta-dark); }
.cta .btn-primary:hover { background: var(--ink); color: #fff; }

/* Menu page */
.menu-controls { position: sticky; top: 72px; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); padding: 1rem 0; }
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.tab { font: inherit; font-size: .95rem; font-weight: 600; padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; transition: all .2s; }
.tab:hover { border-color: var(--terracotta); }
.tab[aria-pressed="true"] { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.diet-filters { display: flex; gap: .5rem 1rem; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: .85rem; font-size: .9rem; color: var(--muted); }
.diet-filters label { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
.diet-filters input { accent-color: var(--olive); width: 1.05rem; height: 1.05rem; }
.menu-section { padding: 2.5rem 0 .5rem; }
.menu-section h2 { border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: .25rem; margin-bottom: .35rem; }
.menu-section .section-desc { color: var(--muted); margin-bottom: 1.5rem; }

.menu-item h3 { font-family: var(--font-sans); font-size: 1.08rem; font-weight: 600; margin: 0; letter-spacing: 0; }
.menu-item-head { display: flex; align-items: baseline; gap: .6rem; }
.menu-item-head .dots { flex: 1; border-bottom: 2px dotted #cdb998; transform: translateY(-4px); min-width: 1rem; }
.menu-item p { color: var(--muted); font-size: .96rem; margin: .2rem 0 .5rem; }
.menu-empty { text-align: center; padding: 3rem 0; color: var(--muted); }
.menu-footnote { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 3rem; }
[hidden] { display: none !important; }

/* Dish cards (menu + order pages) */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.menu-grid--order { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 1000px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .menu-grid, .menu-grid--order { grid-template-columns: 1fr; } }
.dish-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(42,33,27,.05); min-width: 0; }
.dish-photo { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; background: var(--sand); }
.dish-body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.dish-body p { flex: 1; }
.menu-item-head { justify-content: space-between; }
.menu-item-head .dots { display: none; }
.dish-actions { margin-top: .85rem; min-height: 2.6rem; }
.btn-sm { padding: .5rem 1.15rem; font-size: .93rem; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--terracotta); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { width: 2.5rem; height: 2.25rem; border: 0; background: #fff; color: var(--terracotta-dark); font: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.stepper button:hover:not(:disabled) { background: var(--sand); }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper .qty { min-width: 2.2rem; text-align: center; font-weight: 700; }

/* Cart badge */
.cart-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .4rem; margin-left: .4rem; border-radius: 999px; background: var(--terracotta); color: #fff; font-size: .78rem; font-weight: 700; line-height: 1; }
.nav-list .nav-order a { display: flex; align-items: center; font-weight: 600; }
.cart-link { display: none; position: relative; align-items: center; color: var(--ink); text-decoration: none; padding: .5rem; margin-left: auto; border-radius: 10px; }
.cart-link .cart-badge { position: absolute; top: -2px; right: -4px; margin: 0; }

/* Order page */
.order-demo-strip { background: #fff3cd; border-block: 2px dashed var(--terracotta); color: #5a1f10; text-align: center; padding: .55rem 0; font-size: .95rem; }
.order-section { padding-top: 2.5rem; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 2rem; align-items: start; }
@media (max-width: 1000px) { .order-layout { grid-template-columns: 1fr; } }
.order-menu .tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
.order-menu .menu-section { padding-top: 1.5rem; }
.order-menu .menu-section .container { width: 100%; }
.cart-panel { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow-y: auto; display: grid; gap: 1.25rem; }
@media (max-width: 1000px) { .cart-panel { position: static; max-height: none; overflow: visible; } }
.cart-panel:focus { outline: none; }
.cart-panel h2 { font-size: 1.5rem; }
.cart-panel h3 { font-size: 1.1rem; margin: 1.1rem 0 .6rem; }
.cart-empty { color: var(--muted); margin: 0; }
.cart-lines, .sum-lines { list-style: none; margin: 0 0 1rem; padding: 0; }
.cart-line { padding: .75rem 0; border-bottom: 1px dashed var(--line); }
.cl-top { display: flex; justify-content: space-between; gap: 1rem; }
.cl-ctl { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: .45rem; }
.cl-each { color: var(--muted); font-size: .85rem; }
.cl-ctl .link-btn { margin-left: auto; }
.sum-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.tip-group { border: 0; padding: 0; margin: 0 0 .5rem; }
.tip-group legend { font-weight: 600; font-size: .93rem; padding: 0; margin-bottom: .4rem; }
.tip-options { display: flex; flex-wrap: wrap; gap: .45rem; }
.tip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tip-opt span { display: inline-block; padding: .4rem .85rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: .92rem; font-weight: 500; }
.tip-opt input:checked + span { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.tip-opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.tip-custom { margin-top: .75rem; }
.totals { margin: 1rem 0; }
.totals > div { display: flex; justify-content: space-between; padding: .25rem 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.totals .grand { border-top: 2px solid var(--ink); margin-top: .4rem; padding-top: .6rem; font-size: 1.2rem; }
.totals .grand dt { color: var(--ink); font-weight: 700; }
.cart-bar { display: none; }
@media (max-width: 1000px) {
  .cart-bar { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 90; display: flex; justify-content: space-between; align-items: center; background: var(--terracotta); color: #fff; text-decoration: none; padding: .85rem 1.25rem; border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; }
  .cart-bar:hover { color: #fff; background: var(--terracotta-dark); }
}
@media (max-width: 800px) { .cart-link { display: inline-flex; margin-right: .5rem; } .nav-list .nav-order .cart-badge { display: none; } }

/* Payment (simulated) */
.pay-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .pay-layout { grid-template-columns: 1fr; } }
.test-banner { margin: 1rem 0; padding: 1.25rem 1.5rem; background: #fff3cd; border: 3px dashed var(--terracotta); border-radius: var(--radius); color: #5a1f10; display: grid; gap: .5rem; }
.test-banner-big { font-family: var(--font-serif); font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.pill-test { display: inline-block; background: #1f1814; color: #ffd36b; font-size: .72rem; font-weight: 700; letter-spacing: .12em; padding: .2rem .6rem; border-radius: 6px; }
.pay-panel { background: #fff; border: 1px solid #d6dbe4; border-radius: 12px; padding: 1.5rem; box-shadow: 0 6px 24px rgba(30,40,70,.10); }
.pay-head { display: flex; align-items: center; gap: .85rem; padding-bottom: 1rem; margin-bottom: 1.25rem; border-bottom: 1px solid #e6e9ef; }
.pay-head h2 { font-family: var(--font-sans); font-size: 1.15rem; margin: 0; }
.pay-head h2:focus { outline: none; }
.pay-head small { font-weight: 400; color: var(--muted); font-size: .8em; }
.pay-head .pill-test { margin-left: auto; }
.pay-lock { font-size: 1.5rem; }
.pay-sub { font-size: .85rem; color: var(--muted); }
.pay-declined { background: #fdecea; border: 2px solid #e5736a; color: #8c1d18; border-radius: 10px; padding: .9rem 1rem; margin-bottom: 1.1rem; }
.btn-pay { background: #2b3a67; }
.btn-pay:hover { background: #1d2850; }
.btn-pay:disabled { opacity: .6; cursor: progress; }
.pay-status { color: var(--muted); font-size: .92rem; }
.test-cards { margin-top: 1.25rem; padding: 1rem; background: #f4f6fa; border-radius: 10px; font-size: .92rem; }
.test-cards p { margin: 0 0 .5rem; }
.test-card-row { display: grid; gap: .25rem; }
.test-card-row .link-btn { text-align: left; font-size: .92rem; }
.pay-fine { color: var(--muted); font-size: .85rem; margin-top: .75rem !important; }
.pay-summary h3 { margin-top: 0; }
.order-number { font-family: var(--font-serif); font-size: 1.4em; letter-spacing: .04em; }
.secure-list { padding-left: 1.1rem; margin: 0; }
.secure-list li { margin-bottom: .6rem; }

/* Credits */
.table-wrap { overflow-x: auto; }
.credits-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--paper); }
.credits-table th, .credits-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits-table thead th { background: var(--sand); }
.credits-table tbody th { font-weight: 600; }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.25rem); box-shadow: 0 2px 8px rgba(42,33,27,.05); }
.panel h2, .panel h3 { margin-bottom: .75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: .35rem; }
.field .req { color: var(--terracotta); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1.5px solid #d3c3a9; border-radius: 10px; background: #fff; color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(201,154,62,.45); border-color: var(--gold); }
.field .hint { font-size: .83rem; color: var(--muted); margin-top: .3rem; }
.field .error { display: none; color: #b3261e; font-size: .86rem; margin-top: .3rem; font-weight: 500; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; background: #fff8f7; }
.field.invalid .error { display: block; }
.form-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.form-error-summary { background: #fdecea; border: 1px solid #f1b7b1; color: #8c1d18; border-radius: 10px; padding: .85rem 1rem; margin-bottom: 1.25rem; font-size: .95rem; }
.alert { border-radius: var(--radius); padding: 1.5rem; }
.alert-success { background: #eef3dc; border: 1px solid #c9d6a0; }
.alert-success h2, .alert-success h3 { color: var(--olive-dark); }
.summary-list { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.25rem; margin: 1rem 0 1.25rem; }
.summary-list dt { font-weight: 600; color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 500; word-break: break-word; }
.demo-note { font-size: .88rem; color: var(--muted); background: var(--sand); border-radius: 10px; padding: .75rem 1rem; margin-top: 1.25rem; }
.saved-list { list-style: none; padding: 0; margin: 0; }
.saved-list li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .75rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.saved-list li:last-child { border-bottom: 0; }
.link-btn { background: none; border: 0; color: var(--terracotta-dark); text-decoration: underline; cursor: pointer; font: inherit; font-size: .88rem; padding: .25rem; }
.side-info h3 { margin-top: 0; }
.side-info ul { padding-left: 1.1rem; color: var(--muted); }
.side-info li { margin-bottom: .4rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-block { margin-bottom: 1.75rem; }
.info-block h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.info-block address { font-style: normal; }
.map-frame { width: 100%; height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sand); }
.map-caption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }

/* Footer */
.site-footer { background: #1f1814; color: #cdbfa9; padding: 3.5rem 0 1.5rem; font-size: .96rem; }
.site-footer a { color: #e9dcc5; }
.site-footer a:hover { color: var(--gold); }
.site-footer h3 { color: #fff; font-size: 1.1rem; font-family: var(--font-serif); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer address { font-style: normal; }
.sample-notice { margin-top: 2.5rem; padding: 1rem 1.25rem; border: 1px dashed #6b5a48; border-radius: 10px; color: #e9dcc5; font-size: .9rem; text-align: center; }
.sample-notice strong { color: var(--gold); }
.copyright { text-align: center; margin: 1.25rem 0 0; font-size: .85rem; color: #968872; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print { .site-header, .demo-banner, .site-footer, .cta, .menu-controls, .cart-bar, .order-demo-strip { display: none; } body { background: #fff; } }
