:root {
  --red: #cf102d;
  --red-hot: #f50000;
  --ink: #141414;
  --muted: #5c5c5c;
  --line: #ece7e6;
  --bg: #fff;
  --soft: #f7f5f5;
  --green: #1f8a3b;
  --shadow: 0 10px 30px rgba(20, 20, 20, 0.08);
  --header: 118px;
  --font: "Poppins", "Segoe UI", sans-serif;
  --script: "Pacifico", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
}
button, input, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; }

.wrap { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.promo {
  background: var(--red);
  color: #fff;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
}
.promo button {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
}
.promo-text { max-width: min(820px, 78vw); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo a { color: #fff; border-bottom: 1px solid #fff; margin-left: 8px; font-weight: 600; }
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.head-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 12px 0 8px;
}
.brand-lockup { display: flex; align-items: center; gap: 8px; min-width: 0; }
.menu-btn svg { width: 22px; height: 22px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-mark {
  font-family: var(--script);
  color: var(--red);
  font-size: 34px;
  letter-spacing: 0.2px;
}
.logo-tag {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.search { position: relative; min-width: 0; }
.search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 0 44px 0 18px;
  font-size: 14px;
  outline: none;
}
.search input:focus { border-color: var(--red); }
.search-go {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
.suggest {
  position: absolute;
  left: 0; right: 0; top: 50px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 50;
}
.suggest a, .suggest button {
  display: flex;
  width: 100%;
  text-align: left;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.suggest a:hover, .suggest button:hover { background: var(--soft); }
.suggest .mini { width: 42px; height: 42px; border-radius: 8px; overflow: hidden; flex: none; }
.tools { display: flex; align-items: center; gap: 6px; flex: none; }
.tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: 0;
  color: var(--ink);
  min-width: 64px;
  font-size: 11px;
  position: relative;
  padding: 4px;
}
.tool svg { width: 22px; height: 22px; }
.badge {
  position: absolute;
  top: -2px;
  right: 10px;
  background: var(--red);
  color: #fff;
  border-radius: 99px;
  min-width: 16px;
  height: 16px;
  font-size: 10px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}
.nav-row { display: flex; justify-content: center; gap: 8px; padding-bottom: 0; }
.nav-item { position: static; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px 12px;
  background: none;
  border: 0;
  font-weight: 600;
  font-size: 14px;
}
.nav-link.sale { color: var(--red); }
.nav-item:hover .nav-link, .nav-item:focus-within .nav-link { color: var(--red); }
.mega {
  display: none;
  position: absolute;
  left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px 0 28px;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { display: block; }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 24px;
}
.mega h4 { margin: 0 0 8px; font-size: 13px; }
.mega h4 a:hover { color: var(--red); }
.mega a { display: block; color: var(--muted); font-size: 13px; padding: 3px 0; }
.mega a:hover { color: var(--red); }
.age-mega, .plain-mega {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.age-mega a, .plain-mega a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--ink);
  font-weight: 500;
}
.age-mega a:hover, .plain-mega a:hover { border-color: var(--red); color: var(--red); }

.hero { position: relative; background: #111; overflow: hidden; }
.slide {
  min-height: 420px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  color: #fff;
  padding: 36px 0;
}
.slide h1 { font-size: 52px; line-height: 1.05; margin: 0 0 12px; letter-spacing: -0.03em; }
.slide p { font-size: 18px; max-width: 460px; margin: 0 0 20px; }
.kicker { letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; font-weight: 600; opacity: 0.85; }
.hero-art { height: 320px; }
.hero-nav {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none; padding: 0 12px;
}
.hero-nav button, .dots button, .car-btn {
  pointer-events: auto;
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: #fff; color: #111;
  box-shadow: var(--shadow);
}
.dots {
  position: absolute; left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: 6px;
}
.dots button { width: 9px; height: 9px; background: rgba(255,255,255,.55); box-shadow: none; }
.dots button.on { background: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 18px; border-radius: 4px;
  background: var(--red-hot); color: #fff; border: 0; font-weight: 600;
}
.btn.light { background: #fff; color: var(--red); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid #ccc; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.trust div {
  display: flex; gap: 10px; align-items: center; justify-content: center;
  padding: 14px; font-weight: 600; font-size: 13px;
}
.trust div + div { border-left: 1px solid var(--line); }
.trust span { color: var(--red); font-size: 18px; }

.section { padding: 36px 0 8px; }
.section h2 {
  text-align: center; font-size: 28px; margin: 0 0 18px; letter-spacing: -0.02em;
}
.section h2 em { font-style: normal; color: var(--red); }

.cat-grid, .age-grid, .price-grid {
  display: grid; gap: 14px;
}
.cat-grid { grid-template-columns: repeat(4, 1fr); }
.age-grid { grid-template-columns: repeat(7, 1fr); }
.price-grid { grid-template-columns: repeat(5, 1fr); }
.tile {
  border-radius: 16px; overflow: hidden; min-height: 168px;
  padding: 16px; display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; color: #1a1a1a;
}
.tile strong { font-size: 16px; }
.chip {
  position: absolute; top: 12px; left: 12px;
  background: #fff; color: var(--red); font-size: 11px; font-weight: 700;
  border-radius: 99px; padding: 4px 8px;
}
.age-card, .price-card, .brand-card, .char-card {
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  text-align: center; padding: 14px 8px 12px;
}
.age-card:hover, .brand-card:hover, .char-card:hover, .tile:hover, .price-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.age-card b { display: block; font-size: 22px; }
.age-card span, .price-card small, .char-card span { color: var(--muted); font-size: 12px; }
.price-card { padding: 18px 12px; }
.price-card b { display: block; font-size: 16px; }
.brand-row, .char-row, .reel-row, .prod-row {
  display: flex; gap: 12px; overflow: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.brand-row { display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; }
.brand-card { font-weight: 700; min-height: 74px; display: grid; place-items: center; }
.char-card { flex: 0 0 116px; scroll-snap-align: start; }
.avatar {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 8px;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 22px;
}
.reel {
  flex: 0 0 180px; height: 280px; border-radius: 18px; scroll-snap-align: start;
  position: relative; color: #fff; overflow: hidden; display: flex; flex-direction: column;
  background: #1a1a1a;
}
.reel-art { position: relative; flex: 1; min-height: 0; }
.reel i {
  position: absolute; left: 12px; top: 12px; z-index: 2; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #111; display: grid; place-items: center; font-style: normal;
}
.reel svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel b {
  position: relative; z-index: 1; padding: 10px 12px 12px; font-size: 13px; line-height: 1.3;
  background: #161616;
}

.row-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
.row-head h2 { margin: 0; text-align: left; }
.car { position: relative; }
.car-btn { position: absolute; top: 90px; z-index: 2; }
.car-btn.prev { left: -8px; }
.car-btn.next { right: -8px; }
.card {
  flex: 0 0 230px; scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; position: relative;
  display: flex; flex-direction: column;
}
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid .card { flex: none; }
.card-art { background: var(--soft); aspect-ratio: 1; overflow: hidden; border-radius: 12px 12px 0 0; }
.card-art svg { width: 100%; height: 100%; }
.wish {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); font-size: 16px;
}
.flag {
  position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 3px 6px; border-radius: 4px;
}
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.brand { color: var(--muted); font-size: 12px; }
.card h3 { font-size: 14px; font-weight: 600; margin: 0; min-height: 42px; }
.price { font-weight: 700; }
.price s { color: #999; font-weight: 500; margin-left: 6px; }
.off { color: var(--green); font-weight: 700; margin-left: 6px; font-size: 12px; }
.stars { color: #e2a100; font-size: 12px; }
.stars span { color: var(--muted); }

.kidult {
  margin: 28px 0 10px;
  border-radius: 20px;
  background: linear-gradient(120deg, #1a1a1a, #3a1218 60%, #cf102d);
  color: #fff;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 18px;
  align-items: center;
}
.kidult h2 { text-align: left; color: #fff; margin: 0 0 6px; }
.kidult p { margin: 0; opacity: .9; }
.kid-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kid-links a { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 14px; font-weight: 600; }

.page-head { padding: 22px 0 8px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; }
.crumbs { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.crumbs a:hover { color: var(--red); }
.page-head h1 { margin: 0; font-size: 28px; }
.layout { display: grid; grid-template-columns: 230px 1fr; gap: 22px; padding-bottom: 40px; }
.filters { border: 1px solid var(--line); border-radius: 12px; padding: 14px; height: fit-content; position: sticky; top: 130px; }
.filters h3 { margin: 12px 0 8px; font-size: 13px; }
.filters label { display: flex; gap: 8px; align-items: center; padding: 4px 0; color: #333; font-size: 13px; }
.filters select, .sort select, .qty input, .field input, .field textarea {
  width: 100%; border: 1px solid #ddd; border-radius: 8px; padding: 8px 10px; background: #fff;
}
.note { background: #fff8e8; border: 1px solid #f0e0b8; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }

.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; padding-bottom: 20px; }
.gallery { background: var(--soft); border-radius: 16px; overflow: hidden; }
.pdp h1 { font-size: 28px; margin: 6px 0; line-height: 1.25; }
.offers { background: var(--soft); border-radius: 12px; padding: 12px 14px; margin: 14px 0; }
.offers li { margin: 4px 0; }
.buy-row { display: flex; gap: 10px; margin: 12px 0; }
.qty { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.qty button { width: 36px; height: 42px; border: 0; background: #fff; font-size: 18px; }
.qty input { width: 48px; border: 0; text-align: center; height: 42px; }
.specs { width: 100%; border-collapse: collapse; margin-top: 8px; }
.specs td { border-bottom: 1px solid var(--line); padding: 8px 4px; }
.specs td:first-child { color: var(--muted); width: 140px; }

.cart { display: grid; grid-template-columns: 1.4fr 0.7fr; gap: 20px; padding-bottom: 48px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary { border: 1px solid var(--line); border-radius: 14px; padding: 16px; height: fit-content; position: sticky; top: 130px; }
.summary row, .sum-line { display: flex; justify-content: space-between; margin: 8px 0; }
.total { font-size: 18px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 8px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; }
.empty { text-align: center; padding: 48px 16px; }
.panel { max-width: 520px; margin: 12px auto 48px; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 36px; }
.store { border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.prose { max-width: 760px; padding-bottom: 40px; }
.prose h1 { font-size: 32px; }
.success { background: #eefbf2; border: 1px solid #b7ebc6; border-radius: 14px; padding: 18px; }

.footer { margin-top: 28px; border-top: 1px solid var(--line); background: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 24px; padding: 32px 0; }
.footer h3 { margin: 0 0 10px; font-size: 14px; }
.footer a, .footer p { color: #333; display: block; padding: 3px 0; }
.footer a:hover { color: var(--red); }
.news { display: flex; gap: 8px; }
.news input { flex: 1; border: 1px solid #ddd; border-radius: 8px; padding: 10px; }
.fine { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: var(--muted); padding-bottom: 16px; }
.footbar {
  background: var(--red); color: #fff; display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 0; font-weight: 600;
}
.footbar a { color: #fff; }
.socials { display: flex; gap: 10px; }
.disclaimer { font-size: 12px; color: #777; padding: 8px 0 18px; }

.bottom-nav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: #fff; border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr); text-align: center; padding: 6px 0 8px;
}
.bottom-nav a { font-size: 11px; font-weight: 600; }
.menu-btn, .filter-toggle { display: none; background: none; border: 0; font-weight: 700; }
.drawer {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60;
}
.drawer.open { display: block; }
.drawer aside {
  background: #fff; width: min(420px, 100%); height: 100%; overflow: auto; padding: 16px 16px 40px;
}
.drawer h3 { margin: 16px 0 6px; }
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: #141414; color: #fff; padding: 12px 16px; border-radius: 999px;
  z-index: 70; box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .head-row { display: flex; gap: 8px; min-width: 0; }
  .brand-lockup { flex: 0 0 auto; }
  .search { flex: 1 1 0%; }
  .logo-mark { font-size: 24px; }
  .logo-tag, .tool span { display: none; }
  .tools { gap: 0; }
  .tool { min-width: 32px; width: 32px; padding: 2px; }
  .search input { height: 40px; padding-left: 12px; font-size: 13px; }
  .nav-row { display: none; }
  .menu-btn { display: inline-flex; }
  .slide { grid-template-columns: 1fr; min-height: 0; padding-bottom: 42px; }
  .slide h1 { font-size: 34px; }
  .hero-art { height: 220px; display: grid; place-items: center; }
  .hero-art svg { width: 220px; height: 220px; }
  .hero-nav { display: none; }
  .cat-grid, .grid { grid-template-columns: 1fr 1fr; }
  .age-grid, .price-grid, .brand-row { grid-template-columns: repeat(3, 1fr); }
  .layout, .pdp, .cart, .kidult, .foot-grid, .stores { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.open { display: block; position: static; }
  .filter-toggle { display: inline-flex; }
  .bottom-nav { display: grid; }
  body { padding-bottom: 64px; }
  .toast { bottom: 78px; }
  .car-btn { display: none; }
}
@media (max-width: 640px) {
  .trust { grid-template-columns: 1fr; }
  .trust div + div { border-left: 0; border-top: 1px solid var(--line); }
  .age-grid, .price-grid, .brand-row { grid-template-columns: 1fr 1fr; }
  .promo { font-size: 12px; text-align: center; padding: 6px 8px; }
}

.dots a, .hero-nav a {
  pointer-events: auto;
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: #fff; color: #111;
  box-shadow: var(--shadow);
  display: grid; place-items: center; text-decoration: none; font-size: 22px;
}
.dots a { width: 9px; height: 9px; background: rgba(255,255,255,.55); box-shadow: none; font-size: 0; }
.dots a.on { background: #fff; }
.nav-toggle { position: absolute; left: -999px; }
.nav-toggle:checked ~ .drawer { display: block; }
.wish-form, .bag-form { margin: 0; }
.wish-form { position: absolute; top: 10px; right: 10px; }
.wish-form .wish { position: static; }
.card-body .bag-form .btn { width: 100%; }
.flash {
  background: #141414; color: #fff; text-align: center; padding: 10px 16px; font-weight: 600;
}
@media (max-width: 980px) {
  .filters { display: block; position: static; }
}
.logo img { height: 52px; width: auto; }
.hero { background: #f3f3f3; }
.hero-banner { display: block; line-height: 0; }
.hero-banner img { width: 100%; height: min(520px, 42vw); object-fit: cover; object-position: center; }
.photo-tile { display: block; border-radius: 16px; overflow: hidden; background: #f6f6f6; }
.photo-tile img { width: 100%; height: 210px; object-fit: cover; display: block; }
.age-card img, .char-card img { width: 100%; height: 120px; object-fit: cover; border-radius: 12px; }
.char-card { padding: 8px; }
.card-art img, .reel-art img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery img { width: 100%; height: auto; max-height: 560px; object-fit: contain; margin: 0 auto; }
.cart-item img { width: 96px; height: 96px; object-fit: contain; background: #fff; }
.kid-links a { display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.kid-links img { width: 100%; height: 92px; object-fit: cover; border-radius: 8px; }
@media (max-width: 980px) {
  .hero-banner img { height: auto; max-height: none; }
  .photo-tile img, .age-card img { height: 140px; }
}
