/* DewScout — Deal Hub styles. Mobile first; wider layouts are added at 640, 900 and 1100px. */

:root {
  color-scheme: light;

  --bg: #fffaf5;
  --surface: #ffffff;
  --ink: #13211c;
  --ink-soft: #3c4a44;
  --muted: #6c7873;
  --line: #efe7db;

  --brand: #14785d;
  --brand-deep: #0e5744;
  --brand-soft: #dff3ea;
  --peach: #ffdccb;
  --coral: #f2694b;

  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 32px;

  --shadow-s: 0 1px 2px rgb(19 33 28 / 5%), 0 4px 14px rgb(19 33 28 / 5%);
  --shadow: 0 2px 6px rgb(19 33 28 / 5%), 0 22px 44px -18px rgb(19 33 28 / 26%);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", ui-serif, "Iowan Old Style", Georgia, serif;

  --gutter: 20px;
  --wrap: 1200px;
}

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: var(--brand);
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  flex: none;
  width: 1.15em;
  height: 1.15em;
}

.sprite {
  position: absolute;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: 8px;
  left: -999px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.skip:focus {
  left: 16px;
}

/* ---------- Product illustrations ---------- */

.pk-body {
  fill: var(--pack, #f1ede4);
}

.pk-cap {
  fill: var(--cap, #ffffff);
}

.pk-label {
  fill: var(--label, #2a2a2a);
}

.pack {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 12px 14px rgb(19 33 28 / 16%));
}

/* ---------- Top bar and header ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px var(--gutter);
  background: var(--ink);
  color: #f3efe6;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}

.topbar .icon {
  color: #9be3c8;
}

.topbar-more {
  display: none;
}

@media (min-width: 640px) {
  .topbar-more {
    display: inline;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgb(19 33 28 / 7%);
  background: rgb(255 250 245 / 86%);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font: 500 24px/1 var(--display);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo b {
  font-weight: 600;
  font-style: italic;
  color: var(--brand);
}

.logo-mark {
  width: 26px;
  height: 26px;
  color: var(--brand);
}

.logo-light {
  color: #fff;
}

.logo-light b,
.logo-light .logo-mark {
  color: #9be3c8;
}

.nav {
  display: none;
  gap: 4px;
  margin-left: 12px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav a:hover {
  background: rgb(19 33 28 / 6%);
  color: var(--ink);
}

.header-search {
  display: none;
  align-items: center;
  gap: 8px;
  width: 240px;
  height: 42px;
  margin-left: auto;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
}

.header-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.header-cta:hover {
  background: var(--brand-deep);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .header-search {
    display: flex;
  }

  .header-cta {
    margin-left: 0;
  }

  .header-row {
    height: 72px;
  }
}

/* ---------- Buttons and form fields ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 15px/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.btn:hover {
  background: var(--brand-deep);
}

.btn:active {
  transform: scale(0.98);
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-s);
  color: var(--muted);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font: inherit;
}

.search .btn {
  min-height: 44px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 28px;
  background:
    radial-gradient(60% 55% at 85% 0%, #e2f6ec 0%, transparent 70%),
    radial-gradient(50% 50% at 0% 100%, #ffe9dd 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgb(20 120 93 / 18%);
  border-radius: 999px;
  background: rgb(255 255 255 / 70%);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
}

.eyebrow-dot,
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgb(242 105 75 / 18%);
}

.hero h1 {
  max-width: 13ch;
  font: 500 clamp(38px, 10.5vw, 72px) / 1.02 var(--display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--brand);
  font-weight: 500;
}

.hero-sub {
  max-width: 44ch;
  margin: 18px 0 26px;
  color: var(--ink-soft);
  font-size: clamp(16px, 4.2vw, 19px);
  line-height: 1.55;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points .icon {
  padding: 3px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  width: 20px;
  height: 20px;
}

.hero-art {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1 / 0.92;
  margin: 0 auto;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
}

.blob-mint {
  top: 2%;
  right: 0;
  width: 46%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 35%, #d7f5e7, #b7e9d3);
}

.blob-peach {
  bottom: 4%;
  left: 0;
  width: 34%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 35%, #fff0e6, #ffd3bf);
}

.arch {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 58%;
  height: 92%;
  border-radius: 999px 999px 28px 28px;
  background: linear-gradient(180deg, #ffe7d9 0%, #ffd2bd 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 60%), var(--shadow);
  transform: translateX(-50%);
}

.hero-pack {
  position: absolute;
  bottom: 3%;
  animation: bob 7s ease-in-out infinite alternate;
}

.hero-pack-1 {
  left: 2%;
  width: 36%;
  height: 62%;
  rotate: -9deg;
  animation-delay: -2s;
}

.hero-pack-2 {
  left: 50%;
  width: 46%;
  height: 84%;
  margin-left: -23%;
  z-index: 2;
}

.hero-pack-3 {
  right: 0;
  width: 38%;
  height: 46%;
  rotate: 7deg;
  z-index: 3;
  animation-delay: -4s;
}

@keyframes bob {
  from {
    translate: 0 0;
  }

  to {
    translate: 0 -10px;
  }
}

.bead {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0 14%, rgb(255 255 255 / 55%) 15% 34%, rgb(160 226 200 / 55%) 70%);
  box-shadow: inset -2px -3px 6px rgb(20 120 93 / 18%), 0 6px 12px rgb(19 33 28 / 10%);
}

.bead-1 {
  top: 10%;
  left: 12%;
  width: 34px;
  height: 34px;
}

.bead-2 {
  top: 30%;
  right: 4%;
  width: 20px;
  height: 20px;
}

.bead-3 {
  top: 2%;
  right: 32%;
  width: 14px;
  height: 14px;
}

.float-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 92%);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.float-chip .icon {
  color: var(--coral);
}

.float-chip-1 {
  top: 20%;
  left: -2%;
}

.float-chip-2 {
  right: -2%;
  bottom: 44%;
}

@media (min-width: 900px) {
  .hero {
    padding: 64px 0 56px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
  }

  .hero-art {
    width: 100%;
    max-width: 520px;
    margin: 0 0 0 auto;
  }

  .float-chip {
    font-size: 14px;
  }
}

/* ---------- Value strip ---------- */

.values {
  padding: 8px 0 12px;
}

.values-grid {
  display: grid;
  gap: 12px;
}

.value {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.value-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 19px;
}

.value:nth-child(2) .value-icon {
  background: #ffe6d8;
  color: #b4472b;
}

.value:nth-child(3) .value-icon {
  background: #ebe4fb;
  color: #5a3fa8;
}

.value h2 {
  font: 600 16px/1.3 var(--font);
  letter-spacing: -0.01em;
}

.value p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 44px 0 8px;
}

.section-first {
  padding-top: 32px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.kicker {
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2,
.section-title {
  font: 500 clamp(28px, 6.4vw, 40px) / 1.1 var(--display);
  letter-spacing: -0.025em;
}

.section-note {
  max-width: 36ch;
  color: var(--muted);
  font-size: 15px;
}

.search-inline {
  flex: 1 1 320px;
  max-width: 440px;
}

@media (min-width: 900px) {
  .section {
    padding-top: 72px;
  }

  .section-first {
    padding-top: 48px;
  }

  .section-head {
    margin-bottom: 28px;
  }
}

/* ---------- Routine steps ---------- */

.steps {
  display: flex;
  gap: 12px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  /* Without this the first card snaps flush to the screen edge and loses its gutter. */
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}

.steps::-webkit-scrollbar {
  display: none;
}

.steps li {
  flex: none;
  width: 148px;
  scroll-snap-align: start;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px 14px 16px;
  border-radius: var(--radius);
  background: var(--tint, #f1ebe0);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-art {
  display: block;
  height: 112px;
  margin-bottom: 10px;
}

.step-num {
  position: absolute;
  top: 12px;
  left: 14px;
  color: rgb(19 33 28 / 45%);
  font: 500 13px/1 var(--display);
  font-variant-numeric: tabular-nums;
}

.step-name {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step-count {
  color: rgb(19 33 28 / 60%);
  font-size: 13px;
}

@media (min-width: 1100px) {
  /* One row however many steps there are, so the last step never wraps onto a line of its own. */
  .steps {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    margin: 0;
    padding: 4px 0 0;
    overflow: visible;
  }

  .steps li {
    width: auto;
  }
}

/* ---------- Filter chips ---------- */

.chips {
  display: flex;
  gap: 8px;
  margin: 0 calc(var(--gutter) * -1) 6px;
  padding: 2px var(--gutter) 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: none;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.chip[aria-current="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

@media (min-width: 900px) {
  .chips {
    flex-wrap: wrap;
    margin: 0 0 8px;
    padding: 2px 0 14px;
    overflow: visible;
  }
}

/* ---------- Product grid and cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
}

.grid > li {
  display: flex;
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 18px;
  }
}

@media (min-width: 1100px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 22px;
  }
}

.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
}

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.08;
  padding: 16% 14% 9%;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(70% 60% at 28% 18%, rgb(255 255 255 / 75%), transparent 70%),
    var(--tint, #f1ebe0);
  transition: box-shadow 0.25s ease;
}

.card-media .pack {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card:hover .card-media {
  box-shadow: var(--shadow);
}

.card:hover .pack {
  transform: translateY(-6px) scale(1.04);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 88%);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 4px 4px;
}

.brand {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-name {
  margin-top: 3px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-tagline {
  display: none;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.pick {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.card-cta .icon {
  transition: transform 0.2s ease;
}

.card:hover .card-cta {
  color: var(--brand);
}

.card:hover .card-cta .icon {
  transform: translateX(3px);
}

@media (min-width: 640px) {
  .card-name {
    font-size: 16.5px;
  }

  .card-tagline {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .badge {
    top: 14px;
    left: 14px;
    font-size: 12px;
  }
}

.empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 40px 0 56px;
  text-align: center;
}

.empty-art {
  width: 120px;
  height: 120px;
  padding: 16px;
  border-radius: 50%;
  background: var(--tint);
}

.empty h1,
.empty h2 {
  font: 500 clamp(24px, 6vw, 32px) / 1.15 var(--display);
  letter-spacing: -0.02em;
}

.empty p {
  max-width: 40ch;
  margin-bottom: 10px;
  color: var(--muted);
}

/* ---------- Product page ---------- */

.pdp-wrap {
  padding-top: 18px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13.5px;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.pdp {
  display: grid;
  gap: 24px;
}

.pdp-media {
  position: relative;
  aspect-ratio: 1 / 0.92;
  padding: 12% 22% 11%;
  border-radius: var(--radius-l);
  background:
    radial-gradient(60% 55% at 28% 16%, rgb(255 255 255 / 80%), transparent 70%),
    var(--tint, #f1ebe0);
}

.pdp-media .badge {
  top: 16px;
  left: 16px;
  padding: 7px 13px;
  font-size: 13px;
}

.pdp-pick {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgb(19 33 28 / 55%);
  font: 500 14px/1 var(--display);
  font-variant-numeric: tabular-nums;
}

.pdp-media-note {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  color: rgb(19 33 28 / 45%);
  font-size: 11.5px;
  text-align: center;
}

.pdp-info h1 {
  margin-top: 6px;
  font: 500 clamp(30px, 7.6vw, 46px) / 1.06 var(--display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede {
  max-width: 46ch;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.5;
}

.pdp-info h2 {
  margin: 30px 0 12px;
  font: 600 18px/1.3 var(--font);
  letter-spacing: -0.01em;
}

.pdp-info section > p {
  max-width: 60ch;
  color: var(--ink-soft);
}

.buybox {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.buybox h2 {
  margin: 0 0 12px;
}

.stores {
  display: grid;
  gap: 10px;
}

.store {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.store:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.store .icon {
  margin-left: auto;
  font-size: 18px;
  transition: transform 0.2s ease;
}

.store:hover .icon {
  transform: translateX(4px);
}

.store-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font: 600 18px/1 var(--display);
}

.store-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.store-name {
  font-size: 15.5px;
  font-weight: 600;
}

.store-note {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.store-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.store-primary:hover {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
}

.store-primary .store-badge {
  background: rgb(255 255 255 / 14%);
  color: #fff;
}

.store-primary .store-note {
  color: rgb(255 255 255 / 70%);
}

.fine {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.buybox .fine {
  margin-top: 14px;
}

.pdp-info section > .fine {
  margin-top: 12px;
  color: var(--muted);
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.specs > div {
  padding: 14px;
  border-radius: 16px;
  background: #f7f1e8;
}

.specs dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.specs dd {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
}

.related {
  padding-bottom: 8px;
}

@media (min-width: 900px) {
  .pdp-wrap {
    padding-top: 28px;
  }

  .pdp {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .pdp-media {
    position: sticky;
    top: 96px;
    aspect-ratio: 1 / 1.05;
  }

  .buybox {
    padding: 22px;
  }

  .specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Sticky buy bar: phones only, where the store buttons scroll out of view quickly. */

.buybar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgb(255 250 245 / 94%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.buybar-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.buybar-name {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buybar .btn {
  flex: none;
  min-height: 46px;
  padding: 0 18px;
  font-size: 14.5px;
}

.has-buybar .site-footer {
  padding-bottom: 96px;
}

@media (min-width: 900px) {
  .buybar {
    display: none;
  }

  .has-buybar .site-footer {
    padding-bottom: 0;
  }
}

/* ---------- Text pages ---------- */

.page-head {
  padding: 44px 0 36px;
  background:
    radial-gradient(50% 80% at 90% 0%, #e2f6ec 0%, transparent 70%),
    radial-gradient(40% 80% at 0% 100%, #ffe9dd 0%, transparent 70%);
}

.page-head h1 {
  max-width: 18ch;
  font: 500 clamp(34px, 8vw, 56px) / 1.05 var(--display);
  letter-spacing: -0.03em;
}

.page-head p:not(.kicker) {
  max-width: 52ch;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 17px;
}

.prose {
  padding-top: 8px;
  padding-bottom: 16px;
}

.prose h2 {
  margin: 34px 0 10px;
  font: 500 24px/1.2 var(--display);
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  max-width: 66ch;
  color: var(--ink-soft);
}

.prose p + p {
  margin-top: 12px;
}

.prose ul {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.prose li {
  position: relative;
  padding-left: 26px;
}

.prose li::before {
  position: absolute;
  top: 0.62em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 72px;
  background: var(--ink);
  color: rgb(255 255 255 / 72%);
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
  padding-top: 48px;
  padding-bottom: 36px;
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-brand p {
  max-width: 40ch;
  margin-top: 14px;
  line-height: 1.6;
}

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col h2 {
  margin-bottom: 4px;
  color: #fff;
  font: 600 13px/1.3 var(--font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col a {
  color: rgb(255 255 255 / 72%);
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: rgb(255 255 255 / 55%);
  font-size: 13px;
  line-height: 1.55;
}

.footer-bottom p:first-child {
  max-width: 72ch;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
    padding-top: 64px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
