/* ============================================================
   VARAHI SECRET SIDDHAR REMEDIES — Temple Market Editorial
   Palette: warm ivory, turmeric yellow, leaf green, vermilion red.
   ============================================================ */

:root {
  --ivory: #fffaf0;
  --paper: #f7f0df;
  --paper-deep: #efe2c6;
  --wood: #2a241b;
  --wood-soft: #594d3b;
  --muted: #7a6e5b;
  --yellow: #f2b705;
  --yellow-soft: #ffe7a0;
  --green: #376b3a;
  --green-deep: #1f4928;
  --green-soft: #dfead5;
  --red: #b7362c;
  --red-deep: #7f211e;
  --red-soft: #f5d7cc;
  --line: rgba(62, 47, 27, 0.14);
  --shadow: 0 22px 60px rgba(74, 49, 19, 0.12);
  --shadow-soft: 0 12px 30px rgba(74, 49, 19, 0.08);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  font-family: "DM Sans", sans-serif;
  color: var(--wood);
  background: var(--ivory);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}


/* FIX: elements using the HTML hidden attribute must stay hidden.
   Without this, component rules such as .empty-cart { display:flex; }
   override the browser's default hidden behavior. */
[hidden] {
  display: none !important;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ivory); color: var(--wood); }
body.is-loading { overflow: hidden; height: 100vh; }
button, input, textarea, select { font: inherit; }
button { border: 0; background: transparent; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.site-shell { overflow: hidden; margin: 0; padding: 0; }
body { display: flex; flex-direction: column; min-height: 100vh; }
.announce-bar { margin: 0; }
.site-header { margin: 0; }
.page-width { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* ============================================================
   PAGE LOADER — full-screen preloader shown until assets are ready
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: radial-gradient(120% 140% at 50% 20%, #3a2e18 0%, #241d10 55%, #150f08 100%);
  transition: opacity 560ms var(--ease-out), visibility 560ms var(--ease-out);
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-seal {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
}
.loader-seal svg { width: 100%; height: 100%; }
.loader-ring {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 60;
  transform-origin: 50% 50%;
  animation: loaderSpin 1.15s linear infinite;
  opacity: 0.9;
}
.loader-ring.ring-outer { stroke: var(--red); stroke-width: 1.6; stroke-dasharray: 260; animation-duration: 1.9s; animation-direction: reverse; opacity: 0.55; }
.loader-mark {
  fill: none;
  stroke: var(--yellow-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
.loader-word {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--yellow-soft);
  text-align: center;
}
.loader-word strong {
  font-family: "Bree Serif", serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--ivory);
}
.loader-word small {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
  opacity: 0.85;
}
.loader-bar {
  width: min(180px, 46vw);
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.loader-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--red));
  animation: loaderBar 1.1s ease-in-out infinite;
}
@keyframes loaderBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(340%); }
}

/* SCROLL PROGRESS — thin bar tracking read position, sits under the header */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 70;
  background: linear-gradient(90deg, var(--yellow), var(--red));
  transition: width 80ms linear;
}

/* BACK TO TOP — floating button, appears after scrolling past the hero */
.footer-scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wood);
  color: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft);
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 220ms, background 160ms;
}
.footer-scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.footer-scroll-top:hover { background: var(--green-deep); transform: translateY(-3px); }
.footer-scroll-top svg { transition: transform 160ms var(--ease-out); }
.footer-scroll-top:hover svg { transform: translateY(-2px); }

/* SCROLL REVEAL — sections/cards fade+rise into place as they enter view */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Reduced-motion users get near-instant transitions via the global
   `*` override further down this file — .reveal-on-scroll still ends at
   opacity:1/translateY(0) either way, it just arrives without the animation. */

/* ANNOUNCEMENT */
.announce-bar {
  background: linear-gradient(90deg, var(--green-deep), var(--green), var(--green-deep));
  background-size: 200% 100%;
  animation: announceShift 8s linear infinite;
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  position: relative;
  z-index: 60;
}
@keyframes announceShift {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.announce-track {
  display: inline-block;
  animation: scrollLeft 9s linear infinite;
  padding-left: 100%;
}
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 240, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--wood);
}
.brand-seal {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--wood);
  box-shadow: 0 3px 0 var(--yellow);
}
.brand-seal-fallback {
  color: var(--yellow);
  font-family: "Bree Serif", serif;
  font-size: 16px;
  letter-spacing: 0.05em;

}

