/* ============================================================
   HOKIM KROSS — Сайт (десктоп + адаптив). Layout & components
   ============================================================ */
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -.02em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============== HEADER ============== */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,247,242,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.hdr-bar { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  letter-spacing: -.04em; text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 9px;
}
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.logo small { font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: .12em; color: var(--ink-3); align-self: flex-end; margin-bottom: 4px; }
.nav { display: flex; gap: 6px; margin-left: 8px; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2);
  padding: 8px 14px; border-radius: var(--r-md); transition: .15s;
}
.nav a:hover { color: var(--ink); background: rgba(17,24,39,.05); }
.nav a.on { color: var(--ink); font-weight: 600; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 46px; height: 46px; border-radius: var(--r-md); border: none; background: transparent;
  cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
  position: relative; transition: background .15s;
}
.icon-btn:hover { background: rgba(17,24,39,.06); }
.icon-btn svg { width: 24px; height: 24px; }
.badge-num {
  position: absolute; top: 5px; right: 5px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--orange); color: #fff; border-radius: 9px; font-family: var(--font-mono);
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}
.hdr-login-btn {
  display: inline-flex; align-items: center; height: 38px; padding: 0 20px;
  font-size: 13px; font-weight: 700; font-family: var(--font-mono); letter-spacing: .05em;
  border: 2px solid var(--ink); border-radius: 99px;
  color: var(--ink); text-decoration: none; transition: all .15s;
  white-space: nowrap;
}
.hdr-login-btn:hover { background: var(--ink); color: var(--bg); }
.hdr-menu-btn { display: none; }

/* ============== HERO ============== */
.hero { padding: 40px 0 32px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(36px, 4.4vw, 62px); line-height: .98; font-weight: 800;
  letter-spacing: -.045em; margin: 14px 0 18px;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { font-size: 18px; color: var(--ink-2); max-width: 440px; margin: 0 0 30px; text-wrap: pretty; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; }
.hero-stats .num { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; }
.hero-stats .lbl { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.hero-visual {
  position: relative; border-radius: var(--r-2xl); overflow: hidden;
  aspect-ratio: 4/4.4; background: var(--navy);
}
.hero-visual image-slot, .hero-visual .ph { width: 100%; height: 100%; }
.hero-float {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: var(--r-lg); padding: 14px 16px; display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-md);
}
.hero-float .hf-brand { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }
.hero-float .hf-name { font-weight: 700; font-family: var(--font-display); font-size: 16px; }
.hero-float .hf-price { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 20px; }

/* ============== CATEGORY CHIPS ============== */
.cat-chips-wrap { background: var(--bg); border-bottom: 1px solid var(--border-soft); }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 13px 0 15px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 99px;
  font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none;
  white-space: nowrap; transition: all .15s; flex-shrink: 0;
}
.cat-chip:hover { border-color: var(--navy); color: var(--navy); }
.cat-chip.on, .cat-chip-all { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-chip-sale { border-color: var(--orange); color: var(--orange-dark); }
.cat-chip-sale:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ============== EDITORIAL PROMO CARDS ============== */
.promo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.promo-card {
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 2/3; border-radius: 22px; padding: 22px 18px;
  text-decoration: none; position: relative; overflow: hidden;
  transition: transform .22s;
}
.promo-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
  z-index: 1;
}
.promo-card > * { position: relative; z-index: 2; }
.promo-card:hover { transform: scale(1.02); }
.promo-card-m { background: linear-gradient(135deg, #1a2c4e 0%, #0b1a31 100%); }
.promo-card-f { background: linear-gradient(135deg, #2e1108 0%, #1a0a04 100%); }
.promo-card .pc-eye { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 6px; display: block; }
.promo-card h3 { font-size: 22px; font-weight: 800; margin: 0 0 10px; color: #fff; letter-spacing: -.03em; line-height: 1; }
.promo-card .pc-cta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-light); }
/* Big decorative text in promo card background */
.promo-card .pc-deco {
  position: absolute; bottom: -8px; right: -6px; z-index: 0;
  font-family: var(--font-display); font-size: 110px; font-weight: 900;
  color: rgba(255,255,255,.06); letter-spacing: -.05em; line-height: 1; pointer-events: none;
  user-select: none;
}

/* ============== HERO CAROUSEL ============== */
.hero-slider { position: relative; overflow: hidden; background: var(--bg); }
.hero-slides { display: flex; will-change: transform; transition: transform .52s cubic-bezier(.38,0,.24,1); }
.hero-slide { min-width: 100%; flex-shrink: 0; }
.hero-sl-1 { background: var(--bg); }
.hero-sl-2 { background: var(--navy); }
.hero-sl-3 { background: var(--orange-tint); }
.hero-dots { display: flex; justify-content: center; gap: 7px; padding: 14px 0 20px; }
.hs-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--border); border: none; cursor: pointer; transition: all .26s; padding: 0; flex-shrink: 0; }
.hs-dot.on { background: var(--orange); width: 22px; }
.hs-nav {
  position: absolute; top: 50%; transform: translateY(calc(-50% - 14px));
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.88); backdrop-filter: blur(8px);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  z-index: 5; transition: .15s; box-shadow: var(--shadow-sm);
}
.hs-nav:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(calc(-50% - 14px)) scale(1.05); }
.hs-nav svg { width: 20px; height: 20px; }
.hs-nav-l { left: 14px; }
.hs-nav-r { right: 14px; }
@media (max-width: 680px) { .hs-nav { display: none; } }

