/* ============================================================
   Frunicha — Shared stylesheet (extracted from index.html)
   Reference: demos.coderplace.in WooCommerce furniture theme
   ============================================================ */
:root {
    --dark: #212529;
    --gold: #B29E7D;
    --footer-bg: #23282D;
    --muted: #85898C;
    --light-bg: #F5F5F5;
    --sale: #FF6868;
    --border: #EBEBEB;
    --star: #F7BB03;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 25.2px;
    color: var(--dark);
    background: #fff;
    /* 光标：非交互内容统一显示普通箭头，避免出现文本选择光标 */
    cursor: default;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 15px; }

/* ============ 全局光标规范 ============
   非输入元素一律显示普通箭头，杜绝文本光标（I 形 |）；
   组件内部若显式声明了 cursor，会按 CSS 优先级正常生效。 */
body { cursor: default; }
/* 可点击元素显示手型 */
a, button, label, [role="button"], summary { cursor: pointer; }
/* 可编辑文本控件保留文本光标：全站只有这里允许出现 I 形 */
input[type="text"], input[type="search"], input[type="email"], input[type="tel"],
input[type="password"], input[type="number"], input[type="url"], input:not([type]),
textarea { cursor: text; }
/* 勾选类与按钮型控件、下拉框显示手型 */
input[type="checkbox"], input[type="radio"], input[type="submit"],
input[type="button"], input[type="reset"], input[type="file"], select { cursor: pointer; }
/* 只读 / 禁用控件不可编辑 → 回到箭头（放在最后以覆盖上一条） */
input[readonly], input:disabled, textarea[readonly], textarea:disabled,
select:disabled { cursor: default; }

