:root {
  --ink: #151515;
  --soft: #3c3f3d;
  --muted: #777b78;
  --line: #e7e7e7;
  --paper: #f6f6f6;
  --white: #ffffff;
  --orange: #f27a1a;
  --orange-dark: #d9640f;
  --header-bg: #ffffff;
  --teal: #00a6a6;
  --green: #0aa35b;
  --red: #e84135;
  --shadow: 0 16px 42px rgba(0, 0, 0, .08);
  --soft-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.announcement {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 7px 20px;
  color: #fff;
  background: #151515;
  font-size: 12px;
  font-weight: 700;
}
.utility-nav {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 7px 28px 0;
  color: #666;
  font-size: 12px;
}
.utility-nav a:hover { color: var(--orange); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 240px minmax(360px, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.96)),
    var(--header-bg);
  backdrop-filter: blur(18px);
}
.logo img {
  display: block;
  width: 165px;
  height: auto;
}
.search {
  display: grid;
  grid-template-columns: 1fr auto;
  height: 48px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #eeeeee;
  transition: border-color .18s ease, background .18s ease;
}
.search:focus-within {
  border-color: var(--orange);
  background: #fff;
}
.search input {
  border: 0;
  padding: 0 18px;
  outline: none;
  background: transparent;
}
.search button {
  border: 0;
  padding: 0 22px;
  color: #fff;
  background: var(--orange);
  font-weight: 800;
  cursor: pointer;
}
.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}
.header-actions a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: #222;
  font-size: 13px;
  font-weight: 800;
  transition: color .18s ease, background .18s ease;
}
.header-actions b {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  margin-left: 6px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size: 11px;
}
.header-actions a:hover {
  color: var(--orange);
  background: #fff;
}

.category-nav {
  position: sticky;
  top: 80px;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  min-height: 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 246, 246, .95);
  backdrop-filter: blur(16px);
  font-size: 14px;
  font-weight: 800;
}
.category-nav a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.category-nav a:hover,
.category-nav a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.category-menu {
  gap: 6px;
}

