/* ===== Rubeatech 企业官网 基础样式 (响应式, 语义化, 轻量) ===== */
:root {
    --brand: #d6336c;
    --brand-dark: #b02a5e;
    --ink: #1c2430;
    --muted: #5b6776;
    --line: #e6e9ee;
    --bg: #ffffff;
    --bg-alt: #f6f8fa;
    --radius: 12px;
    --maxw: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: 64px; display: block; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.btn {
    display: inline-block; padding: 11px 22px; border: 1px solid var(--brand);
    border-radius: 999px; color: var(--brand); background: transparent; font-weight: 600;
    cursor: pointer; transition: .15s;
}
.btn:hover { text-decoration: none; background: var(--bg-alt); }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }

/* Header / Nav */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-topbar { background: var(--brand); color: #fff; text-align: center; padding: 8px 16px; font-size: 14px; font-weight: 500; letter-spacing: .3px; }
.site-topbar span { display: inline-block; }
.nav-wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; font-weight: 800; font-size: 22px; color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand-name { color: var(--brand); }
.site-nav { display: flex; gap: 28px; margin-left: 8px; }
.site-nav a { color: var(--ink); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; position: relative; }
.site-nav a.has-caret::after { content: "▾"; margin-left: 4px; font-size: 11px; opacity: .7; }
.site-nav a.active, .site-nav a:hover { color: var(--brand); text-decoration: none; }
.site-search { margin-left: auto; display: flex; }
.site-search input { border: 1px solid var(--line); border-right: none; border-radius: 999px 0 0 999px; padding: 8px 14px; width: 220px; }
.site-search button { border: 1px solid var(--brand); background: var(--brand); color: #fff; border-radius: 0 999px 999px 0; padding: 0 16px; cursor: pointer; }
.nav-toggle { display: none; }
.nav-burger { display: none; }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 700px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
}
.hero-video, .hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1520px;
    height: 700px;
    object-fit: cover;
    z-index: 0;
}
.hero-video { transform: translate(-50%, -50%); }
.hero-bg { background: center center / cover no-repeat; }
.hero-overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 1520px; height: 700px;
    background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45));
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero h1 { font-size: clamp(28px, 4vw, 48px); margin: 0 0 14px; color: #fff; font-weight: 800; }
.hero .lead { font-size: 18px; max-width: 100%; opacity: 1; color: #fff; }
.hero-cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.hero .btn { border-color: #fff; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h1, .section-head h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); }
.lead { color: var(--muted); }
.more { font-weight: 600; white-space: nowrap; }

.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefits-grid article, .cat-card, .article-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.benefits-grid h3 { margin-top: 0; color: var(--brand); }

/* 3-column benefits with icons */
.benefits-3col {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 48px 0;
}
.benefit-item {
    background: var(--bg-alt);
    border: none !important;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
}
.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.benefit-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--brand);
    stroke-width: 1.5;
}
.benefit-item h3 {
    margin: 0 0 14px !important;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink) !important;
    line-height: 1.4;
}
.benefit-item p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* Why-choose-us: center image with four corner text blocks */
.why-us { padding: 80px 0 72px; background: #fff; }
.why-us-title { margin: 0 0 12px; font-size: 32px; font-weight: 700; color: var(--ink); text-align: center; }
.why-us-sub { max-width: 860px; margin: 0 auto 56px; font-size: 15px; color: var(--muted); line-height: 1.8; text-align: center; }
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px 48px;
    align-items: center;
}
.why-us-item { max-width: 340px; }
.why-us-item h3 { margin: 0 0 14px; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.why-us-item p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.why-us-tl { grid-column: 1; grid-row: 1; text-align: right; justify-self: end; }
.why-us-tr { grid-column: 3; grid-row: 1; text-align: left; justify-self: start; }
.why-us-bl { grid-column: 1; grid-row: 2; text-align: right; justify-self: end; }
.why-us-br { grid-column: 3; grid-row: 2; text-align: left; justify-self: start; }
.why-us-media { grid-column: 2; grid-row: 1 / span 2; text-align: center; }
.why-us-media img { max-width: 100%; width: 340px; height: auto; border-radius: 16px; display: inline-block; }
.why-us-foot { max-width: 820px; margin: 56px auto 0; font-size: 13.5px; color: var(--muted); line-height: 1.9; text-align: center; }
.why-us-cta { margin-top: 32px; text-align: center; }
.btn-outline {
    display: inline-block; padding: 12px 30px; border: 1.5px solid var(--ink); border-radius: 6px;
    font-size: 12px; font-weight: 600; letter-spacing: 1.6px; color: var(--ink); text-transform: uppercase;
    text-decoration: none; background: transparent; transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-thumb { display: block; background: var(--bg-alt); aspect-ratio: 1/1; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .ph { background: var(--bg-alt); aspect-ratio: 1/1; }
.product-card h3 { font-size: 16px; margin: 14px 14px 6px; }
.product-card h3 a { color: var(--ink); }
.product-desc { margin: 0 14px 10px; color: var(--muted); font-size: 14px; }
.product-meta { margin: 0 14px 10px; }
.badge { display: inline-block; background: #fce8f1; color: var(--brand); border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.product-card .btn, .product-card .btn-primary { margin: 0 14px 16px; text-align: center; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { display: block; color: var(--ink); transition: .15s; }
.cat-card:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-2px); }
.cat-card h3 { margin: 0 0 8px; color: var(--brand); }
.cat-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Articles */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card img { width: 100%; border-radius: 8px; margin-bottom: 12px; aspect-ratio: 16/9; object-fit: cover; }
.article-card h3 { margin: 0 0 8px; font-size: 18px; }
.article-card h3 a { color: var(--ink); }
.article-card .meta { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.article-card p { color: var(--muted); font-size: 14px; }

/* Breadcrumb */
.breadcrumb { max-width: var(--maxw); margin: 0 auto; padding: 14px 20px 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--line); }
.breadcrumb a { color: var(--muted); }

/* Filter chips */
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter-chips a { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; color: var(--ink); font-size: 14px; }
.filter-chips a.active, .filter-chips a:hover { background: var(--brand); color: #fff; border-color: var(--brand); text-decoration: none; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-gallery img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.product-gallery .ph.large { aspect-ratio: 1/1; background: var(--bg-alt); border-radius: var(--radius); }
.product-info h1 { margin-top: 0; }
.sku { color: var(--muted); font-size: 13px; }
.product-info .lead { font-size: 17px; }
.spec { margin: 6px 0; }
.spec span { font-weight: 600; }
.product-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.product-content { max-width: 820px; }

/* Prose */
.prose { max-width: 820px; }
.prose.center { text-align: center; max-width: 640px; margin: 0 auto; }
.prose img { border-radius: 8px; margin: 18px 0; }
.prose h2 { margin-top: 30px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-form .field { margin-bottom: 14px; display: flex; flex-direction: column; }
.contact-form label { font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.contact-form input, .contact-form textarea { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.alert-success { background: #fce8f1; color: var(--brand-dark); }
.alert-error { background: #fdeaea; color: #b23b3b; }

/* Pager */
.pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.pager a, .pager .current, .pager .gap { border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; color: var(--ink); }
.pager .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager a:hover { text-decoration: none; border-color: var(--brand); }

/* Footer (rose gradient) */
.site-footer {
    background: linear-gradient(180deg, #f8cfdf 0%, #fadde9 45%, #fdf0f5 100%);
    color: #8d5f6e;
    margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 2.2fr 1.1fr 1fr 1.1fr 1.5fr; gap: 32px; padding: 56px 20px 36px; }
.footer-brand h3 {
    margin: 0 0 14px; font-size: 26px; font-weight: 800; letter-spacing: .5px;
    background: linear-gradient(90deg, #e75a8c, #c2185b);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-tagline { color: #4a2c38; font-weight: 700; margin: 0 0 12px; }
.footer-col p { line-height: 1.7; margin: 0 0 10px; font-size: 14px; }
.footer-col h4 { color: #3f2630; margin: 6px 0 16px; font-size: 15px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { color: #8d5f6e; }
.footer-col a:hover { color: #d6336c; }
.footer-contact-line { margin: 0 0 10px; font-size: 14px; line-height: 1.7; }
.footer-contact-line strong { color: #4a2c38; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.85); color: #d6336c; box-shadow: 0 2px 8px rgba(214,51,108,.18); transition: .2s;
}
.footer-social a:hover { background: linear-gradient(135deg, #e75a8c, #c2185b); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; display: block; }
.footer-bottom-bar { background: rgba(255,255,255,.55); border-top: 1px solid rgba(214,51,108,.14); }
.footer-bottom { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #9b6a7a; max-width: var(--maxw); margin: 0 auto; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #9b6a7a; }
.footer-links a:hover { color: #d6336c; }

/* Certifications carousel (full-width) */
.certs-section { padding: 72px 0 64px; }
.certs-intro {
    max-width: 1000px; margin: 0 auto 56px; padding: 0 40px; text-align: center;
    color: var(--ink); font-size: 19px; font-weight: 300; line-height: 2; letter-spacing: .3px;
}
.certs-carousel { display: flex; align-items: center; gap: 24px; padding: 0 48px; }
.certs-viewport { overflow: hidden; flex: 1; }
.certs-track { display: flex; gap: 64px; transition: transform .35s ease; will-change: transform; }
.cert-item { flex: 0 0 calc((100% - 64px * 5) / 6); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.cert-item img { height: 84px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(100%); opacity: .8; transition: .25s; }
.cert-item:hover img { filter: none; opacity: 1; transform: translateY(-2px); }
.cert-name {
    font-size: 15px; font-weight: 500; color: var(--ink); text-align: center;
    letter-spacing: 1.2px; text-transform: uppercase;
}
.certs-arrow {
    flex: 0 0 auto; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%;
    background: #fff; color: var(--muted); font-size: 30px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: .15s; padding: 0 0 4px;
}
.certs-arrow:hover { border-color: var(--brand); color: var(--brand); box-shadow: 0 4px 14px rgba(214,51,108,.15); }
.certs-arrow:disabled { opacity: .3; cursor: default; box-shadow: none; }
.certs-dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.certs-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: #d4dae1; cursor: pointer; padding: 0; transition: .2s; }
.certs-dots button.active { background: var(--brand); transform: scale(1.25); }
@media (max-width: 980px) {
    .certs-intro { font-size: 17px; margin-bottom: 44px; }
    .cert-item { flex-basis: calc((100% - 64px * 2) / 3); }
    .certs-carousel { padding: 0 24px; }
}
@media (max-width: 640px) {
    .certs-section { padding: 48px 0 40px; }
    .certs-intro { font-size: 15px; padding: 0 20px; }
    .cert-item { flex-basis: calc((100% - 64px) / 2); }
    .cert-item img { height: 64px; }
    .certs-carousel { padding: 0 12px; gap: 12px; }
    .certs-arrow { width: 42px; height: 42px; font-size: 24px; }
}

/* Responsive */
@media (max-width: 980px) {
    .product-grid, .benefits-grid, .article-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-3col { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .product-detail, .contact-layout { grid-template-columns: 1fr; }
    .why-us-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 32px 24px; }
    .why-us-media { grid-column: 1 / -1; grid-row: 1; }
    .why-us-tl { grid-column: 1; grid-row: 2; text-align: left; justify-self: stretch; }
    .why-us-tr { grid-column: 2; grid-row: 2; text-align: left; justify-self: stretch; }
    .why-us-bl { grid-column: 1; grid-row: 3; text-align: left; justify-self: stretch; }
    .why-us-br { grid-column: 2; grid-row: 3; text-align: left; justify-self: stretch; }
    .why-us-item { max-width: none; }
}
@media (max-width: 640px) {
    .nav-burger { display: inline-flex; flex-direction: column; gap: 4px; cursor: pointer; margin-left: auto; }
    .nav-burger span { width: 24px; height: 2px; background: var(--ink); display: block; }
    .site-nav, .site-search { display: none; }
    .nav-toggle:checked ~ .site-nav { display: flex; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 20px; border-bottom: 1px solid var(--line); }
    .nav-toggle:checked ~ .site-search { display: flex; position: absolute; top: 160px; left: 0; right: 0; padding: 0 20px 12px; }
    .product-grid, .benefits-grid, .benefits-3col, .article-grid, .cat-grid, .footer-grid { grid-template-columns: 1fr; }
    .benefit-item { padding: 32px 24px; }
    .why-us-grid { grid-template-columns: 1fr; }
    .why-us-tl, .why-us-tr, .why-us-bl, .why-us-br { grid-column: 1; grid-row: auto; text-align: center; }
    .why-us-title { font-size: 24px; }
}

/* ===== 产品合并页（分类分组） ===== */
.products-hero { padding: 72px 0 40px; background: var(--bg-alt); text-align: center; }
.products-hero h1 { margin: 0 0 16px; font-size: 34px; font-weight: 700; }
.products-hero .lead { max-width: 820px; margin: 0 auto; font-size: 16px; line-height: 1.8; }
.products-anchors { justify-content: center; padding: 28px 20px 0; margin-bottom: 8px; }
.products-grouped { padding-top: 24px; }
.product-group { padding: 40px 0; border-bottom: 1px solid var(--line); }
.product-group:last-of-type { border-bottom: none; }
.product-group-head { margin-bottom: 28px; }
.product-group-head h2 { margin: 0 0 10px; font-size: 26px; font-weight: 700; position: relative; padding-left: 16px; }
.product-group-head h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 2px; background: var(--brand); }
.product-group-head p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 760px; padding-left: 16px; }
.products-cta { margin-top: 56px; padding: 48px 32px; text-align: center; background: var(--bg-alt); border-radius: 16px; }
.products-cta h3 { margin: 0 0 10px; font-size: 22px; }
.products-cta p { margin: 0 0 24px; color: var(--muted); }

/* ===== 认证展示页 ===== */
.cert-page-hero { padding: 80px 0 56px; background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%); text-align: center; }
.cert-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 2.4px; color: var(--brand); }
.cert-page-hero h1 { margin: 0 auto 20px; max-width: 900px; font-size: 36px; font-weight: 700; }
.cert-page-hero .lead { max-width: 840px; margin: 0 auto 14px; font-size: 16px; line-height: 1.9; }
.cert-page-grid-section { padding-top: 24px; }
.cert-page-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert-page-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 24px; text-align: center; transition: box-shadow .25s, transform .25s; }
.cert-page-card:hover { box-shadow: 0 12px 32px rgba(214,51,108,.10); transform: translateY(-4px); }
.cert-page-logo { height: 110px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cert-page-logo img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.cert-page-card h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.cert-page-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
.cert-page-cta { padding: 72px 0; background: var(--ink); text-align: center; color: #fff; }
.cert-page-cta h2 { margin: 0 0 14px; color: #fff; font-size: 28px; }
.cert-page-cta p { margin: 0 auto 28px; max-width: 680px; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.8; }
.cert-page-cta .btn-primary { border-color: var(--brand); }
@media (max-width: 980px) {
    .cert-page-grid { grid-template-columns: repeat(2, 1fr); }
    .products-hero h1 { font-size: 28px; }
    .cert-page-hero h1 { font-size: 28px; }
}
@media (max-width: 640px) {
    .cert-page-grid { grid-template-columns: 1fr; }
    .products-hero { padding: 48px 0 32px; }
    .product-group { padding: 28px 0; }
    .product-group-head h2 { font-size: 22px; }
    .cert-page-hero { padding: 56px 0 40px; }
    .cert-page-hero h1 { font-size: 24px; }
}

/* ===== 认证详情页 ===== */
.cert-detail-hero { padding: 64px 0 48px; background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.cert-detail-head { display: flex; align-items: center; gap: 40px; }
.cert-detail-logo { flex: 0 0 200px; width: 200px; height: 150px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.cert-detail-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-detail-heading { flex: 1; min-width: 0; }
.cert-detail-heading h1 { margin: 0 0 12px; font-size: 34px; font-weight: 700; }
.cert-detail-heading .lead { margin: 0; font-size: 17px; color: var(--muted); line-height: 1.7; }
.cert-detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.cert-detail-body { font-size: 15px; line-height: 1.9; color: #33404f; }
.cert-detail-body h2, .cert-detail-body h3 { margin: 28px 0 12px; color: var(--ink); }
.cert-detail-body p { margin: 0 0 16px; }
.cert-detail-body ul { margin: 0 0 16px; padding-left: 22px; }
.cert-detail-body li { margin-bottom: 8px; }
.cert-detail-scans { position: sticky; top: 24px; background: var(--bg-alt); border-radius: 16px; padding: 24px; }
.cert-detail-scans h2 { margin: 0 0 6px; font-size: 18px; }
.cert-scans-note { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.cert-scan-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cert-scan-thumb { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; aspect-ratio: 3/4; }
.cert-scan-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.cert-scan-thumb:hover img { transform: scale(1.05); }
.cert-scan-pdf-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; text-align: center; }
.pdf-badge { font-weight: 700; color: #c0392b; font-size: 20px; letter-spacing: 1px; }
.cert-scan-fname { font-size: 11px; color: var(--muted); word-break: break-all; }
.cert-page-card { text-decoration: none; color: inherit; display: block; }
.cert-page-more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--brand); }
.cert-page-card:hover .cert-page-more { text-decoration: underline; }
@media (max-width: 980px) {
    .cert-detail-layout { grid-template-columns: 1fr; gap: 32px; }
    .cert-detail-scans { position: static; }
    .cert-detail-head { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 640px) {
    .cert-detail-heading h1 { font-size: 26px; }
    .cert-detail-logo { flex-basis: auto; width: 100%; height: 120px; }
    .cert-scan-gallery { grid-template-columns: 1fr 1fr; }
}

/* ===== 产品详情页 PDP ===== */
.pdp { padding: 48px 0 24px; }
.pdp-top { display: grid; grid-template-columns: 44% 1fr; gap: 40px; align-items: start; }
.pdp-main { position: relative; width: 100%; aspect-ratio: 1/1; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pdp-main > img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pdp-main .ph.large { width: 100%; height: 100%; }
.pdp-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(0,0,0,.45); color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s, background .2s; z-index: 2; }
.pdp-media:hover .pdp-arrow { opacity: 1; }
.pdp-arrow:hover { background: var(--brand); }
.pdp-arrow.prev { left: 14px; }
.pdp-arrow.next { right: 14px; }
.pdp-count { position: absolute; right: 14px; bottom: 14px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; z-index: 2; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.pdp-thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1/1; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pdp-thumb.active { border-color: var(--brand); }
.pdp-thumb:hover { border-color: var(--brand); }
.pdp-panel { background: var(--bg-alt); border-radius: 16px; padding: 44px 48px; }
.pdp-panel h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.3; font-weight: 700; }
.pdp-sku { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.pdp-intro { margin: 0 0 22px; font-size: 14px; line-height: 1.9; color: #4a5563; }
.pdp-features { margin: 0 0 26px; padding: 0; list-style: none; }
.pdp-features li { position: relative; padding: 0 0 12px 22px; font-size: 14px; line-height: 1.75; color: #33404f; }
.pdp-features li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.pdp-features strong { color: var(--ink); font-weight: 700; }
.pdp-cta-label { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; color: var(--muted); }
.pdp-quote { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600; font-size: 14px; }
.pdp-quote:hover { background: var(--brand-dark); color: #fff; }

/* ===== 询盘弹窗（产品详情页 Request a Quote） ===== */
.quote-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.quote-modal[hidden] { display: none; }
.quote-modal-mask { position: absolute; inset: 0; background: rgba(60, 10, 30, 0.55); backdrop-filter: blur(2px); }
.quote-modal-box { position: relative; width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 18px; padding: 32px 34px 28px; box-shadow: 0 24px 60px rgba(90, 20, 45, 0.35); animation: qmIn 0.25s ease; }
@keyframes qmIn { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.quote-modal-x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: none; background: transparent; font-size: 26px; line-height: 1; color: #999; cursor: pointer; border-radius: 50%; }
.quote-modal-x:hover { color: var(--brand); background: #fce8f1; }
.quote-modal-box h2 { margin: 0 0 6px; font-size: 22px; color: var(--brand-dark); }
.quote-modal-sub { margin: 0 0 18px; font-size: 13px; color: #b0577f; }
.quote-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.quote-modal-grid input { width: 100%; padding: 11px 14px; border: 1px solid #e3c9d5; border-radius: 10px; font-size: 14px; color: var(--ink, #333); background: #fff; }
.quote-modal-grid input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(214, 51, 108, 0.12); }
.quote-modal-form textarea { width: 100%; padding: 11px 14px; border: 1px solid #e3c9d5; border-radius: 10px; font-size: 14px; color: var(--ink, #333); background: #fff; resize: vertical; min-height: 96px; margin-bottom: 14px; font-family: inherit; }
.quote-modal-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(214, 51, 108, 0.12); }
.quote-modal-err { margin: 0 0 12px; padding: 9px 12px; border-radius: 8px; background: #ffebee; color: #c62828; font-size: 13px; }
.quote-modal-btn { width: 100%; padding: 13px 0; border: none; border-radius: 999px; background: linear-gradient(135deg, var(--brand), #e6689a); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.quote-modal-btn:hover { filter: brightness(0.95); }
.quote-modal-btn:disabled { opacity: 0.65; cursor: default; }
.quote-modal-tip { margin: 12px 0 0; font-size: 12px; color: #a98; text-align: center; }
.quote-modal-ok { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px 10px 10px; }
.quote-modal-ok[hidden] { display: none; }
.quote-modal-ok-ico { display: block; flex-shrink: 0; width: 72px; height: 72px; margin: 0 0 16px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #e6689a); color: #fff; font-size: 34px; line-height: 72px; }
.quote-modal-ok h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: var(--ink, #222); }
.quote-modal-ok p { margin: 0 0 20px; color: #666; font-size: 14px; line-height: 1.6; }
.quote-modal-ok-close { padding: 11px 42px; border: none; border-radius: 999px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.quote-modal-ok-close:hover { background: var(--brand-dark); }
@media (max-width: 560px) { .quote-modal-grid { grid-template-columns: 1fr; } .quote-modal-box { padding: 26px 20px 22px; } }
.pdp-desc-section { padding: 24px 0 72px; }
.pdp-tabs { border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.pdp-tab { display: inline-block; padding: 12px 26px; border: 1px solid var(--line); border-bottom: none; border-radius: 8px 8px 0 0; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); position: relative; top: 1px; }
.pdp-desc { font-size: 15px; line-height: 1.9; }
.pdp-desc h2, .pdp-desc h3 { margin: 26px 0 12px; }
.pdp-desc p { margin: 0 0 16px; }
.pdp-desc img { width: 100%; max-width: 100%; height: auto; display: block; border-radius: 12px; }

/* 列表卡片：多图 hover 切换 */
.product-thumb { position: relative; }
.product-thumb img.card-img-hover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.product-card:hover .product-thumb img.card-img-hover { opacity: 1; }
.card-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 5px; z-index: 2; }
.card-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.7); box-shadow: 0 0 2px rgba(0,0,0,.3); }
@media (max-width: 980px) {
    .pdp-top { grid-template-columns: 1fr; gap: 28px; }
    .pdp-panel { padding: 32px 26px; }
    .pdp-arrow { opacity: 1; }
}
@media (max-width: 640px) {
    .pdp { padding: 28px 0 12px; }
    .pdp-panel h1 { font-size: 24px; }
    .pdp-thumbs { gap: 8px; }
    .pdp-arrow { width: 38px; height: 38px; }
}

/* ===== PDP 多信息标签页 ===== */
button.pdp-tab { font-family: inherit; cursor: pointer; margin-right: 6px; }
.pdp-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.pdp-panel-tab { display: none; }
.pdp-panel-tab.active { display: block; }
.pdp-desc table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; }
.pdp-desc table th, .pdp-desc table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.pdp-desc table th { background: var(--bg-alt); font-weight: 600; width: 32%; }
.pdp-desc ul, .pdp-desc ol { margin: 0 0 16px; padding-left: 22px; }
.pdp-desc li { margin-bottom: 6px; line-height: 1.8; }
.pdp-desc h2, .pdp-desc h3 { scroll-margin-top: 90px; }

/* ===== Contact 页面 (OEM/ODM 询盘) ===== */
.contact-hero {
    padding: 56px 0 44px; text-align: center;
    background: linear-gradient(180deg, #fdeef5 0%, #fef7fa 70%, #fff 100%);
    border-bottom: 1px solid #f6dce8;
}
.contact-hero h1 { margin: 0 0 10px; font-size: 34px; font-weight: 800; }
.contact-crumbs { font-size: 13px; color: var(--muted); }
.contact-crumbs a { color: var(--brand); font-weight: 600; }
.contact-crumbs span { margin: 0 4px; color: #d48aa8; }
.contact-hero-text { max-width: 640px; margin: 18px auto 0; font-size: 13.5px; line-height: 1.9; color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 40px; }
.contact-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    border: 1px solid #f3c6d8; border-radius: 12px; padding: 26px 18px; background: #fff;
    color: var(--ink); font-size: 14px; text-align: center; transition: .2s;
}
.contact-card svg { width: 30px; height: 30px; color: var(--ink); transition: .2s; }
.contact-card:hover { border-color: var(--brand); box-shadow: 0 8px 20px rgba(214,51,108,.10); transform: translateY(-2px); text-decoration: none; }
.contact-card:hover svg { color: var(--brand); }
.contact-card-label { word-break: break-all; }
.contact-quote-section { padding-top: 40px; }
.quote-title { margin: 0 0 10px; font-size: 22px; font-weight: 700; }
.quote-creds { margin: 0 0 14px; font-size: 14px; color: var(--ink); }
.quote-note { margin: 0 0 22px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.quote-form .field { margin-bottom: 0; }
.quote-form .field-full { grid-column: 1 / -1; margin-top: 2px; }
.quote-form label { color: var(--brand); font-weight: 600; }
.quote-btn { margin-top: 22px; border-radius: 999px; padding: 12px 30px; }
.visit-us { text-align: center; padding: 64px 0 72px; }
.visit-us h2 { margin: 0 0 30px; font-size: 28px; font-weight: 800; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; text-align: left; max-width: 980px; margin: 0 auto; }
.visit-item h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.visit-item p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
@media (max-width: 760px) {
    .contact-cards { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .visit-grid { grid-template-columns: 1fr; }
    .contact-hero h1 { font-size: 28px; }
}
