*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Arial, "Helvetica Neue", Helvetica, "Microsoft YaHei", sans-serif;
  color: #000;
  background: #fff;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }

/* ============ top promo bar ============ */
.topbar { background: #f5f0e8; color: #000; font-size: 12px; }
.topbar-inner {
  max-width: 1400px; margin: 0 auto; height: 38px; padding: 0 16px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
}
.topbar-inner b { font-weight: 700; }
.topbar-inner em { width: 1px; height: 14px; background: #d8d2c8; }

/* ============ header ============ */
.hdr { position: sticky; top: 0; z-index: 90; background: #000; }
.hdr-inner {
  max-width: 1400px; margin: 0 auto; height: 62px; padding: 0 16px;
  display: flex; align-items: center; gap: 26px;
}
.brand {
  color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.8px;
  line-height: 1; flex: none; font-family: Arial Black, Arial, sans-serif;
}
.search {
  flex: 1; max-width: 780px; height: 38px; background: #fff; border-radius: 3px;
  display: flex; align-items: center; overflow: hidden; margin: 0 auto;
}
.search input {
  flex: 1; height: 100%; border: 0; outline: 0; padding: 0 14px; font-size: 14px; background: transparent;
}
.search button {
  width: 46px; height: 100%; display: grid; place-items: center; color: #000;
}
.search button svg { width: 20px; height: 20px; }
.hdr-actions { display: flex; align-items: center; gap: 20px; flex: none; }
.hact { position: relative; color: #fff; display: grid; place-items: center; }
.hact svg { width: 23px; height: 23px; }
.hact:hover { opacity: .72; }
.hact .badge {
  position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: #fff; color: #000; font-size: 10px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.lang { color: #fff; font-size: 12px; display: flex; align-items: center; gap: 4px; }
.lang i { opacity: .5; font-style: normal; }
.lang span { font-size: 9px; opacity: .8; }

/* ============ category nav ============ */
.catnav { background: #000; border-top: 1px solid #1c1c1c; position: sticky; top: 62px; z-index: 89; }
.catnav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 16px; height: 40px;
  display: flex; align-items: center; gap: 26px; overflow-x: auto; scrollbar-width: none;
}
.catnav-inner::-webkit-scrollbar { display: none; }
.catnav a {
  color: #fff; font-size: 13px; white-space: nowrap; height: 100%;
  display: flex; align-items: center; border-bottom: 2px solid transparent;
}
.catnav a:hover { border-bottom-color: #fff; }
.catnav a.on { border-bottom-color: #fff; font-weight: 700; }
.catnav .promo { color: #ff5a5a; font-weight: 700; }

/* ============ generic ============ */
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 16px; }
.loading { padding: 80px 0; text-align: center; color: #999; }
.empty { padding: 90px 20px; text-align: center; color: #888; }
.empty h3 { color: #000; font-size: 17px; margin-bottom: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 20px; border-radius: 2px; font-weight: 700; font-size: 13px;
  border: 1px solid #000; background: #fff; color: #000; transition: .15s;
}
.btn:hover { background: #000; color: #fff; }
.btn-dark { background: #000; color: #fff; border-color: #000; }
.btn-dark:hover { background: #2b2b2b; }
.btn-ghost { border-color: #d9d9d9; color: #333; }
.btn-ghost:hover { background: #f5f5f5; color: #000; }
.btn-lg { height: 48px; font-size: 14px; padding: 0 30px; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.muted { color: #999; }
.sale { color: #fa6338; }
.tag {
  display: inline-block; padding: 1px 6px; border-radius: 2px; font-size: 11px; font-weight: 700;
  border: 1px solid #fa6338; color: #fa6338; background: #fff;
}
.tag.b { border-color: #000; color: #000; }
.tag.g { border-color: #e5e5e5; color: #666; }

/* ============ price ============ */
.p-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.p-price .now { font-size: 17px; font-weight: 800; color: #000; letter-spacing: -.2px; }
.p-price .was { font-size: 12px; color: #9a9a9a; text-decoration: line-through; }
.p-price .off { font-size: 11px; font-weight: 800; color: #fa6338; }

/* ============ category circles ============ */
.cats { display: flex; gap: 10px; padding: 20px 0 10px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat-item { flex: 0 0 96px; text-align: center; }
.cat-item .ring {
  width: 82px; height: 82px; border-radius: 50%; overflow: hidden; margin: 0 auto 8px;
  background: #f5f5f5; border: 1px solid #efefef;
}
.cat-item .ring img { width: 100%; height: 100%; object-fit: cover; }
.cat-item span { font-size: 12px; color: #111; display: block; line-height: 1.3; }
.cat-item:hover .ring { border-color: #000; }

/* ============ hero (3 column banner) ============ */
.hero {
  display: grid; grid-template-columns: 176px minmax(0, 1fr) 176px;
  gap: 6px; margin: 6px 0 4px;
}
.hero-col { display: grid; gap: 6px; grid-auto-rows: 1fr; }
.tile {
  position: relative; border-radius: 2px; overflow: hidden; min-height: 126px;
  display: flex; align-items: flex-end; padding: 14px;
  background: #111; color: #fff; isolation: isolate;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(140deg, var(--c1, #232323), var(--c2, #4a4a4a));
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 78% 18%, rgba(255,255,255,.28), transparent 55%);
}
.tile b { font-size: 15px; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .2px; }
.tile small { display: block; font-size: 11px; opacity: .82; font-weight: 400; margin-top: 3px; text-transform: none; letter-spacing: 0; }
.hero-main {
  position: relative; border-radius: 2px; overflow: hidden; min-height: 380px;
  background: linear-gradient(120deg, #b30f0f, #e02020 45%, #7a0a0a); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 38px 44px;
}
.hero-main::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 340px; height: 340px;
  border-radius: 50%; background: rgba(255,255,255,.13);
}
.hero-main .kicker { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; opacity: .9; }
.hero-main h1 { font-size: 52px; line-height: .95; font-weight: 800; letter-spacing: -1.5px; margin: 10px 0 6px; }
.hero-main h2 { font-size: 22px; font-weight: 700; letter-spacing: .5px; }
.hero-main .off-badge {
  display: inline-block; margin: 16px 0 4px; background: #000; color: #fff; font-weight: 800;
  font-size: 15px; padding: 7px 14px; border-radius: 2px;
}
.hero-main .cta {
  align-self: flex-start; margin-top: 20px; background: #fff; color: #000; font-weight: 800;
  padding: 12px 26px; border-radius: 2px; font-size: 13px; text-transform: uppercase; letter-spacing: .6px;
}
.hero-main .cta:hover { background: #ffe9e9; }

/* ============ product grid ============ */
.section-head { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 14px; }
.section-head h2 { font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
.section-head h2 span { color: #fa6338; }
.section-head .more { margin-left: auto; font-size: 12px; font-weight: 700; text-decoration: underline; }

.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 8px; }
.pcard { display: block; min-width: 0; }
.pcard-img {
  position: relative; padding-bottom: 133%; background: #f4f4f4; border-radius: 2px; overflow: hidden;
}
.pcard-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.pcard:hover .pcard-img img { transform: scale(1.045); }
.pcard .disc {
  position: absolute; left: 6px; top: 6px; background: #fff; border: 1px solid #fa6338;
  color: #fa6338; font-size: 11px; font-weight: 800; padding: 1px 5px; border-radius: 2px; line-height: 1.5;
}
.pcard .saveband {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 11px; font-weight: 700;
  color: #a25900; padding: 3px 0;
  background: linear-gradient(90deg, #ffeddc 25%, rgba(255,249,220,.9));
}
.pcard .heart {
  position: absolute; right: 6px; top: 6px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center; opacity: 0; transition: .15s;
}
.pcard:hover .heart { opacity: 1; }
.pcard .heart svg { width: 15px; height: 15px; }
.pcard .heart.fav svg { fill: #000; }
.pcard-title {
  font-size: 13px; line-height: 1.35; color: #000; margin-top: 7px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  height: 2.7em;
}
.pcard-price { display: flex; align-items: baseline; gap: 5px; margin-top: 3px; flex-wrap: wrap; }
.pcard-price .now { font-size: 16px; font-weight: 800; letter-spacing: -.2px; }
.pcard-price .was { font-size: 12px; color: #9a9a9a; text-decoration: line-through; }
.pcard-price .off { font-size: 11px; font-weight: 800; color: #fa6338; }
.pcard-meta { font-size: 11px; color: #9a9a9a; margin-top: 3px; display: flex; gap: 8px; align-items: center; }
.pcard-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #ccc; }
.pcard-meta .stars { color: #111; font-weight: 700; }

/* triple column section */
.triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 30px 0 10px; }
.triple > div { background: #fff; border-radius: 2px; }
.triple h3 { font-size: 15px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.triple h3 a { margin-left: auto; font-size: 11px; color: #999; }
.triple .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }

/* ============ list page ============ */
.list-head { padding: 20px 0 4px; }
.list-head h1 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.crumbs { font-size: 12px; color: #888; margin: 8px 0 0; }
.crumbs a:hover { color: #000; text-decoration: underline; }
.toolbar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 14px 0; border-bottom: 1px solid #ececec; margin-bottom: 18px;
}
.chip {
  height: 32px; padding: 0 14px; border: 1px solid #e0e0e0; border-radius: 16px;
  font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; background: #fff;
}
.chip:hover { border-color: #000; }
.chip.on { background: #000; border-color: #000; color: #fff; }
.toolbar .right { margin-left: auto; font-size: 12px; color: #888; }
.pager { display: flex; gap: 6px; justify-content: center; margin: 34px 0 50px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 36px; height: 36px; padding: 0 10px; display: grid; place-items: center;
  border: 1px solid #e2e2e2; font-size: 13px; border-radius: 2px;
}
.pager a:hover { border-color: #000; }
.pager .cur { background: #000; color: #fff; border-color: #000; font-weight: 700; }

/* ============ PDP ============ */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 46px; padding: 26px 0 60px; }
.pdp-gallery { position: relative; }
.pdp-main { border-radius: 2px; overflow: hidden; background: #f5f5f5; aspect-ratio: 3 / 4; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.pdp-thumbs img { width: 64px; height: 82px; object-fit: cover; border-radius: 2px; opacity: .65; border: 1px solid transparent; }
.pdp-thumbs img.on, .pdp-thumbs img:hover { opacity: 1; border-color: #000; }
.pdp-info { padding-top: 4px; }
.pdp-brand { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: #666; }
.pdp-title { font-size: 19px; font-weight: 700; line-height: 1.35; margin: 8px 0 10px; }
.pdp-rate { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #666; padding-bottom: 14px; border-bottom: 1px solid #ececec; }
.pdp-rate .stars { color: #111; font-size: 13px; letter-spacing: 1px; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; padding: 16px 0 8px; flex-wrap: wrap; }
.pdp-price .now { font-size: 34px; font-weight: 800; color: #fa6338; letter-spacing: -1px; }
.pdp-price .was { font-size: 14px; color: #9a9a9a; text-decoration: line-through; }
.pdp-price .off { background: #fa6338; color: #fff; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 2px; }
.pdp-save { font-size: 12px; color: #a25900; background: linear-gradient(90deg,#ffeddc,#fff9dc); display: inline-block; padding: 4px 10px; border-radius: 2px; font-weight: 700; }
.opt { margin: 18px 0; }
.opt .label { font-size: 12px; font-weight: 700; display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.opt .label b { font-weight: 400; color: #888; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.sizes button {
  min-width: 46px; height: 36px; padding: 0 12px; border: 1px solid #dcdcdc; font-size: 13px; border-radius: 2px;
}
.sizes button:hover { border-color: #000; }
.sizes button.on { border-color: #000; background: #000; color: #fff; font-weight: 700; }
.colors { display: flex; gap: 8px; align-items: center; }
.colors i {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid #e0e0e0; display: block;
  background: linear-gradient(135deg, #eee, #ddd);
}
.colors i.on { outline: 2px solid #000; outline-offset: 1px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #dcdcdc; height: 40px; border-radius: 2px; }
.qty button { width: 40px; height: 100%; font-size: 16px; }
.qty button:hover { background: #f5f5f5; }
.qty span { width: 46px; text-align: center; font-weight: 700; }
.pdp-actions { display: flex; gap: 10px; margin-top: 22px; }
.pdp-actions .btn { flex: 1; height: 50px; font-size: 14px; }
.pdp-perks { margin-top: 22px; border-top: 1px solid #ececec; padding-top: 16px; display: grid; gap: 10px; font-size: 12px; color: #444; }
.pdp-perks div { display: flex; gap: 8px; align-items: center; }
.pdp-perks b { font-weight: 700; color: #000; }
.pdp-desc { margin: 40px 0 20px; border-top: 1px solid #ececec; padding-top: 26px; }
.pdp-desc h3 { font-size: 16px; margin-bottom: 12px; }
.pdp-desc p { color: #444; font-size: 13px; line-height: 1.8; }

/* ============ bag ============ */
.bag { padding: 26px 0 70px; }
.bag-head { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid #000; padding-bottom: 12px; }
.bag-head h1 { font-size: 22px; font-weight: 800; }
.bag-head span { font-size: 12px; color: #888; }
.bag-row {
  display: grid; grid-template-columns: 24px 108px minmax(0,1fr) 130px 110px 40px;
  gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid #ececec;
}
.bag-row img { width: 108px; height: 138px; object-fit: cover; border-radius: 2px; }
.bag-row .t { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bag-row .meta { font-size: 12px; color: #888; margin-top: 6px; }
.bag-sum {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end;
  padding: 20px 0; border-bottom: 1px solid #ececec;
}
.bag-sum .tot { font-size: 14px; }
.bag-sum .tot b { font-size: 24px; font-weight: 800; margin-left: 6px; }
.bag-foot { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; }
.bag-empty { padding: 90px 0; text-align: center; }
.bag-empty svg { width: 64px; height: 64px; margin: 0 auto 14px; opacity: .25; }

/* ============ checkout / orders / me ============ */
.page { padding: 26px 0 70px; }
.page h1 { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.co { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 26px; align-items: start; }
.panel { border: 1px solid #ececec; border-radius: 2px; padding: 20px; }
.panel h3 { font-size: 14px; font-weight: 800; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .6px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 12px; font-weight: 700; }
.field input, .field select, .field textarea {
  height: 40px; border: 1px solid #dcdcdc; padding: 0 12px; outline: 0; border-radius: 2px; font-size: 13px; background: #fff;
}
.field textarea { height: auto; min-height: 72px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: #000; }
.addr {
  display: flex; gap: 10px; align-items: flex-start; border: 1px solid #dcdcdc; border-radius: 2px;
  padding: 12px; margin-bottom: 10px; cursor: pointer;
}
.addr.on { border-color: #000; }
.addr b { font-size: 13px; }
.addr .sub { font-size: 12px; color: #777; margin-top: 2px; }
.sum-line { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; color: #444; }
.sum-total { display: flex; justify-content: space-between; border-top: 1px solid #000; margin-top: 12px; padding-top: 12px; font-weight: 800; }
.sum-total b { font-size: 20px; }
.co-items { display: grid; gap: 12px; margin-bottom: 14px; max-height: 260px; overflow: auto; }
.co-item { display: flex; gap: 10px; align-items: center; font-size: 12px; }
.co-item img { width: 46px; height: 58px; object-fit: cover; }
.co-item .n { flex: 1; line-height: 1.35; }

.ord {
  border: 1px solid #ececec; border-radius: 2px; margin-bottom: 14px; overflow: hidden;
}
.ord-head { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; background: #fafafa; padding: 11px 16px; font-size: 12px; color: #777; border-bottom: 1px solid #ececec; }
.ord-head b { color: #000; font-size: 12px; letter-spacing: .5px; }
.ord-head .st { margin-left: auto; font-weight: 800; font-size: 12px; }
.ord-body { padding: 14px 16px; }
.ord-item { display: flex; gap: 12px; align-items: center; padding: 6px 0; }
.ord-item img { width: 56px; height: 70px; object-fit: cover; }
.ord-item .n { flex: 1; font-size: 12px; line-height: 1.35; }
.ord-foot { display: flex; gap: 10px; align-items: center; justify-content: flex-end; padding: 12px 16px; border-top: 1px solid #f0f0f0; }
.ord-foot .tot { margin-right: auto; font-size: 13px; }
.ord-foot .tot b { font-size: 18px; }

.tabs { display: flex; gap: 22px; border-bottom: 1px solid #ececec; margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 0; font-size: 13px; font-weight: 700; color: #888; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.on { color: #000; border-bottom-color: #000; }

.me-card { display: flex; align-items: center; gap: 16px; border: 1px solid #ececec; padding: 22px; margin-bottom: 18px; }
.me-avatar {
  width: 62px; height: 62px; border-radius: 50%; background: #000; color: #fff; display: grid;
  place-items: center; font-size: 24px; font-weight: 800;
}
.me-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.me-stat { border: 1px solid #ececec; padding: 16px; }
.me-stat span { font-size: 12px; color: #888; display: block; }
.me-stat b { font-size: 20px; font-weight: 800; display: block; margin-top: 4px; }

/* ============ auth ============ */
.auth { min-height: 62vh; display: grid; place-items: center; padding: 50px 0; }
.auth-box { width: min(420px, 100%); border: 1px solid #ececec; padding: 30px; }
.auth-box h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.auth-box .sub { font-size: 12px; color: #888; margin-bottom: 20px; }
.auth-switch { display: flex; border: 1px solid #e0e0e0; margin-bottom: 20px; }
.auth-switch button { flex: 1; height: 38px; font-size: 13px; font-weight: 700; }
.auth-switch button.on { background: #000; color: #fff; }
.hint { font-size: 11px; color: #999; line-height: 1.9; margin-top: 16px; border-top: 1px solid #f0f0f0; padding-top: 14px; }

/* ============ footer / floating ============ */
.ftr { border-top: 1px solid #ececec; margin-top: 50px; padding: 40px 0 20px; font-size: 12px; color: #666; }
.ftr-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding-bottom: 28px; }
.ftr-cols h4 { font-size: 12px; color: #000; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; }
.ftr-cols a { display: block; padding: 3px 0; }
.ftr-cols a:hover { color: #000; text-decoration: underline; }
.ftr-bottom { border-top: 1px solid #ececec; padding-top: 16px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ftr-bottom b { font-size: 18px; letter-spacing: -.6px; color: #000; }
.ftr-bottom a { margin-left: auto; color: #000; font-weight: 700; text-decoration: underline; }

.suspend {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #000; color: #fff;
  display: flex; align-items: center; gap: 14px; padding: 10px 18px; font-size: 13px;
}
.suspend .s-txt { flex: 1; }
.suspend .s-txt b { color: #ffd166; }
.suspend .s-btn { background: #fff; color: #000; font-weight: 800; padding: 7px 20px; border-radius: 2px; font-size: 12px; }
.suspend .s-x { color: #999; font-size: 14px; padding: 4px 8px; }
.chat {
  position: fixed; right: 18px; bottom: 62px; z-index: 81; width: 46px; height: 46px; border-radius: 50%;
  background: #000; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.24);
}
.chat svg { width: 22px; height: 22px; }

#toast { position: fixed; top: 120px; left: 50%; transform: translateX(-50%); z-index: 999; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast-item {
  background: rgba(0,0,0,.9); color: #fff; font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 2px;
  animation: tin .2s ease;
}
.toast-item.err { background: #c81e1e; }
@keyframes tin { from { opacity: 0; transform: translateY(-6px); } }

/* ============ responsive ============ */
@media (max-width: 1240px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hero { grid-template-columns: 140px minmax(0,1fr) 140px; }
  .pdp { grid-template-columns: minmax(0,1fr) 380px; gap: 28px; }
}
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0,1fr); }
  .hero-col { display: none; }
  .hero-main { min-height: 300px; padding: 28px; }
  .hero-main h1 { font-size: 36px; }
  .triple { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .co { grid-template-columns: 1fr; }
  .brand { font-size: 24px; }
  .hdr-actions { gap: 14px; }
  .bag-row { grid-template-columns: 22px 84px minmax(0,1fr) 40px; }
  .bag-row img { width: 84px; height: 108px; }
  .bag-row .qty, .bag-row .price { grid-column: 3; }
}
@media (max-width: 680px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 6px; }
  .topbar-inner { font-size: 11px; gap: 8px; height: auto; padding: 6px 12px; flex-wrap: wrap; justify-content: center; }
  .topbar-inner em { display: none; }
  .hdr-inner { height: 56px; gap: 12px; }
  .catnav { top: 56px; }
  .search { height: 34px; }
  .lang { display: none; }
  .hero-main h1 { font-size: 30px; }
  .ftr-bottom a { margin-left: 0; }
  .suspend { font-size: 12px; }
}

/* ================= 注册 / 登录 弹窗 ================= */
#auth-root .amask {
  position: fixed; inset: 0; background: rgba(0,0,0,.52);
  display: grid; place-items: center; z-index: 500; padding: 16px;
}
#auth-root .abox {
  width: min(400px, 100%); background: #fff; border-radius: 6px;
  padding: 26px 24px 22px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.28);
  animation: apop .16s ease;
}
@keyframes apop { from { opacity: 0; transform: translateY(8px) scale(.99); } }
#auth-root .ax {
  position: absolute; right: 10px; top: 8px; font-size: 15px; color: #aaa; padding: 6px 8px;
}
#auth-root .ax:hover { color: #000; }
#auth-root .atitle { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
#auth-root .asub { font-size: 12px; color: #888; margin: 0 0 16px; }
#auth-root .atabs {
  display: flex; border: 1px solid #e5e5e5; border-radius: 4px; overflow: hidden; margin-bottom: 18px;
}
#auth-root .atabs button { flex: 1; height: 38px; font-size: 13px; font-weight: 700; color: #666; }
#auth-root .atabs button.on { background: #000; color: #fff; }
#auth-root .afield { display: block; margin-bottom: 14px; }
#auth-root .afield span { display: block; font-size: 12px; font-weight: 700; color: #333; margin-bottom: 6px; }
#auth-root .afield input {
  width: 100%; height: 44px; border: 1px solid #dcdcdc; border-radius: 4px;
  padding: 0 12px; font-size: 14px; outline: 0; background: #fff;
}
#auth-root .afield input:focus { border-color: #000; }
#auth-root .abtn {
  width: 100%; height: 46px; border-radius: 4px; background: #000; color: #fff;
  font-size: 15px; font-weight: 800; letter-spacing: 3px; margin-top: 4px;
}
#auth-root .abtn:hover { background: #222; }
#auth-root .abtn:disabled { opacity: .55; }
#auth-root .atip { font-size: 11px; color: #999; text-align: center; margin-top: 12px; line-height: 1.7; }

/* ================= 签到弹窗 ================= */
#auth-root .ckbox { width: min(410px, 100%); }
#auth-root .ckhero {
  margin: 14px 0 16px; padding: 18px 0; text-align: center; border-radius: 6px;
  background: linear-gradient(135deg, #111, #2b2b2b); color: #fff;
}
#auth-root .ckhero b { font-size: 40px; font-weight: 800; letter-spacing: -1px; }
#auth-root .ckhero span { font-size: 14px; font-weight: 700; margin-left: 6px; opacity: .8; }
#auth-root .ckstats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px;
  text-align: center; background: #fafafa; border-radius: 6px; padding: 12px 6px;
}
#auth-root .ckstats > div { display: grid; gap: 3px; }
#auth-root .ckstats b { font-size: 17px; font-weight: 800; }
#auth-root .ckstats span { font-size: 11px; color: #888; }
#auth-root .afield input:disabled { background: #f5f5f5; color: #888; }

#auth-root .ckpending {
  margin: -6px 0 14px; padding: 8px 12px; border-radius: 4px;
  background: #fff7e6; border: 1px solid #ffe0a3; color: #8a5a00;
  font-size: 12px; text-align: center;
}
#auth-root .ckpending b { font-weight: 800; }
