/* ==========================================================================
  EIKA PHARMACY — design system
  Palette uses layered greens with soft mint surfaces for a health-first look.
  Every text/background pair below clears 4.5:1 contrast.
  ========================================================================== */

:root {
  /* Brand */
  --brown: #2E7D32;
  --brown-deep: #1B5E20;
  --brown-soft: #66BB6A;
  --maroon: #388E3C;
  --maroon-deep: #2E7D32;
  --blue: #1F7A5A;
  --blue-soft: #B9E4C9;
  --blue-pale: #EAF7EF;

  /* Surfaces */
  --cream: #F3FBF5;
  --sand: #E8F5E9;
  --sand-deep: #CFE6D2;
  --white: #FFFFFF;

  /* Text */
  --ink: #1F2D22;
  --ink-soft: #4C6352;
  --ink-faint: #7A8F80;
  --on-dark: #F3FBF5;

  /* Feedback */
  --success: #2E7D32;
  --warn: #9C6A1A;

  /* Type */
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.4375rem;
  --step-3: 1.875rem;
  --step-4: 2.5rem;
  --step-5: 3.25rem;

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;

  /* Shape */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(46, 31, 22, 0.06), 0 1px 3px rgba(46, 31, 22, 0.08);
  --sh-2: 0 4px 10px rgba(46, 31, 22, 0.08), 0 2px 4px rgba(46, 31, 22, 0.06);
  --sh-3: 0 12px 28px rgba(46, 31, 22, 0.14), 0 4px 8px rgba(46, 31, 22, 0.08);

  --ease: 180ms cubic-bezier(0.4, 0, 0.2, 1);

  --shell: 1200px;
}

/* --------------------------------------------------------------- reset -- */

*,
*::before,
*::after { box-sizing: border-box; }

body,
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }

ul[class], ol[class] { list-style: none; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--maroon); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--maroon-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--brown-deep);
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px; left: var(--s-4);
  z-index: 200;
  background: var(--maroon);
  color: var(--on-dark);
  padding: var(--s-3) var(--s-5);
  border-radius: 0 0 var(--r-md) var(--r-md);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0; color: var(--on-dark); }

/* --------------------------------------------------------------- layout -- */

.shell {
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
}

main { flex: 1; }

.section { padding-block: var(--s-8); }
.section--tight { padding-block: var(--s-7); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
  flex-wrap: wrap;
}
.section-head h2 { font-size: var(--step-3); }
.section-head p {
  color: var(--ink-soft);
  margin-top: var(--s-1);
  max-width: 52ch;
}
.section-head .link-more {
  font-weight: 600;
  white-space: nowrap;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s-2);
}

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--step-0);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--ease), background-color var(--ease),
              box-shadow var(--ease), border-color var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--maroon); color: var(--on-dark); box-shadow: var(--sh-2); }
.btn--primary:hover { background: var(--maroon-deep); color: var(--on-dark); box-shadow: var(--sh-3); }

.btn--brown { background: var(--brown); color: var(--on-dark); box-shadow: var(--sh-1); }
.btn--brown:hover { background: var(--brown-deep); color: var(--on-dark); box-shadow: var(--sh-2); }

.btn--ghost {
  background: transparent;
  color: var(--brown-deep);
  border-color: var(--sand-deep);
}
.btn--ghost:hover { background: var(--sand); border-color: var(--brown-soft); color: var(--brown-deep); }

.btn--light { background: var(--cream); color: var(--brown-deep); box-shadow: var(--sh-2); }
.btn--light:hover { background: var(--white); color: var(--brown-deep); }

.btn--block { width: 100%; }
.btn--sm { padding: var(--s-2) var(--s-4); font-size: var(--step--1); }

.btn[disabled],
.btn[aria-disabled='true'] {
  background: var(--sand-deep);
  color: var(--ink-faint);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* --------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 243, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-deep);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding-block: var(--s-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--brown-deep);
  flex-shrink: 0;
}
.brand:hover { color: var(--brown-deep); }

