/* design-taste-frontend: retained black/gold, quieter shopping rhythm.
   Every selector is restricted to the shared brand/special-zone template. */
body.s1688-ba-page .s1688-ba-shell {
    --ba-gold: #e4bf7b;
    --ba-text: #f4f2ed;
    --ba-muted: #b8b5ae;
    --ba-line: rgba(228,191,123,.14);
    --ba-surface: #151719;
    --ba-radius: 14px;
    --ba-motion: 200ms cubic-bezier(.2,.7,.2,1);
    display: block;
    width: min(1260px, calc(100% - 48px));
    max-width: 1260px;
    min-width: 0;
    margin: 0 auto;
    padding: 28px 0 56px;
    color: var(--ba-text);
    background: transparent;
}
.s1688-ba-shell *, .s1688-ba-shell *::before, .s1688-ba-shell *::after { box-sizing: border-box; }
body.s1688-ba-page .s1688-ba-shell > .s1688-brand-hero { margin: 0 0 20px; width: 100%; max-width: none; }
/* Top-only refinement: original Hero asset and all catalogue rules retained. */
html:has(body.s1688-ba-page) { scroll-behavior: smooth; }
body.s1688-ba-page .s1688-ba-shell > .s1688-brand-hero {
    min-height: 230px; margin: 0 0 14px !important;
}
body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__copy { padding: 24px 34px; }
body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero h1 { margin: 8px 0 10px; font-size: clamp(32px,3vw,44px); line-height: 1.12; }
body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero h1 strong { font-size: inherit; }
body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero h1 small { display: block; margin-top: 5px; font-size: 22px; line-height: 1.2; }
body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__copy p { margin: 0; font-size: 14px; line-height: 1.6; }
body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__actions { flex-wrap: wrap; gap: 8px; margin-top: 16px; }
body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__actions a { min-height: 40px; padding: 8px 15px; font-size: 13px; line-height: 1.3; border-radius: 8px; white-space: nowrap; }
body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__actions .s1688-ba-hero-shop { background: var(--ba-gold); border-color: var(--ba-gold); color: #15120d; }
body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__actions .s1688-ba-hero-line { gap: 7px; color: var(--ba-text); background: transparent; border-color: rgba(228,191,123,.24); font-weight: 500; }
.s1688-ba-line-mark { display: inline-grid; place-items: center; min-width: 28px; height: 20px; padding: 0 3px; border-radius: 5px; background: #06a94d; color: #fff; font-size: 8px; font-weight: 750; letter-spacing: 0; }
body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__visual { min-height: 230px; padding: 10px 18px; }
body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__visual .s1688-brand-hero__image { height: 210px !important; width: 100% !important; object-fit: contain !important; }
body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__watermark { top: 16px; right: 22px; font-size: clamp(28px,3vw,44px); }
.s1688-ba-catalog { scroll-margin-top: 110px; }
.s1688-ba-top-navigation { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0 0 18px; }
.s1688-ba-type-links { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.s1688-ba-type-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: #191b1d; color: var(--ba-text); font-size: 14px; line-height: 1.4; }
.s1688-ba-type-links small { color: var(--ba-muted); font-size: 11px; white-space: nowrap; }
.s1688-ba-brand-switch { position: relative; max-width: 100%; }
.s1688-ba-brand-switch > summary { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; padding: 7px 4px; color: var(--ba-gold); font-size: 14px; line-height: 1.5; font-weight: 600; cursor: pointer; list-style: none; }
.s1688-ba-brand-switch > summary::-webkit-details-marker { display: none; }
.s1688-ba-brand-switch > summary span { transition: transform var(--ba-motion); }
.s1688-ba-brand-switch[open] > summary span { transform: rotate(180deg); }
.s1688-ba-brand-panel { position: absolute; z-index: 10; left: 0; top: calc(100% + 4px); width: min(620px,calc(100vw - 48px)); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px 14px; padding: 16px; background: #151719; border: 1px solid var(--ba-line); border-radius: var(--ba-radius); box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.s1688-ba-brand-panel a { display: flex; align-items: center; min-width: 0; min-height: 40px; padding: 7px 8px; border-radius: 6px; color: var(--ba-text); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.s1688-ba-brand-panel .is-current { color: var(--ba-gold); background: rgba(228,191,123,.07); }
@media (hover:hover) and (pointer:fine) {
    .s1688-ba-type-links a:hover { color: var(--ba-gold); border-color: rgba(228,191,123,.3); }
    .s1688-ba-brand-panel a:hover { color: var(--ba-gold); background: rgba(228,191,123,.05); }
}
@media (max-width:800px) {
    body.s1688-ba-page .s1688-ba-shell > .s1688-brand-hero { grid-template-columns: minmax(0,1fr); min-height: 0; }
    body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__copy { padding: 20px 22px 14px; }
    body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__visual { min-height: 140px; padding: 4px 14px 10px; }
    body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__visual .s1688-brand-hero__image { height: 130px !important; }
    body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__watermark { top: 10px; right: 16px; font-size: 28px; }
    .s1688-ba-brand-switch { width: 100%; }
    .s1688-ba-brand-panel { position: static; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 4px; padding: 10px; box-shadow: none; }
}
@media (max-width:600px) {
    body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero h1 { font-size: 30px; }
    body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero h1 small { font-size: 19px; }
    body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__copy p { font-size: 13px; }
    body.s1688-ba-page .s1688-ba-shell .s1688-brand-hero__actions a { min-height: 42px; padding-inline: 12px; font-size: 12px; }
    .s1688-ba-top-navigation { margin-bottom: 14px; gap: 6px; }
    .s1688-ba-type-links a { min-height: 42px; padding: 8px 10px; font-size: 13px; }
    .s1688-ba-brand-panel a { min-height: 44px; font-size: 13px; }
}
@media (prefers-reduced-motion:reduce) {
    html:has(body.s1688-ba-page) { scroll-behavior: auto; }
}
.s1688-ba-shell a { text-decoration: none; }
.s1688-ba-support { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; margin: 0 0 28px; border: 1px solid var(--ba-line); border-radius: var(--ba-radius); background: #121415; }
.s1688-ba-support strong { color: var(--ba-text); font-size: 17px; font-weight: 650; }
.s1688-ba-support > div { min-width: 0; }
.s1688-ba-support p { color: var(--ba-muted); font-size: 14px; line-height: 1.6; margin: 4px 0 0; }
.s1688-ba-support > a { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; color: var(--ba-gold); font-weight: 650; white-space: nowrap; }
.s1688-ba-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 30px; align-items: start; }
.s1688-ba-catalog, .s1688-ba-guides { min-width: 0; }
.s1688-ba-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.s1688-ba-heading h2 { color: var(--ba-text); font-size: 28px; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 8px; }
body.s1688-ba-page .s1688-ba-heading .woocommerce-result-count { float: none; margin: 0; font-size: 13px; color: var(--ba-muted); }
body.s1688-ba-page .s1688-ba-heading .woocommerce-ordering { display: block; float: none; margin: 0; padding: 0; }
.s1688-ba-heading .woocommerce-ordering select { color: var(--ba-text); background: #181a1c; border: 1px solid var(--ba-line); border-radius: 8px; padding: 10px 30px 10px 12px; width: auto; min-width: 144px; max-width: 200px; font-size: 14px; min-height: 44px; }
.s1688-ba-products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.s1688-ba-product { min-width: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: var(--ba-radius); background: var(--ba-surface); box-shadow: 0 6px 18px rgba(0,0,0,.13); }
.s1688-ba-product__image { display: block; aspect-ratio: 1 / 1; background: #101214; overflow: hidden; }
.s1688-ba-product__image img { display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; }
.s1688-ba-product__body { padding: 15px; }
.s1688-ba-product h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.9em; color: var(--ba-text); font-size: 16px; font-weight: 600; line-height: 1.45; margin: 0 0 10px; }
.s1688-ba-product h3 a { color: inherit; overflow-wrap: anywhere; }
.s1688-ba-product__price { min-height: 26px; font-size: 16px; line-height: 1.55; font-weight: 650; color: var(--ba-gold); }
.s1688-ba-product__price .price { color: inherit; font-size: inherit; }
.s1688-ba-product__price del { color: var(--ba-muted); font-size: 12px; }
.s1688-ba-product__price ins { color: var(--ba-gold); text-decoration: none; background: transparent; }
.s1688-ba-product__cta { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 13px; padding: 9px 12px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ba-gold); border: 1px solid rgba(228,191,123,.22); border-radius: 8px; background: transparent; }
.s1688-ba-guides { padding: 19px; margin-top: 2px; border: 1px solid var(--ba-line); border-radius: var(--ba-radius); background: #121415; }
.s1688-ba-guides h2 { font-size: 18px; font-weight: 650; color: var(--ba-gold); margin: 0 0 18px; }
.s1688-ba-guides ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.s1688-ba-guides li { margin: 0; padding: 0; }
.s1688-ba-guides li a { display: block; min-height: 44px; }
.s1688-ba-guides h3 { font-size: 15px; line-height: 1.6; font-weight: 500; color: var(--ba-text); margin: 0 0 7px; overflow-wrap: anywhere; }
.s1688-ba-guides li span { font-size: 12px; color: var(--ba-gold); }
.s1688-ba-guides b { display: inline-block; font-weight: 400; margin-left: 5px; }
.s1688-ba-guides > p { font-size: 14px; color: var(--ba-muted); line-height: 1.75; }
.s1688-ba-guides__all { display: inline-flex; align-items: center; min-height: 44px; color: var(--ba-muted); font-size: 12px; margin-top: 18px; }
body.s1688-ba-page .s1688-ba-catalog .woocommerce-pagination { display: block; margin: 28px 0 0; grid-column: auto; clear: both; text-align: center; }
body.s1688-ba-page .s1688-ba-catalog .woocommerce-pagination ul { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; border: 0; margin: 0; padding: 0; }
body.s1688-ba-page .s1688-ba-catalog .woocommerce-pagination li { border: 0; margin: 0; }
body.s1688-ba-page .s1688-ba-catalog .woocommerce-pagination a,
body.s1688-ba-page .s1688-ba-catalog .woocommerce-pagination span { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--ba-line); border-radius: 8px; padding: 8px; color: var(--ba-text); background: #17191b; }
body.s1688-ba-page .s1688-ba-catalog .woocommerce-pagination .current { background: var(--ba-gold); color: #15120d; border-color: var(--ba-gold); }
.s1688-ba-empty { padding: 28px 0; color: var(--ba-muted); }
.s1688-ba-seo { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); color: var(--ba-muted); overflow-wrap: anywhere; }
.s1688-ba-seo > * { max-width: 100%; }
body.s1688-ba-page .s1688-ba-seo .s1688-core-category-description,
body.s1688-ba-page .s1688-ba-seo .s1688-featured-guides,
body.s1688-ba-page .s1688-ba-seo .s1688-brand-guides,
body.s1688-ba-page .s1688-ba-seo .s1688-brand-quick,
body.s1688-ba-page .s1688-ba-seo .s1688-brand-faq,
body.s1688-ba-page .s1688-ba-seo .s1688-brand-help { width: 100%; max-width: none; margin: 0 0 22px; padding: 0; background: none; border: 0; box-shadow: none; }
body.s1688-ba-page .s1688-ba-seo .s1688-featured-guides__grid,
body.s1688-ba-page .s1688-ba-seo .s1688-brand-guides > div { display: block; }
body.s1688-ba-page .s1688-ba-seo .s1688-featured-guides__card { background: none; border: 0; padding: 0; margin-bottom: 16px; }
.s1688-ba-seo h2 { color: var(--ba-text); font-size: 21px; line-height: 1.4; margin: 0 0 14px; }
.s1688-ba-seo h3 { color: var(--ba-text); font-size: 16px; line-height: 1.6; }
.s1688-ba-seo p { font-size: 14px; line-height: 1.8; }
.s1688-ba-seo a { color: var(--ba-gold); }
.s1688-ba-seo .s1688-brand-quick nav { display: flex; flex-wrap: wrap; gap: 12px; }
.s1688-ba-seo .s1688-brand-quick nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; }
.s1688-ba-seo .s1688-brand-quick small { color: var(--ba-muted); font-size: 12px; }
.s1688-ba-shell a:focus-visible, .s1688-ba-shell select:focus-visible,
.s1688-ba-shell summary:focus-visible { outline: 2px solid var(--ba-gold); outline-offset: 4px; }
@media (hover:hover) and (pointer:fine) {
    .s1688-ba-product { transition: transform var(--ba-motion),border-color var(--ba-motion),box-shadow var(--ba-motion); }
    .s1688-ba-product__image img, .s1688-ba-product__cta span, .s1688-ba-guides b { transition: transform var(--ba-motion); }
    .s1688-ba-product:hover { transform: translateY(-5px); border-color: rgba(228,191,123,.42); box-shadow: 0 14px 28px rgba(0,0,0,.28); }
    .s1688-ba-product:hover .s1688-ba-product__image img { transform: scale(1.03); }
    .s1688-ba-product__cta:hover span, .s1688-ba-guides li a:hover b { transform: translateX(3px); }
    .s1688-ba-guides li a:hover h3, .s1688-ba-support a:hover, .s1688-ba-guides__all:hover { color: var(--ba-gold); }
}
@media (max-width:900px) {
    .s1688-ba-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .s1688-ba-guides { margin-top: 0; padding: 18px; }
    .s1688-ba-guides ol { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
}
@media (max-width:600px) {
    body.s1688-ba-page .s1688-ba-shell { width: calc(100% - 28px); padding: 16px 0 32px; }
    body.s1688-ba-page .s1688-ba-shell > .s1688-brand-hero { margin-bottom: 14px; }
    .s1688-ba-support { padding: 13px 14px; margin-bottom: 22px; gap: 12px; align-items: start; }
    .s1688-ba-support strong { font-size: 16px; }
    .s1688-ba-support p { font-size: 12px; }
    .s1688-ba-support > a { font-size: 12px; gap: 6px; }
    .s1688-ba-heading { gap: 10px; margin-bottom: 16px; }
    .s1688-ba-heading h2 { font-size: 23px; }
    .s1688-ba-heading .woocommerce-ordering select { font-size: 12px; min-width: 128px; max-width: 145px; padding-left: 9px; }
    .s1688-ba-products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .s1688-ba-product__body { padding: 11px; }
    .s1688-ba-product h3 { font-size: 14px; margin-bottom: 8px; }
    .s1688-ba-product__price { font-size: 14px; min-height: 24px; }
    .s1688-ba-product__cta { font-size: 12px; margin-top: 10px; padding: 8px; }
    .s1688-ba-guides ol { grid-template-columns: minmax(0,1fr); gap: 16px; }
    .s1688-ba-guides h2 { font-size: 17px; margin-bottom: 14px; }
    .s1688-ba-seo { margin-top: 28px; padding-top: 20px; }
}
@media (prefers-reduced-motion:reduce) {
    .s1688-ba-shell *, .s1688-ba-shell *::before, .s1688-ba-shell *::after { transition: none !important; animation: none !important; }
    .s1688-ba-shell .s1688-ba-product:hover, .s1688-ba-shell .s1688-ba-product:hover img,
    .s1688-ba-shell .s1688-ba-product__cta:hover span, .s1688-ba-shell .s1688-ba-guides a:hover b { transform: none; }
}
