/* ============================================
   Xinhao Packaging — Minimalist Fashion Style
   ============================================ */

:root {
    --gold: #b8975a;
    --gold-light: #d4bc8a;
    --dark: #1a1a1a;
    --dark-soft: #3a3a3a;
    --cream: #faf8f4;
    --white: #ffffff;
    --gray: #888;
    --gray-light: #ece8e1;
    --shadow: 0 2px 16px rgba(0,0,0,.05);
    --shadow-hover: 0 8px 30px rgba(0,0,0,.1);
    --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    font-size: 15px;
    font-weight: 300;
    overflow-x: hidden;
    letter-spacing: .2px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .3s ease;
    text-align: center;
    font-weight: 400;
}
.btn-gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(200,170,110,.3);
}
.btn-gold:hover { 
    background: #b8975a; 
    border-color: #b8975a; 
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200,170,110,.4);
}
.btn-outline {
    background: rgba(255,255,255,.1);
    color: var(--white);
    border-color: rgba(255,255,255,.7);
    backdrop-filter: blur(5px);
}
.btn-outline:hover { 
    background: var(--white); 
    color: var(--dark); 
    border-color: var(--white); 
    transform: translateY(-2px);
}
.btn-outline.btn-sm {
    color: var(--dark);
    border-color: var(--gray-light);
    padding: 8px 20px;
    font-size: 12px;
}
.btn-outline.btn-sm:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-lg { padding: 15px 40px; font-size: 14px; }

/* ===== Top bar ===== */
.topbar {
    background: var(--dark);
    color: #999;
    font-size: 11px;
    letter-spacing: .5px;
    padding: 7px 0;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-label { color: #777; margin-right: 4px; }
.lang-opt {
    color: #999;
    padding: 3px 9px;
    border-radius: 2px;
    transition: all .2s;
    font-size: 11px;
}
.lang-opt:hover { color: var(--white); }
.lang-opt.active { background: var(--gold); color: var(--white); }

/* ===== Header ===== */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
    height: 72px;
    width: auto;
    display: block;
}
.footer-logo .logo-img {
    height: 56px;
    background: var(--white);
    padding: 6px 10px;
    border-radius: var(--radius);
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--dark-soft);
    transition: color .2s;
}
.nav-link:hover { color: var(--gold); }
.nav-cta { padding: 10px 24px; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    width: 24px; height: 1.5px;
    background: var(--dark);
    transition: all .3s;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    background: linear-gradient(rgba(20,20,20,.55), rgba(20,20,20,.65)), url('../images/box2.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(20,20,20,.5), rgba(20,20,20,.65));
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; }

/* Hero 轮播 */
.hero-slides { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .8s ease;
    display: flex; align-items: center;
    min-height: 500px;
}
.hero-slide.active { opacity: 1; }
.hero-slide .hero-inner { 
    position: relative; 
    z-index: 2; 
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    max-width: 650px;
}
.hero-dots {
    position: absolute; bottom: 24px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 3;
}
.hero-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer; transition: all .3s;
}
.hero-dot.active { background: var(--gold-light); width: 24px; border-radius: 4px; }

/* 手机端不加载视频，用静态图，大幅提速 */
@media (max-width: 768px) {
    .hero-video { display: none; }
    .hero {
        background: linear-gradient(rgba(20,20,20,.55), rgba(20,20,20,.65)), url('../images/box2.jpg') center/cover no-repeat;
        padding: 100px 0 80px;
        min-height: 380px !important;
        display: flex;
        align-items: center;
    }
    .hero-slides, .hero-slide { min-height: 380px !important; }
    .hero-dots { bottom: 16px; }
}
.hero-tag {
    display: inline-block;
    color: #d4af37;
    font-size: 12px;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 30px;
    padding: 8px 24px;
    border: 1px solid rgba(212,175,55,.5);
    border-radius: 2px;
    background: rgba(0,0,0,.3);
    backdrop-filter: blur(8px);
    font-weight: 500;
}
.hero-title {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 400;
    font-family: Georgia, 'Times New Roman', serif;
    margin-bottom: 28px;
    letter-spacing: 3px;
    text-shadow: 0 4px 30px rgba(0,0,0,.5);
    color: #fff;
}
.hero-sub {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255,255,255,.9);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.9;
    text-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.hero-btns { 
    display: flex; 
    gap: 16px; 
    justify-content: flex-start; 
    flex-wrap: wrap; 
    margin-top: 10px;
}

