/* KAKOBUY route bundle 2.0.32-route-bundles-v1 */
/* styles.css — CSS route bundle */
:root {
  --bg: #0b0b0c;
  --surface: #131315;
  --surface-2: #1a1a1d;
  --line: #29292d;
  --text: #f5f3ef;
  --muted: #8c8c92;
  --blue: #2868e8;
  --blue-light: #4f84ef;
  --green: #69e071;
  --white: #ffffff;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  overflow-x: hidden;
}
body.menu-open, body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(22px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,12,.88);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 25px);
  letter-spacing: -.45px;
  line-height: 1;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
}
.brand strong { color: var(--blue-light); font-weight: 400; }
.desktop-nav { display: flex; gap: 34px; }
.desktop-nav a {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: #aaaab0;
  transition: color .2s ease;
}
.desktop-nav a:hover { color: var(--white); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 25px; }
.icon-text-btn, .menu-toggle {
  border: 0; background: transparent; cursor: pointer;
}
.icon-text-btn {
  display: inline-flex; align-items: center; gap: 8px; color: #aaaab0;
  font-family: var(--mono); text-transform: uppercase; font-size: 12px;
}
.icon-text-btn svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.menu-toggle { width: 28px; height: 28px; position: relative; padding: 4px; }
.menu-toggle span { position: absolute; left: 4px; right: 4px; height: 1.5px; background: #ddd; transition: .25s ease; }
.menu-toggle span:first-child { top: 9px; }
.menu-toggle span:last-child { top: 17px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 13px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 13px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; z-index: 45; inset: 82px 0 auto 0;
  background: #101012; border-bottom: 1px solid var(--line);
  padding: 28px clamp(22px, 5vw, 76px) 36px;
  display: grid; gap: 6px;
  transform: translateY(-120%); opacity: 0; visibility: hidden;
  transition: .35s cubic-bezier(.2,.8,.2,1);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a, .mobile-menu button {
  padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: none;
  font-family: var(--display); text-align: left; font-size: 30px; cursor: pointer;
}

.section-shell { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.hero {
  min-height: 720px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(44px, 7vw, 110px);
  align-items: center; padding-top: 78px; padding-bottom: 86px;
}
.eyebrow, .section-kicker {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; }
.eyebrow span { width: 28px; height: 2px; background: var(--blue); }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; line-height: .94; letter-spacing: -.018em; }
h1 { font-size: clamp(64px, 7.15vw, 112px); }
h1 em { color: var(--blue-light); font-style: normal; }
.hero-copy > p { color: #a3a3a8; max-width: 610px; font-family: var(--mono); line-height: 1.7; font-size: 14px; margin: 27px 0; }
.hero-search {
  max-width: 650px; height: 62px; border: 1px solid #303034; border-radius: 13px; background: #171719;
  display: flex; align-items: center; padding: 0 18px; gap: 14px; transition: border .2s, box-shadow .2s;
}
.hero-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,104,232,.14); }
.hero-search svg { width: 20px; fill: none; stroke: #77777d; stroke-width: 1.7; flex: none; }
.hero-search input { border: 0; outline: 0; background: transparent; color: white; width: 100%; font-family: var(--mono); font-size: 13px; }
.hero-search input::placeholder { color: #6e6e74; }
.hero-search kbd { border: 1px solid #35353a; color: #77777d; border-radius: 5px; padding: 2px 7px; font-family: var(--mono); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn {
  min-height: 50px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 30px;
  border-radius: 8px; border: 1px solid transparent; text-transform: uppercase; font-family: var(--mono); font-size: 11px; font-weight: 600;
  cursor: pointer; transition: transform .2s, background .2s, border .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-light); }
.btn-outline { border-color: #39393e; color: #c9c9ce; }
.btn-outline:hover { border-color: #777; background: #161618; }
.trust-row { display: flex; gap: 42px; margin-top: 42px; }
.trust-row div { display: flex; flex-direction: column; gap: 5px; }
.trust-row strong { font-family: var(--display); font-size: 24px; font-weight: 400; }
.trust-row span { color: var(--muted); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }

.hero-visual { position: relative; min-height: 580px; display: grid; place-items: center; }
.visual-orbit { position: absolute; border: 1px solid #25252a; border-radius: 50%; }
.orbit-one { width: 540px; height: 540px; }
.orbit-two { width: 380px; height: 380px; border-style: dashed; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-product-card {
  width: min(410px, 76vw); aspect-ratio: .82; background: #c9d0d8; border-radius: 32px; overflow: hidden;
  position: relative; transform: rotate(3deg); box-shadow: 0 35px 90px rgba(0,0,0,.42);
}
.hero-product-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.card-stamp { position: absolute; top: 20px; left: 20px; z-index: 2; padding: 8px 10px; color: #111; background: rgba(255,255,255,.82); backdrop-filter: blur(8px); border-radius: 20px; font: 600 9px var(--mono); }
.floating-tag { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 4px; padding: 13px 16px; min-width: 110px; background: rgba(11,11,12,.88); backdrop-filter: blur(12px); border: 1px solid #39393c; border-radius: 10px; transform: rotate(-3deg); }
.floating-tag span { color: #898990; font: 9px var(--mono); text-transform: uppercase; }
.floating-tag strong { font: 400 18px var(--display); }
.tag-top { right: -38px; top: 105px; }
.tag-bottom { left: -42px; bottom: 75px; }
.verified-pill { position: absolute; bottom: 24px; right: 10px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 30px; background: var(--green); color: #0e1a0e; font: 600 10px var(--mono); text-transform: uppercase; transform: rotate(-4deg); }
.verified-pill svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #101012; }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 34px; padding: 19px 0; animation: marquee 26s linear infinite; }
.ticker-track span { font: 400 18px var(--display); letter-spacing: .04em; }
.ticker-track i { color: var(--blue-light); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.categories { padding-top: 120px; padding-bottom: 125px; }
.section-heading, .product-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading h2, .product-heading h2, .how-intro h2, .community-copy h2 { font-size: clamp(48px, 6vw, 82px); margin-top: 15px; }
.section-heading sup { font: 600 11px var(--mono); color: var(--blue-light); margin-left: 8px; vertical-align: top; }
.text-link { border: 0; background: transparent; color: #bdbdc3; font: 600 10px var(--mono); text-transform: uppercase; cursor: pointer; padding: 15px 0; }
.text-link span { color: var(--blue-light); margin-left: 10px; }
.category-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-template-rows: 320px 320px; gap: 14px; }
.category-card {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #171719;
  cursor: pointer; text-align: left; padding: 0; isolation: isolate; color: white; text-decoration: none;
}
.category-wide { grid-row: span 2; }
.category-dark { grid-column: span 2; }
.category-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 40%, rgba(0,0,0,.38)); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .4s; filter: grayscale(.22) brightness(.82); }
.category-card:hover img { transform: scale(1.04); filter: grayscale(0) brightness(.95); }
.category-meta { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 19px 20px; font: 600 10px var(--mono); text-transform: uppercase; }
.category-meta strong { color: #bdbdc2; font-weight: 400; }
.card-arrow { position: absolute; z-index: 2; bottom: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,10,11,.78); border: 1px solid #444; transition: .25s; }
.category-card:hover .card-arrow { background: var(--blue); border-color: var(--blue); transform: rotate(45deg); }

.product-section { padding-bottom: 130px; }
.product-heading { align-items: center; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-tabs button { border: 1px solid #333338; color: #85858a; background: transparent; padding: 10px 14px; border-radius: 6px; font: 600 9px var(--mono); text-transform: uppercase; cursor: pointer; }
.filter-tabs button.active, .filter-tabs button:hover { color: white; background: var(--blue); border-color: var(--blue); }
.results-line { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 18px 0 22px; color: #77777d; font: 10px var(--mono); text-transform: uppercase; }
.results-line select { background: transparent; color: #aaaab0; border: 0; outline: 0; font: 10px var(--mono); text-transform: uppercase; }
.results-line select option { background: #151517; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 14px; }
.product-card { min-width: 0; }
.product-image {
  aspect-ratio: .86; background: #171719; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; position: relative; cursor: pointer;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform .5s, filter .4s; }
.product-image-link { display: block; width: 100%; height: 100%; }
.product-title-link { display: block; color: inherit; text-decoration: none; }
.product-title-link:hover h3 { color: var(--blue-light); }
.product-card:hover img { transform: scale(1.035); filter: saturate(1); }
.product-badge { position: absolute; top: 12px; left: 12px; z-index: 2; color: #101012; background: #f0eee9; border-radius: 4px; padding: 6px 8px; font: 600 8px var(--mono); text-transform: uppercase; }
.save-btn { position: absolute; z-index: 2; top: 10px; right: 10px; width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(10,10,11,.5); backdrop-filter: blur(8px); display: grid; place-items: center; cursor: pointer; }
.save-btn svg { width: 16px; fill: none; stroke: white; stroke-width: 1.7; }
.save-btn.saved { background: var(--blue); border-color: var(--blue); }
.save-btn.saved svg { fill: white; }
.quick-view { position: absolute; display: grid; place-items: center; text-decoration: none; left: 12px; right: 12px; bottom: 12px; height: 43px; background: rgba(10,10,11,.9); color: white; border: 1px solid #404045; border-radius: 7px; font: 600 9px var(--mono); text-transform: uppercase; cursor: pointer; transform: translateY(70px); opacity: 0; transition: .3s ease; }
.product-card:hover .quick-view { transform: translateY(0); opacity: 1; }
.product-card:focus-within .quick-view { transform: translateY(0); opacity: 1; }
.product-info { padding: 13px 3px 0; }
.product-info .product-cat { font: 9px var(--mono); color: #6f6f76; text-transform: uppercase; }
.product-info h3 { font-size: 14px; line-height: 1.35; font-weight: 600; margin: 7px 0 8px; }
.product-price { display: flex; align-items: center; justify-content: space-between; }
.product-price strong { font: 400 21px var(--display); color: #e9e7e1; }
.product-price span { font: 9px var(--mono); color: #6f6f76; }
.empty-state { padding: 90px 20px; text-align: center; border: 1px dashed #333; border-radius: 14px; }
.empty-state > span { font: 10px var(--mono); color: var(--blue-light); }
.empty-state-title { font: 400 44px var(--display); margin: 12px 0; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }

.how-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; padding: 120px 0; border-top: 1px solid var(--line); }
.how-intro p { max-width: 430px; color: var(--muted); line-height: 1.7; font-size: 14px; }
.steps { display: flex; flex-direction: column; }
.steps article { display: grid; grid-template-columns: 70px 1fr; gap: 15px; padding: 34px 0; border-top: 1px solid #303034; }
.steps article:last-child { border-bottom: 1px solid #303034; }
.steps article > span { color: var(--blue-light); font: 600 11px var(--mono); }
.steps h3 { font: 400 32px var(--display); text-transform: uppercase; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 470px; font-size: 13px; }

.community { padding-bottom: 130px; }
.community-card { min-height: 470px; background: var(--blue); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.community-copy { padding: clamp(45px, 6vw, 85px); position: relative; z-index: 2; }
.section-kicker.light { color: rgba(255,255,255,.65); }
.community-copy p { max-width: 500px; line-height: 1.65; color: rgba(255,255,255,.75); }
.btn-light { margin-top: 15px; background: white; color: #111; }
.community-art { position: relative; overflow: hidden; }
.community-ring { position: absolute; width: 570px; height: 570px; border: 90px solid rgba(255,255,255,.08); border-radius: 50%; right: -100px; top: -55px; }
.chat { position: absolute; z-index: 2; background: #0f0f11; border: 1px solid #39393f; border-radius: 12px; padding: 15px 18px; min-width: 170px; box-shadow: 0 18px 50px rgba(0,0,0,.25); transform: rotate(-4deg); }
.chat span { display: block; font: 600 12px var(--mono); }
.chat small { color: #6f6f77; font: 8px var(--mono); }
.chat-a { top: 85px; left: 5%; }
.chat-b { top: 195px; right: 10%; transform: rotate(5deg); }
.chat-c { bottom: 75px; left: 18%; transform: rotate(2deg); }

.site-footer { border-top: 1px solid var(--line); padding-top: 70px; padding-bottom: 30px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-bottom: 70px; }
.footer-brand p { color: var(--muted); max-width: 380px; font-family: var(--mono); font-size: 11px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.footer-links div { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4 { margin: 0 0 7px; font: 400 20px var(--display); text-transform: uppercase; }
.footer-links a { color: #85858b; font-size: 12px; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 50px; align-items: start; font: 8px var(--mono); color: #6f6f75; text-transform: uppercase; line-height: 1.6; }
.footer-bottom p { margin: 0; text-align: center; }

.toast { position: fixed; z-index: 110; bottom: 25px; left: 50%; transform: translate(-50%, 100px); opacity: 0; padding: 13px 19px; border-radius: 8px; background: white; color: #111; font: 600 10px var(--mono); text-transform: uppercase; transition: .3s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { min-height: 650px; }
  .category-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 290px 290px; }
  .category-wide { grid-column: span 2; grid-row: auto; }
  .category-dark { grid-column: span 2; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .how-section { gap: 5vw; }
  .community-card { grid-template-columns: 1.1fr .9fr; }
}

@media (max-width: 760px) {
  .section-shell { width: min(100% - 32px, 680px); }
  .site-header { height: 68px; padding-inline: 16px; }
  .brand { font-size: 18px; gap: 4px; letter-spacing: -.3px; }
  .sign-in-btn { display: none; }
  .mobile-menu { inset: 68px 0 auto; }
  .hero { padding-top: 60px; padding-bottom: 50px; gap: 25px; min-height: auto; }
  h1 { font-size: clamp(58px, 18vw, 84px); }
  .hero-copy > p { font-size: 12px; margin: 20px 0; }
  .hero-search { height: 57px; }
  .hero-actions .btn { flex: 1; padding-inline: 15px; gap: 15px; }
  .trust-row { gap: 22px; justify-content: space-between; }
  .trust-row strong { font-size: 20px; }
  .trust-row span { font-size: 7px; }
  .hero-visual { min-height: 490px; }
  .orbit-one { width: 410px; height: 410px; }
  .orbit-two { width: 300px; height: 300px; }
  .hero-product-card { width: min(310px, 78vw); border-radius: 22px; }
  .tag-top { right: -25px; top: 70px; }
  .tag-bottom { left: -18px; bottom: 54px; }
  .verified-pill { bottom: 5px; right: 0; }
  .categories { padding-block: 80px; }
  .section-heading, .product-heading { align-items: flex-start; flex-direction: column; margin-bottom: 30px; }
  .section-heading h2, .product-heading h2, .how-intro h2, .community-copy h2 { font-size: 54px; }
  .category-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; }
  .category-card, .category-wide, .category-dark { flex: 0 0 78vw; height: 390px; scroll-snap-align: start; }
  .product-section { padding-bottom: 85px; }
  .filter-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 5px; }
  .filter-tabs button { white-space: nowrap; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 10px; }
  .product-info h3 { font-size: 12px; }
  .product-price strong { font-size: 18px; }
  .quick-view { display: none; }
  .how-section { grid-template-columns: 1fr; padding: 85px 0; }
  .how-intro p { font-size: 13px; }
  .community { padding-bottom: 85px; }
  .community-card { grid-template-columns: 1fr; min-height: 650px; }
  .community-copy { padding: 45px 28px; }
  .community-art { min-height: 280px; }
  .community-ring { width: 430px; height: 430px; right: -120px; top: -60px; }
  .footer-top { grid-template-columns: 1fr; padding-bottom: 45px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { grid-template-columns: 1fr; gap: 12px; }
  .footer-bottom p { text-align: left; }
}

@media (max-width: 430px) {
  .site-header { padding-inline: 16px; }
  .brand { font-size: 16px; gap: 3px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .category-card, .category-wide, .category-dark { flex-basis: 84vw; }
  .results-line { align-items: flex-start; gap: 15px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Search-focused homepage introduction */
.seo-intro { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(48px,8vw,130px); padding-top: 110px; padding-bottom: 120px; border-top: 1px solid var(--line); }
.seo-intro-heading h2 { margin-top: 15px; font-size: clamp(48px,6vw,82px); }
.seo-intro-copy > p { margin: 0 0 18px; max-width: 740px; color: var(--muted); font: 13px/1.8 var(--mono); }
.seo-intro-copy > small { display: block; margin-top: 24px; color: #73737a; font: 9px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.seo-intro-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 34px; }
.seo-intro-links a { min-height: 128px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); transition: border-color .2s,transform .2s; }
.seo-intro-links a:hover { border-color: var(--blue-light); transform: translateY(-2px); }
.seo-intro-links span { color: #73737a; font: 8px var(--mono); text-transform: uppercase; }
.seo-intro-links strong { color: #ededee; font: 400 22px/1.05 var(--display); text-transform: uppercase; }
@media (max-width: 900px) { .seo-intro { grid-template-columns: 1fr; gap: 35px; } }
@media (max-width: 680px) { .seo-intro { padding-top: 80px; padding-bottom: 85px; } .seo-intro-heading h2 { font-size: 54px; } .seo-intro-links { grid-template-columns: 1fr; } .seo-intro-links a { min-height: 105px; } }

/* Simplified, product-first homepage */
.home-page .hero {
  min-height: 0;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .68fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: stretch;
  padding-top: clamp(58px, 7vw, 96px);
  padding-bottom: clamp(54px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}
.home-page .hero-copy { align-self: center; max-width: 820px; }
.home-page .hero h1 { font-size: clamp(70px, 8.5vw, 132px); line-height: .9; }
.home-page .hero-copy > p { max-width: 720px; margin: 24px 0; }
.home-page .hero-search { max-width: 720px; height: 64px; padding-right: 7px; }
.home-page .hero-search kbd { display: none; }
.home-page .hero-search button {
  flex: none;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  padding: 14px 18px;
  font: 600 10px var(--mono);
  text-transform: uppercase;
  cursor: pointer;
}
.home-page .hero-search button:hover { background: var(--blue-light); }
.home-page .hero-actions { margin-top: 18px; }
.home-page .trust-row { margin-top: 34px; padding-top: 25px; border-top: 1px solid var(--line); }
.home-page .trust-row div { min-width: 0; }
.home-page .trust-row strong { font-size: clamp(21px, 2vw, 28px); }
.home-page .hero-disclaimer {
  margin: 18px 0 0;
  color: #696970;
  font: 8px/1.6 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.featured-find {
  display: grid;
  grid-template-rows: auto minmax(320px, 1fr) auto;
  border: 1px solid #303034;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color .2s ease, transform .2s ease;
}
.featured-find:hover { border-color: #4b4b52; transform: translateY(-2px); }
.featured-find-top,
.featured-find-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 19px;
  font: 9px var(--mono);
  text-transform: uppercase;
}
.featured-find-top { border-bottom: 1px solid var(--line); color: #73737a; }
.featured-find-top strong { color: var(--blue-light); font-weight: 600; }
.featured-image-wrap { overflow: hidden; background: #171719; }
.featured-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(.86);
  transition: transform .45s ease, filter .3s ease;
}
.featured-find:hover .featured-image-wrap img { transform: scale(1.025); filter: saturate(1); }
.featured-find-bottom { align-items: flex-end; border-top: 1px solid var(--line); }
.featured-find-bottom div { display: grid; gap: 5px; }
.featured-find-bottom span { color: #68686f; font-size: 7px; }
.featured-find-bottom strong { color: #e8e6e1; font-size: 10px; }
.featured-find-bottom b { color: var(--blue-light); font-weight: 600; white-space: nowrap; }

.category-shortcuts { padding-top: 64px; padding-bottom: 76px; }
.compact-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}
.compact-heading h2 { margin-top: 10px; font-size: clamp(42px, 5vw, 70px); }
.quick-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.quick-categories a {
  position: relative;
  min-height: 152px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.quick-categories a:hover { border-color: var(--blue-light); background: rgba(40,104,232,.08); transform: translateY(-2px); }
.quick-categories span { color: #65656c; font: 8px var(--mono); }
.quick-categories strong { align-self: end; font: 400 clamp(29px, 3vw, 42px)/1 var(--display); text-transform: uppercase; }
.quick-categories small { color: #85858c; font: 9px var(--mono); text-transform: uppercase; }
.quick-categories b { position: absolute; right: 17px; top: 15px; color: var(--blue-light); font-weight: 400; }

.home-page .product-section { padding-top: 0; padding-bottom: 84px; }
.home-page .product-heading h2 { font-size: clamp(48px, 6vw, 82px); }
.home-page .product-grid { gap: 30px 14px; }
.home-page .product-price span { text-transform: uppercase; }
.catalog-cta { display: flex; justify-content: center; padding-top: 42px; }

.buy-guide { padding-top: 74px; padding-bottom: 82px; border-top: 1px solid var(--line); }
.buy-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.buy-steps article { min-height: 210px; padding: 25px; background: var(--surface); }
.buy-steps article + article { border-left: 1px solid var(--line); }
.buy-steps article > span { color: var(--blue-light); font: 600 9px var(--mono); }
.buy-steps h3 { margin: 42px 0 10px; font: 400 30px/1 var(--display); text-transform: uppercase; }
.buy-steps p { margin: 0; max-width: 320px; color: var(--muted); font-size: 12px; line-height: 1.65; }

.home-page .seo-intro { gap: clamp(45px, 7vw, 100px); padding-top: 82px; padding-bottom: 90px; }
.home-page .seo-intro-heading h2 { font-size: clamp(44px, 5.4vw, 72px); }
.home-page .seo-intro-links a { min-height: 112px; }

@media (max-width: 1050px) {
  .home-page .hero { grid-template-columns: 1fr; }
  .featured-find { grid-template-rows: auto 420px auto; max-width: 760px; }
  .quick-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .home-page .hero { padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .home-page .hero h1 { font-size: clamp(58px, 18vw, 84px); }
  .home-page .hero-copy > p { font-size: 12px; }
  .home-page .hero-search { height: 58px; }
  .home-page .hero-search button { padding: 12px 13px; }
  .home-page .hero-actions { display: grid; grid-template-columns: 1fr; }
  .home-page .trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .home-page .trust-row strong { font-size: 18px; }
  .home-page .trust-row span { font-size: 6px; }
  .featured-find { grid-template-rows: auto 360px auto; }
  .featured-find-bottom { display: grid; grid-template-columns: 1fr 1fr; }
  .featured-find-bottom b { grid-column: 1 / -1; padding-top: 10px; }
  .category-shortcuts { padding-top: 56px; padding-bottom: 62px; }
  .compact-heading, .home-page .product-heading { align-items: flex-start; flex-direction: column; }
  .compact-heading h2 { font-size: 48px; }
  .quick-categories { grid-template-columns: 1fr 1fr; }
  .quick-categories a { min-height: 132px; padding: 15px; }
  .quick-categories strong { font-size: 28px; }
  .home-page .product-section { padding-bottom: 68px; }
  .buy-guide { padding-top: 62px; padding-bottom: 68px; }
  .buy-steps { grid-template-columns: 1fr; }
  .buy-steps article { min-height: 170px; }
  .buy-steps article + article { border-left: 0; border-top: 1px solid var(--line); }
  .buy-steps h3 { margin-top: 28px; }
  .home-page .seo-intro { padding-top: 68px; padding-bottom: 74px; }
}

@media (max-width: 430px) {
  .quick-categories { grid-template-columns: 1fr; }
  .quick-categories a { min-height: 116px; }
  .featured-find { grid-template-rows: auto 310px auto; }
}

/* catalog.css — CSS route bundle */
.desktop-nav a.active { color: white; }
.saved-link { display: inline-flex; align-items: center; gap: 8px; font: 600 10px var(--mono); text-transform: uppercase; color: #aaaab0; }
.saved-link span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 20px; display: grid; place-items: center; background: var(--blue); color: white; }
.catalog-hero { padding-top: 95px; padding-bottom: 80px; display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 70px; }
.catalog-hero h1 { margin-top: 16px; font-size: clamp(70px, 8vw, 126px); }
.catalog-hero h1 em { color: var(--blue-light); font-style: normal; }
.catalog-hero > p { color: var(--muted); font: 13px/1.8 var(--mono); max-width: 480px; margin: 0 0 12px; }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 50px; align-items: start; border-top: 1px solid var(--line); padding-top: 34px; padding-bottom: 130px; }
.mobile-filter-toggle { display:none; }
.catalog-sidebar { position: sticky; top: 112px; }
.filter-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); text-transform: uppercase; font: 600 11px var(--mono); }
.filter-title button, #reset-filters { border: 0; background: transparent; color: #77777d; cursor: pointer; text-transform: uppercase; font: 9px var(--mono); }
.filter-group { padding: 25px 0; border-bottom: 1px solid var(--line); }
.filter-group > label, .filter-label { display: block; margin-bottom: 13px; color: #8d8d93; text-transform: uppercase; font: 600 9px var(--mono); }
.catalog-search-wrap { height: 45px; display: flex; align-items: center; gap: 9px; border: 1px solid #343439; border-radius: 7px; padding: 0 11px; background: #151517; }
.catalog-search-wrap svg { width: 17px; fill: none; stroke: #777; stroke-width: 1.7; }
.catalog-search-wrap input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font: 11px var(--mono); }
.category-options { display: grid; gap: 7px; }
.category-option { width: 100%; display: flex; align-items: center; justify-content: space-between; border: 0; padding: 10px 11px; border-radius: 6px; background: transparent; cursor: pointer; color: #8c8c92; font: 10px var(--mono); text-align: left; }
.category-option:hover, .category-option.active { background: #1b1b1e; color: white; }
.category-option.active::before { content: ""; width: 5px; height: 5px; background: var(--blue-light); border-radius: 50%; margin-right: 8px; }
.category-option.active span:first-of-type { margin-right: auto; }
.category-option small { color: #626268; }
.filter-row, .range-labels { display: flex; justify-content: space-between; align-items: center; }
.filter-row .filter-label { margin: 0; }
.filter-row strong { font: 400 18px var(--display); }
.price-filter input { width: 100%; margin: 20px 0 9px; accent-color: var(--blue); }
.range-labels { color: #66666c; font: 8px var(--mono); }
.saved-only-control { display: flex; align-items: center; gap: 10px; padding: 22px 0; color: #aaaab0; font: 10px var(--mono); cursor: pointer; }
.saved-only-control input { accent-color: var(--blue); }
.catalog-note { margin-top: 12px; border: 1px solid #303034; border-radius: 10px; padding: 16px; background: #121214; }
.catalog-note span { color: var(--blue-light); font: 600 8px var(--mono); text-transform: uppercase; }
.catalog-note p { margin: 8px 0 0; color: #707077; font: 9px/1.6 var(--mono); }
.catalog-toolbar { min-height: 58px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.catalog-toolbar > div { display: flex; flex-direction: column; gap: 5px; }
.catalog-toolbar span { font: 400 25px var(--display); text-transform: uppercase; }
.catalog-toolbar small { color: #717178; font: 9px var(--mono); text-transform: uppercase; }
.catalog-toolbar select { background: #151517; border: 1px solid #333338; border-radius: 7px; color: #b9b9bf; padding: 10px 13px; outline: 0; font: 9px var(--mono); text-transform: uppercase; }
.catalog-toolbar option { background: #151517; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 20px; min-height: 0; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #343439; background: #171719; color: #aaaab0; border-radius: 20px; padding: 7px 10px; font: 8px var(--mono); text-transform: uppercase; }
.filter-chip button { border: 0; padding: 0; color: #777; background: none; cursor: pointer; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 14px; }
.catalog-products-heading {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.08;
}
.catalog-product .product-image { aspect-ratio: .82; }
.catalog-product .quick-view { display: grid; place-items: center; }
.catalog-product .product-title-link { display: block; }
.catalog-product .product-title-link:hover h3 { color: var(--blue-light); }
.catalog-product .rating { display: flex; align-items: center; gap: 6px; color: #7f7f85; font: 8px var(--mono); }
.catalog-product .rating strong { color: #d0d0d4; font-weight: 500; }
.catalog-product .rating i { color: var(--blue-light); font-style: normal; }
.catalog-footer { padding-top: 75px; }

@media (max-width: 1050px) {
  .catalog-layout { grid-template-columns: 220px 1fr; gap: 30px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .catalog-hero { grid-template-columns: 1fr; gap: 25px; padding-top: 65px; padding-bottom: 55px; }
  .catalog-hero h1 { font-size: clamp(66px, 20vw, 92px); }
  .catalog-layout { display: block; padding-top: 24px; padding-bottom: 90px; }
  .mobile-filter-toggle { width:100%; min-height:48px; display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; padding:0 15px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); font:800 12px var(--body); cursor:pointer; }
  .mobile-filter-toggle b { color:var(--accent); font-size:22px; font-weight:500; transition:transform .2s; }
  .mobile-filter-toggle[aria-expanded="true"] b { transform:rotate(45deg); }
  .catalog-sidebar { position: static; display:none; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-bottom: 28px; padding:0 14px 8px; border:1px solid var(--line); border-radius:8px; }
  .catalog-sidebar.open { display:grid; }
  .filter-title { grid-column: span 2; }
  .filter-group { min-width: 0; }
  .price-filter { grid-column: span 2; }
  .saved-only-control { grid-column: span 2; }
  .catalog-note { display: none; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 10px; }
  .catalog-toolbar { align-items: center; }
  .catalog-toolbar span { font-size: 21px; }
  .catalog-toolbar select { max-width: 165px; }
  .catalog-product .quick-view { display: none; }
  .saved-link { display: none; }
}
.catalog-main.is-loading { opacity: .55; pointer-events: none; }
.catalog-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; padding-top: 46px; }
.catalog-pagination:empty { display: none; }
.catalog-pagination button { min-width: 38px; height: 38px; border: 1px solid #333338; border-radius: 6px; background: #151517; color: #8c8c92; cursor: pointer; font: 9px var(--mono); }
.catalog-pagination button:hover, .catalog-pagination button.active { background: var(--blue); color: white; border-color: var(--blue); }
.catalog-pagination button:disabled { opacity: .35; cursor: default; }
.catalog-pagination span { color: #66666c; font: 9px var(--mono); padding: 0 4px; }

@media (max-width: 480px) {
  .catalog-sidebar { grid-template-columns: 1fr; gap: 0; }
  .filter-title, .price-filter, .saved-only-control, .admin-search { grid-column: auto; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .catalog-toolbar select { width: 100%; max-width: none; }
}

/* Search-friendly category and pagination links */
.catalog-pagination a,.catalog-pagination .disabled { min-width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid #333338; border-radius: 6px; background: #151517; color: #8c8c92; font: 9px var(--mono); }
.catalog-pagination a:hover,.catalog-pagination a.active { background: var(--blue); color: white; border-color: var(--blue); }
.catalog-pagination .disabled { opacity: .35; }
.empty-state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 18px; }
.empty-state-actions .btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; }
.catalog-seo { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.7fr); gap: clamp(50px,8vw,120px); padding-top: 80px; padding-bottom: 95px; border-top: 1px solid var(--line); }
.catalog-seo h2 { margin: 14px 0 20px; font-size: clamp(48px,6vw,92px); line-height: .9; }
.catalog-seo > div > p { max-width: 720px; color: #909096; font: 13px/1.75 var(--mono); }
.catalog-faq { display: grid; align-content: start; gap: 9px; }
.catalog-faq details { border: 1px solid var(--line); border-radius: 8px; background: #111113; }
.catalog-faq summary { padding: 17px 18px; cursor: pointer; color: #dddde1; font: 600 10px var(--mono); }
.catalog-faq-item h3 { margin: 0 0 8px; color: var(--ink); font: 700 14px/1.35 var(--body, Inter, sans-serif); letter-spacing: 0; }
.catalog-faq p { margin: 0; padding: 0 18px 18px; color: #85858b; font: 10px/1.7 var(--mono); }
@media (max-width: 760px) { .catalog-seo { grid-template-columns: 1fr; gap: 35px; padding-top: 55px; padding-bottom: 70px; } }

/* minimal-theme.css — CSS route bundle */
/*
 * Public catalog theme v0.11.0
 * A light, fast, product-first interface inspired by the clarity of leading
 * spreadsheet catalogs. The layout, copy and components remain original.
 */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7f4;
  --line: #e3e2dd;
  --text: #171717;
  --muted: #6f6f6b;
  --blue: #f12b3d;
  --blue-light: #f12b3d;
  --green: #198754;
  --white: #ffffff;
  --accent: #f12b3d;
  --accent-soft: #ffe9ec;
  --ink: #171717;
  --paper: #ffffff;
  --soft: #f7f7f4;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --radius: 8px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  letter-spacing: -0.01em;
}

.noise { display: none; }
.section-shell { width: min(1240px, calc(100% - 48px)); }

.site-header {
  height: 72px;
  padding: 0 clamp(20px, 4vw, 64px);
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}
.brand {
  gap: 4px;
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 800;
  letter-spacing: -0.045em;
}
.brand span { font-weight: 800; }
.brand strong { color: var(--accent); font-weight: 800; }
.desktop-nav { gap: clamp(18px, 2.7vw, 36px); }
.desktop-nav a,
.icon-text-btn,
.saved-link {
  color: #4f4f4b;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.desktop-nav a:hover,
.desktop-nav a.active,
.icon-text-btn:hover,
.saved-link:hover { color: var(--accent); }
.saved-link span { background: var(--accent); }
.saved-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #f3b8bf;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.saved-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.saved-link__label { color: inherit; }
.saved-link b { min-width: 19px; height: 19px; display: inline-grid; place-items: center; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; line-height: 1; }
.menu-toggle span { background: var(--ink); }
.mobile-menu {
  inset: 72px 0 auto;
  background: #fff;
  border-bottom-color: var(--line);
}
.mobile-menu a,
.mobile-menu button {
  color: var(--ink);
  border-bottom-color: var(--line);
  font-family: var(--body);
  font-size: 24px;
  font-weight: 750;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
}
.eyebrow { justify-content: center; margin-bottom: 20px; }
.eyebrow span { background: var(--accent); }
h1,
h2 {
  color: var(--ink);
  font-family: var(--body);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: .98;
}
h1 em,
.catalog-hero h1 em,
.brands-hero h1 em,
.content-hero h1 em { color: var(--accent); }

.btn {
  min-height: 50px;
  border-radius: 7px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #d91f31; border-color: #d91f31; }
.btn-outline {
  background: #fff;
  border-color: #c9c8c2;
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.text-link { color: var(--ink); font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: none; }
.text-link:hover { color: var(--accent); }

/* Home */
.home-page .hero {
  min-height: 500px;
  grid-template-columns: 1fr;
  place-items: center;
  padding-top: 54px;
  padding-bottom: 46px;
  text-align: center;
}
.home-page .hero-copy { width: min(900px, 100%); }
.home-page .hero h1 { font-size: clamp(58px, 8vw, 104px); }
.home-page .hero-copy > p {
  max-width: 720px;
  margin: 20px auto;
  color: var(--muted);
  font-family: var(--body);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
}
.featured-find { display: none; }
.hero-search {
  max-width: 720px;
  height: 62px;
  margin-inline: auto;
  padding: 0 8px 0 19px;
  gap: 12px;
  background: #fff;
  border: 1.5px solid #bdbcb6;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(21,21,21,.06);
}
.hero-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero-search svg { stroke: #777773; }
.hero-search input { color: var(--ink); font-family: var(--body); font-size: 15px; }
.hero-search input::placeholder { color: #92928d; }
.hero-search button {
  height: 46px;
  padding: 0 23px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}
.hero-search button:hover { background: #d91f31; }
.hero-actions { justify-content: center; }
.hero-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #777771;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .02em;
}
.hero-updated::before { content: "●"; color: var(--accent); font-size: 8px; }

.hero-catalog-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  width: 100%;
}
.hero-catalog-meta .hero-updated { margin-top: 0; }
.hero-spreadsheet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.hero-spreadsheet-link span { color: var(--accent); }
.hero-spreadsheet-link:hover { color: var(--accent); }
.trust-row {
  width: min(680px,100%);
  margin: 34px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-row div { border-color: var(--line); }
.trust-row strong { color: var(--ink); font-family: var(--body); font-size: 19px; }
.trust-row span { color: var(--muted); font-family: var(--body); font-size: 11px; }
.hero-disclaimer { color: #898984 !important; font-size: 11px !important; }

.category-shortcuts { padding-top: 44px; padding-bottom: 66px; }
.compact-heading,
.product-heading { margin-bottom: 28px; }
.compact-heading h2,
.product-heading h2 { margin-top: 8px; font-size: clamp(38px, 5vw, 64px); }
.quick-categories { gap: 10px; }
.quick-categories a {
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}
.quick-categories a:hover { border-color: var(--ink); background: var(--ink); transform: translateY(-2px); }
.quick-categories span,
.quick-categories small { color: rgba(255,255,255,.8); }
.quick-categories strong { font-family: var(--body); font-size: clamp(22px, 2.2vw, 30px); font-weight: 780; letter-spacing: -.04em; text-transform: none; }
.quick-categories b { color: #fff; }

.product-section { padding-top: 78px; padding-bottom: 95px; border-top: 1px solid var(--line); }
.filter-tabs { gap: 5px; }
.filter-tabs button {
  border-color: var(--line);
  background: #fff;
  color: #666661;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
}
.filter-tabs button:hover,
.filter-tabs button.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.results-line { color: var(--muted); border-top-color: var(--line); font-family: var(--body); font-size: 11px; text-transform: none; }
.results-line select { color: var(--ink); font-family: var(--body); text-transform: none; }
.results-line select option { background: #fff; }

.product-grid,
.catalog-grid,
.related-grid {
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.product-card,
.catalog-product,
.related-card {
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-image {
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: var(--soft);
}
.product-image::after { display: none; }
.product-image img { filter: none; object-fit: contain; }
.product-card:hover img { transform: scale(1.025); filter: none; }
.product-badge,
.rating { display: none; }
.quick-view {
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 42px;
  border-radius: 6px;
  background: rgba(241,43,61,.94);
  color: #fff;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 750;
  text-transform: none;
}
.save-btn { background: rgba(255,255,255,.92); border-color: #d9d8d2; }
.save-btn svg { stroke: var(--ink); }
.save-btn.saved { background: var(--accent); border-color: var(--accent); }
.product-info { min-height: 124px; padding: 15px 16px 17px; }
.product-info .product-cat { color: #8a8a85; font-family: var(--body); font-size: 10px; text-transform: none; }
.product-info h3 { margin: 7px 0 13px; color: var(--ink); font-size: 14px; line-height: 1.4; }
.product-title-link { display: block; min-width: 0; }
.product-title-link h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; min-height: 58px; overflow: hidden; overflow-wrap: anywhere; }
.product-image-fallback { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; padding: 20px; color: #777872; background: #eef0ed; font-size: 11px; font-weight: 700; text-align: center; }
.product-price strong { color: var(--ink); font-family: var(--body); font-size: 17px; }
.product-price span { color: var(--accent); font-family: var(--body); font-size: 10px; text-transform: none; }

.buy-guide { border-top-color: var(--line); }
.buy-steps { border-color: var(--line); border-radius: 8px; }
.buy-steps article { background: #fff; }
.buy-steps article + article { border-color: var(--line); }
.buy-steps span { color: var(--accent); font-family: var(--body); font-weight: 800; }
.buy-steps h3 { color: var(--ink); }
.buy-steps p { color: var(--muted); font-family: var(--body); }
.seo-intro { border-top-color: var(--line); }
.seo-intro-copy > p { color: var(--muted); font-family: var(--body); font-size: 14px; }
.seo-intro-copy > small { color: #85857f; }
.seo-intro-links a { background: #fff; border-color: var(--line); border-radius: 8px; }
.seo-intro-links a:hover { border-color: var(--accent); }
.seo-intro-links strong { color: var(--ink); font-family: var(--body); font-weight: 780; text-transform: none; }

/* Catalog */
.catalog-hero {
  padding-top: 72px;
  padding-bottom: 54px;
  grid-template-columns: 1fr .7fr;
  border-bottom: 1px solid var(--line);
}
.catalog-hero h1 { margin-top: 12px; font-size: clamp(56px, 7vw, 94px); }
.catalog-hero > p { color: var(--muted); font-family: var(--body); font-size: 15px; }
.catalog-layout { padding-top: 46px; padding-bottom: 100px; }
.catalog-sidebar { border-color: var(--line); }
.filter-title,
.filter-group,
.saved-only-control { border-color: var(--line); }
.filter-title span,
.filter-group label,
.filter-label { color: var(--ink); font-family: var(--body); font-weight: 750; text-transform: none; }
.filter-title button { color: var(--accent); }
.catalog-search-wrap,
.catalog-toolbar select {
  background: #fff;
  border-color: #cfcec8;
  color: var(--ink);
  color-scheme: light;
}
.catalog-toolbar select option,
.mobile-sort-control select option { background: #fff; color: var(--ink); }
.catalog-search-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.catalog-search-wrap input { color: var(--ink); }
.category-option {
  border-color: var(--line);
  background: #fff;
  color: #5f5f5a;
}
.category-option:hover,
.category-option.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.category-option i { border-color: #aaa9a2; }
.category-option.active i { border-color: var(--accent); background: var(--accent); }
.price-filter input { accent-color: var(--accent); }
.range-labels,
.catalog-note p { color: var(--muted); }
.catalog-note { background: var(--soft); border-color: var(--line); }
.catalog-note span { color: var(--accent); }
.catalog-toolbar { border-color: var(--line); }
.catalog-toolbar span { color: var(--ink); }
.catalog-toolbar small { color: var(--muted); }
.filter-chip { background: var(--accent-soft); border-color: #ffc9d0; color: #a90e21; }
.catalog-pagination a,
.catalog-pagination span { background: #fff; border-color: var(--line); color: var(--ink); }
.catalog-pagination a:hover,
.catalog-pagination a.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Brands */
.brands-hero { border-bottom-color: var(--line); }
.brands-hero p { color: var(--muted); font-family: var(--body); font-size: 15px; }
.brand-search { color: var(--muted); font-family: var(--body); text-transform: none; }
.brand-search input { background: #fff; border-color: #cfcec8; color: var(--ink); }
.brand-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.brand-grid { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-card { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: #fff; }
.brand-card:hover { border-color: var(--line); background: var(--accent-soft); transform: none; }
.brand-card > span,
.brand-card small { color: var(--muted); }
.brand-card strong { color: var(--ink); font-family: var(--body); font-weight: 780; text-transform: none; }
.brand-card b { color: var(--accent); }
.brands-empty { background: var(--soft); border-color: var(--line); }
.brands-empty strong { color: var(--ink); font-family: var(--body); font-weight: 800; text-transform: none; }
.brands-empty p,
.brands-note { color: var(--muted); }

/* Product detail */
.breadcrumb { color: var(--muted); }
.breadcrumb a { color: var(--ink); }
.product-detail,
.product-detail-v2,
.server-product-grid { background: #fff; border-color: var(--line); border-radius: 8px; }
.detail-gallery,
.detail-gallery-v2,
.server-product-gallery { background: var(--soft); border-color: var(--line); }
.gallery-main > img,
.server-product-gallery img { background: var(--soft); object-fit: contain; }
.gallery-main::after { display: none; }
.gallery-arrow { background: rgba(255,255,255,.9); border-color: #d3d2cc; color: var(--ink); }
.gallery-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.gallery-thumbs { border-color: var(--line); }
.gallery-thumb { background: var(--soft); }
.gallery-thumb.active { border-color: var(--accent); }
.detail-copy { background: #fff; }
.detail-category,
.detail-category a { color: var(--accent); }
.detail-copy h1,
.server-product-copy h1 { color: var(--ink); font-size: clamp(40px, 4.6vw, 68px); }
.detail-rating { color: var(--muted); }
.detail-rating i { color: var(--accent); }
.detail-price,
.detail-price-cny,
.detail-price-cny + .detail-price,
.server-product-copy .server-product-price { color: var(--accent); font-family: var(--body); font-weight: 800; }
.detail-price-row small,
.detail-description,
.selector-note,
.server-product-copy > p { color: var(--muted); font-family: var(--body); }
.detail-selector { color: var(--muted); font-family: var(--body); text-transform: none; }
.detail-selector select { background: #fff; border-color: #cfcec8; color: var(--ink); }
.detail-selector select:focus { border-color: var(--accent); }
.detail-save { border-color: #cfcec8; background: #fff; }
.detail-save svg { stroke: var(--ink); }
.detail-save.saved { background: var(--accent); border-color: var(--accent); }
.detail-secondary-actions a,
.detail-secondary-actions button,
.detail-secondary-actions span,
.agent-grid button {
  background: #fff;
  border-color: #cfcec8;
  color: #555550;
  font-family: var(--body);
  text-transform: none;
}
.detail-secondary-actions a:hover,
.detail-secondary-actions button:hover,
.agent-grid button:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.order-flow { border-color: #ffcbd1; background: #fff5f6; }
.order-flow span { color: var(--accent); }
.order-flow p { color: var(--muted); font-family: var(--body); }
.agent-options { background: var(--soft); border-color: var(--line); }
.agent-options-head > div > span { color: var(--accent); }
.agent-options-head h2 { color: var(--ink); font-family: var(--body); font-weight: 800; text-transform: none; }
.agent-options-head p,
.agent-options > small,
.agent-grid button span { color: var(--muted); font-family: var(--body); text-transform: none; }
.agent-grid button strong { color: var(--ink); }
.details-lower { border-bottom-color: var(--line); }
.buying-notes div { border-color: var(--line); }
.buying-notes span { color: var(--accent); }
.buying-notes p { color: var(--muted); font-family: var(--body); }
.seller-panel { background: var(--soft); border-color: var(--line); }
.seller-avatar { background: var(--accent); color: #fff; }
.seller-head h3,
.seller-stats strong { color: var(--ink); }
.seller-head span,
.seller-stats span,
.seller-source-link { color: var(--muted); }
.seller-stats { border-color: var(--line); }
.related-head a { color: var(--accent); }
.server-product-copy dl { background: var(--line); }
.server-product-copy dl div { background: #fff; }
.server-product-copy dt { color: var(--muted); }
.server-product-copy dd { color: var(--ink); }
.server-product-copy li,
.server-related a { border-color: var(--line); color: var(--muted); }
.server-related a:hover { border-color: var(--accent); color: var(--accent); }
.mobile-buy-bar { background: rgba(255,255,255,.97); border-color: var(--line); }
.mobile-buy-bar strong { color: var(--ink); }
.mobile-buy-bar span { color: var(--muted); }
.mobile-buy-bar a { background: var(--accent); }

/* Editorial / guide pages */
.content-breadcrumb { color: var(--muted); }
.content-breadcrumb a { color: var(--ink); }
.content-hero { border-bottom-color: var(--line); }
.content-hero > p,
.content-section p,
.content-section li { color: var(--muted); font-family: var(--body); }
.content-section { border-bottom-color: var(--line); }
.content-section a { color: var(--accent); }
.guide-step,
.trust-grid article { background: #fff; border-color: var(--line); }
.guide-step::before { color: var(--accent); }
.content-card,
.content-faq details { background: var(--soft); border-color: var(--line); }
.content-card span { color: var(--accent); }
.content-card p { color: var(--muted); font-family: var(--body); }
.content-faq summary { color: var(--ink); }

.empty-state { background: var(--soft); border-color: var(--line); }
.empty-state span { color: var(--accent); }
.empty-state-title { color: var(--ink); }
.empty-state p { color: var(--muted); }
.toast { background: var(--ink); color: #fff; }

.site-footer { border-top-color: var(--line); }
.footer-brand p,
.footer-links a,
.footer-bottom { color: var(--muted); }
.footer-links h4 { color: var(--ink); font-family: var(--body); font-weight: 800; text-transform: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top-color: var(--line); font-family: var(--body); font-size: 9px; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .catalog-hero { grid-template-columns: 1fr; gap: 22px; }
  .product-grid,
  .catalog-grid,
  .related-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 981px) and (max-width: 1320px) {
  .desktop-nav { display:none; }
  .menu-toggle { display:block; }
  .site-header { grid-template-columns:1fr auto; }
}

@media (max-width: 760px) {
  .section-shell { width: min(100% - 28px, 1240px); }
  .site-header { grid-template-columns: 1fr auto; height: 64px; padding: 0 16px; }
  .header-actions { gap: 10px; }
  .sign-in-btn { display: none; }
  .saved-link { min-height: 34px; padding-inline: 8px; gap: 4px; font-size: 11px; }
  .saved-link__label { display: none; }
  .mobile-menu { inset: 64px 0 auto; }
  .home-page .hero { min-height: auto; padding-top: 36px; padding-bottom: 34px; }
  .home-page .hero h1 { font-size: clamp(47px, 15vw, 68px); }
  .home-page .hero-copy > p { margin-top: 16px; margin-bottom: 18px; font-size: 14px; line-height: 1.6; }
  .hero-search { height: 58px; padding-left: 14px; }
  .hero-search button { padding: 0 16px; }
  .hero-actions { flex-direction: column; margin-top: 14px; }
  .hero-actions .btn { width: 100%; }
  .hero-catalog-meta { align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: 9px; padding: 2px 2px 0; }
  .hero-catalog-meta .hero-updated { margin: 0; }
  .hero-spreadsheet-link { font-size: 11px; }
  .trust-row { grid-template-columns: 1fr 1fr 1fr; }
  .category-shortcuts { padding-top: 38px; padding-bottom: 56px; }
  .quick-categories { grid-template-columns: repeat(2, 1fr); }
  .quick-categories a { min-height: 104px; }
  .product-heading { align-items: flex-start; gap: 22px; }
  .filter-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-tabs button { flex: none; }
  .product-grid,
  .catalog-grid,
  .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-info { min-height: 118px; padding: 13px 12px; }
  .product-info h3 { font-size: 13px; }
  .product-title-link h3 { min-height: 53px; }
  .product-price span { display: none; }
  .catalog-layout { padding-top: 26px; }
  .catalog-sidebar { background: #fff; }
  .details-lower { grid-template-columns: 1fr; gap: 34px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { grid-template-columns: 1fr; gap: 16px; }
  .footer-bottom p { text-align: left; }
}

@media (max-width: 430px) {
  .section-shell { width: min(100% - 22px, 1240px); }
  .brand { font-size: 16px; }
  .home-page .hero h1 { font-size: 45px; }
  .hero-search svg { display: none; }
  .hero-search input { min-width: 0; font-size: 13px; }
  .trust-row { gap: 0; }
  .trust-row strong { font-size: 15px; }
  .trust-row span { font-size: 9px; }
  .quick-categories { grid-template-columns: 1fr 1fr; }
  .quick-categories strong { font-size: 19px; }
}

/* v0.12.0 category discovery and shopping-agent chooser */
.catalog-category-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.catalog-category-strip::-webkit-scrollbar { display: none; }
.catalog-category-strip a {
  flex: none;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid #cfcec8;
  border-radius: 999px;
  background: #fff;
  color: #4f4f4b;
  font-size: 12px;
  font-weight: 700;
}
.catalog-category-strip a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.product-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #777771 !important;
  font-family: var(--body) !important;
  font-size: 11px !important;
  font-weight: 650;
  text-transform: none !important;
}
.product-views.is-new,
.detail-views.is-new {
  color: #796315 !important;
  background: #fff9df;
  border-radius: 999px;
  padding: 4px 7px;
}
.account-header-link {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}
.account-header-link:hover { color: var(--accent); }
.detail-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-family: var(--body);
  font-weight: 700;
}
.detail-rating .detail-views strong { color: inherit; }

.agent-choice-summary {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.agent-choice-summary > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}
.agent-choice-summary p {
  margin: 7px 0 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.agent-choice-summary button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.agent-choice-summary button:hover { color: var(--accent); }

.agent-modal {
  width: min(900px, calc(100% - 30px));
  max-height: min(780px, calc(100vh - 30px));
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(0,0,0,.24);
}
.agent-modal::backdrop { background: rgba(20,20,20,.62); backdrop-filter: blur(3px); }
.agent-modal-panel { padding: clamp(22px,4vw,38px); }
.agent-modal-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.agent-modal-head > div > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}
.agent-modal-head h2 {
  margin: 7px 0 8px;
  font-size: clamp(28px,4vw,48px);
  line-height: 1;
}
.agent-modal-head p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.agent-modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.agent-modal-close:hover { border-color: var(--accent); color: var(--accent); }
.agent-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 9px;
  padding: 22px 0;
}
.agent-modal-link {
  min-height: 74px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid #d9d8d2;
  border-radius: 8px;
  background: #fff;
  transition: border-color .18s, background .18s, transform .18s;
}
.agent-modal-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.agent-modal-link.featured {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.agent-modal-link.featured:hover { background: #d91f31; }
.agent-brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: var(--agent-bg, var(--soft));
  color: var(--agent-color, var(--ink));
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -.04em;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.agent-brand-icon span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: inherit;
}
.agent-brand-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 5px;
  background: #fff;
}
.agent-brand-icon--kakobuy img,
.agent-brand-icon--oopbuy img,
.agent-brand-icon--allchinabuy img,
.agent-brand-icon--superbuy img,
.agent-brand-icon--mulebuy img,
.agent-brand-icon--sugargoo img { padding: 0; }
.agent-brand-icon--acbuy img,
.agent-brand-icon--cssbuy img,
.agent-brand-icon--loongbuy img { padding: 7px 4px; }
.agent-brand-icon--kakobuy span { border: 2px solid #e52336; }
.agent-modal-link.featured .agent-brand-icon { box-shadow: 0 3px 12px rgba(0,0,0,.18); }
.agent-modal-link > span:nth-child(2) { display: grid; gap: 4px; }
.agent-modal-link strong { font-size: 14px; }
.agent-modal-link small { color: var(--muted); font-size: 10px; }
.agent-modal-link.featured small { color: rgba(255,255,255,.78); }
.agent-modal-link b { color: var(--accent); font-weight: 700; }
.agent-modal-link.featured b { color: #fff; }
.agent-modal-link.original { border-style: dashed; }
.agent-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.agent-modal-foot p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}
.agent-modal-foot button {
  flex: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #cfcec8;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.agent-modal-foot button:hover { border-color: var(--accent); color: var(--accent); }
.mobile-buy-bar button {
  min-width: 150px;
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 700px) {
  .agent-modal {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    margin: auto;
  }
  .agent-modal-panel {
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
  }
  .agent-modal-head { gap: 12px; padding-bottom: 16px; }
  .agent-modal-head h2 { font-size: clamp(25px,8vw,34px); }
  .agent-modal-head p { font-size: 12px; }
  .agent-modal-close { width: 44px; height: 44px; }
  .agent-modal-grid { grid-template-columns: 1fr; }
  .agent-modal-link { min-height: 68px; padding: 10px 12px; }
  .agent-modal-foot { align-items: stretch; flex-direction: column; }
  .agent-modal-foot button { width: 100%; min-height: 44px; }
}

/* v0.13.0 truthful engagement and account/mobile refinements */
.product-price .product-views { display:inline-flex !important; flex:none; }
@media (max-width:430px){
  .product-price .product-views { max-width:76px; padding:3px 6px; font-size:9px !important; white-space:nowrap; }
  .product-info { min-height:138px; }
  .account-header-link { font-size:10px; }
}

.footer-bottom p a { color: inherit; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.footer-bottom p a:hover { color: var(--accent); }


/* Mobile catalog filter drawer v0.14.0 */
.mobile-catalog-actions,
.filter-drawer-header,
.filter-drawer-footer,
.catalog-drawer-backdrop { display: none; pointer-events: none; }
.catalog-drawer-backdrop[hidden] { display: none !important; }
.filter-section-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; color: var(--ink); }
.filter-section-heading > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 13px; }
.filter-section-heading strong { font-size: 12px; }
.brand-search-wrap { height: 40px; margin-bottom: 12px; }
.brand-filter-options { display: grid; gap: 6px; }
.brand-filter-option { min-height: 39px; display: grid; grid-template-columns: 22px 18px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid transparent; border-radius: 7px; color: #4f4f4b; cursor: pointer; }
.brand-filter-option:hover { border-color: var(--line); background: var(--soft); }
.brand-filter-option input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.brand-filter-option > span { overflow: hidden; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.brand-filter-option small { color: var(--muted); font-size: 10px; }
.facet-rank { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #f0efeb; color: #777772; font-size: 9px; font-style: normal; font-weight: 800; }
.facet-rank.rank-1 { background: #fff0bf; color: #8a6500; }
.facet-rank.rank-2 { background: #e9edf2; color: #53606e; }
.facet-rank.rank-3 { background: #f1dfd3; color: #8c5534; }
.filter-show-more { width: 100%; margin-top: 8px; padding: 8px; border: 0; background: transparent; color: var(--accent); cursor: pointer; font-size: 11px; font-weight: 750; }
.type-filter-options { display: flex; flex-wrap: wrap; gap: 7px; }
.type-filter-option { min-height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #52524e; cursor: pointer; }
.type-filter-option:hover,
.type-filter-option.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.type-filter-option .facet-rank { width: 18px; height: 18px; }
.type-filter-option span { font-size: 11px; font-weight: 700; }
.type-filter-option small { color: var(--muted); font-size: 9px; }
.facet-empty { margin: 0; padding: 12px; border: 1px dashed var(--line); border-radius: 7px; background: var(--soft); color: var(--muted); font-size: 11px; line-height: 1.6; }

@media (max-width: 760px) {
  body.filters-open { overflow: hidden; }
  .mobile-catalog-actions { display: grid; pointer-events: auto; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 9px; margin-bottom: 18px; }
  .mobile-filter-toggle { min-height: 50px; display: flex; align-items: center; justify-content: flex-start; gap: 9px; margin: 0; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(20,20,20,.025); }
  .mobile-filter-toggle > span { color: var(--accent); font-size: 19px; line-height: 1; }
  .mobile-filter-toggle > strong { font-size: 12px; }
  .mobile-filter-toggle > b { min-width: 20px; height: 20px; display: grid; place-items: center; margin-left: auto; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; }
  .mobile-sort-control { min-height: 50px; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 7px; padding: 0 8px 0 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
  .mobile-sort-control > span { color: var(--muted); font-size: 10px; font-weight: 650; white-space: nowrap; }
  .mobile-sort-control select { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); color-scheme: light; font-size: 11px; font-weight: 750; }
  .catalog-drawer-backdrop { position: fixed; z-index: 149; inset: 0; display: block; background: rgba(18,18,18,.42); opacity: 0; transition: opacity .22s ease; backdrop-filter: blur(2px); }
  .catalog-drawer-backdrop.open { opacity: 1; pointer-events: auto; }
  .catalog-sidebar,
  .catalog-sidebar.open { position: fixed; z-index: 150; top: 0; right: 0; bottom: 0; left: auto; width: min(86vw,420px); max-width: 420px; display: block; margin: 0; padding: 0 18px 92px; overflow: auto; overscroll-behavior: contain; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: #fff; box-shadow: -18px 0 42px rgba(25,25,25,.13); transform: translateX(104%); transition: transform .23s ease; visibility: hidden; }
  .catalog-sidebar.open { transform: translateX(0); visibility: visible; }
  .filter-drawer-header { position: sticky; pointer-events: auto; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 76px; margin: 0 -18px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
  .filter-drawer-header > div { display: grid; gap: 4px; }
  .filter-drawer-header span { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .filter-drawer-header strong { color: var(--ink); font-size: 17px; }
  .filter-drawer-header button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; font-size: 24px; }
  .filter-title { padding: 18px 0 13px; }
  .filter-group { padding: 19px 0; }
  .catalog-search-wrap { background: var(--soft); }
  .brand-filter-options { max-height: 250px; overflow: auto; padding-right: 3px; }
  .category-options { grid-template-columns: 1fr 1fr; }
  .category-option { min-height: 43px; border: 1px solid var(--line); background: #fff; }
  .saved-only-control { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .catalog-note { display: block; margin-bottom: 5px; background: var(--soft); }
  .filter-drawer-footer { position: fixed; pointer-events: auto; z-index: 3; right: 0; bottom: 0; width: min(86vw,420px); display: block; padding: 13px 18px calc(13px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 22px rgba(20,20,20,.07); backdrop-filter: blur(12px); }
  .filter-drawer-footer button { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; cursor: pointer; font-size: 13px; font-weight: 800; }
  .catalog-toolbar > select { display: none; }
  .catalog-toolbar { min-height: 48px; }
  .catalog-toolbar > div { width: 100%; }
}

@media (max-width: 390px) {
  .section-shell { width: min(100% - 24px,1240px); }
  .mobile-catalog-actions { grid-template-columns: 1fr 1.12fr; }
  .mobile-filter-toggle,
  .mobile-sort-control { min-height: 47px; }
  .mobile-sort-control > span { display: none; }
  .category-options { grid-template-columns: 1fr; }
  .catalog-sidebar,
  .catalog-sidebar.open,
  .filter-drawer-footer { width: 92vw; }
}

/* Simplified product detail v0.15.0 */
.detail-shell-simple {
  width: min(1180px, calc(100% - 40px));
  padding-top: 24px;
}
.detail-shell-simple .breadcrumb {
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: .04em;
}
.product-detail-v3 {
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(26, 26, 26, .035);
}
.detail-gallery-v2 {
  min-height: 600px;
  border-right: 1px solid var(--line);
  background: var(--soft);
}
.detail-gallery-v2 .gallery-main {
  min-height: 500px;
  background: var(--soft);
}
.detail-gallery-v2 .gallery-main > img {
  min-height: 500px;
  padding: clamp(18px, 3vw, 42px);
  object-fit: contain;
  filter: none;
}
.detail-gallery-v2 .gallery-thumbs {
  min-height: 96px;
  padding: 10px;
  gap: 8px;
  background: #fff;
}
.detail-gallery-v2 .gallery-thumb {
  width: 76px;
  min-width: 76px;
  height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.detail-gallery-v2 .gallery-thumb img { object-fit: contain; }
.detail-copy-v3 {
  position: relative;
  display: block;
  padding: clamp(30px, 4vw, 54px);
  background: #fff;
}
.detail-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}
.detail-title-row > div { min-width: 0; }
.detail-copy-v3 .detail-category {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.detail-copy-v3 h1 {
  max-width: 19ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(29px, 3.3vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: none;
  overflow-wrap: anywhere;
}
.detail-save-compact {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}
.detail-save-compact svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke-width: 1.8;
}
.detail-save-compact.saved svg { fill: #fff; stroke: #fff; }
.detail-price-views {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 0;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
.detail-price-group {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
}
.detail-copy-v3 .detail-price-cny,
.detail-copy-v3 .detail-price {
  font-family: var(--body);
  font-weight: 850;
  line-height: 1;
}
.detail-copy-v3 .detail-price-cny { font-size: 25px; }
.detail-copy-v3 .detail-price { font-size: 29px; }
.detail-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  color: var(--accent);
  font-size: 11px;
}
.detail-description-simple {
  display: -webkit-box;
  max-width: 58ch;
  margin: 18px 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.product-description-panel {
  display: grid;
  grid-template-columns: minmax(180px, .34fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 64px);
  margin-top: 18px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 249, .98);
}
.product-description-heading h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.detail-description-full {
  max-width: 75ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.product-action-stack {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 20px 0 24px;
}
.product-action {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 750;
  text-align: center;
  transition: transform .16s ease, opacity .16s ease, background .16s ease;
}
.product-action:hover { transform: translateY(-1px); }
.product-action svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-action-primary { background: var(--accent); }
.product-action-primary:hover { background: #d51d2f; }
.product-action-secondary { background: #111; }
.product-action-secondary:hover { background: #2b2b2b; }
.product-action:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.detail-selectors {
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}
.product-option-details > h2 {
  margin: 24px 0 14px;
  font-size: 22px;
  line-height: 1.15;
}
.detail-copy-v3 .detail-selector {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.detail-copy-v3 .detail-selector h3 {
  margin: 0;
  color: inherit;
  font: inherit;
}
.detail-copy-v3 .detail-selector select {
  height: 50px;
  padding: 0 13px;
  border: 1px solid #d6d5d0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 13px;
}
.selector-note-simple,
.detail-purchase-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}
.detail-purchase-note { margin-top: 8px; }
.agent-more-details-note {
  margin: 0 0 14px;
  padding: 11px 13px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.gallery-image-unavailable {
  min-height: 500px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}
.related-simple { padding: 70px 0 100px; }
.related-simple .related-head { margin-bottom: 24px; }
.related-simple .related-head h2 {
  margin: 5px 0 0;
  font-family: var(--body);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 850;
  letter-spacing: -.03em;
  text-transform: none;
}
.related-simple .related-grid { gap: 12px; }
.related-simple .related-card { border-radius: 10px; overflow: hidden; }

/* Keep the server-rendered product useful and visually close to the enhanced page. */
.server-product-content { max-width: 1180px; padding: 104px 20px 90px; }
.server-product-grid { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); border-radius: 12px; background: #fff; }
.server-product-gallery { background: var(--soft); }
.server-product-gallery img { min-height: 290px; padding: 24px; background: var(--soft); object-fit: contain; }
.server-product-copy { padding: clamp(30px, 4vw, 54px); }
.server-product-copy h1 { margin: 10px 0 18px; font-family: var(--body); font-size: clamp(29px, 3.3vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; text-transform: none; }
.server-product-copy > p { font-family: var(--body); font-size: 13px; line-height: 1.65; }
.server-product-copy .server-product-price { font-family: var(--body); font-size: 29px; font-weight: 850; }
.server-product-copy h2, .server-related h2 { font-family: var(--body); font-size: 22px; text-transform: none; }
.server-related { margin-top: 52px; }

@media (max-width: 900px) {
  .product-detail-v3 { grid-template-columns: 1fr; }
  .detail-gallery-v2 { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-gallery-v2 .gallery-main,
  .detail-gallery-v2 .gallery-main > img { min-height: 540px; }
  .server-product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: 0; }
  .detail-shell-simple { width: 100%; padding-top: 0; }
  .detail-shell-simple .breadcrumb { display: none; }
  .product-detail-v3 { border-width: 0 0 1px; border-radius: 0; box-shadow: none; }
  .detail-gallery-v2 .gallery-main,
  .detail-gallery-v2 .gallery-main > img { min-height: min(105vw, 470px); }
  .detail-gallery-v2 .gallery-main > img { padding: 15px; }
  .detail-gallery-v2 .gallery-thumbs { min-height: 78px; padding: 8px 12px; }
  .detail-gallery-v2 .gallery-thumb { width: 62px; min-width: 62px; height: 62px; }
  .detail-copy-v3 { padding: 26px 20px 34px; }
  .detail-copy-v3 h1 { max-width: 21ch; font-size: clamp(26px, 8vw, 34px); line-height: 1.12; }
  .detail-save-compact { width: 40px; height: 40px; }
  .detail-price-views { margin-top: 19px; padding: 16px 0; }
  .detail-copy-v3 .detail-price-cny { font-size: 22px; }
  .detail-copy-v3 .detail-price { font-size: 25px; }
  .detail-views { font-size: 10px; }
  .detail-description-simple { margin: 15px 0 17px; font-size: 12px; -webkit-line-clamp: 2; }
  .product-description-panel { grid-template-columns: 1fr; gap: 14px; margin-top: 0; padding: 28px 20px 32px; border-width: 0 0 1px; border-radius: 0; }
  .detail-description-full { font-size: 14px; line-height: 1.75; }
  .product-action-stack { margin: 17px 0 24px; }
  .product-action { min-height: 58px; border-radius: 8px; font-size: 15px; }
  .detail-copy-v3 .detail-selector { font-size: 14px; }
  .detail-copy-v3 .detail-selector select { height: 52px; font-size: 14px; }
  .related-simple { padding: 52px 16px 78px; }
  .related-simple .related-head { align-items: flex-start; margin-bottom: 20px; }
  .related-simple .related-head .section-kicker { display: none; }
  .related-simple .related-head h2 { margin: 0; font-size: 27px; }
  .related-simple .related-head a { display: none; }
  .related-simple .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .related-simple .product-card:nth-child(n+5) { display: none; }
  .mobile-buy-bar { display: none !important; }
  .server-product-content { padding: 82px 0 70px; }
  .server-product-grid { border-width: 0 0 1px; border-radius: 0; }
  .server-product-gallery { grid-template-columns: 1fr; }
  .server-product-gallery img { min-height: min(105vw, 470px); padding: 15px; }
  .server-product-gallery img:not(:first-child) { display: none; }
  .server-product-copy { padding: 26px 20px 34px; }
  .server-product-copy h1 { font-size: clamp(26px, 8vw, 34px); }
  .server-related { padding-inline: 16px; }
}

@media (max-width: 390px) {
  .detail-copy-v3 { padding-inline: 16px; }
  .detail-title-row { gap: 10px; }
  .detail-price-views { gap: 10px; }
  .detail-copy-v3 .detail-price-group { gap: 6px; }
  .detail-copy-v3 .detail-price-cny { font-size: 20px; }
  .detail-copy-v3 .detail-price { font-size: 23px; }
  .detail-views span:last-child { display: none; }
  .related-simple { padding-inline: 12px; }
}

/* Catalog discovery, price range and affiliate presentation v0.16.0 */
.nav-offer-link {
  color: var(--accent) !important;
  font-weight: 800 !important;
}
.affiliate-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
  margin-bottom: 26px;
  padding: 20px 24px;
  border: 1px solid #ffcbd1;
  border-radius: 12px;
  background: linear-gradient(100deg, #fff6f7, #fff);
  box-shadow: 0 8px 24px rgba(35,35,35,.025);
}
.affiliate-offer > div { display: grid; gap: 5px; }
.affiliate-offer span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.affiliate-offer strong { color: var(--ink); font-size: 17px; line-height: 1.3; }
.affiliate-offer small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.affiliate-offer > a,
.agent-register-link {
  flex: none;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.affiliate-offer > a:hover,
.agent-register-link:hover { background: #d91f31; }
.agent-modal-foot p span { display: block; margin-top: 4px; }

.catalog-discovery-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  padding-top: 24px;
  padding-bottom: 18px;
}
.catalog-top-search {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 5px 6px 5px 17px;
  border: 1px solid #cfcec8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(30,30,30,.035);
}
.catalog-top-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.catalog-top-search svg,
.catalog-image-search svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.catalog-top-search svg { color: #777773; }
.catalog-top-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 14px var(--body);
}
.catalog-top-search input::placeholder { color: #92928d; }
.catalog-top-search button,
.catalog-image-search {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font: 800 12px var(--body);
}
.catalog-top-search button { padding: 0 21px; }
.catalog-image-search {
  min-width: 176px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  background: #111;
}
.catalog-image-search:hover { background: #2b2b2b; }

.price-input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.price-input-grid label { display: grid; gap: 7px; }
.price-input-grid label > span { color: var(--muted); font-size: 9px; font-weight: 700; }
.price-input-grid label > div {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #cfcec8;
  border-radius: 8px;
  background: #fff;
}
.price-input-grid label > div:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.price-input-grid b { color: var(--muted); font-size: 13px; }
.price-input-grid input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 750 13px var(--body);
}
.price-filter-help { display: block; margin-top: 9px; color: var(--muted); font-size: 9px; line-height: 1.5; }

.image-search-modal {
  width: min(620px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.image-search-modal::backdrop { background: rgba(20,20,20,.6); backdrop-filter: blur(3px); }
.image-search-panel { max-height: calc(100dvh - 24px); padding: 26px; overflow-y: auto; }
.image-search-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.image-search-head span { color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.image-search-head h2 { margin: 7px 0 0; font-family: var(--body); font-size: clamp(28px,5vw,42px); font-weight: 850; letter-spacing: -.04em; }
.image-search-head button { width: 42px; height: 42px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; font-size: 25px; }
.image-upload-drop {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  margin: 22px 0 14px;
  padding: 24px;
  border: 1px dashed #c9c8c2;
  border-radius: 12px;
  background: var(--soft);
  cursor: pointer;
  text-align: center;
}
.image-upload-drop:hover { border-color: var(--accent); background: var(--accent-soft); }
.image-upload-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.image-upload-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 25px; }
.image-upload-drop strong { margin-top: 3px; font-size: 15px; }
.image-upload-drop small { max-width: 360px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.image-search-preview { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 13px; align-items: center; margin-bottom: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.image-search-preview[hidden] { display: none; }
.image-search-preview img { width: 76px; height: 76px; border-radius: 8px; background: var(--soft); object-fit: contain; }
.image-search-preview div { display: grid; gap: 5px; min-width: 0; }
.image-search-preview strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.image-search-preview small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.image-search-actions { display: grid; grid-template-columns: 1.2fr .8fr; gap: 9px; }
.image-search-actions a { min-height: 50px; display: flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 8px; background: #111; color: #fff; font-size: 11px; font-weight: 800; text-align: center; }
.image-search-actions .image-register-link { border: 1px solid #ffcbd1; background: var(--accent-soft); color: var(--accent); }
.image-search-disclosure { margin: 13px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }

.related-simple .related-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.related-simple .product-card:nth-child(n+5) { display: block; }

@media (max-width: 980px) {
  .desktop-nav .nav-offer-link { display: none; }
  .related-simple .related-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .affiliate-offer { align-items: stretch; flex-direction: column; gap: 14px; margin-top: 12px; padding: 17px; }
  .affiliate-offer strong { font-size: 15px; }
  .affiliate-offer > a { width: 100%; }
  .catalog-discovery-tools { position: relative; z-index: 5; grid-template-columns: 1fr; gap: 8px; padding-top: 14px; padding-bottom: 12px; }
  .catalog-top-search { min-height: 54px; padding-left: 13px; }
  .catalog-top-search button { min-height: 42px; padding: 0 15px; }
  .catalog-image-search { width: 100%; min-height: 48px; }
  .price-input-grid { grid-template-columns: 1fr 1fr; }
  .image-search-panel { padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .image-upload-drop { min-height: 165px; }
  .image-search-actions { grid-template-columns: 1fr; }
  .related-simple .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 390px) {
  .catalog-top-search svg { display: none; }
  .catalog-top-search { grid-template-columns: minmax(0,1fr) auto; padding-left: 11px; }
  .catalog-top-search input { font-size: 12px; }
  .catalog-image-search { font-size: 11px; }
  .price-input-grid { gap: 7px; }
  .price-input-grid label > div { padding-inline: 8px; }
}

/* Homepage catalog editorial note v0.16.1 */
.catalog-editorial {
  display: grid;
  justify-items: center;
  padding-top: 76px;
  padding-bottom: 82px;
  text-align: center;
}
.catalog-editorial .section-kicker { margin-bottom: 13px; }
.catalog-editorial h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.05;
}
.catalog-editorial > p {
  max-width: 900px;
  margin: 18px auto 0;
  color: #3f3f3c;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.85;
}
.catalog-editorial > p strong { color: var(--ink); font-weight: 700; }
.catalog-editorial > small {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 58px;
  color: #3e3e3b;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
}
.catalog-editorial > small span { color: var(--accent); font-size: 8px; }

@media (max-width: 760px) {
  .catalog-editorial { padding-top: 58px; padding-bottom: 62px; }
  .catalog-editorial h2 { font-size: 29px; }
  .catalog-editorial > p { margin-top: 15px; font-size: 12px; line-height: 1.8; }
  .catalog-editorial > small { margin-top: 38px; font-size: 9px; }
}

@media (max-width: 390px) {
  .catalog-editorial h2 { font-size: 26px; }
  .catalog-editorial > p { font-size: 11px; }
}

/* Homepage guides and FAQ v0.17.0 */
.latest-guides,.home-faq{padding-top:78px;padding-bottom:78px;border-top:1px solid var(--line)}.home-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px}.home-guide-grid article{min-height:240px;display:flex;flex-direction:column;align-items:flex-start;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.home-guide-grid article>span{color:var(--accent);font:700 9px var(--mono);text-transform:uppercase;letter-spacing:.08em}.home-guide-grid h3{margin:28px 0 12px;font-size:23px;line-height:1.08}.home-guide-grid h3 a{color:var(--ink);text-decoration:none}.home-guide-grid p{margin:0 0 22px;color:var(--muted);font-size:12px;line-height:1.65}.home-guide-grid .text-link{margin-top:auto}.home-faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px}.home-faq-heading h2{margin:12px 0 18px;font-size:clamp(40px,5vw,72px);line-height:.9;letter-spacing:-.05em}.home-faq-heading p{max-width:470px;color:var(--muted);font-size:12px;line-height:1.7}.home-faq-list{border-top:1px solid var(--line)}.home-faq-list details{border-bottom:1px solid var(--line);padding:0}.home-faq-list summary{cursor:pointer;list-style:none;padding:21px 34px 21px 0;font-weight:750;font-size:14px;position:relative}.home-faq-list summary::-webkit-details-marker{display:none}.home-faq-list summary::after{content:"+";position:absolute;right:4px;top:18px;color:var(--accent);font:20px var(--mono)}.home-faq-list details[open] summary::after{content:"−"}.home-faq-list details p{margin:0;padding:0 34px 22px 0;color:var(--muted);font-size:12px;line-height:1.7}@media(max-width:760px){.latest-guides,.home-faq{padding-top:58px;padding-bottom:58px}.home-guide-grid{grid-template-columns:1fr}.home-guide-grid article{min-height:210px}.home-faq{grid-template-columns:1fr;gap:30px}.home-faq-heading h2{font-size:42px}}


/* Private all-products preview and two-level catalog navigation v0.18.6 */
.catalog-preview-banner { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:18px; padding:16px 18px; border:1px solid #f2c6cc; border-radius:10px; background:#fff4f5; color:var(--ink); }
.catalog-preview-banner[hidden] { display:none; }
.catalog-preview-banner > div { display:grid; gap:3px; }
.catalog-preview-banner span { color:var(--accent); font:800 9px var(--mono); letter-spacing:.08em; text-transform:uppercase; }
.catalog-preview-banner strong { font-size:14px; }
.catalog-preview-banner p { margin:0; color:var(--muted); font-size:11px; }
.catalog-preview-banner a { flex:0 0 auto; padding:10px 13px; border:1px solid var(--line); border-radius:7px; background:#fff; color:var(--ink); font-size:11px; font-weight:750; }
.catalog-taxonomy { display:grid; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.catalog-taxonomy-row { display:grid; grid-template-columns:150px minmax(0,1fr); gap:24px; align-items:start; padding:16px 0; }
.catalog-taxonomy-row + .catalog-taxonomy-row { border-top:1px solid #eeeeea; }
.catalog-taxonomy-label { display:flex; align-items:center; gap:9px; min-height:34px; color:#3e3e3b; }
.catalog-taxonomy-label span { display:grid; width:24px; height:24px; place-items:center; border-radius:50%; background:var(--accent-soft); color:var(--accent); font:800 8px var(--mono); }
.catalog-taxonomy-label strong { font-size:12px; }
.catalog-taxonomy-pills,.catalog-brand-links { display:flex; flex-wrap:wrap; gap:8px; }
.catalog-taxonomy-pills button,.catalog-brand-links button { display:inline-flex; min-height:34px; align-items:center; gap:7px; padding:0 13px; border:1px solid #deded9; border-radius:999px; background:#fff; color:#2d2d2a; cursor:pointer; font:700 11px var(--body); }
.catalog-taxonomy-pills button small,.catalog-brand-links button small { color:#999993; font:700 8px var(--mono); }
.catalog-taxonomy-pills button:hover,.catalog-taxonomy-pills button.active,.catalog-brand-links button:hover,.catalog-brand-links button.active { border-color:var(--accent); background:var(--accent); color:#fff; }
.catalog-taxonomy-pills button.active small,.catalog-brand-links button.active small,.catalog-taxonomy-pills button:hover small,.catalog-brand-links button:hover small { color:#fff; }
.taxonomy-loading { display:inline-flex; min-height:34px; align-items:center; color:var(--muted); font-size:11px; }
@media(max-width:760px){.catalog-preview-banner{align-items:flex-start;flex-direction:column;margin-top:12px}.catalog-preview-banner a{width:100%;text-align:center}.catalog-taxonomy{width:100%;padding-inline:16px}.catalog-taxonomy-row{grid-template-columns:1fr;gap:10px;padding:13px 0}.catalog-taxonomy-label{min-height:auto}.catalog-taxonomy-pills,.catalog-brand-links{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}.catalog-taxonomy-pills::-webkit-scrollbar,.catalog-brand-links::-webkit-scrollbar{display:none}.catalog-taxonomy-pills button,.catalog-brand-links button{flex:0 0 auto;min-height:32px;padding:0 12px;font-size:10px}}


/* Private preview status markers v0.18.7 */
.preview-publication { position:absolute; left:10px; bottom:10px; z-index:3; display:inline-flex; min-height:24px; align-items:center; padding:0 8px; border-radius:999px; color:#fff; font:800 8px var(--mono); letter-spacing:.04em; text-transform:uppercase; box-shadow:0 2px 8px rgba(0,0,0,.12); }
.preview-publication.is-draft { background:#cc2338; }
.preview-publication.is-published { background:#18794e; }
.product-card.is-private-preview .quick-view { bottom:42px; }
.product-preview-notice { display:grid; gap:4px; margin:18px 0 20px; padding:15px 17px; border:1px solid #f2c6cc; border-radius:10px; background:#fff4f5; }
.product-preview-notice span { color:var(--accent); font:800 9px var(--mono); letter-spacing:.08em; text-transform:uppercase; }
.product-preview-notice strong { color:var(--ink); font-size:14px; }
.product-preview-notice p { margin:0; color:var(--muted); font-size:11px; line-height:1.55; }
@media(max-width:760px){.preview-publication{left:8px;bottom:8px}.product-preview-notice{margin:12px 0 16px;padding:13px 14px}}

/* Homepage visual search and image categories v0.18.14 */
.hero-search-area { position:relative; z-index:20; width:min(720px,100%); margin-inline:auto; }
.hero-search-area .hero-search { width:100%; max-width:none; height:64px; padding:4px 5px 4px 20px; gap:8px; border:2px solid var(--accent); border-radius:999px; box-shadow:0 12px 32px rgba(20,20,20,.07); }
.hero-search-area .hero-search input { min-width:0; font-size:15px; font-weight:650; }
.hero-search-area .hero-search input::placeholder { color:#4d4d49; opacity:1; }
.hero-camera { flex:none; width:42px; height:48px; display:grid; place-items:center; color:#777771; border-radius:999px; }
.hero-camera:hover { color:var(--accent); background:var(--accent-soft); }
.hero-camera svg { display:block; width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.9; }
.hero-search-area .hero-search-submit { flex:none; width:96px; height:52px; display:grid; place-items:center; padding:0; border-radius:999px; }
.hero-search-area .hero-search-submit svg { display:block; width:23px; height:23px; fill:none; stroke:#fff; stroke-width:2.6; }
.hot-searches { position:absolute; top:calc(100% + 8px); left:0; right:0; z-index:30; padding:18px 20px 20px; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:0 24px 55px rgba(20,20,20,.16); text-align:left; opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity .18s ease,transform .18s ease,visibility .18s ease; }
.hero-search-area:focus-within .hot-searches,.hot-searches:hover { opacity:1; visibility:visible; transform:translateY(0); }
.hot-searches>strong { display:flex; align-items:center; gap:7px; color:var(--ink); font-size:14px; }
.hot-searches>strong span { color:var(--accent); }
.hot-search-list { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.hot-search-list a { min-height:34px; display:inline-flex; align-items:center; gap:5px; padding:5px 13px; border-radius:999px; background:#f3f3f3; color:#3e3e3b; font-size:13px; }
.hot-search-list a:hover { background:var(--accent-soft); color:var(--accent); }
.hot-search-list a span { min-width:20px; height:20px; display:grid; place-items:center; border-radius:6px; background:#d7d7d5; color:#656560; font-size:10px; font-weight:800; }
.hot-search-list a:nth-child(1) span { background:#ff4d58; color:#fff; }
.hot-search-list a:nth-child(2) span { background:#ff7149; color:#fff; }
.hot-search-list a:nth-child(3) span { background:#ffbd2e; color:#fff; }
.quick-categories { gap:14px; }
.quick-categories .quick-category-card { min-height:280px; display:grid; grid-template-rows:minmax(0,1fr) auto; align-content:stretch; padding:0; overflow:hidden; border:1px solid var(--line); border-radius:13px; background:#fff; color:var(--ink); box-shadow:0 8px 24px rgba(20,20,20,.04); }
.quick-categories .quick-category-card:hover { border-color:#b9b8b2; background:#fff; transform:translateY(-3px); box-shadow:0 14px 32px rgba(20,20,20,.09); }
.quick-category-media { min-height:205px; display:grid; place-items:center; overflow:hidden; background:#f5f5f2; }
.quick-category-media img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .35s ease; }
.quick-category-card:hover .quick-category-media img { transform:scale(1.035); }
.quick-category-meta { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:12px; min-height:76px; padding:14px 17px; border-top:1px solid var(--line); }
.quick-categories .quick-category-meta>span { width:26px; height:26px; display:grid; place-items:center; border-radius:7px; background:var(--accent-soft); color:var(--accent); font:800 9px var(--mono); }
.quick-category-meta>div { display:grid; gap:4px; }
.quick-categories .quick-category-meta strong { color:var(--ink); font-family:var(--body); font-size:20px; font-weight:800; line-height:1.05; text-transform:none; }
.quick-categories .quick-category-meta small { color:var(--muted); font-size:9px; }
.quick-categories .quick-category-card>b { top:16px; right:16px; width:34px; height:34px; display:grid; place-items:center; border-radius:999px; background:rgba(255,255,255,.92); color:var(--ink); box-shadow:0 5px 16px rgba(20,20,20,.12); }
@media(max-width:760px){
  .hero-search-area .hero-search { height:58px; padding:3px 4px 3px 15px; }
  .hero-search-area .hero-search-submit { width:62px; height:48px; }
  .hero-search-area .hero-camera { width:36px; height:46px; }
  .hero-search-area .hero-camera svg,.hero-search-area .hero-search-submit svg { display:block; }
  .hot-searches { max-height:270px; overflow:auto; padding:16px; }
  .hot-search-list { gap:7px; }
  .hot-search-list a { min-height:31px; padding:4px 10px; font-size:11px; }
  .quick-categories .quick-category-card { min-height:220px; }
  .quick-category-media { min-height:155px; }
  .quick-category-meta { min-height:66px; padding:11px; gap:8px; }
  .quick-categories .quick-category-meta strong { font-size:17px; }
  .quick-categories .quick-category-card>b { width:30px; height:30px; top:10px; right:10px; }
}
@media(max-width:390px){
  .hero-search-area .hero-search input { font-size:12px; }
  .hero-search-area .hero-search-submit { width:56px; }
  .quick-categories .quick-category-card { min-height:205px; }
  .quick-category-media { min-height:142px; }
}

/* v0.18.16 — internal visual search and compact category gallery */
.image-search-status {
  margin: 14px 0 10px;
  padding: 11px 13px;
  border-radius: 9px;
  background: var(--soft);
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}
.image-search-status[hidden] { display: none; }
.image-search-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.image-search-result-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 122px auto auto auto;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.image-search-result-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.image-search-result-card img { width: 100%; height: 122px; border-radius: 7px; background: var(--soft); object-fit: contain; }
.image-search-result-card span { color: var(--accent); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.image-search-result-card strong { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 10px; line-height: 1.35; }
.image-search-result-card small { color: var(--muted); font-size: 10px; font-weight: 800; }

.quick-categories .quick-category-card {
  min-height: 286px;
  grid-template-rows: minmax(0, 1fr) 58px;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(20,20,20,.055);
}
.quick-categories .quick-category-media { min-height: 226px; padding: 8px; background: #fff; }
.quick-categories .quick-category-media img { object-fit: contain; }
.quick-categories .quick-category-title {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
}

@media (max-width: 760px) {
  .hero-search-area .hero-search { height: 58px; padding: 4px 5px 4px 15px; }
  .hero-search-area .hero-search-submit { width: 54px; height: 48px; border-radius: 14px; }
  .hero-search-area .hero-search-submit svg { width: 20px; height: 20px; stroke-width: 2.4; }
  .hero-search-area .hero-camera { width: 32px; height: 44px; }
  .hero-search-area .hero-camera svg { width: 20px; height: 20px; }
  .quick-categories .quick-category-card { min-height: 210px; }
  .quick-categories .quick-category-media { min-height: 158px; padding: 5px; }
  .quick-categories .quick-category-title { min-height: 52px; padding: 8px; font-size: 14px; }
  .image-search-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-search-result-card { grid-template-rows: 108px auto auto auto; }
  .image-search-result-card img { height: 108px; }
}


/* v0.18.19 — balanced pill search action */
.hero-search-area .hero-search-submit {
  width: 100px;
  height: 48px;
  border-radius: 999px;
}
.hero-search-area .hero-search-submit svg { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .hero-search-area .hero-search { height: 58px; padding: 4px 5px 4px 15px; gap: 5px; }
  .hero-search-area .hero-search-submit { width: 70px; height: 46px; border-radius: 999px; }
  .hero-search-area .hero-search-submit svg { width: 20px; height: 20px; }
  .hero-search-area .hero-camera { width: 34px; height: 44px; }
}
@media (max-width: 390px) {
  .hero-search-area .hero-search-submit { width: 64px; }
}

/* v0.18.19 — specificity fix for the rounded search action */
.home-page .hero-search-area .hero-search-submit {
  width: 100px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
}
@media (max-width: 760px) {
  .home-page .hero-search-area .hero-search-submit { width: 70px; height: 46px; padding: 0; border-radius: 999px; }
}
@media (max-width: 390px) {
  .home-page .hero-search-area .hero-search-submit { width: 64px; }
}

/* 0.20 catalog taxonomy and reference-inspired filter experience */
.catalog-category-strip {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  padding-top:16px;
  padding-bottom:16px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fff;
}
.catalog-brand-strip {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  padding-top:0;
  padding-bottom:14px;
  background:#fff;
}
.catalog-category-strip a,
.catalog-brand-strip a {
  display:inline-flex;
  min-height:42px;
  align-items:center;
  justify-content:center;
  padding:0 19px;
  border:1px solid #ecece8;
  border-radius:999px;
  background:#f7f7f5;
  color:#2d2d2a;
  font-size:12px;
  font-weight:750;
  white-space:nowrap;
}
.catalog-category-strip a:hover,
.catalog-category-strip a.active,
.catalog-brand-strip a:hover {
  border-color:var(--accent);
  background:var(--accent);
  color:#fff;
  box-shadow:0 8px 18px rgba(221,43,29,.13);
}
.filter-accordion-heading {
  display:flex;
  width:100%;
  align-items:center;
  justify-content:space-between;
  padding:0 0 11px;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
  color:var(--ink);
  cursor:pointer;
  font:800 11px var(--body);
  letter-spacing:.02em;
  text-transform:uppercase;
}
.filter-accordion-heading b { color:var(--muted); font-size:14px; transition:transform .2s; }
.filter-accordion-heading[aria-expanded="false"] b { transform:rotate(-90deg); }
.facet-pill-options { display:flex; flex-wrap:wrap; gap:8px; padding-top:12px; }
.facet-pill-options[hidden] { display:none; }
.facet-pill {
  display:inline-flex;
  min-height:34px;
  align-items:center;
  gap:6px;
  padding:0 11px;
  border:1px solid #deded9;
  border-radius:999px;
  background:#fff;
  color:#555550;
  cursor:pointer;
  font:650 10px var(--body);
}
.facet-pill small { color:#999993; font:700 8px var(--mono); }
.facet-pill:hover,.facet-pill.active { border-color:var(--accent); background:var(--accent-soft); color:var(--accent); }
.facet-pill.active small { color:var(--accent); }
.color-pill-options .facet-pill { position:relative; }
.catalog-sidebar .filter-group { padding-block:16px; }
.catalog-sidebar .type-filter-options { display:flex; flex-wrap:wrap; gap:8px; }
.catalog-sidebar .type-filter-option { width:auto; min-height:34px; border:1px solid #deded9; border-radius:999px; background:#fff; padding:0 11px; }
.catalog-sidebar .type-filter-option.active { border-color:var(--accent); background:var(--accent-soft); color:var(--accent); }
@media (max-width:760px) {
  .catalog-hero { padding-top:38px; padding-bottom:28px; }
  .catalog-hero h1 { font-size:clamp(42px,13vw,64px); }
  .catalog-category-strip {
    position:relative;
    justify-content:flex-start;
    flex-wrap:nowrap;
    width:100%;
    overflow-x:auto;
    padding:12px 14px;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  .catalog-brand-strip {
    justify-content:flex-start;
    flex-wrap:nowrap;
    width:100%;
    overflow-x:auto;
    padding:0 14px 12px;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  .catalog-brand-strip::-webkit-scrollbar { display:none; }
  .catalog-category-strip::-webkit-scrollbar { display:none; }
  .catalog-category-strip a,
  .catalog-brand-strip a { flex:0 0 auto; min-height:38px; padding:0 16px; scroll-snap-align:start; font-size:11px; }
  .catalog-layout { padding-top:14px; }
  .catalog-sidebar {
    position:fixed;
    inset:0 0 0 auto;
    z-index:120;
    display:block;
    width:min(88vw,390px);
    height:100dvh;
    margin:0;
    padding:0 18px 110px;
    overflow-y:auto;
    border:0;
    border-radius:0;
    background:#fff;
    box-shadow:-20px 0 50px rgba(0,0,0,.18);
    transform:translateX(102%);
    transition:transform .22s ease;
  }
  .catalog-sidebar.open { display:block; transform:translateX(0); }
  .filter-drawer-header { position:sticky; top:0; z-index:2; display:flex; margin:0 -18px; padding:16px 18px; background:#fff; border-bottom:1px solid var(--line); }
  .filter-drawer-footer { position:fixed; right:0; bottom:0; width:min(88vw,390px); padding:12px 18px max(12px,env(safe-area-inset-bottom)); background:#fff; border-top:1px solid var(--line); }
  .catalog-drawer-backdrop { position:fixed; inset:0; z-index:110; background:rgba(20,20,18,.42); opacity:0; transition:opacity .2s; }
  .catalog-drawer-backdrop.open { opacity:1; }
  body.filters-open { overflow:hidden; }
  .facet-pill-options,.catalog-sidebar .type-filter-options { gap:7px; }
  .facet-pill,.catalog-sidebar .type-filter-option { min-height:36px; }
}

/* v0.20.1 — compact guide-style catalog category pages */
.catalog-page .catalog-hero {
  width: 100%;
  max-width: none;
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  gap: 5px;
  padding: 24px max(24px, calc((100vw - 1240px) / 2));
  background: linear-gradient(105deg, #ff6268 0%, #df2517 100%);
  text-align: center;
}
.catalog-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 24px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}
.catalog-breadcrumb a {
  color: var(--ink);
  text-decoration: none;
}
.catalog-breadcrumb a:hover { color: var(--accent); }
.catalog-breadcrumb span[aria-current="page"] { color: var(--muted); }
.catalog-breadcrumb span[aria-hidden="true"] { color: var(--muted); }
.catalog-page .catalog-hero .section-kicker { display: none; }
.catalog-page .catalog-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--body);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1;
  text-transform: none;
}
.catalog-page .catalog-hero p {
  display: block;
  max-width: 760px;
  margin: 12px auto 0;
  color: var(--lifestyle-muted, #69635b);
  font-size: 15px;
  line-height: 1.65;
}
.catalog-page .catalog-discovery-tools {
  width: min(100% - 36px, 570px);
  grid-template-columns: 1fr;
  margin-inline: auto;
  padding: 14px 0 10px;
}
.catalog-page .catalog-top-search {
  min-height: 56px;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 2px;
  padding: 4px 5px 4px 20px;
  border-radius: 999px;
}
.catalog-page .catalog-top-search > svg { display: none; }
.catalog-page .catalog-top-search input { font-weight: 650; }
.catalog-page .catalog-search-image,
.catalog-page .catalog-search-submit {
  min-height: 46px;
  display: inline-grid;
  place-items: center;
  border: 0;
  cursor: pointer;
}
.catalog-page .catalog-search-image {
  width: 42px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: #696964;
}
.catalog-page .catalog-search-image:hover { color: var(--accent); background: var(--accent-soft); }
.catalog-page .catalog-search-submit {
  width: 92px;
  padding: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}
.catalog-page .catalog-search-submit:hover { background: #c92318; }
.catalog-page .catalog-search-submit span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.catalog-page .catalog-search-image svg,
.catalog-page .catalog-search-submit svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.catalog-page .catalog-category-strip { padding-top: 9px; padding-bottom: 18px; border-top: 0; }
.catalog-page .catalog-layout { padding-top: 0; }
.catalog-sidebar .filter-section-heading { gap:8px; }
.catalog-sidebar .filter-section-heading small { margin-left:auto; color:var(--muted); font-size:9px; font-weight:650; }
.filter-accordion-heading span { display:inline-flex; align-items:center; gap:7px; }
.filter-accordion-heading i { color:var(--muted); font-style:normal; font-size:12px; }
.price-apply-button,
.filter-reset-button {
  width:100%;
  min-height:40px;
  margin-top:10px;
  border:1px solid #cfcec8;
  border-radius:8px;
  background:#fff;
  color:var(--ink);
  cursor:pointer;
  font:800 10px var(--body);
}
.price-apply-button:hover { border-color:var(--accent); background:var(--accent); color:#fff; }
.filter-reset-button { margin:4px 0 12px; color:var(--muted); }
.filter-reset-button:hover { border-color:#aaa; color:var(--ink); }
@media (max-width: 760px) {
  .catalog-page .catalog-hero { min-height:88px; padding:20px 16px; }
  .catalog-page .catalog-hero h1 { font-size:29px; }
  .catalog-page .catalog-discovery-tools { width:calc(100% - 24px); padding-top:12px; padding-bottom:8px; }
  .catalog-page .catalog-top-search { min-height:54px; grid-template-columns:minmax(0,1fr) auto; padding-left:15px; }
  .catalog-page .catalog-search-image { width:38px; }
  .catalog-page .catalog-search-submit { width:70px; min-height:44px; }
  .catalog-page .catalog-category-strip { justify-content:flex-start; flex-wrap:nowrap; padding:9px 12px 14px; }
  .catalog-page .catalog-category-strip a,
  .catalog-page .catalog-brand-strip a { min-height:40px; padding:0 17px; }
  .catalog-breadcrumb {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    padding-top: 14px;
    padding-bottom: 2px;
    font-size: 11px;
    scrollbar-width: none;
  }
  .catalog-breadcrumb::-webkit-scrollbar { display: none; }
}
.catalog-page .catalog-search-image svg,
.catalog-page .catalog-search-submit svg { display:block; }
.catalog-page .catalog-search-image svg { color:#696964; }
.catalog-page .catalog-search-submit svg { color:#fff; }

/* v0.20.2 — catalog navigation and mobile filter polish */
@media (min-width: 761px) {
  .catalog-layout { grid-template-columns: minmax(285px, 300px) minmax(0, 1fr); gap: 36px; }
  .brand-filter-option > span { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; line-height: 1.25; }
}
@media (max-width: 760px) {
  .mobile-catalog-actions { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); }
  .mobile-brand-toggle { min-height: 50px; display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin: 0; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 0 2px 10px rgba(20,20,20,.025); }
  .mobile-brand-toggle > span { color: var(--accent); font-size: 17px; line-height: 1; }
  .mobile-brand-toggle > strong { font-size: 11px; }
  .mobile-brand-toggle > b { min-width: 18px; height: 18px; display: grid; place-items: center; margin-left: auto; border-radius: 999px; background: var(--accent); color: #fff; font-size: 9px; }
  .catalog-sidebar { padding-bottom: 110px; }
  .filter-drawer-footer { position: sticky !important; right: auto !important; bottom: 0; width: auto !important; margin: 0 -18px; padding: 12px 18px max(12px,env(safe-area-inset-bottom)); }
}
@media (max-width: 390px) {
  .mobile-catalog-actions { grid-template-columns: 1fr 1fr; }
  .mobile-brand-toggle { grid-column:auto; }
  .mobile-sort-control { grid-column:1 / -1; }
}
/* v0.20.3 — readable brand facet rows */
.brand-filter-option {
  grid-template-columns: 22px 18px minmax(0, 1fr) max-content;
  min-height: 44px;
}
.brand-filter-option > span {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.25;
}
.brand-filter-option small {
  justify-self: end;
  white-space: nowrap;
}
.brand-filter-option .facet-rank-placeholder {
  visibility: hidden;
}


/* v0.21.0 — confidence-aware internal visual search */
.image-search-result-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.image-search-result-card em {
  color: #217a47;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}
.image-search-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 7px;
  padding: 22px;
  border: 1px dashed var(--line-strong, #cfcfca);
  border-radius: 10px;
  background: var(--soft);
  text-align: center;
}
.image-search-empty strong { font-size: 14px; }
.image-search-empty p { max-width: 460px; margin: 0 auto; color: var(--muted); font-size: 10px; line-height: 1.6; }

/* v0.22.0 — SEO-first homepage discovery section */
.home-popular-products {
  padding-top: 74px;
  padding-bottom: 74px;
  border-top: 1px solid var(--line);
}
.home-popular-intro {
  max-width: 680px;
  margin: -10px 0 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.home-popular-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 14px;
}
.home-popular-grid[hidden] { display: none; }
.home-popular-grid .product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 7px 22px rgba(20,20,20,.04);
}
.home-popular-grid .product-card:hover {
  border-color: #b8b7b1;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20,20,20,.08);
}
.home-popular-grid .product-image {
  aspect-ratio: 1 / 1;
  min-height: 0;
  background: #f6f6f3;
}
.home-popular-grid .product-image img { object-fit: contain; }
.home-popular-grid .product-info { min-height: 132px; padding: 14px 15px 16px; }
.home-popular-grid .product-info h3 { margin-top: 7px; font-size: 14px; line-height: 1.35; }
.home-popular-grid .product-cat { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-popular-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.home-popular-footer .hero-updated { margin: 0; }
@media (max-width: 980px) {
  .home-popular-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-page .home-popular-products { display: none; }
  .home-popular-products { padding-top: 56px; padding-bottom: 58px; }
  .home-popular-intro { margin-top: -2px; font-size: 11px; }
  .home-popular-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .home-popular-grid .product-info { min-height: 119px; padding: 12px 11px 13px; }
  .home-popular-grid .product-info h3 { font-size: 12px; }
  .home-popular-footer { align-items: stretch; flex-direction: column; }
  .home-popular-footer .btn { width: 100%; justify-content: center; }
}

/* v0.22.1 — category editorial links and visible freshness */
.catalog-seo time {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
}
.catalog-related-guides {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.catalog-related-guides strong {
  margin-bottom: 2px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.catalog-related-guides a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 38px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.catalog-related-guides a:hover { color: var(--accent); }
.catalog-related-guides a span { color: var(--accent); }

/* Brand roots expose real category paths after the product grid and before
   the editorial guide. Counts come from published data. */
.brand-root-category-nav {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.brand-root-category-nav__title {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand-root-category-nav__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.brand-root-category-nav__links a {
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
}
.brand-root-category-nav__links a:hover,
.brand-root-category-nav__links a:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.brand-root-category-nav__links strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.3;
}
.brand-root-category-nav__links a > span:not([aria-hidden]) {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}
.brand-root-category-nav__links a > span[aria-hidden] {
  color: var(--accent);
  font-size: 15px;
}
@media (max-width: 760px) {
  .brand-root-category-nav { margin-top: 2px; padding-top: 16px; }
  .brand-root-category-nav__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brand-root-category-nav__links a { min-height: 46px; padding: 9px 10px; }
}
@media (max-width: 390px) {
  .brand-root-category-nav__links { grid-template-columns: 1fr; }
}
.category-context-links > a {
  width: fit-content;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}
.category-context-links > a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
@media (max-width: 760px) {
  .catalog-related-guides { margin-top: 20px; }
  .catalog-related-guides a { min-height: 42px; }
  .category-context-links > a { width: 100%; }
}

/* Compact language controls shared by localized catalog pages. */
.catalog-language-switcher { display:flex; align-items:center; gap:3px; padding:3px; border:1px solid var(--line); border-radius:999px; background:#fff; }
.catalog-language-switcher a { min-width:29px; padding:6px 7px; border-radius:999px; color:#737373; text-align:center; font:700 9px var(--mono); }
.catalog-language-switcher a[aria-current="page"] { background:var(--red); color:#fff; }
.mobile-menu > .mobile-language-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; margin-top:8px; padding-top:12px; border-top:1px solid var(--line); }
.mobile-menu > .mobile-language-links a { min-height:38px; display:grid; place-items:center; padding:0; border:1px solid var(--line); border-radius:8px; font-weight:700; }
@media (max-width: 1100px) { .catalog-language-switcher { display:none; } }

/* Mobile fixed navigation inspired by app-style storefront navigation. */
.mobile-bottom-nav { display: none; }
@media (max-width: 760px) {
  body.has-mobile-bottom-nav {
    padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important;
  }
  .mobile-bottom-nav {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 66px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 5px 6px max(5px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(24, 24, 24, .13);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -8px 24px rgba(24, 24, 24, .07);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .mobile-bottom-nav__link {
    min-width: 0;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    border-radius: 10px;
    color: #777773;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-bottom-nav__link:active { background: #f5f5f2; }
  .mobile-bottom-nav__icon {
    position: relative;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
  }
  .mobile-bottom-nav__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-bottom-nav__label {
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    font-family: var(--body);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-bottom-nav__link.is-active { color: var(--accent); }
  .mobile-bottom-nav__link.is-active .mobile-bottom-nav__label { font-weight: 850; }
  .mobile-bottom-nav__count {
    position: absolute;
    top: -5px;
    right: -8px;
    min-width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font: 800 8px/1 var(--body);
  }
  .mobile-bottom-nav__count[hidden] { display: none; }
}

/* Keep homepage sections immediately paintable during fast scrolling and capture. */
.home-page .category-shortcuts,
.home-page .seo-intro,
.home-page .buy-guide,
.home-page .catalog-editorial,
.home-page .latest-guides,
.home-page .home-faq,
.home-page .site-footer {
  content-visibility: visible;
  contain-intrinsic-size: none;
}

/* v0.25.0 — mobile two-column filter workspace inspired by marketplace apps. */
.mobile-filter-body,
.mobile-filter-panels { display: contents; }
.mobile-filter-tabs { display: none; }

@media (max-width: 760px) {
  .catalog-sidebar,
  .catalog-sidebar.open {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 62px minmax(0, 1fr) auto;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff;
    box-shadow: none;
    transform: translateY(102%) !important;
    transition: transform .22s ease !important;
  }
  .catalog-sidebar.open { transform: translateY(0) !important; }
  .catalog-drawer-backdrop { display: none !important; }
  .filter-drawer-header {
    position: relative !important;
    top: auto !important;
    z-index: 5;
    min-height: 62px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin: 0 !important;
    padding: max(8px, env(safe-area-inset-top)) 18px 8px !important;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }
  .filter-drawer-header strong { font: 850 23px/1 var(--body); letter-spacing: -.025em; text-transform: none; }
  .filter-drawer-header button { width: 42px; height: 42px; border: 0; border-radius: 50%; font-size: 30px; }
  .mobile-filter-body {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(112px, 34%) minmax(0, 66%);
    overflow: hidden;
  }
  .mobile-filter-tabs {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #f4f6f6;
    border-right: 1px solid #e0e3e3;
    overscroll-behavior: contain;
  }
  .mobile-filter-tabs button {
    position: relative;
    min-height: 68px;
    display: flex;
    align-items: center;
    padding: 12px 13px 12px 18px;
    border: 0;
    border-bottom: 1px solid #dde1e1;
    background: transparent;
    color: #3e4141;
    font: 650 13px/1.22 var(--body);
    text-align: left;
  }
  .mobile-filter-tabs button.is-active { background: #fff; color: var(--accent); font-weight: 850; }
  .mobile-filter-tabs button.is-active::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); }
  .mobile-filter-panels {
    min-width: 0;
    display: block;
    overflow-y: auto;
    padding: 18px 16px 34px;
    background: #fff;
    overscroll-behavior: contain;
  }
  .mobile-filter-panels > .filter-title,
  .mobile-filter-panels > .filter-reset-button,
  .mobile-filter-panels > .catalog-note { display: none !important; }
  .mobile-filter-panels > [data-mobile-filter-panel] { display: none !important; margin: 0; padding: 0 0 24px !important; border: 0 !important; }
  .mobile-filter-panels > [data-mobile-filter-panel].is-mobile-active { display: block !important; }
  .mobile-filter-panels .filter-section-heading { min-height: 32px; margin: 0 0 12px; padding: 0; }
  .mobile-filter-panels .filter-section-heading strong { font: 850 17px/1.15 var(--body); letter-spacing: -.015em; }
  .mobile-filter-panels .filter-section-heading small { display: block; width: 100%; margin: 5px 0 0; font-size: 10px; }
  .mobile-filter-panels .catalog-search-wrap { margin: 0 0 12px; }
  .mobile-filter-panels .brand-filter-options { max-height: none; overflow: visible; }
  .mobile-filter-panels .brand-filter-option { grid-template-columns: 18px minmax(0,1fr) max-content; padding: 9px 0; }
  .mobile-filter-panels .brand-filter-option .facet-rank { display: none; }
  .mobile-filter-panels .type-filter-options,
  .mobile-filter-panels .facet-pill-options { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; }
  .mobile-filter-panels .type-filter-option,
  .mobile-filter-panels .facet-pill {
    width: auto;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #989d9d;
    border-radius: 10px;
    background: #fff;
    color: #171717;
    font-size: 13px;
  }
  .mobile-filter-panels .type-filter-option .facet-rank,
  .mobile-filter-panels .type-filter-option small,
  .mobile-filter-panels .facet-pill small { display: none; }
  .mobile-filter-panels .type-filter-option.active,
  .mobile-filter-panels .facet-pill.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
  .mobile-filter-panels .price-input-grid { grid-template-columns: 1fr; gap: 10px; }
  .mobile-filter-panels .saved-only-control { min-height: 54px; display: flex; align-items: center; gap: 12px; padding: 8px 0; border: 0; }
  .filter-drawer-footer {
    position: relative !important;
    inset: auto !important;
    z-index: 6;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 18px max(12px, env(safe-area-inset-bottom)) !important;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 -7px 22px rgba(20,20,20,.08);
  }
  .filter-drawer-footer button {
    min-height: 52px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 850;
  }
  body.filters-open .mobile-bottom-nav { visibility: hidden; }
}

/* Brands hub: a clear, single-column intro followed by crawlable directory and FAQ content. */
.brands-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 12px;
}
.brands-breadcrumb a { color: var(--ink); text-decoration: none; }
.brands-breadcrumb a:hover { color: var(--accent); }
.brands-hero {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 46px;
}
.brands-hero h1 { font-size: clamp(58px, 7vw, 96px); }
.brands-intro {
  max-width: 1000px !important;
  margin: 0 !important;
  color: var(--muted) !important;
  font-family: var(--body) !important;
  font-size: clamp(16px, 1.5vw, 19px) !important;
  line-height: 1.75 !important;
}
.brands-directory { padding-top: 58px; padding-bottom: 72px; }
.brands-browse-note {
  max-width: 900px;
  margin: -10px 0 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.brands-faq {
  padding-top: 70px;
  padding-bottom: 76px;
  border-top: 1px solid var(--line);
}
.brands-faq > .section-kicker { display: block; margin-bottom: 10px; }
.brands-faq > h2 {
  max-width: 800px;
  margin-bottom: 28px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
}
.brands-faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.brands-faq-list article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}
.brands-faq-list h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.3; }
.brands-faq-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.brands-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px 40px;
  margin-bottom: 80px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}
.brands-cta h2 { margin: 10px 0 12px; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; }
.brands-cta-copy { max-width: 720px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.brands-cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.brands-cta-actions .btn { min-height: 48px; }
.brands-updated {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 900px) {
  .brands-faq-list { grid-template-columns: 1fr; }
  .brands-faq-list article { min-height: 0; }
  .brands-cta { grid-template-columns: 1fr; }
  .brands-cta-actions { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .brands-breadcrumb { padding-top: 18px; }
  .brands-hero { gap: 20px; padding-top: 28px; padding-bottom: 36px; }
  .brands-hero h1 { font-size: clamp(48px, 13vw, 70px); }
  .brands-intro { font-size: 15px !important; }
  .brands-directory { padding-top: 42px; padding-bottom: 54px; }
  .brands-browse-note { margin-top: -8px; font-size: 14px; }
  .brands-faq { padding-top: 50px; padding-bottom: 54px; }
  .brands-cta { gap: 18px; margin-bottom: 56px; padding: 24px 18px; }
  .brands-cta-actions { width: 100%; }
  .brands-cta-actions .btn { flex: 1 1 100%; }
}

/* footer-categories.css — CSS route bundle */
.footer-links {
  grid-template-columns: minmax(110px, .75fr) minmax(260px, 1.65fr) minmax(110px, .8fr);
}

.footer-links .footer-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}

.footer-links .footer-category-grid a {
  min-width: 0;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-links .footer-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
  }
}

.home-brand-discovery {
  padding-top: 72px;
  padding-bottom: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-brand-discovery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.home-brand-discovery h2 {
  margin: 9px 0 0;
  max-width: 820px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}
.home-brand-discovery > p {
  max-width: 720px;
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.home-brand-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
}
.home-brand-link {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.home-brand-link strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.35;
}
.home-brand-link span {
  flex: 0 0 auto;
  color: var(--muted);
  font: 10px var(--mono);
}
.home-brand-link:hover strong { color: var(--accent); }

.home-catalog-cta {
  display: grid;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  gap: 0;
  width: min(1380px, calc(100% - 24px));
  height: clamp(194px, 14vw, 226px);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface, #17171e);
}
.home-catalog-cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 28px 42px 15px;
  background: var(--surface, #17171e);
  color: var(--text, #eceae3);
}
.home-catalog-cta-copy h2 {
  max-width: none;
  margin: 0;
  color: var(--text, #eceae3);
  font-size: clamp(32px, 3.05vw, 44px);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.home-catalog-cta-copy p {
  max-width: 620px;
  margin: 10px 0 12px;
  color: var(--muted, #9a97a1);
  font-size: 15px;
  line-height: 1.35;
}
.home-catalog-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 205px;
  min-height: 47px;
  padding: 12px 20px 12px 22px;
  border-radius: 8px;
  background: var(--accent, #ff5a1f);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}
.home-catalog-cta-button:hover { background: var(--accent-light, #ff7a45); }
.home-catalog-cta-media {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  background: var(--surface, #17171e);
}
.home-catalog-cta-media img {
  display: block;
  width: 92%;
  height: 92%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 760px) {
  .home-brand-discovery { padding-top: 52px; padding-bottom: 52px; }
  .home-brand-discovery-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .home-brand-discovery h2 { font-size: 30px; }
  .home-brand-links { grid-template-columns: 1fr; }
  .home-brand-link { padding: 14px 0; }
  .home-catalog-cta {
    grid-template-columns: 1fr;
    height: auto;
    width: min(100% - 28px, 680px);
  }
  .home-catalog-cta-media { order: -1; min-height: 0; }
  .home-catalog-cta-media img { width: 94%; height: auto; aspect-ratio: 997 / 339; object-fit: contain; }
  .home-catalog-cta-copy { padding: 24px 22px 26px; }
  .home-catalog-cta-copy h2 { font-size: clamp(28px, 8vw, 38px); white-space: normal; }
  .home-catalog-cta-copy p { margin: 12px 0 18px; font-size: 14px; }
}

/* mobile-bottom-nav.css — CSS route bundle */
/* Global language control shared by desktop and mobile headers. */
.global-language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.global-language-switcher summary {
  height: 36px;
  min-width: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--line, #deded8);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #171717);
  font: 800 11px var(--body, Inter, sans-serif);
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.global-language-switcher summary::-webkit-details-marker { display: none; }
.global-language-switcher summary:hover,
.global-language-switcher summary:focus-visible,
.global-language-switcher[open] summary {
  border-color: var(--accent, #ef233c);
  outline: none;
}
.global-language-switcher summary svg {
  width: 10px;
  height: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform .18s ease;
}
.global-language-switcher[open] summary svg { transform: rotate(180deg); }
.global-language-switcher__menu {
  position: absolute;
  z-index: 130;
  top: calc(100% + 9px);
  right: 0;
  min-width: 76px;
  display: grid;
  gap: 3px;
  padding: 6px;
  border: 1px solid var(--line, #deded8);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 20, 20, .16);
}
.global-language-switcher__option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--ink, #171717);
  font: 800 11px var(--body, Inter, sans-serif);
  text-decoration: none;
}
.global-language-switcher__option:hover,
.global-language-switcher__option.is-active {
  background: var(--accent, #ef233c);
  color: #fff;
}
.mobile-menu-language {
  display: grid;
  gap: 10px;
  padding: 2px 0 18px;
  border-bottom: 1px solid var(--line, #deded8);
}
.mobile-menu-language > span {
  color: var(--muted, #727272);
  font: 800 10px var(--mono, monospace);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mobile-menu-language__links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
}
.mobile-menu .mobile-menu-language__links a,
.mobile-menu-language__option {
  min-width: 0 !important;
  min-height: 38px;
  display: grid !important;
  place-items: center;
  padding: 0 8px !important;
  border: 1px solid var(--line, #deded8) !important;
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #171717);
  font: 800 11px var(--body, Inter, sans-serif) !important;
  text-align: center !important;
  text-decoration: none;
}
.mobile-menu .mobile-menu-language__links a.is-active,
.mobile-menu .mobile-menu-language__links a[aria-current="page"],
.mobile-menu-language__option.is-active {
  border-color: var(--accent, #ef233c) !important;
  background: var(--accent, #ef233c);
  color: #fff;
}
@media (min-width: 901px) {
  body.has-existing-language-switcher .global-language-switcher { display: none; }
}

/* Keep every homepage band paintable when users scroll quickly. */
.home-page .category-shortcuts,
.home-page .seo-intro,
.home-page .buy-guide,
.home-page .catalog-editorial,
.home-page .latest-guides,
.home-page .home-faq,
.home-page .site-footer {
  content-visibility: visible;
  contain-intrinsic-size: none;
}

/* Fresh mobile navigation and homepage mobile overrides. */
.mobile-bottom-nav { display: none; }
.hero-catalog-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  width: 100%;
}
.hero-catalog-meta .hero-updated { margin-top: 0; }
.hero-spreadsheet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink, #171717);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.hero-spreadsheet-link span,
.hero-spreadsheet-link:hover { color: var(--accent, #ef233c); }

@media (max-width: 760px) {
  body.has-mobile-bottom-nav {
    padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important;
  }
  .home-page .home-popular-products { display: none !important; }
  .hero-catalog-meta {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    padding: 2px 2px 0;
    text-align: center;
  }
  .hero-catalog-meta .hero-updated { margin: 0 auto; }
  .hero-spreadsheet-link { font-size: 11px; }
  .mobile-bottom-nav {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 66px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 5px 6px max(5px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(24, 24, 24, .13);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -8px 24px rgba(24, 24, 24, .07);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .mobile-bottom-nav__link {
    min-width: 0;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    border-radius: 10px;
    color: #777773;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-bottom-nav__link:active { background: #f5f5f2; }
  .mobile-bottom-nav__icon {
    position: relative;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
  }
  .mobile-bottom-nav__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-bottom-nav__label {
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    font-family: var(--body, Inter, sans-serif);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-bottom-nav__link.is-active { color: var(--accent, #ef233c); }
  .mobile-bottom-nav__link.is-active .mobile-bottom-nav__label { font-weight: 850; }
  .mobile-bottom-nav__count {
    position: absolute;
    top: -5px;
    right: -8px;
    min-width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--accent, #ef233c);
    color: #fff;
    font: 800 8px/1 var(--body, Inter, sans-serif);
  }
  .mobile-bottom-nav__count[hidden] { display: none; }
}

/* Tablet and compact-desktop navigation opens as a contained dropdown, not a full-screen sheet. */
@media (min-width: 761px) {
  .mobile-menu {
    top: 74px !important;
    right: clamp(18px, 4vw, 48px) !important;
    bottom: auto !important;
    left: auto !important;
    width: min(390px, calc(100vw - 36px));
    max-height: min(680px, calc(100vh - 94px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 22px 22px !important;
    border: 1px solid var(--line, #deded8) !important;
    border-radius: 14px;
    background: #fff !important;
    box-shadow: 0 22px 60px rgba(20, 20, 20, .17);
    transform: translateY(-12px) scale(.985) !important;
    transform-origin: top right;
  }
  .mobile-menu.open {
    transform: translateY(0) scale(1) !important;
  }
  .mobile-menu > a,
  .mobile-menu > button {
    padding: 11px 0 !important;
    font-size: 20px !important;
    line-height: 1.15;
  }
  .mobile-menu-language { padding-top: 4px; }
}

/* Language visibility and mobile scrollbar cleanup v0.25.0. */
.catalog-language-switcher a[aria-current="page"],
.language-switcher a[aria-current="page"],
.account-language-switcher a[aria-current="page"] {
  display: inline-grid !important;
  place-items: center;
  background: var(--accent, #f12b3d) !important;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 760px) {
  .mobile-menu-language__links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .mobile-menu .mobile-menu-language__links a,
  .mobile-menu-language__option {
    padding-inline: 4px !important;
  }
  html,
  body,
  .mobile-menu {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  .mobile-menu::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

/* v0.25.0 — paused membership, four-item mobile nav and category browser. */
.membership-paused [data-account-link],
.membership-paused .account-header-link,
.membership-paused .sign-in-btn { display: none !important; }

@media (max-width: 760px) {
  .mobile-bottom-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.mobile-categories-open { overflow: hidden !important; }
  .mobile-category-browser {
    position: fixed;
    z-index: 75;
    inset: 0 0 calc(66px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background: #fff;
    color: var(--ink, #171717);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .mobile-category-browser.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-category-browser__header {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: max(10px, env(safe-area-inset-top)) 12px 10px;
    border-bottom: 1px solid var(--line, #deded8);
    background: #f7f7f3;
  }
  .mobile-category-browser__back {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #111;
    font: 500 29px/1 var(--body, Inter, sans-serif);
  }
  .mobile-category-browser__search {
    min-height: 47px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 0 15px;
    border: 1.5px solid #aeb8ba;
    border-radius: 999px;
    background: #fff;
  }
  .mobile-category-browser__search svg { width: 23px; height: 23px; fill: none; stroke: #111; stroke-width: 2; stroke-linecap: round; }
  .mobile-category-browser__search input { min-width: 0; border: 0; outline: 0; background: transparent; color: #111; font: 600 14px var(--body, Inter, sans-serif); }
  .mobile-category-browser__content { overflow-y: auto; padding: 17px 12px 26px; overscroll-behavior: contain; }
  .mobile-category-browser__eyebrow { display: block; margin-bottom: 4px; color: var(--accent, #ef233c); font: 800 9px var(--mono, monospace); letter-spacing: .09em; text-transform: uppercase; }
  .mobile-category-browser h2 { margin: 0 0 14px; font: 850 clamp(24px, 7vw, 31px)/1.05 var(--body, Inter, sans-serif); letter-spacing: -.035em; }
  .mobile-category-browser__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .mobile-category-browser__grid a {
    position: relative;
    min-width: 0;
    aspect-ratio: .72;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 7px;
    overflow: hidden;
    padding: 10px 8px 0;
    border: 1px solid #aab7b9;
    border-radius: 10px;
    background: linear-gradient(180deg,#fff 0 55%,#edfafa 55% 100%);
    color: #141414;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(20,20,20,.06);
  }
  .mobile-category-browser__grid strong { position: relative; z-index: 1; min-height: 32px; font: 750 12px/1.16 var(--body, Inter, sans-serif); overflow-wrap: anywhere; }
  .mobile-category-browser__grid img { width: 100%; height: 68%; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; }
  .mobile-menu-history-link,
  .mobile-menu-blog-link { font-weight: 800 !important; }
}

/* Keep the mobile category browser on the same visual system as the public site. */
@media (max-width: 760px) {
  .mobile-category-browser {
    background: var(--bg, #0D0D12);
    color: var(--text, #ECEAE3);
  }
  .mobile-category-browser__header {
    border-color: var(--line, rgba(236, 234, 227, .12));
    background: rgba(13, 13, 18, .97);
  }
  .mobile-category-browser__back { color: var(--text, #ECEAE3); }
  .mobile-category-browser__search {
    border-color: rgba(236, 234, 227, .28);
    background: var(--surface, #131318);
  }
  .mobile-category-browser__search svg { stroke: var(--muted, #9A97A1); }
  .mobile-category-browser__search input { color: var(--text, #ECEAE3); }
  .mobile-category-browser__search input::placeholder { color: var(--muted, #9A97A1); }
  .mobile-category-browser__eyebrow { color: var(--accent, #FF5A1F); }
  .mobile-category-browser h2 { color: var(--text, #ECEAE3); }
  .mobile-category-browser__grid a {
    border-color: rgba(236, 234, 227, .14);
    background: linear-gradient(180deg, var(--surface, #131318) 0 55%, var(--surface-2, #17171E) 55% 100%);
    color: var(--text, #ECEAE3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
  }
  .mobile-category-browser__grid a:focus-visible,
  .mobile-category-browser__grid a:hover { border-color: var(--accent, #FF5A1F); }
  .mobile-category-browser__grid img { mix-blend-mode: normal; }
}

.site-header .sign-in-btn,
.site-header [data-account-link],
.site-header .account-header-link,
.mobile-menu a[href$="/account"] { display: none !important; }

/* new-site.css — CSS route bundle */
:root {
  --site-ink: #14231d;
  --site-paper: #f4f7f3;
  --site-white: #ffffff;
  --site-soft: #e9f0eb;
  --site-line: #cdd8d1;
  --site-muted: #5e6b64;
  --site-green: #137a52;
  --site-green-dark: #0b583a;
  --site-coral: #f45f45;
  --site-blue: #2f5be7;
  --site-yellow: #f3c94a;
  --site-radius: 8px;
  --site-shadow: 0 18px 45px rgba(20, 35, 29, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--site-paper); color: var(--site-ink); font-family: Inter, Arial, Helvetica, sans-serif; letter-spacing: 0; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
.noise { display: none !important; }
.section-shell { width: min(1380px, calc(100% - 48px)); margin-inline: auto; }
.section-kicker, .eyebrow { color: var(--site-green); font-size: 12px; font-weight: 850; letter-spacing: 0; text-transform: uppercase; }
.section-kicker::before { content: ""; display: inline-block; width: 22px; height: 2px; margin: 0 9px 3px 0; background: var(--site-coral); }

.site-header { box-sizing: border-box; min-height: 74px; padding: 0 24px; border-bottom: 1px solid var(--site-line); background: rgba(255,255,255,.97); display: grid; grid-template-columns: minmax(240px,auto) minmax(0,1fr) auto; align-items: center; gap: 24px; position: sticky; top: 0; z-index: 100; }
.brand-system { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand-system .brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; background: var(--site-green); color: #fff; font-size: 20px; font-weight: 900; }
.brand-system .brand-words { display: grid; gap: 1px; }
.brand-system .brand-words strong { color: var(--site-ink); font-size: 16px; line-height: 1; text-transform: uppercase; }
.brand-system .brand-words small { color: var(--site-green); font-size: 10px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: clamp(16px,2vw,34px); min-width: 0; }
.desktop-nav a { color: #425149; font-size: 13px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--site-green); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.language-switcher { position: relative; }
.language-switcher summary { list-style: none; min-width: 58px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--site-line); border-radius: 999px; background: var(--site-white); color: var(--site-ink); font-size: 12px; font-weight: 850; cursor: pointer; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after { content: "⌄"; font-size: 13px; }
.language-switcher > div { position: absolute; right: 0; top: calc(100% + 8px); width: max-content; min-width: 0; padding: 4px; border: 1px solid var(--site-line); border-radius: var(--site-radius); background: var(--site-white); box-shadow: var(--site-shadow); }
.language-switcher > div a { display: block; padding: 7px 10px; border-radius: 5px; text-align: center; text-decoration: none; font-size: 12px; font-weight: 800; }
.language-switcher > div a:hover, .language-switcher > div a[aria-current="page"] { background: var(--site-green); color: #fff; }
.saved-link { min-height: 40px; padding: 0 11px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--site-line); border-radius: 999px; background: var(--site-white); color: var(--site-ink); text-decoration: none; }
.saved-link svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.saved-link b { min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--site-coral); color: #fff; font-size: 10px; }
.header-shop-link { min-height: 40px; padding: 0 15px; display: inline-flex; align-items: center; gap: 8px; border-radius: 6px; background: var(--site-green); color: #fff; font-size: 12px; font-weight: 850; text-decoration: none; }
.header-shop-link:hover { background: var(--site-green-dark); }
.menu-toggle { width: 42px; height: 42px; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--site-line); border-radius: 50%; background: var(--site-white); }
.menu-toggle span { width: 18px; height: 2px; background: var(--site-ink); }
.mobile-menu { position: fixed; inset: 74px 0 0 auto; width: min(440px,100%); height: calc(100dvh - 74px); padding: 22px 26px 110px; overflow-y: auto; border-left: 1px solid var(--site-line); background: var(--site-paper); box-shadow: -20px 0 50px rgba(20,35,29,.12); z-index: 99; }
.mobile-menu:not(.open) { display: none; }
.mobile-menu-intro { display: grid; gap: 4px; padding: 0 0 18px; border-bottom: 1px solid var(--site-line); }
.mobile-menu-intro strong { font-size: 19px; }
.mobile-menu-intro span { color: var(--site-muted); font-size: 13px; }
.mobile-menu > a { display: block; padding: 13px 0; border-bottom: 1px solid var(--site-line); font-size: 19px; font-weight: 800; text-decoration: none; }
.mobile-menu > a.active { color: var(--site-green); }
.mobile-menu .mobile-menu-shop { margin-top: 18px; padding: 14px 16px; border: 0; border-radius: 6px; background: var(--site-coral); color: #fff; text-align: center; }
.mobile-menu-language { margin-top: 24px; }
.mobile-menu-language > span { color: var(--site-muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.mobile-menu-language__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.mobile-menu-language__links a { padding: 11px; border: 1px solid var(--site-line); border-radius: 999px; background: #fff; text-align: center; text-decoration: none; font-weight: 800; }
.mobile-menu-language__links a[aria-current="page"] { background: var(--site-green); color: #fff; border-color: var(--site-green); }

.home-page main { overflow: hidden; }
.home-page .home-hero { width: 100%; max-width: none; min-height: 540px; margin: 0; padding: clamp(64px,8vw,112px) max(24px,calc((100vw - 1380px) / 2)); border-bottom: 1px solid var(--site-line); background: var(--site-soft); }
.home-page .hero-copy { max-width: 1120px; }
.home-page .eyebrow { display: flex; align-items: center; gap: 10px; }
.home-page .eyebrow span { width: 30px; height: 3px; background: var(--site-coral); }
.home-page .hero h1 { max-width: 980px; margin: 22px 0 18px; color: var(--site-ink); font-size: clamp(56px,7.6vw,118px); line-height: .88; letter-spacing: 0; text-transform: uppercase; }
.home-page .hero h1 em { display: block; margin-top: 12px; color: var(--site-green); font-style: normal; font-size: .72em; }
.home-page .hero-lead { max-width: 770px; margin: 0 0 28px; color: #405047; font-size: clamp(16px,1.5vw,21px); line-height: 1.6; }
.home-page .hero-search-area { display: grid; grid-template-columns: minmax(0,720px) 1fr; gap: 18px; align-items: start; }
.hero-search { min-height: 62px; padding: 5px; display: grid; grid-template-columns: minmax(0,1fr) 48px 52px; align-items: center; border: 2px solid var(--site-ink); border-radius: 8px; background: #fff; }
.hero-search input { width: 100%; min-width: 0; padding: 0 16px; border: 0; outline: 0; background: transparent; color: var(--site-ink); font: inherit; font-size: 16px; }
.hero-camera, .hero-search-submit { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 6px; }
.hero-camera { color: var(--site-green); }
.hero-search-submit { background: var(--site-coral); color: #fff; }
.hero-camera svg, .hero-search-submit svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.hot-searches { padding: 2px 0; }
.hot-searches > strong { display: block; margin-bottom: 9px; color: var(--site-muted); font-size: 11px; text-transform: uppercase; }
.hot-search-list { display: flex; flex-wrap: wrap; gap: 6px; max-height: 86px; overflow: hidden; }
.hot-searches a { padding: 6px 9px; border: 1px solid var(--site-line); border-radius: 999px; background: #fff; color: #415048; font-size: 11px; text-decoration: none; }
.hot-searches a span { display: none; }
.hot-searches a:hover { border-color: var(--site-green); color: var(--site-green); }
.hero-actions { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-actions .hero-catalog-meta { flex-basis: 100%; }
.btn, .product-action, .affiliate-offer a { border-radius: 6px; font-weight: 850; }
.btn-primary, .product-action-primary { background: var(--site-coral); color: #fff; }
.btn-primary:hover, .product-action-primary:hover { background: #dc4b34; }
.btn-secondary { background: var(--site-coral); color: #fff; text-decoration: none; }
.btn-secondary:hover { background: #dc4b34; color: #fff; }
.hero-updated { color: var(--site-muted); font-size: 12px; }

.home-proof-strip { width: min(1380px,calc(100% - 48px)); margin: 28px auto 0; padding: 12px 10px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--site-line); border-radius: 8px; background: var(--site-soft); }
.home-proof-item { min-width: 0; min-height: 84px; padding: 7px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; }
.home-proof-item:not(:last-child) { border-right: 1px solid var(--site-line); }
.home-proof-item svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: var(--site-coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-proof-item--shipping svg { transform: rotate(45deg); }
.home-proof-item strong { color: var(--site-ink); font-size: 16px; line-height: 1.15; overflow-wrap: anywhere; }
.home-proof-item span { max-width: 24ch; color: var(--site-muted); font-size: 11px; line-height: 1.35; text-wrap: balance; }

.compact-heading, .home-brand-discovery-head, .related-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.compact-heading h2, .home-brand-discovery h2, .catalog-editorial h2, .buy-guide h2, .latest-guides h2, .home-faq h2, .seo-intro h2 { margin: 9px 0 0; color: var(--site-ink); font-size: clamp(30px,4vw,56px); line-height: .98; letter-spacing: 0; }
.text-link { color: var(--site-green); font-size: 13px; font-weight: 800; text-decoration: none; }
.home-popular, .category-shortcuts, .catalog-editorial, .home-brand-discovery, .buy-guide, .latest-guides, .home-faq, .seo-intro { padding-block: clamp(62px,7vw,100px); }
.home-popular-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.quick-categories { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 18px; }
.quick-category-card { flex: 0 1 calc((100% - 72px) / 5); min-width: 190px; max-width: 260px; overflow: hidden; border: 1px solid var(--site-line); border-radius: var(--site-radius); background: #fff; text-decoration: none; }
.quick-category-media { aspect-ratio: 1; display: grid; place-items: center; padding: clamp(14px,1.4vw,24px); background: var(--site-soft); overflow: hidden; }
.quick-category-media img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; transition: transform .25s ease; }
.quick-category-card:hover img { transform: scale(1.04); }
.quick-category-title { display: block; min-height: 54px; padding: 12px; font-size: 13px; line-height: 1.2; }
.affiliate-offer { padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-radius: var(--site-radius); background: var(--site-blue); color: #fff; }
.affiliate-offer .coupon-copy { display: grid; gap: 10px; max-width: 980px; }
.affiliate-offer .coupon-copy h2 { margin: 0; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; }
.affiliate-offer .coupon-copy strong { font-size: 16px; line-height: 1.4; }
.affiliate-offer .coupon-copy ul { margin: 0; padding-left: 21px; display: grid; gap: 4px; line-height: 1.45; }
.affiliate-offer .coupon-copy p { margin: 0; color: #dfe6ff; line-height: 1.55; }
.affiliate-offer .coupon-copy code { font-family: var(--site-mono, ui-monospace, monospace); font-weight: 850; }
.affiliate-offer div { display: grid; gap: 5px; }
.affiliate-offer span, .affiliate-offer small { color: #dfe6ff; }
.affiliate-offer strong { font-size: clamp(19px,2vw,28px); }
.affiliate-offer a { padding: 14px 18px; background: var(--site-yellow); color: var(--site-ink); text-decoration: none; white-space: nowrap; }
.catalog-editorial { display: grid; grid-template-columns: minmax(280px,.75fr) minmax(0,1.25fr); gap: 54px; border-bottom: 1px solid var(--site-line); }
.catalog-editorial p, .home-brand-discovery > p, .seo-intro-copy > p { color: #46544c; font-size: 17px; line-height: 1.75; }
.home-brand-links { margin-top: 24px; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; }
.home-brand-links a { min-height: 54px; padding: 11px 12px; display: flex; align-items: center; border: 1px solid var(--site-line); border-radius: 6px; background: #fff; text-decoration: none; }
.home-brand-links a strong { font-size: 13px; line-height: 1.15; }
.buy-guide { border-block: 1px solid var(--site-line); }
.buy-steps { margin-top: 28px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.buy-steps article { min-height: 210px; padding: 28px; border: 1px solid var(--site-line); border-radius: var(--site-radius); background: #fff; }
.buy-steps article > span { color: var(--site-coral); font-weight: 900; }
.buy-steps h3 { margin: 36px 0 10px; font-size: 22px; }
.buy-steps p { color: var(--site-muted); line-height: 1.6; }
.home-guide-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.home-guide-grid article { min-height: 0; padding: 20px; border: 1px solid var(--site-line); border-radius: var(--site-radius); background: #fff; }
.home-guide-grid h3 { margin: 0; font-size: 22px; line-height: 1.15; }
.home-guide-grid h3 a { color: inherit; text-decoration: none; }
.home-faq { display: grid; grid-template-columns: 1fr; gap: 30px; }
.home-faq-heading p { color: var(--site-muted); line-height: 1.65; }
.home-faq-list { border-top: 1px solid var(--site-line); }
.home-faq-item { padding: 20px 0; border-bottom: 1px solid var(--site-line); }
.home-faq-item h3 { margin: 0 0 10px; color: var(--site-ink); font-size: 15px; line-height: 1.35; font-weight: 800; }
.home-faq-item p { margin: 0 0 2px; padding: 0; color: var(--site-muted); line-height: 1.7; }
.seo-intro { display: block; border-top: 1px solid var(--site-line); }
.seo-intro-heading { max-width: 900px; margin-bottom: 34px; }
.seo-intro-heading h2 { margin-bottom: 0; }
.seo-intro-copy { min-width: 0; }
.seo-intro-copy h3 { margin: 28px 0 12px; color: var(--site-ink); font-size: clamp(21px,2.2vw,30px); line-height: 1.15; }
.seo-intro-copy h4 { margin: 24px 0 10px; color: var(--site-ink); font-size: 16px; line-height: 1.25; }
.seo-intro-lead { margin-top: 0; }
.seo-process-line { padding: 14px 16px; border: 1px solid rgba(205,216,209,.28); border-radius: 8px; background: #15161b; color: #b8b8bd; }
.seo-comparison-table { width: 100%; margin-top: 20px; overflow: hidden; border: 1px solid rgba(205,216,209,.34); border-radius: 9px; border-spacing: 0; background: #15161b; color: #b8b8bd; font-size: 15px; line-height: 1.55; text-align: left; }
.seo-comparison-table th, .seo-comparison-table td { padding: 18px 20px; border-top: 1px solid rgba(205,216,209,.15); vertical-align: top; }
.seo-comparison-table thead th { border-top: 0; background: #191a20; color: #f0eee9; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.seo-comparison-table tbody th { width: 36%; color: #f0eee9; font-weight: 700; }
.seo-comparison-table tbody td { width: 64%; }
.seo-intro-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seo-intro-links a { padding: 16px; display: grid; gap: 4px; border: 1px solid var(--site-line); border-radius: 6px; background: #fff; text-decoration: none; }
.seo-intro-links span { color: var(--site-muted); font-size: 11px; }

.catalog-page, .brands-page { background: var(--site-paper); }
.catalog-hero, .brands-hero, .content-hero { border-bottom: 1px solid var(--site-line); background: var(--site-soft); }
.catalog-hero h1, .brands-hero h1, .content-hero h1 { color: var(--site-ink); letter-spacing: 0; }
.catalog-hero h1 em, .brands-hero h1 em, .content-hero h1 em { color: var(--site-green); }
.catalog-toolbar, .catalog-sidebar, .catalog-seo, .brands-directory, .content-card, .product-detail, .related { border-color: var(--site-line); border-radius: var(--site-radius); background: #fff; box-shadow: none; }
@media (min-width: 761px) {
  .catalog-sidebar { position: sticky; top: 90px; }
}
.catalog-search-wrap input, .brand-search-wrap input, select { border-color: var(--site-line); border-radius: 6px; background: #fff; }
.catalog-search-submit { border-radius: 6px; background: var(--site-green); color: #fff; }
.filter-chip, .product-type-chip { border-radius: 999px; }
.catalog-grid { gap: 11px; }
.product-card { overflow: hidden; border: 1px solid var(--site-line); border-radius: var(--site-radius); background: #fff; box-shadow: none; transition: border-color .2s ease, transform .2s ease; }
.product-card:hover { border-color: var(--site-green); transform: translateY(-2px); }
.product-image { background: var(--site-soft); }
.product-image img { object-fit: contain; }
.product-info h3 { letter-spacing: 0; }
.product-price strong, .detail-price { color: var(--site-green-dark); }
.catalog-pagination a.active { background: var(--site-green); border-color: var(--site-green); color: #fff; }
.catalog-seo { margin-top: 48px; }
.catalog-seo:has(.brand-approved-content) { grid-template-columns: 1fr; gap: 34px; }
.brand-approved-content { grid-column: 1 / -1; width: 100%; max-width: none; }
.brand-approved-section { width: 100%; max-width: 100%; margin: 0 0 34px; }
.brand-approved-section h2 { max-width: 100%; margin: 0 0 14px; font-size: clamp(24px, 3vw, 42px); line-height: 1.08; letter-spacing: 0; }
.brand-editorial-copy > .brand-approved-content > .brand-approved-section:first-child h2 { font-size: clamp(28px, 3.4vw, 48px); }
.brand-approved-section p { max-width: 100%; color: var(--site-muted); font-size: 15px; line-height: 1.75; }
.brand-approved-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.brand-approved-category-link { position: relative; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 19px; border: 1px solid var(--site-line); border-radius: 7px; background: var(--site-white); color: var(--site-ink); text-decoration: none; transition: border-color .18s, background .18s, box-shadow .18s, transform .18s; }
.brand-approved-category-link::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: transparent; transition: background .18s; }
.brand-approved-category-link strong { color: var(--site-coral); font-size: 14px; line-height: 1.3; text-decoration: underline; text-decoration-color: var(--site-coral); text-underline-offset: 3px; }
.brand-approved-category-link span { color: var(--site-coral); font-size: 17px; }
.brand-approved-category-link:hover { border-color: var(--site-coral); background: #1b1c22; box-shadow: 0 8px 20px rgba(0, 0, 0, .28); transform: translateY(-2px); }
.brand-approved-category-link:hover strong { color: var(--accent-light, #ff7a45); text-decoration-color: var(--accent-light, #ff7a45); }
.brand-approved-category-link:hover::before { background: var(--site-coral); }
.brand-approved-models a { color: var(--site-orange); text-decoration: underline; text-underline-offset: 3px; }
.brand-approved-models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding-left: 20px; }
.brand-approved-models li { color: var(--site-ink); }
.brand-approved-content .catalog-faq { width: 100%; }
@media (max-width: 760px) { .brand-approved-models { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .brand-approved-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .brand-approved-links { grid-template-columns: 1fr; } }
.brand-editorial-copy p, .category-editorial-copy p, .catalog-editorial-copy p { max-width: 78ch; color: #46544c; line-height: 1.75; }
.catalog-related-guides a { color: var(--site-green); }
.catalog-faq { align-content: start; }
.catalog-faq-title { margin: 8px 0 14px; color: var(--site-ink); font-size: clamp(24px, 2.5vw, 34px); line-height: 1.08; letter-spacing: 0; }
.catalog-faq-item { padding: 16px 18px; border-top: 1px solid var(--site-line); background: #fffdf9; }
.catalog-faq-item h4 { margin: 0 0 8px; color: var(--site-ink); font: 700 14px/1.35 var(--body, Inter, sans-serif); letter-spacing: 0; }
.catalog-faq-item p { margin: 0; color: #46544c; font: 14px/1.65 var(--body, Inter, sans-serif); letter-spacing: 0; }

/* Supreme is a single discovery page: keep its readable copy and FAQ in one
   column so the editorial blocks do not leave a large unused rail. */
.supreme-brand-page .catalog-hero,
.supreme-brand-page .catalog-seo { grid-template-columns: 1fr; }
.supreme-brand-page .catalog-hero > p,
.supreme-brand-page .catalog-seo > div > p { max-width: 900px; }
.supreme-brand-page .catalog-products-supporting { margin: -6px 0 22px; color: var(--site-muted); font-size: 15px; line-height: 1.65; }
.supreme-brand-page .catalog-seo { gap: 34px; }
.supreme-brand-page .catalog-seo h2 { max-width: 900px; }
.supreme-section { margin-top: 42px; padding-top: 34px; border-top: 1px solid var(--site-line); }
.supreme-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.supreme-section h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 42px); line-height: 1.05; }
.supreme-section h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.3; }
.supreme-section p,
.supreme-disclaimer,
.supreme-link-note p { max-width: 860px; color: var(--site-muted); font-size: 15px; line-height: 1.72; }
.supreme-section-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.supreme-section-grid .product-card { min-width: 0; }
.supreme-card-actions { display: flex; margin-top: 10px; }
.supreme-card-actions a { width: 100%; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--site-line); border-radius: 6px; color: var(--site-green); font-size: 12px; font-weight: 750; text-decoration: none; }
.supreme-card-actions a:hover { border-color: var(--site-coral); background: var(--accent-soft, rgba(255, 90, 31, .13)); }
.supreme-category-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.supreme-category-link { position: relative; min-height: 82px; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 5px 12px; padding: 15px 16px 15px 19px; overflow: hidden; border: 1px solid var(--site-line); border-radius: 7px; background: var(--site-white); color: var(--site-ink); text-decoration: none; transition: border-color .18s, background .18s, box-shadow .18s, transform .18s; }
.supreme-category-link::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: transparent; transition: background .18s; }
.supreme-category-link strong { color: var(--site-coral); font-size: 14px; line-height: 1.3; text-decoration: underline; text-decoration-color: var(--site-coral); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.supreme-category-link span { color: var(--site-muted); font-size: 12px; }
.supreme-category-link span:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--site-coral); font-size: 17px; }
.supreme-category-link:hover { border-color: var(--site-coral); background: #1b1c22; box-shadow: 0 8px 20px rgba(0, 0, 0, .28); transform: translateY(-2px); }
.supreme-category-link:hover strong { color: var(--accent-light, #ff7a45); text-decoration-color: var(--accent-light, #ff7a45); }
.supreme-category-link:hover::before { background: var(--site-coral); }
.supreme-collaboration-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.supreme-collaboration-group { min-width: 0; }
.supreme-collaboration-group h3 a { color: var(--site-ink); text-decoration: underline; text-decoration-color: var(--site-coral); text-underline-offset: 3px; }
.supreme-how-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: supreme-step; }
.supreme-how-list li { counter-increment: supreme-step; min-height: 136px; padding: 16px; border: 1px solid var(--site-line); border-radius: 7px; background: var(--site-white); }
.supreme-how-list li::before { content: counter(supreme-step, decimal-leading-zero); display: block; margin-bottom: 15px; color: var(--site-green); font: 700 12px var(--mono); }
.supreme-how-list strong { display: block; margin-bottom: 8px; color: var(--site-ink); font-size: 14px; }
.supreme-how-list span { display: block; color: var(--site-muted); font-size: 13px; line-height: 1.6; }
.supreme-link-note { margin-top: 34px; padding: 18px 20px; border: 1px solid var(--site-line); border-left: 3px solid var(--site-coral); background: var(--site-soft); }
.supreme-link-note p { margin: 0; }
.supreme-final-copy { margin-top: 42px; }
.supreme-disclaimer { margin: 28px 0 0; color: #6c756d; font-size: 12px; }
@media (max-width: 960px) {
  .supreme-section-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .supreme-category-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supreme-how-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .supreme-section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .supreme-collaboration-groups { grid-template-columns: 1fr; gap: 28px; }
  .supreme-category-links,
  .supreme-how-list { grid-template-columns: 1fr; }
  .supreme-section p,
  .supreme-disclaimer,
  .supreme-link-note p { font-size: 14px; }
}

.product-detail { padding: 20px; }
.detail-gallery { overflow: hidden; border-radius: var(--site-radius); background: var(--site-soft); }
.detail-gallery img { object-fit: contain; }
.detail-copy h1 { color: var(--site-ink); font-size: clamp(30px,4vw,58px); line-height: 1.03; letter-spacing: 0; }
.detail-description { color: #415048; font-size: 16px; line-height: 1.75; }
.detail-description-simple { max-width: 70ch; }
.product-highlights { margin: 22px 0; padding: 20px; border-left: 4px solid var(--site-green); background: var(--site-soft); }
.product-highlights h2 { margin: 0 0 12px; font-size: 17px; letter-spacing: 0; }
.product-highlights ul { margin: 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.product-highlights li { position: relative; padding-left: 20px; color: #3f4f46; font-size: 14px; line-height: 1.55; }
.product-highlights li::before { content: "✓"; position: absolute; left: 0; color: var(--site-green); font-weight: 900; }
.detail-gallery-v2 { overflow: hidden; }
.detail-gallery-v2 .gallery-main { position: relative; background: #eef3ef; }
.detail-gallery-v2 .gallery-main > img { width: 100%; aspect-ratio: 1 / 1; min-height: 0; max-height: 720px; object-fit: contain; background: #fff; }
.detail-gallery-v2 .gallery-main::after { display: none; }
.gallery-arrow { position: absolute; top: 50%; width: 42px; height: 42px; border: 1px solid var(--site-line); border-radius: 50%; background: rgba(255,255,255,.94); color: var(--site-ink); font-size: 18px; cursor: pointer; transform: translateY(-50%); }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; padding: 6px 9px; border-radius: 4px; background: rgba(24,50,38,.86); color: #fff; font-size: 12px; font-weight: 800; }
.detail-gallery-v2 .gallery-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 72px; gap: 8px; padding: 10px; overflow-x: auto; border-top: 1px solid var(--site-line); background: #fff; }
.detail-gallery-v2 .gallery-thumb { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 5px; background: #fff; opacity: .68; cursor: pointer; }
.detail-gallery-v2 .gallery-thumb.active { border-color: var(--site-green); opacity: 1; }
.detail-gallery-v2 .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-action { min-height: 54px; }
.product-action-primary { background: var(--site-coral); }
.product-action-secondary { background: #fff; color: var(--site-ink); border-color: var(--site-line); }
.detail-selectors select { border-color: var(--site-line); }
.related { padding: 28px; }
.agent-modal-panel { border-radius: var(--site-radius); }
.agent-modal-link.featured { border-color: var(--site-green); background: var(--site-soft); }

/* Keep the desktop gallery tied to the image column instead of stretching
   to the height of the product copy beside it. */
@media (min-width: 761px) {
  .product-detail-v3 > .detail-gallery-v2 {
    align-self: start;
    min-height: 0;
  }
  .product-detail-v3 .detail-gallery-v2 .gallery-main {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .product-detail-v3 .detail-gallery-v2 .gallery-main > img {
    height: 100%;
    min-height: 0;
    max-height: none;
  }
}

.site-footer { margin-top: 76px; padding-top: 0; border-top: 1px solid var(--site-line); }
.footer-callout { margin: 0 0 48px; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 0 0 8px 8px; background: var(--site-green); color: #fff; }
.footer-callout div { display: grid; gap: 4px; }
.footer-callout span { color: #cbe6d8; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.footer-callout strong { font-size: clamp(19px,2.4vw,30px); }
.footer-callout a { padding: 12px 16px; border-radius: 6px; background: #fff; color: var(--site-green-dark); font-weight: 850; text-decoration: none; white-space: nowrap; }
.footer-top { display: grid; grid-template-columns: .7fr 1.3fr; gap: 52px; align-items: start; }
.footer-brand p { max-width: 330px; color: var(--site-muted); line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: .75fr 1.5fr .75fr; gap: 30px; }
.footer-links > div { display: flex; flex-direction: column; gap: 9px; }
.footer-links h4 { margin: 0 0 8px; }
.footer-links a { color: #516057; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--site-green); }
.footer-category-grid { display: grid; grid-template-columns: repeat(3,minmax(92px,1fr)); gap: 8px 16px; }
.footer-bottom { margin-top: 46px; padding: 20px 0 28px; display: grid; grid-template-columns: .6fr 1.4fr auto; gap: 24px; align-items: start; border-top: 1px solid var(--site-line); color: var(--site-muted); font-size: 11px; line-height: 1.55; }
.footer-bottom p { margin: 0; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-shop-link { display: none; }
  .menu-toggle { display: inline-flex; }
  .home-page .hero-search-area { grid-template-columns: 1fr; }
  .home-popular-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .quick-category-card { flex-basis: calc((100% - 54px) / 4); max-width: none; }
  .home-brand-links { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .section-shell { width: min(100% - 28px,1380px); }
  .site-header { min-height: 64px; padding: 0 14px; gap: 7px; }
  .brand-system { gap: 7px; }
  .brand-system .brand-mark { width: 34px; height: 34px; font-size: 18px; }
  .brand-system .brand-words strong { font-size: 14px; }
  .brand-system .brand-words small { font-size: 8px; }
  .saved-link__label { display: none; }
  .saved-link { padding: 0 9px; }
  .mobile-menu { inset: 64px 0 0 auto; height: calc(100dvh - 64px); padding: 18px 20px 110px; }
  .home-page .home-hero { min-height: auto; padding: 54px 14px 46px; }
  .home-page .hero-copy { min-width: 0; }
  .home-page .hero h1 { margin-top: 18px; font-size: clamp(46px,14vw,68px); overflow-wrap: anywhere; }
  .home-page .hero h1 em { margin-top: 8px; font-size: .62em; line-height: 1; }
  .home-page .hero-lead { font-size: 16px; }
  .home-proof-strip { width: calc(100% - 28px); margin-top: 16px; padding: 4px 8px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-proof-item { min-height: 88px; padding: 10px 5px; }
  .home-proof-item:nth-child(odd) { border-right: 1px solid var(--site-line); }
  .home-proof-item:nth-child(even) { border-right: 0; }
  .home-proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--site-line); }
  .hero-search { grid-template-columns: minmax(0,1fr) 42px 46px; min-height: 56px; }
  .hero-search input { padding: 0 10px; font-size: 14px; }
  .hot-search-list { max-height: 70px; }
  .hero-actions, .compact-heading, .home-brand-discovery-head, .related-head { align-items: flex-start; flex-direction: column; }
  .home-page .hero-actions { display: flex; align-items: stretch; flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .home-page .hero-actions > .btn { min-width: 0; min-height: 48px; flex: 1 1 0; padding: 10px 7px; display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1.2; text-align: center; white-space: normal; }
  .home-popular, .category-shortcuts, .catalog-editorial, .home-brand-discovery, .buy-guide, .latest-guides, .home-faq, .seo-intro { padding-block: 54px; }
  .home-popular-grid, .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .quick-categories { gap: 12px; }
  .quick-category-card { flex-basis: calc((100% - 12px) / 2); min-width: 0; }
  .quick-category-media { padding: 12px; }
  .quick-category-title { min-height: 48px; padding: 10px; }
  .affiliate-offer { width: calc(100% - 28px); padding: 24px 20px; align-items: stretch; flex-direction: column; }
  .affiliate-offer a { text-align: center; }
  .catalog-editorial, .home-faq { grid-template-columns: 1fr; gap: 24px; }
  .seo-intro-heading { margin-bottom: 26px; }
  .home-brand-links { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
  .home-brand-links a { min-width: 0; min-height: 48px; padding: 7px 6px; }
  .home-brand-links a strong { font-size: 10px; line-height: 1.1; overflow-wrap: anywhere; text-wrap: balance; }
  .buy-steps, .home-guide-grid { grid-template-columns: 1fr; }
  .buy-steps article { min-height: 175px; }
  .seo-intro-links { grid-template-columns: 1fr; }
  .seo-comparison-row { grid-template-columns: 1fr; gap: 5px; }
  .seo-comparison-head { display: none; }
  .product-info { padding: 11px; }
  .product-info h3 { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
  .product-detail { padding: 12px; }
  .detail-copy h1 { font-size: 34px; }
  .related { padding: 18px 14px; }
  .footer-callout { margin-bottom: 38px; padding: 22px; align-items: stretch; flex-direction: column; }
  .footer-callout a { text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-links > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .footer-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-bottom { grid-template-columns: 1fr; gap: 12px; padding-bottom: 90px; }
}

@media (max-width: 390px) {
  .language-switcher summary { min-width: 48px; padding: 0 8px; }
  .saved-link b { display: none; }
  .menu-toggle { width: 38px; height: 38px; }
  .home-page .home-hero .hero-copy h1 { font-size: clamp(32px,9.2vw,36px); line-height: .98; }
  .home-page .home-hero .hero-copy h1 .hero-title-main { display: block; white-space: nowrap; }
  .home-page .home-hero .hero-copy h1 .hero-title-metric { display: block; max-width: 100%; margin-top: 9px; font-size: clamp(14px,4.3vw,17px) !important; line-height: 1.15; letter-spacing: 0; white-space: normal !important; }
}

/* Keep product media independent from the height of the purchase panel. */
.product-detail-v3 > .detail-gallery-v2 {
  align-self: start;
  min-height: 0;
  height: max-content;
}
.product-detail-v3 .detail-gallery-v2 .gallery-main {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
}
.product-detail-v3 .detail-gallery-v2 .gallery-main > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.product-detail-v3 .detail-gallery-v2 .gallery-thumbs {
  min-height: 0;
  height: 96px;
  box-sizing: border-box;
}

/* Keep the purchase panel proportionate to the square media column. */
.product-detail-v3 > .detail-copy-v3 {
  align-self: stretch;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.2vw, 42px);
}
.product-detail-v3 .detail-copy-v3 .detail-price-views { margin-top: 18px; padding: 15px 0; }
.product-detail-v3 .detail-copy-v3 .detail-description-simple { margin: 15px 0; -webkit-line-clamp: 2; }
.product-detail-v3 .detail-copy-v3 .product-highlights { margin: 15px 0; padding: 16px 17px; }
.product-detail-v3 .detail-copy-v3 .product-highlights h2 { margin-bottom: 9px; }
.product-detail-v3 .detail-copy-v3 .product-highlights ul { gap: 6px; }
.product-detail-v3 .detail-copy-v3 .product-highlights li { font-size: 12px; line-height: 1.4; }
.product-detail-v3 .detail-copy-v3 .agent-more-details-note { margin-bottom: 10px; padding: 9px 11px; font-size: 10px; }
.product-detail-v3 .detail-copy-v3 .product-action-stack {
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .62fr));
  gap: 8px;
  margin: 14px 0 16px;
}
.product-detail-v3 .detail-copy-v3 .product-action-stack .product-action { min-height: 50px; padding: 0 10px; font-size: 12px; }
.product-detail-v3 .detail-copy-v3 .product-action-stack .product-action-other-buy { line-height: 1.15; }
.product-detail-v3 .detail-copy-v3 .product-action-stack .product-action-secondary { background: #f5f5f2; color: var(--ink); border: 1px solid var(--line); }
.product-detail-v3 .detail-copy-v3 .product-action-stack .product-action-secondary:hover { background: #ecece8; }
.product-detail-v3 .detail-copy-v3 .detail-purchase-note { margin-top: auto; padding-top: 10px; }

@media (min-width: 761px) {
  .product-detail-v3 > .detail-gallery-v2 {
    align-self: stretch;
    height: auto;
  }
  .product-detail-v3 .detail-gallery-v2 .gallery-main {
    flex: 1 1 auto;
    aspect-ratio: auto;
  }
}

@media (max-width: 760px) {
  .product-detail-v3 > .detail-gallery-v2 { height: max-content; }
  .product-detail-v3 .detail-gallery-v2 .gallery-main { aspect-ratio: 1 / 1; }
  .product-detail-v3 .detail-gallery-v2 .gallery-thumbs { height: 78px; }
  .product-detail-v3 > .detail-copy-v3 { display: block; padding: 26px 20px 34px; }
  .product-detail-v3 .detail-copy-v3 .product-action-stack { grid-template-columns: 1fr; }
}

/* lifestyle-theme.css — CSS route bundle */
/* ============================================================
   KAKOBUY LIFESTYLE THEME — 暗场潮牌皮肤 v2.0.21
   原型视觉（深炭 #0D0D12 + 信号橙 #FF5A1F + Archivo Black 巨字）
   由 server.js 自动注入所有页面；内容/SEO/埋词零改动，只换视觉
   ============================================================ */

:root {
  /* ── 全局基础变量（覆盖 styles.css / minimal-theme.css / home.min.css）── */
  --bg: #0D0D12;
  --surface: #131318;
  --surface-2: #17171E;
  --line: rgba(236, 234, 227, 0.12);
  --line-strong: rgba(236, 234, 227, 0.24);
  --text: #ECEAE3;
  --muted: #9A97A1;
  --blue: #FF5A1F;
  --blue-light: #FF7A45;
  --green: #FF5A1F;
  --white: #131318;
  --accent: #FF5A1F;
  --accent-light: #FF7A45;
  --accent-soft: rgba(255, 90, 31, 0.13);
  --ink: #ECEAE3;
  --paper: #0D0D12;
  --soft: #131318;
  --display: "Archivo Black", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --radius: 14px;

  /* ── new-site.css 的 site-* 变量 ── */
  --site-ink: #ECEAE3;
  --site-paper: #0D0D12;
  --site-white: #131318;
  --site-soft: #17171E;
  --site-line: rgba(236, 234, 227, 0.12);
  --site-muted: #9A97A1;
  --site-green: #FF5A1F;
  --site-green-dark: #E04E15;
  --site-coral: #FF5A1F;
  --site-blue: #FF5A1F;
  --site-yellow: #FFB84D;
  --site-radius: 14px;
  --site-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

/* ── 全局 ── */
html { color-scheme: dark; }
body { background: var(--bg); color: var(--text); }
::selection { background: var(--accent); color: #0D0D12; }
* { scrollbar-color: #34343E #14141A; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #34343E; border-radius: 6px; }
*::-webkit-scrollbar-track { background: #14141A; }

/* 巨字字体断崖：h1/h2/hero 用 Archivo Black */
h1, h2, .hero-title, .catalog-hero h1, .brands-hero h1, .content-hero h1,
.detail-copy h1, .compact-heading strong, .quick-category-title,
.latest-guides h2, .home-guide-grid h3 {
  font-family: var(--display);
  letter-spacing: -0.01em;
}

/* ── 顶栏（白底 → 深色半透明）── */
.site-header {
  background: rgba(13, 13, 18, 0.88) !important;
  border-bottom-color: var(--line) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand strong, .brand-words strong strong { color: var(--accent); }
.brand-words small { color: var(--accent) !important; }
.brand-mark { background: var(--accent) !important; }
.desktop-nav a, .icon-text-btn, .saved-link {
  color: #B9B5BE !important;
}
.desktop-nav a:hover, .desktop-nav a.active, .icon-text-btn:hover, .saved-link:hover {
  color: var(--accent) !important;
}
.language-switcher summary, .global-language-switcher summary {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.language-switcher > div, .global-language-switcher__menu {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.5) !important;
}
.language-switcher > div a, .global-language-switcher__option {
  color: var(--text) !important;
}
.language-switcher > div a:hover, .global-language-switcher__option:hover,
.global-language-switcher__option.is-active {
  background: var(--accent) !important;
  color: #0D0D12 !important;
}
.saved-link {
  background: var(--surface) !important;
  border-color: var(--line) !important;
}
.saved-link b { background: var(--accent); color: #0D0D12; }
.header-shop-link {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #0D0D12 !important;
  border-radius: 999px;
}
.menu-toggle {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  border-radius: 999px;
}
.menu-toggle span { background: var(--text); }

@media (max-width: 760px) {
  .menu-toggle span {
    top: 50%;
    right: auto;
    left: 50%;
    width: 18px;
    transform: translate(-50%, -50%);
  }

  .menu-toggle span:first-child { top: calc(50% - 4px); }
  .menu-toggle span:last-child { top: calc(50% + 4px); }

  .menu-toggle[aria-expanded="true"] span:first-child,
  .menu-toggle[aria-expanded="true"] span:last-child { top: 50%; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
}

/* Product detail gallery: keep the desktop image area square so a tall copy
   column cannot stretch the main image into an oversized white panel. */
@media (min-width: 761px) {
  .product-detail-v3 .detail-copy-v3 h1 {
    font-size: clamp(34px, 2.8vw, 42px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.02em !important;
  }
  .product-detail-v3 > .detail-gallery-v2 {
    align-self: start !important;
    height: max-content !important;
    min-height: 0 !important;
  }
  .product-detail-v3 .detail-gallery-v2 .gallery-main {
    flex: none !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .product-detail-v3 .detail-gallery-v2 .gallery-main > img {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

/* ── 移动菜单 ── */
.mobile-menu {
  background: #101016 !important;
  border-bottom-color: var(--line) !important;
  border-left-color: var(--line) !important;
  box-shadow: -20px 0 50px rgba(0,0,0,.5) !important;
}
.mobile-menu > a, .mobile-menu > button {
  color: var(--text) !important;
  border-bottom-color: var(--line) !important;
}
.mobile-menu > a.active { color: var(--accent) !important; }
.mobile-menu-intro { border-bottom-color: var(--line); }
.mobile-menu-intro strong { color: var(--text); }
.mobile-menu-intro span { color: var(--muted); }
.mobile-menu .mobile-menu-shop { background: var(--accent); color: #0D0D12; border-radius: 999px; }
.mobile-menu-language { border-bottom-color: var(--line); }
.mobile-menu-language > span { color: var(--muted); }
.mobile-menu-language__links a, .mobile-menu-language__option {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
  border-radius: 999px;
}
.mobile-menu-language__links a.is-active,
.mobile-menu-language__option.is-active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #0D0D12 !important;
}

@media (max-width: 760px) {
  .mobile-menu {
    inset: 64px 0 auto auto;
    width: min(76vw, 360px);
    height: auto;
    max-height: min(58dvh, 660px);
    box-sizing: border-box;
    padding: clamp(16px, 4vw, 22px);
    padding-bottom: max(clamp(16px, 4vw, 22px), env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 0 0 0 8px;
  }

  .mobile-menu > .mobile-menu-language:first-child {
    margin-top: 0;
  }
}

/* ── 首页 hero ── */
.hero-copy > p { color: #B9B5BE; }
.eyebrow span { background: var(--accent); border-radius: 999px; }
.hero-search, .hero-search-area .hero-search {
  background: var(--surface) !important;
  border-color: var(--line-strong) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.35) !important;
  border-radius: 999px;
}
.hero-search-area .hero-search { border-color: rgba(255,90,31,.55) !important; }
.hero-search input { color: var(--text) !important; }
.hero-search input::placeholder { color: #6F6B76 !important; }
.hero-search svg { stroke: #6F6B76; }
.hero-camera { color: #8C8892; }
.hero-camera:hover { color: var(--accent); background: var(--accent-soft); border-radius: 999px; }
.hero-updated { color: #8C8892; }
.hero-updated::before { color: var(--accent); }
.hero-catalog-meta .hero-updated { color: #8C8892; }

/* ── 热搜下拉 ── */
.hot-searches {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
  box-shadow: 0 24px 55px rgba(0,0,0,.6) !important;
}
.hot-searches > strong { color: var(--text); }
.hot-searches > strong span { color: var(--accent); }
.hot-search-list a {
  background: var(--surface) !important;
  color: #C9C5CE !important;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.hot-search-list a:hover { background: var(--accent-soft); color: var(--accent); }
.hot-search-list a span { background: #34343E; color: #D5D2D9; }
.hot-search-list a:first-child span,
.hot-search-list a:nth-child(2) span,
.hot-search-list a:nth-child(3) span { background: var(--accent); color: #0D0D12; }

/* ── 分类快捷卡（大图卡片）── */
.quick-categories a, .quick-categories .quick-category-card {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.25) !important;
  transition: transform .35s var(--ease, ease), border-color .3s, box-shadow .3s;
}
.quick-categories a:hover, .quick-categories .quick-category-card:hover {
  border-color: rgba(255,90,31,.55) !important;
  background: var(--surface-2) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,.4) !important;
  transform: translateY(-3px);
}
.quick-categories strong { color: var(--text); font-family: var(--display); text-transform: uppercase; letter-spacing: -0.01em; }
.quick-category-media { background: #101015 !important; }
.quick-category-media img { transition: transform .6s ease; }
.quick-categories a:hover .quick-category-media img { transform: scale(1.05); }
.quick-category-title {
  border-top-color: var(--line) !important;
  color: var(--text) !important;
}

/* ── 三步指南 ── */
.buy-steps { border-color: var(--line); }
.buy-steps article { background: var(--surface) !important; border-radius: 16px; }
.buy-steps article + article { border-left-color: var(--line); }
.buy-steps article > span, .buy-steps span { color: var(--accent); }
.buy-steps h3 { color: var(--text); }
.buy-steps p { color: var(--muted); }

/* ── SEO 长文 / editorial ── */
.seo-intro-copy > p, .catalog-editorial > p { color: #B9B5BE !important; }
.seo-intro-copy > small { color: #8C8892; }
.seo-intro-links a, .home-guide-grid article {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
  border-radius: 14px;
}
.seo-intro-links a:hover { border-color: rgba(255,90,31,.5); }
.seo-intro-links span { color: #8C8892; }
.seo-intro-links strong { color: var(--text); }
.catalog-editorial h2 { color: var(--text); }
.catalog-editorial > p strong { color: var(--text); }

/* ── FAQ ── */
.home-faq-list { border-top-color: var(--line); }
.home-faq-list details { border-bottom-color: var(--line); }
.home-faq-list summary { color: var(--text); }
.home-faq-list summary::after { color: var(--accent); }
.home-faq-list details p { color: var(--muted); }
.home-faq-heading p { color: var(--muted); }

/* ── 联盟条 ── */
.affiliate-offer {
  background: var(--surface) !important;
  border-color: rgba(255,90,31,.35) !important;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3) !important;
}
.affiliate-offer span { color: var(--accent); }
.affiliate-offer strong { color: var(--text); }
.affiliate-offer small { color: var(--muted); }

/* ── 商品卡（列表/分类/品牌/搜索）─ 原型风格：深面板卡片 ── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .35s var(--ease, ease), border-color .3s, box-shadow .3s;
}
.product-card:hover {
  border-color: rgba(255, 90, 31, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.product-image { background: #fff; }
.product-image img {
  transition: transform .6s ease;
  mix-blend-mode: normal;
  filter: none;
}
.product-card:hover .product-image img { transform: scale(1.04); }
.product-badge {
  background: var(--accent) !important;
  color: #0D0D12 !important;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.quick-view {
  background: rgba(13, 13, 18, 0.82) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 600;
}
.quick-view:hover { background: var(--accent) !important; color: #0D0D12 !important; border-color: var(--accent) !important; }
.product-cat { color: var(--muted); }
.product-cat a { color: var(--accent); }
.product-title-link h3 { color: var(--text); transition: color .25s; }
.product-title-link:hover h3 { color: var(--accent); }
.product-price strong { color: var(--text); font-family: var(--display); font-size: 1.12em; }
.product-price span { color: #8C8892; }
.product-views { color: #8C8892; }
.product-views i, .product-views span[aria-hidden="true"] { color: var(--accent); }
.product-views.is-new { color: var(--accent); }
.rating, .catalog-product .rating { color: #8C8892; }
.rating strong, .catalog-product .rating strong { color: #D5D2D9; }
.rating i, .catalog-product .rating i { color: var(--accent); }

/* ── 商品详情页 ── */
.server-product-gallery { background: #fff; border-radius: 18px; overflow: hidden; }
.server-product-gallery img {
  width: 100%; height: auto;
  mix-blend-mode: normal;
  filter: none;
}
.detail-badge { background: var(--accent) !important; color: #0D0D12 !important; border-radius: 999px; }
.detail-copy h1, .server-product-copy h1 { color: var(--text); }
.detail-description, .product-description-panel p { color: #B9B5BE; }
.detail-price-row { border-block-color: var(--line); }
.detail-price-row small { color: #8C8892; }
.server-product-price { color: var(--accent) !important; font-family: var(--display); font-size: 1.35em !important; }
.detail-options div { color: #8C8892; }
.detail-options strong { color: #D5D2D9; }
.detail-rating { color: #8C8892; }
.detail-rating strong { color: #E9E7E1; }
.detail-rating i { color: var(--accent); }
.detail-category { color: var(--accent); }
.product-highlights { border-left: 3px solid var(--accent); }
.product-highlights h2 { color: var(--text); }
.product-highlights li { color: #B9B5BE; }
.product-description-heading { color: var(--text); }

/* ── 表单控件 ── */
input, select, textarea, option {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
}
select option { background: var(--surface-2); }
.catalog-toolbar select { background: var(--surface) !important; border-color: var(--line) !important; color: #C9C5CE !important; border-radius: 999px; }
.catalog-toolbar option { background: var(--surface-2); }
input::placeholder, textarea::placeholder { color: #6F6B76 !important; }

/* ── 分类/品牌侧栏与筛选 ── */
.catalog-sidebar, .facet, .filter-title, .facet-group { color: var(--text); }
.filter-section-heading { color: var(--text); }
.catalog-note { background: var(--surface) !important; border-color: var(--line) !important; border-radius: 14px; }
.catalog-note span { color: var(--accent); }
.catalog-note p { color: #8C8892; }
.catalog-toolbar span { color: var(--text); }
.catalog-toolbar small { color: #8C8892; }
.catalog-search-wrap { background: var(--surface) !important; border-color: var(--line-strong) !important; border-radius: 999px; }
.catalog-search-wrap input { color: var(--text); }
.price-filter input { accent-color: var(--accent); }
.facet-pill-options a, .facet-pill-options label, .type-filter-options a, .type-filter-options label {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--muted) !important;
  border-radius: 999px !important;
  transition: all .25s;
}
.facet-pill-options a:hover, .facet-pill-options label:hover,
.type-filter-options a:hover, .type-filter-options label:hover { border-color: rgba(255,90,31,.5); color: var(--text) !important; }
.facet-pill-options .active, .facet-pill-options a.active, .facet-pill-options label.active,
.type-filter-options .active, .type-filter-options a.active, .type-filter-options label.active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #0D0D12 !important;
}
.filter-group input[type="checkbox"] { accent-color: var(--accent); }

/* ── 分类/品牌 hero ── */
.catalog-hero, .brands-hero, .content-hero { border-bottom-color: var(--line); }
.catalog-hero h1 em, .brands-hero h1 em, .content-hero h1 em { color: var(--accent); font-style: normal; }
.catalog-hero > p, .brands-hero > p { color: #B9B5BE; }
.section-kicker { color: var(--accent) !important; letter-spacing: .14em; }
.breadcrumb, .catalog-breadcrumb { color: #8C8892; }
.breadcrumb a:hover { color: var(--accent); }

/* ── 分页（圆钮）── */
.pagination a, .pagination span, .pagination button,
.catalog-pagination a, .catalog-pagination span, .catalog-pagination button {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
  border-radius: 999px !important;
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.pagination a:hover, .catalog-pagination a:hover { border-color: rgba(255,90,31,.5); }
.pagination .active, .catalog-pagination .active {
  background: var(--accent) !important;
  color: #0D0D12 !important;
  border-color: var(--accent) !important;
}
.pagination .disabled, .catalog-pagination .disabled { opacity: .35; }

/* ── Footer ── */
.site-footer { border-top-color: var(--line); }
.footer-brand p, .footer-links a, .footer-bottom { color: #8C8892; }
.footer-links h4 { color: var(--text); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top-color: var(--line); color: #6F6B76; }

/* ── Toast ── */
.toast { background: var(--text); color: #0D0D12; border-radius: 999px; }

/* ── 移动端底部导航 ── */
@media (max-width: 760px) {
  .mobile-bottom-nav {
    background: rgba(13, 13, 18, 0.96) !important;
    border-top-color: var(--line) !important;
    box-shadow: 0 -8px 24px rgba(0,0,0,.4) !important;
  }
  .mobile-bottom-nav__link { color: #8C8892; }
  .mobile-bottom-nav__link:active { background: var(--surface); }
  .mobile-bottom-nav__link.is-active { color: var(--accent); }
  .mobile-bottom-nav__count {
    background: var(--accent) !important;
    color: #0D0D12 !important;
    border-color: #14141A;
  }
}

/* ── 其余静态页（about/privacy/how-to-buy/shipping/blog）通用覆盖 ── */
.content-hero, .content-page, .shipping-tools, .blog-page { color: var(--text); }
.content-page p, .shipping-tools p, .blog-page p { color: #B9B5BE; }
.content-page a, .shipping-tools a, .blog-page a { color: var(--accent); }

/* ── v0.20.1 compact catalog hero：覆盖红渐变（#ff6268→#df2517），换皮肤深炭 ── */
.catalog-page .catalog-hero,
.catalog-page .catalog-hero.section-shell {
  background: linear-gradient(120deg, #141318 0%, #1C1B21 100%) !important;
  border-bottom: 1px solid var(--line) !important;
}
.catalog-page .catalog-hero h1 { color: #F2EFF4 !important; }
.catalog-page .catalog-hero .section-kicker { display: none !important; }
/* Brand/category H1s include the complete search phrase, so keep them
   readable at desktop and mobile widths instead of inheriting the oversized
   all-catalog hero scale. */
.catalog-page.brand-category-page .catalog-hero h1 {
  max-width: 100%;
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: 1.02;
}
@media (max-width: 760px) {
  .catalog-page.brand-category-page .catalog-hero h1 {
    min-width: 0;
    max-width: 100%;
    font-size: clamp(30px, 8.5vw, 44px);
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* Keep long brand/category phrases inside the mobile viewport. Grid items
   otherwise preserve their min-content width and can create a clipped page. */
@media (max-width: 760px) {
  .catalog-page,
  .catalog-page .catalog-hero,
  .catalog-page .catalog-hero > *,
  .catalog-page .catalog-layout,
  .catalog-page .catalog-products,
  .catalog-page .catalog-products-heading,
  .catalog-page .catalog-products-supporting,
  .catalog-page .catalog-seo {
    min-width: 0;
    max-width: 100%;
  }

  .catalog-page .catalog-products-heading {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.12;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .catalog-page .catalog-products-supporting,
  .catalog-page .catalog-seo p,
  .catalog-page .catalog-seo h2 {
    overflow-wrap: anywhere;
  }
}

/* ── new-site.css 主题层白底容器 → 皮肤深色（一次性补齐）── */
.catalog-toolbar,
.catalog-sidebar,
.catalog-seo,
.brands-directory,
.content-card,
.product-detail,
.related {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text);
}
.catalog-toolbar span, .catalog-toolbar small,
.catalog-seo h2, .catalog-seo p,
.catalog-sidebar h3, .catalog-sidebar label,
.brands-directory h3, .brands-directory p,
.content-card h2, .content-card p,
.product-detail, .product-detail p,
.related h2, .related h3 { color: var(--text); }
.catalog-toolbar small, .catalog-seo small, .catalog-sidebar small,
.brands-directory small, .content-card small { color: #8C8892; }

/* hero 浅绿背景（new-site）→ 深色 */
.brands-hero, .content-hero, .home-page .home-hero {
  background: var(--surface) !important;
}
.brands-hero p, .content-hero > p { color: #B9B5BE !important; }

/* 热搜标签（new-site .hot-searches a 类名）*/
.hot-searches a {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: #C9C5CE !important;
}
.hot-searches a:hover { border-color: var(--accent) !important; color: var(--accent) !important; }

/* 首页品牌链接卡 */
.home-brand-links a {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.home-brand-links a:hover { border-color: var(--accent) !important; }

/* 搜索框 / 下拉框（new-site 全局 select #fff）*/
.catalog-search-wrap, .brand-search-wrap, .catalog-search-wrap input,
.brand-search-wrap input, select, .catalog-toolbar select, .mobile-sort-control select {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: #C9C5CE !important;
}
.catalog-search-wrap input::placeholder, .brand-search-wrap input::placeholder { color: #6F6B76 !important; }
select option { background: var(--surface-2) !important; color: #C9C5CE !important; }

/* 语言切换器（new-site .language-switcher 类名）*/
.language-switcher summary,
.language-switcher > div {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.language-switcher > div a { color: var(--text) !important; }
.language-switcher > div a:hover,
.language-switcher > div a[aria-current="page"] { background: var(--accent) !important; color: #0D0D12 !important; }

/* 移动筛选抽屉/收藏控制残留白底 */
.filter-drawer, .filter-drawer-footer, .mobile-filter-toggle, .saved-control {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}

/* ── v2.0.21 新组件：preview-banner / taxonomy / 商品页高亮区 / 大图透明化 ── */
.catalog-preview-banner {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.catalog-preview-banner span { color: var(--accent) !important; }
.catalog-preview-banner p { color: #8C8892 !important; }
.catalog-preview-banner a { background: var(--surface-2) !important; border-color: var(--line) !important; color: var(--text) !important; }

.catalog-taxonomy { background: var(--surface) !important; border-color: var(--line) !important; }
.catalog-taxonomy-row + .catalog-taxonomy-row { border-top-color: var(--line) !important; }
.catalog-taxonomy-label { color: var(--text) !important; }
.catalog-taxonomy-label span { background: var(--accent-soft) !important; color: var(--accent) !important; }

/* 商品页主图：白底图框 + 正常显示（与原型一致，白底商品图自然融入） */
.server-product-gallery img,
.detail-gallery-v2 .gallery-main > img,
.gallery-main > img {
  background: #fff !important;
  mix-blend-mode: normal !important;
}
.detail-gallery-v2 .gallery-main { background: #fff !important; }
.gallery-thumb { background: #fff !important; }
.gallery-thumb img { mix-blend-mode: normal !important; }

/* 商品页高亮卖点区（new-site 浅绿）→ 深色 */
.product-highlights { background: var(--surface-2) !important; border-left-color: var(--accent) !important; }
.product-highlights li { color: #C9C5CE !important; }
.product-highlights h2 { color: var(--text) !important; }

/* 移动端底部购买条（minimal 白 97%）→ 深 */
.mobile-buy-bar { background: rgba(13,13,18,.96) !important; border-color: var(--line) !important; }
.mobile-buy-bar strong { color: var(--text) !important; }
.mobile-buy-bar span { color: #8C8892 !important; }

/* ── 最后两个 v2.0.21 白底组件：分类导航条 + 顶部搜索 ── */
.catalog-category-strip,
.catalog-brand-strip { background: var(--surface) !important; border-bottom-color: var(--line) !important; }
.catalog-category-strip a,
.catalog-brand-strip a {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
  color: #C9C5CE !important;
}
.catalog-category-strip a:hover,
.catalog-category-strip a[aria-current="page"],
.catalog-brand-strip a:hover {
  background: var(--accent-soft) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.catalog-top-search {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}
.catalog-top-search input { color: var(--text) !important; }
.catalog-top-search input::placeholder { color: #6F6B76 !important; }
.catalog-top-search button { color: #C9C5CE !important; }
.catalog-top-search button:hover { color: var(--accent) !important; }

/* 商品页主体网格（minimal-theme 白底 #fff 两处）→ 深色 */
.server-product-grid {
  background: var(--surface) !important;
  border-color: var(--line) !important;
}

/* 商品页右侧信息区（detail-copy-v3 白底 rgb(255,255,255)）→ 深色 */
.detail-copy-v3,
.detail-copy-v2,
.detail-copy {
  background: transparent !important;
}

/* ============================================================
   KAKOBUY LIFESTYLE THEME — v7 对齐补丁 v1
   目的：覆盖 minimal-theme.css / new-site.css 剩余白底组件
   ============================================================ */

/* 品牌目录（brands.html #brand-grid 由 JS 生成） */
.brand-card,
#brand-grid .brand-card {
  background: #111113 !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.brand-card strong { color: var(--text) !important; }
.brand-card span { color: #5d5d64 !important; }
.brand-card small { color: #85858c !important; }
.brand-card b { color: var(--accent) !important; }
.brand-card:hover {
  border-color: var(--accent) !important;
  background: rgba(255, 90, 31, 0.08) !important;
}

/* 商品卡（new-site.css 白底） */
.product-card,
.catalog-product,
.related-card,
.catalog-grid .catalog-product,
.catalog-product .product-info {
  background: var(--surface) !important;
  border-color: var(--line) !important;
}
.product-card:hover,
.catalog-product:hover { border-color: var(--accent) !important; }
.product-card .product-title,
.catalog-product h3,
.product-card .product-title-link h3 { color: var(--text) !important; }
.product-card .product-meta,
.product-card .rating,
.catalog-product .rating { color: var(--muted) !important; }

/* 分类页 Filter 强化 */
.catalog-sidebar,
.catalog-sidebar.open,
.filter-title,
.filter-group,
.category-options,
.category-option,
.facet-pill-options a,
.facet-pill-options label,
.type-filter-options a,
.type-filter-options label,
.type-filter-option {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.category-option.active,
.type-filter-option.active {
  background: var(--accent-soft) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
.category-option small,
.filter-title small { color: var(--muted) !important; }

.mobile-filter-toggle,
.mobile-sort-control {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.mobile-filter-toggle b { background: var(--accent) !important; color: #0D0D12 !important; }

/* 商品详情页白底 */
.server-product-grid,
.server-product-content,
.server-product-gallery,
.server-product-copy,
.server-product-copy dl div,
.server-product-copy .product-description-panel,
.product-description-panel,
.detail-description,
.detail-description-full,
.product-description-heading,
.server-product-description,
.detail-options,
.detail-selector select,
.detail-save,
.agent-options,
.order-flow,
.seller-panel {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.detail-description p,
.server-product-copy p,
.server-product-copy li,
.server-product-copy dd { color: #C9C5CE !important; }
.server-product-copy dt { color: var(--muted) !important; }

/* 商品图：容器暗底，图片本身保持白底（与原型一致） */
.detail-gallery-v2,
.detail-gallery,
.gallery-main,
.gallery-thumbs,
.gallery-thumb {
  background: var(--surface) !important;
}
.gallery-main > img,
.server-product-gallery img,
.detail-gallery-v2 .gallery-main > img,
.detail-gallery-v2 .gallery-thumb img {
  background: #fff !important;
}
.detail-gallery-v2 .gallery-main {
  border-radius: 0 !important;
}

/* 隐藏商品页 h1 后缀 · #1466 */
.product-source-id,
.server-product-copy .product-source-id,
.detail-copy .product-source-id,
.detail-copy-v2 .product-source-id,
.detail-copy-v3 .product-source-id,
.product-title-wrapper .product-source-id,
.server-product-copy h1 .product-source-id {
  display: none !important;
}

/* 按钮和操作区 */
.detail-secondary-actions a,
.detail-secondary-actions button,
.product-action-secondary,
.agent-grid button,
.kakobuy-buy,
.catalog-pagination a,
.catalog-pagination button,
.catalog-pagination span,
.filter-chip {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.detail-secondary-actions a:hover,
.detail-secondary-actions button:hover,
.product-action-secondary:hover,
.agent-grid button:hover,
.catalog-pagination a:hover,
.catalog-pagination button:hover,
.catalog-pagination button.active,
.filter-chip:hover {
  background: var(--accent-soft) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* 首页组件白底 */
.hero-search,
.home-cta,
.cta-section,
.footer-callout,
.footer-cta,
.trust-grid article,
.buy-steps article,
.home-guide-grid article,
.seo-intro-links a,
.home-brand-links a,
.quick-category-card {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.quick-category-card:hover,
.home-brand-links a:hover,
.seo-intro-links a:hover {
  border-color: var(--accent) !important;
}
.quick-category-card h3,
.quick-category-card span { color: var(--text) !important; }

/* FAQ / content */
.catalog-faq details,
.catalog-faq summary,
.catalog-faq p,
.catalog-faq-item,
.catalog-faq-item h4,
.catalog-faq-item p,
.content-card,
.catalog-seo,
.catalog-seo h2,
.catalog-seo p {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.catalog-faq p { color: var(--muted) !important; }
.catalog-faq-item {
  border-top: 1px solid var(--line) !important;
  background: var(--surface) !important;
}
.catalog-faq-item h4 {
  color: var(--text) !important;
}
.catalog-faq-item p {
  color: var(--muted) !important;
}

/* Structured comparison tables keep category guidance scannable for people and parsers. */
.category-editorial-table-wrap {
  max-width: 100%;
  margin: 24px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.category-editorial-section + .category-editorial-section {
  margin-top: 42px;
}
.category-editorial-section h3 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}
.category-editorial-section p {
  max-width: 78ch;
  line-height: 1.75;
}
.category-editorial-section ul,
.category-editorial-section ol {
  max-width: 78ch;
  margin: 14px 0 24px;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.7;
}
.category-editorial-section li + li {
  margin-top: 8px;
}
.category-editorial-section li::marker {
  color: var(--accent);
  font-weight: 700;
}
.category-editorial-section li strong {
  color: var(--text);
}
.catalog-seo {
  grid-template-columns: 1fr !important;
  align-items: start;
  gap: 42px !important;
}
.catalog-seo > div,
.catalog-faq {
  min-width: 0;
  width: 100%;
}
.catalog-seo > div {
  max-width: none;
}
.catalog-seo .brand-editorial-copy,
.catalog-seo .category-editorial-copy,
.catalog-seo .catalog-editorial-copy {
  max-width: none !important;
}
.catalog-seo .brand-editorial-copy > p,
.catalog-seo .brand-editorial-copy > section,
.catalog-seo .brand-editorial-copy > .brand-type-table-wrap {
  width: 100%;
  max-width: none !important;
}
.catalog-seo > div > p,
.catalog-seo .category-editorial-copy > p,
.catalog-seo .catalog-editorial-copy > p {
  max-width: none !important;
  width: 100% !important;
}
.catalog-seo .brand-editorial-copy p,
.catalog-seo .category-editorial-copy p,
.catalog-seo .catalog-editorial-copy p,
.catalog-seo .brand-editorial-copy section,
.catalog-seo .category-editorial-copy section,
.catalog-seo .catalog-editorial-copy section {
  max-width: none !important;
  width: 100% !important;
}
.catalog-subcategory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 12px;
  padding-bottom: 18px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.catalog-subcategory-heading {
  flex: 0 0 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.catalog-subcategory-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.catalog-subcategory-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: #C9C5CE;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.catalog-subcategory-links a:hover,
.catalog-subcategory-links a[aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
}
.catalog-subcategory-links .catalog-subcategory-parent {
  border-style: dashed;
}
.category-editorial-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.category-editorial-table caption {
  padding: 16px 18px 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}
.category-editorial-table th,
.category-editorial-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.category-editorial-table thead th {
  color: var(--text);
  background: rgba(255,255,255,.04);
  font-weight: 700;
}
.category-editorial-table tbody th {
  width: 22%;
  color: var(--text);
  font-weight: 700;
}
.category-editorial-table tbody td { color: var(--muted); }
.brand-type-table-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 700;
}
.brand-type-table-link:hover,
.brand-type-table-link:focus-visible {
  color: var(--text) !important;
  text-decoration-thickness: 2px;
}
@media (max-width: 760px) {
  .catalog-subcategory-links {
    gap: 8px;
    margin-top: 20px;
    margin-bottom: -10px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .catalog-subcategory-items { gap: 8px; }
  .catalog-subcategory-links a {
    min-height: 40px;
    padding: 0 17px;
  }
  .category-editorial-section + .category-editorial-section { margin-top: 34px; }
  .category-editorial-section ul,
  .category-editorial-section ol { padding-left: 20px; }
  .category-editorial-table-wrap { margin: 20px 0 26px; }
  .category-editorial-table { font-size: 13px; }
  .category-editorial-table caption { padding: 14px; font-size: 15px; }
}

/* 输入框统一 */
input[type="search"],
input[type="text"],
select,
textarea,
.brand-search input,
.hero-search input,
.catalog-search-wrap input,
.catalog-top-search input {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
input::placeholder { color: var(--muted) !important; }
select option { background: var(--surface-2) !important; color: var(--text) !important; }

/* 移动菜单 */
.mobile-menu,
.mobile-menu-intro,
.mobile-menu-language,
.mobile-menu-language__links a,
.mobile-menu-shop a {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.mobile-menu-language__links a:hover {
  background: var(--accent) !important;
  color: #0D0D12 !important;
}

/* 订单流 */
.order-flow { background: var(--surface-2) !important; border-color: var(--accent-soft) !important; }
.order-flow span { color: var(--accent) !important; }
.order-flow p { color: var(--muted) !important; }

/* Toast / 提示 */
.toast { background: var(--surface-2) !important; border-color: var(--line) !important; color: var(--text) !important; }

/* ═══ v7 对齐第二轮（v4）：分类页+首页再压暗 ═══ */
/* 页面底色对齐 v7 深炭 #0D0D12 */
body, .page, main, #catalog-app, .catalog-layout,
.home-page, .home-main, .home-hero, .home-categories {
  background: var(--bg) !important;
}
:root { --bg: #0D0D12; }

/* 分类页：toolbar + 侧栏再压暗、收窄卡片 */
.catalog-toolbar, .catalog-sidebar, .filter-group, .filter-panel,
.catalog-layout, .catalog-grid, #catalog-grid {
  background: #0D0D12 !important;
  border-color: rgba(255,255,255,.06) !important;
}
.catalog-product { border-radius: 12px !important; }
.catalog-product .product-image { background: #F4F4F6 !important; }
.catalog-product .product-info { padding: 10px 12px 14px !important; }

/* 首页：各 section 深色化 + 隐藏 v7 没有的组件 */
.home-categories-section, .home-strip, .home-cta,
.hot-searches, .top-search, .preview-banner, .category-strip,
.home-intro, .seo-block, .home-section {
  background: transparent !important;
  color: var(--text) !important;
}
.home-hero, .home-hero-content, .hero-section {
  background: #0D0D12 !important;
}
.home-category-card, .category-card, .home-tile {
  background: var(--surface) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 16px !important;
}
.home-category-card img, .category-card img { border-radius: 12px !important; }

/* v7 风格巨字标题感（h2 加粗加大，纯字号不改语义） */
.home-categories-section h2, .home-section h2, .catalog-page-title,
.home-hero h1, .home-hero .hero-title {
  font-family: var(--display) !important;
  font-weight: 900 !important;
  letter-spacing: -.02em !important;
  color: var(--text) !important;
}

/* 全站滚动条暗色 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0D0D12; }
::-webkit-scrollbar-thumb { background: #2A2A33; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #FF5A1F; }

/* ═══ v5：filter 排名圆点橘色 + 收藏按钮橘色 ═══ */
.facet-rank {
  background: rgba(255,90,31,.14) !important;
  color: #FF5A1F !important;
}
.facet-rank.rank-1 { background: #FF5A1F !important; color: #0D0D12 !important; }
.facet-rank.rank-2 { background: rgba(255,90,31,.32) !important; color: #FFB08A !important; }
.facet-rank.rank-3 { background: rgba(255,90,31,.2) !important; color: #FF9A6A !important; }
.facet-rank.facet-rank-placeholder { background: transparent !important; border: 1px solid rgba(255,255,255,.14); }

.save-btn { border-color: rgba(255,90,31,.55) !important; }
.save-btn svg { stroke: #FF5A1F !important; }
.save-btn:hover { background: rgba(255,90,31,.16) !important; border-color: #FF5A1F !important; }
.save-btn.saved { background: #FF5A1F !important; border-color: #FF5A1F !important; }
.save-btn.saved svg { fill: #0D0D12 !important; stroke: #0D0D12 !important; }

.detail-save { border-color: rgba(255,90,31,.55) !important; }
.detail-save svg { stroke: #FF5A1F !important; }
.detail-save:hover { background: rgba(255,90,31,.16) !important; border-color: #FF5A1F !important; }
.detail-save.saved { background: #FF5A1F !important; border-color: #FF5A1F !important; }
.detail-save.saved svg { fill: #0D0D12 !important; stroke: #0D0D12 !important; }

/* ═══ v6：Product type 改为 v7 复选框列表，价格按钮白底黑字 ═══ */
#catalog-sidebar .type-filter-options {
  display: grid !important;
  gap: 6px !important;
}
#catalog-sidebar .type-filter-option {
  display: grid !important;
  grid-template-columns: 22px 22px minmax(0, 1fr) max-content !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 39px !important;
  padding: 7px 9px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  color: var(--text) !important;
  cursor: pointer !important;
}
#catalog-sidebar .type-filter-option input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  accent-color: #FF5A1F !important;
}
#catalog-sidebar .type-filter-option > span {
  font-size: 12px !important;
  font-weight: 650 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
#catalog-sidebar .type-filter-option small {
  color: var(--muted) !important;
  font-size: 10px !important;
  justify-self: end !important;
  white-space: nowrap !important;
}
#catalog-sidebar .type-filter-option:hover {
  background: var(--surface) !important;
  border-color: rgba(255,255,255,.08) !important;
}
#catalog-sidebar .type-filter-option.active {
  border-color: #FF5A1F !important;
  background: rgba(255,90,31,.12) !important;
  color: #FF5A1F !important;
}
#catalog-sidebar .type-filter-option.active small {
  color: #FF5A1F !important;
}
#catalog-sidebar .price-input-grid {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  gap: 7px !important;
  align-items: center !important;
}
#catalog-sidebar .price-input-grid label { display: block !important; }
#catalog-sidebar .price-input-grid label > div {
  background: var(--surface) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 999px !important;
  color: var(--text) !important;
  height: 44px !important;
}
#catalog-sidebar .price-input-grid label > div:focus-within {
  border-color: #FF5A1F !important;
  box-shadow: none !important;
}
#catalog-sidebar .price-input-grid input {
  color: var(--text) !important;
  font-weight: 750 !important;
}
#catalog-sidebar .price-input-grid input::placeholder {
  color: var(--muted) !important;
  opacity: 1 !important;
}
#catalog-sidebar .price-input-grid b { color: var(--muted) !important; }
#catalog-sidebar .price-dash {
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: center !important;
}
#catalog-sidebar .price-apply-button {
  background: var(--surface) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: var(--text) !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}
#catalog-sidebar .price-apply-button:hover {
  background: #FF5A1F !important;
  border-color: #FF5A1F !important;
  color: #0D0D12 !important;
}
#catalog-sidebar .filter-section-heading strong {
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  font-size: 11px !important;
}

/* ═══ v8：筛选器统一复选框列表 + 页码跳转 + 搜索按钮对齐 + 其他细节 ═══ */

/* 统一所有筛选器选项为行列表（brand / type / color / gender / style / season） */
.facet-list-options,
.brand-filter-options,
.type-filter-options,
#color-filter-options,
#gender-filter-options,
#style-filter-options,
#season-filter-options {
  display: grid !important;
  gap: 4px !important;
}
.brand-filter-option,
.type-filter-option,
.attribute-filter-option {
  display: grid !important;
  grid-template-columns: 22px 22px minmax(0, 1fr) max-content !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 38px !important;
  padding: 6px 9px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  color: var(--text) !important;
  cursor: pointer !important;
}
body #catalog-sidebar .brand-filter-option,
body #catalog-sidebar .type-filter-option,
body #catalog-sidebar .attribute-filter-option {
  grid-template-columns: 22px 22px minmax(0, 1fr) max-content !important;
}
@media (max-width: 760px) {
  body #catalog-sidebar .mobile-filter-panels .brand-filter-option,
  body #catalog-sidebar .mobile-filter-panels .type-filter-option,
  body #catalog-sidebar .mobile-filter-panels .attribute-filter-option {
    grid-template-columns: 22px minmax(0, 1fr) max-content !important;
  }
}
.brand-filter-option input[type="checkbox"],
.type-filter-option input[type="checkbox"],
.attribute-filter-option input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  accent-color: #FF5A1F !important;
}
.brand-filter-option > span,
.type-filter-option > span,
.attribute-filter-option > span {
  font-size: 12px !important;
  font-weight: 650 !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  line-height: 1.25 !important;
}
.brand-filter-option > small,
.type-filter-option > small,
.attribute-filter-option > small {
  color: var(--muted) !important;
  font-size: 10px !important;
  justify-self: end !important;
  white-space: nowrap !important;
}
.brand-filter-option:hover,
.type-filter-option:hover,
.attribute-filter-option:hover {
  background: var(--surface) !important;
  border-color: rgba(255,255,255,.08) !important;
}
.brand-filter-option.active,
.type-filter-option.active,
.attribute-filter-option.active {
  border-color: #FF5A1F !important;
  background: rgba(255,90,31,.12) !important;
  color: #FF5A1F !important;
}
.brand-filter-option.active > small,
.type-filter-option.active > small,
.attribute-filter-option.active > small {
  color: #FF5A1F !important;
}

/* Show more 按钮统一 */
.filter-show-more {
  margin-top: 6px !important;
  padding: 7px 10px !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 7px !important;
  color: #FF5A1F !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
.filter-show-more:hover {
  background: rgba(255,90,31,.12) !important;
}

/* 旧的 facet-pill 不再需要药丸外观 */
.facet-pill-options {
  display: grid !important;
  gap: 4px !important;
}

/* 移动端 Brands 按钮白底改深色 */
.mobile-brand-toggle {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.mobile-brand-toggle > b {
  background: #FF5A1F !important;
  color: #0D0D12 !important;
}

/* 移动端筛选抽屉深色化 */
.catalog-sidebar,
.catalog-sidebar.open,
.filter-drawer-header,
.filter-drawer-footer,
.mobile-filter-body,
.mobile-filter-tabs,
.mobile-filter-panels,
.filter-title {
  background: #0D0D12 !important;
  color: var(--text) !important;
}
.mobile-filter-tabs button {
  background: transparent !important;
  color: var(--muted) !important;
  border-color: var(--line) !important;
}
.mobile-filter-tabs button.is-active {
  background: rgba(255,90,31,.14) !important;
  color: #FF5A1F !important;
  border-color: #FF5A1F !important;
}
.mobile-filter-panels .filter-section-heading {
  background: transparent !important;
}
#show-filter-results {
  background: #FF5A1F !important;
  color: #0D0D12 !important;
}

/* 首页搜索框放大镜按钮对齐 */
.hero-search {
  display: grid !important;
  grid-template-columns: 1fr auto auto !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 6px 6px 6px 22px !important;
}
.hero-search input {
  height: 44px !important;
  align-self: center !important;
}
.hero-search-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 44px !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
.hero-camera {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;
  align-self: center !important;
}

/* Create account 按钮改橘色 */
.hero-actions .btn-primary,
.content-card .btn-primary,
.affiliate-offer > a,
.create-account-btn {
  background: #FF5A1F !important;
  border-color: #FF5A1F !important;
  color: #0D0D12 !important;
}
.hero-actions .btn-primary:hover,
.content-card .btn-primary:hover,
.affiliate-offer > a:hover {
  background: #FF7A45 !important;
  border-color: #FF7A45 !important;
}

/* How-to-buy 页面深色化 */
body > main .content-hero,
.content-layout,
.content-body,
.content-aside,
.guide-steps,
.guide-step,
.content-section,
.content-faq details,
.content-card {
  background: transparent !important;
  color: var(--text) !important;
}
.guide-step {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
}
.guide-step h3,
.guide-step p {
  color: var(--text) !important;
}
.content-faq details {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
}
.content-faq summary,
.content-faq p {
  color: var(--text) !important;
}

/* 分页器页码输入框 */
.catalog-pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}
.page-jump {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-left: 8px !important;
  color: var(--muted) !important;
  font-size: 12px !important;
}
.page-jump input {
  width: 52px !important;
  height: 36px !important;
  padding: 0 6px !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  color: var(--text) !important;
  text-align: center !important;
  font-weight: 700 !important;
}
.page-jump button {
  height: 36px !important;
  padding: 0 12px !important;
  background: #FF5A1F !important;
  border: none !important;
  border-radius: 8px !important;
  color: #0D0D12 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
.page-jump button:hover {
  background: #FF7A45 !important;
}

/* 筛选标题已选数量样式 */
.filter-section-heading strong {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

/* ═══ v9：移动端筛选抽屉全 facet 统一为 Brands 复选框 + 关闭按钮深色 + 购买弹窗深色 + 价格居中 ═══ */

/* 1. 强制移动端所有 facet 为复选框行列表（覆盖 minimal-theme 的药丸） */
@media (max-width: 760px) {
  #catalog-sidebar .mobile-filter-panels .type-filter-options,
  #catalog-sidebar .mobile-filter-panels .facet-list-options,
  #catalog-sidebar .mobile-filter-panels .color-list-options,
  #catalog-sidebar .mobile-filter-panels #color-filter-options,
  #catalog-sidebar .mobile-filter-panels #gender-filter-options,
  #catalog-sidebar .mobile-filter-panels #style-filter-options,
  #catalog-sidebar .mobile-filter-panels #season-filter-options {
    display: grid !important;
    gap: 4px !important;
  }
  #catalog-sidebar .mobile-filter-panels .type-filter-option,
  #catalog-sidebar .mobile-filter-panels .attribute-filter-option,
  #catalog-sidebar .mobile-filter-panels .facet-pill,
  #catalog-sidebar .mobile-filter-panels .color-pill {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) max-content !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 38px !important;
    padding: 6px 9px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    color: var(--text) !important;
    cursor: pointer !important;
    width: auto !important;
  }
  #catalog-sidebar .mobile-filter-panels .type-filter-option input[type="checkbox"],
  #catalog-sidebar .mobile-filter-panels .attribute-filter-option input[type="checkbox"],
  #catalog-sidebar .mobile-filter-panels .facet-pill input[type="checkbox"],
  #catalog-sidebar .mobile-filter-panels .color-pill input[type="checkbox"] {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    accent-color: #FF5A1F !important;
  }
  #catalog-sidebar .mobile-filter-panels .type-filter-option > span,
  #catalog-sidebar .mobile-filter-panels .attribute-filter-option > span,
  #catalog-sidebar .mobile-filter-panels .facet-pill > span,
  #catalog-sidebar .mobile-filter-panels .color-pill > span {
    font-size: 12px !important;
    font-weight: 650 !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }
  #catalog-sidebar .mobile-filter-panels .type-filter-option > small,
  #catalog-sidebar .mobile-filter-panels .attribute-filter-option > small,
  #catalog-sidebar .mobile-filter-panels .facet-pill > small,
  #catalog-sidebar .mobile-filter-panels .color-pill > small {
    display: block !important;
    color: var(--muted) !important;
    font-size: 10px !important;
    justify-self: end !important;
    white-space: nowrap !important;
  }
  #catalog-sidebar .mobile-filter-panels .type-filter-option:hover,
  #catalog-sidebar .mobile-filter-panels .attribute-filter-option:hover,
  #catalog-sidebar .mobile-filter-panels .facet-pill:hover,
  #catalog-sidebar .mobile-filter-panels .color-pill:hover {
    background: var(--surface) !important;
    border-color: rgba(255,255,255,.08) !important;
  }
  #catalog-sidebar .mobile-filter-panels .type-filter-option.active,
  #catalog-sidebar .mobile-filter-panels .attribute-filter-option.active,
  #catalog-sidebar .mobile-filter-panels .facet-pill.active,
  #catalog-sidebar .mobile-filter-panels .color-pill.active {
    border-color: #FF5A1F !important;
    background: rgba(255,90,31,.12) !important;
    color: #FF5A1F !important;
  }
  #catalog-sidebar .mobile-filter-panels .type-filter-option.active > small,
  #catalog-sidebar .mobile-filter-panels .attribute-filter-option.active > small,
  #catalog-sidebar .mobile-filter-panels .facet-pill.active > small,
  #catalog-sidebar .mobile-filter-panels .color-pill.active > small {
    color: #FF5A1F !important;
  }
  #catalog-sidebar .mobile-filter-panels .attribute-filter-option .facet-rank,
  #catalog-sidebar .mobile-filter-panels .color-pill .facet-rank,
  #catalog-sidebar .mobile-filter-panels .facet-pill .facet-rank {
    display: none !important;
  }
}

/* 2. 移动端筛选抽屉右上角关闭按钮去白底 */
.filter-drawer-header button,
#filter-close,
.mobile-filter-body .filter-drawer-header button {
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 50% !important;
  color: var(--text) !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
.filter-drawer-header button:hover,
#filter-close:hover {
  border-color: #FF5A1F !important;
  color: #FF5A1F !important;
}

/* 3. 商品页 Other buy links / Purchase options 弹窗深色化 */
.agent-modal,
.agent-modal-panel {
  background: #0D0D12 !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
}
.agent-modal-head {
  border-bottom-color: var(--line) !important;
}
.agent-modal-head h2 {
  color: var(--text) !important;
}
.agent-modal-head p {
  color: var(--muted) !important;
}
.agent-modal-close {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.agent-modal-close:hover {
  border-color: #FF5A1F !important;
  color: #FF5A1F !important;
}
.agent-modal-grid {
  padding: 18px 0 !important;
}
.agent-modal-link {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.agent-modal-link:hover {
  background: rgba(255,90,31,.12) !important;
  border-color: #FF5A1F !important;
  color: #FF5A1F !important;
}
.agent-modal-link strong {
  color: var(--text) !important;
}
.agent-modal-link small {
  color: var(--muted) !important;
}
.agent-modal-link b {
  color: #FF5A1F !important;
}
.agent-modal-link.featured {
  background: var(--surface) !important;
  border-color: #FF5A1F !important;
  color: #FF5A1F !important;
}
.agent-modal-link.featured strong {
  color: #FF5A1F !important;
}
.agent-modal-link.featured small {
  color: #FF7A45 !important;
}
.agent-modal-link.featured b {
  color: #FF5A1F !important;
}
.agent-modal-link.featured:hover {
  background: rgba(255,90,31,.16) !important;
}
.agent-modal-foot {
  border-top-color: var(--line) !important;
}
.agent-modal-foot p {
  color: var(--muted) !important;
}
.agent-modal-foot button,
.agent-register-link {
  background: var(--surface-2) !important;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
}
.agent-modal-foot button:hover,
.agent-register-link:hover {
  background: #FF5A1F !important;
  border-color: #FF5A1F !important;
  color: #0D0D12 !important;
}

/* 4. Price range 输入数字居中 */
#catalog-sidebar .price-input-grid input,
.price-input-grid input {
  text-align: center !important;
}

/* ============================================================
   v11 patch — 2026-09-10
   1) 移动端筛选抽屉左侧 tab 显示各板块已选数量
   2) 桌面端 Reset 按钮视觉强化
   3) 移动端 Saved 下方增加 Reset 按钮
   ============================================================ */

/* 1. 移动端左侧 tab 已选数量徽章 */
.mobile-filter-tabs button {
  justify-content: space-between !important;
  gap: 8px !important;
}
.mobile-filter-tabs button .tab-count {
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #FF5A1F;
  color: #0D0D12;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 auto;
}
.mobile-filter-tabs button .tab-count[hidden] {
  display: none !important;
}
.mobile-filter-tabs button.is-active .tab-count {
  background: #FF5A1F;
  color: #0D0D12;
}

/* 2. 桌面端 Reset 按钮强化 */
.filter-title {
  align-items: center !important;
}
.filter-title span {
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
}
#reset-filters {
  min-height: 28px;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: #FF5A1F !important;
  color: #0D0D12 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  transition: background .2s, transform .15s;
}
#reset-filters:hover {
  background: #FF7A45 !important;
  transform: translateY(-1px);
}

/* 3. 移动端 Saved 下方 Reset 按钮 */
.mobile-filter-reset-tab {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 12px 13px 12px 18px;
  border: 0;
  border-bottom: 1px solid var(--line) !important;
  background: transparent !important;
  color: #FF5A1F !important;
  font: 650 13px/1.22 var(--body);
  text-align: left;
  cursor: pointer;
}
.mobile-filter-reset-tab:hover,
.mobile-filter-reset-tab:active {
  background: rgba(255, 90, 31, 0.14) !important;
}
.mobile-filter-reset-tab::before {
  content: "↺";
  margin-right: 8px;
  font-size: 14px;
}

/* 4. 右上角 Saved 按钮统一为网站暗场+信号橙色调 */
html body .site-header .saved-link {
  background: #131318 !important;
  border-color: rgba(236, 234, 227, 0.16) !important;
  color: #ECEAE3 !important;
}
html body .site-header .saved-link:hover {
  border-color: #FF5A1F !important;
  color: #FF5A1F !important;
}
html body .site-header .saved-link svg {
  stroke: currentColor !important;
}
html body .site-header .saved-link b {
  background: #FF5A1F !important;
  color: #0D0D12 !important;
}
/* How-to-buy CTAs use the site orange consistently. */
body:has(.content-hero) .content-card .btn-outline,
body:has(.content-hero) .footer-callout a {
  background: #FF5A1F !important;
  border-color: #FF5A1F !important;
  color: #0D0D12 !important;
}
body:has(.content-hero) .content-card .btn-outline:hover,
body:has(.content-hero) .footer-callout a:hover {
  background: #FF7A45 !important;
  border-color: #FF7A45 !important;
  color: #0D0D12 !important;
}

/* Keep the mobile header wordmark on two intentional lines. */
@media (max-width: 760px) {
  body .site-header .brand:not(.brand-system) {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: 0.88;
    white-space: normal;
  }

  body .site-header .brand:not(.brand-system) span,
  body .site-header .brand:not(.brand-system) strong {
    display: block;
    white-space: nowrap;
  }
}

/* Keep the home category cards readable as a two-column grid on phones. */
@media (max-width: 760px) {
  body.home-page .quick-categories {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.home-page .quick-categories .quick-category-card {
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    min-height: 0 !important;
    grid-template-rows: minmax(0, 1fr) 46px !important;
  }

  body.home-page .quick-categories .quick-category-media {
    min-height: 0 !important;
    aspect-ratio: 1 / 0.82;
    padding: 8px !important;
  }

  body.home-page .quick-categories .quick-category-title {
    min-height: 46px !important;
    padding: 7px 6px !important;
    font-size: 13px !important;
  }
}

/* Keep the homepage H1 compact after the theme overrides load. */
body.home-page .hero h1 {
  max-width: 100%;
  width: 100%;
  text-align: center;
  font-size: clamp(18px, 1.8vw, 21px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  white-space: nowrap;
  overflow-wrap: normal;
}

/* Polish uses a longer localized H1; let it wrap inside the hero instead of
   clipping the highlighted phrase on narrower desktop viewports. */
html[lang="pl"] body.home-page .hero h1 {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

/* Keep the full desktop H1 inside a centered line box. */
body.home-page .hero-copy {
  width: min(1120px, 100%);
}

body.home-page .hero h1 .hero-title-highlight {
  color: #FF5A1F !important;
}

@media (max-width: 760px) {
  body.home-page .hero h1 {
    font-size: clamp(20px, 5.4vw, 30px) !important;
    line-height: 1.12 !important;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Balance the homepage hierarchy: a slightly larger single-line H1 and
   compact section headings that leave more room for the catalog itself. */
body.home-page .hero h1 {
  font-size: clamp(22px, 2.3vw, 27px) !important;
}

body.home-page .compact-heading h2,
body.home-page .home-brand-discovery h2,
body.home-page .catalog-editorial h2,
body.home-page .buy-guide h2,
body.home-page .latest-guides h2,
body.home-page .home-faq h2,
body.home-page .seo-intro-heading h2,
body.home-page .home-faq-heading h2 {
  font-size: clamp(24px, 2.4vw, 32px) !important;
  line-height: 1.04 !important;
}

@media (max-width: 760px) {
  body.home-page .hero h1 {
    font-size: clamp(20px, 5.4vw, 30px) !important;
  }

  body.home-page .compact-heading h2,
  body.home-page .home-brand-discovery h2,
  body.home-page .catalog-editorial h2,
  body.home-page .buy-guide h2,
  body.home-page .latest-guides h2,
  body.home-page .home-faq h2,
  body.home-page .seo-intro-heading h2,
  body.home-page .home-faq-heading h2 {
    font-size: clamp(24px, 7vw, 30px) !important;
  }
}

body.home-page .seo-intro-heading h2 {
  white-space: nowrap;
}

/* Keep homepage guide titles readable inside the compact cards. */
body.home-page .home-guide-grid h3 {
  margin: 18px 0 10px;
  font-size: clamp(17px, 1.55vw, 20px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.01em;
}

@media (max-width: 760px) {
  body.home-page .seo-intro-heading h2 {
    font-size: clamp(12px, 4vw, 20px) !important;
  }

  body.home-page .home-guide-grid h3 {
    margin-top: 14px;
    font-size: 17px !important;
    line-height: 1.2 !important;
  }
}

/* ── Homepage five-step buying route ── */
.home-how-it-works {
  margin: 34px 0 42px;
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-how-it-works-heading { margin-bottom: 24px; }
.home-how-it-works-heading .section-kicker { display: block; margin-bottom: 9px; }
.home-how-it-works-heading h3 {
  margin: 0 !important;
  color: var(--text) !important;
  font-size: clamp(26px, 3vw, 38px) !important;
  line-height: 1 !important;
  text-transform: none !important;
}
.home-how-it-works-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-how-it-works-step {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  grid-template-rows: auto auto 1fr;
  column-gap: 10px;
  row-gap: 9px;
  padding: 0 18px;
  border-left: 1px solid var(--line);
}
.home-how-it-works-step:first-child { padding-left: 0; border-left: 0; }
.home-how-it-works-number {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font: 800 16px/1 var(--body, sans-serif);
}
.home-how-it-works-icon {
  grid-column: 2;
  grid-row: 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--text);
}
.home-how-it-works-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.home-how-it-works-step h4 {
  grid-column: 1;
  grid-row: 2;
  margin: 0 !important;
  color: var(--text) !important;
  font-size: 17px !important;
  line-height: 1.15 !important;
  text-transform: none !important;
}
.home-how-it-works-step p {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}
@media (max-width: 900px) {
  .home-how-it-works-step { padding-inline: 12px; }
}
@media (max-width: 760px) {
  .home-how-it-works {
    margin: 28px 0 34px;
    padding: 24px 0 12px;
  }
  .home-how-it-works-heading { margin-bottom: 14px; }
  .home-how-it-works-heading h3 { font-size: 28px !important; }
  .home-how-it-works-list {
    display: grid;
    grid-template-columns: 1fr;
  }
  .home-how-it-works-step,
  .home-how-it-works-step:first-child {
    display: grid;
    grid-template-columns: 40px 38px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 3px;
    align-items: center;
    padding: 13px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .home-how-it-works-step:last-child { border-bottom: 0; }
  .home-how-it-works-number { grid-column: 1; grid-row: 1 / span 2; width: 34px; height: 34px; }
  .home-how-it-works-icon { grid-column: 2; grid-row: 1 / span 2; }
  .home-how-it-works-step h4 { grid-column: 3; grid-row: 1; font-size: 16px !important; }
  .home-how-it-works-step p { grid-column: 3; grid-row: 2; font-size: 12px !important; }
}
