/* Taste of Puebla — site styles
   Brand: green script logo on warm kraft/cream, bold condensed display type.
   Display: Anton · Body: Karla */

:root {
  --green-900: #223012;   /* ink */
  --green-700: #3c5a1e;   /* brand green (headings, accents) */
  --green-600: #4a7729;   /* logo green */
  --olive: #55632d;       /* buttons */
  --olive-dark: #414d21;
  --red: #b53a26;         /* chili accent — used sparingly */
  --cream: #faf6ee;       /* page background */
  --cream-2: #f3ecdd;     /* alt section background */
  --paper: #efe6d2;
  --ink: #26301c;
  --ink-soft: #55604a;
  --line: #ddd3bd;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(38, 48, 28, .12);
  --radius: 14px;
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Karla', 'Helvetica Neue', Arial, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream) url('/img/site/pattern-bg.webp');
  background-size: 480px auto;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
a:hover { color: var(--olive-dark); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.08;
  margin: 0 0 .5em;
  color: var(--green-900);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: .03em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-alt { position: relative; background: var(--cream-2); border-bottom: 1px solid var(--line); }
/* torn-kraft top edge: a wavy cream-2 strip sitting just above the section, overlapping the
   previous section's bottom padding. Decorative only. */
.section-alt::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 17px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 16' preserveAspectRatio='none'%3E%3Cpath fill='%23f3ecdd' d='M0 9C10 6 22 11 34 8S56 3 68 6S90 11 102 7S124 3 138 6S160 10 172 7S196 4 208 7S230 10 240 9V16H0Z'/%3E%3C/svg%3E") left bottom / 240px 17px repeat-x;
}
/* .has-floaters clips with overflow:hidden, which would hide the edge. Where supported, clip
   only horizontally (no sideways scroll from floaters) and use clip-path to keep the bottom +
   sides clipped while letting the 17px edge show above. Older browsers keep a flat edge. */
@supports (overflow: clip) {
  .section-alt.has-floaters { overflow: visible; overflow-x: clip; clip-path: inset(-17px 0 0 0); }
}
.section-title { text-align: center; }
.section-title::after {
  content: ""; display: block; width: 64px; height: 4px; margin: 14px auto 0;
  background: var(--green-600); border-radius: 2px;
}
.section-kicker {
  text-align: center; color: var(--red); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; margin: 0 0 6px;
}
.lead { font-size: 1.1rem; color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  font-size: 1rem; padding: 13px 28px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
  min-height: 48px;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--olive); color: #fff; }
.btn-primary:hover { background: var(--olive-dark); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #942e1d; color: #fff; }
.btn-outline { background: transparent; border-color: var(--olive); color: var(--olive-dark); }
.btn-outline:hover { background: var(--olive); color: #fff; }
.btn-ghost { background: transparent; color: var(--green-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--olive); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-lg { font-size: 1.15rem; padding: 16px 36px; }

:focus-visible { outline: 3px solid var(--green-600); outline-offset: 2px; border-radius: 4px; }

/* ---------- header ---------- */
#site-header { min-height: 85px; } /* reserve space so JS-injected header never shifts layout: 10px pad x2 + 64px logo + 1px border */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
/* smart header (classes set by site.js): transform-only so nothing below shifts */
.site-header.compact { box-shadow: 0 6px 20px rgba(38, 48, 28, .08); }
.site-header.compact .site-logo img { transform: scale(.82); }
.site-header.header-hidden { transform: translateY(-110%); }
.site-header.header-hidden:focus-within { transform: none; }
.site-header .bar {
  max-width: var(--container); margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 14px;
}
.site-logo img { width: 150px; height: auto; transform-origin: left center; transition: transform .3s ease; }
/* "Open now" pill */
.open-pill {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: .78rem; font-weight: 700; color: var(--ink-soft);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
}
.open-pill.is-open { color: var(--green-700); }
.open-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex-shrink: 0; box-shadow: 0 0 5px rgba(181, 58, 38, .55); }
.open-pill.is-open .open-dot { background: #3f9a2a; box-shadow: none; animation: openPulse 2s ease-out infinite; }
@keyframes openPulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 154, 42, .55); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(63, 154, 42, 0); }
}
/* hidden on phones, and on the narrow-desktop band where the full nav needs the room */
@media (max-width: 639px), (min-width: 921px) and (max-width: 1199px) { .open-pill { display: none; } }
.site-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.site-nav a {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em;
  font-size: .95rem; color: var(--green-900); text-decoration: none;
  padding: 10px 12px; border-radius: 8px;
}
.site-nav a:hover { background: var(--paper); }
.site-nav a[aria-current="page"] { color: var(--green-600); box-shadow: inset 0 -3px 0 var(--green-600); border-radius: 8px 8px 0 0; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: .95rem; letter-spacing: .05em; text-transform: uppercase;
  background: var(--olive); color: #fff; border-radius: 999px; padding: 10px 18px;
  text-decoration: none; min-height: 44px;
}
.cart-btn:hover { background: var(--olive-dark); color: #fff; }
.cart-count.cart-bump { animation: cartBump .4s ease; }
@keyframes cartBump { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.25); } }
.cart-btn .cart-count {
  background: var(--red); color: #fff; border-radius: 999px; font-family: var(--font-body);
  font-size: .75rem; font-weight: 700; min-width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; cursor: pointer; min-height: 44px; min-width: 44px;
}
.nav-toggle svg { display: block; }
.lang-toggle {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-display); font-size: .85rem; letter-spacing: .06em;
  color: var(--green-900); padding: 10px 14px; cursor: pointer; min-height: 44px; min-width: 48px;
}
.lang-toggle:hover { border-color: var(--olive); color: var(--olive-dark); }

.site-nav a { white-space: nowrap; }
@media (min-width: 921px) and (max-width: 1279px) {
  .site-header .bar { gap: 12px; }
  .site-nav { gap: 2px; }
  .site-nav a { padding: 10px 9px; letter-spacing: .04em; }
}
/* fitHeader() in site.js keeps the bar on one line in any language: when the links
   still wrap it adds .pill-off (drop the open pill), then .nav-collapsed (menu button). */
