/* ==========================================================================
   WXQCC Accessories — Skeleton A (light e-commerce)
   Shared structural styles. All colors come from theme.css variables.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--head-font); font-weight: 600; line-height: 1.18; margin: 0 0 .45em; color: var(--ink-2); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select { font-family: inherit; font-size: 14px; color: var(--ink); }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-head.center { justify-content: center; text-align: center; }
.sec-title { font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.sec-sub { color: var(--muted); max-width: 560px; margin: 10px 0 0; }
.sec-link {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); border-bottom: 2px solid var(--accent); padding-bottom: 6px;
  transition: color .25s;
}
.sec-link:hover { color: var(--accent-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: var(--radius); border: 1.5px solid transparent;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s;
}
.btn svg { width: 16px; height: 16px; }
.btn-solid { background: var(--btn-bg); color: var(--btn-ink); box-shadow: var(--shadow); }
.btn-solid:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-ghost { background: transparent; border-color: var(--btn-bd); color: var(--btn-ink-2); }
.btn-ghost:hover { background: var(--soft); border-color: var(--accent); }
.btn-sm { padding: 10px 20px; font-size: 12px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--bg-2); color: var(--ink); border-bottom: 1px solid var(--line); font-size: 12.5px; letter-spacing: .04em; }
.topbar-in { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 9px 24px; position: relative; }
.topbar-note strong { color: var(--topbar-accent); font-weight: 700; }
.topbar-links { position: absolute; right: 24px; display: flex; gap: 18px; }
.topbar-links a:hover { color: var(--topbar-accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.header-in { display: flex; align-items: center; gap: 28px; padding: 16px 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; color: var(--accent-2); }
.brand-text { font-family: var(--head-font); font-weight: 700; font-size: 22px; letter-spacing: .14em; color: var(--ink-2); line-height: 1; }
.brand-text em { display: block; font-style: normal; font-size: 9px; letter-spacing: .5em; color: var(--muted); margin-top: 5px; }
.main-nav { display: flex; gap: 6px; margin: 0 auto; }
.nav-link {
  padding: 9px 14px; font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink); border-radius: var(--radius); transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.active { color: var(--accent-2); background: var(--soft); }
.h-icons { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; color: var(--ink-2); transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--soft); color: var(--accent-2); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-n {
  position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--accent); color: var(--accent-ink); border-radius: 999px;
  font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 50%; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink-2); border-radius: 2px; transition: transform .25s, opacity .25s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.m-nav {
  display: none; position: fixed; top: 73px; left: 0; right: 0; z-index: 59;
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 18px 24px 26px; box-shadow: 0 20px 40px rgba(0,0,0,.12);
}
body.nav-open .m-nav { display: block; }
.m-nav a { display: block; padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--line); }
.m-nav a:last-child { border-bottom: 0; }
.m-nav a:hover { color: var(--accent-2); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bg-2); overflow: hidden; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-in { position: relative; z-index: 2; display: flex; align-items: center; min-height: 660px; }
.hero-content { max-width: 560px; padding: 70px 0; }
.hero-title { font-size: clamp(40px, 5.2vw, 62px); font-weight: 700; letter-spacing: -.01em; margin: 0 0 20px; }
.hero-sub { font-size: 16.5px; color: var(--muted); max-width: 480px; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.trust-row { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.trust-row strong { color: var(--ink-2); }
.stars { color: var(--star); letter-spacing: 2px; font-size: 14px; }
.float-card {
  position: absolute; z-index: 3; right: 4%; bottom: 42px;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 12px 20px 12px 12px; box-shadow: var(--shadow-lg);
}
.float-card img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius); }
.float-card strong { display: block; font-size: 13.5px; }
.float-card span { font-size: 12px; color: var(--muted); }

/* ---------- USP strip ---------- */
.usp { border-bottom: 1px solid var(--line); background: var(--surface); }
.usp-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 26px 24px; }
.usp-item { display: flex; align-items: center; gap: 14px; justify-content: center; }
.usp-ico {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%;
  background: var(--soft); color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
}
.usp-ico svg { width: 22px; height: 22px; }
.usp-item strong { display: block; font-size: 14px; color: var(--ink-2); }
.usp-item span { font-size: 12.5px; color: var(--muted); }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-card {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s ease;
}
.cat-card:hover { transform: translateY(-6px); }
.cat-card img { width: 100%; height: 320px; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-meta {
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.92); border-radius: var(--radius);
  padding: 12px 18px; color: var(--ink-2);
}
.cat-meta strong { font-family: var(--head-font); font-size: 16px; }
.cat-meta em { font-style: normal; font-size: 12px; color: var(--muted); }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.p-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.p-card { display: flex; flex-direction: column; }
.p-media {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
}
.p-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .5s ease; }
.p-card:hover .p-img { transform: scale(1.06); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--badge-bg); color: var(--badge-ink);
}
.badge.sale { background: var(--sale); color: #fff; }
.badge.new { background: var(--ink-2); color: var(--badge-ink); }
.badge.hot { background: var(--hot); color: var(--badge-ink); }
.p-add {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: var(--radius); background: var(--ink-2); color: var(--badge-ink);
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s;
}
.p-add svg { width: 15px; height: 15px; }
.p-card:hover .p-add { opacity: 1; transform: translateY(0); }
.p-add:hover { background: var(--accent); color: var(--accent-ink); }
.p-heart {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px;
  border-radius: 50%; background: var(--surface); color: var(--ink-2);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  transition: color .2s, transform .2s;
}
.p-heart:hover { color: #e2543e; transform: scale(1.08); }
.p-heart svg { width: 16px; height: 16px; }
.p-body { padding: 16px 4px 0; text-align: center; }
.p-name { display: inline-block; font-family: var(--head-font); font-weight: 600; font-size: 15.5px; color: var(--ink-2); transition: color .2s; }
.p-name:hover { color: var(--accent-2); }
.p-cat { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin: 3px 0 8px; }
.p-price { display: flex; align-items: center; justify-content: center; gap: 9px; }
.p-price .now { font-weight: 700; font-size: 16px; color: var(--ink-2); }
.p-price .was { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.p-rate { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.p-rate b { color: var(--ink-2); font-weight: 700; }

/* ---------- Story ---------- */
.story { background: var(--bg-2); }
.story-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.story-media { position: relative; padding-bottom: 90px; }
.story-main { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4; object-fit: cover; }
.story-sub {
  position: absolute; right: -8px; bottom: 0; width: 52%;
  border-radius: var(--radius-lg); border: 8px solid var(--bg-2); box-shadow: var(--shadow-lg);
  aspect-ratio: 1/1; object-fit: cover;
}
.story-body h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 18px; }
.story-body p { color: var(--muted); }
.stat-row { display: flex; gap: 44px; margin: 30px 0 34px; }
.stat strong { display: block; font-family: var(--head-font); font-size: 32px; font-weight: 700; color: var(--accent-2); }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- Promo ---------- */
.promo { padding: 0 0 88px; }
.promo-in { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.promo-bg { width: 100%; height: 380px; object-fit: cover; }
.promo-in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.5) 55%, rgba(255,255,255,0) 100%); }
.promo-content { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); left: 6%; max-width: 430px; color: var(--ink-2); }
.promo-content .eyebrow { color: var(--accent-2); }
.promo-content h2 { color: var(--ink-2); font-size: clamp(26px, 3vw, 36px); margin: 0 0 12px; }
.promo-content p { color: var(--ink); margin: 0 0 24px; }

