:root {
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Hayati Health brand palette */
  --emerald: #1E4D3B;       /* Forest Green */
  --emerald-dark: #163B2D;
  --sage: #A6BFAE;          /* Sage Green */
  --blush-sand: #E7CFC3;    /* Blush Sand */
  --blush-dark: #C9958A;    /* deeper rose for icons/accents needing more weight */
  --gold: #D4AF37;

  /* CTAs/buttons now read as brand forest green (see .btn-hero for the one
     exception: it sits on the green hero, so it stays blush for contrast) */
  --coral: var(--emerald);
  --coral-dark: var(--emerald-dark);

  /* mapped onto the existing design-token names used throughout the stylesheet */
  --mint: var(--emerald);
  --mint-dark: var(--emerald-dark);
  --mint-light: var(--blush-sand);
  --cream: #F6F3EC;         /* Warm Ivory */
  --text: #222222;          /* Charcoal */
  --muted: #8a7c6f;
  --border: #ecdfd2;
  --danger: #C0503F;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
}

h1, h2, h3, .hero h1, .category-section-head h2, .logo-wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* site-wide living background (behind everything, visible in the cream gaps) */
.site-bg-anim {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.site-header, main, .site-footer, .hero { position: relative; z-index: 1; }

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  background: var(--mint);
  opacity: 0.14;
}
.bg-blob-1 { width: 260px; height: 260px; top: 8%; left: -60px; animation: bgDrift1 22s ease-in-out infinite; }
.bg-blob-2 { width: 320px; height: 320px; top: 45%; right: -100px; animation: bgDrift2 26s ease-in-out infinite; opacity: 0.1; }
.bg-blob-3 { width: 200px; height: 200px; bottom: 12%; left: 8%; animation: bgDrift1 18s ease-in-out infinite reverse; }
.bg-blob-4 { width: 240px; height: 240px; bottom: 30%; right: 12%; animation: bgDrift2 20s ease-in-out infinite; opacity: 0.12; }

@keyframes bgDrift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 60px); }
}
@keyframes bgDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, -40px); }
}

.bg-leaf {
  position: absolute;
  width: 34px;
  height: 34px;
  background: var(--mint-dark);
  opacity: 0.08;
  border-radius: 0 50% 50% 50%;
  animation: bgLeafSway 12s ease-in-out infinite;
}
.bg-leaf-1 { top: 22%; right: 18%; animation-duration: 11s; }
.bg-leaf-2 { bottom: 18%; left: 22%; animation-duration: 14s; animation-delay: -4s; }

@keyframes bgLeafSway {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(35deg) translateY(-24px); }
}

.bg-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-dark);
  opacity: 0.18;
  animation: bgDotFloat 9s ease-in-out infinite;
}
.bg-dot-1 { top: 15%; left: 30%; animation-duration: 8s; }
.bg-dot-2 { top: 65%; left: 60%; animation-duration: 10s; animation-delay: -3s; }
.bg-dot-3 { top: 38%; left: 80%; animation-duration: 7s; animation-delay: -2s; }

@keyframes bgDotFloat {
  0%, 100% { transform: translateY(0); opacity: 0.1; }
  50% { transform: translateY(-30px); opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-blob, .bg-leaf, .bg-dot { animation: none; }
}

/* floating product showcase in the side margins */
.side-float {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 170px;
  z-index: 2;
  pointer-events: none;
  display: none;
}
.side-float-left { left: 14px; }
.side-float-right { right: 14px; }

.side-float-item {
  position: absolute;
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 20px;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 14px 32px rgba(31,114,103,0.22);
  cursor: pointer;
  pointer-events: auto;
  animation: sideFloatBob 7s ease-in-out infinite;
}
.side-float-item:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 18px 40px rgba(31,114,103,0.34);
}
.side-float-left .side-float-item:nth-child(1) { top: 14%; left: 4px; }
.side-float-left .side-float-item:nth-child(2) { top: 44%; left: 30px; }
.side-float-left .side-float-item:nth-child(3) { top: 74%; left: 0; }
.side-float-right .side-float-item:nth-child(1) { top: 18%; right: 4px; }
.side-float-right .side-float-item:nth-child(2) { top: 48%; right: 30px; }
.side-float-right .side-float-item:nth-child(3) { top: 78%; right: 0; }