.brand-mark {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brown) 0%, var(--maroon) 100%);
  color: var(--on-dark);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  box-shadow: var(--sh-2);
}

.brand-name {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.1;
  display: block;
}
.brand-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav a {
  display: block;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 600;
  color: var(--brown-deep);
  transition: background-color var(--ease), color var(--ease);
}
.site-nav a:hover { background: var(--sand); color: var(--brown-deep); }
.site-nav a[aria-current='page'] { background: var(--brown); color: var(--on-dark); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--sand);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-md);
  padding: var(--s-2) var(--s-3);
  cursor: pointer;
  font-size: var(--step-1);
  line-height: 1;
  color: var(--brown-deep);
}

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(168, 216, 234, 0.35) 0%, transparent 45%),
    linear-gradient(135deg, var(--brown-deep) 0%, var(--brown) 42%, var(--maroon) 100%);
  color: var(--on-dark);
}
.hero::after {
  content: '';
  position: absolute;
  right: -140px; bottom: -180px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: rgba(168, 216, 234, 0.14);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--s-7);
  align-items: center;
  padding-block: var(--s-8);
}

.hero h1 {
  color: var(--on-dark);
  font-size: calc(var(--step-5) - 0.25rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}
.hero p.lede {
  font-size: var(--step-1);
  color: rgba(253, 248, 243, 0.9);
  max-width: 46ch;
  margin-bottom: var(--s-6);
}
.hero .eyebrow { color: var(--blue-soft); }

.hero-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: var(--s-6);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(253, 248, 243, 0.22);
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--blue-soft);
}
.hero-stats div span {
  font-size: var(--step--1);
  color: rgba(253, 248, 243, 0.78);
}

/* Collage of floating product tiles beside the hero copy */
.hero-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.hero-tile {
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 3rem;
  box-shadow: var(--sh-3);
  transition: transform var(--ease);
}
/* Store photos fill the tile; the rotation above still applies. */
.hero-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-tile:nth-child(1) { transform: translateY(-14px) rotate(-3deg); }
.hero-tile:nth-child(2) { transform: translateY(10px) rotate(2deg); }
.hero-tile:nth-child(3) { transform: translateY(-4px) rotate(3deg); }
.hero-tile:nth-child(4) { transform: translateY(18px) rotate(-2deg); }
.hero-tile:hover { transform: translateY(-4px) rotate(0deg) scale(1.03); }

/* --------------------------------------------------------- value strip -- */

.value-strip {
  background: var(--sand);
  border-bottom: 1px solid var(--sand-deep);
}
.value-strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding-block: var(--s-5);
  list-style: none;
  margin: 0;
}
.value-strip li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--step--1);
}
.value-strip .v-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: var(--white);
  box-shadow: var(--sh-1);
}
.value-strip strong { display: block; color: var(--brown-deep); }
.value-strip span { color: var(--ink-soft); }

/* ----------------------------------------------------------- categories -- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--s-4);
}

.category-card {
  position: relative;
  overflow: hidden;
  display: block;
  padding: var(--s-5);
  min-height: 200px;
  border-radius: var(--r-lg);
  color: var(--on-dark);
  text-decoration: none;
  box-shadow: var(--sh-2);
  transition: transform var(--ease), box-shadow var(--ease);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
  color: var(--on-dark);
}
.category-card::after {
  content: '';
  position: absolute;
  right: -34px; bottom: -46px;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.category-card .c-glyph { margin-bottom: var(--s-3); }
.category-card h3 {
  color: var(--on-dark);
  font-size: var(--step-1);
  margin-bottom: var(--s-2);
}
.category-card p {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  z-index: 1;
}
.category-card .c-count {
  position: absolute;
  top: var(--s-4); right: var(--s-4);
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 1;
}
/* Starting price for the category — the only figure a category tile quotes. */
.category-card .c-from {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: var(--s-3);
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ------------------------------------------------------------- products -- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
  gap: var(--s-4);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-3);
  border-color: var(--brown-soft);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.product-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.34) 0%, transparent 58%);
}