/* ---------- Testimonials ---------- */
.t-sec { background: var(--surface); }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.t-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; position: relative; transition: transform .3s ease, box-shadow .3s ease;
}
.t-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.t-card .stars { display: block; margin-bottom: 14px; }
.t-quote { color: var(--ink); font-size: 14.5px; margin: 0 0 20px; }
.t-who { display: flex; align-items: center; gap: 12px; }
.t-ava {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.t-who strong { display: block; font-size: 14px; color: var(--ink-2); }
.t-who span { font-size: 12px; color: var(--muted); }

/* ---------- Newsletter ---------- */
.news { background: var(--news-bg); padding: 60px 0; }
.news-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.news h2 { margin: 0 0 8px; }
.news p { margin: 0; color: var(--muted); }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-form input {
  width: 320px; max-width: 100%; padding: 14px 18px; border-radius: var(--radius);
  border: 1.5px solid var(--line-2); background: var(--surface); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.news-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); color: var(--ink); border-top: 1px solid var(--line); padding: 70px 0 0; }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.f-brand .brand-text { color: var(--footer-ink); }
.f-brand p { color: var(--footer-muted); font-size: 13.5px; max-width: 300px; margin: 18px 0 22px; }
.f-title { color: var(--ink-2); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
.f-col a { display: block; color: var(--footer-muted); font-size: 13.5px; padding: 5px 0; transition: color .2s, padding-left .2s; }
.f-col a:hover { color: var(--topbar-accent); padding-left: 6px; }
.social { display: flex; gap: 10px; }
.soc {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--footer-line);
  display: flex; align-items: center; justify-content: center; color: var(--footer-muted);
  transition: background .2s, color .2s, border-color .2s;
}
.soc:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.soc svg { width: 16px; height: 16px; }
.f-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--footer-line); padding: 22px 0; font-size: 12.5px; color: var(--footer-muted);
}
.pay { display: flex; gap: 8px; }
.pay-item {
  border: 1px solid var(--footer-line); border-radius: 6px; padding: 4px 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--footer-ink);
}