@keyframes sideFloatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@media (min-width: 1780px) {
  .side-float { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .side-float-item { animation: none; }
}

/* login page */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 24px;
}
.login-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 36px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.login-logo { height: 60px; margin-bottom: 16px; }
.login-card h1 { font-size: 1.4rem; margin: 0 0 4px; }
.login-card .muted { color: var(--muted); margin: 0 0 20px; font-size: 0.9rem; }
.login-card .admin-form { text-align: left; max-width: none; }
.login-error {
  background: #fdecea;
  color: var(--danger);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 16px;
}
.login-back {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.85rem;
}

.admin-user-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
.admin-user-bar form { display: inline; }
.admin-user-bar button {
  background: none;
  border: none;
  color: var(--coral-dark);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
}

/* WhatsApp contact button */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s ease;
}
.whatsapp-btn:hover { transform: scale(1.08); text-decoration: none; }
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.55;
  animation: whatsappPulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-pulse { animation: none; opacity: 0; }
}
@media (max-width: 640px) {
  .whatsapp-btn { bottom: 16px; right: 16px; width: 50px; height: 50px; }
}

a { color: var(--mint-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  height: 104px;
}
.logo-link { display: flex; align-items: center; align-self: stretch; height: 100%; }
.logo { height: 100%; width: auto; max-width: 360px; object-fit: contain; padding: 10px 0; display: block; }
.search-form {
  display: flex;
  align-items: center;
  flex: 1 1 260px;
  max-width: 360px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 6px 6px 6px 16px;
}
.search-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
}
.search-form button {
  border: none;
  background: var(--coral);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.search-form button svg { width: 16px; height: 16px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--emerald);
}
.hamburger-btn svg { width: 26px; height: 26px; }

.main-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.main-nav a { font-weight: 600; color: var(--text); font-size: 0.92rem; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
  padding: 0;
}
.nav-dropdown-caret { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav-dropdown.open .nav-dropdown-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  padding: 8px;
  min-width: 220px;
  max-height: 60vh;
  overflow-y: auto;
  z-index: 20;
}
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  padding: 9px 12px;
  border-radius: 6px;
  font-weight: 500 !important;
  font-size: 0.9rem;
}
.nav-dropdown-menu a:hover { background: var(--mint-light); color: var(--mint-dark) !important; text-decoration: none; }

.admin-link {
  background: var(--emerald);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 6px;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 28, 0.45);
  z-index: 15;
}
.nav-overlay.open { display: block; }

@media (max-width: 900px) {
  .header-inner { flex-wrap: nowrap; }
  .hamburger-btn { display: inline-flex; align-items: center; }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: min(300px, 82vw);
    background: #fff;
    z-index: 16;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 4px;
    padding: 80px 24px 24px;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    box-shadow: 8px 0 24px rgba(0,0,0,0.12);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a {
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .main-nav .admin-link {
    border-bottom: none;
    text-align: center;
    margin-top: 12px;
  }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav-dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 14px;
    min-width: 0;
    max-height: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: flex; }
  .nav-dropdown-menu a { border-bottom: 1px solid var(--border); }
}
@media (max-width: 520px) {
  .header-inner { flex-wrap: wrap; }
  .search-form { order: 3; flex-basis: 100%; max-width: none; }
  .logo { height: 58px; }
}
.admin-link:hover { background: var(--mint-dark); text-decoration: none; }

/* hero */
.hero {
  background: radial-gradient(circle at top left, #3fb5a4, var(--mint-dark) 70%);
  color: #fff;
  text-align: center;
  padding: 32px 24px 90px;
  position: relative;
  overflow: hidden;
  min-height: 560px;
}
@media (max-width: 600px) {
  .hero { min-height: 480px; }
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(63,181,164,0.75), rgba(31,114,103,0.82) 70%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-bg-svg { width: 100%; height: 100%; }
.hero-inner { position: absolute; inset: 0; z-index: 2; }

@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(24px, -18px) scale(1.06); }
  100% { transform: translate(0, 0) scale(1); }
}
.orb { transform-origin: center; animation: orbDrift 14s ease-in-out infinite; }
.orb-b { animation-duration: 18s; animation-delay: -4s; }
.orb-c { animation-duration: 11s; animation-delay: -7s; }

