:root {
  --ay-cream: #fbf7f1;
  --ay-sand: #efe3d3;
  --ay-paper: #fffdf9;
  --ay-card: #ffffff;
  --ay-terracotta: #c96846;
  --ay-saffron: #d6a340;
  --ay-cocoa: #342824;
  --ay-brown: #713a3a;
  --ay-ink: #342824;
  --ay-muted: #706762;
  --ay-line: #e4d6c5;
  --ay-danger: #d96c5f;
  --ay-success: #388f9d;
  --ay-ticker: #713a3a;
  --ay-soft-shadow: 0 18px 50px rgba(87, 55, 41, .08);
  --ay-radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ay-cream);
  color: var(--ay-ink);
  font-family: "DM Sans", "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(214, 163, 64, .5); outline-offset: 2px; }
.hidden { display: none !important; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.top-band {
  background: var(--ay-cocoa);
  color: #fff8ef;
  font-size: 13px;
  letter-spacing: .02em;
}
.top-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 247, 241, .96);
  border-bottom: 1px solid var(--ay-line);
  backdrop-filter: blur(14px);
}
.header-main {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 16px 0;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}
.brand-logo {
  width: 136px;
  height: auto;
  aspect-ratio: 1200 / 995;
  object-fit: contain;
}
.search-form { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.search-form input,
.search-form select,
.field,
.order-form input,
.order-form select,
.order-form textarea {
  min-width: 0;
  border: 1px solid var(--ay-line);
  border-radius: var(--ay-radius);
  background: #fff;
  color: var(--ay-ink);
  padding: 11px 12px;
}
.search-form input { border-radius: 999px; padding-left: 16px; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.icon-link,
.icon-button {
  border: 1px solid var(--ay-line);
  background: #fff;
  color: var(--ay-cocoa);
  border-radius: var(--ay-radius);
  min-height: 42px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.cart-button { position: relative; background: var(--ay-terracotta); color: #fff; border-color: var(--ay-terracotta); }
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 21px;
  height: 21px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ay-saffron);
  color: var(--ay-cocoa);
  font-size: 12px;
  padding: 0 5px;
}
.category-nav { border-top: 1px solid var(--ay-line); }
.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0 13px;
  scrollbar-width: thin;
}
.category-scroll a {
  flex: 0 0 auto;
  border: 1px solid rgba(201, 104, 70, .24);
  border-radius: 999px;
  color: var(--ay-cocoa);
  padding: 8px 13px;
  font-size: 14px;
  background: #fffaf5;
}
.category-scroll a.active {
  background: var(--ay-terracotta);
  border-color: var(--ay-terracotta);
  color: #fff;
}

.ticker-wrap { background: var(--ay-ticker); color: #fff; overflow: hidden; }
.ticker-track {
  width: max-content;
  display: flex;
  gap: 0;
  will-change: transform;
  animation: ticker-scroll 38s linear infinite;
}
.ticker-row { flex: 0 0 auto; display: flex; align-items: center; gap: 24px; padding: 11px 24px; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; }
.ticker-name { color: rgba(255, 255, 255, .82); font-weight: 700; }
.ticker-price { color: #fff; font-weight: 800; }
.move-up { color: #80d3dd; }
.move-down { color: #f29a89; }
.move-flat { color: #eadccf; }
@keyframes ticker-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

.hero {
  position: relative;
  min-height: clamp(520px, 68vh, 680px);
  background: var(--ay-cream);
  color: var(--ay-cocoa);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58%, 780px);
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: .12;
}
.hero::after {
  content: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 580px) minmax(280px, 1fr);
  align-items: center;
  gap: 34px;
  padding: 42px 0;
}
.eyebrow {
  color: var(--ay-terracotta);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero h1 {
  margin: 12px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .96;
  letter-spacing: 0;
}
.hero p {
  max-width: 540px;
  color: var(--ay-muted);
  font-size: clamp(16px, 1.7vw, 19px);
  margin: 0 0 26px;
}
.hero-actions, .section-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  border: 0;
  border-radius: var(--ay-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--ay-saffron); color: var(--ay-cocoa); }
.btn-green { background: var(--ay-terracotta); color: #fff; }
.btn-soft { background: #fffaf5; color: var(--ay-cocoa); border: 1px solid var(--ay-line); }
.btn-danger { background: #fee2e2; color: #991b1b; }
.btn-block { width: 100%; }
.hero-product {
  align-self: end;
  justify-self: end;
  width: min(360px, 100%);
  background: rgba(255, 255, 255, .94);
  color: var(--ay-ink);
  border: 1px solid var(--ay-line);
  border-radius: var(--ay-radius);
  padding: 18px;
  box-shadow: 0 24px 64px rgba(87, 55, 41, .10);
}
.hero-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: var(--ay-radius);
  margin-bottom: 12px;
}
.hero-product strong { color: var(--ay-cocoa); font-size: 17px; }
.hero-product .price { color: var(--ay-brown); font-size: 26px; font-weight: 900; margin: 6px 0; }

.section { padding: 72px 0; }
.section.alt { background: var(--ay-sand); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-head h2 {
  margin: 0;
  color: var(--ay-cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: 0;
}
.section-head p { margin: 7px 0 0; color: var(--ay-muted); }
.movement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.movement-card,
.group-card,
.product-card,
.trust-item,
.story-panel,
.order-panel {
  background: var(--ay-card);
  border: 1px solid var(--ay-line);
  border-radius: var(--ay-radius);
  box-shadow: var(--ay-soft-shadow);
}
.movement-card { padding: 16px; }
.movement-card h3 { margin: 0 0 12px; color: var(--ay-cocoa); font-size: 15px; }
.movement-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid #f0e8dc;
  font-size: 14px;
}
.movement-line:first-of-type { border-top: 0; }
.movement-line small { display: block; color: var(--ay-muted); }
.group-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.group-card { overflow: hidden; color: var(--ay-cocoa); }
.group-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
  background: #fffaf5;
  transition: transform .25s ease;
}
.group-card:hover img { transform: scale(1.04); }
.group-card span { display: block; padding: 12px; font-weight: 800; }
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.product-media {
  aspect-ratio: 1 / 1;
  background: #fffaf5;
  display: grid;
  place-items: center;
  cursor: zoom-in;
}
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.product-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-title { min-height: 46px; color: var(--ay-cocoa); font-weight: 800; line-height: 1.3; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ay-muted); font-size: 13px; }
.product-price { color: var(--ay-brown); font-size: 22px; font-weight: 900; }
.stock-ok { color: var(--ay-success); }
.stock-low { color: var(--ay-danger); }

.story-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 18px; align-items: stretch; }
.story-panel { padding: 26px; }
.story-panel h2 {
  margin: 0 0 12px;
  color: var(--ay-cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
}
.story-panel p { color: var(--ay-muted); margin: 0 0 12px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trust-item { padding: 18px; }
.trust-item strong { color: var(--ay-cocoa); display: block; margin-bottom: 6px; }
.trust-item span { color: var(--ay-muted); font-size: 14px; }

.order-panel {
  margin: 22px auto 0;
  max-width: 760px;
  padding: 22px;
  box-shadow: var(--ay-soft-shadow);
}
.order-panel h2 {
  color: var(--ay-cocoa);
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}
.order-form { display: grid; gap: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-full { grid-column: 1 / -1; }
.order-form label { font-weight: 700; color: var(--ay-cocoa); }
.checks {
  border: 1px solid var(--ay-line);
  border-radius: var(--ay-radius);
  padding: 12px;
  background: #fffaf5;
}
.checks label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ay-ink);
  font-weight: 500;
  margin: 7px 0;
}
.campaign-box, .totals-box {
  border: 1px solid var(--ay-line);
  border-radius: var(--ay-radius);
  padding: 12px;
  background: #fffdf9;
}
.campaign-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.cart-list { list-style: none; padding: 0; margin: 0; }
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #f1e8dc;
  font-size: 14px;
}
.cart-controls { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.qty-btn,
.remove-btn {
  border: 1px solid var(--ay-line);
  background: #fff;
  color: var(--ay-cocoa);
  border-radius: 6px;
  min-width: 30px;
  min-height: 30px;
}
.remove-btn { color: #b91c1c; }
.totals-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; }
.totals-row.grand {
  border-top: 1px solid var(--ay-line);
  margin-top: 4px;
  padding-top: 11px;
  color: var(--ay-cocoa);
  font-size: 18px;
  font-weight: 900;
}
.help-text { color: var(--ay-muted); font-size: 12px; }
.message-ok { color: var(--ay-success); }
.message-error { color: #b91c1c; }

.site-footer { background: var(--ay-sand); color: var(--ay-muted); padding: 40px 0; border-top: 1px solid var(--ay-line); }
.site-footer .brand-logo {
  width: 180px;
  filter: none;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: flex-end; }
.footer-links a { color: var(--ay-cocoa); font-size: 14px; font-weight: 700; }
.payment-logos { display: flex; gap: 12px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.payment-logos img {
  height: 28px;
  width: auto;
  background: #fff;
  padding: 4px 6px;
  border-radius: 6px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: none;
  max-width: min(360px, calc(100% - 32px));
  background: rgba(52, 40, 36, .96);
  color: #fff;
  padding: 12px 14px;
  border-radius: var(--ay-radius);
  box-shadow: 0 18px 48px rgba(87, 55, 41, .16);
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(52, 40, 36, .24);
}
.modal-card { width: min(880px, 96vw); max-height: 92vh; background: #fff; border-radius: var(--ay-radius); overflow: hidden; box-shadow: var(--ay-soft-shadow); }
.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--ay-cocoa);
  color: #fff;
}
.modal-body { padding: 12px; background: #fffaf2; }
.modal-body img {
  width: 100%;
  height: min(72vh, 680px);
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--ay-line);
  border-radius: var(--ay-radius);
}
.img-preview {
  position: fixed;
  z-index: 90;
  display: none;
  pointer-events: none;
  width: 310px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--ay-line);
  border-radius: var(--ay-radius);
  padding: 8px;
  box-shadow: 0 18px 48px rgba(87, 55, 41, .14);
}
.img-preview img {
  width: 292px;
  height: 292px;
  object-fit: contain;
  background: #fffaf5;
  border-radius: 6px;
}
.empty-state {
  border: 1px dashed var(--ay-line);
  border-radius: var(--ay-radius);
  padding: 18px;
  color: var(--ay-muted);
  background: #fffaf2;
}

main > .section {
  content-visibility: auto;
  contain-intrinsic-size: auto 650px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.review-card {
  min-width: 0;
  padding: 20px;
  background: var(--ay-card);
  border: 1px solid var(--ay-line);
  border-radius: var(--ay-radius);
  box-shadow: 0 16px 42px rgba(87, 55, 41, .06);
}
.review-author {
  display: flex;
  align-items: center;
  gap: 11px;
}
.review-avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fffaf5;
  border: 1px solid var(--ay-line);
}
.review-author-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.review-author-meta strong,
.review-author-meta a {
  overflow-wrap: anywhere;
  color: var(--ay-cocoa);
  font-weight: 800;
}
.review-author-meta a:hover { color: var(--ay-terracotta); }
.review-author-meta span,
.review-translated {
  color: var(--ay-muted);
  font-size: 12px;
}
.review-stars {
  margin-top: 14px;
  color: var(--ay-saffron);
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0;
}
.review-text {
  margin: 13px 0 16px;
  color: var(--ay-cocoa);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.review-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 15px;
}
.review-links a {
  color: var(--ay-terracotta);
  font-size: 13px;
  font-weight: 800;
}
.reviews-loading {
  grid-column: 1 / -1;
  min-height: 120px;
  display: grid;
  place-items: center;
  color: var(--ay-muted);
  border: 1px dashed var(--ay-line);
  border-radius: var(--ay-radius);
  background: rgba(255, 255, 255, .56);
}
.google-reviews-disclosure {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 18px;
  color: var(--ay-muted);
  font-size: 12px;
  line-height: 1.5;
}
.google-maps-attribution {
  color: #5e5e5e;
  font-family: Roboto, "DM Sans", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}
#google-provider-attributions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}
#google-provider-attributions a { text-decoration: underline; }

@media (max-width: 980px) {
  .header-main { grid-template-columns: 1fr; gap: 12px; }
  .header-actions { justify-content: stretch; }
  .header-actions > * { flex: 1; }
  .hero .container, .story-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-product { justify-self: start; width: min(320px, 100%); }
  .movement-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group-grid, .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 22px, 1180px); }
  .top-band .container, .section-head { align-items: flex-start; flex-direction: column; }
  .search-form { grid-template-columns: 1fr; }
  .brand-logo { width: 116px; }
  .hero { min-height: auto; }
  .hero-media { width: 100%; opacity: .55; }
  .hero-media img { object-position: center top; opacity: .08; }
  .hero .container { padding: 46px 0 28px; }
  .hero-product { width: 100%; }
  .ticker-track { animation-duration: 48s; }
  .ticker-row { padding: 10px 12px; }
  .movement-grid, .group-grid, .products-grid, .trust-grid, .form-grid, .reviews-grid { grid-template-columns: 1fr; }
  .campaign-row, .cart-line { grid-template-columns: 1fr; }
  .cart-controls { justify-content: flex-start; }
  .footer-links { justify-content: flex-start; }
  .section { padding: 54px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .ticker-track { animation-duration: 70s; }
  .btn:hover, .group-card:hover img { transform: none; }
}