/* ---------- Page head / breadcrumbs ---------- */
.page-head { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 44px 0 40px; }
.page-head.small { padding: 22px 0; }
.page-head h1 { font-size: clamp(28px, 3.2vw, 38px); margin: 6px 0 4px; }
.page-head p { color: var(--muted); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.crumbs a:hover { color: var(--accent-2); }
.crumbs .sep { opacity: .6; }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 44px; padding: 48px 24px 80px; align-items: start; }
.side { position: sticky; top: 96px; }
.side-block { border-bottom: 1px solid var(--line); padding: 20px 0; }
.side-block:first-child { padding-top: 0; }
.side-title { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.f-check {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 14px; color: var(--ink); padding: 6px 0; cursor: pointer;
}
.f-check span { color: var(--muted); font-size: 12.5px; }
.f-check input { width: 16px; height: 16px; accent-color: var(--accent-2); }
.f-check:hover { color: var(--accent-2); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); transition: transform .2s, box-shadow .2s; }
.sw:hover { transform: scale(1.12); box-shadow: 0 0 0 3px var(--ring); }
.sw.gold { background: linear-gradient(135deg, #f7d98c, #c9922e); }
.sw.silver { background: linear-gradient(135deg, #f2f2f2, #9a9a9a); }
.sw.rose { background: linear-gradient(135deg, #f3c3bd, #c2706a); }
.sw.black { background: linear-gradient(135deg, #4c4c4c, #111); }
.side-clear { width: 100%; margin-top: 20px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.toolbar-count { font-size: 13.5px; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.sort select {
  padding: 9px 14px; border-radius: var(--radius); border: 1.5px solid var(--line-2);
  background: var(--surface); outline: none; cursor: pointer;
}
.sort select:focus { border-color: var(--accent); }
.shop-main .p-grid { margin-bottom: 46px; }
.pagination { display: flex; justify-content: center; gap: 8px; }
.page-btn {
  min-width: 42px; height: 42px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); border: 1.5px solid var(--line-2); font-weight: 600; font-size: 14px;
  transition: background .2s, color .2s, border-color .2s;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent-2); }
.page-btn.active { background: var(--ink-2); border-color: var(--ink-2); color: var(--badge-ink); }
.page-btn.next svg { width: 16px; height: 16px; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; padding: 46px 24px 40px; align-items: start; }
.gallery { position: sticky; top: 96px; }
.g-main {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
}
.g-main img { width: 100%; aspect-ratio: 1/1.05; object-fit: cover; }
.g-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.thumb {
  border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line);
  background: var(--bg-2); padding: 0; opacity: .75; transition: opacity .2s, border-color .2s;
}
.thumb img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.thumb.active, .thumb:hover { border-color: var(--accent-2); opacity: 1; }
.info-cat { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.info-title { font-size: clamp(28px, 3vw, 36px); margin: 8px 0 12px; }
.info-rate { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.info-rate a { color: var(--accent-2); font-weight: 600; }
.in-stock { color: #3c9a5a; font-weight: 600; }
.in-stock::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3c9a5a; margin-right: 6px; vertical-align: 1px; }
.info-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.info-price .now { font-family: var(--head-font); font-size: 30px; font-weight: 700; color: var(--ink-2); }
.info-price .was { font-size: 17px; color: var(--muted); text-decoration: line-through; }
.info-price .save { background: var(--soft); color: var(--accent-2); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.info-desc { color: var(--muted); margin-bottom: 26px; }
.opt { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.opt-label { font-size: 13.5px; font-weight: 700; min-width: 58px; }
.buy-row { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.qty {
  display: flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
}
.qty button { width: 44px; height: 100%; font-size: 19px; color: var(--ink-2); transition: background .2s, color .2s; }
.qty button:hover { background: var(--soft); color: var(--accent-2); }
.qty input {
  width: 48px; height: 100%; border: 0; text-align: center; font-weight: 700; font-size: 15px; outline: none;
}
.buy-btn { flex: 1; min-width: 170px; padding: 16px 24px; }
.buy-btn svg { width: 17px; height: 17px; }
.heart-big { width: 54px; border-radius: var(--radius); border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--ink-2); transition: color .2s, border-color .2s; }
.heart-big:hover { color: #e2543e; border-color: #e2543e; }
.heart-big svg { width: 20px; height: 20px; }
.meta { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 8px; }
.meta li { font-size: 13.5px; padding: 4px 0; color: var(--muted); }
.meta li strong { color: var(--ink-2); font-weight: 600; margin-right: 6px; }
.meta a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.meta a:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 4px; font-family: var(--head-font); font-size: 16px; font-weight: 600; color: var(--ink-2);
  transition: color .2s;
}
.acc-head:hover { color: var(--accent-2); }
.acc-head .chev { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s; }
.acc-item.open .chev { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 4px 22px; color: var(--muted); font-size: 14.5px; }
.acc-item.open .acc-body { display: block; }
.review { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.review:first-child { border-top: 0; }
.r-ava {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  background: var(--soft); color: var(--accent-2); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.r-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.r-head strong { color: var(--ink-2); font-size: 14px; }
.r-head .stars { font-size: 12px; }
.r-head time { font-size: 12px; color: var(--muted); }
.review p { margin: 0; font-size: 14px; }

/* ---------- Related ---------- */
.related { background: var(--bg-2); border-top: 1px solid var(--line); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 0; }
  .nav-link { padding: 9px 10px; font-size: 13px; }
  .hero-media { width: 44%; }
  .p-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .brand { margin-right: auto; }
  .header-in { gap: 12px; }
  .hero-in { min-height: 560px; }
  .hero-media { width: 40%; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .shop-layout { grid-template-columns: 1fr; }
  .side { position: static; display: none; }
  .pdp { grid-template-columns: 1fr; gap: 34px; }
  .gallery { position: static; }
  .story-in { grid-template-columns: 1fr; gap: 46px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .topbar-links { display: none; }
  .hero-in { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-media { position: relative; width: 100%; height: 300px; order: -1; }
  .hero-content { padding: 34px 0 48px; }
  .float-card { display: none; }
  .usp-in { grid-template-columns: 1fr 1fr; gap: 18px; }
  .usp-item { justify-content: flex-start; }
  .cat-grid { grid-template-columns: 1fr; }
  .p-grid, .p-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .news-form input { width: 100%; }
  .f-grid { grid-template-columns: 1fr; gap: 30px; }
  .promo-bg { height: 320px; }
  .promo-content { left: 5%; right: 5%; }
  .stat-row { gap: 26px; }
  .buy-row .buy-btn { min-width: 130px; }
}

/* ==========================================================================
   B2C mall homepage additions (shared)
   ========================================================================== */

/* Sale code chip in announcement bar */
.topbar .code {
  display: inline-block; background: var(--danger); color: #fff;
  padding: 1px 10px; border-radius: 999px; font-weight: 700; letter-spacing: .12em;
}

/* Hot-sale nav link */
.nav-link.hot { color: var(--danger); }
.nav-link.hot:hover, .nav-link.hot.active { background: var(--danger-soft); color: var(--danger); }

/* Hero sale badge */
.hero-badge {
  display: inline-block; background: var(--danger); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 18px; box-shadow: var(--shadow);
}

/* Hero float card — product price promo */
.float-card .f-was { display: block; font-size: 12px; color: var(--muted); text-decoration: line-through; }
.float-card .f-now { display: block; font-size: 16px; font-weight: 700; color: var(--danger); }
.float-card .f-off {
  position: absolute; top: -9px; right: -7px; background: var(--danger); color: #fff;
  font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
}

/* ---------- Coupon strip ---------- */
.coupons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coupon {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 2px dashed var(--accent); background: var(--surface);
  border-radius: var(--radius); padding: 18px 20px;
}
.coupon-info strong { display: block; font-size: 14.5px; color: var(--ink-2); }
.coupon-info span { font-size: 12.5px; color: var(--muted); }
.coupon-code {
  background: var(--soft); color: var(--accent-2); font-size: 13px; font-weight: 700;
  letter-spacing: .12em; padding: 7px 14px; border-radius: 999px; white-space: nowrap;
}
.copy-btn {
  border: 1.5px solid var(--accent); color: var(--accent-2); background: transparent;
  padding: 8px 18px; border-radius: 999px; font-size: 12px; font-weight: 700;
  min-width: 74px; transition: background .2s, color .2s;
}
.copy-btn:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- Category circles ---------- */
.cat-circles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; }
.cat-circle { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cat-circle .ring {
  display: block; width: 100%; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--surface); box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cat-circle img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .45s ease; }
.cat-circle:hover .ring { transform: translateY(-5px); box-shadow: 0 0 0 4px var(--ring), var(--shadow); }
.cat-circle:hover img { transform: scale(1.07); }
.cat-circle strong { font-family: var(--head-font); font-size: 15px; color: var(--ink-2); }
.cat-circle em { font-style: normal; font-size: 12px; color: var(--muted); }

/* ---------- Flash sale ---------- */
.flash { background: var(--flash-bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 74px 0; }
.flash-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 38px; }
.flash-title { display: flex; align-items: center; gap: 16px; }
.bolt {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%;
  background: var(--danger); color: #fff; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.bolt svg { width: 24px; height: 24px; }
.flash-title h2 { margin: 0 0 2px; }
.flash-title p { margin: 0; font-size: 13.5px; color: var(--muted); }
.countdown { display: flex; align-items: center; gap: 10px; }
.cd-box {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  min-width: 68px; padding: 9px 12px; text-align: center; box-shadow: var(--shadow);
}
.cd-num { display: block; font-weight: 700; font-size: 22px; color: var(--ink-2); font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd-label { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.cd-sep { font-weight: 700; color: var(--muted); font-size: 20px; }

/* Sold-out progress */
.sold { margin-top: 12px; }
.sold-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.sold-row b { color: var(--danger); font-weight: 700; }
.sold-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.sold-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--danger)); }

/* ---------- Duo promo banners ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-item { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; }
.duo-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.duo-item:hover img { transform: scale(1.04); }
.duo-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.45) 60%); }
.duo-content {
  position: relative; z-index: 2; min-height: 320px; padding: 40px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: var(--ink-2);
}
.duo-content .eyebrow { color: var(--danger); margin-bottom: 10px; }
.duo-content .eyebrow::before, .duo-content .eyebrow::after { background: var(--danger); }
.duo-content h3 { color: var(--ink-2); font-size: clamp(23px, 2.6vw, 30px); margin: 0 0 10px; }
.duo-content p { color: var(--ink); font-size: 14px; margin: 0 0 22px; max-width: 340px; }

/* ---------- Instagram strip ---------- */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.insta-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .4s ease; }
.insta-item:hover img { transform: scale(1.07); }
.insta-item::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.55); opacity: 0; transition: opacity .3s; }
.insta-item:hover::after { opacity: 1; }
.insta-item svg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 26px; height: 26px; color: var(--ink-2); opacity: 0; transition: opacity .3s;
}
.insta-item:hover svg { opacity: 1; }

/* ---------- B2C additions: responsive ---------- */
@media (max-width: 991px) {
  .coupons { grid-template-columns: 1fr; }
  .cat-circles { grid-template-columns: repeat(3, 1fr); }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cat-circles { grid-template-columns: repeat(2, 1fr); }
  .insta { grid-template-columns: repeat(3, 1fr); }
  .flash-head { align-items: flex-start; flex-direction: column; }
  .coupon { flex-wrap: wrap; }
}