@keyframes leafSway {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(14px, -22px) rotate(14deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.leaf { transform-origin: center; animation: leafSway 9s ease-in-out infinite; }
.leaf-1 { transform: translate(180px, 260px); animation-duration: 8s; }
.leaf-2 { transform: translate(760px, 340px); animation-duration: 10s; animation-delay: -3s; }
.leaf-3 { transform: translate(1000px, 210px); animation-duration: 7s; animation-delay: -5s; }

@keyframes dropRise {
  0%   { transform: translateY(0); opacity: 0.15; }
  50%  { opacity: 0.5; }
  100% { transform: translateY(-40px); opacity: 0; }
}
.drop { animation: dropRise 6s ease-in infinite; }
.drop-1 { animation-duration: 5s; }
.drop-2 { animation-duration: 7s; animation-delay: -2s; }
.drop-3 { animation-duration: 6s; animation-delay: -1s; }
.drop-4 { animation-duration: 8s; animation-delay: -4s; }
.drop-5 { animation-duration: 5.5s; animation-delay: -3s; }

@keyframes pulseFade {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.35; }
}
.pulse-line { animation: pulseFade 5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .orb, .leaf, .drop, .pulse-line { animation: none; }
}

.hero-logo {
  position: absolute;
  left: 0%;
  top: 21.9%;
  width: 40%;
  height: 31.2%;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  padding: 10px 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.hero-logo-wide {
  height: 120px;
  max-width: min(560px, 88vw);
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 20px;
  padding: 16px 32px;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
@media (max-width: 600px) {
  .hero-logo-wide { height: 74px; padding: 12px 20px; border-radius: 16px; }
}
.hero h1 {
  position: absolute;
  left: 14%;
  top: 34%;
  width: 72%;
  font-size: 2.6rem;
  margin: 0;
  text-align: center;
  text-wrap: balance;
}
.hero p {
  position: absolute;
  left: 20%;
  top: 54%;
  width: 60%;
  font-size: 1.1rem;
  opacity: 0.95;
  margin: 0;
  text-align: center;
}
.btn-hero {
  position: absolute;
  left: 50%;
  top: 68%;
  transform: translateX(-50%);
  text-align: center;
  display: inline-block;
  background: var(--blush-sand) !important;
  border-color: var(--blush-sand) !important;
  color: var(--emerald-dark) !important;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none !important;
  font-family: var(--font-body);
  white-space: nowrap;
}
.btn-hero:hover { background: var(--blush-dark) !important; border-color: var(--blush-dark) !important; }

@media (max-width: 700px) {
  .hero h1 {
    left: 8%;
    top: 30%;
    width: 84%;
    font-size: 1.9rem;
  }
  .hero p {
    left: 12%;
    top: 52%;
    width: 76%;
  }
}

.key-features {
  max-width: 1000px;
  margin: 46px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
}
.key-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.key-feature svg {
  width: 34px;
  height: 34px;
  color: var(--emerald);
}
.key-feature span {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

.welcome-intro {
  position: relative;
  background: var(--blush-sand);
  margin-top: 50px;
  padding: 80px 24px;
  overflow: hidden;
}
.welcome-intro-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.welcome-intro-bg--active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .welcome-intro-bg { transition: none; }
}
.welcome-intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(247, 231, 220, 0.55) 0%,
    rgba(247, 231, 220, 0.2) 35%,
    rgba(247, 231, 220, 0.2) 65%,
    rgba(247, 231, 220, 0.55) 100%
  );
}
.welcome-intro-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 24px;
}
.welcome-mark {
  display: inline-block;
  color: var(--blush-dark);
  font-size: 1.6rem;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(255,255,255,0.8);
}
.welcome-intro h2 {
  font-size: 2.1rem;
  margin: 0 0 18px;
  color: var(--emerald-dark);
  text-shadow: 0 1px 16px rgba(255,255,255,0.85), 0 1px 4px rgba(255,255,255,0.9);
}
.welcome-intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 14px;
  text-shadow: 0 1px 12px rgba(255,255,255,0.85), 0 1px 3px rgba(255,255,255,0.9);
}
.welcome-signoff {
  font-style: italic;
  color: var(--emerald);
  font-weight: 600;
  font-size: 0.95rem !important;
}

main { max-width: 1600px; margin: 0 auto; padding: 0 24px 60px; }

.category-section { margin-top: 56px; scroll-margin-top: 90px; }
.category-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--mint-light);
  padding-bottom: 10px;
}
.category-section-head h2 { margin: 0; font-size: 1.55rem; }
.view-all { font-weight: 600; }

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 24px 8px;
  max-width: 1600px;
  margin: 0 auto;
}
.page-head h1 { margin: 0; }