main {
  max-width: 1400px;
  margin: 0 auto;
}
.story-strip {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 24px 28px 16px;
  background: #fff;
}
.story-item {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 118px;
  border: 0;
  background: transparent;
  text-align: center;
  color: #333;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.story-item span {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 2px solid var(--orange);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ffb15f);
  box-shadow: 0 10px 24px rgba(242,122,26,.18);
  transition: transform .2s ease;
}
.story-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-item:hover span { transform: translateY(-4px) scale(1.04); }
.story-item.coupon span { background: linear-gradient(135deg, #7b61ff, #bd8cff); }
.story-item.hot span { background: linear-gradient(135deg, #e84135, #ff9b55); }
.story-item.new span { background: linear-gradient(135deg, #00a6a6, #6edfd6); }
.story-item.price span { background: linear-gradient(135deg, #c58b14, #ffd36c); }
.story-item.cargo span { background: linear-gradient(135deg, #0aa35b, #74db99); }
.story-item.premium span { background: linear-gradient(135deg, #151515, #555); }

.ad-banner-stack,
.sponsor-card,
.wide-sponsor a,
.popular-shelf,
.filter,
.product-card,
.category-card,
.service-strip article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.section-head p {
  margin: 0 0 8px;
  color: var(--orange);
  font-weight: 900;
}
.ad-banner-stack {
  display: grid;
  gap: 12px;
  margin: 18px 28px;
}
.ad-banner,
.sponsor-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 320px);
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 18px 24px;
  overflow: hidden;
  color: #fff;
  background: var(--ad-bg);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.ad-banner:hover,
.sponsor-card:hover,
.wide-sponsor a:hover,
.product-card:hover,
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.ad-banner span,
.ad-banner h2,
.ad-banner p,
.sponsor-card span,
.wide-sponsor span {
}
.ad-banner span,
.sponsor-card span,
.wide-sponsor span {
  color: #ffd2a8;
  font-size: 12px;
  font-weight: 900;
}
.ad-banner h2,
.sponsor-card h2,
.wide-sponsor h2 {
  margin: 6px 0 8px;
  font-size: 22px;
}
.ad-banner p,
.sponsor-card p,
.wide-sponsor p {
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.4;
}
.ad-banner img,
.sponsor-card img,
.wide-sponsor img {
  width: 100%;
  height: 115px;
  object-fit: cover;
  border-radius: 8px;
}
.ad-banner strong {
  justify-self: end;
  display: grid;
  min-height: 74px;
  min-width: 260px;
  place-items: center;
  border: 1px dashed rgba(255,255,255,.5);
  border-radius: 8px;
  color: rgba(255,255,255,.82);
}
.ad-art {
  min-height: 112px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 40% 36%, #fff 0 13%, transparent 14%),
    linear-gradient(135deg, transparent 20%, rgba(255,255,255,.24) 21% 60%, transparent 61%),
    rgba(255,255,255,.12);
  animation: adSweep 3.8s linear infinite;
}

.quick-categories,
.store,
.wide-sponsor,
.service-strip,
.popular-shelf {
  margin-left: 28px;
  margin-right: 28px;
}
.quick-categories { padding: 8px 0 20px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.section-head h2 {
  margin: 0;
  font-size: 24px;
}
.section-head a,
.section-head > span {
  color: var(--soft);
  font-weight: 900;
}
.category-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.category-card {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  padding: 18px;
}
.category-card span {
  position: relative;
  z-index: 1;
  font-size: 19px;
  font-weight: 900;
}
.category-orbit {
  position: absolute;
  right: -28px;
  bottom: -32px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, var(--orange), #ffd36c, var(--teal), var(--orange));
  opacity: .9;
}

.popular-shelf {
  overflow: hidden;
  padding: 18px;
  margin-bottom: 24px;
}
.shelf-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(205px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.store {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}
.filter {
  position: sticky;
  top: 138px;
  align-self: start;
  padding: 18px;
}
.filter h2 { margin: 0 0 14px; }
.filter label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.filter select,
.filter input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}
.trust {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}
.trust span {
  border-left: 3px solid var(--orange);
  padding-left: 10px;
  font-weight: 800;
}
.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.product-card {
  position: relative;
  display: grid;
  min-height: 390px;
  padding: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.shelf-card { min-height: 390px; }
.favorite-button {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.favorite-button:hover {
  color: var(--orange);
}
.favorite-button.active {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
  font-weight: 900;
}
.product-visual {
  height: 178px;
  margin-bottom: 12px;
  border-radius: 8px;
  background-color: #f3f3f3;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 72%;
  transition: transform .2s ease;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}
.product-link {
  display: block;
}
.badge.inline {
  position: static;
  width: fit-content;
}
.product-card:hover .product-visual { transform: scale(1.025); }
.visual-sneaker {
  background-image:
    radial-gradient(ellipse at 54% 64%, rgba(0,0,0,.16) 0 12%, transparent 13%),
    linear-gradient(148deg, transparent 32%, #151515 33% 49%, transparent 50%),
    linear-gradient(18deg, transparent 31%, #f27a1a 32% 60%, transparent 61%),
    linear-gradient(170deg, transparent 34%, #00a6a6 35% 48%, transparent 49%);
}
.visual-bag {
  background-color: #222;
  background-image:
    radial-gradient(circle at 50% 22%, transparent 0 18%, #ffd36c 19% 21%, transparent 22%),
    linear-gradient(90deg, transparent 18%, #f27a1a 19% 81%, transparent 82%),
    linear-gradient(180deg, transparent 12%, #151515 13% 78%, transparent 79%);
}
.visual-watch {
  background-image:
    linear-gradient(90deg, transparent 43%, #151515 44% 56%, transparent 57%),
    radial-gradient(circle, #ffd36c 0 24%, #151515 25% 30%, transparent 31%);
}
.visual-accessory {
  background-image:
    radial-gradient(circle at 38% 52%, transparent 0 18%, #f27a1a 19% 26%, transparent 27%),
    radial-gradient(circle at 60% 52%, transparent 0 18%, #00a6a6 19% 26%, transparent 27%);
}
.visual-tech {
  background-image:
    linear-gradient(135deg, transparent 28%, #151515 29% 68%, transparent 69%),
    radial-gradient(circle at 50% 50%, #f27a1a 0 18%, transparent 19%);
}
.product-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.3;
}
.product-card p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.rating {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}
.rating small {
  color: var(--muted);
}
.price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}
.price strong {
  color: var(--orange);
  font-size: 20px;
}
.old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 13px;
}
.add-cart {
  min-height: 38px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--orange);
  cursor: pointer;
  font-weight: 900;
}
.add-cart:hover { background: var(--orange-dark); }

.wide-sponsor { margin-bottom: 28px; }
.wide-sponsor a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: center;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ad-bg) 88%, #000), var(--ad-bg));
}
.wide-sponsor img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}
.service-strip article {
  padding: 18px;
}
.service-strip strong {
  display: block;
  margin-bottom: 8px;
}
.service-strip span {
  color: var(--muted);
  line-height: 1.45;
}
.footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 28px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}
.footer strong { color: var(--ink); }
.premium-footer {
  align-items: center;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -12px 30px rgba(0,0,0,.04);
}
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  max-width: 1240px;
  margin: 28px auto 48px;
  padding: 0 28px;
}
.detail-gallery,
.detail-info {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.detail-gallery {
  padding: 18px;
}
.detail-visual {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  min-height: 560px;
  overflow-x: auto;
  border-radius: 8px;
  background-color: #f3f3f3;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
  scroll-snap-type: x mandatory;
}
.detail-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  scroll-snap-align: start;
}
.gallery-note {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}
.detail-info h1 {
  margin: 14px 0 12px;
  font-size: 34px;
}
.detail-price {
  margin: 18px 0;
}
.secondary-cart {
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.story-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
}
.story-modal[hidden] {
  display: none;
}
.story-modal figure {
  width: min(390px, 92vw);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: #111;
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
}
.story-modal img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: linear-gradient(135deg, var(--orange), #151515);
}
.story-modal figcaption {
  padding: 14px 16px;
  color: #fff;
  font-weight: 900;
}
.story-modal button {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #111;
  background: #fff;
  font-size: 28px;
  cursor: pointer;
}
.modal-open {
  overflow: hidden;
}
.site-popup {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(8px);
}
.site-popup[hidden] { display: none; }
.site-popup section {
  position: relative;
  width: min(460px, 92vw);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}
.site-popup img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}
.site-popup button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
}
.site-popup a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
}

.shop-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99;
  transform: translateY(18px);
  border-radius: 8px;
  padding: 13px 16px;
  color: #fff;
  background: #151515;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: .18s ease;
}
.shop-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes adSweep {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 80px 0, 120px 0, 0 0; }
}

@media (max-width: 1180px) {
  .site-header,
  .store {
    grid-template-columns: 1fr;
  }
  .products,
  .product-detail,
  .category-cards,
  .service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter { position: static; }
}

@media (max-width: 760px) {
  .announcement,
  .utility-nav,
  .header-actions,
  .category-nav,
  .story-strip {
    justify-content: flex-start;
    overflow-x: auto;
  }
  .site-header {
    padding: 14px 16px;
    gap: 12px;
  }
  .category-nav {
    top: 150px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .story-strip,
  .ad-banner-stack {
    padding-left: 16px;
    padding-right: 16px;
  }
  .quick-categories,
  .store,
  .wide-sponsor,
  .service-strip,
  .popular-shelf {
    margin-left: 16px;
    margin-right: 16px;
  }
  .search { grid-template-columns: 1fr; height: auto; }
  .search input, .search button { min-height: 42px; }
  .ad-banner,
  .ad-banner strong {
    min-width: 0;
  }
  .products,
  .category-cards,
  .service-strip,
  .wide-sponsor a {
    grid-template-columns: 1fr;
  }
}
  overflow: hidden;