.brand-seal.small { width: 42px; height: 42px; flex-basis: 42px; }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-copy strong, .footer-brand strong {
  font-family: "Bree Serif", serif;
  font-size: 16px;
  letter-spacing: 0.08em;
}
.brand-copy small, .footer-brand small {
  margin-top: 5px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-link {
  position: relative;
  padding: 12px 0;
  color: var(--wood-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-link::after {
  position: absolute;
  right: 0; bottom: 5px; left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease-out);
}
.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 160px;
  justify-content: flex-end;
}
.icon-button {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--wood);
  transition: transform 160ms var(--ease-out), border-color 160ms, background 160ms;
}
.icon-button:hover, .icon-button.active {
  border-color: var(--line);
  background: var(--paper);
  transform: translateY(-2px);
}
#adminToggle.admin-live {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
#adminToggle.admin-live:hover { background: var(--red); }
.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--wood);
  color: var(--ivory);
  font-size: 12px;
  font-weight: 800;
  transition: transform 160ms var(--ease-out), background 160ms;
}
.cart-trigger:hover { background: var(--green-deep); transform: translateY(-2px); }
.cart-trigger.cart-bump { animation: cartBump 420ms var(--ease-out); }
@keyframes cartBump {
  0% { transform: scale(1); }
  30% { transform: scale(1.14) rotate(-4deg); }
  55% { transform: scale(0.96) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}
.cart-trigger b {
  min-width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--wood);
  font-size: 10px;
  transition: transform 220ms var(--ease-out);
}
.cart-trigger b.badge-pop { animation: badgePop 420ms var(--ease-out); }
@keyframes badgePop {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* FLY-TO-CART — a cloned product photo arcs from the card into the cart icon */
.fly-to-cart {
  position: fixed;
  z-index: 400;
  border-radius: 10px;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 10px 26px rgba(31, 22, 8, 0.35);
  will-change: transform, opacity;
  animation: flyToCart 720ms cubic-bezier(0.45, 0, 0.55, 1) forwards;
}
@keyframes flyToCart {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
  60% { opacity: 1; }
  100% {
    transform:
      translate(var(--fly-x), var(--fly-y))
      scale(0.12) rotate(14deg);
    opacity: 0.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fly-to-cart { display: none; }
}

/* Add-to-cart button micro state while the fly animation is in flight */
.add-button.is-adding { pointer-events: none; }
.add-button .add-check {
  display: inline-flex;
  align-items: center;
  transform: scale(0);
  transition: transform 220ms var(--ease-out);
}
.add-button.is-added .add-check { transform: scale(1); }

.header-search-wrap { position: relative; }
.header-search-input {
  width: 170px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: 0;
  background: var(--ivory);
  font-size: 12px;
}
.header-search-input:focus, input:focus, textarea:focus, select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(55, 107, 58, 0.13);
}
.header-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: var(--shadow-soft);
  animation: riseIn 160ms var(--ease-out) both;
}
.header-search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.header-search-result:last-child { border-bottom: 0; }
.header-search-result:hover, .header-search-result:focus-visible { background: var(--paper-deep); }
.header-search-result img {
  width: 34px; height: 34px;
  border-radius: 5px;
  object-fit: cover;
  flex: 0 0 auto;
}
.header-search-result-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.header-search-result-copy strong {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-search-result-copy small { font-size: 10px; color: var(--muted); }
.header-search-result-price { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--green); flex: 0 0 auto; }
.header-search-empty { padding: 14px 10px; font-size: 12px; color: var(--muted); text-align: center; }
.header-search-view-all {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}
.mobile-menu-button { display: none; }

/* HERO */
.hero { position: relative; overflow: hidden; min-height: 620px; }
.hero-image, .hero-image img, .hero-image-shade {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-image img {
  object-fit: cover;
  object-position: center left;
  opacity: 0.9;
}
.hero-image-shade {
  background:
    linear-gradient(90deg, rgba(20, 38, 21, 0.88) 0%, rgba(25, 46, 22, 0.55) 45%, rgba(29, 54, 27, 0.25) 75%, rgba(20, 38, 21, 0.5) 100%),
    linear-gradient(0deg, rgba(20, 38, 21, 0.65), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--ivory);
}
.hero-copy {
  width: min(580px, 90%);
  padding: 70px 0 90px;
  animation: riseIn 700ms var(--ease-out) both;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.kicker-line { width: 34px; height: 2px; background: var(--yellow); }
.hero h1 {
  margin: 18px 0 18px;
  color: var(--ivory);
  font-family: "Bree Serif", serif;
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero h1 em, h2 em { color: var(--yellow); font-style: normal; }
.hero-copy > p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 250, 240, 0.85);
  font-size: 15.5px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 160ms var(--ease-out), box-shadow 180ms, background 180ms;
}
.button:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 11px 22px rgba(25, 37, 21, 0.2); }
.button:active:not(:disabled) { transform: scale(0.97); }
.button:disabled { pointer-events: none; }
.button-red { background: var(--red); color: var(--ivory); }
.button-red:hover { background: var(--red-deep); }
.button-green { background: var(--green); color: var(--ivory); }
.button-green:hover { background: var(--green-deep); }
.button.full { width: 100%; }
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: gap 180ms var(--ease-out), border-color 180ms;
}
.text-button:hover { gap: 10px; border-color: currentColor; }
.hero-bottom-mark {
  position: absolute;
  z-index: 2;
  right: 0; bottom: 0; left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 80px max(24px, calc((100% - 1180px) / 2));
  color: rgba(255, 250, 240, 0.7);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0,0,0,0.25));
}
.hero-bottom-mark > span:first-child {
  color: var(--yellow);
  font-family: "Bree Serif", serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: none;
}
.mark-divider { width: 36px; height: 1px; background: rgba(255, 250, 240, 0.35); }

/* SECTIONS */
.section-block { padding: 90px 0; }
.categories-section { background: var(--paper); }
.section-heading {
  position: relative;
  max-width: 640px;
  margin-bottom: 40px;
  padding-bottom: 20px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(242, 183, 5, 0.18);
}
.section-heading h2, .catalog-topline h2, .promise-panel h2, .contact-intro h2 {
  margin: 12px 0 12px;
  color: var(--wood);
  font-family: "Bree Serif", serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.section-heading::after {
  position: absolute;
  bottom: 0; left: 0;
  width: 84px; height: 7px;
  border-top: 1px solid var(--yellow);
  border-bottom: 1px solid rgba(242, 183, 5, 0.55);
  content: "";
  clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%, 16% 50%);
}
.section-heading::before {
  position: absolute;
  bottom: 2px; left: 39px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(183, 54, 44, 0.12);
  content: "";
}