.sort-bar {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  font-size: 0.9rem;
}
.sort-bar select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.88rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 22px;
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-info { padding: 10px 12px; }
  .product-info h3 { font-size: 0.86rem; margin: 0 0 4px; }
  .product-info .desc { display: none; }
  .wishlist-btn { width: 26px; height: 26px; font-size: 0.9rem; top: 6px; right: 6px; }
  .sale-badge { font-size: 0.62rem; padding: 3px 7px; top: 6px; left: 6px; }
  .brand { font-size: 0.62rem; }
  .price { font-size: 0.88rem; }
  .add-btn { font-size: 0.7rem; padding: 5px 10px; }
  .product-footer { margin-top: 6px; }
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,0.1); transform: translateY(-3px); }
.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.no-image { color: var(--muted); font-size: 0.85rem; }
.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--danger);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 20px;
  z-index: 1;
}
.compare-price {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
  font-size: 0.82rem;
  margin-left: 6px;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--blush-dark);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.15s ease;
}
.wishlist-btn:hover { transform: scale(1.12); }
.wishlist-btn.active { color: #fff; background: var(--blush-dark); }

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
}
.stars {
  position: relative;
  display: inline-block;
  font-size: 0.85rem;
  color: var(--border);
  letter-spacing: 1px;
}
.stars::after {
  content: "\2605\2605\2605\2605\2605";
  position: absolute;
  top: 0; left: 0;
  width: var(--pct, 0%);
  overflow: hidden;
  white-space: nowrap;
  color: #f5b400;
}
.rating-count { font-size: 0.78rem; color: var(--muted); }
.product-info { padding: 16px 18px; }
.brand {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  color: var(--mint-dark);
  font-weight: 700;
  margin: 0 0 4px;
}
.product-info h3 { font-size: 0.98rem; margin: 0 0 8px; line-height: 1.3; }
.product-info .desc { font-size: 0.85rem; color: var(--muted); margin: 0 0 10px; }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.price { font-weight: 700; color: var(--mint-dark); margin: 0; font-size: 1.05rem; }
.add-btn {
  background: var(--blush-sand);
  color: var(--coral-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 20px;
}

.site-footer {
  text-align: center;
  padding: 36px 24px 28px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  background: #fff;
}
.footer-logo { height: 36px; margin-bottom: 10px; }
.footer-tagline { font-weight: 600; color: var(--text); margin: 0 0 6px; }
.footer-copy { margin: 0; }

/* admin */
.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--mint);
  background: #fff;
  color: var(--mint-dark);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}
.btn-primary { background: var(--coral); color: #fff; border-color: var(--coral); }
.btn-primary:hover { background: var(--coral-dark); border-color: var(--coral-dark); }
.btn-small { padding: 5px 10px; font-size: 0.82rem; }
.btn-danger { border-color: var(--danger); color: var(--danger); background: #fff; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.inline-form { display: inline; }

main .admin-category-block:first-child { margin-top: 8px; }
.admin-category-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin: 24px auto 0;
  max-width: 1600px;
}
.admin-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.admin-category-head h2 { margin: 0; font-size: 1.2rem; }
.admin-actions { display: flex; gap: 8px; align-items: center; }
.muted { color: var(--muted); font-weight: 400; font-size: 0.85rem; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }

.admin-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}
.admin-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}
.admin-form input, .admin-form select, .admin-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 400;
}
.admin-form button { align-self: flex-start; }

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.image-gallery-item {
  position: relative;
  width: 70px;
  height: 70px;
}
.image-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.image-gallery-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: var(--danger);
  color: #fff;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1;
}

/* reports */
.pdf-report-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1600px;
  margin: 0 auto 20px;
  padding: 0 24px;
}
.pdf-report-links .btn { font-size: 0.85rem; }

.report-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto 24px;
  padding: 0 24px;
}
.report-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
}
.report-card .value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--emerald-dark);
  margin: 0 0 4px;
  font-family: var(--font-heading);
}
.report-card .label { font-size: 0.82rem; color: var(--muted); margin: 0; }
.report-card.warn .value { color: var(--danger); }
.stock-low { color: var(--danger); font-weight: 700; }
.stock-ok { color: var(--emerald); }

