:root {
  color-scheme: light; --ink:#2b231b; --cream:#fff8ed; --paper:#fffdfa;
  --red:#982f22; --red-dark:#732217; --gold:#e7ac4c; --olive:#466246;
  --border:#e7ded1; --muted:#716459; --shadow:0 14px 38px #3b1f0c13;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); line-height:1.6; font-size:16px; }
a { color:inherit; }
button,input,textarea,select { font:inherit; }
button,a,input,textarea,select { -webkit-tap-highlight-color: transparent; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.5; }
:focus-visible { outline:3px solid #d19027; outline-offset:3px; }
.layout { width:min(1180px,calc(100% - 48px)); margin-inline:auto; }
.site-header { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:17px clamp(20px,5vw,80px); background:var(--paper); border-bottom:1px solid var(--border); position:sticky; top:0; z-index:10; }
.wordmark { font-family:Georgia,serif; color:var(--red); font-size:clamp(22px,2.4vw,30px); line-height:1; text-decoration:none; white-space:nowrap; }
.wordmark strong { font-weight:700; }
.wordmark span { display:block; font-family:system-ui,sans-serif; font-size:10px; letter-spacing:.14em; font-weight:700; margin-top:7px; color:var(--muted); }
nav { display:flex; align-items:center; gap:clamp(14px,2.5vw,30px); }
nav a { text-decoration:none; font-size:14px; font-weight:650; white-space:nowrap; }
nav a:hover { color:var(--red); }
.nav-toggle { display:none; border:1px solid var(--border); background:var(--paper); border-radius:6px; padding:6px 14px; }
.demo-banner { padding:8px 16px; text-align:center; background:#fff1ce; font-size:14px; font-weight:650; }
.hero { display:grid; grid-template-columns:1.05fr .95fr; min-height:520px; background:var(--cream); }
.hero-copy { align-self:center; padding:65px 34px 65px max(32px,calc((100vw - 1180px)/2)); }
h1,h2,h3,p { margin-top:0; }
h1,h2 { font-family:Georgia,"Times New Roman",serif; line-height:1.13; font-weight:700; letter-spacing:-.025em; }
h1 { font-size:clamp(40px,5.5vw,72px); margin-bottom:22px; }
h1 em { color:var(--red); font-weight:400; }
h2 { font-size:clamp(30px,3.8vw,46px); margin-bottom:16px; }
h3 { line-height:1.3; margin-bottom:9px; }
.eyebrow { font-size:12px; color:var(--red); font-weight:800; letter-spacing:.15em; margin-bottom:12px; }
.hero-description { color:var(--muted); font-size:19px; max-width:520px; }
.button { display:inline-flex; justify-content:center; align-items:center; min-height:44px; padding:11px 17px; font-weight:750; font-size:14px; border-radius:7px; border:1px solid transparent; text-decoration:none; line-height:1.2; }
.button.primary { color:#fff; background:var(--red); }
.button.primary:hover:not(:disabled) { background:var(--red-dark); }
.button.secondary { color:var(--ink); background:var(--paper); border-color:#d9cbbd; }
.button.secondary:hover { border-color:var(--red); color:var(--red); }
.hero .button { margin-right:8px; margin-top:8px; }
.hero-art { background:radial-gradient(circle at 55% 38%,#eead4b,#bc6129 58%,#8e3623 94%); position:relative; overflow:hidden; min-height:280px; display:flex; align-items:center; justify-content:center; }
.hero-art .sun { width:65%; aspect-ratio:1; border:1px solid #fff4d29c; border-radius:50%; box-shadow:0 0 0 22px #fff4d214,0 0 0 44px #fff4d20f; position:absolute; }
.tamal { width:28%; height:60%; max-height:310px; position:absolute; background:repeating-linear-gradient(85deg,#efcb87 0,#d5aa65 3px,#edc88c 5px,#f2d99f 15px); border-radius:14% 19% 24% 12%; box-shadow:9px 17px 26px #54240977, inset -12px 0 22px #93602740; border:2px solid #f8dc9e65; }
.tamal-one { transform:translateX(-58%) rotate(-21deg); }
.tamal-two { transform:translateX(5%) rotate(7deg); }
.tamal-three { transform:translateX(61%) rotate(27deg); }
.art-caption { position:absolute; bottom:25px; color:#fff6dc; text-transform:uppercase; letter-spacing:.2em; font-size:12px; font-weight:700; }
.section { padding-block:62px; scroll-margin-top:105px; }
.section-intro { max-width:650px; }
.section-intro p,.story-copy { color:var(--muted); }
.product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:24px; }
.product-card { border:1px solid var(--border); border-radius:12px; background:#fff; padding:25px; min-height:215px; box-shadow:var(--shadow); }
.product-card h3 { font-family:Georgia,serif; font-size:25px; }
.product-card .price { font-size:17px; font-weight:750; color:var(--red); margin-top:16px; }
.cart-stepper { display:flex; align-items:center; gap:14px; margin-top:15px; }
.cart-stepper strong { min-width:28px; text-align:center; }
.cart-preview { margin-top:22px; border:1px solid var(--border); border-radius:12px; background:#fff; padding:24px; box-shadow:var(--shadow); }
.cart-preview h3 { font-family:Georgia,serif; font-size:27px; }
.cart-lines { margin-top:16px; }
.cart-line { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid var(--border); }
.cart-totals { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:18px; }
.cart-totals strong { color:var(--red); font-size:25px; }
.badge { display:inline-block; padding:4px 9px; font-size:13px; font-weight:650; border-radius:999px; background:#eee6d9; color:#655133; white-space:normal; }
.badge.available { background:#e7f2e7; color:#315833; }
.badge.sold-out { background:#f5e3de; color:#8a3428; }
.section-tint { background:#f9ebd5; }
.section-dark { background:#263b2a; color:white; }
.section-dark .eyebrow { color:#f5c66a; }
.split { display:grid; grid-template-columns:1fr 1fr; gap:38px; align-items:center; }
.info-card { border:1px solid #e2d1b9; border-radius:12px; padding:22px; background:#fff9ef; }
.club-card { background:#35533a; border-color:#6d896c; }
.window-line { padding-bottom:8px; border-bottom:1px solid var(--border); }
.muted { color:var(--muted); }
.small { font-size:13px; }
.block { display:block; }
footer { border-top:1px solid var(--border); padding:26px clamp(20px,5vw,80px); display:flex; justify-content:space-between; flex-wrap:wrap; font-size:14px; color:var(--muted); }
.notice { border:1px solid #d9cdbb; background:#fff8eb; padding:12px 14px; border-radius:7px; margin-block:16px; }
.notice.error { color:#862a20; background:#fff0ed; border-color:#edc4bc; }
.field { display:flex; flex-direction:column; gap:6px; font-weight:650; color:var(--ink); font-size:14px; min-width:0; }
.field input,.field textarea,.field select,select,input.quantity-input { padding:11px; border:1px solid #cfc0b0; border-radius:7px; background:#fff; color:var(--ink); min-width:0; width:100%; }
.field.narrow { max-width:420px; }
.field.checks { display:flex; flex-direction:row; gap:18px; align-items:center; flex-wrap:wrap; }
.field.checks input { width:auto; }
.field.checks label,.field.checks span { display:flex; align-items:center; gap:7px; }
.admin-body { background:#f6f2ec; }
.admin-nav { display:flex; flex-wrap:wrap; }
.dashboard { padding-block:24px 64px; }
.dashboard h1 { font-size:clamp(32px,4vw,46px); }
.dashboard h2 { font-size:27px; margin-bottom:10px; }
.dashboard h3 { font-family:system-ui,sans-serif; font-size:17px; }
.dashboard-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-block:20px; }
.panel { background:var(--paper); border:1px solid var(--border); border-radius:12px; padding:24px; margin-bottom:20px; box-shadow:var(--shadow); }
.login-panel { max-width:500px; margin:36px auto; }
.form-grid { display:grid; gap:15px; margin-top:16px; }
.two-columns { grid-template-columns:1fr 1fr; }
.full { grid-column:1/-1; }
.details-panel { margin-top:18px; padding:14px; border:1px solid var(--border); border-radius:7px; }
summary { cursor:pointer; font-weight:700; }
.window-controls { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top:12px; }
.table-scroll { overflow-x:auto; }
table { border-collapse:collapse; width:100%; min-width:660px; }
th,td { padding:12px 10px; text-align:left; border-bottom:1px solid var(--border); vertical-align:top; font-size:14px; }
th { color:var(--muted); font-weight:700; }
.available-text { font-weight:800; color:var(--olive); }
.quantity-controls { display:flex; align-items:center; gap:6px; white-space:nowrap; }
.quantity-controls .quantity-input,.quantity-card .quantity-input { width:85px; text-align:center; }
.button.compact { min-height:35px; font-size:12px; padding:6px 9px; }
.order-products { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.quantity-card { padding:12px; border:1px solid var(--border); border-radius:8px; display:flex; justify-content:space-between; gap:10px; align-items:center; }
.quantity-card small { display:block; }
.order-total { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:14px; border:1px solid var(--border); border-radius:8px; background:#f9f4ea; }
.order-total strong { display:block; font-size:24px; color:var(--red); }
.order-actions { min-width:160px; }
.order-actions .button { margin:0 6px 6px 0; }
@media(max-width:850px) {
  .site-header { gap:14px; flex-wrap:wrap; }
  .nav-toggle { display:block; }
  #site-nav { display:none; width:100%; flex-direction:column; align-items:flex-start; padding-block:10px; gap:14px; }
  #site-nav.open { display:flex; }
  .hero { grid-template-columns:1fr; }
  .hero-copy { padding:46px 24px; }
  .hero-art { min-height:300px; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .split { grid-template-columns:1fr; gap:12px; }
}
@media(max-width:560px) {
  .layout { width:calc(100% - 28px); }
  .product-grid,.two-columns,.order-products { grid-template-columns:1fr; }
  .section { padding-block:42px; }
  .panel { padding:17px; }
  .dashboard-heading { align-items:flex-start; flex-wrap:wrap; }
  .hero h1 { font-size:42px; }
}

/* Keep anchor navigation available on small screens without JavaScript. */
@media (max-width: 850px) {
  #site-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-block: 4px;
  }
  #site-nav a {
    padding-block: 4px;
  }
}