/* Emoji sit on a white disc so their own colours never fight the gradient
   behind them, and every product tile reads consistently. */
.glyph {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(46, 31, 22, 0.22);
  line-height: 1;
  transition: transform var(--ease);
}
.product-media .glyph { width: 92px; height: 92px; font-size: 2.7rem; }
.product-card:hover .glyph { transform: scale(1.06); }
.detail-media .glyph { width: 220px; height: 220px; font-size: 6.5rem; }
.hero-tile .glyph { width: 92px; height: 92px; font-size: 2.8rem; }
.category-card .c-glyph {
  width: 52px; height: 52px;
  font-size: 1.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(46, 31, 22, 0.18);
}

.badge {
  position: absolute;
  top: var(--s-3); left: var(--s-3);
  z-index: 2;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  font-size: calc(0.6875rem - 0.167rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: var(--maroon);
  box-shadow: var(--sh-1);
}
.badge--new { background: var(--blue); }
.badge--popular { background: var(--brown); }
.badge--sale { background: var(--maroon); }

.stock-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(46, 31, 22, 0.55);
  color: var(--on-dark);
  font-weight: 700;
  font-size: calc(var(--step--1) - 0.167rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-body {
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  flex: 1;
}

.product-cat {
  font-size: calc(0.6875rem - 0.167rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-name {
  font-family: var(--font-display);
  font-size: calc(var(--step-1) - 0.167rem);
  line-height: 1.25;
}
.product-name a { color: var(--brown-deep); text-decoration: none; }
.product-name a:hover { color: var(--maroon); text-decoration: underline; }

.product-size { font-size: calc(var(--step--1) - 0.167rem); color: var(--ink-soft); }

.product-foot {
  margin-top: auto;
  padding-top: var(--s-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.price {
  font-family: var(--font-display);
  font-size: calc(var(--step-2) - 0.167rem);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}

.product-foot .btn {
  font-size: calc(var(--step--1) - 0.167rem);
  white-space: nowrap;
  min-width: 6.5rem;
  justify-content: center;
}

/* ------------------------------------------------------------- toolbar -- */

.toolbar {
  display: flex;
  gap: var(--s-4);
  align-items: center;
  flex-wrap: wrap;
  padding: var(--s-4);
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  margin-bottom: var(--s-5);
}

.search-field {
  position: relative;
  flex: 1 1 260px;
}
.search-field input {
  width: 100%;
  padding: var(--s-3) var(--s-4) var(--s-3) 2.6rem;
  border: 2px solid var(--sand-deep);
  border-radius: var(--r-pill);
  background: var(--cream);
  transition: border-color var(--ease), background-color var(--ease);
}
.search-field input:focus {
  border-color: var(--blue);
  background: var(--white);
  outline: none;
}
.search-field .s-icon {
  position: absolute;
  left: var(--s-4);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
}

.select-field {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.select-field select {
  padding: var(--s-2) var(--s-3);
  border: 2px solid var(--sand-deep);
  border-radius: var(--r-md);
  background: var(--cream);
  cursor: pointer;
  font-weight: 600;
  color: var(--brown-deep);
}
.select-field select:focus { border-color: var(--blue); outline: none; }

.chips {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-5);
}
.chip {
  padding: var(--s-2) var(--s-4);
  border: 2px solid var(--sand-deep);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--brown-deep);
  font-size: var(--step--1);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
}
.chip:hover { border-color: var(--brown-soft); transform: translateY(-1px); }
.chip[aria-pressed='true'] {
  background: var(--chip-color, var(--brown));
  border-color: var(--chip-color, var(--brown));
  color: var(--on-dark);
}

.result-count {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}

/* ------------------------------------------------------------ page head -- */

.page-head {
  background: linear-gradient(135deg, var(--sand) 0%, var(--blue-pale) 100%);
  border-bottom: 1px solid var(--sand-deep);
  padding-block: var(--s-7);
}
.page-head h1 { font-size: var(--step-4); margin-bottom: var(--s-2); }
.page-head p { color: var(--ink-soft); max-width: 60ch; }

.crumbs {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin-bottom: var(--s-3);
}
.crumbs a { color: var(--brown); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin-inline: var(--s-2); opacity: 0.5; }

/* ---------------------------------------------------------- detail page -- */

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: start;
}

.detail-media {
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  font-size: 8rem;
  box-shadow: var(--sh-3);
  position: relative;
  overflow: hidden;
}
.detail-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.32) 0%, transparent 60%);
}

.detail h1 { font-size: calc(var(--step-4) - 0.167rem); margin-bottom: var(--s-2); }

.detail .price-row {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin-block: var(--s-4);
}
.detail .price-row .price { font-size: var(--step-4); }

.detail .description {
  color: var(--ink-soft);
  font-size: calc(var(--step-1) - 0.167rem);
  margin-bottom: var(--s-5);
}

.detail .result-count { font-size: calc(var(--step--1) - 0.167rem); }
.detail .buy-row .btn { font-size: calc(var(--step-0) - 0.167rem); }

.stock-line {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--step--1);
  font-weight: 600;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
}
.stock-line--in { background: #E6F0E7; color: var(--success); }
.stock-line--out { background: var(--sand-deep); color: var(--ink-soft); }

.buy-row {
  display: flex;
  gap: var(--s-4);
  align-items: center;
  flex-wrap: wrap;
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--sand-deep);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--cream);
}
.qty button {
  width: 40px; height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--brown-deep);
  transition: background-color var(--ease);
}
.qty button:hover { background: var(--sand-deep); }
.qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.qty output,
.qty .qty-val {
  min-width: 44px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.spec-list {
  margin-top: var(--s-5);
  border-top: 1px solid var(--sand-deep);
}
.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--sand-deep);
  font-size: var(--step--1);
}
.spec-list dt { color: var(--ink-soft); }
.spec-list dd { font-weight: 400; margin: 0; color: var(--brown-deep); }
.spec-list .spec-starting-price dt,
.spec-list .spec-starting-price dd { font-weight: 700; }