/* CATEGORY GRID */
.category-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  
}
.category-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 0;
  border-radius: 8px;
  background: var(--green-deep);
  color: var(--ivory);
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  transition: transform 240ms var(--ease-out), box-shadow 240ms;
  animation: riseIn 500ms var(--ease-out) both;
  
}
.category-card:hover {
  z-index: 1;
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.category-card .cat-bg {
  position: absolute;
  inset: 0;
  background-color: #1a301c;
  background-image: linear-gradient(145deg, #2a4a2e 0%, #1a301c 50%, #0f2012 100%);
  background-size: cover;
  background-position: center;
  transition: transform 600ms var(--ease-out);
}
.category-card:hover .cat-bg { transform: scale(1.06); }
.category-card.sun .cat-bg { background: linear-gradient(145deg, #5a3a10 0%, #3a2808 60%, #1f1605 100%); }
.category-card.red .cat-bg { background: linear-gradient(145deg, #6a2a22 0%, #3e1814 60%, #1f0c0a 100%); }
.category-card.leaf .cat-bg { background: linear-gradient(145deg, #2e5a32 0%, #1a3a1e 60%, #0e2010 100%); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(22, 43, 24, 0.1) 20%, rgba(12, 24, 14, 0.92) 100%);
}
.category-1, .category-2, .category-3 { grid-column: span 4; }
.category-4, .category-5, .category-6, .category-7 { grid-column: span 3; min-height: 220px; }
.category-number {
  position: absolute;
  z-index: 2;
  top: 14px; left: 14px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.45);
  border-radius: 50%;
  font-family: "Bree Serif", serif;
  font-size: 13px;
}

/* CATEGORY SVG ICON BADGE — one hand-drawn glyph per collection, top-right */
.category-icon-badge {
  position: absolute;
  z-index: 2;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(21, 17, 9, 0.4);
  border: 1px solid rgba(255, 250, 240, 0.32);
  backdrop-filter: blur(3px);
  transition: transform 300ms var(--ease-out), background 200ms;
}
.category-card:hover .category-icon-badge {
  transform: rotate(-8deg) scale(1.08);
  background: rgba(21, 17, 9, 0.58);
}
.category-icon-badge svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--yellow-soft);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.category-card.red .category-icon-badge svg { stroke: var(--red-soft); }
.category-card.leaf .category-icon-badge svg { stroke: var(--green-soft); }
.category-card.sun .category-icon-badge svg { stroke: var(--yellow-soft); }
.category-card.green .category-icon-badge svg { stroke: var(--green-soft); }
.category-content {
  position: absolute;
  z-index: 2;
  right: 16px; bottom: 16px; left: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.category-content small {
  margin-bottom: 6px;
  color: rgba(255, 250, 240, 0.7);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.category-content strong {
  max-width: 220px;
  font-family: "Bree Serif", serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}
.category-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 250, 240, 0.3);
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* CATALOG */
.catalog-section { background: var(--ivory); }
.catalog-topline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.catalog-topline h2 { max-width: 560px; margin-bottom: 0; font-size: clamp(32px, 4vw, 48px); }
.catalog-topline h2 em { color: var(--green); }
.catalog-topline > .text-button { margin-bottom: 4px; color: var(--red); white-space: nowrap; }
.search-result-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-card {
  position: relative;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms, border-color 220ms;
  animation: riseIn 450ms var(--ease-out) both;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(55, 107, 58, 0.3);
}
.product-card.is-soldout:hover {
  transform: translateY(-2px);
  border-color: var(--line);
}
.product-card.is-highlighted {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(55, 107, 58, 0.22), var(--shadow-soft);
}
.product-image-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  isolation: isolate;
}
/* Per-category photographic backdrop — layered radial "light" + weave texture
   standing in for real product photography, keyed to each category's accent. */
.product-image-wrap::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 140% at 22% 18%, rgba(255, 255, 255, 0.5), transparent 55%),
    linear-gradient(155deg, var(--paper-deep) 0%, var(--paper) 55%, var(--paper-deep) 100%);
  content: "";
}
.product-image-wrap::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(42, 36, 27, 0.05) 0 1px, transparent 1px 13px);
  content: "";
  opacity: 0.6;
}
.product-image-wrap[data-accent="sun"] { background: linear-gradient(155deg, #f6e2ad 0%, var(--paper) 65%); }
.product-image-wrap[data-accent="red"] { background: linear-gradient(155deg, var(--red-soft) 0%, var(--paper) 65%); }
.product-image-wrap[data-accent="leaf"] { background: linear-gradient(155deg, var(--green-soft) 0%, var(--paper) 65%); }
.product-image-wrap[data-accent="green"] { background: linear-gradient(155deg, var(--green-soft) 0%, var(--yellow-soft) 130%); }
.product-image-wrap .product-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 380ms var(--ease-out);
}
.product-card:hover .product-image-wrap .product-photo {
  transform: scale(1.06);
}
.product-card.is-soldout .product-image-wrap .product-photo {
  filter: grayscale(0.75);
  opacity: 0.55;
}
.product-card.is-soldout .product-image-wrap::before,
.product-card.is-soldout .product-image-wrap::after {
  filter: grayscale(0.6);
  opacity: 0.7;
}

/* STOCK RIBBON — replaces flat top-left badge with a folded-corner ribbon */
.product-badge {
  position: absolute;
  top: 14px; left: -6px;
  z-index: 2;
  padding: 5px 14px 5px 16px;
  border-radius: 0 3px 3px 0;
  background: var(--green);
  color: var(--ivory);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(31, 73, 40, 0.28);
  animation: badgeSlideIn 420ms var(--ease-out) both;
}
.product-badge::after {
  position: absolute;
  top: 100%; left: 0;
  border-width: 3px 3px 0 0;
  border-style: solid;
  border-color: var(--green-deep) transparent transparent transparent;
  content: "";
  filter: brightness(0.75);
}
.product-badge.offer {
  background: var(--red);
  box-shadow: 0 4px 12px rgba(127, 33, 30, 0.35);
  animation: badgeSlideIn 420ms var(--ease-out) both, pulseOffer 2.2s ease-in-out 420ms infinite;
}
.product-badge.offer::after { border-color: var(--red-deep) transparent transparent transparent; }
.product-badge.lowstock {
  background: var(--yellow);
  color: var(--wood);
  box-shadow: 0 4px 10px rgba(242, 183, 5, 0.35);
}
.product-badge.lowstock::after { border-color: #b98904 transparent transparent transparent; }
.product-badge.soldout {
  left: 10px;
  padding: 5px 10px;
  border-radius: 3px;
  background: var(--wood-soft);
}
.product-badge.soldout::after { display: none; }
@keyframes badgeSlideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulseOffer {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

/* IN-STOCK / SOLD-OUT status line under the title */
.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.stock-status::before {
  width: 6px; height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  content: "";
}
.stock-status.in-stock { color: var(--green); }
.stock-status.in-stock::before { background: var(--green); box-shadow: 0 0 0 3px rgba(55, 107, 58, 0.18); animation: stockPulse 2.2s ease-in-out infinite; }
.stock-status.low { color: #a97904; }
.stock-status.low::before { background: var(--yellow); box-shadow: 0 0 0 3px rgba(242, 183, 5, 0.22); }
.stock-status.out { color: var(--wood-soft); }
.stock-status.out::before { background: var(--wood-soft); }
@keyframes stockPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(55, 107, 58, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(55, 107, 58, 0.06); }
}

/* Sold-out card treatment */
.product-card.is-soldout { background: var(--paper); }
.product-card.is-soldout .product-card h3,
.product-card.is-soldout h3 { color: var(--wood-soft); }
.product-card.is-soldout::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, transparent 60%, rgba(42, 36, 27, 0.04));
  content: "";
  pointer-events: none;
}
.product-card-body { padding: 14px 14px 16px; }
.product-category {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-card h3 {
  margin: 0 0 8px;
  min-height: 40px;
  font-family: "Bree Serif", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--wood);
  transition: color 200ms;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-card-footer strong {
  color: var(--red);
  font-family: "Bree Serif", serif;
  font-size: 18px;
  font-weight: 400;
}
.add-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--green);
  color: var(--ivory);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 160ms, transform 160ms, box-shadow 160ms;
}
.add-button:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(31, 73, 40, 0.25); }
.add-button:active { transform: translateY(0) scale(0.97); }
.add-button:disabled {
  background: var(--paper-deep);
  color: var(--wood-soft);
  border: 1px solid var(--line);
  cursor: not-allowed;
  opacity: 1;
  box-shadow: none;
  transform: none;
}
/* ---- Admin stock toggle ---- */
body.admin-mode .product-card {
  outline: 1px dashed rgba(196, 43, 43, 0.35);
  outline-offset: 3px;
}
.admin-stock-row {
  display: none;
  margin-top: 8px;
}
body.admin-mode .admin-stock-row { display: block; }
.stock-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 7px 10px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  color: var(--wood);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 160ms, color 160ms, border-color 160ms, transform 160ms;
}
.stock-toggle-btn:hover { transform: translateY(-1px); }
.stock-toggle-btn.mark-in-stock {
  background: var(--green-soft);
  color: var(--green-deep);
  border-color: rgba(55, 107, 58, 0.35);
}
.stock-toggle-btn.mark-in-stock:hover { background: var(--green); color: var(--ivory); }
.stock-toggle-btn.mark-sold-out {
  background: var(--red-soft);
  color: var(--red);
  border-color: rgba(196, 43, 43, 0.3);
}
.stock-toggle-btn.mark-sold-out:hover { background: var(--red); color: var(--ivory); }
.stock-toggle-btn svg { width: 12px; height: 12px; }
.catalog-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.catalog-more span { color: var(--muted); font-size: 13px; }
.empty-search {
  text-align: center;
  padding: 40px;
  color: var(--muted);
}