/* product card interactivity */
.product-card { cursor: pointer; }
.add-btn { cursor: pointer; }
.add-btn:hover { background: var(--coral); color: #fff; }

/* cart button in header */
.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  color: var(--emerald);
  transition: transform 0.2s ease;
}
.cart-btn svg { width: 24px; height: 24px; }
.cart-btn--bump { transform: scale(1.25); }
.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--danger);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-badge--empty { background: var(--muted); }

/* product quick-view modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 28, 0.55);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.product-modal {
  position: fixed;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: rgba(255,255,255,0.85);
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}
.modal-image {
  flex: 1 1 45%;
  background: var(--mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-info {
  flex: 1 1 55%;
  padding: 28px 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.modal-info .brand { margin-bottom: 6px; }
.modal-info h2 { margin: 0 0 12px; font-size: 1.4rem; }
.modal-info .desc { color: var(--muted); font-size: 0.92rem; line-height: 1.5; margin: 0 0 16px; }
.modal-info .price { font-size: 1.5rem; font-weight: 800; color: var(--mint-dark); margin: 0 0 18px; }
.qty-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.qty-row label { font-weight: 600; font-size: 0.9rem; }
.qty-row input {
  width: 70px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
}
.btn-add-cart { align-self: flex-start; }
.added-msg {
  color: var(--mint-dark);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.added-msg.show { opacity: 1; }

@media (max-width: 640px) {
  .product-modal { flex-direction: column; }
  .modal-image { flex: 0 0 200px; }
}

/* cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 28, 0.45);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 100%);
  background: #fff;
  z-index: 91;
  box-shadow: -8px 0 30px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-head h2 { margin: 0; font-size: 1.15rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 20px; }
.cart-empty { color: var(--muted); text-align: center; margin-top: 30px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; }
.cart-item-info { flex: 1; }
.cart-item-name { margin: 0 0 4px; font-size: 0.88rem; font-weight: 600; }
.cart-item-meta { margin: 0; font-size: 0.8rem; color: var(--muted); }
.cart-item-remove {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--muted);
  cursor: pointer;
}
.cart-item-remove:hover { color: var(--danger); }
.cart-drawer-footer { padding: 20px; border-top: 1px solid var(--border); }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.checkout-link { display: block; width: 100%; text-align: center; }

/* checkout page */
.checkout-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: start;
}
.checkout-items {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
}
.checkout-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.checkout-item-info { flex: 1; }
.checkout-item-name { margin: 0 0 4px; font-weight: 600; font-size: 0.92rem; }
.checkout-item-meta { margin: 0; color: var(--muted); font-size: 0.82rem; }
.checkout-item-line { margin: 0; font-weight: 700; color: var(--mint-dark); }

.checkout-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}
.checkout-summary h2 { margin: 0 0 16px; font-size: 1.1rem; }
.checkout-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}
.checkout-row-total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}
.checkout-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.88rem;
}
.checkout-form input, .checkout-form textarea {
  font-family: inherit;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.92rem;
}
.btn-place-order { width: 100%; }
.checkout-success {
  display: none;
  margin-top: 18px;
  padding: 16px;
  background: var(--mint-light);
  border-radius: 8px;
  text-align: center;
}
.checkout-success.show { display: block; }
.checkout-success p { margin: 0 0 6px; font-weight: 700; color: var(--mint-dark); }
.checkout-success .muted { font-weight: 400; }
.whatsapp-resend-link {
  display: none;
  margin-top: 10px;
  font-weight: 700;
  color: #128C7E;
}
.whatsapp-resend-link.show { display: inline-block; }

@media (max-width: 780px) {
  .checkout-wrap { grid-template-columns: 1fr; }
}

