/* ==========================================================================
   WGLILO 战术装备 · 产品展示站
   Lightweight, dependency-free, dark tactical theme.
   ========================================================================== */

:root {
  --bg: #0b0e10;
  --bg-soft: #10151a;
  --panel: #151b20;
  --panel-2: #1b2329;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --ink: #f2f5f6;
  --ink-2: #c6cfd4;
  --muted: #8b979e;
  --accent: #d8b26a;
  --accent-2: #b8934b;
  --accent-soft: rgba(216, 178, 106, 0.14);
  --green: #7ea36f;
  --photo: #ffffff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.9);
  --maxw: 1240px;
  --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui,
    -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- announce */
.announce {
  background: linear-gradient(90deg, var(--accent-2), var(--accent) 45%, var(--accent-2));
  color: #17120a;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 8px 24px;
}

/* ------------------------------------------------------------------ header */
.hd {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 14, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.hd-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 66px;
}

.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #17120a;
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
  letter-spacing: -0.04em;
}

.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b { font-size: 15px; letter-spacing: 0.06em; }
.logo-txt span { font-size: 10.5px; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; }

.nav { display: flex; gap: 4px; margin-left: 8px; }

.nav a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: background 0.18s, color 0.18s;
}
.nav a:hover, .nav a.on { background: var(--panel-2); color: var(--ink); }

.hd-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  min-width: 220px;
  transition: border-color 0.2s, background 0.2s;
}
.search:focus-within { border-color: var(--accent); background: var(--panel-2); }
.search input {
  border: 0; background: none; outline: none; color: var(--ink);
  font-size: 13.5px; width: 100%;
}
.search input::placeholder { color: var(--muted); }
.search svg { width: 15px; height: 15px; stroke: var(--muted); fill: none; stroke-width: 1.8; flex: 0 0 auto; }