/* ABOUT */
.promise-section { background: var(--paper); }
.promise-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.promise-panel { max-width: 480px; }
.promise-panel p {
  color: var(--wood-soft);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.promise-facts { display: flex; flex-direction: column; gap: 14px; }
.fact-card {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 18px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 260ms;
  animation: riseIn 500ms var(--ease-out) both;
}
.fact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(242, 183, 5, 0.4);
}
.fact-card::before {
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--yellow);
  content: "";
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 300ms var(--ease-out);
}
.fact-card:hover::before { transform: scaleY(1); }

/* Icon medallion — ringed seal that rotates in on hover, matching the
   category-card / checkout-step "stamped" motif used elsewhere on the page. */
.fact-icon {
  position: relative;
  width: 48px; height: 48px;
  flex: 0 0 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: transform 380ms var(--ease-out);
}
.fact-card:hover .fact-icon { transform: rotate(-8deg) scale(1.08); }
.fact-icon::after {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px dashed currentColor;
  opacity: 0.35;
  content: "";
  transition: opacity 260ms, transform 500ms var(--ease-out);
  transform: scale(0.85);
}
.fact-card:hover .fact-icon::after { opacity: 0.6; transform: scale(1); }
.fact-icon.red { background: var(--red-soft); color: var(--red); }
.fact-icon.leaf { background: var(--green-soft); color: var(--green); }
.fact-icon svg { position: relative; z-index: 1; }
.fact-card strong {
  display: block;
  font-family: "Bree Serif", serif;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 4px;
}
.fact-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }

.address-card {
  grid-column: 1 / -1;
  position: relative;
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 8px;
  border-left: 4px solid var(--yellow);
  overflow: hidden;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
  animation: riseIn 560ms var(--ease-out) both;
}
.address-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.address-card > svg {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  padding: 11px;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: var(--red);
  transition: transform 380ms var(--ease-out);
}
.address-card:hover > svg { transform: scale(1.08) rotate(-6deg); }
.address-card strong {
  display: block;
  font-family: "Bree Serif", serif;
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 4px;
}
.address-card p { margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.address-card a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: gap 180ms var(--ease-out), border-color 180ms;
}
.address-card a:hover { gap: 8px; border-color: var(--green); }