/* ---------- header: cart in the top-right corner ---------- */
.main-nav { margin-left: auto; }
.header-actions { gap: 10px; }
.cart-pill {
  gap: 8px;
  padding: 9px 16px 9px 13px;
  background: var(--emerald);
  color: #fff;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(30, 77, 59, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cart-pill:hover { background: var(--emerald-dark); box-shadow: 0 8px 20px rgba(30, 77, 59, 0.3); }
.cart-pill:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.cart-pill svg { width: 22px; height: 22px; }
.cart-pill-total {
  font-variant-numeric: tabular-nums;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.cart-pill .cart-badge { top: -6px; right: -6px; border: 2px solid #fff; height: 21px; min-width: 21px; }
.cart-pill.cart-btn--bump { transform: scale(1.1); }
/* the cart is the main action now; keep "Manage Store" quieter */
.main-nav .admin-link {
  background: transparent;
  color: var(--emerald) !important;
  border: 1.5px solid var(--emerald);
  padding: 6px 13px;
}
.main-nav .admin-link:hover { background: var(--emerald); color: #fff !important; text-decoration: none; }
@media (max-width: 900px) {
  .main-nav { margin-left: 0; }
  .header-actions { margin-left: auto; gap: 4px; }
  .cart-pill { margin-left: 6px; }
  .main-nav .admin-link { background: var(--emerald); color: #fff !important; }
}
@media (max-width: 520px) {
  .cart-pill { padding: 8px 12px 8px 10px; gap: 6px; font-size: 0.86rem; }
  .cart-pill-label { display: none; }
  .cart-pill-total { padding-left: 6px; }
}

/* ---------- Ask Hayati (AI shopping assistant) ---------- */
.ai-fab {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px 11px 14px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: var(--emerald);
  font: 700 0.95rem/1 var(--font-body);
  box-shadow: 0 10px 28px rgba(22, 59, 45, 0.22);
  border: 1.5px solid rgba(30, 77, 59, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ai-fab svg { width: 22px; height: 22px; color: var(--gold); }
.ai-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(22, 59, 45, 0.28); }
.ai-fab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ai-fab[aria-expanded="true"] { display: none; }
body.ai-open .whatsapp-btn { display: none; }

.ai-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  width: min(400px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(16, 38, 29, 0.28);
  overflow: hidden;
  animation: aiIn 0.22s ease-out;
}
.ai-panel[hidden] { display: none; }
@keyframes aiIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--emerald);
  color: #fff;
}
.ai-title { margin: 0; font: 700 1.15rem/1.2 var(--font-heading); }
.ai-sub { margin: 2px 0 0; font-size: 0.8rem; opacity: 0.8; }
.ai-close {
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.ai-close:hover { background: rgba(255, 255, 255, 0.26); }
.ai-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--cream);
}
.ai-msg { max-width: 88%; font-size: 0.93rem; line-height: 1.5; }
.ai-msg p { margin: 0 0 6px; }
.ai-msg p:last-child { margin-bottom: 0; }
.ai-msg ul { margin: 4px 0; padding-left: 18px; }
.ai-msg--bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px 16px 16px 16px;
  padding: 10px 13px;
  color: var(--text);
}
.ai-msg--user {
  align-self: flex-end;
  background: var(--emerald);
  color: #fff;
  border-radius: 16px 4px 16px 16px;
  padding: 10px 13px;
  white-space: pre-wrap;
}
.ai-msg--error { border-color: #e7b9b1; color: var(--danger); }
.ai-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: aiDot 1s infinite ease-in-out; }
.ai-typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiDot { 0%, 80%, 100% { transform: translateY(0); opacity: 0.5; } 40% { transform: translateY(-4px); opacity: 1; } }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-chips button {
  border: 1px solid rgba(30, 77, 59, 0.25);
  background: #fff;
  color: var(--emerald);
  border-radius: 999px;
  padding: 7px 12px;
  font: 600 0.82rem/1.2 var(--font-body);
  cursor: pointer;
}
.ai-chips button:hover { background: var(--emerald); color: #fff; }
.ai-products { display: grid; gap: 8px; align-self: stretch; }
.ai-prod {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
}
.ai-prod:hover { border-color: var(--sage); }
.ai-prod img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #fff; }
.ai-prod-info { min-width: 0; }
.ai-prod-brand { margin: 0; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ai-prod-name { margin: 2px 0 0; font-size: 0.85rem; font-weight: 600; line-height: 1.3; color: var(--text); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ai-prod-price { margin: 2px 0 0; font-size: 0.85rem; font-weight: 700; color: var(--emerald); font-variant-numeric: tabular-nums; }
.ai-prod-add {
  border: none;
  background: var(--emerald);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font: 700 0.78rem/1 var(--font-body);
  cursor: pointer;
  white-space: nowrap;
}
.ai-prod-add:hover { background: var(--emerald-dark); }
.ai-prod-add.is-added { background: var(--sage); color: var(--emerald-dark); }
.ai-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.ai-form textarea {
  flex: 1;
  resize: none;
  max-height: 120px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  font: 400 0.95rem/1.4 var(--font-body);
  color: var(--text);
  background: var(--cream);
}
.ai-form textarea:focus { outline: 2px solid var(--sage); border-color: transparent; }
.ai-form button {
  flex: none;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.ai-form button:disabled { opacity: 0.5; cursor: default; }
.ai-form button svg { width: 19px; height: 19px; }
.ai-note { margin: 0; padding: 0 14px 10px; font-size: 0.72rem; color: var(--muted); background: #fff; }
.ai-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 600px) {
  .ai-fab { right: 16px; bottom: 78px; padding: 10px 14px 10px 12px; font-size: 0.88rem; }
  .ai-panel { right: 0; bottom: 0; width: 100vw; height: 100%; height: 100dvh; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-panel { animation: none; }
  .ai-typing i { animation: none; }
}
/* header spans the full window so the cart sits in the top-right corner */
.header-inner { max-width: none; padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 900px) { .header-inner { padding-right: 14px; } }
.ai-prod-step { margin: 0 0 2px; font-size: 0.7rem; font-weight: 700; color: #8a6a12; text-transform: uppercase; letter-spacing: 0.05em; }
.ai-chips--follow { align-self: flex-start; }
/* product cards: short benefit line, max 2 lines */
.product-info .desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

/* ---------- client feedback (Oct 2026): category bar, shelves, footer logo ---------- */
/* categories: their own horizontal bar under the header */
@media (min-width: 901px) { .nav-dropdown { display: none; } }
.cat-bar { border-top: 1px solid var(--border); background: #fff; }
.cat-bar-inner {
  display: flex;
  justify-content: flex-start;
  gap: 4px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-bar-inner::-webkit-scrollbar { display: none; }
.cat-bar a {
  flex: 0 0 auto;
  padding: 12px 9px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.cat-bar a:hover, .cat-bar a.is-active { color: var(--mint-dark); border-bottom-color: var(--mint); text-decoration: none; }
.cat-bar a:first-child { margin-left: auto; }
.cat-bar a:last-child { margin-right: auto; }
@media (max-width: 520px) {
  .header-inner { height: auto; padding-bottom: 10px; row-gap: 6px; }
}
@media (max-width: 900px) {
  .cat-bar a { padding: 10px 12px; font-size: 0.84rem; }
}

/* section titles: bigger, centred */
.shelf { margin-top: 64px; }
.shelf-head { text-align: center; margin: 0 auto 26px; max-width: 760px; }
.shelf-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: var(--mint-dark);
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.shelf-head h2::before, .shelf-head h2::after {
  content: "";
  width: 46px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--coral));
}
.shelf-head h2::after { background: linear-gradient(90deg, var(--coral), transparent); }
.shelf-sub { margin: 8px 0 0; color: var(--muted); font-size: 1rem; }
.shelf-head .view-all { display: table; margin: 10px auto 0; font-size: 0.92rem; }

/* product rows that slide left and right */
.shelf-row { position: relative; }
.product-grid.shelf-track {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - 4 * 22px) / 5);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 16px;
  scrollbar-width: none;
}
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-track > .product-card { scroll-snap-align: start; }
@media (max-width: 1200px) { .product-grid.shelf-track { grid-auto-columns: calc((100% - 3 * 22px) / 4); } }
@media (max-width: 900px) { .product-grid.shelf-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; } }
@media (max-width: 600px) { .product-grid.shelf-track { grid-auto-columns: 44%; gap: 12px; } }
.shelf-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--mint-dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.shelf-arrow svg { width: 20px; height: 20px; }
.shelf-arrow:hover { background: var(--mint-dark); color: #fff; }
.shelf-prev { left: -14px; }
.shelf-next { right: -14px; }
.shelf-arrow[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 600px) {
  .shelf-arrow { width: 36px; height: 36px; }
  .shelf-prev { left: -6px; }
  .shelf-next { right: -6px; }
}

/* featured shelves (top sellers, offers, bundles) */
.shelf--feature .shelf-head h2 { color: var(--text); }

/* footer: the same logo as the header, blended into the background */
.site-footer { background: var(--cream); }
.footer-logo { height: 72px; width: auto; max-width: 80vw; mix-blend-mode: multiply; margin-bottom: 8px; }

/* admin: top seller / bundle tick-boxes */
.flag-row { display: grid; gap: 8px; margin: 4px 0 14px; }
.check-label { display: flex !important; align-items: center; gap: 10px; font-weight: 500; }
.check-label input { width: auto !important; margin: 0; }
