/* ---------- Brand variables ---------- */
:root {
  --green: #243C32;
  --ivory: #F7F4ED;
  --gold: #B99A68;
  --charcoal: #292B29;
  --white: #ffffff;

  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; margin: 0 0 .5em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--green); color: var(--ivory); padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; min-height: 48px;
  transition: background .2s, transform .2s;
}
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { background: #c8ab7a; transform: translateY(-2px); }
.btn-small { padding: 8px 16px; min-height: 40px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--green); color: var(--ivory);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.wordmark {
  font-family: var(--font-serif); font-size: 1.35rem;
  text-decoration: none; letter-spacing: .5px;
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.shop-btn { display: none; }

.icon-btn {
  position: relative; background: none; border: 0; color: inherit; cursor: pointer;
  width: 48px; height: 48px; display: grid; place-items: center;
}
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--gold); color: var(--green);
  border-radius: 10px; font-size: .75rem; font-weight: 700;
  display: grid; place-items: center;
}

/* Mobile nav: hidden dropdown */
.site-nav {
  display: none;
  position: absolute; top: 64px; left: 0; right: 0;
  background: var(--green); border-top: 1px solid rgba(247,244,237,.15);
  padding: 8px 20px 16px;
}
.site-nav.open { display: block; }
.site-nav a {
  display: block; padding: 14px 0; text-decoration: none;
  border-bottom: 1px solid rgba(247,244,237,.1);
}
.site-nav a:hover { color: var(--gold); }

/* ---------- Hero (split layout, champagne panel) ---------- */
.hero {
  --sand: #EFE7D6;        /* warm champagne-ivory panel */
  --gold-text: #7A5F30;   /* darker gold, readable on the panel */

  display: flex;
  flex-direction: column;
  background: var(--sand);
  color: var(--charcoal);
}

/* PHONES: framed photo on top, text underneath */
.hero-media {
  position: relative;
  order: -1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
/* Phone: photo stays fully clear, then melts down into the champagne */
.hero-slides {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(to bottom,
    #000 0%, #000 62%,
    rgba(0,0,0,.85) 70%, rgba(0,0,0,.55) 79%,
    rgba(0,0,0,.2) 90%, transparent 100%);
  mask-image: linear-gradient(to bottom,
    #000 0%, #000 62%,
    rgba(0,0,0,.85) 70%, rgba(0,0,0,.55) 79%,
    rgba(0,0,0,.2) 90%, transparent 100%);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide.active img { animation: slow-zoom 9s ease-out forwards; }
@keyframes slow-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.03); }
}

.hero-copy {
  position: relative;
  z-index: 2;
  margin-top: -56px;           /* text starts inside the fade */
  padding: 0 20px 56px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-text);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold-text);
}

.hero .hero-copy h1 {
  font-size: 2.8rem;
  max-width: 12ch;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 20px;
}
.hero .hero-copy h1 em {
  font-style: italic;
  color: var(--gold-text);
}
.hero-text {
  max-width: 40ch;
  font-size: 1.1rem;
  color: #3d403d;
  margin: 0 0 32px;
}

/* Buttons inside the hero: green on champagne */
.hero .btn { background: var(--green); color: var(--ivory); }
.hero .btn:hover { background: var(--gold); color: var(--green); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-bottom: 36px;
}
.text-link {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--gold-text); border-color: var(--gold-text); }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(36, 60, 50, .2);
  font-size: .88rem;
  color: #4a4d4a;
}
.hero-points li { display: flex; align-items: center; }
.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 9px;
}

/* Text fades up gently on load */
.hero-copy > * {
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up .9s ease-out forwards;
}
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .24s; }
.hero-copy > *:nth-child(4) { animation-delay: .36s; }
.hero-copy > *:nth-child(5) { animation-delay: .48s; }
@keyframes fade-up {
  to { opacity: 1; transform: none; }
}