/* CONTACT */
.contact-section { background: var(--ivory); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-intro p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-list a, .contact-list > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--wood);
}
.contact-list small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-form {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  border-top: 4px solid var(--green);
}
.form-topline {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-form label, #checkoutForm label {
  display: block;
  margin-bottom: 14px;
  color: var(--wood-soft);
  font-size: 12px;
  font-weight: 700;
}
.contact-form input, .contact-form textarea,
#checkoutForm input, #checkoutForm textarea, #checkoutForm select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--ivory);
  color: var(--wood);
  font-size: 14px;
}
.form-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* FOOTER */
.site-footer {
  position: relative;
  background:
    radial-gradient(120% 200% at 100% 0%, rgba(242, 183, 5, 0.08), transparent 55%),
    linear-gradient(180deg, var(--red-deep), #5c1815 100%);
  color: var(--ivory);
  padding: 56px 0 26px;
  overflow: hidden;
}
/* Notched top divider — echoes .section-heading::after's temple-bunting motif */
.site-footer::before {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: repeating-linear-gradient(115deg, var(--yellow) 0 18px, var(--yellow-soft) 18px 20px, transparent 20px 26px);
  content: "";
  z-index: 1;
}
/* Faint ambient weave, matching the product-image-wrap texture language */
.footer-motif {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 231, 160, 0.035) 0 1px, transparent 1px 22px);
  pointer-events: none;
}
.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(242, 183, 5, 0.4);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: riseIn 500ms var(--ease-out) both;
}
.footer-brand .brand-seal {
  background: var(--ivory);
  box-shadow: 0 3px 0 var(--yellow), 0 10px 22px rgba(0, 0, 0, 0.25);
  transition: transform 380ms var(--ease-out);
}
.footer-brand:hover .brand-seal { transform: rotate(-6deg); }
.footer-brand .brand-seal-fallback { color: var(--wood); }
.footer-brand strong { color: var(--ivory); }
.footer-brand small { color: var(--yellow); display: flex; font-size: 9px;}

.footer-links {
  display: flex;
  gap: 26px;
  animation: riseIn 500ms var(--ease-out) 80ms both;
}
.footer-links button {
  position: relative;
  padding: 4px 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms;
}
.footer-links button::after {
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.footer-links button:hover { color: var(--yellow); }
.footer-links button:hover::after { transform: scaleX(1); }

.footer-follow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: column;
  animation: riseIn 500ms var(--ease-out) 140ms both;
}
.footer-follow small {
  color: rgba(255, 250, 240, 0.65);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-follow .icon {
  gap: 10px;
  display: flex;
}
.footer-follow a {
  position: relative;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 231, 160, 0.5);
  border-radius: 50%;
  color: var(--ivory);
  overflow: hidden;
  transition: transform 220ms var(--ease-out), border-color 220ms, color 220ms;
  animation: riseIn 420ms var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 70ms + 200ms);
}
.footer-follow a::before {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
  transform: scale(0);
  transition: transform 260ms var(--ease-out);
  z-index: -1;
}
.footer-follow a:hover {
  color: var(--green-deep);
  border-color: var(--yellow);
  transform: translateY(-3px) rotate(-6deg);
}
.footer-follow a:hover::before { transform: scale(1); }


.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 12px;
}

/* MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 30, 18, 0.55);
  backdrop-filter: blur(4px);
  animation: fadeIn 200ms ease both;
}
.modal-backdrop[hidden] { display: none !important; }
.modal-card {
  position: relative;
  width: min(920px, 100%);
  max-height: min(880px, calc(100vh - 40px));
  overflow: auto;
  padding: 28px;
  border-top: 4px solid var(--red);
  background: var(--ivory);
  box-shadow: var(--shadow);
  border-radius: 8px;
  animation: modalIn 280ms var(--ease-out) both;
}
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.modal-header h2 {
  margin: 8px 0 0;
  font-family: "Bree Serif", serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.close-button { background: var(--paper); }
.collection-intro {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.collection-intro-visual {
  position: relative;
  width: 120px; height: 90px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--green-soft), var(--paper-deep));
  display: grid; place-items: center;
}
.collection-intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.collection-intro-visual .category-icon-badge {
  top: 6px; right: 6px;
  width: 30px; height: 30px;
}
.collection-intro-visual .category-icon-badge svg { width: 17px; height: 17px; }
.collection-intro p {
  margin: 0 0 4px;
  color: var(--wood-soft);
  font-family: "Bree Serif", serif;
  font-size: 18px;
  line-height: 1.2;
}
.collection-intro span { color: var(--muted); font-size: 11px; }
.modal-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.modal-product-grid .product-image-wrap { height: 140px; }
.modal-product-grid .product-card h3 { min-height: 36px; font-size: 14px; }

/* CATEGORY MODAL — NEXT / PREV COLLECTION NAV */
.category-nav-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.category-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--wood);
  cursor: pointer;
  transition: transform 200ms var(--ease-out), border-color 200ms, background 200ms;
}
.category-nav-btn:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  background: var(--green-soft);
}
.category-nav-btn.next { flex-direction: row-reverse; text-align: right; }
.category-nav-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.category-nav-btn.next .category-nav-label { align-items: flex-end; }
.category-nav-name {
  font-family: "Bree Serif", serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--wood);
}

/* CART */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(20, 30, 18, 0.45);
  display: flex;
  justify-content: flex-end;
  animation: fadeIn 180ms ease both;
}
.cart-backdrop[hidden] { display: none !important; }
.cart-drawer {
  width: min(400px, 100%);
  height: 100%;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0,0,0,0.15);
  animation: drawerIn 280ms var(--ease-out) both;
}
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.cart-header h2 {
  margin: 0;
  font-family: "Bree Serif", serif;
  font-size: 24px;
  font-weight: 400;
}
.cart-body { flex: 1; overflow: auto; padding: 12px 20px; }
.thank-you-modal {
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px 28px;
  animation: thankYouPop 0.35s ease;
}
.thank-you-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  color: var(--green-deep);
  margin-bottom: 14px;
}
.thank-you-modal h3 {
  margin: 0 0 10px;
  font-family: "Bree Serif", serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--wood);
}
.thank-you-modal p {
  margin: 0 0 6px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.thank-you-sub {
  font-weight: 700;
  color: var(--green-deep) !important;
  margin-bottom: 20px !important;
}
.thank-you-modal .button {
  margin-top: 4px;
}
@keyframes thankYouPop {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--muted);
  padding: 20px;
}
.empty-cart h3 {
  margin: 12px 0 6px;
  font-family: "Bree Serif", serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--wood);
}
.empty-cart p { margin: 0 0 16px; font-size: 13px; }
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line-main strong {
  display: block;
  font-family: "Bree Serif", serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
}
.cart-line-main small { color: var(--muted); font-size: 11px; }
.cart-line > b {
  color: var(--red);
  font-family: "Bree Serif", serif;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
}
.quantity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.quantity button {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  color: var(--green);
  font-weight: 700;
}
.quantity span {
  min-width: 18px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}
