/* Zemu — marketplace chrome for a store that does not exist.
   Built as a zshot capture target, so a few things are deliberate:

   - The consent banner and the sale modal are in the HTML, not injected, and are
     hidden by [data-consent]/[data-sale] on <html> before first paint. They are
     what --remove-modals removes.
   - The grid is fluid from 360px up, so --device and --browser-width capture the
     same URL at phone, tablet and desktop widths.
   - System fonts only. No webfont, no icon font, no CDN. */

:root {
  --orange: #ff5a1f;
  --orange-dk: #e0430c;
  --red: #e02b1d;
  --pink: #fff1ec;
  --ink: #1c1613;
  --ink-2: #5a4f49;
  --ink-3: #8a7d76;
  --line: #e6ded9;
  --bg: #fdf8f5;
  --card: #ffffff;
  --gold: #ffb400;
  --green: #157a3d;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 3px rgba(28, 22, 19, .10), 0 6px 18px rgba(28, 22, 19, .06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 var(--sans);
  padding-bottom: 96px; /* room for the consent sheet */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
s { color: var(--ink-3); font-weight: 400; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .92em; }

.h1 { font-size: 26px; margin: 20px 0 14px; }
.h2 { font-size: 19px; margin: 0 0 12px; }

/* ---------- demo bar ---------- */
.demobar {
  background: repeating-linear-gradient(135deg, #1c1613, #1c1613 14px, #2b221d 14px, #2b221d 28px);
  color: #ffd9c9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-align: center;
  padding: 6px 12px;
}
.demobar a { color: #ffb59a; text-decoration: underline; }

/* ---------- top bar ---------- */
.topbar { background: var(--orange); color: #fff; box-shadow: var(--shadow); position: relative; z-index: 5; }
.topbar__in {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 16px;
}
.brand { display: flex; align-items: center; gap: 8px; flex: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; background: #fff; }
.brand__word { font-size: 25px; font-weight: 800; letter-spacing: -.02em; }

.search { flex: 1 1 auto; display: flex; min-width: 0; }
.search__in {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  border-radius: 999px 0 0 999px;
  padding: 9px 16px;
  font: inherit;
  color: var(--ink);
}
.search__go {
  border: 0;
  border-radius: 0 999px 999px 0;
  background: var(--ink);
  color: #fff;
  font: 700 14px var(--sans);
  padding: 9px 18px;
  cursor: pointer;
}

.cart-link { display: flex; align-items: center; gap: 6px; flex: none; font-weight: 700; }
.cart-link__count {
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  min-width: 22px;
  padding: 1px 7px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.catnav { background: var(--orange-dk); }
.catnav__in {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
  overflow-x: auto;
  white-space: nowrap;
  color: #ffe6dc;
  font-size: 13px;
}
.catnav__item { font-weight: 700; color: #fff; }
.catnav__flag { opacity: .85; }

/* ---------- layout ---------- */
.main { max-width: 1240px; margin: 0 auto; padding: 16px; }
.crumb { color: var(--ink-3); font-size: 13px; margin: 4px 0 14px; }
.crumb a { color: var(--ink-2); }

/* ---------- hero + deal rail ---------- */
.hero {
  background: linear-gradient(135deg, #ff7a3d, #e02b1d);
  border-radius: 14px;
  color: #fff;
  padding: 22px;
  margin-bottom: 20px;
}
.hero__kicker { font-weight: 800; letter-spacing: .06em; font-size: 12px; }
.hero__h { font-size: 30px; line-height: 1.15; margin: 8px 0; letter-spacing: -.02em; }
.hero__sub { opacity: .92; max-width: 46rem; }
.rail { display: flex; gap: 12px; overflow-x: auto; padding: 18px 2px 2px; }
.deal {
  flex: none;
  width: 150px;
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 8px;
  position: relative;
  text-align: center;
}
.deal:hover { text-decoration: none; }
.deal img { border-radius: 6px; aspect-ratio: 1; object-fit: cover; }
.deal__off {
  position: absolute; top: 4px; left: 4px;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 2px 6px; border-radius: 5px;
}
.deal__price { display: block; font-weight: 800; color: var(--red); margin-top: 6px; }
.deal__timer { display: block; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- sections + grid ---------- */
.section { margin: 26px 0; }
.section__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.section__h { font-size: 22px; }
.section__sub { color: var(--ink-3); flex: 1 1 auto; }
.section__more { color: var(--orange-dk); font-weight: 700; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover { text-decoration: none; border-color: var(--orange); }
.card__media { position: relative; }
.card__media img { aspect-ratio: 1; object-fit: cover; }
.card__off {
  position: absolute; top: 6px; left: 6px;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 2px 6px; border-radius: 5px;
}
.card__body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 4px; }
.card__title {
  font-size: 13px; line-height: 1.35; height: 4.05em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.card__price { color: var(--red); font-weight: 800; font-size: 17px; }
.card__price s { font-size: 12px; margin-left: 4px; }
.card__meta { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--ink-3); }
.stars { color: var(--gold); letter-spacing: -1px; }

/* ---------- teaser ads ---------- */
.teaser {
  position: relative;
  border: 2px dashed var(--orange);
  background: var(--pink);
  border-radius: 10px;
  margin: 18px 0;
  overflow: hidden;
}
.teaser__tag {
  position: absolute; top: 0; left: 0;
  background: var(--orange); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
  padding: 2px 8px; border-radius: 0 0 6px 0;
}
.teaser__link { display: flex; gap: 14px; align-items: center; padding: 12px; }
.teaser__link:hover { text-decoration: none; }
.teaser__img { width: 92px; height: 92px; border-radius: 8px; object-fit: cover; flex: none; }
.teaser__copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.teaser__kicker { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--orange-dk); }
.teaser__title { font-weight: 700; }
.teaser__price { color: var(--red); font-weight: 800; }
.teaser__urgent { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------- category page ---------- */
.cathead { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.cathead__img { width: 100%; height: 200px; object-fit: cover; }
.cathead__copy {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(28, 22, 19, .8));
  color: #fff; padding: 20px 18px 14px;
}
.cathead__h { font-size: 28px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font: 13px var(--sans);
  cursor: pointer;
}
.chip--on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.pdp__img { border: 1px solid var(--line); border-radius: 12px; background: #fff; aspect-ratio: 1; object-fit: cover; width: 100%; }
.pdp__thumbs { display: flex; gap: 8px; margin-top: 8px; }
.pdp__thumbs img { width: 60px; height: 60px; border: 1px solid var(--line); border-radius: 6px; object-fit: cover; }
.pdp__h { font-size: 24px; line-height: 1.25; }
.pdp__rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0; font-size: 13px; color: var(--ink-2); }
.pdp__rating a { color: var(--orange-dk); text-decoration: underline; }
.pdp__price { margin: 12px 0; }
.pdp__price b { color: var(--red); font-size: 32px; }
.pdp__off { background: var(--red); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 7px; border-radius: 5px; }
.pdp__coupon { background: var(--pink); border: 1px dashed var(--orange); border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.pdp__blurb { margin: 12px 0; color: var(--ink-2); }
.pdp__stock { color: var(--red); font-weight: 700; font-size: 13px; }
.pdp__acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0; }
.qty { font-size: 13px; color: var(--ink-2); }
.qty__sel { font: inherit; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.btn {
  border: 0; border-radius: 999px; cursor: pointer;
  font: 700 15px var(--sans); padding: 11px 22px;
}
.btn--cart { background: var(--ink); color: #fff; }
.btn--buy { background: var(--orange); color: #fff; display: inline-block; }
.btn--buy:hover { text-decoration: none; background: var(--orange-dk); }
.btn[disabled] { opacity: .55; cursor: default; }
.seller { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fff; font-size: 13px; }
.seller__meta { color: var(--ink-3); }

.specs { margin: 28px 0; }
.specs__t { border-collapse: collapse; width: 100%; max-width: 44rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.specs__t th, .specs__t td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs__t tr:last-child th, .specs__t tr:last-child td { border-bottom: 0; }
.specs__t th { width: 42%; color: var(--ink-2); font-weight: 600; }

.bought { margin: 28px 0; }
.bought__row { display: flex; gap: 12px; flex-wrap: wrap; }
.bought__item {
  display: flex; flex-direction: column; gap: 4px;
  width: 160px; font-size: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px;
}
.bought__item img { border-radius: 6px; aspect-ratio: 1; object-fit: cover; }
.bought__item b { color: var(--red); font-size: 14px; }

.reviews { margin: 28px 0; }
.reviews__agg { margin-bottom: 14px; color: var(--ink-2); }
.reviews__list { list-style: none; display: grid; gap: 12px; max-width: 52rem; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.review__head { display: flex; gap: 8px; align-items: baseline; }
.review__by { font-size: 12px; color: var(--ink-3); margin: 2px 0 6px; }
.review__ver { color: var(--green); font-weight: 600; }
.review__helpful { font-size: 12px; color: var(--ink-3); margin-top: 6px; }

/* ---------- cart ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.cart__empty { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; color: var(--ink-2); }
.cart__list { list-style: none; display: grid; gap: 10px; }
.cart__item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.cart__item img { width: 76px; height: 76px; border-radius: 8px; object-fit: cover; flex: none; }
.cart__item-main { flex: 1 1 auto; min-width: 0; }
.cart__item-title { display: block; font-size: 14px; font-weight: 600; }
.cart__item-meta { display: block; font-size: 12px; color: var(--ink-3); }
.cart__item-price { font-weight: 800; color: var(--red); }
.cart__rm { border: 0; background: none; color: var(--ink-3); cursor: pointer; font: 13px var(--sans); text-decoration: underline; }
.cart__side { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; gap: 8px; }
.cart__row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.cart__row--tot { border-top: 1px solid var(--line); padding-top: 8px; font-size: 17px; }
.cart__go { width: 100%; margin-top: 6px; }
.cart__note { font-size: 12px; color: var(--ink-3); }

.checkout-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; }
.checkout-modal[hidden] { display: none; }
.checkout-modal__backdrop { position: absolute; inset: 0; background: rgba(28, 22, 19, .6); }
.checkout-modal__box {
  position: relative; background: #fff; border-radius: 14px;
  padding: 24px; max-width: 26rem; text-align: center; display: grid; gap: 12px;
}

/* ---------- why-zemu ---------- */
.why { max-width: 44rem; margin: 0 auto; padding: 8px 0 40px; }
.why__eyebrow { color: var(--orange-dk); font-weight: 800; letter-spacing: .08em; font-size: 12px; }
.why__h { font-size: 40px; margin: 6px 0 18px; letter-spacing: -.03em; }
.why__h2 { font-size: 20px; margin: 24px 0 8px; }
.why__lede { font-size: 18px; color: var(--ink-2); }
.why p { margin-bottom: 10px; }
.why__quote { border-left: 4px solid var(--orange); padding-left: 16px; margin: 12px 0; color: var(--ink-2); }
.why__quote footer { font-weight: 700; color: var(--ink); }
.why__quotes { margin: 8px 0 8px 20px; color: var(--ink-2); }
.why__cta { margin: 26px 0 14px; }
.why__fine { font-size: 12px; color: var(--ink-3); }
.why__report { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; }
.why__report[hidden] { display: none; }
.why__report-h { font-weight: 800; color: var(--red); }
.why__report-list { margin: 8px 0 8px 20px; font-size: 14px; }
.why__report-foot { font-size: 13px; color: var(--ink-3); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 32px; background: #fff; }
.foot__in {
  max-width: 1240px; margin: 0 auto; padding: 22px 16px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px;
  font-size: 13px; color: var(--ink-2);
}
.foot__h { font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.foot__legal { max-width: 1240px; margin: 0 auto; padding: 0 16px 24px; font-size: 12px; color: var(--ink-3); }

/* ---------- the two banners ---------- */
.consent {
  position: fixed; inset: auto 0 0 0; z-index: 50;
  background: #fff; border-top: 3px solid var(--orange);
  box-shadow: 0 -6px 24px rgba(28, 22, 19, .18);
  padding: 14px 16px;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.consent__text { flex: 1 1 340px; font-size: 12px; color: var(--ink-2); }
.consent__h { font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.consent__acts { display: flex; gap: 10px; align-items: center; flex: none; }
.consent__accept {
  border: 0; border-radius: 999px; background: var(--orange); color: #fff;
  font: 800 16px var(--sans); padding: 12px 34px; cursor: pointer;
}
.consent__manage {
  border: 0; background: none; color: var(--ink-3);
  font: 10px var(--sans); text-decoration: underline; cursor: pointer;
}
:root[data-consent="done"] .consent { display: none; }

.sale-modal { position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; }
.sale-modal__backdrop { position: absolute; inset: 0; background: rgba(28, 22, 19, .65); }
.sale-modal__box {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fff3ea, #ffe1d2);
  border: 4px solid var(--gold); border-radius: 18px;
  padding: 26px 30px; text-align: center; max-width: 24rem;
  box-shadow: 0 20px 60px rgba(28, 22, 19, .45);
}
.sale-modal__burst {
  position: absolute; top: -70px; right: -70px; width: 200px; height: 200px;
  background: repeating-conic-gradient(var(--gold) 0 12deg, transparent 12deg 24deg);
  border-radius: 50%; opacity: .35;
  animation: zemu-spin 9s linear infinite;
}
.sale-modal__eyebrow { font-weight: 800; letter-spacing: .08em; color: var(--orange-dk); font-size: 13px; }
.sale-modal__h { font-size: 40px; line-height: 1.05; margin: 8px 0; color: var(--red); letter-spacing: -.03em; }
.sale-modal__sub { font-size: 11px; color: var(--ink-3); }
.sale-modal__timer { margin: 12px 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.sale-modal__cta {
  border: 0; border-radius: 999px; background: var(--red); color: #fff;
  font: 800 17px var(--sans); padding: 13px 28px; cursor: pointer; width: 100%;
}
.sale-modal__no {
  display: block; margin: 10px auto 0; border: 0; background: none;
  color: var(--ink-3); font: 10px var(--sans); text-decoration: underline; cursor: pointer;
}
:root[data-sale="done"] .sale-modal { display: none; }

@keyframes zemu-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .sale-modal__burst { animation: none; }
}

/* ---------- narrow ---------- */
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .cart { grid-template-columns: 1fr; }
  .hero__h { font-size: 24px; }
}
@media (max-width: 640px) {
  .topbar__in { flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .cathead__img { height: 140px; }
  .why__h { font-size: 30px; }
  .sale-modal__h { font-size: 32px; }
}
