:root {
  --ink: #13201a;
  --forest: #1b4332;
  --moss: #2d6a4f;
  --mint: #95d5b2;
  --mist: #eef6f1;
  --paper: #f7faf8;
  --line: #d5e5dc;
  --teal: #0f766e;
  --teal-deep: #0d5c56;
  --warn: #b45309;
  --muted: #5c7268;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(19, 32, 26, 0.08);
  --radius: 14px;
  --sidebar: 260px;
  --header: 64px;
  --bottom-nav: 64px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(149, 213, 178, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(15, 118, 110, 0.08), transparent 50%),
    var(--paper);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* —— Top header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: var(--header);
  padding: 0.65rem 1.25rem;
  background: rgba(247, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--forest);
  white-space:nowrap;
}

.logo span {
  color: var(--teal);
}

.search-form {
  display: flex;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.search-form input {
  flex: 1;
  border: 0;
  padding: 0.7rem 1rem;
  outline: none;
  background: transparent;
  min-width: 0;
}

.search-form button {
  border: 0;
  background: var(--teal);
  color: var(--white);
  padding: 0.7rem 1.15rem;
  cursor: pointer;
  font-weight: 700;
}

.search-form button:hover {
  background: var(--teal-deep);
}

.header-links {
  display: none;
  gap: 0.85rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.header-links a:hover {
  color: var(--forest);
}

.chip-kids {
  background: var(--forest);
  color: var(--white) !important;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

/* —— Layout shell —— */
.shell {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .shell {
    grid-template-columns: var(--sidebar) 1fr;
  }

  .header-links {
    display: flex;
  }

  .bottom-nav,
  .mobile-search-panel,
  .sidebar.drawer,
  .sidebar-overlay,
  .drawer-close {
    display: none !important;
  }

  .sidebar {
    display: block;
  }

  .main {
    padding: 1.5rem 1.75rem 3rem;
  }

  .footer {
    padding-bottom: 2rem;
  }
}

/* Phones: same content layout as desktop, with bottom Home / Menu / Search */
@media (max-width: 767px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.75rem 1rem 0.85rem;
  }

  .site-header .logo {
    font-size: 1.45rem;
  }

  .search-form {
    max-width: none;
    width: 100%;
  }

  .header-links {
    display: none;
  }

  .main {
    padding: 1rem 1rem 6rem;
  }

  .hero {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }

  .hero .brand-mark {
    font-size: 2.35rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .product-card .img-wrap {
    padding: 0.75rem;
  }

  .product-card img {
    max-height: 120px;
  }

  /* Drawer mirrors desktop category sidebar */
  .sidebar.drawer {
    display: block;
    width: min(90vw, 300px);
  }
}


/* —— Sidebar —— */
.sidebar {
  display: none;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  padding: 1.25rem 1rem 2rem;
  position: sticky;
  top: var(--header);
  height: calc(100vh - var(--header));
  overflow-y: auto;
}

@media (min-width: 768px) {
  .shell > .sidebar {
    display: block;
  }
}

.sidebar h2 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}

.nav-cat {
  margin-bottom: 1.15rem;
}

.nav-cat > a,
.nav-cat > .nav-cat-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0.35rem 0.4rem;
  border-radius: 8px;
}

.nav-cat > a:hover {
  background: var(--mist);
}

.nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--mist);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.nav-sub {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0 0 0 2.35rem;
}

.nav-sub a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-sub a:hover {
  color: var(--teal);
}

.nav-sub .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
}

/* Mobile drawer */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(19, 32, 26, 0.45);
  z-index: 50;
}

.sidebar-overlay.open {
  display: block;
}

.sidebar.drawer {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(86vw, 300px);
  height: 100%;
  z-index: 60;
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  padding-top: 1.5rem;
  box-shadow: var(--shadow);
  background: var(--white);
}

.sidebar.drawer.open {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  border: 0;
  background: var(--mist);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .sidebar.drawer,
  .sidebar-overlay,
  .drawer-close {
    display: none !important;
  }
}

/* —— Main —— */
.main {
  padding: 1.25rem 1.15rem 6rem;
  min-width: 0;
}

@media (min-width: 768px) {
  .main {
    padding: 1.5rem 1.75rem 3rem;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 2.5rem 1.75rem;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.25), transparent 40%),
    linear-gradient(160deg, #0f2922 0%, #1b4332 45%, #0d5c56 100%);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -20%;
  width: 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(149, 213, 178, 0.22), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.hero .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 0.5rem;
  line-height: 1.05;
}

.hero p {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--mint);
  color: var(--forest);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-amazon {
  background: var(--teal);
  color: var(--white);
}

.btn-amazon:hover {
  background: var(--teal-deep);
}

/* Category chips */
.chip-row {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.25rem 0 1.25rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--moss);
  color: var(--forest);
}

/* Sections */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0.5rem 0 1rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}

.section-head a {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.92rem;
}

/* Product grid — cards OK as purchase containers */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-card .img-wrap {
  aspect-ratio: 1;
  background: linear-gradient(180deg, #fff, var(--mist));
  display: grid;
  place-items: center;
  padding: 1rem;
}

.product-card img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
}

.product-card .body {
  padding: 0.85rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-card .cat {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.product-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.3;
  font-weight: 700;
}

.product-card h3 a:hover {
  color: var(--teal);
}

.product-card .meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.product-card .see-amazon {
  margin-top: auto;
  padding-top: 0.65rem;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.9rem;
}

.product-card .see-amazon:hover {
  text-decoration: underline;
}

/* Review page */
.review-layout {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .review-layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}

.review-hero {
  display: grid;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 700px) {
  .review-hero {
    grid-template-columns: 280px 1fr;
    padding: 1.75rem;
  }
}

.review-hero .photo {
  background: var(--mist);
  border-radius: 16px;
  padding: 1.25rem;
  display: grid;
  place-items: center;
}

.review-hero .photo img {
  max-height: 260px;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--teal);
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.review-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  line-height: 1.15;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: #334640;
}

.prose ul {
  padding-left: 1.2rem;
}

.buy-box {
  position: sticky;
  top: calc(var(--header) + 1rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.buy-box .price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.35rem 0 0.85rem;
}

.buy-box .btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

.disclosure {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem 5.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (min-width: 768px) {
  .footer {
    padding-bottom: 2rem;
  }
}

.footer a {
  color: var(--teal);
  font-weight: 600;
}

/* Mobile bottom nav */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 0.45rem 0.75rem max(0.45rem, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(19, 32, 26, 0.06);
}

@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
}

.bottom-nav button,
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.35rem;
  cursor: pointer;
}

.bottom-nav .icon {
  font-size: 1.25rem;
  line-height: 1;
}

.mobile-search-panel {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--bottom-nav);
  z-index: 44;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(19, 32, 26, 0.08);
}

.mobile-search-panel.open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-search-panel {
    display: none !important;
  }
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--teal);
  font-weight: 600;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
  background: var(--white);
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--mist);
  color: var(--forest);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.ph-art {
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(149, 213, 178, 0.55), transparent 55%),
    linear-gradient(160deg, #eef6f1, #d5e5dc);
  color: var(--forest);
  font-size: 2rem;
}

.ph-art small {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.pager {
  margin: 1.5rem 0 0.5rem;
}

.pager-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pager-inner button {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.pager-inner button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pager-inner button:not(:disabled):hover {
  border-color: var(--moss);
  color: var(--forest);
}

