/* JOSHARW — warm minimalist anti-age cosmetics. Design system. */
:root {
  --cream: #f4eee6;
  --paper: #fbf8f3;
  --sand: #ede4d8;
  --sand-2: #e4d7c7;
  --tan: #c8a98a;
  --clay: #a98463;
  --clay-deep: #8a6444;
  --taupe: #7a6a58;
  --ink: #2c2620;
  --ink-soft: #4a4137;
  --muted: #8b8073;
  --line: rgba(44, 38, 32, 0.12);
  --line-soft: rgba(44, 38, 32, 0.07);
  --radius: 14px;
  --radius-sm: calc(var(--radius) * 0.5);
  --radius-lg: calc(var(--radius) * 1.6);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --shadow-sm:
    0 1px 2px rgba(44, 38, 32, 0.05), 0 4px 14px rgba(44, 38, 32, 0.04);
  --shadow-md:
    0 8px 30px rgba(44, 38, 32, 0.1), 0 2px 6px rgba(44, 38, 32, 0.05);
  --maxw: 1240px;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--tan);
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: 88px 0;
}
.section--tight {
  padding: 56px 0;
}

/* typography */
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.display {
  font-size: clamp(44px, 6.6vw, 96px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.h-xl {
  font-size: clamp(34px, 4.4vw, 60px);
}
.h-lg {
  font-size: clamp(28px, 3.2vw, 44px);
}
.h-md {
  font-size: clamp(22px, 2.2vw, 30px);
}
.serif-it {
  font-style: italic;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0;
}
.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
  color: var(--ink-soft);
}
.muted {
  color: var(--muted);
}
.tnum {
  font-variant-numeric: tabular-nums;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 0.18s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--ink);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--clay-deep);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn--light:hover {
  background: #fff;
}
.btn--block {
  width: 100%;
}
.btn--lg {
  padding: 17px 34px;
  font-size: 15px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition:
    gap 0.2s,
    border-color 0.2s;
}
.link-arrow:hover {
  gap: 13px;
  border-color: var(--ink);
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.nav__links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
}
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--clay);
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  position: relative;
  transition: background 0.2s;
}
.icon-btn:hover {
  background: var(--sand);
}
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--clay-deep);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
}
.nav__menu {
  display: none;
}
.announce {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  padding: 9px 16px;
}
.announce b {
  color: var(--tan);
  font-weight: 600;
}

/* flacon CSS product placeholder */
.flacon-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.flacon {
  --t: var(--tan);
  position: relative;
  filter: drop-shadow(0 18px 30px rgba(44, 38, 32, 0.18));
}
.flacon .glass {
  position: relative;
  border-radius: 14px 14px 18px 18px;
  background:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.55),
      rgba(255, 255, 255, 0) 42%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--t) 78%, #fff 22%),
      var(--t)
    );
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.flacon .glass::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 14%;
  width: 16%;
  height: 70%;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0)
  );
}
.flacon .label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16%;
  width: 66%;
  padding: 9% 0;
  background: rgba(251, 248, 243, 0.92);
  border-radius: 4px;
  text-align: center;
  color: var(--ink);
  font-family: var(--serif);
  letter-spacing: 0.12em;
  font-weight: 600;
}
.flacon .cap {
  margin: 0 auto;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--t) 55%, var(--ink) 45%),
    color-mix(in srgb, var(--t) 35%, var(--ink) 65%)
  );
  border-radius: 5px 5px 3px 3px;
}
.flacon .neck {
  margin: 0 auto;
  background: color-mix(in srgb, var(--t) 60%, #fff);
  width: 24%;
  height: 10px;
}
.flacon .dropper-top {
  width: 30%;
  height: 30px;
  margin: 0 auto;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--t) 50%, var(--ink) 50%),
    color-mix(in srgb, var(--t) 30%, var(--ink) 70%)
  );
}

/* photo placeholder */
.photo {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--sand);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(168, 132, 99, 0.1) 0 12px,
    rgba(168, 132, 99, 0.02) 12px 24px
  );
  display: grid;
  place-items: center;
  overflow: hidden;
}
.photo__tag {
  font-family: "Hanken Grotesk", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  background: rgba(251, 248, 243, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
}
.photo--ink {
  background-color: #2f2922;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0 12px,
    rgba(255, 255, 255, 0.01) 12px 24px
  );
}
.photo--ink .photo__tag {
  color: var(--tan);
  background: rgba(44, 38, 32, 0.5);
  border-color: rgba(255, 255, 255, 0.16);
}