.cart-summary {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.cart-summary > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cart-summary > div span { color: var(--muted); font-size: 13px; }
.cart-summary .total-row strong {
  color: var(--red);
  font-family: "Bree Serif", serif;
  font-size: 22px;
  font-weight: 400;
}
.cart-summary > small {
  display: block;
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 11px;
}

/* CHECKOUT */
.checkout-modal { width: min(980px, 100%); }
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.checkout-step {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.checkout-step > span {
  width: 28px; height: 28px;
  flex: 0 0 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--wood);
  font-family: "Bree Serif", serif;
  font-size: 13px;
}
.checkout-step strong {
  display: block;
  font-family: "Bree Serif", serif;
  font-size: 18px;
  font-weight: 400;
}
.checkout-step p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.delivery-note {
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
}
.payment-panel {
  padding: 18px;
  background: var(--paper);
  border-radius: 6px;
}
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.order-total span { color: var(--muted); font-size: 13px; }
.order-total strong {
  color: var(--red);
  font-family: "Bree Serif", serif;
  font-size: 26px;
  font-weight: 400;
}
.qr-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--ivory);
  border-radius: 6px;
  margin-bottom: 12px;
}
.qr-placeholder {
  width: 110px; height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--paper-deep);
  border-radius: 4px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  overflow: hidden;
}
.qr-placeholder.qr-has-image {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px;
}
.qr-placeholder.qr-has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 2px;
}
.gpay-logo-box {
  gap: 8px;
}
.gpay-logo-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #5f6368;
  letter-spacing: 0.01em;
  text-transform: none;
}
.qr-scan-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin: -4px 0 12px;
}
.qr-scan-note strong { color: var(--wood); font-weight: 600; }
.qr-card strong {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.qr-card span {
  display: block;
  font-family: monospace;
  font-size: 12px;
  word-break: break-all;
  margin-bottom: 6px;
}
.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  background: var(--yellow);
  color: var(--wood);
  font-size: 10px;
  font-weight: 800;
  border-radius: 3px;
}
.payment-hint {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 11px;
  line-height: 1.4;
  border-radius: 4px;
  margin-bottom: 12px;
}
.payment-hint svg { flex-shrink: 0; margin-top: 1px; }
.payment-hint-hold {
  background: var(--red-soft);
  color: var(--red-deep);
  border: 1px solid rgba(183, 54, 44, 0.25);
}
.payment-hint-hold strong { font-weight: 800; }
.payment-hint-ok {
  background: var(--green-soft);
  color: var(--green-deep);
}

.paid-confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  background: var(--ivory);
  border: 1.5px dashed var(--green);
  border-radius: 5px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.45;
  color: var(--wood);
}
.paid-confirm-check input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  flex-shrink: 0;
  cursor: pointer;
}
.paid-confirm-check strong { color: var(--green-deep); }
.paid-confirm-check:has(input:checked) {
  border-style: solid;
  background: var(--green-soft);
}

.payment-outcome-prompt {
  padding: 13px;
  background: var(--yellow-soft);
  border: 1.5px solid var(--yellow);
  border-radius: 5px;
  margin-bottom: 12px;
  text-align: center;
}
.payment-outcome-prompt strong {
  display: block;
  color: var(--wood);
  font-size: 12.5px;
  margin-bottom: 10px;
}
.payment-outcome-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.payment-outcome-buttons .button {
  min-height: 38px;
  font-size: 11px;
  padding: 8px 10px;
}
.button-outline {
  background: transparent;
  color: var(--red-deep);
  border: 1.5px solid var(--red);
}
.button-outline:hover:not(:disabled) { background: var(--red-soft); }

#sendWhatsAppOrder:disabled {
  background: var(--muted);
  color: var(--ivory);
  opacity: 0.75;
  cursor: not-allowed;
  box-shadow: none;
}
#sendWhatsAppOrder:disabled:hover { background: var(--muted); }
/* TOAST */
.toast-stack {
  position: fixed;
  z-index: 200;
  top: 18px; right: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  min-width: 220px;
  max-width: 340px;
  padding: 13px 16px;
  border-radius: 6px;
  background: var(--wood);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: toastIn 220ms var(--ease-out) both;
}
.toast.success { border-left: 4px solid var(--green); }
.toast.error { border-left: 4px solid var(--red); }
.toast.leaving { animation: toastOut 200ms ease-in both; }