/* ============== MARQUEE ============== */
.marquee { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); overflow: hidden; background: var(--surface); }
.marquee-track { display: flex; gap: 56px; padding: 18px 0; white-space: nowrap; animation: scroll-x 28s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); opacity: .35; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: '●'; color: var(--orange); font-size: 9px; opacity: 1; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============== SECTIONS ============== */
.sec { padding: 72px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; gap: 20px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.04; }
.sec-head .link { font-family: var(--font-mono); font-size: 13px; color: var(--orange-dark); text-decoration: none; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.sec-head .link:hover { color: var(--orange); }

/* ============== PRODUCT CARD ============== */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -32px; padding-left: 32px; padding-right: 32px; }
.rail .card { scroll-snap-align: start; }

.card { background: var(--surface); border-radius: 20px; overflow: hidden; border: none; box-shadow: 0 2px 12px rgba(0,0,0,.07); transition: box-shadow .22s, transform .22s; display: flex; flex-direction: column; }
.card:hover { box-shadow: 0 10px 32px rgba(0,0,0,.12); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 1/1; background: var(--bg); cursor: pointer; }
.card-media image-slot, .card-media .ph { width: 100%; height: 100%; }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.card-wish {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.9); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: .15s; color: var(--ink);
}
.card-wish:hover { background: #fff; transform: scale(1.08); }
.card-wish.on { color: var(--danger); }
.card-wish svg { width: 19px; height: 19px; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-brand { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.card-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer; }
.card-name:hover { color: var(--orange-dark); }
.card-meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.color-dot { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); display: inline-block; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.card-foot > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 7px; min-width: 0; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.price-old { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); text-decoration: line-through; white-space: nowrap; }
.card-add { width: 42px; height: 42px; border-radius: var(--r-md); border: none; background: var(--navy); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .15s; }
.card-add:hover { background: var(--orange); }
.card-add svg { width: 19px; height: 19px; }
.stars { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.stars svg { width: 13px; height: 13px; color: var(--orange-light); }

/* ============== EDITORIAL BANNER ============== */
.banner { position: relative; border-radius: var(--r-2xl); overflow: hidden; background: var(--navy); color: #fff; min-height: 380px; display: grid; grid-template-columns: 1fr 1fr; }
.banner .ph, .banner image-slot { width: 100%; height: 100%; min-height: 380px; }
.banner-copy { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.banner-copy .eyebrow { color: var(--orange-light); }
.banner-copy h2 { font-size: clamp(30px, 3.6vw, 48px); color: #fff; margin: 14px 0 16px; line-height: 1.02; }
.banner-copy p { color: rgba(255,255,255,.72); font-size: 16px; max-width: 380px; margin: 0 0 26px; }

/* ============== BENEFITS ============== */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 26px 22px; }
.benefit .bi { width: 46px; height: 46px; border-radius: var(--r-md); background: var(--orange-tint); color: var(--orange-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.benefit .bi svg { width: 23px; height: 23px; }
.benefit h4 { font-size: 17px; margin-bottom: 6px; }
.benefit p { font-size: 13px; color: var(--ink-2); margin: 0; }

/* ============== NEWSLETTER ============== */
.news { background: var(--orange-tint); border-radius: var(--r-2xl); padding: 56px; text-align: center; }
.news h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 12px; }
.news p { color: var(--ink-2); margin: 0 auto 26px; max-width: 420px; }
.news form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.news input { flex: 1; height: 52px; border-radius: var(--r-md); border: 1.5px solid var(--orange-light); background: #fff; padding: 0 18px; font-size: 15px; font-family: var(--font-sans); }
.news input:focus { outline: none; border-color: var(--orange); }

/* ============== FOOTER ============== */
.ftr { background: var(--navy); color: rgba(255,255,255,.7); padding: 64px 0 28px; margin-top: 40px; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.ftr h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin: 0 0 16px; font-weight: 500; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ftr a { text-decoration: none; font-size: 14px; transition: .15s; }
.ftr a:hover { color: #fff; }
.ftr .logo { color: #fff; margin-bottom: 16px; }
.ftr-about p { font-size: 14px; max-width: 280px; line-height: 1.6; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.45); }

/* ============== CATALOG ============== */
.cat-layout { display: grid; grid-template-columns: 264px 1fr; gap: 36px; align-items: start; padding-top: 36px; }
.filters { position: sticky; top: 92px; }
.filter-block { border-bottom: 1px solid var(--border); padding: 20px 0; }
.filter-block:first-child { padding-top: 0; }
.filter-block h4 { font-size: 15px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--ink-2); user-select: none; }
.check input { display: none; }
.check .box { width: 19px; height: 19px; border-radius: var(--r-xs); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; transition: .15s; flex: none; }
.check input:checked + .box { background: var(--orange); border-color: var(--orange); }
.check .box svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.check input:checked + .box svg { opacity: 1; }
.check:hover { color: var(--ink); }
.check .cnt { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.size-chips, .color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.color-names { display: flex; flex-wrap: wrap; gap: 6px; }
.color-name-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1.5px solid var(--border); border-radius: 99px; font-size: 13px; font-weight: 500; cursor: pointer; background: transparent; color: var(--ink); transition: all .15s; }
.color-name-chip:hover { border-color: var(--ink-2); }
.color-name-chip.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.size-chip { min-width: 46px; height: 40px; padding: 0 8px; border-radius: var(--r-sm); border: 1.5px solid var(--border); background: #fff; cursor: pointer; font-family: var(--font-mono); font-size: 14px; font-weight: 500; transition: .15s; }
.size-chip:hover { border-color: var(--ink); }
.size-chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.color-sw { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; position: relative; transition: .15s; }
.color-sw.on { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-tint); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 14px; color: var(--ink-2); padding: 6px 0; }
.toggle { width: 42px; height: 24px; border-radius: 13px; background: var(--border); position: relative; transition: .18s; flex: none; }
.toggle::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: .18s; box-shadow: var(--shadow-sm); }
.toggle.on { background: var(--orange); }
.toggle.on::after { left: 21px; }
.price-range { display: flex; align-items: center; gap: 10px; }
.price-range input { width: 100%; height: 44px; border: 1.5px solid var(--border); border-radius: var(--r-sm); padding: 0 12px; font-family: var(--font-mono); font-size: 13px; }
.price-range input:focus { outline: none; border-color: var(--orange); }

.cat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.cat-top h1 { font-size: 34px; font-weight: 800; }
.cat-top .cnt { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); margin-left: 10px; font-weight: 400; }
.sort { display: flex; align-items: center; gap: 10px; }
.select { height: 44px; border: 1.5px solid var(--border); border-radius: var(--r-md); background: #fff; padding: 0 36px 0 14px; font-family: var(--font-sans); font-size: 14px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip-x { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.chip-x:hover { border-color: var(--ink); }
.chip-x svg { width: 13px; height: 13px; color: var(--ink-3); }
.grid-products.cat-grid { grid-template-columns: repeat(3, 1fr); }
.filter-mobile-btn { display: none; }
.empty { text-align: center; padding: 80px 20px; color: var(--ink-2); }
.empty svg { width: 56px; height: 56px; color: var(--border); margin-bottom: 18px; }
.empty h3 { font-size: 24px; margin-bottom: 8px; color: var(--ink); }

/* ============== PRODUCT PAGE ============== */
.breadcrumb { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); padding: 24px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-dark); }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; padding-bottom: 40px; }
.gallery-main { aspect-ratio: 1/1; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--border-soft); cursor: zoom-in; }
.gallery-main img, .gallery-main image-slot, .gallery-main .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .15s; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs .thumb { aspect-ratio: 1/1; border-radius: var(--r-md); overflow: hidden; border: 2px solid transparent; background: var(--surface); cursor: pointer; transition: border-color .15s; }
.gallery-thumbs .thumb:hover { border-color: var(--ink-3); }
.gallery-thumbs .thumb.active { border-color: var(--navy); }
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.pdp-info { position: sticky; top: 92px; }
.pdp-info .brand { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; }
.pdp-info h1 { font-size: 26px; font-weight: 800; margin: 4px 0 8px; line-height: 1.1; }
.pdp-rate { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; color: var(--ink-2); }
.pdp-price { display: flex; align-items: baseline; gap: 10px; margin: 10px 0; }
.pdp-price .price { font-size: 28px; }
.pdp-price .price-old { font-size: 16px; }
.pdp-price .save { background: var(--danger-tint); color: var(--danger); font-family: var(--font-mono); font-size: 12px; padding: 3px 8px; border-radius: var(--r-xs); font-weight: 500; }
.pdp-section { padding: 12px 0; border-top: 1px solid var(--border); }
.pdp-section .lbl { display: flex; justify-content: space-between; margin-bottom: 8px; }
.pdp-section .lbl span:first-child { font-weight: 600; font-size: 14px; }
.pdp-section .lbl a { font-family: var(--font-mono); font-size: 11px; color: var(--orange-dark); text-decoration: none; }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.size-opt { height: 52px; border-radius: var(--r-md); border: 1.5px solid var(--border); background: #fff; cursor: pointer; font-family: var(--font-mono); font-weight: 500; font-size: 15px; transition: .15s; position: relative; }
.size-opt:hover:not(:disabled) { border-color: var(--ink); }
.size-opt.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.size-opt:disabled { color: var(--ink-3); cursor: not-allowed; background: var(--bg); opacity: .55; text-decoration: line-through; }
.pdp-actions { display: flex; gap: 10px; margin: 14px 0 0; }
.pdp-chars { display: flex; flex-direction: column; }
.pdp-char { display: flex; align-items: baseline; gap: 12px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--border-soft); }
.pdp-char:last-child { border-bottom: none; }
.pdp-char > span:first-child { color: var(--ink-3); min-width: 72px; flex-shrink: 0; }
.pdp-char > span:last-child { color: var(--ink); font-weight: 500; }
/* Reviews */
.rev-list { display: flex; flex-direction: column; gap: 16px; }
.rev-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.rev-stars { color: #F59E0B; font-size: 15px; letter-spacing: 1px; }
.rev-form { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.rev-star-pick span { font-size: 28px; cursor: pointer; opacity: .3; transition: opacity .1s; }
.rev-star-pick span.on { opacity: 1; }
.pdp-actions .btn-primary { flex: 1; }
.wish-big { width: 56px; height: 56px; flex: none; border-radius: var(--r-md); border: 1.5px solid var(--border); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .15s; }
.wish-big:hover { border-color: var(--ink); }
.wish-big.on { color: var(--danger); border-color: var(--danger); background: var(--danger-tint); }
.wish-big svg { width: 22px; height: 22px; }
.acc { border-top: 1px solid var(--border); }
.acc summary { padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-family: var(--font-mono); color: var(--ink-3); font-size: 20px; }
.acc[open] summary::after { content: '–'; }
.acc p { color: var(--ink-2); font-size: 14px; padding-bottom: 18px; margin: 0; }
.size-msg { font-size: 13px; color: var(--danger); margin-top: 10px; min-height: 18px; font-family: var(--font-mono); }

/* ============== CART / CHECKOUT ============== */
.page-head { padding: 36px 0 28px; }
.page-head h1 { font-size: 40px; font-weight: 800; }
.page-head p { color: var(--ink-2); margin: 6px 0 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; padding-bottom: 80px; }
.cart-lines { display: flex; flex-direction: column; gap: 14px; }
.cart-line { display: grid; grid-template-columns: 100px 1fr auto; gap: 18px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 16px; align-items: center; }
.cart-line .media { width: 100px; height: 100px; border-radius: var(--r-md); overflow: hidden; background: var(--bg); }
.cart-line .media image-slot, .cart-line .media .ph { width: 100%; height: 100%; }
.cl-brand { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.cl-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 3px 0 6px; }
.cl-meta { font-size: 13px; color: var(--ink-2); display: flex; gap: 14px; }
.cl-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; height: 100%; justify-content: space-between; }
.cl-price { font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.qty button { width: 36px; height: 38px; border: none; background: #fff; cursor: pointer; font-size: 18px; color: var(--ink); transition: .15s; }
.qty button:hover { background: var(--bg); }
.qty span { width: 40px; text-align: center; font-family: var(--font-mono); font-weight: 500; }
.cl-remove { background: none; border: none; color: var(--ink-3); cursor: pointer; font-size: 13px; display: flex; align-items: center; gap: 5px; }
.cl-remove:hover { color: var(--danger); }
.cl-remove svg { width: 15px; height: 15px; }

.summary { background: #fff; border: none; border-radius: 20px; padding: 26px; position: sticky; top: 92px; box-shadow: 0 2px 14px rgba(0,0,0,.07); }
.summary h3 { font-size: 20px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 15px; color: var(--ink-2); }
.summary-row.save { color: var(--success); }
.summary-row b { color: var(--ink); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--border); margin-top: 12px; padding-top: 18px; }
.summary-total span { font-weight: 600; }
.summary-total b { font-family: var(--font-display); font-size: 28px; font-weight: 800; white-space: nowrap; }
.promo { display: flex; gap: 8px; margin: 18px 0; }
.promo input { flex: 1; height: 46px; border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 0 14px; font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; }
.promo input:focus { outline: none; border-color: var(--orange); }
.trust-row { display: flex; gap: 16px; justify-content: center; margin-top: 18px; font-size: 12px; color: var(--ink-3); }
.trust-row span { display: flex; align-items: center; gap: 5px; }
.trust-row svg { width: 14px; height: 14px; }

/* checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; padding-bottom: 80px; }
.co-step { background: #fff; border: none; border-radius: 20px; padding: 24px; margin-bottom: 14px; box-shadow: 0 2px 14px rgba(0,0,0,.07); }
.co-step h3 { font-size: 18px; margin-bottom: 4px; display: flex; align-items: center; gap: 12px; }
.co-step .step-n { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-mono); font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; }

/* checkout sticky mobile CTA */
.co-sticky-cta { display: none; }
@media (max-width: 900px) {
  .co-sticky-cta {
    display: flex; position: fixed;
    bottom: calc(56px + env(safe-area-inset-bottom,0px));
    left: 0; right: 0; padding: 10px 16px;
    background: rgba(250,247,242,.96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-soft); z-index: 65;
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  }
}
.co-step .sub { color: var(--ink-3); font-size: 13px; margin: 0 0 20px 40px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field textarea { width: 100%; height: 52px; border: 1.5px solid var(--border); border-radius: 12px; padding: 0 16px; font-family: var(--font-sans); font-size: 15px; background: #fff; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.field textarea { height: 92px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(194,94,31,.1); }
.field label { font-size: 12px; font-weight: 700; color: var(--ink-3); margin-bottom: 8px; display: block; font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt-list { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--border); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: .15s; background: var(--bg); }
.opt:hover { border-color: var(--ink-3); }
.opt.on { border-color: var(--orange); background: var(--orange-tint); }
.opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); flex: none; position: relative; transition: .15s; }
.opt.on .radio { border-color: var(--orange); }
.opt.on .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--orange); }
.opt .opt-main { flex: 1; }
.opt .opt-title { font-weight: 600; font-size: 15px; }
.opt .opt-desc { font-size: 13px; color: var(--ink-2); }
.opt .opt-price { font-family: var(--font-display); font-weight: 700; }
.opt .opt-ico { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.opt .opt-ico svg { width: 20px; height: 20px; }
.mini-lines { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; max-height: 280px; overflow-y: auto; }
.mini-line { display: flex; gap: 12px; align-items: center; }
.mini-line .media { width: 54px; height: 54px; border-radius: var(--r-sm); overflow: hidden; background: var(--bg); flex: none; }
.mini-line .media .ph, .mini-line .media image-slot { width: 100%; height: 100%; }
.mini-line .mn { font-weight: 600; font-size: 14px; }
.mini-line .ms { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.mini-line .mp { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 15px; }

/* confirm */
.confirm { text-align: center; padding: 60px 0 80px; max-width: 620px; margin: 0 auto; }
.confirm .check-ring { width: 92px; height: 92px; border-radius: 50%; background: var(--success-tint); color: var(--success); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; }
.confirm .check-ring svg { width: 44px; height: 44px; }
.confirm h1 { font-size: 40px; font-weight: 800; margin-bottom: 10px; }
.confirm > p { color: var(--ink-2); font-size: 17px; margin: 0 auto 32px; }
.order-box { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 28px; text-align: left; margin-bottom: 28px; }
.order-box .ob-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.order-box .ob-num { font-family: var(--font-mono); font-size: 22px; font-weight: 700; }
.steps-track { display: flex; gap: 0; margin: 30px 0; }
.steps-track .st { flex: 1; text-align: center; position: relative; }
.steps-track .st .sd { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 13px; position: relative; z-index: 2; color: var(--ink-3); }
.steps-track .st.done .sd { background: var(--orange); border-color: var(--orange); color: #fff; }
.steps-track .st::before { content: ''; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--border); z-index: 1; }
.steps-track .st:first-child::before { display: none; }
.steps-track .st.done::before { background: var(--orange); }
.steps-track .st .stl { font-size: 12px; color: var(--ink-2); }

/* ============== PROFILE ============== */
.profile-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; padding: 36px 0 80px; }
.profile-side { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 8px; position: sticky; top: 92px; }
.prof-user { padding: 20px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.prof-ava { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; flex: none; }
.prof-user .pn { font-weight: 700; font-size: 15px; }
.prof-user .pe { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.prof-nav { display: flex; flex-direction: column; gap: 2px; }
.prof-nav button { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: none; background: none; cursor: pointer; border-radius: var(--r-md); font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--ink-2); text-align: left; width: 100%; transition: .15s; }
.prof-nav button svg { width: 18px; height: 18px; }
.prof-nav button:hover { background: var(--bg); color: var(--ink); }
.prof-nav button.on { background: var(--navy); color: #fff; }
.prof-content { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 32px; }
.prof-content h2 { font-size: 26px; margin-bottom: 22px; }
.order-card { border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px; margin-bottom: 14px; }
.order-card .oc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.order-card .oc-num { font-family: var(--font-mono); font-weight: 700; font-size: 15px; }
.order-card .oc-items { display: flex; gap: 10px; flex-wrap: wrap; }
.order-card .oc-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); background: var(--bg); padding: 6px 10px; border-radius: var(--r-sm); }
.empty-mini { text-align: center; padding: 50px 20px; color: var(--ink-3); }

/* ============== PDP STICKY BAR (mobile) ============== */
.pdp-sticky-bar { display: none; }
@media (max-width: 900px) {
  .pdp-sticky-bar {
    display: flex; position: fixed; left: 0; right: 0;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    background: var(--bg); border-top: 1px solid var(--border-soft);
    padding: 10px 16px; gap: 12px; align-items: center; z-index: 65;
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  }
}

/* ============== TOAST ============== */
.toast-wrap { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { background: var(--navy); color: #fff; padding: 14px 20px; border-radius: var(--r-md); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; animation: toast-in .3s ease; max-width: 90vw; }
.toast svg { width: 18px; height: 18px; color: var(--orange-light); flex: none; }
.toast a { color: var(--orange-light); text-decoration: underline; cursor: pointer; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }

/* ============== MOBILE DRAWER ============== */
.drawer-back { position: fixed; inset: 0; background: rgba(15,23,42,.4); z-index: 90; opacity: 0; pointer-events: none; transition: .2s; }
.drawer-back.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 340px; max-width: 88vw; background: var(--bg); z-index: 100; transform: translateX(100%); transition: transform .26s cubic-bezier(.4,0,.2,1); overflow-y: auto; padding: 24px; }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }

/* ============== BOTTOM NAV (mobile only) ============== */
.bnav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  background: rgba(250,247,242,.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-soft);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bnav-row { display: flex; height: 56px; }
.bnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; border: none; background: none; cursor: pointer; color: var(--ink-3);
  text-decoration: none; font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  -webkit-tap-highlight-color: transparent; transition: color .15s;
}
.bnav-item.on { color: var(--navy); }
.bnav-item svg { width: 22px; height: 22px; }
.bnav-ic { position: relative; display: inline-flex; }
.bnav-badge {
  position: absolute; top: -5px; right: -8px; min-width: 15px; height: 15px; padding: 0 3px;
  background: var(--orange); color: #fff; border-radius: 8px; font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--bg);
  font-family: var(--font-mono); line-height: 1; pointer-events: none;
}

/* ============== HK-FIELD (review textarea) ============== */
.hk-field {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--r-md);
  padding: 12px 15px; font-family: var(--font-sans); font-size: 15px;
  background: #fff; box-sizing: border-box; transition: border-color .15s; line-height: 1.5;
}
.hk-field:focus { outline: none; border-color: var(--orange); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { aspect-ratio: 16/12; }
  .grid-products, .grid-products.cat-grid { grid-template-columns: repeat(3, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  /* bottom nav */
  .bnav { display: block; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .toast-wrap { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }

  /* header: shrink + hide items that moved to bottom nav */
  .hdr-bar { height: 56px; gap: 16px; }
  .hdr-wish-btn, .hdr-cart-btn, .hdr-login-btn, .hdr-avatar-btn { display: none !important; }

  .nav { display: none; }
  .hdr-menu-btn { display: inline-flex; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .pdp-info { position: static; }
  .cat-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filter-mobile-btn { display: inline-flex; background: var(--navy); color: #fff !important; border-color: var(--navy); }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-side { position: static; }
  .banner { grid-template-columns: 1fr; }
  .banner .ph, .banner image-slot { min-height: 240px; }

  /* profile nav → horizontal scroll row on mobile */
  .prof-nav { flex-direction: row; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; gap: 4px; padding-bottom: 6px; }
  .prof-nav button { flex: none; width: auto; font-size: 13px; padding: 10px 14px; }
  .prof-nav button.on { background: var(--navy); color: #fff; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .grid-products, .grid-products.cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sec { padding: 40px 0; }
  .hero { padding: 28px 0 20px; }
  .hero-stats { gap: 22px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; justify-content: center; }
  .card-body { padding: 11px; }
  .card-name { font-size: 14px; }
  .price { font-size: 17px; }
  .banner-copy { padding: 28px 22px; }
  .news { padding: 28px 18px; }
  .news form { flex-direction: column; }
  .cart-line { grid-template-columns: 80px 1fr; }
  .cart-line .cl-right { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .cart-line .media { width: 80px; height: 80px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .size-grid { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .page-head h1, .cat-top h1 { font-size: 28px; }
  .pdp-info h1 { font-size: 24px; }
  .confirm h1 { font-size: 30px; }
  .confirm .check-ring { width: 72px; height: 72px; }
  .confirm .check-ring svg { width: 36px; height: 36px; }
  .promo-cards { gap: 10px; }
  .promo-card { border-radius: 18px; padding: 16px 14px; }
  .promo-card h3 { font-size: 17px; }
  .promo-card .pc-deco { font-size: 80px; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 12px; }
  .benefit { padding: 20px 16px; border-radius: 16px; }
  .co-step { padding: 18px 16px; border-radius: 16px; }
}
@media (max-width: 420px) {
  .grid-products, .grid-products.cat-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 7px; }
}