/* chips / badges */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: transparent;
  transition: all 0.18s;
}
.chip:hover {
  border-color: var(--ink);
}
.chip.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge--sale {
  background: var(--clay-deep);
  color: #fff;
}
.badge--best {
  background: var(--sand-2);
  color: var(--clay-deep);
}
.badge--hero {
  background: var(--ink);
  color: var(--tan);
}

/* product card */
.grid-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  background: linear-gradient(170deg, var(--sand), var(--cream));
  display: grid;
  place-items: center;
  padding: 30px;
}
.card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.card__cat {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
}
.card__name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.05;
}
.card__blurb {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 12px;
}
.price {
  font-size: 19px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.price s {
  color: var(--muted);
  font-weight: 400;
  margin-right: 7px;
  font-size: 15px;
}
.btn-add {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.18s;
}
.btn-add:hover {
  background: var(--ink);
  color: var(--cream);
}

/* footer */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 72px 0 36px;
  margin-top: 40px;
}
.footer a {
  color: rgba(244, 238, 230, 0.75);
  font-size: 14px;
  line-height: 2.1;
  transition: color 0.2s;
}
.footer a:hover {
  color: #fff;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.footer h4 {
  color: var(--tan);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer .brand {
  color: var(--cream);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 238, 230, 0.14);
  font-size: 12.5px;
  color: rgba(244, 238, 230, 0.55);
}
.news-input {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.news-input input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(244, 238, 230, 0.2);
  border-radius: 999px;
  padding: 12px 18px;
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
}
.news-input input::placeholder {
  color: rgba(244, 238, 230, 0.5);
}
.news-input button {
  background: var(--tan);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 700;
  font-size: 13px;
}

/* cart drawer */
.drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgba(44, 38, 32, 0.42);
  backdrop-filter: blur(2px);
  z-index: 60;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: var(--cream);
  z-index: 61;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(44, 38, 32, 0.2);
  animation: slidein 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes slidein {
  from {
    transform: translateX(24px);
  }
  to {
    transform: translateX(0);
  }
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}
.drawer__foot {
  padding: 20px 24px 26px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.cart-row {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-row__media {
  width: 64px;
  height: 76px;
  border-radius: var(--radius-sm);
  background: linear-gradient(170deg, var(--sand), var(--cream));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty button {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
}
.qty button:hover {
  background: var(--sand);
}
.qty span {
  min-width: 26px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}
.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: 78vh;
  padding: 40px 0 60px;
}
.hero__media {
  position: relative;
  aspect-ratio: 4/4.6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__float {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--clay);
}
.trust-bar {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-item b {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.trust-item span {
  font-size: 12.5px;
  color: var(--muted);
}

/* marquee strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--sand);
  overflow: hidden;
}
.strip__track {
  display: flex;
  gap: 56px;
  padding: 16px 0;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
}
.strip__item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--clay-deep);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.strip__item::after {
  content: "\00b7";
  color: var(--tan);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* split sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split__media {
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-list {
  display: grid;
  gap: 2px;
  margin-top: 24px;
}
.feature-list ul {
  margin: 0;
  padding: 0;
}
.feature-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.feature-list li .n {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--clay);
  font-weight: 600;
  min-width: 28px;
}
.feature-list li h4 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}
.feature-list li p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* quiz CTA banner */
.quiz-cta {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.quiz-cta__glow {
  position: absolute;
  right: -10%;
  top: -30%;
  width: 50%;
  height: 160%;
  background: radial-gradient(
    circle,
    rgba(200, 169, 138, 0.5),
    transparent 65%
  );
}
.quiz-cta h2 {
  color: var(--cream);
  position: relative;
}
.quiz-cta .lead {
  color: rgba(244, 238, 230, 0.78);
}

/* product detail page */
.pdp {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
}
.pdp__gallery {
  position: sticky;
  top: 90px;
  align-self: start;
}
.pdp__main {
  aspect-ratio: 4/4.6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(170deg, var(--sand), var(--cream));
  display: grid;
  place-items: center;
  padding: 60px;
  box-shadow: var(--shadow-sm);
}
.pdp__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.pdp__thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand);
  display: grid;
  place-items: center;
  padding: 14px;
  transition: border-color 0.2s;
  cursor: pointer;
}
.pdp__thumb.is-active {
  border-color: var(--ink);
}
.variant-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.variant {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--paper);
  transition: all 0.18s;
}
.variant.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}
.acc {
  border-top: 1px solid var(--line);
}
.acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.acc__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.acc__body.open {
  max-height: 320px;
}
.acc__inner {
  padding-bottom: 20px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.7;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  font-size: 12.5px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink-soft);
}

