/* ============================================================
   MUJIA TEXTILE — Global Stylesheet
   Shaoxing Mujia Textile Co., Ltd. | B2B Fabric Manufacturer Site
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --black: #1a1a1a;
    --gold: #c9a96e;
    --gold-dark: #b8954a;
    --gray: #666;
    --gray-light: #f8f8f8;
    --border: #e8e8e8;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Segoe UI', sans-serif;
    color: var(--black);
    background: #fff;
    line-height: 1.6;
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ---------- Header ---------- */
header {
    position: fixed; top: 0; width: 100%;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid #eee;
    z-index: 1000;
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 40px; max-width: 1280px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 48px; width: auto; }
.logo-text { font-size: 19px; font-weight: 700; letter-spacing: 1px; }
.logo-text span { display: block; font-size: 11px; font-weight: 400; color: #888; letter-spacing: 2px; margin-top: 2px; }
nav.main-nav { display: flex; align-items: center; }
nav.main-nav a {
    color: #333; font-size: 14px; font-weight: 500;
    margin-left: 34px; letter-spacing: 0.5px; transition: color 0.3s;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--gold); }
nav.main-nav .nav-cta {
    background: var(--black); color: #fff; padding: 10px 24px;
    font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
}
nav.main-nav .nav-cta:hover { background: var(--gold); color: #fff; }
.menu-toggle { display: none; font-size: 24px; background: none; border: none; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
    margin-top: 77px; height: 88vh; min-height: 580px;
    display: flex; align-items: center; position: relative; overflow: hidden;
    background: var(--black);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('../images/hero_factory.webp') center/cover no-repeat;
    opacity: 0.38;
}
.hero-sub::before { background-image: url('../images/hero_fabric.webp'); }
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero .kicker {
    color: var(--gold); font-size: 13px; font-weight: 600;
    letter-spacing: 4px; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 {
    font-size: 54px; font-weight: 300; color: #fff;
    letter-spacing: 2px; line-height: 1.25; margin-bottom: 22px;
}
.hero h1 strong { font-weight: 700; display: block; }
.hero p {
    font-size: 17px; color: rgba(255,255,255,0.75);
    max-width: 560px; line-height: 1.8; margin-bottom: 38px; font-weight: 300;
}
.btn {
    display: inline-block; padding: 16px 44px;
    background: var(--gold); color: #fff;
    font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    border: none; cursor: pointer; transition: background 0.3s;
}
.btn:hover { background: var(--gold-dark); }
.btn-outline {
    background: transparent; border: 1px solid rgba(255,255,255,0.6);
    margin-left: 15px;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-dark { background: var(--black); }
.btn-dark:hover { background: var(--gold); }

/* Sub-page hero (smaller) */
.hero-small { height: 52vh; min-height: 380px; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--black); border-top: 1px solid rgba(255,255,255,0.08); }
.trust-bar .container {
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding-top: 26px; padding-bottom: 26px; gap: 20px; text-align: center;
}
.trust-bar .item { color: rgba(255,255,255,0.85); font-size: 13px; letter-spacing: 1px; }
.trust-bar .item strong { display: block; color: var(--gold); font-size: 15px; letter-spacing: 1.5px; margin-bottom: 4px; text-transform: uppercase; }

/* ---------- Sections ---------- */
.section { padding: 95px 0; }
.section.alt { background: var(--gray-light); }
.section-title { text-align: center; margin-bottom: 65px; }
.section-title .kicker {
    color: var(--gold); font-size: 12px; font-weight: 600;
    letter-spacing: 4px; text-transform: uppercase;
}
.section-title h2 { font-size: 34px; font-weight: 300; letter-spacing: 2px; margin-top: 10px; }
.section-title h2 strong { font-weight: 700; }
.section-title p { color: #888; font-size: 15px; margin-top: 14px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- About intro (home) ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-grid img { width: 100%; height: 460px; object-fit: cover; }
.about-text h3 { font-size: 27px; font-weight: 300; letter-spacing: 1px; margin-bottom: 24px; }
.about-text p { color: var(--gray); font-size: 15px; line-height: 1.9; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 42px; text-align: center; }
.stats .num { font-size: 32px; font-weight: 700; color: var(--gold); }
.stats .label { font-size: 11px; color: #999; letter-spacing: 1.5px; margin-top: 5px; text-transform: uppercase; }

/* ---------- Collection cards ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.collection-card { position: relative; overflow: hidden; display: block; height: 480px; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.collection-card:hover img { transform: scale(1.05); }
.collection-card .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.05) 55%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 34px;
}
.collection-card .overlay h3 { color: #fff; font-size: 22px; font-weight: 600; letter-spacing: 1px; }
.collection-card .overlay p { color: rgba(255,255,255,0.75); font-size: 13px; margin-top: 6px; letter-spacing: 0.5px; }
.collection-card .overlay .link {
    color: var(--gold); font-size: 12px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; margin-top: 14px;
}

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card { background: #fff; border: 1px solid var(--border); padding: 38px 32px; transition: box-shadow 0.3s; }
.section.alt .why-card { background: #fff; }
.why-card:hover { box-shadow: 0 12px 34px rgba(0,0,0,0.07); }
.why-card .icon { font-size: 26px; color: var(--gold); margin-bottom: 18px; }
.why-card h4 { font-size: 17px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 12px; }
.why-card p { color: var(--gray); font-size: 14px; line-height: 1.85; }

/* ---------- Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert-badge {
    background: #fff; border: 1px solid var(--border);
    padding: 34px 20px; text-align: center;
}
.cert-badge .abbr {
    width: 72px; height: 72px; margin: 0 auto 16px;
    border: 2px solid var(--gold); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; color: var(--gold); letter-spacing: 1px;
}
.cert-badge h4 { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 8px; }
.cert-badge p { font-size: 12px; color: #999; line-height: 1.7; }
.cert-note { text-align: center; color: #999; font-size: 13px; margin-top: 34px; }

/* ---------- Applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.app-card { position: relative; height: 300px; overflow: hidden; }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.app-card:hover img { transform: scale(1.06); }
.app-card .overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.42);
    display: flex; align-items: flex-end; padding: 24px;
}
.app-card .overlay h4 { color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 1px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-step { text-align: center; padding: 0 10px; position: relative; }
.process-step .step-num {
    width: 58px; height: 58px; margin: 0 auto 18px;
    background: var(--black); color: var(--gold); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; font-weight: 700;
}
.process-step h4 { font-size: 15px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 10px; }
.process-step p { font-size: 13px; color: var(--gray); line-height: 1.75; }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 85px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url('../images/hero_fabric.webp') center/cover no-repeat; opacity: 0.18;
}
.cta-banner .inner { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; font-size: 32px; font-weight: 300; letter-spacing: 2px; }
.cta-banner h2 strong { font-weight: 700; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 15px; margin: 18px auto 34px; max-width: 600px; }

/* ---------- Product blocks (products page) ---------- */
.product-block { margin-bottom: 95px; padding-bottom: 80px; border-bottom: 1px solid var(--border); }
.product-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.product-head { text-align: center; margin-bottom: 48px; }
.product-head .code { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.product-head h3 { font-size: 29px; font-weight: 300; letter-spacing: 1px; margin-top: 8px; }
.product-head .desc { color: var(--gray); font-size: 14.5px; max-width: 680px; margin: 14px auto 0; line-height: 1.85; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 42px; }
.gallery img { width: 100%; height: 320px; object-fit: cover; display: block; }
.gallery .wide { grid-column: span 2; height: 320px; }

.spec-table { width: 100%; border-collapse: collapse; margin: 34px 0; }
.spec-table th, .spec-table td {
    border: 1px solid var(--border); padding: 13px 18px;
    font-size: 14px; text-align: left;
}
.spec-table th { background: var(--gray-light); font-weight: 700; width: 30%; letter-spacing: 0.5px; }
.spec-table td { color: var(--gray); }

.spec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 38px 0; }
.spec-card { background: var(--gray-light); padding: 28px 24px; text-align: center; }
.spec-card h4 { font-size: 16px; font-weight: 700; }
.spec-card .tag { color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin: 6px 0 14px; }
.spec-card .detail { font-size: 13.5px; color: var(--gray); line-height: 2; }
.spec-card .detail strong { color: var(--black); }
.spec-card .price { margin-top: 14px; font-size: 14px; color: var(--black); font-weight: 600; }

.product-actions { text-align: center; margin-top: 38px; }

/* ---------- About page ---------- */
.facts-strip { background: var(--black); padding: 60px 0; }
.facts-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.facts-strip .num { font-size: 36px; font-weight: 700; color: var(--gold); }
.facts-strip .label { color: rgba(255,255,255,0.65); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; }

.faq-item { border-bottom: 1px solid var(--border); padding: 26px 0; }
.faq-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.faq-item p { color: var(--gray); font-size: 14px; line-height: 1.85; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { border: 1px solid var(--border); padding: 36px 30px; }
.value-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.value-card h4::before { content: '—'; color: var(--gold); margin-right: 10px; }
.value-card p { color: var(--gray); font-size: 14px; line-height: 1.85; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.contact-info h3 { font-size: 24px; font-weight: 300; letter-spacing: 1px; margin-bottom: 26px; }
.info-row { display: flex; gap: 16px; margin-bottom: 26px; }
.info-row .ico { color: var(--gold); font-size: 19px; width: 26px; flex-shrink: 0; }
.info-row h5 { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 5px; }
.info-row p { color: var(--gray); font-size: 14.5px; line-height: 1.7; }
.info-row a { color: var(--gray); border-bottom: 1px solid var(--gold); }
.info-row a:hover { color: var(--gold); }

.contact-form { background: var(--gray-light); padding: 45px; }
.contact-form h3 { font-size: 21px; font-weight: 300; letter-spacing: 1px; margin-bottom: 8px; }
.contact-form .form-sub { color: #999; font-size: 13px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 14px 16px; border: 1px solid #ddd;
    font-size: 14px; margin-bottom: 16px; font-family: inherit;
    outline: none; background: #fff; transition: border 0.3s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { height: 130px; resize: vertical; }
.contact-form .btn { width: 100%; padding: 16px; }
.form-note { font-size: 12px; color: #aaa; margin-top: 14px; text-align: center; line-height: 1.7; }

/* ---------- Footer ---------- */
footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 65px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 50px; padding-bottom: 50px; }
.footer-grid h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.footer-grid p, .footer-grid a { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 2; display: block; transition: color 0.3s; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { height: 52px; margin-bottom: 18px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,0.4); letter-spacing: 0.5px;
}

/* ---------- Floating inquiry ---------- */
.float-inquiry {
    position: fixed; right: 26px; bottom: 26px; z-index: 900;
    background: var(--gold); color: #fff; padding: 15px 26px;
    font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
    box-shadow: 0 8px 26px rgba(0,0,0,0.22); transition: background 0.3s;
}
.float-inquiry:hover { background: var(--gold-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .container { padding: 0 24px; }
    .header-inner { padding: 12px 24px; }
    nav.main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; flex-direction: column; align-items: flex-start;
        padding: 20px 24px; border-bottom: 1px solid #eee;
    }
    nav.main-nav.open { display: flex; }
    nav.main-nav a { margin: 10px 0; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 36px; }
    .hero { height: auto; min-height: 0; padding: 120px 0 80px; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
    .collections, .why-grid, .value-grid, .spec-cards { grid-template-columns: 1fr; }
    .cert-grid, .app-grid, .facts-strip .container { grid-template-columns: repeat(2, 1fr); }
    .trust-bar .container, .process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .gallery { grid-template-columns: 1fr; }
    .gallery .wide { grid-column: span 1; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .btn-outline { margin-left: 0; margin-top: 14px; }
}
/* ---------- WhatsApp Floating Button ---------- */
.float-whatsapp {
    position: fixed; right: 26px; bottom: 90px; z-index: 900;
    display: flex; align-items: center; gap: 8px;
    background: #25D366; color: #fff; padding: 14px 22px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
    border-radius: 50px; box-shadow: 0 8px 26px rgba(0,0,0,0.22);
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}
.float-whatsapp:hover { background: #128C7E; transform: scale(1.05); color: #fff; }
.float-whatsapp .wa-icon { font-size: 22px; line-height: 1; }
.float-whatsapp .wa-text { white-space: nowrap; }
@media (max-width: 600px) {
    .float-whatsapp { padding: 12px 16px; right: 16px; bottom: 80px; }
    .float-whatsapp .wa-text { display: none; }
}

/* ---------- Language Toggle ---------- */
.lang-toggle {
    display: inline-block; margin-left: 18px;
    font-size: 12px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; color: #999; cursor: pointer;
    border: 1px solid #ddd; padding: 6px 12px; border-radius: 3px;
    transition: all 0.3s; background: #fff;
}
.lang-toggle:hover { color: var(--gold); border-color: var(--gold); }
.lang-toggle.active { color: var(--gold); border-color: var(--gold); background: rgba(201,169,110,0.06); }/* ============================================================
   EUROPEAN COLLECTION — One Pattern Six Colors Grid
   ============================================================ */

.europe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
@media (max-width: 900px) {
    .europe-grid { grid-template-columns: 1fr; }
}

.europe-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}
.europe-gallery img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: opacity 0.3s;
}
.europe-gallery img:hover {
    opacity: 0.9;
}

/* European section product blocks compact */
#europe .product-block {
    margin-bottom: 10px;
    break-inside: avoid;
}
#europe .product-block .product-head {
    margin-bottom: 8px;
}
#europe .product-block .product-head h3 {
    font-size: 18px;
}
#europe .product-block .product-head .desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray);
}
#europe .product-block .code {
    font-size: 11px;
    letter-spacing: 2px;
}
#europe .product-actions {
    margin-top: 12px;
}
#europe .product-actions .btn {
    padding: 10px 22px;
    font-size: 12px;
}/* ============================================================
   EUROPEAN COLLECTION — Quick Navigation Index
   ============================================================ */

.europe-index {
    background: var(--gray-light);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px 24px;
    margin: 24px auto 40px;
    max-width: 720px;
    text-align: center;
}
.europe-index p {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--black);
}
.europe-index-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.europe-index-grid a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray);
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    transition: all 0.25s;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.europe-index-grid a:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201,169,110,0.05);
}/* ============================================================
   MTQS — Mujia Textile Quality Standard Certification Page
   ============================================================ */