.empty-state {
  text-align: center;
  padding: var(--s-8) var(--s-5);
  background: var(--white);
  border: 2px dashed var(--sand-deep);
  border-radius: var(--r-lg);
}
.empty-state .e-glyph { font-size: 3.4rem; margin-bottom: var(--s-4); }
.empty-state h2 { font-size: var(--step-2); margin-bottom: var(--s-2); }
.empty-state p { color: var(--ink-soft); margin-bottom: var(--s-5); }

/* ---------------------------------------------------------------- toast -- */

.toast {
  position: fixed;
  left: 50%;
  bottom: var(--s-6);
  transform: translate(-50%, 140%);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: var(--brown-deep);
  color: var(--on-dark);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-3);
  font-weight: 600;
  font-size: var(--step--1);
  transition: transform 260ms cubic-bezier(0.34, 1.3, 0.64, 1), opacity 200ms;
  opacity: 0;
  pointer-events: none;
  max-width: calc(100vw - 2rem);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* --------------------------------------------------------------- footer -- */

.site-footer {
  margin-top: var(--s-8);
  background: var(--brown-deep);
  color: rgba(253, 248, 243, 0.82);
  padding-block: var(--s-7) var(--s-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(253, 248, 243, 0.16);
}
.site-footer h3 {
  color: var(--blue-soft);
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s-2); font-size: var(--step--1); }
.site-footer a { color: rgba(253, 248, 243, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact h3,
.footer-contact li { font-size: calc(var(--step--1) + 0.083rem); }
.site-footer .f-brand { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.site-footer .f-brand .brand-name { color: var(--cream); }
.site-footer .f-about { font-size: var(--step--1); max-width: 38ch; }
.footer-base {
  padding-top: var(--s-5);
  text-align: center;
  font-size: var(--step--1);
  color: rgba(253, 248, 243, 0.6);
}

/* --------------------------------------------------------- photography -- */

/* Real store photos. The shop interiors are bright white with saturated
   packaging, so every photo sits either inside a rounded frame or under a
   green scrim — that keeps the mint surfaces and the photos in one family
   instead of letting the shelves shout over the type. */

/* Header and footer logo. White backing so the teal photo reads as a badge,
   and the crop is nudged down to sit on the E+ mark rather than bare wall. */
.brand-mark--photo {
  background: var(--white);
  overflow: hidden;
}
.brand-mark--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

/* Storefront band: copy on the brand gradient, photo framed beside it, so the
   neon sign is never covered by text. */
.visit-band {
  background:
    radial-gradient(circle at 88% 12%, rgba(185, 228, 201, 0.22) 0%, transparent 42%),
    linear-gradient(135deg, var(--brown-deep) 0%, var(--brown) 55%, var(--maroon) 100%);
  color: var(--on-dark);
}
.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--s-7);
  align-items: center;
  padding-block: var(--s-8);
}
.visit-band h2 {
  color: var(--on-dark);
  font-size: var(--step-3);
  margin-bottom: var(--s-3);
}
.visit-band p { color: rgba(243, 251, 245, 0.9); }
.visit-band .eyebrow { color: var(--blue-soft); }

.visit-facts {
  display: flex;
  gap: var(--s-6);
  flex-wrap: wrap;
  margin: var(--s-5) 0 var(--s-6);
}
.visit-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--blue-soft);
}
.visit-facts span { font-size: var(--step--1); color: rgba(243, 251, 245, 0.78); }

