:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #171717;
  --muted: #5c6570;
  --primary: #171717;
  --primary-contrast: #ffffff;
  --line: #e5e7eb;
  --accent: #F2B69D;
  --sage: #E8EFE9;
  --card: #ffffff;
  --font: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
h1, h2, h3, .store-name, .footer-title, .brand { font-weight: 600; }
h1, h2, .store-name, .brand { color: var(--primary); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.preview-bar {
  margin: 0;
  padding: 10px 16px;
  background: #171717;
  color: #ffffff;
  text-align: center;
  font-size: 0.95rem;
}
.preview-bar a { color: #ffffff; font-weight: 700; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--primary);
  color: var(--primary-contrast);
  padding: 8px 12px;
  z-index: 6;
}
.skip:focus { top: 12px; }
.container,
.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  gap: 8px;
}
.header-side { display: flex; align-items: center; min-width: 44px; }
.header-side-end { justify-content: flex-end; }
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(280px, 46vw);
  padding: 1em;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-align: center;
}
.brand img {
  width: auto;
  max-width: 160px;
  height: 36px;
  object-fit: contain;
  box-shadow: none;
  filter: none;
}
.brand-mark { display: none; }
.icon-button,
.drawer-button,
.filter-open,
.cta {
  min-height: 44px;
  min-width: 44px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}
.icon-button,
.drawer-button,
.filter-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: transparent;
  color: var(--text);
}
.search-panel { padding: 12px 0; }
.search { display: flex; align-items: center; gap: 8px; }
.search input,
.filters select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.search input { flex: 1; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--primary);
  color: var(--primary-contrast);
  text-decoration: none;
  font-weight: 650;
}
.nav-cats,
.drawer { display: none; }
.nav-cats { padding: 0 0 14px; }
.cat-tree,
.cat-tree ul { list-style: none; margin: 0; padding: 0; }
.cat-tree a { color: var(--primary); text-decoration: none; }
.cat-tree a[aria-current="page"] { font-weight: 700; }
.cat-tree ul {
  display: grid;
  gap: 4px;
  margin-top: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.nav-cats > .cat-tree {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: flex-start;
}
.nav-cats > .cat-tree > li > a,
.drawer > .cat-tree > li > a {
  display: inline-flex;
  background: var(--sage);
  border-radius: 6px;
  padding: 8px 12px;
}
.drawer.open { display: block; padding-bottom: 16px; }
.drawer .cat-tree { display: grid; gap: 10px; }
.cat-branch { margin-top: 16px; }
.cat-branch > .cat-tree { display: grid; gap: 8px; }
.hero {
  border-bottom: 1px solid var(--line);
  padding: 24px 0 8px;
  text-align: center;
}
.hero h1,
.page-head h1,
.product-main h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero p { max-width: 36rem; margin: 16px auto 0; color: var(--muted); }
.hero .cta { margin-top: 24px; }
.hero-rotator { margin: 0 auto 8px; }
.hero-track { position: relative; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; }
.hero-slide a { display: block; }
.hero-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: var(--sage);
}
.hero-chevron {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  color: var(--primary);
  opacity: 0.35;
  z-index: 2;
  cursor: pointer;
}
.hero-chevron:hover { opacity: 0.92; }
.hero-chevron-prev { left: 12px; }
.hero-chevron-next { right: 12px; }
.hero-dots { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
.hero-dot {
  width: 44px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hero-dot::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0.28;
}
.hero-dot.is-active::after { opacity: 1; }
.page-head,
.legal { padding: 40px 0; }
.featured { padding: 40px 0 64px; }
.featured-head { margin-bottom: 24px; }
.featured-head h2 { margin: 0; font-size: 1.5rem; letter-spacing: -0.02em; }
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.card[hidden] { display: none; }
.card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f4f6;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body,
.product-main { display: grid; gap: 8px; padding-top: 12px; }
.card h3 { margin: 0; font-size: 0.95rem; font-weight: 600; }
.card h3 a { text-decoration: none; }
.price { margin: 0; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; color: var(--text); }
.card .price { font-size: 1.25rem; }
.price-var { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--text); }
.price-var s { color: var(--muted); }
.deal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}
.deal-strong .deal-badge { min-height: 36px; padding: 0 12px; font-size: 1.05rem; }
.deal-line { flex-basis: 100%; font-size: 0.95rem; }
.offer-note { margin: 0; color: var(--muted); font-size: 0.95rem; font-weight: 400; }
.crumbs { margin: 0 0 16px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs a { color: var(--primary); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--muted); }
.related { grid-column: 1 / -1; overflow: hidden; }
.related h2 { margin: 8px 0 16px; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; }
.marquee-set { display: flex; gap: 16px; }
.marquee-set + .marquee-set { margin-left: 16px; }
.marquee-set .card { width: 240px; flex: 0 0 240px; }
.product-copy { color: var(--text); font-weight: 400; }
.product-copy p { margin: 0; }
.product-copy ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; }
.buy-row { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.price-stack { display: grid; gap: 6px; }
.cta-offer { min-height: 52px; width: 100%; padding: 0 22px; font-size: 1.05rem; }
.muted,
.updated { margin: 0; color: var(--muted); font-size: 0.9rem; }
.filters { display: none; margin-bottom: 16px; }
.filters.open { display: grid; }
.product-grid {
  display: grid;
  gap: 24px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.site-footer {
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  gap: 28px;
  padding: 48px 0 24px;
}
.store-name { margin: 0 0 12px; font-size: 1.15rem; font-weight: 700; }
.disclosure,
.footer-title { margin: 0; }
.footer-title { font-size: 0.9rem; font-weight: 700; }
.disclosure { font-size: 0.95rem; max-width: 36rem; }
.footer-links { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--primary); }
.legal-note {
  margin: 0;
  padding: 16px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  text-align: center;
}
.product-layout { display: grid; gap: 24px; padding: 32px 0 64px; }
.gallery { position: relative; }
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 8px;
}
.gallery-track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  scroll-snap-align: start;
  background: var(--sage);
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  color: var(--primary);
  font: inherit;
  font-weight: 600;
}
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.product-layout table { width: 100%; border-collapse: collapse; }
.product-layout td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
@media (min-width: 768px) {
  .hero-slide img { aspect-ratio: 21 / 9; }
  .hero-chevron { display: grid; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .product-layout { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .product-copy, .related, .crumbs { grid-column: 1 / -1; }
  .buy-row { flex-direction: row; align-items: center; }
  .cta-offer { width: auto; margin-left: auto; }
}
@media (max-width: 767px) {
  .brand.has-mark .brand-full { display: none; }
  .brand.has-mark .brand-mark { display: block; }
}
@media (min-width: 1024px) {
  .drawer-button { display: none; }
  .nav-cats { display: block; }
  .drawer { display: none !important; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filters { display: flex; }
  .filter-open { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .card { transition: transform 180ms ease; }
  .card:hover { transform: translateY(-4px); }
  .card-media img { transition: transform 240ms ease; }
  .card:hover .card-media img { transform: scale(1.04); }
  .cta { transition: transform 160ms ease, filter 160ms ease; }
  .cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
  .price { transition: color 160ms ease; }
  .card:hover .price { color: var(--primary); }
  .cta-offer { animation: offer-pulse 2.6s ease-in-out infinite; }
  .deal-strong .deal-badge { animation: badge-shift 1.8s ease-in-out infinite; }
  .marquee-track { animation: marquee 40s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}
@keyframes offer-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes badge-shift {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}