/* LAPTOPS AND TABLETS (landscape): photo melts into the panel */
@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    min-height: calc(100vh - 64px);
  }
  .hero-media { order: 0; aspect-ratio: auto; }

  .hero-slides {
    --fade: 22%;                 /* the one number to tune */
    inset: 0 0 0 auto;           /* photo sits to the right... */
    width: 88%;                  /* ...leaving clear champagne on its left */
    -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      rgba(0,0,0,.10) calc(var(--fade) * .25),
      rgba(0,0,0,.40) calc(var(--fade) * .50),
      rgba(0,0,0,.80) calc(var(--fade) * .75),
      #000 var(--fade));
    mask-image: linear-gradient(to right,
      transparent 0%,
      rgba(0,0,0,.10) calc(var(--fade) * .25),
      rgba(0,0,0,.40) calc(var(--fade) * .50),
      rgba(0,0,0,.80) calc(var(--fade) * .75),
      #000 var(--fade));
  }

  .hero-copy {
    margin-top: 0;
    align-self: center;
    padding: 64px 40px 64px max(20px, calc((100vw - 1200px) / 2 + 20px));
  }
  .hero .hero-copy h1 { font-size: 4rem; }
}
/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--white); }
.section-title { font-size: 1.9rem; text-align: center; margin-bottom: 32px; color: var(--green); }
.section-title.left { text-align: left; }
.empty-state { text-align: center; color: #6b6e6b; grid-column: 1 / -1; }

/* Product grid (cards come in the product stage) */
.product-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

/* ---------- About ---------- */
.about-inner { display: grid; gap: 32px; align-items: center; }
.about-text { max-width: 60ch; }
.about-text p { font-size: 1.05rem; }
.about-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Info cards ---------- */
.info-grid { display: grid; gap: 20px; }
.info-card { background: var(--ivory); padding: 24px; border-top: 3px solid var(--gold); }
.info-card h3 { color: var(--green); }
.placeholder {
  background: #fff3cd; color: #5c4a00; padding: 6px 10px;
  font-size: .85rem; border-left: 3px solid #e0b100;
}
.placeholder-light { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--ivory); padding: 48px 0 20px; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand { font-family: var(--font-serif); font-size: 1.4rem; margin: 0 0 8px; }
.footer-links li { padding: 6px 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.copyright {
  text-align: center; font-size: .85rem; opacity: .7;
  margin: 32px 0 0; padding: 0 20px;
}

/* ---------- Tablet (768px and up) ---------- */
@media (min-width: 768px) {
  .hero h1 { font-size: 3.6rem; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .about-inner { grid-template-columns: 1.2fr 1fr; gap: 56px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .shop-btn { display: inline-block; }
}
/* ---------- Laptop / desktop (1024px and up) ---------- */
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .site-nav {
    display: block; position: static; background: none;
    border: 0; padding: 0;
  }
  .site-nav ul { display: flex; gap: 28px; }
  .site-nav a { border: 0; padding: 8px 0; }
  .header-inner { gap: 24px; }
  .site-nav { margin-left: auto; margin-right: 16px; }
  .hero h1 { font-size: 4.4rem; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 96px 0; }
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .hero-copy > * { opacity: 1; transform: none; }
}
/* ---------- Catalog tools ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.catalog-tools { display: grid; gap: 16px; margin-bottom: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 8px 18px; cursor: pointer;
  font-family: var(--font-sans); font-size: .92rem;
  background: transparent; color: var(--green);
  border: 1px solid var(--green); transition: background .2s, color .2s;
}
.chip:hover { background: rgba(36,60,50,.08); }
.chip.active { background: var(--green); color: var(--ivory); }
.tool-row { display: grid; gap: 10px; }
.tool-row input, .tool-row select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font-family: var(--font-sans); font-size: 1rem;
  background: var(--white); color: var(--charcoal);
  border: 1px solid #cfc8b6; border-radius: 0;
}
.result-count { font-size: .9rem; color: #6b6e6b; margin: 0 0 16px; }

/* ---------- Product cards ---------- */
.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid #e8e1d2;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(41,43,41,.1); }
.card-img {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: #ece4d2;
}
.card-img::before {
  content: "Photo coming soon";
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: .8rem; color: #8a7d62;
}
.card-img img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.card:hover .card-img img { transform: scale(1.04); }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--charcoal); color: var(--ivory);
  font-size: .72rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px;
}
.card.sold-out .card-img img { opacity: .55; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 12px; }
.card-cat {
  margin: 0 0 4px; font-size: .72rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: #7A5F30;
}
.card-name { font-size: 1.05rem; margin: 0 0 6px; color: var(--green); }
.card-desc {
  margin: 0 0 8px; font-size: .85rem; color: #5a5d5a;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-sizes { margin: 0 0 8px; font-size: .82rem; color: #5a5d5a; }
.card-price { margin: 0 0 12px; font-size: 1.1rem; font-weight: 600; color: var(--charcoal); }
.btn-add {
  margin-top: auto; width: 100%; padding: 12px 10px; font-size: .9rem;
  background: var(--green); color: var(--ivory);
}
.btn-add:hover:not(:disabled) { background: var(--gold); color: var(--green); transform: none; }
.btn-add:disabled { background: #d6d1c3; color: #77796f; cursor: not-allowed; }

.clear-btn {
  margin-top: 12px; background: none; border: 0; cursor: pointer;
  color: var(--green); font-weight: 600; text-decoration: underline;
  font-family: var(--font-sans); font-size: 1rem;
}

@media (min-width: 768px) {
  .catalog-tools { grid-template-columns: 1fr auto; align-items: center; }
  .tool-row { grid-template-columns: 240px 200px; }
  .card-body { padding: 16px; }
}
/* ---------- Header search ---------- */
.search-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--green);
  border-top: 1px solid rgba(247,244,237,.15);
  padding: 12px 0 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.search-panel.open { display: block; }
.search-panel input {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--ivory);
  color: var(--charcoal);
  border: 1px solid var(--gold);
  border-radius: 0;
}
/* Keep scrolled-to sections clear of the open search bar */
html:has(.search-panel.open) { scroll-padding-top: 140px; }

/* Very small phones: slightly tighter header icons */
@media (max-width: 360px) {
  .icon-btn { width: 42px; }
  .wordmark { font-size: 1.15rem; }
}
/* ---------- Responsive polish ---------- */

/* Very small phones: one product per row so cards aren't cramped */
@media (max-width: 359px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero .hero-copy h1 { font-size: 2.3rem; }
}

/* Tablets held upright: shorter hero photo, roomier text */
@media (min-width: 600px) and (max-width: 899px) {
  .container { padding: 0 32px; }
  .hero-media { aspect-ratio: 16 / 10; }
  .hero-slide img { object-position: center 20%; }
  .hero-copy { padding-left: 32px; padding-right: 32px; }
}

/* Laptops and monitors: hero never gets taller than it should */
@media (min-width: 900px) {
  .hero { min-height: min(calc(100vh - 64px), 820px); }
  .hero .hero-copy h1 { font-size: clamp(2.8rem, 4.6vw, 4rem); }
}

/* Touch screens: no "stuck" hover effects after a tap */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; }
  .card:hover .card-img img { transform: none; }
  .btn-gold:hover { transform: none; }
}
/* Phone menu: keep a Shop link, since the gold button is hidden on small screens */
@media (max-width: 767px) {

}
/* ---------- Colour swatches and stock status ---------- */
.swatches { display: flex; gap: 8px; margin: 0 0 8px; }
.swatch {
  position: relative; width: 18px; height: 18px; border-radius: 50%;
  background: var(--swatch);
  border: 1px solid rgba(41, 43, 41, .35);
}
.swatch.out { opacity: .4; }
.swatch.out::after {
  content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px;
  width: 1px; background: var(--charcoal); transform: rotate(45deg);
}
.stock-status {
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 6px; font-size: .82rem; font-weight: 600;
}
.stock-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
}
.stock-status.in { color: #2f6b3f; }
.stock-status.in::before { background: #2f6b3f; }
.stock-status.out { color: #9a3b32; }
.stock-status.out::before { background: #9a3b32; }
/* ---------- Pop-up windows (options + cart) ---------- */
html:has(dialog[open]) { overflow: hidden; }

.modal {
  border: 0; padding: 0; margin: auto;
  width: min(94vw, 480px); max-height: 92vh;
  background: var(--ivory); color: var(--charcoal);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.modal::backdrop { background: rgba(41, 43, 41, .55); }
.modal-inner { display: flex; flex-direction: column; max-height: 92vh; }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px 12px 20px; border-bottom: 1px solid #e3dcc9;
}
.modal-head h2 { margin: 0; font-size: 1.3rem; color: var(--green); }
.icon-close {
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  font-size: 1.8rem; line-height: 1; color: var(--green);
}
.modal-scroll { flex: 1; overflow-y: auto; padding: 18px 20px; }
.modal-foot { padding: 16px 20px 18px; border-top: 1px solid #e3dcc9; background: var(--white); }

/* Cart as a side panel */
.drawer {
  margin: 0 0 0 auto; height: 100vh; height: 100dvh; max-height: none;
  width: min(100vw, 440px);
}
.drawer .modal-inner { height: 100%; max-height: none; }
.drawer[open] { animation: drawer-in .25s ease-out; }
@keyframes drawer-in { from { transform: translateX(30px); opacity: 0; } }

/* Option picker */
.opt-product { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.opt-group { border: 0; padding: 0; margin: 0 0 20px; }
.opt-group legend, .opt-label { font-weight: 600; font-size: .9rem; margin: 0 0 8px; padding: 0; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip { position: relative; }
.opt-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-chip span {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; min-width: 52px; padding: 8px 14px; cursor: pointer;
  background: var(--white); border: 1px solid #cfc8b6;
}
.opt-chip input:checked + span { background: var(--green); color: var(--ivory); border-color: var(--green); }
.opt-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.opt-chip input:disabled + span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.opt-error { min-height: 1.4em; margin: 0; color: #9a3b32; font-size: .9rem; }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid #cfc8b6; background: var(--white); }
.qty button {
  width: 40px; height: 40px; background: none; border: 0; cursor: pointer;
  font-size: 1.2rem; color: var(--green);
}
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty-num { min-width: 36px; text-align: center; font-weight: 600; }

/* Cart items */
.cart-list { margin: 0; padding: 0; }
.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid #e3dcc9;
}
.ci-img {
  position: relative; width: 72px; aspect-ratio: 4 / 5; overflow: hidden; background: #ece4d2;
}
.ci-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ci-name { margin: 0 0 2px; font-family: var(--font-serif); color: var(--green); font-size: 1rem; }
.ci-meta { margin: 0 0 4px; font-size: .85rem; color: #5a5d5a; }
.ci-price { margin: 0 0 8px; font-size: .9rem; }
.ci-side { text-align: right; display: flex; flex-direction: column; justify-content: space-between; }
.ci-line { margin: 0; font-weight: 600; }
.link-btn {
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  color: var(--green); text-decoration: underline;
  font-family: var(--font-sans); font-size: .88rem;
}
.link-btn.center { display: block; margin: 8px auto 0; }
.sub-row { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 8px; }
.fee-note { font-size: .82rem; color: #5a5d5a; margin: 0 0 14px; }
.cart-empty { text-align: center; padding: 40px 0; color: #5a5d5a; }
.cart-notice { background: #fff3cd; color: #5c4a00; padding: 8px 12px; font-size: .85rem; margin: 0 0 12px; }
.modal-foot .btn-add { margin-top: 0; }
/* ---------- Checkout ---------- */
.co-h { font-size: 1.05rem; margin: 18px 0 10px; color: var(--green); }
.co-h:first-child { margin-top: 0; }
.co-list { margin: 0 0 12px; padding: 0; }
.co-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #e3dcc9;
}
.co-name { margin: 0; font-family: var(--font-serif); color: var(--green); }
.co-meta { margin: 2px 0 0; font-size: .85rem; color: #5a5d5a; }
.co-line { margin: 0; font-weight: 600; white-space: nowrap; }
.co-total { display: flex; justify-content: space-between; font-size: 1.1rem; margin: 8px 0 4px; }

.field { margin: 0 0 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 1rem;
  background: var(--white); color: var(--charcoal);
  border: 1px solid #cfc8b6; border-radius: 0;
}
.field textarea { resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #9a3b32; }
.field-error { margin: 4px 0 0; color: #9a3b32; font-size: .85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: .82rem; color: #5a5d5a; margin: 0; }

.co-banner {
  background: #fbe9e7; color: #7a2a21; border-left: 3px solid #9a3b32;
  padding: 12px 14px; margin: 0 0 16px; font-size: .92rem;
}
.co-banner p { margin: 0 0 8px; }
.co-banner p:last-child { margin: 0; }
.co-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.co-banner .btn-add { width: auto; padding: 8px 16px; }

.spinner {
  display: inline-block; width: 14px; height: 14px; vertical-align: -2px;
  border: 2px solid rgba(247,244,237,.4); border-top-color: var(--ivory);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Payment screen */
.pay-lead { margin: 0 0 16px; }
.ref-box, .amount-box { background: var(--white); border: 1px solid #e3dcc9; padding: 14px 16px; margin: 0 0 14px; }
.ref-label { margin: 0 0 4px; font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; color: #7A5F30; }
.ref-code { margin: 0 0 4px; font-family: ui-monospace, Consolas, monospace; font-size: 1.5rem; font-weight: 700; color: var(--green); word-break: break-all; }
.ref-hint { margin: 6px 0 0; font-size: .85rem; color: #5a5d5a; }
.copy-msg { font-size: .85rem; color: #2f6b3f; }
.amount { margin: 0 0 4px; font-size: 1.8rem; font-weight: 700; color: var(--charcoal); }
.pay-items { margin: 0 0 8px; padding-left: 18px; font-size: .88rem; color: #5a5d5a; list-style: disc; }
.bank { margin: 0 0 12px; }
.bank div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #e3dcc9; }
.bank dt { color: #5a5d5a; }
.bank dd { margin: 0; font-weight: 600; text-align: right; }
.is-placeholder { background: #fff3cd; color: #5c4a00; padding: 2px 6px; font-weight: 400; }
.steps { margin: 0; padding-left: 20px; }
.steps li { margin-bottom: 8px; }
.btn-wa { display: block; width: 100%; text-align: center; background: #1E6B4A; color: #fff; }
.btn-wa:hover { background: #17573c; }
.wa-fallback { margin: 10px 0 0; }
.last-order { background: var(--white); border: 1px solid #e3dcc9; padding: 10px 14px; margin: 0 0 14px; font-size: .9rem; }
.last-order .link-btn { padding: 4px 0 0; display: block; }
.last-order .link-btn { display: inline-block; margin: 6px 16px 0 0; padding: 4px 0; }
.last-order .confirm-text { margin: 0 0 4px; font-size: .88rem; }
.color-out { margin: 0 0 8px; font-size: .8rem; color: #9a3b32; }
/* ---------- Policy cards ---------- */
.info-grid { align-items: start; }
.policy-facts { margin: 0 0 12px; }
.policy-facts div { padding: 10px 0; border-bottom: 1px solid #e3dcc9; }
.policy-facts dt {
  font-size: .76rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: #7A5F30; margin: 0 0 2px;
}
.policy-facts dd { margin: 0; }
.policy-list { list-style: disc; padding-left: 20px; margin: 0 0 12px; }
.policy-list li { margin-bottom: 8px; }
.policy-note { font-size: .88rem; color: #5a5d5a; margin: 0; }

/* ---------- Footer ---------- */
.footer-inner { display: grid; gap: 32px; }
.footer-tagline {
  font-family: var(--font-serif); font-style: italic;
  color: var(--gold); margin: 0 0 10px; font-size: 1.05rem;
}
.footer-desc { max-width: 38ch; margin: 0; font-size: .92rem; opacity: .85; }
.footer-h {
  font-family: var(--font-sans); font-size: .76rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin: 0 0 12px;
}
.footer-links li { padding: 5px 0; }
.footer-line { margin: 10px 0 0; font-size: .92rem; opacity: .9; }
.footer-col p { margin: 0 0 8px; }

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; }
}
.pay-wait {
  margin: 0 0 10px; padding: 8px 12px;
  background: #fbe9e7; border-left: 3px solid #9a3b32;
  color: #7a2a21; font-size: .88rem;
}
/* ---------- Order tracking ---------- */
.track-intro { margin: 0 0 16px; }
.track-card { background: var(--white); border: 1px solid #e3dcc9; padding: 16px; margin-top: 20px; }
.track-headline { margin: 0 0 4px; font-size: 1.35rem; color: var(--green); }
.track-message { margin: 0 0 8px; }
.kind-problem .track-headline { color: #9a3b32; }
.kind-cancelled .track-headline { color: #5a5d5a; }

.track-steps { margin: 14px 0 6px; padding: 0; list-style: none; }
.track-steps li {
  position: relative; padding: 0 0 16px 34px; color: #77796f;
}
.track-steps li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #cfc8b6; background: var(--white);
  text-align: center; font-size: .72rem; line-height: 18px; font-weight: 700;
}
.track-steps li::after {
  content: ""; position: absolute; left: 10px; top: 26px; bottom: 2px;
  width: 2px; background: #e3dcc9;
}
.track-steps li:last-child { padding-bottom: 4px; }
.track-steps li:last-child::after { display: none; }
.track-steps li.done { color: var(--charcoal); }
.track-steps li.done::before { content: "✓"; background: #2f6b3f; border-color: #2f6b3f; color: #fff; }
.track-steps li.done::after { background: #2f6b3f; }
.track-steps li.current { color: var(--green); font-weight: 600; }
.track-steps li.current::before { border-color: var(--gold); background: #fff3d6; }
.track-steps li.problem { color: #9a3b32; font-weight: 600; }
.track-steps li.problem::before { content: "!"; background: #fbe9e7; border-color: #9a3b32; color: #9a3b32; }

.track-note {
  background: #eef6ef; border-left: 3px solid #2f6b3f;
  padding: 10px 12px; margin: 10px 0 14px; font-size: .92rem;
}

/* A little less crowded header on small laptops */
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-nav ul { gap: 18px; }
  .site-nav a { font-size: .92rem; }
}
.lo-status { display: inline-block; margin: 4px 0 2px; font-weight: 700; font-size: .92rem; }
.lo-ok { color: #2f6b3f; }
.lo-wait { color: #8a6a1f; }
.lo-problem { color: #9a3b32; }
.lo-cancelled { color: #5a5d5a; }
/* Track Order: straight to the status when the device already knows the order */
.track-auto-line { display: none; margin: 0 0 4px; }
.track-auto .track-auto-line { display: block; }
.track-auto .track-intro,
.track-auto #track-form { display: none; }
/* ---------- Copy buttons ---------- */
.bank dd { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.bank dd span { word-break: break-all; }

.copy-btn {
  position: relative; flex: none;
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  background: none; border: 1px solid transparent; border-radius: 4px;
  color: var(--green); cursor: pointer; vertical-align: middle;
  transition: background .2s, border-color .2s;
}
.copy-btn:hover { background: rgba(36, 60, 50, .08); border-color: #cfc8b6; }
.copy-btn .ico-check { display: none; }
.copy-btn.copied { color: #2f6b3f; }
.copy-btn.copied .ico-copy { display: none; }
.copy-btn.copied .ico-check { display: block; }
.copy-btn.copied::after,
.copy-btn.copy-failed::after {
  content: "Copied";
  position: absolute; right: 100%; top: 50%; transform: translateY(-50%);
  margin-right: 4px; padding: 3px 8px; white-space: nowrap;
  background: var(--charcoal); color: var(--ivory); font-size: .75rem; font-weight: 400;
}
.copy-btn.copy-failed { color: #9a3b32; }
.copy-btn.copy-failed::after { content: "Copy failed"; background: #9a3b32; }
.amount .copy-btn { margin-left: 4px; }