.visit-photo { margin: 0; }
.visit-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
}
.visit-photo figcaption {
  margin-top: var(--s-3);
  font-size: var(--step--1);
  color: rgba(243, 251, 245, 0.75);
}

/* Photo variant of the page head, used on the browse and range pages. The
   scrim is heaviest on the left where the heading and crumbs sit. */
.page-head--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 0;
  background: var(--brown-deep);
  color: var(--on-dark);
}
.page-head--photo > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.page-head--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,
    rgba(27, 94, 32, 0.94) 0%, rgba(27, 94, 32, 0.82) 52%, rgba(46, 125, 50, 0.58) 100%);
}
.page-head--photo h1 { color: var(--on-dark); }
.page-head--photo p { color: rgba(243, 251, 245, 0.88); }
.page-head--photo .crumbs { color: rgba(243, 251, 245, 0.78); }
.page-head--photo .crumbs a { color: var(--blue-soft); }

/* In-store review poster beside its explanation. */
.review-panel {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s-6);
  align-items: center;
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.review-panel img {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--sand-deep);
}
.review-panel h2 { font-size: var(--step-2); margin-bottom: var(--s-2); }
.review-panel p { color: var(--ink-soft); margin-bottom: var(--s-4); }

/* ------------------------------------------------------------ responsive -- */

@media (max-width: 960px) {
  .visit-inner { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-collage { max-width: 380px; }
  .detail { grid-template-columns: 1fr; gap: var(--s-5); }
  .detail-media { max-width: 380px; font-size: 6rem; }
  .value-strip ul { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --step-4: 2rem; --step-5: 2.375rem; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    width: 100%;
    order: 3;
    margin-left: 0;
    padding-bottom: var(--s-3);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: var(--s-1); }
  .site-nav a { justify-content: space-between; }
  .header-bar { flex-wrap: wrap; }

  .section { padding-block: var(--s-7); }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--s-4); }
  .product-media { font-size: 2.6rem; }
  .hero-stats { gap: var(--s-5); }
}

@media (max-width: 560px) {
  .review-panel { grid-template-columns: 1fr; }
  .review-panel img { max-width: 260px; margin-inline: auto; }
}

@media (max-width: 460px) {
  .product-grid { grid-template-columns: 1fr; }
  .value-strip ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover, .product-card:hover, .category-card:hover, .hero-tile:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .toolbar, .chips, .btn, .toast { display: none !important; }
  body { background: #fff; }
}