.site-header.pill-off .open-pill { display: none; }
.site-header.nav-collapsed .nav-toggle { display: inline-flex; align-items: center; }
.site-header.nav-collapsed .cart-btn { margin-left: auto; }
.site-header.nav-collapsed .site-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; align-items: stretch; gap: 0; margin-left: 0;
  background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  box-shadow: var(--shadow);
}
.site-header.nav-collapsed .site-nav.open { display: flex; }
.site-header.nav-collapsed .site-nav a { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; letter-spacing: .05em; }
.site-header.nav-collapsed .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green-600); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  /* cart stays visible in the bar on mobile — only the links collapse */
  .cart-btn { margin-left: auto; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin-left: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green-600); }
}
@media (max-width: 480px) {
  .cart-btn .cart-word { display: none; }
  .site-logo img { width: 118px; }
  #site-header { min-height: 71px; } /* 20px pad + ~50px logo + 1px border */
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .container {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center;
  min-height: min(72vh, 640px); padding-top: 40px; padding-bottom: 40px;
}
.hero h1 { font-size: clamp(2.8rem, 7.5vw, 5.2rem); }
.hero h1 .accent { color: var(--green-600); }
.hero .lead { max-width: 34rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.hero-photo img { width: 100%; height: auto; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.badge-pill {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: .85rem; font-weight: 700; color: var(--ink-soft);
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-photo { order: -1; max-width: 460px; margin: 0 auto; }
}

/* ---------- product grid ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px;
}
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.product-card img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.card-img { display: block; overflow: hidden; border-radius: 10px; }
.card-img img { transition: transform .45s ease; }
.product-card:hover .card-img img { transform: scale(1.05); }
.product-card h3 { margin: 10px 0 0; font-size: 1.05rem; }
.product-card .price { color: var(--green-700); font-weight: 700; margin: 0; }
.product-card .tag-row { margin: 0; }
.tag {
  display: inline-block; background: var(--cream-2); border: 1px solid var(--line);
  color: var(--ink-soft); border-radius: 999px; padding: 2px 10px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-right: 6px;
}
.card-actions { margin-top: auto; display: flex; gap: 8px; align-items: center; padding-top: 10px; }
.card-actions .btn { padding: 9px 18px; font-size: .85rem; min-height: 40px; flex: 1; }
/* sold out */
.card-img { position: relative; }
.sold-ribbon { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; border-radius: 6px; padding: 3px 10px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.product-card.is-sold-out .card-img img { filter: grayscale(.6); opacity: .8; }
.sold-badge { display: inline-block; vertical-align: middle; margin-left: 10px; background: var(--red); color: #fff; border-radius: 6px; padding: 2px 10px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.cart-line.sold-out img { filter: grayscale(1); opacity: .6; }
.cart-line.sold-out .line-price { text-decoration: line-through; color: var(--ink-soft); }
.sold-flag { color: var(--red); font-weight: 700; font-size: .85rem; }

/* ---------- product detail ---------- */
.product-detail { padding-top: 28px; padding-bottom: 64px; }
.breadcrumb { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-detail-photo { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); width: fit-content; max-width: 100%; }
.product-detail-photo img { aspect-ratio: 1; object-fit: cover; }
.product-detail-info .price { font-size: 1.5rem; font-weight: 700; color: var(--green-700); margin: 0 0 10px; }
.ingredients { color: var(--ink-soft); font-size: .95rem; }
.buy-row { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; margin-top: 22px; }
.qty-field input { width: 84px; }
.pickup-note { color: var(--ink-soft); font-size: .9rem; margin-top: 16px; }
.related { margin-top: 72px; }
@media (max-width: 820px) { .product-detail-grid { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 700; font-size: .9rem; }
.field .req { color: var(--red); }
input, select, textarea {
  font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; min-height: 48px; width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green-600); outline: 2px solid rgba(74, 119, 41, .25); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .span-2 { grid-column: span 2; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: span 1; } }
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow);
}
.form-msg { border-radius: 10px; padding: 14px 16px; margin-top: 16px; font-weight: 700; display: none; }
.form-msg.ok { display: block; background: #e8f1de; color: #2c4a12; border: 1px solid #b9d29a; }
.form-msg.err { display: block; background: #f9e5e0; color: #8a2a18; border: 1px solid #e4b3a8; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- catering menu ---------- */
.menu-section h3 { color: var(--green-700); }
.menu-note { color: var(--ink-soft); font-size: .95rem; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.menu-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.menu-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.menu-item-head h4 {
  margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: .03em; color: var(--green-900);
}
.menu-price { font-weight: 700; color: var(--red); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.menu-extra { font-size: .88rem; color: var(--green-700); font-weight: 700; }

/* ---------- split feature sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split.reverse > .split-photo { order: 2; }
.split-photo { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-photo img { width: 100%; object-fit: cover; }
@media (max-width: 820px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse > .split-photo { order: 0; } }

/* ---------- logo strips ---------- */
.logo-strip {
  display: flex; flex-wrap: wrap; gap: 26px 40px; align-items: center; justify-content: center;
}
.logo-strip img {
  height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75;
  transition: filter .2s ease, opacity .2s ease;
}
.logo-strip img:hover { filter: none; opacity: 1; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.store-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.store-card img { height: 72px; width: auto; object-fit: contain; }
.store-card strong { font-size: .95rem; }

/* ---------- market cards ---------- */
.market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.market-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.market-card h4 { margin: 0 0 4px; font-size: 1rem; }
.market-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.market-card a { font-weight: 700; font-size: .9rem; }
.calendar-embed {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow);
}
.calendar-embed iframe { display: block; width: 100%; height: min(70vh, 640px); border: 0; }

/* ---------- hours / visit ---------- */
.hours-table { width: 100%; border-collapse: collapse; max-width: 420px; }
.hours-table th, .hours-table td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours-table th { text-align: left; font-weight: 400; }
.hours-table td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--green-700); font-weight: 700; }
.contact-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.contact-list a { font-weight: 700; }

/* ---------- steps / help ---------- */
.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.help-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.help-card ol { margin: 10px 0 0; padding-left: 20px; color: var(--ink-soft); }
.help-card li { margin-bottom: 8px; }
.temp-note { font-size: .85rem; color: var(--red); font-weight: 700; }

/* ---------- cart ---------- */
.cart-lines { display: grid; gap: 14px; }
.cart-line {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px;
}
.cart-line img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.cart-line .variant { color: var(--ink-soft); font-size: .88rem; }
.cart-line-right { display: flex; flex-direction: column; align-items: end; gap: 6px; }
.cart-line-right .line-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-stepper button {
  background: var(--cream-2); border: none; width: 44px; height: 44px; font-size: 1.1rem; cursor: pointer;
}
.qty-stepper button:hover { background: var(--paper); }
.qty-stepper button[disabled] { opacity: .35; cursor: default; }
.qty-stepper span { min-width: 36px; text-align: center; font-weight: 700; }
.remove-line { background: none; border: none; color: var(--red); font-size: .85rem; cursor: pointer; padding: 10px 8px; min-height: 44px; font-weight: 700; }
.cart-summary {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  position: sticky; top: 90px;
}
.cart-summary .total-row { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 700; margin: 8px 0 16px; }
.cart-page-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .cart-page-grid { grid-template-columns: 1fr; } .cart-summary { position: static; } }
.cart-empty { text-align: center; padding: 60px 0; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: var(--green-900); color: #fff; border-radius: 999px; padding: 12px 24px;
  font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 300;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast a { color: #fff; text-decoration: underline; margin-left: 12px; }

/* floating ingredient decorations (parallax wrapper + gentle bob on the img) */
.has-floaters { position: relative; overflow: hidden; }
.has-floaters > .container { position: relative; z-index: 1; }
.floater { position: absolute; pointer-events: none; user-select: none; z-index: 0; will-change: transform; }
.floater img {
  width: 100%; height: auto; display: block;
  animation: floaty var(--dur, 7s) ease-in-out var(--delay, 0s) infinite;
  filter: drop-shadow(0 10px 14px rgba(38, 48, 28, .14));
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-16px) rotate(calc(var(--rot, 0deg) + 4deg)); }
}
@media (max-width: 860px) { .floater { display: none; } }

/* reorder banner */
.reorder-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--cream-2); border: 1px solid var(--line); border-left: 5px solid var(--green-600);
  border-radius: 10px; padding: 14px 20px; margin-bottom: 22px; font-weight: 700;
}

/* checkout marketing opt-in */
.checkbox-inline { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.checkbox-inline input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--green-600); flex-shrink: 0; }

/* checkout pickup location (kitchen vs farmers-market stand) */
.store-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.market-fields { display: grid; gap: 8px; }
.pickup-choice { border: 0; background: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pickup-choice legend { font-family: var(--font-body); text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 700; font-size: .9rem; padding: 0; margin-bottom: 6px; }
.pickup-opt { display: flex; gap: 10px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; }
.pickup-opt input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--green-600); flex-shrink: 0; }
.pickup-opt > span { display: flex; flex-direction: column; line-height: 1.3; }
.pickup-opt small { color: var(--ink-soft); font-size: .82rem; margin-top: 3px; }
.pickup-opt:has(input:checked) { border-color: var(--green-600); box-shadow: inset 0 0 0 1px var(--green-600); background: var(--cream); }
.pickup-opt:focus-within { outline: 2px solid var(--green-600); outline-offset: 2px; }
.store-fields[hidden], .market-fields[hidden], .pickup-choice[hidden] { display: none !important; }
.oc-market { font-size: 1.15rem; font-weight: 700; color: var(--green-700); }