/* 轮播图文字入场动画 */
.hero-slide.active .hero-tag { animation: fadeInDown 0.8s ease forwards; }
.hero-slide.active .hero-title { animation: fadeInUp 0.8s ease 0.2s forwards; opacity: 0; }
.hero-slide.active .hero-sub { animation: fadeInUp 0.8s ease 0.4s forwards; opacity: 0; }
.hero-slide.active .hero-btns { animation: fadeInUp 0.8s ease 0.6s forwards; opacity: 0; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Features ===== */
.features { background: var(--white); padding: 80px 0; border-bottom: 1px solid var(--gray-light); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.feature-item { text-align: center; padding: 10px; }
.feature-icon {
    width: 50px; height: 50px;
    margin: 0 auto 18px;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.feature-item h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.feature-item p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--cream); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
    font-size: 32px;
    font-weight: 300;
    font-family: Georgia, serif;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.section-head p { color: var(--gray); font-size: 14px; font-weight: 300; }

/* ===== Categories ===== */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cat-card {
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex; align-items: flex-end;
    color: var(--white);
    transition: all .4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.cat-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}
.cat-card:hover::after {
    opacity: 1;
}
.cat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(200,170,110,.2);
    opacity: 0;
    transition: opacity .4s ease;
    z-index: 1;
}
.cat-card-inner {
    padding: 28px;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
    position: relative;
    z-index: 2;
}
.cat-card h3 { 
    font-size: 22px; 
    font-weight: 600; 
    font-family: Georgia, serif; 
    margin-bottom: 6px; 
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.cat-link { 
    color: var(--gold-light); 
    font-size: 13px; 
    letter-spacing: 1px;
    font-weight: 500;
}
.cat-jewelry { background: url('../images/box2.jpg') center/cover; transition: transform .6s ease; }
.cat-jewelry_paper { background: url('../images/jewelry_paper.jpg') center/cover; transition: transform .6s ease; }
.cat-jewelry_pu { background: url('../images/jewelry_pu.jpg') center/cover; transition: transform .6s ease; }
.cat-jewelry_velvet { background: url('../images/jewelry_velvet.jpg') center/cover; transition: transform .6s ease; }
.cat-jewelry_wood { background: url('../images/jewelry_wood.jpg') center/cover; transition: transform .6s ease; }
.cat-gift { background: url('../images/box4.jpg') center/cover; transition: transform .6s ease; }
.cat-handmade { background: url('../images/box5.jpg') center/cover; transition: transform .6s ease; }
.cat-watch { background: url('../images/box7.jpg') center/cover; transition: transform .6s ease; }
.cat-wine { background: url('../images/box9.jpg') center/cover; transition: transform .6s ease; }
.cat-cosmetic { background: url('../images/box10.jpg') center/cover; transition: transform .6s ease; }
.cat-folding { background: url('../images/box1.jpg') center/cover; transition: transform .6s ease; }
.cat-3c { background: url('../images/cat-3c.jpg') center/cover; transition: transform .6s ease; }
.cat-beauty { background: url('../images/cat-beauty.jpg') center/cover; transition: transform .6s ease; }

.cat-card:hover {
    background-size: cover;
}
.cat-card:hover[class*="cat-"] {
    /* 图片放大效果 */
}

/* ===== Product grid ===== */
.prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.prod-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.prod-img {
    background: var(--cream);
    overflow: hidden;
    aspect-ratio: 1/1;
}
.prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-body { padding: 18px 6px; text-align: center; }
.prod-cat {
    font-size: 10px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.prod-body h3 {
    font-size: 14px;
    font-weight: 500;
    margin: 8px 0;
    letter-spacing: .5px;
}
.prod-price { color: var(--gray); font-size: 13px; margin-bottom: 14px; }

/* ===== CTA banner ===== */
.cta-banner {
    background: linear-gradient(135deg, #2c2418 0%, #1a1610 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.cta-inner h2 { font-size: 36px; font-weight: 400; font-family: Georgia, serif; margin-bottom: 16px; letter-spacing: 2px; }
.cta-inner p { margin-bottom: 32px; color: rgba(255,255,255,.7); font-weight: 300; font-size: 16px; }

/* ===== Page hero ===== */
.page-hero {
    background: linear-gradient(135deg, #f8f5f0 0%, #efe9e0 100%);
    color: var(--text-dark);
    padding: 50px 0;
    text-align: center;
}
.page-hero h1 { font-size: 36px; font-weight: 400; font-family: Georgia, serif; letter-spacing: 2px; color: var(--text-dark); }
.page-hero p { color: rgba(0,0,0,.6); margin-top: 10px; font-weight: 300; }

/* ===== Filter chips ===== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 48px;
}
.filter-chip {
    padding: 8px 22px;
    border: 1px solid var(--gray-light);
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--gray);
    transition: all .2s;
}
.filter-chip:hover, .filter-chip.active {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* ===== Product detail ===== */
.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.pd-main-img {
    aspect-ratio: 1/1;
    background: var(--cream);
    border-radius: var(--radius);
    overflow: hidden;
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb {
    width: 72px; height: 72px;
    background: var(--cream);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    opacity: .7;
    transition: all .2s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active { border-color: var(--gold); opacity: 1; }
.pd-info h1 {
    font-size: 28px;
    font-weight: 400;
    font-family: Georgia, serif;
    margin: 10px 0 20px;
    letter-spacing: 1px;
}
.pd-price-row { display: flex; gap: 10px; margin-bottom: 8px; font-size: 15px; }
.pd-price-label { color: var(--gray); }
.pd-price { color: var(--gold); font-weight: 500; }
.pd-moq { font-weight: 500; }
.pd-h3 {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 30px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-light);
}
.pd-specs { list-style: none; }
.pd-specs li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 14px;
    color: var(--dark-soft);
}
.pd-desc { margin-bottom: 50px; }
.pd-desc p { color: var(--gray); line-height: 1.9; }

/* ===== Forms ===== */
.inq-form { margin-top: 20px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.inq-form input, .inq-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    font-weight: 300;
    background: var(--white);
    transition: border-color .2s;
}
.inq-form input:focus, .inq-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.inq-form textarea { margin-bottom: 16px; resize: vertical; }

.alert-success {
    background: #f0f7f1;
    color: #4a7c59;
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    border-left: 3px solid #4a7c59;
    font-size: 14px;
}

/* ===== About ===== */
.about-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}
.about-text p { margin-bottom: 18px; color: var(--gray); line-height: 1.9; }
.about-img {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item {
    background: var(--cream);
    padding: 32px 10px;
    border-radius: var(--radius);
}
.stat-item h3 { font-size: 16px; font-weight: 400; font-family: Georgia, serif; letter-spacing: 1px; color: var(--dark-soft); }

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}
.info-block { margin-bottom: 28px; }
.info-block h4 { color: var(--gold); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; font-weight: 500; }
.info-block p { color: var(--dark-soft); }

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: #888;
    padding-top: 70px;
    margin-top: 60px;
    font-weight: 300;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 50px;
}
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.footer-col a {
    display: block;
    color: #999;
    font-size: 13px;
    padding: 6px 0;
    transition: color .2s;
}
.footer-col a:hover { color: #d4af37; }
.foot-about { font-size: 13px; margin-top: 16px; max-width: 320px; line-height: 1.8; color: #999; }
.footer-logo .logo-text { color: var(--white); }
.footer-logo .logo-mark { border-color: var(--gold); color: var(--gold); }
.sub-form { display: flex; gap: 8px; margin-top: 12px; }
.sub-form input {
    flex: 1;
    padding: 11px 14px;
    border: 1px solid #444;
    border-radius: var(--radius);
    background: transparent;
    color: var(--white);
    font-size: 13px;
}
.sub-form input::placeholder { color: #666; }
.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding: 22px 0;
    text-align: center;
    font-size: 12px;
    color: #666;
    letter-spacing: .5px;
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .prod-grid { grid-template-columns: repeat(3, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-wrap { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 34px; }
    .section { padding: 60px 0; }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 600px) {
    body { font-size: 14px; }
    .topbar-left { display: none; }
    .topbar-inner { justify-content: center; }

    .hamburger { display: flex; }
    .nav {
        position: fixed;
        top: 76px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-light);
        transform: translateY(-150%);
        transition: transform .3s ease;
    }
    .nav.open { transform: translateY(0); }
    .nav-cta { width: 100%; }

    .hero { padding: 50px 0; }
    .hero-title { font-size: 26px; margin-bottom: 16px; }
    .hero-sub { font-size: 13px; margin-bottom: 24px; }
    .hero-tag { font-size: 11px; padding: 6px 14px; margin-bottom: 16px; }
    .btn-lg { padding: 12px 24px; font-size: 13px; width: 100%; }
    .hero-btns { flex-direction: column; gap: 12px; }

    .features { padding: 30px 0; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-item { padding: 4px; }
    .feature-icon { font-size: 28px; margin-bottom: 8px; }
    .feature-item h3 { font-size: 15px; margin-bottom: 4px; }
    .feature-item p { font-size: 12px; line-height: 1.6; }

    .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .prod-card { border-radius: 10px; }
    .prod-body { padding: 12px; }
    .prod-body h3 { font-size: 14px; line-height: 1.4; }
    .prod-cat { font-size: 11px; margin-bottom: 4px; }
    .prod-price { font-size: 13px; margin: 6px 0; }

    .cat-grid { grid-template-columns: 1fr; gap: 12px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .section { padding: 35px 0; }
    .section-head h2 { font-size: 22px; }
    .section-head { margin-bottom: 20px; }
    .section-head p { font-size: 13px; margin-top: 6px; }

    .form-row { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 22px; }
    .cat-card { height: 140px; }

    /* 信任栏手机端更紧凑 */
    .trust-bar { padding: 16px 0; }
    .trust-grid { gap: 10px; }
    .trust-item { font-size: 11px; }

}

/* ============================================
   NEW COMPONENTS — Trust / Floating / CTA
   ============================================ */

/* Trust bar */
.trust-bar {
    background: var(--white);
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    padding: 28px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: var(--dark-soft);
    letter-spacing: .5px;
}
.trust-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

/* Floating WhatsApp */
.wa-float {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 54px; height: 54px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    z-index: 900;
    transition: transform .2s;
    text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); }

/* Back to top */
.back-top {
    position: fixed;
    bottom: 90px;
    right: 90px;
    width: 44px; height: 44px;
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--gray-light);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 900;
    transition: all .2s;
    box-shadow: var(--shadow);
}
.back-top.visible { display: flex; }
.back-top:hover { background: var(--dark); color: var(--white); }

/* Mobile sticky CTA */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    z-index: 850;
    box-shadow: 0 -2px 16px rgba(0,0,0,.06);
}
.mobile-cta-btn {
    display: block;
    text-align: center;
    background: var(--dark);
    color: var(--white);
    padding: 13px;
    border-radius: var(--radius);
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 12px;
    color: var(--gray);
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-light);
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span.sep { margin: 0 8px; color: #ccc; }

/* Product search box */
.prod-search {
    max-width: 420px;
    margin: 0 auto 30px;
    position: relative;
}
.prod-search input {
    width: 100%;
    padding: 12px 18px 12px 44px;
    border: 1px solid var(--gray-light);
    border-radius: 30px;
    font-size: 14px;
    background: var(--cream);
    transition: border-color .2s;
}
.prod-search input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
}
.prod-search::before {
    content: '🔍';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: .5;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}
.empty-state h3 { font-weight: 400; margin-bottom: 10px; }

/* ===== 灯箱（图片点击放大） ===== */
.lightbox {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 9999;
    justify-content: center; align-items: center;
    cursor: zoom-out;
}
.lightbox.open { display: flex; animation: fadeIn .3s; }
.lightbox img {
    max-width: 92%; max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    color: #fff; font-size: 32px; cursor: pointer;
    background: none; border: none; line-height: 1;
}
.lightbox-caption {
    position: absolute; bottom: 20px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.8); font-size: 14px;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* 产品图可点击放大提示 */
.prod-img { cursor: zoom-in; position: relative; }
.prod-img::after {
    content: '⤢'; position: absolute; top: 8px; right: 8px;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(0,0,0,.4); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; opacity: 0; transition: opacity .3s;
}
.prod-card:hover .prod-img::after { opacity: 1; }

/* Mobile responsive for new components */
@media (max-width: 600px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .mobile-cta { display: block; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
    body { padding-bottom: 64px; }
    .back-top { right: 16px; bottom: 170px; width: 44px; height: 44px; }
    .wa-float { bottom: 120px; right: 14px; width: 50px; height: 50px; }

    /* 加大触控区域 */
    .filter-chip { padding: 10px 18px; font-size: 13px; }
    .btn-outline.btn-sm { padding: 10px 18px; font-size: 13px; }
    .nav-link { padding: 8px 0; font-size: 15px; }
    .lang-opt { padding: 6px 12px; font-size: 13px; }

    /* 产品卡片间距优化 */
    .prod-card { border-radius: 8px; }
    .prod-body { padding: 12px 4px; }
    .prod-body h3 { font-size: 13px; }

    /* 表单输入加大 */
    .inq-form input, .inq-form textarea { padding: 14px 16px; font-size: 16px; }
    .prod-search input { padding: 14px 18px 14px 44px; font-size: 16px; }
}

/* 暗色模式 */
body.dark { background:#121212 !important; color:#e0e0e0 !important; }
body.dark .card, body.dark .prod-card { background:#1e1e1e !important; color:#e0e0e0 !important; }
body.dark .topbar { background:#0a0a0a !important; }
body.dark .header { background:#1a1a1a !important; }
body.dark .footer { background:#0a0a0a !important; }
body.dark .section-alt { background:#1a1a1a !important; }
body.dark input, body.dark select, body.dark textarea { background:#2a2a2a !important; color:#e0e0e0 !important; border-color:#444 !important; }

/* 手机端显示修复 */
@media(max-width:768px){
  .footer { padding: 40px 0 120px !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-col a { padding: 6px 0 !important; display: block; font-size: 14px; }
  .whatsapp-float { bottom: 110px !important; right: 16px !important; }
  .hero { min-height: 420px !important; }
  .container { padding: 0 16px; }
  .prod-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
}