.lang, .amz-btn {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.lang:hover { border-color: var(--line-strong); }
.amz-btn {
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #17120a;
  border-color: transparent;
}
.amz-btn:hover { filter: brightness(1.06); }

.menu-btn { display: none; }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 480px at 78% 12%, rgba(216, 178, 106, 0.13), transparent 62%),
    radial-gradient(700px 420px at 8% 88%, rgba(126, 163, 111, 0.10), transparent 60%),
    var(--bg-soft);
}

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 40%, transparent 100%);
  pointer-events: none;
}

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 74px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: 0.7; }

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-lead {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 30em;
  margin: 0 0 28px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid transparent;
  transition: transform 0.16s, filter 0.2s, background 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(145deg, var(--accent), var(--accent-2)); color: #17120a; }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 24px; letter-spacing: -0.02em; }
.hero-stats span { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; }

.collage { position: relative; height: 430px; }

.collage figure {
  position: absolute;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--photo);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.collage img { width: 100%; height: 100%; object-fit: contain; padding: 9px; }
.collage .c1 { width: 62%; height: 74%; top: 4%; left: 16%; z-index: 3; }
.collage .c2 { width: 40%; height: 46%; top: 0; right: 0; z-index: 2; opacity: 0.96; }
.collage .c3 { width: 42%; height: 44%; bottom: 0; left: 0; z-index: 4; }
.collage .c4 { width: 34%; height: 38%; bottom: 8%; right: 2%; z-index: 1; opacity: 0.9; }

.collage .tag {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  background: rgba(11, 14, 16, 0.86);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* -------------------------------------------------------------- trust strip */
.trust { border-bottom: 1px solid var(--line); background: var(--bg); }
.trust-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.trust-item {
  background: var(--bg);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-item i {
  width: 34px; height: 34px; flex: 0 0 auto;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-style: normal; font-weight: 700; font-size: 14px;
}
.trust-item b { display: block; font-size: 13.5px; }
.trust-item span { font-size: 12px; color: var(--muted); }

/* ----------------------------------------------------------------- catalog */
.catalog { padding: 62px 0 78px; }

.sec-head { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 26px; }
.sec-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  font-weight: 750;
}
.sec-head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.sec-head .count { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }

.filters {
  position: sticky;
  top: 66px;
  z-index: 40;
  background: rgba(11, 14, 16, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 -24px 30px;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  transition: all 0.18s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip.on {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.chip small { opacity: 0.65; margin-left: 5px; font-size: 11px; }

.dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: -1px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.dot-黑色 { background: #16191b; }
.dot-卡其色 { background: #b99461; }
.dot-绿色 { background: #6c8a5c; }
.dot-金属片 { background: linear-gradient(135deg, #cfd4d8, #7d868d); }
.dot-灰色 { background: #8b979e; }

.f-spacer { flex: 1 1 auto; }

.select {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--panel) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%238b979e' stroke-width='1.6' stroke-linecap='round'/></svg>") no-repeat right 12px center;
  background-size: 12px;
  color: var(--ink-2);
  border-radius: 999px;
  padding: 8px 34px 8px 15px;
  font-size: 13px;
  cursor: pointer;
}
.select:focus { outline: none; border-color: var(--accent); }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 178, 106, 0.42);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--photo);
  overflow: hidden;
  cursor: pointer;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.42s cubic-bezier(0.22, 0.7, 0.3, 1), opacity 0.35s;
}
.card-media img.alt {
  position: absolute; inset: 0;
  opacity: 0;
}
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media img.main { transform: scale(1.05); }

.badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 5px;
  align-items: flex-start;
  z-index: 3;
}
.badge {
  background: rgba(11, 14, 16, 0.88);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 999px;
}
.badge.hot { background: linear-gradient(145deg, var(--accent), var(--accent-2)); color: #17120a; border-color: transparent; }

.card-body { padding: 15px 16px 17px; display: flex; flex-direction: column; flex: 1; }

.card-cat {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 7px;
}

.card-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card:hover .card-title { color: var(--accent); }

.card-sub {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 13px;
}
.stars { color: var(--accent); letter-spacing: 0.06em; }

.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.price { font-size: 17px; font-weight: 750; color: var(--accent); letter-spacing: -0.01em; }
.price small { font-size: 11.5px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.price.tbd { font-size: 13px; color: var(--ink-2); font-weight: 600; }

.card-actions { margin-left: auto; display: flex; gap: 7px; }
.icon-btn {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  display: grid; place-items: center;
  transition: all 0.18s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.icon-btn.solid { background: linear-gradient(145deg, var(--accent), var(--accent-2)); color: #17120a; border-color: transparent; }
.icon-btn.solid:hover { filter: brightness(1.08); color: #17120a; }

.empty {
  padding: 70px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }

/* ------------------------------------------------------------------- brand */
.brand-sec {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 70px 0 76px;
}
.brand-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: start; }
.brand-copy h2 { margin: 0 0 16px; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; }
.brand-copy p { color: var(--ink-2); margin: 0 0 22px; }
.brand-copy .hero-stats b { font-size: 22px; }

.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.feat:hover { border-color: rgba(216, 178, 106, 0.4); transform: translateY(-3px); }
.feat b { display: block; margin-bottom: 6px; font-size: 14.5px; }
.feat span { color: var(--muted); font-size: 13px; }

/* ------------------------------------------------------------------ footer */
footer { border-top: 1px solid var(--line); background: var(--bg); padding: 46px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; margin-bottom: 32px; }
.foot-grid h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--ink-2); font-size: 13.5px; }
.foot-grid a:hover { color: var(--accent); }
.foot-note {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
  font-size: 12.5px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.foot-note p { margin: 0; max-width: 62em; }

/* ------------------------------------------------------------------- modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(5, 7, 8, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade 0.2s ease;
}
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.modal-panel {
  width: min(1180px, 100%);
  max-height: min(88vh, 900px);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95);
  animation: pop 0.24s cubic-bezier(0.2, 0.8, 0.3, 1);
}
@keyframes pop { from { transform: translateY(14px) scale(0.985); opacity: 0; } to { transform: none; opacity: 1; } }

.modal-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}
.modal-top .m-cat { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.modal-top .m-asin { color: var(--muted); font-size: 12px; letter-spacing: 0.06em; }
.modal-close {
  margin-left: auto;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: grid; place-items: center;
  transition: all 0.18s;
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.modal-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; }

.modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
}

.gallery { padding: 22px; overflow-y: auto; border-right: 1px solid var(--line); }
.gallery-main {
  aspect-ratio: 1 / 1;
  background: var(--photo);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--photo);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.18s, transform 0.18s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { transform: translateY(-2px); }
.thumb.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }

.info { padding: 24px 26px 28px; overflow-y: auto; }
.info h3 { margin: 0 0 8px; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.28; letter-spacing: -0.02em; }
.info .lead { color: var(--ink-2); font-size: 14px; margin: 0 0 16px; }

.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.price-row .price { font-size: 26px; }
.price-row .price.tbd { font-size: 15px; }
.price-row del { color: var(--muted); font-size: 14px; }
.price-row .stock { font-size: 12.5px; color: var(--green); border: 1px solid rgba(126, 163, 111, 0.4); border-radius: 999px; padding: 2px 10px; }
.price-note { color: var(--muted); font-size: 12px; margin: 0 0 18px; }

.rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13.5px; color: var(--muted); }
.rating-row .stars { font-size: 15px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.tag {
  font-size: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 5px 12px;
}
.tag.gold { border-color: rgba(216, 178, 106, 0.45); color: var(--accent); background: var(--accent-soft); }

.hl { display: grid; gap: 11px; margin: 0 0 22px; }
.hl-item { display: flex; gap: 11px; }
.hl-item i {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 3px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-style: normal; font-size: 11px; font-weight: 700;
}
.hl-item b { display: block; font-size: 13.5px; }
.hl-item span { color: var(--muted); font-size: 13px; }

.block-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 600;
}

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 13px; }
.spec-table td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table td:first-child { color: var(--muted); width: 38%; }
.spec-table td:last-child { color: var(--ink-2); }

details.raw { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 22px; background: var(--panel); }
details.raw summary { cursor: pointer; font-size: 13px; color: var(--ink-2); list-style: none; }
details.raw summary::-webkit-details-marker { display: none; }
details.raw summary::before { content: "▸ "; color: var(--accent); }
details.raw[open] summary::before { content: "▾ "; }
details.raw ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 12.5px; display: grid; gap: 7px; }

.buy-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.buy-row .btn { flex: 1 1 auto; }

.copy-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.copy-btn {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 12px;
  transition: all 0.18s;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

.related { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rel {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--panel);
  text-align: left;
  padding: 0;
  transition: border-color 0.18s, transform 0.18s;
}
.rel:hover { border-color: var(--accent); transform: translateY(-2px); }
.rel img { aspect-ratio: 1/1; width: 100%; object-fit: cover; background: var(--photo); }
.rel span { display: block; padding: 8px 9px 10px; font-size: 11.5px; line-height: 1.4; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ------------------------------------------------------------------ mobile */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .collage { height: 360px; }
  .brand-grid { grid-template-columns: 1fr; gap: 32px; }
  .modal-body { grid-template-columns: 1fr; overflow-y: auto; }
  .gallery { border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .info { overflow: visible; }
}

@media (max-width: 780px) {
  .wrap { padding: 0 16px; }
  .nav, .search { display: none; }
  .menu-btn {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border-radius: 10px; border: 1px solid var(--line); background: var(--panel);
  }
  .menu-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .card-body { padding: 12px 12px 14px; }
  .card-sub { display: none; }
  .filters { top: 66px; margin: 0 -16px 22px; padding: 10px 16px; overflow-x: auto; flex-wrap: nowrap; }
  .chips { flex-wrap: nowrap; }
  .f-spacer { display: none; }
  .trust-in { grid-template-columns: repeat(2, 1fr); }
  .feat-list, .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .modal { padding: 0; place-items: stretch; }
  .modal-panel { max-height: 100vh; height: 100%; border-radius: 0; border: 0; }
  .hero-in { padding-top: 46px; padding-bottom: 52px; }
  .hero-stats { gap: 22px; }
  .thumbs { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 430px) {
  .grid { grid-template-columns: 1fr; }
  .card-sub { display: -webkit-box; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