/* quiz */
.quiz-stage {
  min-height: 70vh;
  display: grid;
  place-items: center;
}
.quiz-card {
  width: min(620px, 100%);
}
.quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 36px;
}
.quiz-progress span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--sand-2);
  overflow: hidden;
}
.quiz-progress span i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--clay);
  transition: width 0.35s ease;
}
.quiz-progress span.done i {
  width: 100%;
}
.quiz-progress span.current i {
  width: 100%;
  background: var(--ink);
}
.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.16s ease;
  margin-bottom: 12px;
}
.opt:hover {
  border-color: var(--ink);
  transform: translateX(3px);
}
.opt__dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.result-routine {
  display: grid;
  gap: 16px;
}
.result-step {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px;
}
.result-step__media {
  width: 70px;
  height: 84px;
  border-radius: var(--radius-sm);
  background: linear-gradient(170deg, var(--sand), var(--cream));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* reviews / before-after */
.rev-grid {
  columns: 3;
  column-gap: 26px;
}
.rev-card {
  break-inside: avoid;
  margin-bottom: 26px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px;
}
.rev-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--sand-2);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--clay-deep);
  font-size: 17px;
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.ba-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--paper);
}
.ba-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.ba-imgs > div {
  aspect-ratio: 3/4;
}
.ba-imgs .lbl {
  position: absolute;
  top: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(44, 38, 32, 0.55);
  padding: 4px 10px;
  border-radius: 999px;
}
.ba-imgs .lbl.before {
  left: 12px;
}
.ba-imgs .lbl.after {
  right: 12px;
}
.ba-card__body {
  padding: 18px 20px;
}
.ba-card__body strong {
  white-space: nowrap;
}
.verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--clay-deep);
  font-weight: 600;
}

/* misc */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a:hover {
  color: var(--ink);
}
.divider {
  height: 1px;
  background: var(--line);
  border: none;
  margin: 0;
}
.fade-up {
  animation: fadeUp 0.5s ease both;
}
@keyframes fadeUp {
  from {
    transform: translateY(12px);
  }
  to {
    transform: none;
  }
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  z-index: 80;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

/* cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 20px 32px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(44, 38, 32, 0.08);
}
.cookie-banner p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  max-width: 600px;
  line-height: 1.6;
}
.cookie-banner p a {
  color: var(--clay-deep);
  border-bottom: 1px solid var(--line);
}
.cookie-banner__btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* policy pages */
.policy-page {
  max-width: 780px;
  margin: 0 auto;
}
.policy-page h1 {
  margin-bottom: 32px;
}
.policy-page h2 {
  font-size: 22px;
  margin: 36px 0 14px;
}
.policy-page p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0 0 16px;
}
.policy-page ul {
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0 0 16px;
  padding-left: 20px;
}
.policy-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.policy-page th,
.policy-page td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.policy-page th {
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
}

/* responsive */
@media (max-width: 980px) {
  .grid-products {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__grid,
  .split,
  .pdp {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero__grid {
    min-height: auto;
  }
  .pdp__gallery {
    position: static;
  }
  .rev-grid {
    columns: 2;
  }
  .ba-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .bundle-row {
    grid-template-columns: 1fr !important;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }
  .section {
    padding: 56px 0;
  }
  .nav__links {
    display: none;
  }
  .nav__menu {
    display: inline-flex;
  }
  .grid-products {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .card__name {
    font-size: 20px;
  }
  .rev-grid {
    columns: 1;
  }
  .ba-grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .trust-bar {
    gap: 24px;
  }
  .pdp__main {
    padding: 36px;
  }
  .trust-cards {
    grid-template-columns: 1fr 1fr !important;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 420px) {
  .grid-products {
    grid-template-columns: 1fr;
  }
}