/* ---------- Topbar ---------- */
.topbar { background: var(--dark); text-align: center; padding: 8px 0; font-size: 13px; }
.topbar span { color: #fff; font-weight: 600; }
.topbar a { color: var(--gold); font-weight: 600; text-decoration: underline; margin-left: 8px; }
.topbar a:hover { color: #fff; }

/* ---------- Sub header ---------- */
.sub-header { border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.sub-header .container { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.sub-header-links a { color: var(--muted); padding-left: 18px; margin-left: 18px; border-left: 1px solid var(--border); }
.sub-header-links a:first-child { border-left: none; padding-left: 0; margin-left: 0; }
.sub-header-links a:hover { color: var(--dark); }
/* 语言切换器：地球图标 + 当前语言，点击/悬浮/聚焦展开其他语言（保留真实链接，便于爬虫与 hreflang 对应） */
.sub-header-links .lang-switch { position: relative; display: inline-flex; align-items: center; padding-left: 18px; margin-left: 18px; border-left: 1px solid var(--border); }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.lang-toggle:hover { color: var(--dark); }
.lang-toggle .lang-globe { width: 16px; height: 16px; }
.lang-toggle .lang-caret { width: 11px; height: 11px; opacity: .55; transition: transform .2s; }
.lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 80; min-width: 150px; padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 14px 34px rgba(0,0,0,.10); display: none; }
/* 悬停桥接：触发按钮与下拉菜单之间有 10px 空隙，鼠标下移穿过空隙时会脱离 :hover 导致下拉消失；
   这里用一段透明的绝对定位伪元素补齐空隙，保证从按钮移向菜单的途中 hover 不中断 */
.lang-switch::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.lang-switch.open .lang-menu, .lang-switch:hover .lang-menu, .lang-switch:focus-within .lang-menu { display: block; }
.sub-header-links .lang-menu a { display: block; padding: 8px 12px; margin: 0; border-left: 0; border-radius: 7px; color: var(--dark); font-size: 13px; white-space: nowrap; }
.sub-header-links .lang-menu a:hover { background: var(--light-bg); color: var(--dark); }
.sub-header-links .lang-menu a.active { color: var(--gold); font-weight: 600; }

/* ---------- Header ---------- */
.header-main .container { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 30px; }
.logo img { width: 175px; }
.search-box { flex: 1; max-width: 560px; display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; height: 46px; }
.search-box input { flex: 1; border: none; outline: none; padding: 0 16px; font-family: inherit; font-size: 14px; color: var(--dark); }
.search-box input::placeholder { color: #b5b9bc; }
.search-box button { background: var(--dark); color: #fff; border: none; padding: 0 30px; font-size: 14px; font-weight: 600; transition: background .2s; }
.search-box button:hover { background: var(--gold); }
/* 搜索框内的一键清空按钮（仅在有内容时显示） */
.search-box .search-field { position: relative; flex: 1; display: flex; min-width: 0; }
.search-box .search-field input { padding-right: 36px; }
.search-box .search-clear {
    position: absolute; top: 50%; right: 10px;
    width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%;
    background: #cfd3d6; color: #fff; font-size: 15px; line-height: 1;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-50%) scale(.7);
    transition: opacity .18s ease, transform .18s ease, background .18s ease, visibility .18s ease;
}
.search-box.has-value .search-clear {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(-50%) scale(1);
}
.search-box .search-clear:hover { background: var(--muted); }
.search-box .search-clear:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    .search-box .search-clear { transition: none; }
}
.header-icons { display: flex; gap: 20px; }
.header-icons a { position: relative; display: flex; align-items: center; color: var(--dark); }
.header-icons a:hover { color: var(--gold); }
.header-icons svg { width: 22px; height: 22px; }
.icon-count { position: absolute; top: -7px; right: -9px; background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; width: 16px; height: 16px; line-height: 16px; text-align: center; border-radius: 50%; }

/* ---------- Nav ---------- */
.main-nav { border-top: 1px solid var(--border); }
.main-nav .container { display: flex; align-items: center; justify-content: space-between; height: 54px; }
.nav-left { display: flex; align-items: center; gap: 26px; height: 100%; position: relative; }
/* 「按分类选购」包裹层：把按钮与下拉面板放进同一个 hover 容器，鼠标移入按钮即展开，移向面板途中不中断 */
.cat-wrap { position: relative; display: flex; align-items: center; height: 100%; }
/* 悬停桥接：补齐按钮底边到面板之间的 2px 空隙，保证 hover 连续 */
.cat-wrap::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 6px; }
.cat-toggle { display: flex; align-items: center; gap: 10px; background: none; border: none; font-size: 14px; font-weight: 700; color: var(--dark); font-family: 'Poppins', sans-serif; }
.cat-toggle svg { width: 18px; height: 18px; }
.cat-toggle .caret { font-size: 11px; color: var(--muted); transition: transform .25s; }
.cat-toggle.open .caret { transform: rotate(180deg); color: var(--gold); }

/* Shop By Category 下拉面板 */
#cat-dropdown {
    position: absolute; top: calc(100% + 2px); left: 0; z-index: 800;
    width: 680px; background: #fff; border: 1px solid var(--border);
    border-radius: 10px; box-shadow: 0 14px 40px rgba(0,0,0,.12);
    padding: 18px; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .22s, transform .22s, visibility .22s;
}
#cat-dropdown.open, #cat-dropdown:hover,
.cat-wrap:hover #cat-dropdown, .cat-wrap:focus-within #cat-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.cd-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 10px; }
.cd-link { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 8px; }
.cd-link:hover { background: var(--light-bg); }
.cd-link:hover .cd-name { color: var(--gold); }
.cd-name { font-size: 13.5px; font-weight: 500; }
.cd-count { font-size: 12px; color: var(--muted); }
/* 头部「分类」下拉：一级分组 + 二级缩进 */
.cd-group { display: flex; flex-direction: column; gap: 2px; }
.cd-link.cd-parent .cd-name { font-weight: 700; }
.cd-link.cd-child { padding-left: 22px; }
.cd-link.cd-child .cd-name { font-size: 12.5px; color: #666; }
.nav-menu { display: flex; align-items: center; height: 100%; }
.nav-menu a { display: flex; align-items: center; height: 100%; padding: 0 13px; font-size: 14px; font-weight: 500; color: var(--dark); }
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-menu .caret { font-size: 10px; margin-left: 4px; color: var(--muted); }
/* 导航下拉（套餐专区 / 系列专区 / 文章资讯）：标题本身不跳转（文章资讯可点击），悬浮或点击展开分类 */
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.nav-item .nav-parent { display: flex; align-items: center; height: 100%; padding: 0 13px; font-size: 14px; font-weight: 500; color: var(--dark); cursor: pointer; }
.nav-item .nav-parent:hover, .nav-item.active .nav-parent, .nav-item.open .nav-parent { color: var(--gold); }
.nav-item .caret { transition: transform .2s; }
.nav-item.open .caret { transform: rotate(180deg); }
.nav-drop { position: absolute; top: 100%; left: 0; z-index: 800; min-width: 172px; padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 14px 34px rgba(0,0,0,.10); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-item:hover .nav-drop, .nav-item.open .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop a { display: block; height: auto; padding: 8px 12px; border-radius: 7px; font-size: 13.5px; color: var(--dark); white-space: nowrap; }
.nav-drop a:hover { background: var(--light-bg); color: var(--gold); }
.gift-link { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.gift-link:hover { color: var(--gold); }
.gift-link svg { width: 18px; height: 18px; stroke: var(--gold); }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar { background: var(--light-bg); padding: 22px 0; }
.breadcrumb-bar h1 { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; color: #c2c6c9; }

/* ---------- Sections ---------- */
.section { padding: 64px 0 30px; }
.section-head { text-align: center; margin-bottom: 38px; }
.section-head h2 { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.section-head p { color: var(--muted); font-size: 14px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 6px; font-size: 14px; font-weight: 700; padding: 12px 24px; transition: background .2s, color .2s, border-color .2s; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--gold); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9d8b6c; color: #fff; }
.btn-outline { background: #fff; color: var(--dark); border: 1px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-light { background: var(--light-bg); color: var(--dark); }
.btn-light:hover { background: #e9e6e1; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 15px 34px; font-size: 15px; }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.car-viewport { overflow: hidden; }
.car-track { display: flex; transition: transform .55s ease; }
.car-page { display: flex; gap: 24px; flex: 0 0 100%; min-width: 100%; }
.car-btn { position: absolute; top: 34%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; border: none; box-shadow: 0 2px 12px rgba(0,0,0,.14); display: flex; align-items: center; justify-content: center; z-index: 5; transition: background .2s; }
.car-btn:hover { background: var(--gold); }
.car-btn:hover svg { stroke: #fff; }
.car-btn svg { width: 16px; height: 16px; stroke: var(--dark); }
.car-prev { left: -14px; }
.car-next { right: -14px; }
.car-btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- Category cards ---------- */
.cat-card { flex: 0 0 calc((100% - 3*24px)/4); }
.cat-thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3.4; background: var(--light-bg); }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-card:hover .cat-thumb img { transform: scale(1.05); }
.cat-name { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: #fff; border-radius: 6px; padding: 8px 22px; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.cat-card:hover .cat-name { color: var(--gold); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-card { flex: 0 0 calc((100% - 5*24px)/6); }
/* 商品详情页「相关商品」轮播：每页 4 个 */
.pd-related .car-page .product-card { flex: 0 0 calc((100% - 3*24px)/4); }
.product-img { position: relative; border-radius: 10px; overflow: hidden; background: var(--light-bg); margin-bottom: 12px; }
.product-img img { width: 100%; aspect-ratio: 217/280; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-img img { transform: scale(1.04); }
.sale-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--sale); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.card-actions { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; }
.product-card:hover .card-actions { opacity: 1; transform: translateX(0); }
.card-actions button { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: none; box-shadow: 0 2px 8px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.card-actions button:hover { background: var(--gold); }
.card-actions button:hover svg { stroke: #fff; }
.card-actions svg { width: 15px; height: 15px; stroke: var(--dark); }
.product-cat-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 2px; }
.product-name { font-size: 14px; font-weight: 700; font-family: 'Poppins', sans-serif; margin-bottom: 3px; }
.product-name a:hover { color: var(--gold); }
.star-rating { font-size: 13px; letter-spacing: 2px; margin-bottom: 3px; color: #d5d5d5; }
.star-rating .on { color: var(--dark); }
.star-rating.gold .on { color: var(--star); }
.product-price { font-size: 14px; font-weight: 700; }
.product-price del { color: var(--muted); font-weight: 400; font-size: 13px; margin-right: 6px; }
.add-cart { margin-top: 10px; background: var(--dark); color: #fff; border: none; font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 6px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s, background .2s; }
.product-card:hover .add-cart { opacity: 1; transform: translateY(0); }
.add-cart:hover { background: var(--gold); }
/* 已收藏的心形按钮高亮 */
.card-actions button.wished { color: var(--sale); }
.card-actions button.wished svg { fill: currentColor; }
/* 已加入对比的按钮高亮 */
.card-actions button.compared svg { stroke: var(--gold); }
.card-actions button.compared:hover svg { stroke: #fff; }
.moq-tag { display: inline-block; background: #efe9df; color: #8a7656; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-bottom: 4px; }

/* ---------- Shop toolbar / sidebar / pagination ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
.shop-sidebar { border: 1px solid var(--border); border-radius: 10px; padding: 22px; position: sticky; top: 20px; }
.filter-block + .filter-block { border-top: 1px solid var(--border); margin-top: 20px; padding-top: 20px; }
.filter-block h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.filter-block li { margin-bottom: 8px; font-size: 13.5px; color: #555; display: flex; align-items: center; gap: 8px; }
.filter-block input[type="checkbox"], .filter-block input[type="radio"] { accent-color: var(--gold); width: 15px; height: 15px; }
.filter-block .count { margin-left: auto; color: var(--muted); font-size: 12px; }
/* 商品分类「一级 + 二级」层级：一级加粗分组，二级缩进显示 */
.filter-block li.cat-parent { font-weight: 600; color: #333; margin-top: 10px; }
.filter-block li.cat-parent:first-child { margin-top: 0; }
.filter-block li.cat-child { padding-left: 18px; }
.filter-block li.cat-child label { color: #666; font-size: 13px; }
.price-range { display: flex; align-items: center; gap: 8px; }
/* 两个输入框等分剩余空间；按钮不参与压缩，避免文字被挤成竖排 */
.price-range input { flex: 1 1 0; min-width: 0; width: auto; border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px; font-family: inherit; font-size: 13px; outline: none; }
.price-range input:focus { border-color: var(--gold); }
.price-range .btn { flex: none; white-space: nowrap; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border: 1px solid var(--border); border-radius: 10px; padding: 12px 18px; margin-bottom: 26px; }
.shop-toolbar .result-count { font-size: 13px; color: var(--muted); }
/* 移动端筛选下拉：桌面 / 平板不显示（桌面改用左侧筛选栏） */
.shop-filter-selects { display: none; }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.toolbar-right select, .shop-filter-selects select { border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px; font-family: inherit; font-size: 13px; outline: none; background: #fff; }
.view-toggle { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.view-toggle button { background: #fff; border: none; padding: 8px 12px; display: flex; }
.view-toggle button.active, .view-toggle button:hover { background: var(--light-bg); }
.view-toggle svg { width: 16px; height: 16px; stroke: var(--dark); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 10px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--dark); }
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { background: var(--dark); color: #fff; border-color: var(--dark); }
/* 省略号占位：不显示边框，仅作视觉省略 */
.pagination .page-gap { border: 0; min-width: 20px; padding: 0 2px; color: var(--muted); font-weight: 400; }

/* ---------- Product detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; }
.pd-gallery .main-img { border-radius: 10px; overflow: hidden; background: var(--light-bg); margin-bottom: 14px; }
.pd-gallery .main-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.pd-thumbs { display: flex; gap: 12px; }
.pd-thumbs img { width: 84px; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; background: var(--light-bg); }
.pd-thumbs img.active, .pd-thumbs img:hover { border-color: var(--gold); }
.pd-summary .pd-cat { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 6px; }
.pd-summary h1 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.pd-meta-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.pd-price { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.pd-price del { font-size: 18px; color: var(--muted); font-weight: 400; margin-right: 10px; }
.pd-short { color: #555; margin-bottom: 20px; }
.pd-spec-mini { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 22px; }
.pd-spec-mini div { display: flex; padding: 10px 16px; font-size: 13.5px; }
.pd-spec-mini div + div { border-top: 1px solid var(--border); }
.pd-spec-mini .k { width: 120px; color: var(--muted); flex: none; }
.pd-sku-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 20px; }
.pd-sku-group .k { width: auto; margin-right: 4px; }
.pd-sku-btn {
    padding: 8px 16px; border: 1px solid var(--border); border-radius: 8px;
    background: #fff; font-size: 13px; font-weight: 600; color: var(--dark);
    cursor: pointer; transition: all .2s;
}
.pd-sku-btn:hover { border-color: var(--gold); color: var(--gold); }
.pd-sku-btn.active { background: var(--gold); border-color: var(--gold); color: #fff; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-stepper button { width: 42px; height: 46px; border: none; background: #fff; font-size: 18px; color: var(--dark); }
.qty-stepper button:hover { background: var(--light-bg); }
.qty-stepper input { width: 56px; height: 46px; border: none; text-align: center; font-family: inherit; font-size: 14px; font-weight: 700; outline: none; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.pd-actions .icon-round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; }
.pd-actions .icon-round:hover { border-color: var(--gold); }
.pd-actions .icon-round:hover svg { stroke: var(--gold); }
.pd-actions .icon-round svg { width: 19px; height: 19px; stroke: var(--dark); }
.pd-assure { display: flex; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 18px; }
.pd-assure div { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pd-assure svg { width: 20px; height: 20px; stroke: var(--gold); }
.pd-tabs { margin-top: 60px; }
.pd-tab-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 28px; flex-wrap: wrap; }
.pd-tab-nav button { background: none; border: none; padding: 12px 22px; font-size: 14px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.pd-tab-nav button.active { color: var(--dark); border-bottom-color: var(--dark); }
.pd-tab-pane { display: none; color: #555; }
.pd-tab-pane.active { display: block; }
.spec-table { width: 100%; border: 1px solid var(--border); border-radius: 10px; border-collapse: collapse; overflow: hidden; }
.spec-table th, .spec-table td { padding: 12px 18px; font-size: 13.5px; text-align: left; border-bottom: 1px solid var(--border); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { width: 220px; color: var(--muted); font-weight: 500; background: #fafafa; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group label .req { color: var(--sale); }
.form-control { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 11px 14px; font-family: inherit; font-size: 14px; color: var(--dark); outline: none; background: #fff; transition: border-color .2s; }
.form-control:focus { border-color: var(--gold); }
.form-control::placeholder { color: #b5b9bc; }
select.form-control { appearance: auto; }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-card { border: 1px solid var(--border); border-radius: 12px; padding: 30px; }
.form-card + .form-card { margin-top: 26px; }
.form-card > h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.form-card > .card-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

/* Upload area */
.upload-zone { border: 2px dashed #d8d3c8; border-radius: 10px; background: #fbfaf8; padding: 34px 20px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.upload-zone:hover { border-color: var(--gold); background: #f7f4ee; }
.upload-zone svg { width: 34px; height: 34px; stroke: var(--gold); margin-bottom: 10px; }
.upload-zone .up-title { font-weight: 700; margin-bottom: 4px; }
.upload-zone .up-hint { font-size: 12.5px; color: var(--muted); }
.file-list { margin-top: 12px; }
.file-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 8px 12px; background: var(--light-bg); border-radius: 8px; margin-bottom: 8px; }
.file-list .fname { flex: 1; }
.file-list .fsize { color: var(--muted); font-size: 12px; }
.file-list button { background: none; border: none; color: var(--muted); font-size: 16px; }
.file-list button:hover { color: var(--sale); }

/* Radio cards */
.radio-card { display: flex !important; align-items: flex-start; gap: 12px; border: 1px solid var(--border); border-radius: 10px; padding: 16px; cursor: pointer; transition: border-color .2s, background .2s; position: relative; }
.radio-card input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; }
.radio-card:has(input:checked) { border-color: var(--gold); background: #fbf8f3; }
.radio-card .rc-title { font-weight: 700; font-size: 14px; }
.radio-card .rc-desc { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.radio-card .rc-icon { position: absolute; right: 16px; top: 14px; }
.radio-card .rc-icon img { height: 24px; }

/* ---------- Cart / mini table ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); padding: 0 12px 14px; border-bottom: 1px solid var(--border); }
.cart-table td { padding: 18px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; font-size: 14px; }
.cart-table .col-product { width: 42%; }
.cart-table img.cell-thumb { width: 86px; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; background: var(--light-bg); }
.cell-product { display: flex; gap: 16px; align-items: center; }
.cell-product .cp-name { font-weight: 700; font-family: 'Poppins', sans-serif; font-size: 14px; }
.cell-product .cp-spec { font-size: 12.5px; color: var(--muted); }
.link-remove { color: var(--muted); font-size: 18px; background: none; border: none; }
.link-remove:hover { color: var(--sale); }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 34px; align-items: start; }
.summary-box { border: 1px solid var(--border); border-radius: 12px; padding: 24px; position: sticky; top: 20px; }
.summary-box h3 { font-size: 17px; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; color: #555; }
.sum-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 700; color: var(--dark); font-family: 'Poppins', sans-serif; }
.coupon-row { display: flex; gap: 8px; margin: 18px 0 6px; }
.coupon-row input { flex: 1; border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; font-family: inherit; font-size: 13px; outline: none; }
.coupon-row input:focus { border-color: var(--gold); }
/* .sum-row 为 flex，需显式声明 hidden 生效 */
.sum-row[hidden] { display: none; }
.cart-footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* RFQ product table variant */
.rfq-table .qty-stepper { width: auto; }
.rfq-table .col-product { width: auto; }

/* ---------- Checkout steps ---------- */
.steps-bar { display: flex; justify-content: center; margin-bottom: 44px; flex-wrap: wrap; }
.step-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.step-item .step-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--light-bg); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--muted); flex: none; }
.step-item.active { color: var(--dark); }
.step-item.active .step-dot { background: var(--dark); color: #fff; }
.step-item.done .step-dot { background: var(--gold); color: #fff; }
.step-line { width: 70px; height: 2px; background: var(--border); margin: 0 14px; }
.step-line.done { background: var(--gold); }
.checkout-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: start; }
.order-review-card .or-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: center; }
.order-review-card img { width: 60px; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; background: var(--light-bg); }
.or-item .or-name { flex: 1; font-size: 13.5px; font-weight: 600; }
.or-item .or-qty { font-size: 12.5px; color: var(--muted); display: block; }
.pay-methods { display: flex; flex-direction: column; gap: 12px; }
.pay-methods .radio-card { padding: 18px; }

/* ---------- Deals ---------- */
.deals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.deal-card { text-align: center; }
.deal-thumb { display: block; border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.deal-thumb img { width: 100%; aspect-ratio: 3/3.4; object-fit: cover; transition: transform .4s; }
.deal-card:hover .deal-thumb img { transform: scale(1.05); }
.deal-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.deal-card p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 8px; }
.deal-card .read-more { font-size: 14px; font-weight: 700; color: var(--dark); text-decoration: underline; text-underline-offset: 4px; }
.deal-card .read-more:hover { color: var(--gold); }

/* ---------- Service badges ---------- */
.service-section { padding: 50px 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-item { display: flex; align-items: center; gap: 16px; }
.service-item img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.service-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.service-item p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 26px 26px 22px; }
.testi-card .stars { font-size: 14px; letter-spacing: 3px; color: var(--star); margin-bottom: 14px; }
.testi-card p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-author .name { font-size: 14px; font-weight: 700; font-family: 'Poppins', sans-serif; }

/* ---------- Brands ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; }
.brands-grid > * { background: var(--light-bg); border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 18px 14px; transition: background .2s; }
.brands-grid > *:hover { background: #ece9e4; }
.brands-grid img { max-height: 40px; object-fit: contain; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-thumb { display: block; border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.blog-thumb img { width: 100%; aspect-ratio: 4/2.9; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-date { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.blog-title { font-size: 15px; font-weight: 700; line-height: 1.5; }
.blog-title a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg); color: #9aa0a4; margin-top: 70px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 50px; padding: 64px 15px 48px; }
.footer h4 { color: #fff; font-size: 19px; font-weight: 700; margin-bottom: 22px; font-family: 'Poppins', sans-serif; }
/* 页脚手风琴箭头：桌面隐藏，仅 ≤767 显示 */
.foot-chev { display: none; }
.footer p { font-size: 13px; line-height: 1.9; }
.footer-about p { margin-bottom: 16px; }
.footer-contact { font-size: 16px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: #9aa0a4; }
.footer-links a:hover { color: var(--gold); }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a { width: 38px; height: 38px; border-radius: 8px; background: #565A5F; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.social a:hover { background: var(--gold); }
.social svg { width: 15px; height: 15px; fill: #fff; }
.newsletter-form { margin-top: 16px; }
.newsletter-form input { width: 100%; height: 46px; padding: 0 16px; background: #fff; border: none; border-radius: 8px; font-family: inherit; font-size: 14px; color: var(--dark); outline: none; margin-bottom: 12px; }
.newsletter-form input::placeholder { color: #b5b9bc; }
.newsletter-form button { height: 44px; padding: 0 30px; border: none; border-radius: 8px; background: var(--gold); color: #fff; font-size: 14px; font-weight: 700; transition: background .2s; }
.newsletter-form button:hover { background: #9d8b6c; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 15px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #85898C; }
.footer-bottom img { height: 22px; }

/* Back to top */
.back-top { position: fixed; right: 26px; bottom: 26px; z-index: 50; width: 42px; height: 42px; border-radius: 8px; border: none; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.back-top:hover { background: var(--gold); }
.back-top svg { width: 16px; height: 16px; stroke: #fff; }

/* ---------- 首页 Hero 轮播 ---------- */
.hero { position: relative; height: 610px; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; background-size: cover; background-position: center; }
.slide.active { opacity: 1; z-index: 1; }
.slide-card { position: absolute; left: max(15px, calc((100% - 1400px)/2 + 15px)); bottom: 120px; background: #21252987; border-radius: 10px; padding: 32px 36px; max-width: 400px; color: #fff; }
.slide-tag { font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 10px; }
.slide-card h1 { font-size: 28px; font-weight: 700; line-height: 1.35; color: #fff; margin-bottom: 12px; }
.slide-card p { font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.slide-card .shop-now { font-size: 14px; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.slide-card .shop-now:hover { color: var(--gold); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.55); border: none; display: flex; align-items: center; justify-content: center; z-index: 5; transition: background .2s; }
.hero-arrow:hover { background: var(--gold); }
.hero-arrow svg { width: 18px; height: 18px; stroke: var(--dark); }
.hero-arrow:hover svg { stroke: #fff; }
.hero-prev { left: 26px; }
.hero-next { right: 26px; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; transition: background .2s, border-color .2s; }
.hero-dots button.active { background: var(--gold); border-color: var(--gold); }

@media (max-width: 1100px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    /* 单列布局下合计卡不再吸顶，避免长页面中悬浮不跟随 */
    .cart-layout .summary-box, .checkout-layout .summary-box { position: static; }
    .product-grid, .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .deals-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
    .brands-grid { grid-template-columns: repeat(4, 1fr); }
    .pd-layout { grid-template-columns: 1fr; gap: 30px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    /* 首页轮播：每页 3 个 */
    .cat-card { flex-basis: calc((100% - 2*24px)/3); }
    .product-card { flex-basis: calc((100% - 2*24px)/3); }
}

/* ---------- 768–1100：平板 / 小屏桌面，筛选栏改为两列，避免竖向过长 ---------- */
@media (min-width: 768px) and (max-width: 1100px) {
    .shop-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; align-items: start; }
    .shop-sidebar .filter-block + .filter-block { border-top: 0; margin-top: 0; padding-top: 0; }
    .shop-sidebar .filter-block { border-top: 1px solid var(--border); margin-top: 20px; padding-top: 20px; }
    .shop-sidebar .filter-block:nth-child(-n+2) { border-top: 0; margin-top: 0; padding-top: 0; }
}

/* ---------- ≤767：移动端筛选改用「默认排序」同款原生下拉，隐藏左侧筛选栏避免板块过长 ---------- */
@media (max-width: 767px) {
    .shop-sidebar { display: none; }

    .shop-filter-selects {
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
        border: 1px solid var(--border); border-radius: 10px;
        padding: 14px; margin-bottom: 20px;
    }
    .shop-filter-selects select { width: 100%; min-width: 0; }
    /* 5 个下拉两列排布，最后一个占满整行，避免右侧留空 */
    .shop-filter-selects select:last-child { grid-column: 1 / -1; }
}

/* ============================================================
   移动端增强元素（frunicha.js 注入，桌面隐藏）
   ============================================================ */
#mobile-menu-btn, #mobile-search-btn {
    display: none; align-items: center; justify-content: center;
    background: none; border: none; color: var(--dark); padding: 0;
}
#mobile-menu-btn svg, #mobile-search-btn svg { width: 24px; height: 24px; }

/* 抽屉 */
#drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 900;
    opacity: 0; pointer-events: none; transition: opacity .3s;
}
#drawer-overlay.show { opacity: 1; pointer-events: auto; }
#mobile-drawer {
    position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 82%;
    background: #fff; z-index: 901; transform: translateX(-100%);
    transition: transform .32s ease; overflow-y: auto;
}
#mobile-drawer.show { transform: translateX(0); }
.md-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.md-logo { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; }
#md-close { background: none; border: none; color: var(--dark); display: flex; }
#md-close svg { width: 20px; height: 20px; }
.md-links { padding: 10px 14px; }
.md-links li a { display: block; padding: 12px 8px; font-size: 14px; font-weight: 500; }
.md-links li a:hover { color: var(--gold); }
.md-sep { height: 1px; background: var(--border); margin: 8px 4px; list-style: none; }

/* 移动搜索层 */
#search-layer {
    position: fixed; inset: 0; background: #fff; z-index: 902;
    opacity: 0; pointer-events: none; transition: opacity .25s;
}
#search-layer.show { opacity: 1; pointer-events: auto; }
.sl-box { position: relative; max-width: 640px; margin: 70px auto 0; padding: 0 24px; }
#sl-close { position: absolute; top: -46px; right: 24px; background: none; border: none; color: var(--dark); display: flex; }
#sl-close svg { width: 22px; height: 22px; }
.sl-box input { width: 100%; border: none; border-bottom: 2px solid var(--dark); padding: 12px 4px; font-family: inherit; font-size: 16px; outline: none; }

/* 深色双横幅：图 + 文案卡（桌面与手机端一致展示文案） */
.cms-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cms-item { position: relative; border-radius: 10px; overflow: hidden; background: #000; }
.cms-item img { width: 100%; aspect-ratio: 1/1.02; object-fit: cover; }
.cms-overlay {
    position: absolute; left: 14px; right: 14px; bottom: 14px;
    background: rgba(33,37,41,.78); border-radius: 10px; padding: 18px 20px;
}
.cms-overlay .cms-kicker { color: var(--gold); font-size: 12px; font-weight: 600; }
.cms-overlay h3 { color: #fff; font-size: 20px; font-weight: 700; margin: 4px 0 8px; line-height: 1.35; }
.cms-overlay a { color: #fff; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- ≤1024：单行 Header + 抽屉入口 ---------- */
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .search-box { display: none; }
    #mobile-menu-btn, #mobile-search-btn { display: inline-flex; }
    .header-main .container { height: 64px; gap: 16px; }
    .logo img { width: 150px; }
    .header-icons { gap: 16px; }
    .header-icons a[title="Compare"], .header-icons a[title="Wishlist"] { display: none; }
}

/* ---------- ≤767：手机 ---------- */
@media (max-width: 680px) {
    .sub-header .container { flex-direction: column; height: auto; padding: 8px 0; gap: 4px; }
    .header-main .container { flex-wrap: wrap; height: auto; padding: 14px 0; }
    .search-box { order: 3; max-width: 100%; }
    .nav-menu { display: none; }
    .product-grid, .product-grid.cols-4 { grid-template-columns: 1fr; }
    .deals-grid, .service-grid, .testi-grid, .blog-grid, .form-grid { grid-template-columns: 1fr; }
    .form-grid .full { grid-column: auto; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr { border-bottom: 1px solid var(--border); padding: 10px 0; }
    /* 堆叠后：数值单元格「左标签 / 右数值」，数量步进器不再被拉满整行 */
    .cart-table td:nth-child(2),
    .cart-table td:nth-child(3),
    .cart-table td:nth-child(4) { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 7px 2px; }
    .cart-table td:nth-child(2)::before { content: '单价'; }
    .cart-table td:nth-child(3)::before { content: '数量'; }
    .cart-table td:nth-child(4)::before { content: '小计'; }
    .cart-table td:nth-child(2)::before,
    .cart-table td:nth-child(3)::before,
    .cart-table td:nth-child(4)::before { color: var(--muted); font-size: 13px; font-weight: 500; }
    .cart-table .qty-stepper { width: auto; }
    .cart-table td:nth-child(5) { text-align: right; padding: 4px 2px 0; }
    .footer-main { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 10px; }
    .step-line { width: 30px; }
}

@media (max-width: 767px) {
    html, body { overflow-x: hidden; }

    /* Topbar：文字与 Read More 上下两行 */
    .topbar { font-size: 12px; padding: 7px 14px; line-height: 1.5; }
    .topbar a { display: block; margin: 2px 0 0; }

    /* Sub header：仅保留 Login 与语言切换，右对齐 */
    .sub-header .container { display: flex; height: auto; padding: 9px 0; flex-direction: row; justify-content: flex-end; }
    .sub-header .container > div:first-child { display: none; }
    .sub-header-links a { display: none; border: none; padding: 0; margin: 0; }
    /* 移动端仅保留账号相关入口：未登录显示「登录」，已登录显示「你好，xx」+「退出」 */
    .sub-header-links a.login-link { display: inline; }
    .sub-header-links a.logout-link { display: inline; margin-left: 12px; }
    /* 语言切换与「登录」同一行：登录靠左，语言切换靠右，只显示当前语言，点击图标选其他语言 */
    .sub-header-links { display: flex; width: 100%; align-items: center; }
    .sub-header-links .lang-switch { margin-left: auto; padding-left: 0; border-left: 0; }
    .sub-header-links .lang-menu { top: calc(100% + 8px); }

    /* Header 单行 */
    .header-main .container { flex-wrap: nowrap; height: 60px; padding: 10px 0; gap: 14px; }
    #mobile-menu-btn svg { width: 23px; height: 23px; }
    .logo img { width: 138px; }
        .header-icons { gap: 16px; padding-right: 8px; }

    /* Hero：内嵌圆角浮卡，隐藏两侧箭头 */
    .hero { height: 380px; }
    .hero .slide { background-position: center center; }
    .slide-card {
        position: absolute; left: 15px; right: 15px; bottom: 26px;
        width: auto; transform: none; padding: 18px 18px 24px; border-radius: 14px;
    }
    .slide-tag { font-size: 12px; }
    .slide-card h1 { font-size: 22px; line-height: 1.3; }
    .slide-card p { font-size: 12.5px; line-height: 1.55; margin: 6px 0 8px; }
    .slide-card .shop-now { font-size: 13px; }
    .hero-arrow { display: none; }
    .hero-dots { bottom: 32px; }
    .hero-dots button { width: 8px; height: 8px; margin: 0 4px; }

    /* 轮播：每页 2 个（frunicha.js 重排） */
    .car-page { gap: 12px; }
    .car-page .cat-card,
    .car-page .product-card { flex: 0 0 calc(50% - 6px); min-width: 0; }
    .pd-related .car-page .product-card { flex: 0 0 calc(50% - 6px); }
    .cat-thumb { aspect-ratio: 4/3.6; border-radius: 9px; }
    .cat-name { padding: 7px 14px; font-size: 12.5px; bottom: 10px; }
    .car-btn { width: 34px; height: 34px; top: 50%; }
    .car-prev { left: -8px; }
    .car-next { right: -8px; }

    /* 产品卡：常显心形收藏，隐藏其余悬浮动作 */
    .card-actions { opacity: 1; transform: none; top: 8px; right: 8px; gap: 6px; }
    .card-actions button { width: 30px; height: 30px; }
    .card-actions button:not(:first-child) { display: none; }
    .add-cart { display: none; }
    .product-name { font-size: 13.5px; }

    /* Deals / 服务 / 评价 / 品牌 / 博客：单列 */
    .deals-grid { grid-template-columns: 1fr; gap: 16px; }
    .deal-thumb img { aspect-ratio: 16/10; }

    .service-grid { grid-template-columns: 1fr; gap: 26px; }
    .service-item { flex-direction: column; text-align: center; gap: 10px; }
    .service-item img { width: 44px; height: 44px; }

    .testi-grid { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: 1fr; gap: 10px; }
    .brands-grid > * { padding: 22px; }
    .blog-grid { grid-template-columns: 1fr; }

    /* 深色横幅：单列堆叠（文案卡与桌面端一致，无需单独开关） */
    .cms-showcase { grid-template-columns: 1fr; gap: 14px; }
    .cms-item img { aspect-ratio: 4/3.5; }

    /* 页脚：About Us 常驻 + 后 3 列手风琴 */
    .footer { margin-top: 40px; }
    /* 保留 container 的 15px 左右留白，避免文字/图标贴屏幕边缘 */
    .footer-main { display: flex; flex-direction: column; gap: 0; padding: 34px 15px 10px; }
    .footer-main > div { border-bottom: 1px solid rgba(255,255,255,.08); }
    .footer-main > div.foot-static { padding-bottom: 18px; }
    .footer-main > div.foot-static h4 {
        display: block; margin: 0 0 16px; padding: 0; cursor: default; font-size: 19px;
    }
    .footer-main > div.foot-accordion h4 {
        display: flex; align-items: center; justify-content: space-between;
        margin: 0; padding: 15px 0; cursor: pointer;
    }
    .foot-chev { display: flex; }
    .foot-chev svg { width: 22px; height: 22px; stroke: #fff; transition: transform .25s; }
    .footer-main > div:not(.foot-collapsed) .foot-chev svg { transform: rotate(180deg); }
    .footer-main > div.foot-collapsed > *:not(h4) { display: none; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; padding: 22px 15px; }
    .footer-bottom img { height: 24px; }

    /* 商品列表保持 2 列（覆盖更早的 1 列规则） */
    .product-grid, .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    /* 杂项 */
    .breadcrumb-bar { padding: 16px 0; }
    .section { padding: 44px 0 20px; }
    .section-head { margin-bottom: 26px; }
    .section-head h2 { font-size: 23px; }
    .pd-thumbs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
    .pd-thumbs img { width: 72px; }
    .form-card { padding: 20px; }
    .summary-box { position: static; }
    .step-line { width: 22px; margin: 0 8px; }
    .step-item { font-size: 12px; gap: 7px; }
    .step-item .step-dot { width: 30px; height: 30px; }
    .back-top { width: 38px; height: 38px; right: 12px; bottom: 14px; }
}

/* ---------- 登录弹窗（全局，由 frunicha.js 注入） ---------- */
body.lm-open { overflow: hidden; }
.login-modal {
    position: fixed; inset: 0; z-index: 9998; padding: 20px;
    display: flex; align-items: center; justify-content: center;
}
.login-modal[hidden] { display: none; }
.lm-mask { position: absolute; inset: 0; background: rgba(20,22,25,.55); animation: lm-fade .2s ease; }
.lm-box {
    position: relative; width: 420px; max-width: 100%; max-height: calc(100vh - 40px);
    overflow-y: auto; background: #fff; border-radius: 16px; padding: 30px 32px 26px;
    box-shadow: 0 24px 70px rgba(0,0,0,.30); animation: lm-pop .22s ease;
}
@keyframes lm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lm-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.lm-close {
    position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0;
    background: var(--light-bg); border-radius: 50%; font-size: 20px; line-height: 1;
    color: var(--muted); display: flex; align-items: center; justify-content: center; transition: .2s;
}
.lm-close:hover { background: var(--border); color: var(--dark); }
.lm-head { margin-bottom: 22px; }
.lm-head h3 { font-size: 21px; margin-bottom: 6px; }
.lm-head p { font-size: 13px; color: var(--muted); }
.lm-field { margin-bottom: 15px; }
.lm-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.lm-field input {
    width: 100%; height: 46px; border: 1px solid var(--border); border-radius: 8px;
    padding: 0 14px; font-family: inherit; font-size: 14px; transition: border-color .2s;
}
.lm-field input:focus { outline: none; border-color: var(--dark); }
.lm-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 18px; font-size: 13px; }
.lm-check { display: flex; align-items: center; gap: 7px; cursor: pointer; color: var(--dark); }
.lm-check input { width: 15px; height: 15px; accent-color: var(--dark); cursor: pointer; }
.lm-forgot { color: var(--muted); cursor: pointer; transition: color .2s; }
.lm-forgot:hover { color: var(--dark); }
.lm-submit { width: 100%; padding: 14px 0; border-radius: 30px; font-size: 15px; }
.lm-alt { margin-top: 16px; text-align: center; font-size: 13px; color: var(--muted); }
.lm-alt a { color: var(--dark); font-weight: 700; cursor: pointer; }
.lm-hint { font-size: 13px; color: var(--muted); line-height: 1.8; }
.lm-hint strong { color: var(--dark); }
.lm-back { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--dark); }

/* 移动端：底部抽屉式 */
@media (max-width: 767px) {
    .login-modal { align-items: flex-end; padding: 0; }
    .lm-box {
        width: 100%; border-radius: 18px 18px 0 0; padding: 26px 20px 30px;
        max-height: 92vh; animation: lm-up .25s ease;
    }
    @keyframes lm-up { from { transform: translateY(100%); } to { transform: none; } }
}

/* ---------- 商品评价（详情页评价页签） ---------- */
.pd-rev-summary { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 13.5px; color: var(--muted); }
.pd-rev-summary strong { font-family: 'Poppins', sans-serif; font-size: 18px; color: var(--dark); }
.pd-rev-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; }
.pd-rev-empty { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.pd-rev-form-title { font-size: 18px; margin: 40px 0 16px; }
.pd-rev-form { max-width: 640px; }
.rv-rating-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 13px; font-weight: 600; }
.rv-stars { display: flex; gap: 4px; }
.rv-stars button { border: 0; background: none; padding: 0 2px; font-size: 22px; line-height: 1; color: #d5d5d5; transition: color .15s; }
.rv-stars button.active { color: var(--star); }
.rv-rating-row .req { color: var(--sale); }
.rv-rating-row #rv-rating-text { color: var(--muted); font-weight: 500; }
.pd-rev-form .btn { margin-top: 18px; padding: 12px 32px; border-radius: 30px; }
@media (max-width: 767px) { .pd-rev-list { grid-template-columns: 1fr; } }

/* ---------- 快速查看弹窗（全局，由 frunicha.js 注入） ---------- */
body.qv-open { overflow: hidden; }
.qv-modal {
    position: fixed; inset: 0; z-index: 9997; padding: 20px;
    display: flex; align-items: center; justify-content: center;
}
.qv-modal[hidden] { display: none; }
.qv-mask { position: absolute; inset: 0; background: rgba(20,22,25,.55); animation: lm-fade .2s ease; }
.qv-box {
    position: relative; width: 880px; max-width: 100%; max-height: calc(100vh - 40px);
    overflow-y: auto; background: #fff; border-radius: 16px; padding: 30px;
    box-shadow: 0 24px 70px rgba(0,0,0,.30); animation: lm-pop .22s ease;
}
.qv-close {
    position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border: 0;
    background: var(--light-bg); border-radius: 50%; font-size: 20px; line-height: 1;
    color: var(--muted); display: flex; align-items: center; justify-content: center; transition: .2s;
}
.qv-close:hover { background: var(--border); color: var(--dark); }
.qv-body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.qv-main { width: 100%; border-radius: 12px; background: var(--light-bg); aspect-ratio: 217/280; object-fit: cover; }
.qv-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.qv-thumbs img { width: 62px; height: 78px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.qv-thumbs img.active { border-color: var(--gold); }
.qv-cat { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 6px; }
.qv-name { font-size: 21px; margin-bottom: 8px; }
.qv-info .star-rating { margin-bottom: 10px; }
.qv-price { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.qv-price del { color: var(--muted); font-size: 15px; font-weight: 400; margin-right: 8px; }
.qv-desc { font-size: 13.5px; color: #4a4e51; line-height: 1.9; margin-bottom: 16px; }
.qv-skus { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.qv-sku { border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 600; transition: .2s; }
.qv-sku:hover { border-color: var(--gold); }
.qv-sku.active { border-color: var(--gold); background: #f7f3ec; }
.qv-qty { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.qv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qv-actions .btn { flex: 1; min-width: 130px; padding: 13px 0; border-radius: 30px; }
@media (max-width: 767px) {
    .qv-modal { align-items: flex-end; padding: 0; }
    .qv-box { width: 100%; border-radius: 18px 18px 0 0; padding: 24px 20px 28px; max-height: 92vh; animation: lm-up .25s ease; }
    .qv-body { grid-template-columns: 1fr; gap: 20px; }
    .qv-main { max-height: 38vh; }
}

/* ---------- 联系我们（contact.html） ---------- */
/* 页头沿用站内通用 breadcrumb-bar（左对齐标题 + 面包屑） */

/* 主体：左「联系方式」+ 右「留言表单」 */
.contact-main { margin: 60px 0; }
.contact-layout { display: flex; align-items: stretch; }
.contact-col-info { width: 30%; padding-right: 50px; }
.contact-col-form { width: 69.665%; background: #F2F2F2; padding: 50px; }

.contact-title {
    font-family: 'Manrope', sans-serif; font-size: 24px; font-weight: 700;
    line-height: 22px; letter-spacing: .2px; margin-bottom: 25px;
}

.contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.ci-icon { flex: none; width: 24px; height: 24px; }
.ci-icon svg { display: block; width: 24px; height: 24px; fill: var(--dark); }
.ci-body h3 {
    font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 700;
    line-height: 20px; letter-spacing: .2px; margin-bottom: 4px;
}
.ci-body p { font-size: 14px; font-weight: 500; line-height: 26px; letter-spacing: .2px; }
.contact-divider { height: 1px; background: var(--border); margin: 0 0 25px; }
.contact-photo { width: 100%; border-radius: 8px; }

/* 留言表单 */
.cf-field { margin-bottom: 20px; }
.cf-field label { display: block; font-size: 14px; font-weight: 500; line-height: 25.2px; letter-spacing: .3px; }
.cf-field input,
.cf-field textarea {
    display: block; width: 362px; max-width: 100%; margin-top: 5px; background: #fff;
    border: 0; border-radius: 8px; padding: 10px 15px; color: var(--dark);
    font-family: inherit; font-size: 14px; font-weight: 500; line-height: 25.2px;
}
.cf-field textarea { width: 100%; resize: vertical; }
.cf-field input:focus,
.cf-field textarea:focus { outline: 2px solid rgba(178,158,125,.45); }
.cf-submit { margin: 0; }
.contact-col-form .btn-dark { padding: 15px 25px; border-radius: 8px; letter-spacing: .5px; }
.cf-field label .req { color: var(--sale); }

/* 常见问题 */
.contact-faq { margin: 60px 0; }
.faq-head { text-align: center; margin-bottom: 25px; }
.faq-head h2 { font-family: 'Manrope', sans-serif; font-size: 28px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.faq-head p { font-size: 14px; font-weight: 500; line-height: 25px; letter-spacing: .3px; color: var(--muted); }

.faq-q {
    display: flex; align-items: center; gap: 5px; width: 100%;
    padding: 13px 20px; background: none; border: 0; text-align: left; color: var(--dark);
}
.faq-icon { flex: none; width: 18px; height: 18px; display: flex; align-items: center; }
.faq-icon svg { width: 18px; height: 18px; fill: currentColor; }
.faq-icon .faq-minus { display: none; }
.faq-item.active .faq-icon .faq-plus { display: none; }
.faq-item.active .faq-icon .faq-minus { display: block; }
.faq-title { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 700; line-height: 20px; letter-spacing: .2px; }
.faq-a { display: none; padding: 0 0 0 50px; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 26px; letter-spacing: .3px; }
.faq-item.active .faq-a { display: block; }

@media (max-width: 1200px) {
    .contact-main { margin: 40px 0 100px; }
    .contact-faq { margin: 100px 0; }
}
@media (max-width: 767px) {
    .contact-main, .contact-faq { margin: 60px 0; }
    .contact-layout { display: block; }
    .contact-col-info { width: 100%; padding-right: 0; }
    .contact-col-form { width: 100%; margin-top: 30px; padding: 20px; }
    .contact-title { text-align: center; }
    .faq-head h2 { font-size: 22px; }
    .faq-title { line-height: 26px; }
}

/* ============================================================
   首页改版：四个商品板块差异化形态 + 入场/悬浮动效
   （以下规则仅作用于首页新增的修饰类，不影响其他页面）
   ============================================================ */

/* ---------- 「查看全部」入口（section-head 下方居中） ---------- */
.section-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--dark); }
.section-more svg { width: 15px; height: 15px; stroke: currentColor; transition: transform .25s; }
.section-more:hover { color: var(--gold); }
.section-more:hover svg { transform: translateX(4px); }

/* ---------- 滚动入场动效 ----------
   用独立的 translate 属性做位移动画，避免与卡片 hover 的 transform 互相覆盖；
   仅在 JS 可用（html.js-anim）时才隐藏，保证无 JS 环境内容依旧可见 */
.js-anim .reveal {
    opacity: 0;
    translate: 0 26px;
    transition: opacity .65s ease, translate .65s cubic-bezier(.22,.61,.36,1);
}
.js-anim .reveal.in { opacity: 1; translate: 0 0; }

/* ---------- 商品卡悬浮增强 ---------- */
.product-card { transition: transform .3s ease; }
.product-card:hover { transform: translateY(-6px); }
.product-card:hover .product-img img { transform: scale(1.06); }

/* ---------- 轮播：圆点 + 拖拽 ---------- */
.car-viewport { touch-action: pan-y; }
.carousel .car-viewport img { -webkit-user-drag: none; user-select: none; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.car-dots[hidden] { display: none; }
.car-dots button { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%; background: #d8d8d8; transition: background .2s, width .2s; }
.car-dots button.active { background: var(--gold); width: 22px; border-radius: 5px; }

/* ---------- 形态二：套餐专区（左图右文横向大卡，3 列 × 2 行） ---------- */
.combo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.combo-card { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.combo-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.10); border-color: transparent; }
.combo-media { position: relative; flex: 0 0 45%; overflow: hidden; background: var(--light-bg); }
.combo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.combo-card:hover .combo-media img { transform: scale(1.06); }
.combo-body { flex: 1 1 auto; display: flex; flex-direction: column; padding: 20px 20px 22px; }
.combo-tag { align-self: flex-start; margin-bottom: 8px; padding: 3px 9px; border-radius: 4px; background: #f0eae0; color: #8a7656; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.combo-name { margin-bottom: 6px; font-size: 15px; font-weight: 700; line-height: 1.4; font-family: 'Poppins', sans-serif; }
.combo-name a:hover { color: var(--gold); }
.combo-body .star-rating { margin-bottom: 6px; }
.combo-price { margin-top: auto; font-size: 16px; font-weight: 700; }
.combo-price del { margin-right: 6px; color: var(--muted); font-size: 13px; font-weight: 400; }
.combo-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--dark); }
.combo-link svg { width: 15px; height: 15px; stroke: currentColor; transition: transform .25s; }
.combo-link:hover { color: var(--gold); }
.combo-link:hover svg { transform: translateX(4px); }

/* ---------- 形态三：系列专区（左侧系列 Tab + 右侧商品网格） ---------- */
.series-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: start; }
.series-tabs { display: flex; flex-direction: column; gap: 6px; padding-right: 12px; border-right: 1px solid var(--border); }
.series-tab { padding: 12px 14px; border: none; border-radius: 8px; background: none; color: #555; font-family: inherit; font-size: 14px; font-weight: 600; text-align: left; transition: background .2s, color .2s; }
.series-tab:hover { background: var(--light-bg); color: var(--dark); }
.series-tab.active { background: var(--dark); color: #fff; }
.series-panel { display: none; }
.series-panel.active { display: block; animation: fadeUp .45s ease both; }
.series-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------- 形态四：热销爆款（榜单式） ---------- */
.best-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; align-items: start; }
.best-hero { overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 14px; transition: transform .3s ease, box-shadow .3s ease; }
.best-hero:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.10); }
.best-hero-media { position: relative; display: block; overflow: hidden; }
.best-hero-media img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; transition: transform .45s ease; }
.best-hero:hover .best-hero-media img { transform: scale(1.05); }
.best-rank { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #fff; font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; box-shadow: 0 6px 16px rgba(178,158,125,.45); }
.best-hero-body { padding: 18px 20px 22px; }
.best-hero-body h3 { margin-bottom: 6px; font-size: 17px; font-weight: 700; }
.best-hero-body h3 a:hover { color: var(--gold); }
.best-price { margin: 6px 0 14px; font-size: 17px; font-weight: 700; }
.best-price del { margin-right: 6px; color: var(--muted); font-size: 13px; font-weight: 400; }
.best-list { display: flex; flex-direction: column; gap: 12px; }
.best-row { display: flex; align-items: center; gap: 14px; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.best-row:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.09); border-color: transparent; }
.best-row-rank { flex: 0 0 30px; text-align: center; color: #c9c9c9; font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 700; }
.best-row:hover .best-row-rank { color: var(--gold); }
.best-row-thumb { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--light-bg); }
.best-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.best-row-body { min-width: 0; }
.best-row-body h4 { margin-bottom: 3px; font-size: 14px; font-weight: 700; }
.best-row-body h4 a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.best-row-body h4 a:hover { color: var(--gold); }
.best-row-price { font-size: 14px; font-weight: 700; }
.best-row-price del { margin-right: 6px; color: var(--muted); font-size: 12px; font-weight: 400; }

/* ---------- Hero 动效：Ken Burns + 文案逐行入场 ---------- */
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes fadeUp { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes heroIn { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
.hero .slide.active { animation: heroZoom 9s ease-out both; }
.hero .slide.active .slide-card > * { animation: heroIn .7s ease both; }
.hero .slide.active .slide-card > *:nth-child(1) { animation-delay: .12s; }
.hero .slide.active .slide-card > *:nth-child(2) { animation-delay: .24s; }
.hero .slide.active .slide-card > *:nth-child(3) { animation-delay: .36s; }
.hero .slide.active .slide-card > *:nth-child(4) { animation-delay: .48s; }

/* ---------- 首页新增板块的响应式断点 ---------- */
@media (max-width: 1100px) {
    .combo-grid { grid-template-columns: repeat(2, 1fr); }
    .series-wrap { grid-template-columns: 180px 1fr; }
    .series-grid { grid-template-columns: repeat(3, 1fr); }
    .best-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .combo-grid { grid-template-columns: 1fr; gap: 16px; }
    .combo-card { flex-direction: column; }
    .combo-media { flex: 0 0 auto; aspect-ratio: 16/10; }
    .combo-body { padding: 16px 16px 18px; }
    .series-wrap { grid-template-columns: 1fr; gap: 16px; }
    .series-tabs { flex-direction: row; gap: 8px; overflow-x: auto; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--border); }
    .series-tab { white-space: nowrap; padding: 9px 14px; }
    .series-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .best-row { gap: 10px; padding: 10px; }
    .best-row-thumb { flex: 0 0 64px; width: 64px; height: 64px; }
    .best-row-rank { flex: 0 0 22px; font-size: 15px; }
    .car-dots { margin-top: 16px; }
}

/* ---------- 降低动态效果偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
    .js-anim .reveal { opacity: 1; translate: none; transition: none; }
    .hero .slide.active { animation: none; }
    .hero .slide.active .slide-card > * { animation: none; }
    .series-panel.active { animation: none; }
    .combo-card, .best-hero, .best-row, .product-card { transition: none; }
    .combo-media img, .best-hero-media img, .product-img img { transition: none; }
}

/* ---------- 「关于我们」板块（首页） ---------- */
.about-band { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.about-kicker { margin-bottom: 10px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.about-copy h2 { margin-bottom: 18px; font-size: 30px; line-height: 1.35; }
.about-copy p { margin-bottom: 14px; color: var(--muted); font-size: 14.5px; line-height: 1.95; }
.about-stats { display: flex; flex-wrap: wrap; gap: 30px; margin: 24px 0 6px; }
.about-stat strong { display: block; color: var(--dark); font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 700; line-height: 1; }
.about-stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.about-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 12px 28px; border-radius: 30px; background: var(--dark); color: #fff; font-size: 14px; font-weight: 700; transition: background .25s; }
.about-cta svg { width: 15px; height: 15px; stroke: currentColor; transition: transform .25s; }
.about-cta:hover { background: var(--gold); }
.about-cta:hover svg { transform: translateX(4px); }
.about-media { border-radius: 14px; overflow: hidden; box-shadow: 0 20px 44px rgba(0,0,0,.12); }
.about-media img { display: block; width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
@media (max-width: 900px) {
    .about-band { grid-template-columns: 1fr; gap: 26px; }
    .about-media { order: -1; }
    .about-copy h2 { font-size: 24px; }
    .about-stats { gap: 22px; }
    .about-stat strong { font-size: 25px; }
}

/* ---------- 「关于我们」页面（about.html） ---------- */
/* 发展历程：竖向时间轴 */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.tl-item { position: relative; padding: 0 0 30px 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: 4px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(178,158,125,.16); }
.tl-item::after { content: ''; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: var(--border); }
.tl-item:last-child::after { display: none; }
.tl-year { font-family: 'Poppins', sans-serif; font-size: 19px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.tl-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.tl-body p { color: var(--muted); font-size: 13.5px; line-height: 1.85; }

/* 资质与产能卡片 */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cap-card { border: 1px solid var(--border); border-radius: 12px; padding: 26px 24px; background: #fff; transition: border-color .25s, transform .25s; }
.cap-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.cap-num { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 700; line-height: 1; color: var(--dark); margin-bottom: 12px; }
.cap-num small { font-size: 14px; font-weight: 700; color: var(--gold); margin-left: 2px; }
.cap-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.cap-card p { color: var(--muted); font-size: 13px; line-height: 1.8; }

/* 为什么选择我们 */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 30px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-icon { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--light-bg); display: flex; align-items: center; justify-content: center; }
.why-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: 13px; line-height: 1.8; }

/* 询价 CTA 卡片 */
.about-cta-card { text-align: center; background: var(--light-bg); border-radius: 14px; padding: 46px 30px; }
.about-cta-card h2 { font-size: 26px; margin-bottom: 12px; }
.about-cta-card p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.about-cta-card .btn-dark { display: inline-block; padding: 13px 34px; border-radius: 30px; font-weight: 700; }

@media (max-width: 1100px) {
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .cap-grid, .why-grid { grid-template-columns: 1fr; }
    .about-cta-card { padding: 34px 20px; }
}