/* ANIMATIONS */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes drawerIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes modalIn {
  from { opacity: 0.6; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(16px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   RESPONSIVE — depth pass across device tiers
   1240 large desktop cap · 980 tablet landscape · 760 tablet portrait
   560 large phone · 410 small phone · 360 compact phone
   + short-viewport / landscape-phone + touch/pointer refinements
   ============================================================ */

/* LARGE DESKTOP — let the page breathe without the grid over-stretching */
@media (min-width: 1441px) {
  .page-width { width: min(1280px, calc(100% - 64px)); }
  .hero h1 { font-size: clamp(64px, 5.4vw, 86px); }
  .product-grid { gap: 20px; }
  .footer-scroll-top { right: max(32px, calc((100% - 1280px) / 2)); }
}

/* TABLET LANDSCAPE */
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .promise-layout, .contact-layout { gap: 36px; }
  .footer-top { grid-template-columns: 1fr auto; row-gap: 20px; }
  .footer-links { grid-column: 1 / -1; order: 3; }
  .footer-scroll-top { right: max(18px, calc((100% - 900px) / 2)); bottom: 20px; }
  .checkout-layout { gap: 24px; }
  .category-icon-badge { width: 36px; height: 36px; }
  .category-icon-badge svg { width: 20px; height: 20px; }
}

/* TABLET PORTRAIT / large phone landscape */
@media (max-width: 760px) {
  .page-width, .header-inner { width: min(100% - 28px, 620px); }
  .header-inner { min-height: 60px; gap: 8px; }
  .mobile-menu-button { display: grid; }
  .brand-seal { width: 34px; height: 25px; flex-basis: 22px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 7px; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px; left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px;
    border: 1px solid var(--line);
    background: var(--ivory);
    box-shadow: var(--shadow-soft);
  }
  .main-nav.open { display: flex; animation: riseIn 180ms var(--ease-out) both; }
  .nav-link { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
  .nav-link:last-child { border-bottom: 0; }
  .header-actions { min-width: auto; margin-left: auto; }
  .header-search-wrap {
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
  }
  .header-search-input {
    top: 8px;
    right: 0;
    width: 100%;
  }
  .header-search-results { top: calc(100% + 8px); max-height: 60vh; }
  .cart-trigger span { display: none; }
  .cart-trigger { padding: 10px; }

  .hero, .hero-content { min-height: 550px; }
  .hero-copy { width: 100%; padding: 60px 0 80px; }
  .hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-copy > p { font-size: 14px; }
  .hero-bottom-mark { padding: 60px max(24px, calc((100% - 620px) / 2)) 18px; flex-wrap: wrap; gap: 10px 14px; }

  .section-block { padding: 64px 0; }
  .section-heading h2, .catalog-topline h2, .promise-panel h2, .contact-intro h2 { font-size: 36px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-1, .category-2, .category-3, .category-4, .category-5, .category-6, .category-7 {
    grid-column: span 1;
    min-height: 200px;
  }
  .category-1 { grid-column: span 2; min-height: 230px; }
  .category-content strong { font-size: 18px; }

  .catalog-topline { flex-direction: column; align-items: flex-start; gap: 14px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .product-image-wrap { height: 140px; }
  .product-image-wrap .product-icon { width: 68px; height: 68px; font-size: 28px; }
  .product-card h3 { min-height: 38px; font-size: 13px; }
  .stock-status { font-size: 10px; }
  .product-card-body { padding: 12px; }
  .add-button { padding: 8px 10px; font-size: 10px; }

  .promise-layout, .contact-layout { display: flex; flex-direction: column; gap: 28px; }
  .promise-panel, .contact-intro, .address-card, .contact-form { max-width: 100%; width: 100%; }
  .fact-icon { width: 44px; height: 44px; flex-basis: 44px; }

  .footer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 26px; }
  .footer-follow { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .footer-scroll-top { top: 22px; right: 16px; width: 34px; height: 34px; }

  .modal-backdrop { align-items: flex-end; padding: 0; }
  .modal-card {
    max-height: calc(100vh - 24px);
    padding: 20px 14px;
    border-radius: 14px 14px 0 0;
  }
  .modal-header h2 { font-size: 28px; }
  .collection-intro { grid-template-columns: 80px 1fr; gap: 10px; }
  .collection-intro-visual { width: 80px; height: 64px; font-size: 20px; }
  .modal-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .modal-product-grid .product-image-wrap { height: 140px; }
  .checkout-layout { display: flex; flex-direction: column; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .qr-card { grid-template-columns: 1fr; }
  .qr-placeholder { width: 100%; height: 100px; }

  .loader-seal { width: 72px; height: 72px; }
  .loader-word strong { font-size: 17px; }
  .loader-word small { font-size: 9px; }
  .footer-scroll-top { width: 38px; height: 38px; right: 16px; bottom: 18px; }
}

/* LARGE PHONE — between the tablet rules above and the small-phone rules below */
@media (max-width: 560px) {
  .section-block { padding: 52px 0; }
  .category-grid { gap: 8px; }
  .category-1, .category-2, .category-3, .category-4, .category-5, .category-6, .category-7 { min-height: 176px; }
  .category-1 { min-height: 200px; }
  .category-content { right: 12px; bottom: 12px; left: 12px; }
  .category-content strong { max-width: 100%; font-size: 16px; }

  /* 2-column product grid — readable cards on phones */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-image-wrap { height: 150px; }
  .product-card-body { padding: 12px; }
  .product-card h3 { font-size: 13.5px; min-height: 38px; }
  .product-card-footer { flex-direction: column; align-items: stretch; gap: 8px; }
  .product-card-footer strong { font-size: 16px; }
  .add-button { padding: 9px 12px; font-size: 10px; justify-content: center; }
  .stock-status { font-size: 10px; }

  .fact-card { padding: 14px; gap: 12px; }
  .address-card { padding: 18px; gap: 12px; flex-direction: column; }
  .address-card > svg { margin-bottom: 2px; }

  .contact-form { padding: 20px; }
  .modal-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .modal-product-grid .product-image-wrap { height: 130px; }

  .category-icon-badge { top: 10px; right: 10px; width: 32px; height: 32px; }
  .category-icon-badge svg { width: 18px; height: 18px; }
  .footer-scroll-top { width: 36px; height: 36px; right: 14px; bottom: 16px; }
}

/* SMALL PHONE */
@media (max-width: 410px) {
  .brand-copy { display: flex; }
  .hero h1 { font-size: 38px; }
  .hero-actions { gap: 12px; }
  .hero-bottom-mark { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 40px; }
  .mark-divider { display: none; }

  .section-heading h2, .catalog-topline h2, .promise-panel h2, .contact-intro h2 { font-size: 30px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-1, .category-2, .category-3, .category-4, .category-5, .category-6, .category-7,
  .category-1 { grid-column: span 1; min-height: 180px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-image-wrap { height: 140px; }
  .product-card h3 { font-size: 13px; min-height: 36px; }
  .product-card-footer { flex-direction: column; align-items: stretch; gap: 8px; }
  .add-button { justify-content: center; padding: 8px 10px; font-size: 9.5px; }
  .product-badge { font-size: 8px; padding: 4px 10px 4px 12px; }

  .footer-top { padding-bottom: 22px; }
  .footer-scroll-top { position: static; margin-bottom: 4px; align-self: flex-end; }
  .footer-links { flex-wrap: wrap; row-gap: 10px; }

  .modal-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .modal-product-grid .product-image-wrap { height: 120px; }

  .loader-seal { width: 64px; height: 64px; }
  .loader-word strong { font-size: 16px; }
  .loader-bar { width: min(150px, 50vw); }
  .footer-scroll-top { width: 34px; height: 34px; right: 12px; bottom: 14px; }
  .footer-scroll-top svg { width: 15px; height: 15px; }
}

/* COMPACT PHONE — the narrowest common devices */
@media (max-width: 360px) {
  .page-width, .header-inner { width: min(100% - 20px, 620px); }
  .hero h1 { font-size: 32px; }
  .hero-copy > p { font-size: 13.5px; }
  .button { padding: 11px 16px; font-size: 11px; }
  .category-content strong { font-size: 15px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-image-wrap { height: 128px; }
  .product-card h3 { font-size: 12.5px; min-height: 34px; }
  .product-card-footer strong { font-size: 15px; }
  .modal-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .modal-product-grid .product-image-wrap { height: 110px; }
  .qr-placeholder svg { width: 36px; height: 36px; }

  .category-icon-badge { top: 8px; right: 8px; width: 28px; height: 28px; }
  .category-icon-badge svg { width: 16px; height: 16px; }
  .loader-word small { font-size: 8.5px; letter-spacing: 0.22em; }
  .footer-scroll-top { right: 10px; bottom: 12px; }
}

/* SHORT / LANDSCAPE VIEWPORTS — phones rotated sideways, small laptops */
@media (max-height: 480px) and (orientation: landscape) {
  .hero, .hero-content { min-height: 420px; }
  .hero-copy { padding: 36px 0 48px; }
  .section-block { padding: 40px 0; }
  .modal-backdrop { align-items: center; padding: 12px; }
  .modal-card { max-height: calc(100vh - 24px); border-radius: 10px; }
  .cart-drawer { width: min(360px, 86vw); }
  .loader-seal { width: 56px; height: 56px; }
  .loader-word { gap: 2px; }
  .loader-word strong { font-size: 14px; }
  .loader-word small { display: none; }
  .footer-scroll-top { width: 32px; height: 32px; right: 12px; bottom: 12px; }
}

/* TOUCH DEVICES — swap hover-dependent affordances for tap-friendly states */
@media (hover: none) and (pointer: coarse) {
  .category-card:hover,
  .product-card:hover,
  .fact-card:hover,
  .address-card:hover,
  .footer-scroll-top:hover {
    transform: none;
  }
  .add-button, .button, .icon-button, .footer-follow a, .footer-scroll-top {
    min-height: 40px;
  }
  .footer-follow a:active::before,
  .add-button:active { transform: none; }
  /* Touch devices skip the cloned-image fly animation — the tap itself
     is the feedback, and building/animating a full-size clone on every
     tap is unnecessary work on typically slower mobile GPUs/CPUs. */
  .fly-to-cart { display: none; }
}

/* PRINT — the shop's ordering chrome shouldn't survive to paper */
@media print {
  .announce-bar, .site-header, .cart-backdrop, .modal-backdrop,
  .toast-stack, .footer-scroll-top, .add-button,
  .page-loader, .scroll-progress, .fly-to-cart { display: none !important; }
  body { background: #fff; }
}
/* =========================================================
   MOBILE TOP BLANK SPACE - FINAL FIX
   ========================================================= */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    display: block !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
}

.page-loader,
.scroll-progress,
.footer-scroll-top {
    position: fixed !important;
}

/* Announcement must start at the actual top of the webpage */
.announce-bar {
    margin: 0 !important;
    position: relative !important;
    top: 0 !important;
}

/* MOBILE */
@media screen and (max-width: 760px) {

    html {
        margin: 0 !important;
        padding: 0 !important;
    }

    body {
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        min-width: 0 !important;
        position: relative !important;
        top: 0 !important;
        transform: none !important;
    }

    .announce-bar {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;

        /* pulls the bar up if the unwanted mobile
           spacer is being created outside the bar */
        position: relative !important;
        top: -1px !important;
        margin-bottom: -1px !important;
    }

    .site-shell {
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header {
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-inner {
        margin-top: 0 !important;
    }
}

/* CHECKOUT ITEM REMOVE CONTROL */
.checkout-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-item-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.checkout-item-copy strong {
  font-size: 13px;
  color: var(--wood);
}

.checkout-item-copy small {
  color: var(--muted);
  font-size: 11px;
}

.checkout-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.checkout-item-actions b {
  font-size: 13px;
  color: var(--wood);
}

.checkout-remove-btn {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(183, 54, 44, 0.28);
  border-radius: 5px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.checkout-remove-btn:hover {
  background: var(--red);
  color: var(--ivory);
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .checkout-item-row {
    align-items: flex-start;
  }

  .checkout-item-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
}

/* Cart remove action */
.cart-line-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  min-width: 72px;
}
.cart-remove-button {
  border: 1px solid rgba(180, 45, 45, 0.35);
  background: transparent;
  color: #b52f2f;
  border-radius: 8px;
  padding: 5px 9px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}
.cart-remove-button:hover {
  background: #b52f2f;
  color: #fff;
  transform: translateY(-1px);
}