/* shop filter chips */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-family: var(--font-body); font-weight: 700; font-size: .88rem;
  color: var(--ink-soft); cursor: pointer; min-height: 40px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--olive); color: var(--olive-dark); }
.chip.active { background: var(--olive); border-color: var(--olive); color: #fff; }
.shop-section { margin-bottom: 44px; }
.shop-section h2 { font-size: 1.4rem; margin-bottom: 18px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- footer ---------- */
.site-footer { background: var(--green-900); color: #e9e9dc; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid {
  max-width: var(--container); margin: 0 auto; padding: 56px 20px 32px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 32px;
}
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .08em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .fine {
  border-top: 1px solid rgba(255,255,255,.15); text-align: center; padding: 18px 20px;
  font-size: .85rem; color: rgba(233,233,220,.7);
}
.footer-logo { width: 170px; filter: brightness(0) invert(1); opacity: .9; }
.footer-subscribe { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
/* Turnstile bot check: takes no space unless Cloudflare asks for a click */
.ts-box { width: 100%; max-width: 420px; margin: 4px 0 14px; min-height: 0; }
.ts-box:empty { display: none; }
.footer-subscribe .ts-box { flex-basis: 100%; }
.ts-hint { margin: 10px 0 6px; font-weight: 700; font-size: .95rem; color: var(--green-900); }
.site-footer .ts-hint { color: inherit; }
.footer-subscribe input[type="email"] {
  flex: 1; min-width: 160px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
  color: #fff; border-radius: 999px; padding: 10px 16px; min-height: 44px;
}
.footer-subscribe input[type="email"]::placeholder { color: rgba(233,233,220,.6); }
.footer-subscribe .btn { padding: 10px 20px; font-size: .85rem; min-height: 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- admin ---------- */
.admin-page { background: var(--cream); padding: 0 16px 60px; }
.admin-login { max-width: 380px; margin: 12vh auto 0; display: grid; gap: 16px; background: var(--white); padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.admin-error { max-width: 380px; margin: 4vh auto -8vh; color: var(--red); font-weight: 700; text-align: center; }
.admin-header { max-width: 1280px; margin: 0 auto; padding: 24px 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-header h1 { font-size: 1.6rem; margin: 0; }
.admin-tabs { max-width: 1280px; margin: 0 auto 18px; display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 2px solid var(--line); }
.admin-tab { text-decoration: none; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; padding: 10px 16px; color: var(--ink-soft); border-radius: 8px 8px 0 0; }
.admin-tab.active { color: var(--green-900); box-shadow: inset 0 -3px 0 var(--green-600); }
.admin-tab .badge { background: var(--red); color: #fff; border-radius: 999px; padding: 1px 8px; font-family: var(--font-body); font-size: .75rem; }
.stat-strip {
  max-width: 1280px; margin: 0 auto 18px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px;
}
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--green-900); }
.stat-label { font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.flag-bad { background: var(--red); color: #fff; border-radius: 6px; padding: 2px 8px; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.row-spam td { opacity: .55; }
.admin-body { max-width: 1280px; margin: 0 auto; overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th { text-align: left; background: var(--cream-2); padding: 12px 14px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table .empty { text-align: center; color: var(--ink-soft); padding: 48px; }
.status-select { min-height: 40px; padding: 6px 10px; width: auto; }
.admin-toolbar { padding: 12px 14px 0; margin: 0; }
.print-only { display: none; }
/* products tab */
.prod-wrap { padding: 8px 18px 24px; }
.prod-wrap h2 { font-size: 1.25rem; margin: 22px 0 8px; }
.prod-line { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin: 0 0 10px; }
.prod-line > .field { flex: 1 1 180px; }
.prod-line > .prod-narrow { flex: 0 1 110px; }
.prod-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.prod-row.is-hidden { opacity: .7; }
.prod-row .field { margin-bottom: 8px; }
.prod-img { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; }
.prod-img img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.prod-img input { font-size: .75rem; min-height: 0; padding: 4px 6px; width: 100%; }
.prod-img small, .prod-head small { color: var(--ink-soft); }
.prod-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.prod-actions { align-items: center; }
.prod-chk { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .9rem; }
.prod-chk input { width: auto; min-height: 0; }
.prod-msg { font-size: .9rem; font-weight: 700; }
.prod-msg.good { color: var(--green-700); }
.prod-msg.bad { color: var(--red); }
@media (max-width: 640px) { .prod-row { grid-template-columns: 1fr; } }
@media print {
  .admin-page { background: #fff; padding: 0; color: #000; }
  .admin-header, .admin-tabs, .stat-strip, .status-select, .no-print { display: none !important; }
  .print-only { display: inline; }
  .admin-body { border: 0; border-radius: 0; max-width: none; overflow: visible; }
  .admin-table { font-size: 10pt; color: #000; }
  .admin-table th { background: #fff; color: #000; border-bottom: 2px solid #000; }
  .admin-table td { border-bottom: 1px solid #999; }
  .admin-table tr { break-inside: avoid; }
  .admin-table a { color: #000; text-decoration: none; }
}

/* ---------- misc ---------- */
.page-hero { padding: clamp(36px, 6vw, 72px) 0 0; text-align: center; }
.page-hero .lead { max-width: 46rem; margin-inline: auto; }
.notice-box {
  background: var(--cream-2); border: 1px solid var(--line); border-left: 5px solid var(--red);
  border-radius: 10px; padding: 16px 20px; font-size: .95rem; color: var(--ink-soft);
}
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 18px; }
.checkbox-grid label { display: flex; gap: 10px; align-items: center; font-size: .95rem; min-height: 34px; cursor: pointer; }
.checkbox-grid input { width: 20px; height: 20px; min-height: 0; accent-color: var(--green-600); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 20px; background: var(--white); }
legend { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: var(--green-700); padding: 0 8px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--green-900); color: #fff;
  padding: 10px 18px; z-index: 500; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ================= motion =================
   Load entrances animate FROM hidden TO the natural state, so the global reduced-motion kill
   below leaves everything visible. Scroll-reveal hidden states live only inside the
   no-preference query and only apply once site.js has tagged elements (.reveal on html.anim). */

@view-transition { navigation: auto; }

@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes photoSettle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes wipeAway { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes imgSettle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes drawStroke { from { stroke-dashoffset: 1; opacity: 0; } 8% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* hero entrance (homepage) */
/* everything settles by ~0.55s: 0.4s rise + max 0.15s stagger */
.hero h1, .hero .lead, .hero .hero-cta, .hero .hero-badges { animation: riseIn .4s cubic-bezier(.2, .7, .2, 1) both; }
.hero .lead { animation-delay: .05s; }
.hero .hero-cta { animation-delay: .1s; }
.hero .hero-badges { animation-delay: .15s; }
.hero-photo img { animation: photoSettle .55s cubic-bezier(.2, .7, .2, 1) both; }

/* photo wipe panels */
.split-photo::after, .product-detail-photo::after {
  content: ""; position: absolute; inset: 0; background: var(--green-700); pointer-events: none;
  transform: scaleX(0); transform-origin: right center; transition: transform .7s cubic-bezier(.7, 0, .3, 1);
}
/* product page photo is always above the fold, so it wipes on load (keyframes, kill-safe) */
.product-detail-photo::after { animation: wipeAway .8s cubic-bezier(.7, 0, .3, 1) .1s both; }
.product-detail-photo img { animation: imgSettle 1s cubic-bezier(.2, .7, .2, 1) .1s both; }

/* scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  html.anim .reveal { transition: opacity .65s ease-out, transform .65s cubic-bezier(.2, .7, .2, 1); }
  html.anim .reveal:not(.in-view):not(.split-photo) { opacity: 0; transform: translateY(24px); }
  html.anim .split-photo.reveal img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
  html.anim .split-photo.reveal:not(.in-view) img { transform: scale(1.06); }
  html.anim .split-photo.reveal:not(.in-view)::after { transform: scaleX(1); }
}

/* fly-to-cart clone */
.fly-img {
  position: fixed; z-index: 400; pointer-events: none; margin: 0; max-width: none;
  object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); will-change: transform;
}

/* food marquee band (homepage) */
.food-marquee { overflow: hidden; background: var(--green-700); color: var(--paper); padding: 14px 0 26px; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-set, .mq-phrase { display: flex; flex-shrink: 0; margin: 0; }
.mq-phrase > * {
  margin-right: .6em; white-space: nowrap; font-style: normal;
  font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase;
}
.mq-phrase > i { color: #b5cd8a; }
.food-marquee:hover .marquee-track, .logo-marquee:hover .logo-track { animation-play-state: paused; }

/* client logo marquee */
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.logo-marquee .logo-strip { flex-wrap: nowrap; flex-shrink: 0; justify-content: flex-start; padding: 6px 20px; }

/* order-confirmed moment */
.oc-check circle, .oc-check path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.oc-check circle { transform: rotate(-90deg); transform-origin: center; transform-box: fill-box; animation: drawStroke .55s ease-out .1s both; }
.oc-check path { animation: drawStroke .4s ease-out .55s both; }
.oc-enter { animation: riseIn .6s cubic-bezier(.2, .7, .2, 1) .45s both; }
.oc-enter-2 { animation-delay: .6s; }
.oc-enter-3 { animation-delay: .75s; }

/* ---------- seasonal welcome splash (built by site.js only when motion is allowed) ---------- */
.season-splash {
  position: fixed; inset: 0; z-index: 1000; overflow: hidden; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 24px 20px;
  background: var(--cream) url('/img/site/pattern-bg.webp'); background-size: 480px auto;
  opacity: 0; transition: opacity .3s ease;
}
.season-splash.is-in { opacity: 1; }
.season-splash.is-out { opacity: 0; transition-duration: .6s; }
.season-splash:focus { outline: none; }
.season-fx { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.season-box { position: relative; z-index: 1; max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.season-logo { width: min(340px, 70vw); height: auto; margin: 0 auto 18px; animation: seasonSettle .9s cubic-bezier(.2, .7, .2, 1) both; }
.season-title {
  margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(2rem, 8.5vw, 4.4rem); line-height: 1.05; color: var(--green-900);
  overflow-wrap: break-word; text-wrap: balance; max-width: 100%;
}
.season-sub { margin: 12px 0 0; font-size: clamp(1rem, 3.6vw, 1.25rem); color: var(--ink); text-wrap: balance; max-width: 100%; }
.season-p { position: absolute; top: 0; animation: seasonFall 6s linear infinite; will-change: transform; }
.season-p > i { display: block; animation: seasonSway 2.4s ease-in-out infinite alternate; background-position: center; background-size: contain; background-repeat: no-repeat; }
.leaf-0 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C97B2E' d='M12 1.5C6.5 5.5 3.8 11 5.6 16.6 7 20.4 9.4 22 12 22s5-1.6 6.4-5.4C20.2 11 17.5 5.5 12 1.5z'/%3E%3Cpath d='M12 4.5V23M12 10l-3.5-2.5M12 10l3.5-2.5M12 15l-4.5-3M12 15l4.5-3' stroke='%23000' stroke-opacity='.22' stroke-width='1' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.leaf-1 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23A84B22' d='M12 1.5C6.5 5.5 3.8 11 5.6 16.6 7 20.4 9.4 22 12 22s5-1.6 6.4-5.4C20.2 11 17.5 5.5 12 1.5z'/%3E%3Cpath d='M12 4.5V23M12 10l-3.5-2.5M12 10l3.5-2.5M12 15l-4.5-3M12 15l4.5-3' stroke='%23000' stroke-opacity='.22' stroke-width='1' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.leaf-2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23D9A441' d='M12 1.5C6.5 5.5 3.8 11 5.6 16.6 7 20.4 9.4 22 12 22s5-1.6 6.4-5.4C20.2 11 17.5 5.5 12 1.5z'/%3E%3Cpath d='M12 4.5V23M12 10l-3.5-2.5M12 10l3.5-2.5M12 15l-4.5-3M12 15l4.5-3' stroke='%23000' stroke-opacity='.22' stroke-width='1' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.season-p > .leaf { animation-name: seasonLeaf; }
.season-p > .dot { border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(90, 70, 40, .28); }
.season-p > .flake { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cg stroke='%23fff' stroke-width='1.6' stroke-linecap='round' fill='none'%3E%3Cg id='a'%3E%3Cpath d='M0-10.5V10.5M0-7l-2.6-2.4M0-7l2.6-2.4M0 7l-2.6 2.4M0 7l2.6 2.4'/%3E%3C/g%3E%3Cuse href='%23a' transform='rotate(60)'/%3E%3Cuse href='%23a' transform='rotate(120)'/%3E%3C/g%3E%3C/svg%3E"); filter: drop-shadow(0 0 2px rgba(90, 70, 40, .35)); }
@keyframes seasonFall {
  from { transform: translateY(-15vh); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  to { transform: translateY(110vh); opacity: 0; }
}
@keyframes seasonSway { from { transform: translateX(-18px); } to { transform: translateX(18px); } }
@keyframes seasonLeaf { from { transform: translateX(-22px) rotate(-35deg); } to { transform: translateX(22px) rotate(40deg); } }
@keyframes seasonSettle { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }

/* Thanksgiving turkey dash (spawned by JS only during the season; never intercepts taps) */
.turkey-run {
  position: fixed; bottom: 1.5vh; left: 0; z-index: 240; pointer-events: none;
  width: 96px; height: 86px; transform: translateX(-130px);
  animation: turkeyDash linear forwards;
}
@keyframes turkeyDash { from { transform: translateX(-130px); } to { transform: translateX(calc(100vw + 150px)); } }
.turkey-run svg { width: 100%; height: 100%; display: block; animation: turkeyBob .34s ease-in-out infinite; filter: drop-shadow(0 8px 10px rgba(38,48,28,.18)); }
@keyframes turkeyBob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2.5deg); } }
.turkey-run .tleg { transform-box: fill-box; transform-origin: 50% 8%; animation: turkeyLeg .24s linear infinite; }
.turkey-run .tleg2 { animation-delay: .12s; }
@keyframes turkeyLeg { 0%, 100% { transform: rotate(30deg); } 50% { transform: rotate(-30deg); } }
@media (max-width: 600px) { .turkey-run { width: 66px; height: 59px; bottom: 1vh; } }

/* Christmas sleigh glide (spawned by JS only during the season; never intercepts taps) */
.sleigh-run {
  position: fixed; top: 11vh; left: 0; z-index: 240; pointer-events: none;
  width: 348px; height: 120px; transform: translateX(-380px);
  animation: sleighGlide linear forwards;
}
@keyframes sleighGlide { from { transform: translateX(-380px); } to { transform: translateX(calc(100vw + 400px)); } }
.sleigh-run svg { width: 100%; height: 100%; display: block; overflow: visible; animation: sleighBob 2.1s ease-in-out infinite; filter: drop-shadow(0 12px 14px rgba(38,48,28,.22)); }
@keyframes sleighBob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(-1.5deg); } }
/* galloping legs, waving Santa, glowing nose, twinkling stardust, jingling bells */
.sleigh-run .rleg { transform-box: fill-box; transform-origin: 50% 0; animation: rGallop .42s ease-in-out infinite alternate; }
.sleigh-run .rleg-b, .sleigh-run .rleg-b2 { animation-name: rGallopBack; }
@keyframes rGallop { from { transform: rotate(-42deg); } to { transform: rotate(18deg); } }
@keyframes rGallopBack { from { transform: rotate(38deg); } to { transform: rotate(-16deg); } }
.sleigh-run .santa-wave { transform-box: fill-box; transform-origin: 90% 95%; animation: santaWave .9s ease-in-out infinite alternate; }
@keyframes santaWave { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
.sleigh-run .rnose-glow { animation: noseGlow 1.1s ease-in-out infinite alternate; }
@keyframes noseGlow { from { opacity: .35; } to { opacity: 1; } }
.sleigh-run .sp { animation: spTwinkle 1.2s ease-in-out infinite alternate; }
@keyframes spTwinkle { from { opacity: .15; } to { opacity: 1; } }
.sleigh-run .bells { transform-box: fill-box; transform-origin: 50% 0; animation: bellJingle .25s ease-in-out infinite alternate; }
@keyframes bellJingle { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@media (max-width: 600px) { .sleigh-run { width: 210px; height: 72px; top: 10vh; } }

/* ---------- Find Us locator (js/locator.js) ---------- */
.loc-lead { text-align: center; max-width: 42rem; margin: -2px auto 28px; }
.loc-shell {
  display: grid; grid-template-columns: minmax(300px, 380px) 1fr; height: 640px;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(38, 48, 28, .14);
}
.loc-rail { display: flex; flex-direction: column; min-height: 0; background: var(--cream); border-right: 1px solid var(--line); }
.loc-tools { display: flex; align-items: center; gap: 8px; padding: 14px 14px 12px; background: var(--white); border-bottom: 1px solid var(--line); }
.loc-chips { display: flex; gap: 6px; flex-wrap: nowrap; }
.loc-chip, .loc-near {
  font: 700 .82rem var(--font-body); color: var(--ink-soft); background: var(--cream);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; min-height: 36px; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.loc-chip:hover, .loc-near:hover { border-color: var(--olive); color: var(--olive-dark); }
.loc-chip.active { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.loc-near { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; background: var(--white); padding: 5px 12px; min-height: 32px; }
.loc-near.active { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.loc-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px 2px 18px; }
.loc-count { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.loc-list { list-style: none; margin: 0; padding: 4px 12px 16px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.loc-empty { padding: 30px 10px; text-align: center; color: var(--ink-soft); }
.loc-card {
  margin-top: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.loc-card:hover { border-color: #c9bd9f; }
.loc-card.is-active { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(74, 119, 41, .16); }
.loc-card-main {
  display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: start; width: 100%;
  padding: 14px 14px 8px; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.loc-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; overflow: hidden; background: #e4ecd8; }
.kind-kitchen .loc-ico { background: #f7e1da; }
.kind-store .loc-ico { background: #fff; border: 1px solid var(--line); }
.loc-ico img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.loc-name { display: block; font-weight: 700; line-height: 1.25; color: var(--green-900); }
.loc-sched { display: block; margin-top: 3px; font-size: .86rem; font-weight: 700; color: var(--green-700); }
.loc-addr { display: block; margin-top: 2px; font-size: .84rem; color: var(--ink-soft); }
.loc-nopin { display: block; margin-top: 3px; font-size: .74rem; font-style: italic; color: var(--ink-soft); }
.loc-dist { font-size: .8rem; font-weight: 700; color: var(--green-700); white-space: nowrap; padding-top: 2px; }
.loc-badge {
  display: inline-block; margin-left: 7px; padding: 2px 8px; border-radius: 999px; vertical-align: 2px;
  font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--green-600); color: #fff;
}
.loc-badge.tomorrow { background: var(--cream-2); color: var(--green-700); box-shadow: inset 0 0 0 1px var(--line); }
.loc-actions, .loc-pop-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.loc-actions { padding: 0 14px 14px 72px; }
.loc-act {
  display: inline-flex; align-items: center; min-height: 34px; padding: 6px 13px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; text-decoration: none; color: var(--green-900);
  background: var(--white); border: 1px solid var(--line); transition: border-color .15s ease, background .15s ease;
}
.loc-act:hover { border-color: var(--olive); color: var(--green-900); }
.loc-act.primary { background: var(--olive); border-color: var(--olive); color: #fff; }
.loc-act.primary:hover { background: var(--olive-dark); color: #fff; }

.loc-map { position: relative; min-width: 0; overflow: hidden; background: #d9e4dc; }
.loc-map::after { /* soft vignette so the map edges feel printed, not cropped */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 70px rgba(34, 48, 18, .12);
}
.loc-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.loc-svg.dragging { cursor: grabbing; }
.loc-county { stroke: #faf6ee; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.st-PA.sh-a { fill: #efe3c9; } .st-PA.sh-b { fill: #e8dabc; } .st-PA.sh-c { fill: #f2e8d2; }
.st-DE { fill: #e3d2ad; }
.st-NJ, .st-MD { fill: #f4efe3; }
.loc-county-lbl { font: 700 10.5px var(--font-body); letter-spacing: .24em; fill: rgba(85, 96, 74, .5); text-anchor: middle; }
.loc-state-lbl { font: 400 30px var(--font-display); letter-spacing: .34em; fill: rgba(34, 48, 18, .085); }
.loc-pin { cursor: pointer; outline: none; }
.loc-pin-body { stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 3px 3px rgba(38, 48, 28, .32)); }
.loc-pin.kind-market .loc-pin-body { fill: var(--green-700); }
.loc-pin.kind-store .loc-pin-body { fill: #D9A441; }
.loc-pin.kind-kitchen .loc-pin-body { fill: var(--red); }
.loc-pin-dot { fill: #fff; }
.loc-pin.kind-store .loc-pin-dot { fill: #6E4A1F; }
.loc-pin.is-active .loc-pin-body { stroke: var(--green-900); stroke-width: 2.5; }
.loc-pin:focus-visible .loc-pin-body { stroke: var(--green-900); stroke-width: 3; }
.loc-pulse { fill: rgba(74, 119, 41, .45); opacity: 0; }
.loc-pin.is-today .loc-pulse { transform-box: fill-box; transform-origin: center; animation: locPulse 2.4s ease-out infinite; }
@keyframes locPulse { 0% { opacity: .85; transform: scale(.5); } 100% { opacity: 0; transform: scale(2.6); } }
.loc-you-halo { fill: rgba(56, 132, 255, .18); }
.loc-you-dot { fill: #3884ff; stroke: #fff; stroke-width: 3; vector-effect: non-scaling-stroke; }

.loc-ctrl { position: absolute; z-index: 2; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 6px; }
.loc-ctrl button {
  width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer;
  font: 700 1.25rem var(--font-body); color: var(--green-900);
  background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: 13px;
  box-shadow: 0 6px 16px rgba(38, 48, 28, .14);
}
.loc-ctrl button:hover { border-color: var(--olive); }
.loc-legend {
  position: absolute; z-index: 2; left: 14px; top: 14px; display: flex; gap: 14px; pointer-events: none;
  padding: 8px 15px; border-radius: 999px; background: rgba(250, 246, 238, .93); border: 1px solid var(--line);
  font-size: .76rem; font-weight: 700; color: var(--ink-soft);
}
.loc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.lg-kitchen { background: var(--red); } .lg-market { background: var(--green-700); } .lg-store { background: #D9A441; }
.loc-pop {
  position: absolute; z-index: 3; width: 268px; padding: 15px 17px; transform: translate(-50%, calc(-100% - 46px));
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 22px 46px rgba(38, 48, 28, .24);
  animation: locPop .22s cubic-bezier(.2, .8, .2, 1);
}
.loc-pop.below { transform: translate(-50%, 16px); }
.loc-pop::after {
  content: ""; position: absolute; left: calc(50% + var(--arrow, 0px)); bottom: -8px; width: 15px; height: 15px;
  background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}
.loc-pop.below::after { top: -8px; bottom: auto; transform: translateX(-50%) rotate(225deg); }
@keyframes locPop { from { opacity: 0; margin-top: 8px; } to { opacity: 1; margin-top: 0; } }
.loc-pop h4 { margin: 6px 0 4px; font: 400 1.15rem/1.15 var(--font-display); text-transform: uppercase; letter-spacing: .02em; color: var(--green-900); padding-right: 22px; }
.loc-kind { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.loc-pop-sched { margin: 0; font-size: .88rem; font-weight: 700; color: var(--green-700); }
.loc-pop-addr { margin: 2px 0 12px; font-size: .84rem; color: var(--ink-soft); }
.loc-pop-x { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border: 0; background: none; font-size: 1.3rem; line-height: 1; color: var(--ink-soft); cursor: pointer; border-radius: 10px; }
.loc-pop-x:hover { background: var(--cream-2); }

@media (max-width: 960px) {
  .loc-shell { grid-template-columns: 1fr; height: auto; }
  .loc-map { order: -1; height: 56vh; min-height: 330px; max-height: 470px; }
  .loc-rail { border-right: 0; border-top: 1px solid var(--line); }
  .loc-list { overflow: visible; }
  .loc-tools { overflow-x: auto; scrollbar-width: none; }
  .loc-chips { flex-wrap: nowrap; }
  .loc-chip, .loc-near { white-space: nowrap; }
  .loc-pop { width: 236px; }
}
@media (max-width: 480px) {
  .loc-legend { gap: 10px; padding: 6px 11px; font-size: .7rem; }
  .loc-actions { padding-left: 14px; }
}
@media (pointer: coarse) { .loc-svg { touch-action: pan-y; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  /* static logo row instead of a frozen, clipped marquee */
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-track { width: auto; justify-content: center; }
  .logo-marquee .logo-strip { flex-wrap: wrap; flex-shrink: 1; justify-content: center; }
  .logo-marquee .logo-strip[aria-hidden="true"] { display: none; }
}

/* ---------- Instagram band (home) ---------- */
.ig-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-bottom: 26px; }
.ig-head h2 { margin: 0 0 8px; }
.ig-head .lead { margin: 0; max-width: 36rem; }
.ig-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--green-900); color: #fff; border-color: var(--green-900); white-space: nowrap; }
.ig-btn:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ig-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.ig-over { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(34, 48, 18, .5); opacity: 0; transition: opacity .25s ease; }
.ig-tile:hover img, .ig-tile:focus-visible img { transform: scale(1.06); }
.ig-tile:hover .ig-over, .ig-tile:focus-visible .ig-over { opacity: 1; }
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (max-width: 560px) { .ig-head { align-items: flex-start; } .ig-btn { width: 100%; justify-content: center; } .ig-grid { gap: 8px; } .ig-tile { border-radius: 10px; } }
@media (prefers-reduced-motion: reduce) { .ig-tile img, .ig-over { transition: none; } .ig-tile:hover img { transform: none; } }
.ig-link { display: inline-flex; align-items: center; gap: 7px; }
.ig-link svg { flex-shrink: 0; }

/* ---------- holiday special: Christmas Eve tamales ---------- */
.xmas-special {
  position: relative; overflow: hidden; color: #f4efe2;
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 164, 65, .22) 0 2px, transparent 3px) 0 0 / 46px 46px,
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .12) 0 1.5px, transparent 2.5px) 0 0 / 34px 34px,
    linear-gradient(135deg, #1d2a10 0%, #2c4216 55%, #223012 100%);
  padding: clamp(40px, 7vw, 72px) 0;
}
.xmas-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.xmas-photo { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.xmas-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid #f4efe2; box-shadow: 0 0 0 3px var(--red), 0 18px 40px rgba(0, 0, 0, .35); }
.xmas-copy { min-width: 0; }
.xmas-kicker { margin: 0 0 6px; color: #D9A441; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; }
.xmas-special h2 { color: #fff; margin: 0; font-size: clamp(2rem, 5.2vw, 3.3rem); line-height: 1.02; text-wrap: balance; }
.xmas-price { margin: 14px 0 18px; display: flex; align-items: baseline; gap: 8px; font-size: 1.05rem; color: #e8dfc8; }
.xmas-amt { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: #fff; }
.xmas-facts { margin: 0 0 24px; display: grid; gap: 10px; }
.xmas-facts > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(244, 239, 226, .16); }
.xmas-facts dt { margin: 0; color: #D9A441; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; padding-top: 3px; }
.xmas-facts dd { margin: 0; color: #f4efe2; }
.xmas-cta { margin: 0; }
.xmas-cta .btn-red { box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
@media (max-width: 760px) {
  .xmas-grid { grid-template-columns: 1fr; text-align: left; }
  .xmas-photo { max-width: 240px; }
  .xmas-facts > div { grid-template-columns: 80px 1fr; }
  .xmas-cta .btn { width: 100%; justify-content: center; text-align: center; }
}

.promo-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 14px;
  padding: 9px max(16px, env(safe-area-inset-left, 0px)); background: var(--green-900); color: #f4efe2;
  font-size: .9rem; text-align: center; text-decoration: none; line-height: 1.35;
}
.promo-bar strong { color: #D9A441; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; white-space: nowrap; }
.promo-bar strong::after { content: ' →'; }
.promo-bar:hover { color: #fff; }
.promo-bar:hover strong { color: #f0c46a; }

.special-ribbon { position: absolute; top: 10px; left: 10px; background: var(--green-900); color: #f4efe2; border-radius: 6px; padding: 3px 10px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; box-shadow: 0 0 0 2px var(--red); }
.product-card.is-special { box-shadow: 0 0 0 2px var(--red); }
.plus-tax { font-size: .8em; font-weight: 500; color: var(--ink-soft); }
.special-when { margin: 0; color: var(--red); font-size: .88rem; font-weight: 700; }
.special-facts { margin: 4px 0 18px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.special-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.special-facts > div:last-child { border-bottom: 0; }
.special-facts dt { margin: 0; font-weight: 700; color: var(--green-700); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; padding-top: 3px; }
.special-facts dd { margin: 0; }

.cart-summary .tax-row { color: var(--ink-soft); font-size: 1rem; font-weight: 500; margin: -10px 0 8px; }
.cart-summary .grand-row { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 0; }
.special-box { border: 2px solid var(--red); border-radius: var(--radius); padding: 14px 16px; background: #fff7f3; display: grid; gap: 8px; }
.special-box p { margin: 0; }
.special-box-head { font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.special-agree { font-weight: 700; align-items: flex-start; }
.special-agree input { margin-top: 4px; }

/* festive layer for the Christmas Eve feature: papel picado, snow, poinsettias, twinkling ring */
.xmas-special { padding-top: clamp(86px, 10vw, 110px); }
.xmas-special .container { position: relative; z-index: 2; }
.xmas-snow, .xmas-snow::after {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; content: "";
  background-image:
    radial-gradient(2.4px 2.4px at 20px 30px, rgba(255,255,255,.9) 50%, transparent 52%),
    radial-gradient(1.8px 1.8px at 90px 140px, rgba(255,255,255,.8) 50%, transparent 52%),
    radial-gradient(2.8px 2.8px at 150px 70px, rgba(255,255,255,.85) 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 60px 190px, rgba(255,255,255,.7) 50%, transparent 52%),
    radial-gradient(2.2px 2.2px at 180px 170px, rgba(255,255,255,.75) 50%, transparent 52%);
  background-size: 210px 210px;
  animation: xmasSnow 14s linear infinite;
  opacity: .55;
}
.xmas-snow::after { background-size: 320px 320px; animation-duration: 22s; opacity: .7; transform: scale(1.4); transform-origin: top left; }
@keyframes xmasSnow { from { background-position: 0 0; } to { background-position: 40px 210px; } }

.xmas-picado {
  position: absolute; top: 0; left: 0; right: 0; height: 74px; z-index: 1; pointer-events: none;
  display: flex; justify-content: space-between; padding: 0 max(8px, 1.5vw);
}
.xmas-picado::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: rgba(244, 239, 226, .6); }
.xmas-picado span {
  --c: #b53a26;
  width: 6.2%; min-width: 30px; max-width: 76px; height: 62px; margin-top: 9px;
  background: var(--c); transform-origin: 50% 0;
  animation: picadoSway 3.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.37s);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 87.5% 100%, 75% 84%, 62.5% 100%, 50% 84%, 37.5% 100%, 25% 84%, 12.5% 100%, 0 84%);
  -webkit-mask:
    radial-gradient(circle at 50% 44%, transparent 0 6px, #000 6.6px) 0 0 / 100% 100% no-repeat,
    radial-gradient(circle at 50% 44%, #000 0 11px, transparent 11.5px 15px, #000 15.5px) 0 0 / 100% 100% no-repeat,
    radial-gradient(circle at 50% 9px, transparent 0 2.1px, #000 2.6px) 0 0 / 9px 100% repeat-x,
    radial-gradient(circle at 50% calc(100% - 17px), transparent 0 1.8px, #000 2.3px) 0 0 / 9px 100% repeat-x;
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle at 50% 44%, transparent 0 6px, #000 6.6px) 0 0 / 100% 100% no-repeat,
    radial-gradient(circle at 50% 44%, #000 0 11px, transparent 11.5px 15px, #000 15.5px) 0 0 / 100% 100% no-repeat,
    radial-gradient(circle at 50% 9px, transparent 0 2.1px, #000 2.6px) 0 0 / 9px 100% repeat-x,
    radial-gradient(circle at 50% calc(100% - 17px), transparent 0 1.8px, #000 2.3px) 0 0 / 9px 100% repeat-x;
  mask-composite: intersect;
  opacity: .95;
}
.xmas-picado span:nth-child(4n+2) { --c: #D9A441; }
.xmas-picado span:nth-child(4n+3) { --c: #5d8f33; }
.xmas-picado span:nth-child(4n+4) { --c: #f4efe2; }
@keyframes picadoSway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }

.xmas-photo::before {
  content: ""; position: absolute; inset: -16px; border-radius: 50%; pointer-events: none;
  border: 4px dotted #D9A441; animation: xmasRing 60s linear infinite, xmasTwinkle 1.6s ease-in-out infinite alternate;
}
@keyframes xmasRing { to { transform: rotate(360deg); } }
@keyframes xmasTwinkle { from { opacity: .55; filter: drop-shadow(0 0 0 rgba(217,164,65,0)); } to { opacity: 1; filter: drop-shadow(0 0 6px rgba(240,196,106,.9)); } }
.xmas-flower { position: absolute; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
.xmas-flower-a { width: 34%; top: -9%; left: -9%; transform: rotate(-12deg); animation: xmasBloom 6s ease-in-out infinite alternate; }
.xmas-flower-b { width: 24%; bottom: -4%; right: -5%; transform: rotate(18deg); animation: xmasBloom 7s ease-in-out infinite alternate-reverse; }
@keyframes xmasBloom { from { scale: 1; } to { scale: 1.06; } }
.xmas-lead { margin: 14px 0 0; max-width: 34rem; color: #e8dfc8; font-size: 1.08rem; }
.xmas-kicker { color: #f0c46a; }
@media (max-width: 760px) {
  .xmas-picado span { min-width: 22px; height: 46px; }
  .xmas-picado span:nth-child(n+11) { display: none; }
  .xmas-photo::before { inset: -11px; }
}
@media (prefers-reduced-motion: reduce) {
  .xmas-snow, .xmas-snow::after, .xmas-picado span, .xmas-photo::before, .xmas-flower { animation: none; }
}
.card-flower { position: absolute; right: 6px; bottom: 6px; width: 54px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3)); pointer-events: none; }
.product-detail-photo.is-festive { position: relative; overflow: visible; }
.product-detail-photo.is-festive .xmas-flower-a { width: 26%; top: -6%; left: -6%; }
.product-detail-photo.is-festive .xmas-flower-b { width: 18%; bottom: -4%; right: -4%; }
.product-detail-photo.is-festive img { border-radius: var(--radius); }

/* ---------- admin: Email List (compose + send) ---------- */
.camp { display: grid; gap: 18px; padding: 16px; }
.camp-stats { margin: 0; }
.camp-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: #fff; }
.camp-card h2 { font-size: 1.25rem; margin: 0 0 12px; }
.camp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.camp-head h2 { margin: 0; }
.camp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.camp-wide { grid-column: 1 / -1; }
.camp-form small { font-weight: 400; color: var(--ink-soft); }
.camp-es { display: grid; gap: 12px; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; background: var(--cream); }
.camp-actions, .camp-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.camp-send { padding-top: 12px; border-top: 1px solid var(--line); justify-content: space-between; }
.camp-test { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.camp-test input { min-width: 230px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.camp-msg { margin: 0; font-weight: 700; min-height: 1.4em; }
.camp-msg.is-bad { color: var(--red); }
.camp-msg.is-good { color: var(--green-700); }
.camp-preview { width: 100%; height: 760px; border: 1px solid var(--line); border-radius: 12px; margin-top: 16px; background: var(--cream); }
.camp-note { color: var(--ink-soft); font-size: .92rem; margin: 14px 0 0; }
#camp-import { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; margin-bottom: 10px; }
@media (max-width: 760px) { .camp-form { grid-template-columns: 1fr; } .camp { padding: 10px; } }

/* ===== Christmas Eve feature, detail pass: cut-paper garland, wreath, gift tag, ornaments ===== */
.xmas-special { padding-top: clamp(96px, 11vw, 124px); padding-bottom: clamp(56px, 8vw, 84px); }
.xmas-special::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 70% 80% at 28% 55%, rgba(255, 214, 120, .10), transparent 60%), radial-gradient(ellipse at 50% 120%, rgba(0, 0, 0, .35), transparent 60%); }
/* scalloped bottom edge into the next (cream) section */
.xmas-special::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 11px 15px, var(--cream-2) 10px, transparent 10.5px) 0 0 / 22px 15px repeat-x; }

/* garland: detailed cut-paper flags hanging from a sagging string */
.xmas-picado { height: 104px; padding: 0 max(10px, 2vw); }
.xmas-picado::before { display: none; }
.xmas-string { position: absolute; left: 0; top: 6px; width: 100%; height: 34px; overflow: visible; }
.xmas-picado span {
  width: 5.6%; min-width: 30px; max-width: 70px; height: auto; aspect-ratio: 60 / 74;
  margin-top: calc(10px + var(--y, 0px));
  background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .12)), var(--c);
  clip-path: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2060%2074%27%3E%3Cpath%20fill%3D%27%23fff%27%20fill-rule%3D%27evenodd%27%20d%3D%27M0%200H60V62H0ZM6.3%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM13.600000000000001%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM20.900000000000002%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM28.2%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM35.5%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM42.8%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM50.099999999999994%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM30%2020.5L31.9%2027.4L38.1%2023.9L34.6%2030.1L41.5%2032L34.6%2033.9L38.1%2040.1L31.9%2036.6L30%2043.5L28.1%2036.6L21.9%2040.1L25.4%2033.9L18.5%2032L25.4%2030.1L21.9%2023.9L28.1%2027.4ZM27.8%2032a2.2%202.2%200%201%200%204.4%200a2.2%202.2%200%201%200%20-4.4%200ZM30%2011.5L33%2015.5L30%2019.5L27%2015.5ZM30%2044.5L33%2048.5L30%2052.5L27%2048.5ZM13%2027.4L16.4%2032L13%2036.6L9.6%2032ZM47%2027.4L50.4%2032L47%2036.6L43.6%2032ZM14%2014.8L16.2%2017L14%2019.2L11.8%2017ZM46%2014.8L48.2%2017L46%2019.2L43.8%2017ZM14%2044.8L16.2%2047L14%2049.2L11.8%2047ZM46%2044.8L48.2%2047L46%2049.2L43.8%2047ZM4.6%2056h2.8v4h-2.8ZM12.6%2056h2.8v4h-2.8ZM20.6%2056h2.8v4h-2.8ZM28.6%2056h2.8v4h-2.8ZM36.6%2056h2.8v4h-2.8ZM44.6%2056h2.8v4h-2.8ZM52.6%2056h2.8v4h-2.8Z%27%2F%3E%3Cpath%20fill%3D%27%23fff%27%20d%3D%27M0.9%2062h3.2v12h-3.2ZM5.9%2062h3.2v12h-3.2ZM10.9%2062h3.2v12h-3.2ZM15.9%2062h3.2v12h-3.2ZM20.9%2062h3.2v12h-3.2ZM25.9%2062h3.2v12h-3.2ZM30.9%2062h3.2v12h-3.2ZM35.9%2062h3.2v12h-3.2ZM40.9%2062h3.2v12h-3.2ZM45.9%2062h3.2v12h-3.2ZM50.9%2062h3.2v12h-3.2ZM55.9%2062h3.2v12h-3.2Z%27%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2060%2074%27%3E%3Cpath%20fill%3D%27%23fff%27%20fill-rule%3D%27evenodd%27%20d%3D%27M0%200H60V62H0ZM6.3%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM13.600000000000001%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM20.900000000000002%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM28.2%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM35.5%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM42.8%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM50.099999999999994%207a1.7%201.7%200%201%200%203.4%200a1.7%201.7%200%201%200%20-3.4%200ZM30%2020.5L31.9%2027.4L38.1%2023.9L34.6%2030.1L41.5%2032L34.6%2033.9L38.1%2040.1L31.9%2036.6L30%2043.5L28.1%2036.6L21.9%2040.1L25.4%2033.9L18.5%2032L25.4%2030.1L21.9%2023.9L28.1%2027.4ZM27.8%2032a2.2%202.2%200%201%200%204.4%200a2.2%202.2%200%201%200%20-4.4%200ZM30%2011.5L33%2015.5L30%2019.5L27%2015.5ZM30%2044.5L33%2048.5L30%2052.5L27%2048.5ZM13%2027.4L16.4%2032L13%2036.6L9.6%2032ZM47%2027.4L50.4%2032L47%2036.6L43.6%2032ZM14%2014.8L16.2%2017L14%2019.2L11.8%2017ZM46%2014.8L48.2%2017L46%2019.2L43.8%2017ZM14%2044.8L16.2%2047L14%2049.2L11.8%2047ZM46%2044.8L48.2%2047L46%2049.2L43.8%2047ZM4.6%2056h2.8v4h-2.8ZM12.6%2056h2.8v4h-2.8ZM20.6%2056h2.8v4h-2.8ZM28.6%2056h2.8v4h-2.8ZM36.6%2056h2.8v4h-2.8ZM44.6%2056h2.8v4h-2.8ZM52.6%2056h2.8v4h-2.8Z%27%2F%3E%3Cpath%20fill%3D%27%23fff%27%20d%3D%27M0.9%2062h3.2v12h-3.2ZM5.9%2062h3.2v12h-3.2ZM10.9%2062h3.2v12h-3.2ZM15.9%2062h3.2v12h-3.2ZM20.9%2062h3.2v12h-3.2ZM25.9%2062h3.2v12h-3.2ZM30.9%2062h3.2v12h-3.2ZM35.9%2062h3.2v12h-3.2ZM40.9%2062h3.2v12h-3.2ZM45.9%2062h3.2v12h-3.2ZM50.9%2062h3.2v12h-3.2ZM55.9%2062h3.2v12h-3.2Z%27%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
  -webkit-mask-composite: source-over; mask-composite: add;
  transform-origin: 50% 0; animation: picadoSway2 3.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.41s);
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .25));
}
@keyframes picadoSway2 { from { transform: rotate(calc(var(--r, 0deg) - 3deg)); } to { transform: rotate(calc(var(--r, 0deg) + 3deg)); } }

/* wreath around the plate */
.xmas-photo::before { display: none; }
.xmas-photo img { border-width: 5px; box-shadow: 0 0 0 2px #d9a441, 0 18px 40px rgba(0, 0, 0, .35); }
.xmas-wreath { position: absolute; left: -12%; top: -12%; width: 124%; height: auto; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); }
.xmas-wreath .wl { animation: wreathTwinkle 2.4s ease-in-out infinite alternate; filter: drop-shadow(0 0 5px rgba(255, 215, 122, .95)); }
@keyframes wreathTwinkle { from { opacity: .35; } to { opacity: 1; } }
.xmas-wreath .wbow { transform-origin: 300px 552px; animation: bowNod 5s ease-in-out infinite alternate; }
@keyframes bowNod { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
.xmas-flower-a { width: 30%; top: -14%; left: -14%; z-index: 2; }
.xmas-flower-b { display: none; }

/* type details */
.xmas-script { margin: 0 0 2px; font-family: 'Kaushan Script', 'Brush Script MT', cursive; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1; color: #f0c46a; transform: rotate(-4deg); transform-origin: left center; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.xmas-kicker { color: #e8dfc8; letter-spacing: .2em; font-size: .78rem; margin: 10px 0 8px; }
.xmas-orn { display: flex; align-items: center; gap: 10px; max-width: 260px; margin: 14px 0 4px; color: #d9a441; }
.xmas-orn span { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(217, 164, 65, 0), #d9a441 30%, #d9a441 70%, rgba(217, 164, 65, 0)); }
.xmas-orn svg { width: 16px; height: 16px; filter: drop-shadow(0 0 6px rgba(240, 196, 106, .8)); }

/* offer: hanging gift tag + facts with gold icons */
.xmas-offer { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; margin: 22px 0 26px; }
.xmas-tag {
  position: relative; margin-top: 30px; padding: 14px 18px 14px 30px; display: grid; justify-items: center;
  background: linear-gradient(170deg, #fbf4e3, #efe2c4); color: var(--green-900); border-radius: 4px 10px 10px 4px;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%);
  transform-origin: 8px 50%; animation: tagSwing 4.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3));
}
.xmas-tag::before { content: ""; position: absolute; left: 12px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #2c4216; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.xmas-tag::after { content: ""; position: absolute; inset: 5px 5px 5px 22px; border: 1px dashed rgba(181, 58, 38, .55); border-radius: 3px 7px 7px 3px; pointer-events: none; }
.xmas-tag-amt { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--red); }
.xmas-tag-tax { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
@keyframes tagSwing { from { transform: rotate(-4deg); } to { transform: rotate(3deg); } }
.xmas-offer .xmas-facts { margin: 0; }
.xmas-facts > div { grid-template-columns: 112px 1fr; }
.xmas-facts dt { display: flex; align-items: center; gap: 7px; }
.xmas-facts dt svg { width: 17px; height: 17px; flex: none; color: #d9a441; }

/* button shine */
.xmas-cta .btn-red { position: relative; overflow: hidden; }
.xmas-cta .btn-red::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent); transform: skewX(-20deg); animation: xmasShine 5s ease-in-out infinite; }
@keyframes xmasShine { 0%, 60% { left: -60%; } 85%, 100% { left: 130%; } }

@media (max-width: 760px) {
  .xmas-picado { height: 80px; }
  .xmas-picado span { min-width: 24px; }
  .xmas-picado span:nth-child(n+12) { display: none; }
  .xmas-offer { grid-template-columns: 1fr; gap: 14px; }
  .xmas-tag { justify-self: start; margin-top: 0; }
  .xmas-facts > div { grid-template-columns: 100px 1fr; }
  .xmas-photo { max-width: 250px; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .xmas-picado span, .xmas-wreath .wl, .xmas-wreath .wbow, .xmas-tag, .xmas-cta .btn-red::after { animation: none; }
}
