:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --card: #ffffff;
  --ink: #111111;
  --muted: #5d636b;
  --line: #dedede;
  --green: #c8ff2d;
  --pink: #ff4f8a;
  --blue: #39d7ff;
  --yellow: #ffe45f;
  --shadow: 0 22px 54px rgba(17, 17, 17, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  color: inherit;
  font: inherit;
}

.announce {
  display: flex;
  justify-content: center;
  gap: 16px;
  min-height: 36px;
  padding: 8px 14px;
  overflow-x: auto;
  background: var(--green);
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  min-height: 70px;
  padding: 10px clamp(14px, 4vw, 44px);
  background: rgba(247, 248, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.site-head nav,
.rating-row,
.option-row,
.pay-row,
.offer-strip,
.cart-head,
.shipping-box > div:first-child,
.summary div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 1000;
  text-transform: uppercase;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  object-fit: cover;
}

.site-head nav {
  gap: 6px;
}

.site-head nav a {
  padding: 12px 10px;
  color: var(--muted);
  font-weight: 900;
}

.bag-trigger,
.add-main,
.quick-add,
.checkout-button,
.sticky-atc,
.option,
.icon-button {
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 1000;
}

.bag-trigger {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  background: var(--ink);
  color: #fff;
}

.bag-trigger strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
}

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  gap: clamp(16px, 4vw, 44px);
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(18px, 5vw, 44px) 14px 28px;
}

.media-stack {
  display: grid;
  gap: 12px;
}

.video-tile,
.buy-box,
.product-card,
.review-grid article,
.comparison,
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.08);
}

.video-tile {
  position: relative;
  overflow: hidden;
}

.video-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f0f2ee;
}

.hero-video img {
  aspect-ratio: 1.08;
}

.video-tile > div {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 3px;
  padding: 12px;
  color: #fff;
  background: rgba(17, 17, 17, 0.84);
  border-radius: var(--radius);
}

.video-tile strong {
  font-size: 1.08rem;
  text-transform: uppercase;
}

.video-tile span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 850;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}

.pill.hot,
.tag.official {
  background: var(--pink);
  color: #fff;
}

.tag.supplier {
  background: var(--blue);
  color: var(--ink);
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.thumb-grid .video-tile strong {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 8px;
  color: #fff;
  background: rgba(17, 17, 17, 0.8);
  border-radius: var(--radius);
  font-size: 0.78rem;
}

.buy-box {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #087b64;
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: 0.9;
  font-weight: 1000;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.96;
  font-weight: 1000;
  text-transform: uppercase;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.05;
  font-weight: 1000;
}

.rating-row {
  gap: 10px;
  margin-top: 12px;
  color: #ffb000;
  font-weight: 1000;
}

.rating-row a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: underline;
}

.lede {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.price-block {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  margin-top: 16px;
}

.price-block strong {
  font-size: 2.45rem;
}

.price-block span {
  color: var(--muted);
  font-weight: 900;
  text-decoration: line-through;
}

.price-block em {
  padding: 6px 8px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
  text-transform: uppercase;
}

.selector,
.quantity-breaks,
.trust-list {
  margin-top: 16px;
}

.selector > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.option-row {
  flex-wrap: wrap;
  gap: 8px;
}

.option {
  min-height: 40px;
  padding: 0 12px;
  background: #eef1ec;
  color: var(--ink);
}

.option.active {
  background: var(--ink);
  color: #fff;
}

.quantity-breaks {
  display: grid;
  gap: 8px;
}

.quantity-breaks label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #f3f6f1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quantity-breaks span,
.quantity-breaks small {
  display: block;
}

.quantity-breaks small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 850;
}

.add-main,
.checkout-button {
  width: 100%;
  min-height: 54px;
  margin-top: 16px;
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(117, 165, 0, 0.22);
}

.pay-row {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.pay-row span {
  padding: 8px 9px;
  background: #eef1ec;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 1000;
}

.trust-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 850;
}

.offer-strip,
.section,
.comparison {
  max-width: 1220px;
  margin: 0 auto;
}

.offer-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 14px 28px;
}

.offer-strip article {
  padding: 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.offer-strip strong,
.offer-strip span {
  display: block;
}

.offer-strip span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  font-weight: 850;
}

.section {
  padding: 28px 14px;
}

.section-title {
  max-width: 780px;
  margin-bottom: 14px;
}

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

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr;
  overflow: hidden;
}

.product-card .tag {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 1;
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: contain;
  background:
    linear-gradient(135deg, rgba(200, 255, 45, 0.2), transparent),
    #f0f2ee;
  padding: 14px;
}

.product-card > div {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 12px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.product-card strong {
  font-size: 1.35rem;
}

.quick-add {
  min-height: 42px;
  background: var(--ink);
  color: #fff;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.comparison ul {
  display: grid;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.review-grid article {
  padding: 16px;
}

.review-grid p {
  margin: 10px 0;
  color: var(--muted);
  line-height: 1.4;
}

.review-grid span {
  color: #087b64;
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  background: rgba(17, 17, 17, 0);
  transition: background 180ms ease;
}

.cart-drawer.open {
  pointer-events: auto;
  background: rgba(17, 17, 17, 0.52);
}

.cart-panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto auto auto;
  width: min(430px, 100vw);
  min-height: 100%;
  padding: 16px;
  background: var(--card);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-head {
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-head span,
.cart-head strong {
  display: block;
}

.cart-head span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.cart-head strong {
  margin-top: 3px;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.icon-button {
  display: grid;
  width: 42px;
  min-height: 42px;
  place-items: center;
  background: var(--ink);
  color: #fff;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px 0;
  overflow: auto;
}

.empty-cart,
.cart-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #f3f6f1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-item strong,
.cart-item span {
  display: block;
}

.cart-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.shipping-box {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.shipping-box > div:first-child,
.summary div {
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  font-weight: 900;
}

.track {
  height: 9px;
  margin-top: 10px;
  overflow: hidden;
  background: #ebe4d5;
  border-radius: 999px;
}

.track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--pink);
  transition: width 160ms ease;
}

.summary {
  display: grid;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.summary .total {
  font-size: 1.18rem;
}

.cart-note {
  margin-top: 10px;
  font-size: 0.8rem;
}

.sticky-atc {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 40;
  display: none;
  gap: 16px;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.sticky-atc strong {
  color: var(--green);
}

footer {
  max-width: 1220px;
  margin: 0 auto 90px;
  padding: 22px 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .pdp,
  .comparison {
    grid-template-columns: 1fr;
  }

  .buy-box {
    position: static;
  }

  .offer-strip,
  .product-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .announce span:first-child {
    display: none;
  }

  .site-head {
    grid-template-columns: 1fr auto;
  }

  .site-head nav {
    display: none;
  }

  .pdp {
    padding-top: 14px;
  }

  .thumb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.9rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .product-card {
    grid-template-columns: 38% 1fr;
  }

  .product-card img {
    min-height: 170px;
  }

  .sticky-atc.is-visible {
    display: inline-flex;
  }
}

@media (max-width: 420px) {
  .announce {
    justify-content: flex-start;
  }

  .brand span {
    max-width: 114px;
  }

  .price-block strong {
    font-size: 2.15rem;
  }
}
