.shop-demo {
  --shop-black: #070808;
  --shop-ink: #121413;
  --shop-paper: #f3f2ec;
  --shop-white: #fff;
  --shop-muted: #777d78;
  --shop-line: rgba(10, 12, 11, .16);
  --shop-lime: #baf434;
  position: relative;
  margin: 0;
  background: var(--shop-paper);
  color: var(--shop-ink);
  font-family: var(--sans);
  overflow: clip;
}

.shop-demo button,
.shop-demo select,
.shop-demo input { font: inherit; }

.shop-demo__announcement,
.shop-demo__nav,
.shop-demo__hero,
.shop-demo__proof,
.shop-demo__products,
.shop-demo__policies {
  padding-left: clamp(20px, 4vw, 72px);
  padding-right: clamp(20px, 4vw, 72px);
}

.shop-demo__announcement {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 9px;
  padding-bottom: 9px;
  background: var(--shop-lime);
  color: #0b0d0c;
  font: 9px/1.4 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.shop-demo__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: var(--shop-black);
  color: #fff;
}

.shop-demo__brand { color: inherit; font-size: 28px; font-weight: 760; letter-spacing: .16em; text-decoration: none; }
.shop-demo__brand span { color: var(--shop-lime); }
.shop-demo__nav nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.shop-demo__nav nav a { color: #c8ccc9; font-size: 12px; text-decoration: none; }
.shop-demo__nav nav a:hover { color: var(--shop-lime); }
.shop-demo__cart-button { justify-self: end; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: transparent; color: #fff; padding: 10px 15px; cursor: pointer; }
.shop-demo__cart-button span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 7px; border-radius: 50%; background: var(--shop-lime); color: #0b0d0c; font-size: 10px; }

.shop-demo__hero {
  display: grid;
  grid-template-columns: minmax(380px, .78fr) minmax(0, 1.22fr);
  min-height: min(780px, 78vh);
  padding-right: 0;
  background: var(--shop-black);
  color: #fff;
}

.shop-demo__hero-copy { align-self: center; max-width: 700px; padding: 70px 8vw 70px 0; }
.shop-demo__hero-copy > p { margin: 0 0 24px; color: var(--shop-lime); font: 10px/1.4 var(--mono); letter-spacing: .12em; }
.shop-demo__hero-copy h2 { margin: 0; font-size: clamp(62px, 8vw, 142px); line-height: .82; letter-spacing: -.07em; }
.shop-demo__hero-copy > span { display: block; max-width: 520px; margin-top: 30px; color: #aeb4af; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.45; }
.shop-demo__hero-copy > div { display: flex; gap: 12px; margin-top: 34px; }
.shop-demo__hero-copy a,
.shop-demo__hero-copy button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: transparent; color: #fff; padding: 0 22px; text-decoration: none; cursor: pointer; }
.shop-demo__hero-copy .shop-demo__primary { border-color: var(--shop-lime); background: var(--shop-lime); color: #0a0b0b; font-weight: 700; }
.shop-demo__hero figure { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.shop-demo__hero figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,8,.38), transparent 35%); pointer-events: none; }
.shop-demo__hero figure img { width: 100%; height: 100%; object-fit: cover; }
.shop-demo__hero figcaption { position: absolute; z-index: 1; right: 28px; bottom: 28px; display: flex; gap: 20px; align-items: center; padding: 13px 16px; border-radius: 999px; background: rgba(7,8,8,.82); backdrop-filter: blur(10px); font-size: 12px; }
.shop-demo__hero figcaption strong { color: var(--shop-lime); }

.shop-demo__proof { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--shop-line); }
.shop-demo__proof div { padding: 28px 0; border-right: 1px solid var(--shop-line); text-align: center; }
.shop-demo__proof div:last-child { border-right: 0; }
.shop-demo__proof strong { display: block; font-size: clamp(30px, 3vw, 50px); letter-spacing: -.05em; }
.shop-demo__proof span { color: var(--shop-muted); font: 9px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }

.shop-demo__products { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); }
.shop-demo__products > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.shop-demo__products > header p,
.shop-demo__policies > p { margin: 0; color: #626862; font: 10px/1.4 var(--mono); letter-spacing: .12em; }
.shop-demo__products > header h2,
.shop-demo__policies > h2 { max-width: 850px; margin: 14px 0 0; font-size: clamp(52px, 6.5vw, 104px); line-height: .88; letter-spacing: -.065em; }
.shop-demo__filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.shop-demo__filters button { border: 1px solid var(--shop-line); border-radius: 999px; background: transparent; padding: 9px 14px; color: #363b38; font-size: 11px; cursor: pointer; }
.shop-demo__filters button[aria-pressed="true"] { background: var(--shop-black); color: #fff; }

.shop-demo__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--shop-line); border: 1px solid var(--shop-line); }
.shop-product { display: flex; flex-direction: column; min-width: 0; background: var(--shop-paper); }
.shop-product[hidden] { display: none; }
.shop-product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #dfe1da; }
.shop-product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shop-product:hover .shop-product__media img { transform: scale(1.035); }
.shop-product__media > span { position: absolute; top: 12px; left: 12px; padding: 7px 9px; border-radius: 999px; background: var(--shop-lime); font: 8px/1 var(--mono); letter-spacing: .07em; }
.shop-product__media > button { position: absolute; right: 12px; bottom: 12px; border: 1px solid rgba(0,0,0,.16); border-radius: 999px; background: rgba(255,255,255,.84); padding: 8px 10px; font-size: 9px; cursor: pointer; backdrop-filter: blur(8px); }
.shop-product__media > button[aria-pressed="true"] { background: var(--shop-black); color: #fff; }
.shop-product__body { display: flex; justify-content: space-between; gap: 14px; padding: 20px 18px 0; }
.shop-product__body h3 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.shop-product__body p { margin: 5px 0 0; color: var(--shop-muted); font-size: 11px; }
.shop-product__price { text-align: right; }
.shop-product__price strong { display: block; font-size: 16px; }
.shop-product__price del { color: #8d928e; font-size: 11px; }
.shop-product__description { flex: 1; margin: 14px 18px 20px; color: #656b66; font-size: 12px; line-height: 1.55; }
.shop-product__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 0 18px 18px; }
.shop-product__actions label { min-width: 0; }
.shop-product__actions label span { display: block; margin-bottom: 6px; color: var(--shop-muted); font: 8px/1.2 var(--mono); text-transform: uppercase; }
.shop-product__actions select,
.shop-product__actions button { width: 100%; min-height: 42px; border: 1px solid var(--shop-line); border-radius: 8px; background: #fff; padding: 0 11px; font-size: 11px; }
.shop-product__actions button { align-self: end; width: auto; background: var(--shop-black); color: #fff; cursor: pointer; }

.shop-demo__policies { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); background: #dfe2d9; }
.shop-demo__policies > div { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--shop-line); border-left: 1px solid var(--shop-line); }
.shop-demo__policies article { padding: 28px; border-right: 1px solid var(--shop-line); border-bottom: 1px solid var(--shop-line); }
.shop-demo__policies article > span { font: 10px/1 var(--mono); }
.shop-demo__policies h3 { margin: 60px 0 12px; font-size: 28px; }
.shop-demo__policies article p { margin: 0; color: #646a65; line-height: 1.6; }

.shop-demo__compare { position: fixed; z-index: 90; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 16px; transform: translateX(-50%); padding: 10px 12px 10px 18px; border-radius: 999px; background: var(--shop-black); color: #fff; box-shadow: 0 16px 48px rgba(0,0,0,.28); font-size: 11px; }
.shop-demo__compare[hidden] { display: none; }
.shop-demo__compare button { border: 0; border-radius: 999px; background: var(--shop-lime); color: #111; padding: 9px 14px; cursor: pointer; }
.shop-demo__compare button:last-child { width: 32px; height: 32px; padding: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 19px; }

.shop-demo__backdrop { position: fixed; z-index: 110; inset: 0; background: rgba(0,0,0,.48); backdrop-filter: blur(4px); }
.shop-demo__backdrop[hidden] { display: none; }
.shop-cart { position: fixed; z-index: 120; top: 0; right: 0; display: flex; flex-direction: column; width: min(460px, 100vw); height: 100dvh; transform: translateX(105%); background: #fff; box-shadow: -30px 0 80px rgba(0,0,0,.24); transition: transform .28s ease; }
.shop-cart.is-open { transform: translateX(0); }
.shop-cart > header { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--shop-line); }
.shop-cart h2 { margin: 0; font-size: 28px; }
.shop-cart > header button { border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.shop-cart__items { flex: 1; overflow-y: auto; padding: 24px; }
.shop-cart__items > p { color: var(--shop-muted); }
.shop-cart__item { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--shop-line); }
.shop-cart__item img { width: 92px; height: 76px; object-fit: cover; border-radius: 10px; }
.shop-cart__item strong,
.shop-cart__item span { display: block; }
.shop-cart__item span { margin-top: 5px; color: var(--shop-muted); font-size: 11px; }
.shop-cart__item button { margin-top: 10px; border: 0; background: transparent; padding: 0; color: #777; font-size: 10px; text-decoration: underline; cursor: pointer; }
.shop-cart > footer { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 22px 24px; border-top: 1px solid var(--shop-line); }
.shop-cart > footer strong { text-align: right; }
.shop-cart > footer button { grid-column: 1 / -1; min-height: 50px; border: 0; border-radius: 999px; background: var(--shop-black); color: #fff; }

.shop-assistant { position: fixed; z-index: 100; right: 24px; bottom: 94px; }
.shop-assistant[data-state="open"] { z-index: 150; bottom: 24px; }
.shop-assistant__launcher { display: flex; align-items: center; gap: 10px; min-height: 52px; border: 0; border-radius: 999px; background: var(--shop-black); color: #fff; padding: 7px 17px 7px 7px; box-shadow: 0 14px 40px rgba(0,0,0,.24); cursor: pointer; }
.shop-assistant__launcher span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--shop-lime); color: #111; font-weight: 800; }
.shop-assistant__panel { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(430px, calc(100vw - 32px)); height: min(720px, calc(100dvh - 32px)); transform: translateY(18px) scale(.96); transform-origin: right bottom; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; background: #f6f6f2; color: #111; box-shadow: 0 30px 100px rgba(0,0,0,.32); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; overflow: hidden; }
.shop-assistant[data-state="open"] .shop-assistant__launcher { opacity: 0; pointer-events: none; }
.shop-assistant[data-state="open"] .shop-assistant__panel { transform: none; opacity: 1; pointer-events: auto; }
.shop-assistant__panel > header { display: flex; align-items: center; justify-content: space-between; padding: 18px; background: var(--shop-black); color: #fff; }
.shop-assistant__panel > header > div { display: flex; align-items: center; gap: 12px; }
.shop-assistant__panel > header > div > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--shop-lime); color: #111; font-weight: 800; }
.shop-assistant__panel h2 { margin: 0; font-size: 15px; }
.shop-assistant__panel header p { margin: 3px 0 0; color: #9da39e; font-size: 11px; }
.shop-assistant__panel header button { border: 0; background: transparent; color: #fff; font-size: 27px; cursor: pointer; }
.shop-assistant__tools { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--shop-line); background: #eef0ea; }
.shop-assistant__tools span { display: inline-flex; align-items: center; gap: 7px; color: #606661; font: 8px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.shop-assistant__tools i { width: 7px; height: 7px; border-radius: 50%; background: var(--shop-lime); box-shadow: 0 0 0 4px rgba(116,150,18,.12); }
.shop-assistant__tools button { border: 0; background: transparent; color: #4f5651; padding: 4px; font-size: 9px; text-decoration: underline; cursor: pointer; }
.shop-assistant__messages { flex: 1; overflow-y: auto; padding: 18px; }
.shop-assistant__message { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 12px; }
.shop-assistant__message > span { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; background: #111; color: var(--shop-lime); font-size: 9px; font-weight: 800; }
.shop-assistant__message p { max-width: 88%; margin: 0; border-radius: 16px 16px 16px 4px; background: #fff; padding: 12px 13px; font-size: 13px; line-height: 1.5; box-shadow: 0 5px 20px rgba(0,0,0,.06); }
.shop-assistant__message.is-user { justify-content: flex-end; }
.shop-assistant__message.is-user p { border-radius: 16px 16px 4px 16px; background: #171a19; color: #fff; }
.shop-assistant__products { display: flex; gap: 9px; overflow-x: auto; padding: 0 18px 12px; scroll-snap-type: x mandatory; }
.shop-assistant__products[hidden] { display: none; }
.shop-assistant__product { display: grid; grid-template-columns: 92px 1fr; flex: 0 0 330px; min-height: 118px; border: 1px solid var(--shop-line); border-radius: 15px; background: #fff; overflow: hidden; scroll-snap-align: start; }
.shop-assistant__product > img { width: 92px; height: 100%; object-fit: cover; }
.shop-assistant__product > div { padding: 11px; }
.shop-assistant__product span { color: #6d736e; font: 7px/1.2 var(--mono); letter-spacing: .08em; }
.shop-assistant__product h3 { margin: 4px 0 3px; font-size: 15px; }
.shop-assistant__product p { margin: 0; color: #646a65; font-size: 9px; }
.shop-assistant__product > div > div { display: flex; gap: 6px; margin-top: 10px; }
.shop-assistant__product button { border: 1px solid var(--shop-line); border-radius: 999px; background: transparent; padding: 6px 9px; font-size: 8px; cursor: pointer; }
.shop-assistant__product button:last-child { background: var(--shop-black); color: #fff; }
.shop-assistant__quick { display: flex; gap: 8px; overflow-x: auto; padding: 12px 18px 18px; }
.shop-assistant__quick button { flex: 0 0 auto; border: 1px solid var(--shop-line); border-radius: 999px; background: #fff; padding: 9px 12px; font-size: 11px; cursor: pointer; }
.shop-assistant__form { display: grid; grid-template-columns: 1fr 42px; gap: 8px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--shop-line); background: #fff; }
.shop-assistant__form input { min-width: 0; height: 42px; border: 1px solid var(--shop-line); border-radius: 999px; background: #f5f5f1; padding: 0 15px; font-size: 12px; }
.shop-assistant__form button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--shop-black); color: #fff; font-size: 18px; cursor: pointer; }

.shop-compare { width: min(980px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 24px; padding: 30px; background: var(--shop-paper); color: var(--shop-ink); }
.shop-compare::backdrop { background: rgba(0,0,0,.62); backdrop-filter: blur(4px); }
.shop-compare h2 { margin: 0 48px 24px 0; font-size: clamp(38px, 5vw, 70px); letter-spacing: -.055em; }
.shop-compare__close { position: absolute; top: 20px; right: 20px; border: 0; background: transparent; font-size: 34px; cursor: pointer; }
.shop-compare__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shop-compare__grid article { border: 1px solid var(--shop-line); background: #fff; padding: 12px; }
.shop-compare__grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.shop-compare__grid h3 { margin: 16px 4px; font-size: 22px; }
.shop-compare__grid p { display: flex; justify-content: space-between; gap: 14px; margin: 0; padding: 9px 4px; border-top: 1px solid var(--shop-line); font-size: 11px; }
.shop-compare__grid p span { color: var(--shop-muted); }

.shop-demo button:focus-visible,
.shop-demo a:focus-visible,
.shop-demo select:focus-visible,
.shop-compare button:focus-visible { outline: 3px solid var(--shop-lime); outline-offset: 3px; }

body.shop-demo-overlay { overflow: hidden; }

@media (max-width: 1180px) {
  .shop-demo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-demo__nav { grid-template-columns: 1fr auto; }
  .shop-demo__nav nav { display: none; }
}

@media (max-width: 760px) {
  .shop-demo__announcement span:last-child { display: none; }
  .shop-demo__nav { min-height: 66px; }
  .shop-demo__hero { display: flex; flex-direction: column; min-height: 0; padding-right: 20px; }
  .shop-demo__hero-copy { order: 2; padding: 42px 0 64px; }
  .shop-demo__hero-copy h2 { font-size: clamp(62px, 20vw, 92px); }
  .shop-demo__hero figure { order: 1; aspect-ratio: 4/3; margin: 0 -20px; }
  .shop-demo__hero-copy > div { align-items: stretch; flex-direction: column; }
  .shop-demo__proof { grid-template-columns: repeat(2, 1fr); }
  .shop-demo__proof div:nth-child(2) { border-right: 0; }
  .shop-demo__proof div:nth-child(-n+2) { border-bottom: 1px solid var(--shop-line); }
  .shop-demo__products > header { align-items: flex-start; flex-direction: column; }
  .shop-demo__filters { justify-content: flex-start; }
  .shop-demo__grid { display: flex; gap: 1px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .shop-product { flex: 0 0 86vw; scroll-snap-align: start; }
  .shop-demo__policies > div { grid-template-columns: 1fr; }
  .shop-demo__compare { bottom: 14px; width: calc(100vw - 28px); justify-content: space-between; }
  .shop-assistant { right: 14px; bottom: 90px; }
  .shop-assistant[data-state="open"] { bottom: 14px; }
  .shop-assistant__panel { width: calc(100vw - 28px); height: calc(100dvh - 28px); }
  .shop-compare__grid { display: flex; overflow-x: auto; }
  .shop-compare__grid article { flex: 0 0 78vw; }
}
