:root {
  --yellow: #F6DD2A;
  --brown: #2A1A12;
  --red: #C0272D;
  --red-dark: #9E1F24;
  --green: #2E7D4F;
  --blue: #5BC5EE;
  --cream: #FFF8E6;
  --muted: #6B5A4E;
  --line: #E8DCC0;
  --radius: 14px;
  --head: 'Alfa Slab One', Georgia, serif;
  --label: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--brown); font: 18px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.section { padding: 48px 16px; }
.section-title { text-align: center; }
.center { text-align: center; }
.center img { margin: 0 auto 16px; }
.lead { font-size: 1.2rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.eyebrow { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: .4em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 9; }

/* buttons */
.btn { display: inline-block; background: var(--red); color: #fff; border: 2px solid var(--red); border-radius: 999px; padding: .55em 1.3em; font: 600 1rem var(--body); text-decoration: none; cursor: pointer; transition: transform .1s, background .2s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-ghost:hover { background: var(--brown); color: var(--yellow); border-color: var(--brown); }
.btn-big { font-size: 1.15rem; padding: .7em 1.6em; }
.btn-small { font-size: .9rem; padding: .35em .9em; }

/* header */
.announce { background: var(--brown); color: var(--yellow); text-align: center; padding: 6px 16px; font-size: .95rem; }
.announce a { color: var(--yellow); }
.site-header { background: var(--yellow); border-bottom: 4px solid var(--brown); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); margin-right: auto; }
.brand img { width: 56px; height: 56px; border-radius: 0; }
.brand-name { display: block; font-family: var(--head); font-size: 1.3rem; line-height: 1; }
.brand-maker { display: block; font-family: var(--label); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--brown); text-decoration: none; font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.nav a[aria-current], .nav a:hover { color: var(--red); }
.cart-link { background: var(--brown); color: var(--yellow); text-decoration: none; padding: .35em .8em; border-radius: 999px; font-weight: 700; white-space: nowrap; }
@media (max-width: 860px) {
  .header-row { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; font-size: .9rem; }
  .brand-maker { display: none; }
}

/* hero */
.hero { background: var(--yellow); padding: 40px 0 56px; border-bottom: 4px solid var(--brown); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-img { box-shadow: 0 18px 40px rgba(42, 26, 18, .25); transform: rotate(1.5deg); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-img { transform: none; } }

/* products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { background: #fff; border-radius: var(--radius); border-top: 8px solid var(--accent, var(--yellow)); padding: 16px; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(42,26,18,.08); }
.product-img img { height: 260px; width: auto; margin: 0 auto 12px; object-fit: contain; }
.product-info { display: flex; flex-direction: column; flex: 1; }
.product-info h3 a { color: var(--brown); text-decoration: none; }
.product-info .btn { margin-top: auto; }
.tagline { font-style: italic; }
.price { font-family: var(--label); font-size: 1.35rem; color: var(--red); font-weight: 600; margin-bottom: .6em; }
.price.big { font-size: 1.8rem; }
.price .muted { font-size: 1rem; font-family: var(--body); font-weight: 400; }
.price-rule { background: #fff; border-left: 6px solid var(--red); padding: 12px 16px; border-radius: 8px; }
.heat { display: inline-flex; align-items: center; gap: 1px; margin-bottom: .5em; }
.pep { filter: grayscale(1) opacity(.3); font-size: .95rem; }
.pep.on { filter: none; }
.heat-word { font-family: var(--label); font-size: .85rem; text-transform: uppercase; margin-left: 6px; }
.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .bundle-grid { grid-template-columns: 1fr; } }
.bundle-card { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: 0 2px 10px rgba(42,26,18,.08); }
.bundle-card img { margin-bottom: 12px; aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.product-detail { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.pd-img { background: #fff; border-radius: var(--radius); border-top: 10px solid var(--accent); padding: 20px; }
.pd-img img { margin: 0 auto; max-height: 520px; width: auto; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } .pd-img img { max-height: 340px; } }
.qty-row { display: flex; gap: 10px; align-items: center; margin-bottom: .6em; }
.qty-row input { width: 70px; }
input, textarea { font: inherit; padding: .45em .6em; border: 2px solid var(--line); border-radius: 8px; background: #fff; color: var(--brown); }
input:focus, textarea:focus { outline: none; border-color: var(--red); }
details { background: #fff; border-radius: 10px; padding: 10px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details[open] summary { margin-bottom: .6em; }
.allergen { font-weight: 700; color: var(--red-dark); }
.crumbs { font-size: .9rem; color: var(--muted); }

/* bands & layout */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 1.6em; position: relative; margin-bottom: .5em; }
.ticks li::before { content: '🌶'; position: absolute; left: 0; }
blockquote { margin: 1em 0 0; padding: 12px 16px; background: var(--cream); border-left: 6px solid var(--yellow); font-style: italic; border-radius: 8px; }
.press { background: var(--brown); color: var(--cream); text-align: center; padding: 20px 0; }
.press p { margin: 0; }
.press a { color: var(--yellow); }
.gift { padding-top: 56px; }
.wide-img { margin: 16px 0 24px; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 24px; }
.notice { background: var(--yellow); padding: 8px 12px; border-radius: 8px; }

/* events */
.event-list { display: grid; gap: 14px; margin-bottom: 24px; }
.event-card { display: flex; gap: 16px; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: 0 2px 10px rgba(42,26,18,.08); }
.event-card.past { opacity: .75; }
.event-date { background: var(--yellow); border: 3px solid var(--brown); border-radius: 12px; min-width: 70px; height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.event-date .mon { font-family: var(--label); text-transform: uppercase; font-size: .9rem; }
.event-date .day { font-family: var(--head); font-size: 1.8rem; line-height: 1; }
.event-body h3 { margin-bottom: .2em; }
.event-body h3 a { color: var(--brown); text-decoration: none; }
.event-when { font-weight: 600; margin-bottom: .1em; }
.event-where { color: var(--muted); margin-bottom: .5em; }
.event-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.event-list.compact .event-card { padding: 10px; }

/* recipes / contact */
.recipe-grid, .contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.recipe-card, .contact-card { background: #fff; border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--brown); border-top: 6px solid var(--yellow); box-shadow: 0 2px 10px rgba(42,26,18,.08); }
.recipe-card:hover, .contact-card:hover { border-top-color: var(--red); }
.recipe-card h2, .contact-card h2 { font-size: 1.3rem; }
.recipe { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.recipe ol li, .recipe ul li { margin-bottom: .5em; }
@media (max-width: 860px) { .recipe { grid-template-columns: 1fr; } }

/* tables, cart */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; margin-bottom: 1em; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table th { background: var(--brown); color: var(--yellow); font-family: var(--label); font-weight: 500; }
.shipping-box { background: #fff; border-radius: var(--radius); margin: 0 auto 48px; }
.cart-table img { width: 48px; height: 64px; object-fit: contain; border-radius: 6px; }
.cart-table input { width: 64px; }
.cart-summary { background: #fff; border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; max-width: 520px; margin-left: auto; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 8px 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 700; text-align: right; }
.nudge { background: var(--yellow); padding: 8px 12px; border-radius: 8px; font-weight: 600; }
.nudge:empty { display: none; }
.error { color: var(--red-dark); font-weight: 700; }
.error:empty { display: none; }
.link-btn { background: none; border: 0; color: var(--red); cursor: pointer; font: inherit; text-decoration: underline; }

/* footer */
.site-footer { background: var(--brown); color: var(--cream); margin-top: 48px; padding: 40px 0 16px; }
.site-footer a { color: var(--cream); display: block; margin-bottom: .3em; }
.site-footer a.btn { display: inline-block; color: #fff; margin-top: .5em; }
.site-footer h2 { font-size: 1.1rem; color: var(--yellow); }
.site-footer img { border-radius: 0; margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.legal { border-top: 1px solid rgba(255,248,230,.2); padding-top: 12px; margin-top: 24px; font-size: .9rem; }
.legal a { display: inline; }

/* food photos */
.recipe-card img { display: block; max-width: none; width: calc(100% + 36px); margin: -18px -18px 12px; aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
.recipe-card { overflow: hidden; }
.recipe-photo { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: var(--radius); margin: 8px 0 16px; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.photo-strip a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; }
.photo-strip img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .3s; }
.photo-strip a:hover img { transform: scale(1.04); }
.photo-strip span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-family: 'Oswald', sans-serif; font-size: 1.2rem; letter-spacing: .02em; background: linear-gradient(transparent, rgba(42,26,18,.85)); }
@media (max-width: 640px) { .photo-strip { grid-template-columns: 1fr; } .photo-strip img { aspect-ratio: 4 / 3; } }
.banner-img { display: block; width: 100%; height: 340px; object-fit: cover; object-position: center 70%; border-radius: var(--radius); margin: 8px 0 28px; }
@media (max-width: 640px) { .banner-img { height: 220px; } }
.banner-img.tall { height: 460px; object-position: center 60%; }
.step-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 20px 0; }
.step-photos figure { margin: 0; }
.step-photos img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.step-photos figcaption { font-size: .9rem; margin-top: 4px; color: var(--muted, #6b5a4e); }
blockquote cite { display: block; margin-top: 6px; font-style: normal; font-weight: 600; font-size: .9rem; }
.press-cover { font-size: 1.15rem; margin-bottom: 6px; }
.fb-note { color: var(--muted, #6b5a4e); margin-top: -4px; }
.store-card .event-date .mon, .store-card .event-date .day { font-size: 1rem; }

/* Checkout */
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 860px) { .co-grid { grid-template-columns: 1fr; } }
.co-main fieldset { background: #fff; border: 0; border-radius: var(--radius); padding: 16px 18px; margin: 0 0 16px; display: grid; gap: 10px; min-width: 0; }
.co-main legend { font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; float: left; padding: 0; margin-bottom: 4px; }
.co-main label, .co-summary label { display: grid; gap: 4px; font-size: .95rem; }
.co-main input, .co-main select, .co-main textarea, .co-summary input { width: 100%; box-sizing: border-box; }
select { font: inherit; padding: .45em .4em; border: 2px solid var(--line); border-radius: 8px; background: #fff; color: var(--brown); }
select:focus { outline: none; border-color: var(--red); }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-row-3 { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 520px) { .co-row, .co-row-3 { grid-template-columns: 1fr; } }
.co-summary { background: #fff; border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; position: sticky; top: 100px; }
@media (max-width: 860px) { .co-summary { position: static; } }
.co-summary h2 { font-size: 1.4rem; margin: 0; }
.co-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.co-lines li { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; font-size: .95rem; }
.co-lines img { width: 36px; height: 48px; object-fit: contain; border-radius: 4px; }
.totals .grand { color: var(--brown); font-size: 1.15rem; font-weight: 700; border-top: 1px solid var(--line); padding-top: 6px; }
#card-container { min-height: 90px; }
#pay-btn { width: 100%; }