/* MTQS Shield Badge (CSS-only) */
.mtqs-shield {
    display: inline-flex; align-items: center; justify-content: center;
    width: 72px; height: 72px;
    border: 2px solid var(--gold); border-radius: 50%;
    background: var(--black); color: var(--gold);
    font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
    text-align: center; line-height: 1.2; position: relative;
    flex-shrink: 0;
}
.mtqs-shield-sm {
    width: 56px; height: 56px; font-size: 10px;
}
.mtqs-shield-lg {
    width: 100px; height: 100px; font-size: 18px; border-width: 3px;
}
.mtqs-shield .mtqs-inner {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.mtqs-shield .mtqs-inner span { display: block; }
.mtqs-shield .mtqs-inner .mtqs-top { font-size: 10px; letter-spacing: 1px; }
.mtqs-shield .mtqs-inner .mtqs-bottom { font-size: 7px; letter-spacing: 0.5px; color: rgba(201,169,110,0.7); }
.mtqs-shield-lg .mtqs-inner .mtqs-top { font-size: 14px; }
.mtqs-shield-lg .mtqs-inner .mtqs-bottom { font-size: 9px; }

/* Certification Hero */
.cert-hero {
    margin-top: 77px; padding: 100px 0 80px;
    background: var(--black); text-align: center; position: relative; overflow: hidden;
}
.cert-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(201,169,110,0.08) 0%, transparent 50%);
}
.cert-hero .container { position: relative; z-index: 2; }
.cert-hero .mtqs-shield { margin: 0 auto 28px; }
.cert-hero h1 { color: #fff; font-size: 44px; font-weight: 300; letter-spacing: 2px; }
.cert-hero h1 strong { font-weight: 700; display: block; }
.cert-hero p { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 640px; margin: 18px auto 0; line-height: 1.8; }

/* Certification Intro Section */
.cert-intro { padding: 80px 0; }
.cert-intro .container { max-width: 900px; }
.cert-intro h2 { font-size: 28px; font-weight: 300; letter-spacing: 1px; margin-bottom: 20px; text-align: center; }
.cert-intro h2 strong { font-weight: 700; }
.cert-intro p { color: var(--gray); font-size: 15px; line-height: 1.9; text-align: center; max-width: 720px; margin: 0 auto; }

/* MTQS Testing Standards Table */
.cert-standards { padding: 80px 0; }
.cert-standards .container { max-width: 960px; }
.cert-standards .section-title { margin-bottom: 50px; }
.cert-table { width: 100%; border-collapse: collapse; margin: 30px 0; }
.cert-table th, .cert-table td {
    border: 1px solid var(--border); padding: 14px 18px;
    font-size: 14px; text-align: left;
}
.cert-table th { background: var(--black); color: var(--gold); font-weight: 700; letter-spacing: 0.5px; }
.cert-table tr:nth-child(even) td { background: var(--gray-light); }
.cert-table td { color: var(--gray); }
.cert-table .pass { color: #2e7d32; font-weight: 600; }

/* Certified Products List */
.cert-products { padding: 80px 0; background: var(--gray-light); }
.cert-products .container { max-width: 960px; }
.cert-products .section-title { margin-bottom: 50px; }

/* Certificate Display Area */
.cert-display { padding: 80px 0; }
.cert-display .container { max-width: 960px; }
.cert-display .section-title { margin-bottom: 50px; }
.cert-placeholder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cert-placeholder {
    background: #fff; border: 2px dashed var(--border);
    border-radius: 8px; padding: 50px 30px; text-align: center;
    transition: border-color 0.3s;
}
.cert-placeholder:hover { border-color: var(--gold); }
.cert-placeholder .cert-icon { font-size: 48px; margin-bottom: 16px; }
.cert-placeholder h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.cert-placeholder p { font-size: 12px; color: #999; line-height: 1.7; }

/* Certification CTA */
.cert-cta {
    background: var(--black); padding: 70px 0; text-align: center;
}
.cert-cta h2 { color: #fff; font-size: 28px; font-weight: 300; letter-spacing: 1px; }
.cert-cta h2 strong { font-weight: 700; }
.cert-cta p { color: rgba(255,255,255,0.7); font-size: 15px; margin: 16px auto 30px; max-width: 560px; }

/* MTQS Badge for Homepage / Nav */
a.mtqs-badge-link { text-decoration: none; color: inherit; display: block; }
.mtqs-badge-card {
    background: #fff; border: 1px solid var(--border);
    padding: 34px 20px; text-align: center; cursor: pointer;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.mtqs-badge-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); border-color: var(--gold); }
.mtqs-badge-card .abbr {
    width: 72px; height: 72px; margin: 0 auto 16px;
    border: 2px solid var(--gold); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 0.5px;
    line-height: 1.2; text-align: center;
}
.mtqs-badge-card h4 { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 8px; }
.mtqs-badge-card p { font-size: 12px; color: #999; line-height: 1.7; }
.mtqs-badge-card .badge-link { font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-top: 10px; display: inline-block; }

/* MTQS Tag on Product Pages */
.mtqs-tag {
    display: inline-block; margin-top: 12px;
    font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 0.5px;
}
.mtqs-tag::before { content: '🛡 '; }
.mtqs-tag strong { color: var(--black); }

/* Cert Nav Link */
nav.main-nav a.cert-link { color: var(--gold); font-weight: 600; }
nav.main-nav a.cert-link:hover { color: var(--gold-dark); }

@media (max-width: 768px) {
    .cert-hero h1 { font-size: 28px; }
    .cert-placeholder-grid { grid-template-columns: 1fr; }
    .cert-table { font-size: 12px; }
    .cert-table th, .cert-table td { padding: 10px 12px; }
}

/* ============================================================
   MULTILINGUAL SWITCHER — EN | ES | RU | ZH (added 2026-08-23)
   ============================================================ */
.lang-switch .lc { display: none; }
nav.main-nav .lang-switch {
    display: flex; align-items: center; margin-left: 26px; flex-wrap: wrap;
}
nav.main-nav .lang-switch a {
    margin-left: 0; padding: 4px 8px;
    font-size: 11.5px; font-weight: 600; letter-spacing: 0.4px;
    color: #999; white-space: nowrap; transition: color 0.25s;
}
nav.main-nav .lang-switch a:hover { color: var(--gold); }
nav.main-nav .lang-switch a.active { color: var(--gold); }
nav.main-nav .lang-switch span { color: #ccc; font-size: 11px; user-select: none; }
@media (max-width: 1240px) {
    .lang-switch .ln { display: none; }
    .lang-switch .lc { display: inline; }
}
@media (max-width: 992px) {
    nav.main-nav .lang-switch { margin: 14px 0 0; }
    nav.main-nav .lang-switch a { margin: 0; }
    nav.main-nav .lang-switch .ln { display: inline; }
    nav.main-nav .lang-switch .lc { display: none; }
}

/* ---------- NEW badge (shared: homepage / gingham collection cards) ---------- */
.gng-new-flag {
    display: inline-block; background: var(--gold); color: #fff;
    font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    padding: 5px 12px; margin-bottom: 12px;
}
