/*
Theme Name: 俊达 JUNDA v11
Author: Junda
Description: 广州市俊达手套有限公司企业主题。2026-11-20 homepage visual branch for international B2B presentation.
Version: 1.5.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: junda
*/
:root {
    --navy: #123B68;
    --ice: #F5F8FC;
    --mist: #DCEAF5;
    --ink: #152334;
    --accent: #ED704B;
    --white: #ffffff;
    --line: rgba(21, 35, 52, 0.12);
    --container: 1280px;
    --gutter: 28px;
    --header: 84px;
    --font: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.12; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
h1 { font-size: clamp(36px, 4.7vw, 62px); margin-bottom: 22px; }
h2 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 16px; }
h3 { font-size: 21px; margin-bottom: 10px; }
p { margin-bottom: 1em; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 88px; }
.eyebrow {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    line-height: 1.4;
}
.section-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 52px; }
.section-heading h2 { margin: 0; max-width: 18em; }
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.04em;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--line);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.text-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--white);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0.03em;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.button:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.button-secondary { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.button-secondary:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.note { color: rgba(21, 35, 52, 0.72); font-size: 13.5px; line-height: 1.65; }
.screen-reader-text, .skip-link {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.skip-link:focus {
    position: fixed; z-index: 20; width: auto; height: auto; clip: auto; padding: 12px 20px; top: 10px; left: 10px;
    background: var(--white); color: var(--navy);
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--accent); outline-offset: 3px;
}

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 10;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: var(--header);
}
.brand-logo { width: auto; height: 34px; }
.primary-navigation .nav-list,
.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 22px;
    margin: 0;
    padding: 0;
}
.nav-list a {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}
.nav-list a[aria-current="page"], .nav-list a:hover { color: var(--navy); }
.header-contact {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--navy);
    padding: 12px 18px;
    white-space: nowrap;
}
.header-contact:hover { background: var(--accent); color: var(--white); }
.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
    display: block; width: 18px; height: 1.5px; background: var(--ink);
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

/* Hero: regular two-column, top-aligned copy and photo, shared container edges */
.home-hero {
    position: relative;
    background: var(--navy);
    color: var(--white);
    padding-block: 0;
    overflow: hidden;
}
.home-hero h1, .home-hero h2, .home-hero h3 { color: var(--white); }
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: stretch;
    padding-block: 72px;
    min-height: 0;
}
.hero-copy {
    padding-block: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.hero-copy .eyebrow { color: var(--mist); }
.hero-description { font-size: 19px; line-height: 1.5; margin-bottom: 16px; color: var(--mist); }
.hero-lead { max-width: 36rem; color: rgba(245, 248, 252, 0.84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 32px; }
.hero-art {
    display: block;
    margin: 0;
    padding: 0;
    min-height: 420px;
    height: 100%;
    overflow: hidden;
    background: #102B4D;
}
.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 48%;
    display: block;
}

/* Capabilities: clean typographic cadence */
.capabilities-section { background: var(--ice); }
.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.year-mark {
    font-size: clamp(44px, 6.4vw, 82px);
    line-height: 0.94;
    letter-spacing: -0.04em;
    color: var(--navy);
    margin: 0 0 22px;
    font-weight: 600;
}
.capability-points { display: grid; gap: 32px; border-left: 1px solid var(--line); padding-left: 40px; }
.capability-points article { max-width: 38rem; }

/* Product lines: regular 2-column, equal 3:2 photos, shared text start, actions pinned to a common baseline */
.product-line-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px 40px;
    align-items: stretch;
}
.product-line,
.product-line.span-7,
.product-line.span-5,
.product-line.span-6 {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    background: transparent;
    padding: 0;
    border: 0;
    gap: 0;
    min-width: 0;
    height: 100%;
}
.product-frame,
.product-line.span-7 .product-frame,
.product-line.span-5 .product-frame,
#line-latex-household .product-frame,
#line-disposable-latex .product-frame {
    background: var(--mist);
    display: block;
    padding: 0;
    overflow: hidden;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0 0 20px;
    aspect-ratio: 3 / 2;
}
.product-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#line-nitrile .product-frame img { object-position: 48% 50%; }
#line-latex-household .product-frame img { object-position: 50% 50%; }
#line-disposable-latex .product-frame img { object-position: 50% 45%; }
#line-vinyl .product-frame img { object-position: 45% 65%; }
.products-stock-note {
    margin: 32px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.7;
    color: rgba(21, 35, 52, 0.74);
}
.products-stock-note a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.products-stock-note a:hover { color: var(--accent); }
.product-index {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--accent);
    margin-bottom: 10px;
}
.product-line-copy,
.product-line.span-7 .product-line-copy {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: flex-start;
}
.product-line-copy h3 { font-size: 24px; margin-bottom: 12px; line-height: 1.25; }
.product-line-copy p { color: rgba(21, 35, 52, 0.78); margin-bottom: 0; line-height: 1.7; flex: 1 1 auto; }
.card-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: auto; padding-top: 20px; }
.selected-models { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.selected-models h3 { margin-bottom: 24px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.product-card { background: transparent; border-top: 1px solid var(--line); padding-top: 16px; }
.product-image { display: flex; align-items: center; justify-content: center; background: var(--ice); aspect-ratio: 4 / 3; overflow: hidden; }
.product-image img { width: auto; max-width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.image-placeholder { display: grid; place-items: center; height: 100%; color: var(--navy); font-weight: 650; }
.image-placeholder span { display: block; font-size: 13px; font-weight: 400; color: rgba(21, 35, 52, 0.6); }
.product-card-copy { padding: 18px 0 8px; }
.product-type { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.category-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 28px; font-size: 14px; }
.category-links a.selected { color: var(--accent); font-weight: 650; }

/* Applications: regular list + equal-height 3-column photos, shared caption start */
.applications-section { background: var(--ice); }
.application-list { list-style: none; margin: 0; padding: 0; }
.application-list li {
    display: grid;
    grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: baseline;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}
.application-list li:last-child { border-bottom: 1px solid var(--line); }
.app-index { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--navy); }
.application-list h3 { margin: 0; font-size: clamp(20px, 1.9vw, 24px); }
.application-list p { margin: 0; color: rgba(21, 35, 52, 0.84); }

.application-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 40px;
    margin: 56px 0 0;
    padding: 0;
    list-style: none;
    align-items: start;
}
.application-photos li { min-width: 0; }
.application-photos .app-photo-food,
.application-photos .app-photo-cleaning,
.application-photos .app-photo-industrial {
    grid-column: auto;
    margin-top: 0;
}
.application-photos .application-editorial-note {
    grid-column: 1 / -1;
    align-self: start;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: 8px;
}
.application-photos figure { margin: 0; padding: 0; background: transparent; }
.app-photo-media,
.app-photo-food .app-photo-media,
.app-photo-cleaning .app-photo-media,
.app-photo-industrial .app-photo-media {
    overflow: hidden;
    background: var(--mist);
    aspect-ratio: 3 / 2;
}
.application-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.app-photo-food img { object-position: 42% 32%; }
.app-photo-cleaning img { object-position: 50% 48%; }
.app-photo-industrial img { object-position: 40% 48%; }
.application-photos figcaption {
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--navy);
    line-height: 1.45;
}
.application-editorial-note p { margin: 0; font-size: 13px; line-height: 1.7; color: rgba(21, 35, 52, 0.76); }
.application-editorial-note a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.application-editorial-note a:hover { color: var(--accent); }

/* Manufacturing: borderless architectural still */
.manufacturing-section { background: var(--navy); color: var(--white); }
.manufacturing-section h2, .manufacturing-section h3 { color: var(--white); }
.manufacturing-section .eyebrow { color: var(--mist); }
.manufacturing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.process-list { list-style: none; margin: 32px 0 0; padding: 0; }
.process-list li { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(220, 234, 245, 0.2); }
.process-list li:last-child { border-bottom: 1px solid rgba(220, 234, 245, 0.2); }
.process-list span { font-size: 12px; letter-spacing: 0.12em; color: var(--mist); min-width: 2.2em; }
.manufacturing-photo { margin: 0; padding: 0; background: transparent; }
.manufacturing-photo img { width: 100%; height: auto; object-fit: cover; display: block; }
.manufacturing-photo figcaption { margin-top: 14px; font-size: 13px; color: var(--mist); }

/* OEM steps */
.oem-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}
.oem-steps li { padding: 28px 18px 14px 0; border-bottom: 1px solid var(--line); }
.step-index { display: block; font-size: 12px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 16px; font-weight: 700; }
.oem-steps h3 { font-size: 19px; }

/* Quality / brands */
.quality-section { background: var(--ice); }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.brand-names { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 0; margin: 32px 0 0; list-style: none; font-size: 19px; }
.brand-names li { border-bottom: 1px solid var(--line); padding-bottom: 6px; }

/* RFQ */
.rfq-section { background: var(--navy); color: var(--white); }
.rfq-section h2 { color: var(--white); }
.rfq-section .eyebrow { color: var(--mist); }
.rfq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.rfq-form { background: var(--ice); color: var(--ink); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rfq-form label { display: block; margin-bottom: 16px; font-size: 13px; font-weight: 650; letter-spacing: 0.04em; }
.rfq-form input, .rfq-form textarea, .rfq-form select {
    display: block;
    width: 100%;
    margin-top: 8px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    padding: 10px 0;
}
.rfq-form textarea { resize: vertical; min-height: 120px; }
.file-label input { border: 0; padding-top: 10px; }
.rfq-form .button { margin-top: 8px; color: var(--white); border-color: var(--navy); background: var(--navy); }
.rfq-form .button:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.form-status { margin: 16px 0 0; padding: 14px 16px; background: var(--mist); font-size: 15px; }
.form-status.is-demo { border-left: 4px solid var(--accent); }

/* Footer and shared page chrome */
.site-footer { background: var(--ink); color: var(--ice); padding: 72px 0 28px; }
.site-footer h2, .site-footer h3 { color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-name { font-size: 20px; font-weight: 650; }
.contact-details { margin: 0; }
.contact-details div { margin-bottom: 14px; }
.contact-details dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); }
.contact-details dd { margin: 4px 0 0; }
.contact-details a:hover { color: var(--accent); }
.footer-secondary-nav { display: grid; gap: 8px; font-size: 14px; }
.footer-secondary-nav a:hover { color: var(--accent); }
.footer-secondary { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(220, 234, 245, 0.16); padding-top: 20px; font-size: 13px; }
.footer-links, .footer-secondary nav { display: flex; gap: 16px; flex-wrap: wrap; }
.icp { width: min(var(--container), calc(100% - 48px)); margin: 16px auto 0; font-size: 13px; }
.icp a:hover { color: var(--accent); }
.breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0; font-size: 13px; color: rgba(21, 35, 52, 0.7); }
.empty-state { padding: 48px 0; }
.contact-qr img { max-width: 140px; }
.page-main, .content-section { padding-block: 48px 96px; }

/* Preview banner is preview-only; ignored in WP if absent */
.preview-banner {
    background: var(--ink);
    color: var(--ice);
    text-align: center;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* Language switcher */
.header-tools { display: flex; align-items: center; gap: 16px; justify-self: end; }
.lang-switch { display: flex; gap: 10px; align-items: baseline; }
.lang-switch a {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ink);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}
.lang-switch a[aria-current="true"] { border-bottom-color: var(--accent); color: var(--navy); }
.lang-switch a:hover { color: var(--accent); }

/* 1440 desktop: keep the regular 2-col / 3-col structure, slightly tighter rhythm */
@media (max-width: 1440px) {
    .container { width: min(var(--container), calc(100% - 48px)); }
    .section { padding-block: 80px; }
    .hero-grid { gap: 48px; padding-block: 64px; }
    .product-line-grid { gap: 48px 32px; }
    .application-photos { gap: 28px 32px; }
    .capabilities-grid, .manufacturing-grid, .quality-grid, .rfq-grid { gap: 48px; }
}

/* Narrow desktop / tablet: collapse the header nav only; content stays two / three columns through 768px */
@media (max-width: 960px) {
    .container { width: min(var(--container), calc(100% - 40px)); }
    .header-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
    .header-tools { gap: 10px; }
    .header-contact { display: none; }
    .menu-toggle { display: inline-flex; justify-self: end; }
    .primary-navigation {
        display: none;
        position: absolute;
        left: 0; right: 0; top: var(--header);
        background: var(--white);
        border-bottom: 1px solid var(--line);
        padding: 12px 16px 24px;
    }
    .has-js .primary-navigation.is-open, html:not(.has-js) .primary-navigation { display: block; }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Below 768: single-column sequential stacking, no leftover stagger or fixed overflow */
@media (max-width: 767px) {
    .container { width: min(var(--container), calc(100% - 32px)); }
    .section { padding-block: 56px; }

    .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; min-height: 0; align-items: start; }
    .hero-copy { padding: 0; }
    .hero-actions { margin-top: 24px; padding-top: 0; }
    .hero-art {
        margin: 0;
        padding: 0;
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .hero-art img { width: 100%; height: 100%; object-fit: cover; }

    .capabilities-grid, .manufacturing-grid, .quality-grid, .rfq-grid, .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .capability-points { border-left: 0; padding-left: 0; }

    .product-line-grid { grid-template-columns: 1fr; gap: 40px; }
    .product-line, .product-line.span-7, .product-line.span-5, .product-line.span-6 {
        grid-column: auto;
        display: flex;
        flex-direction: column;
        background: transparent;
        padding: 0;
        border: 0;
        height: auto;
    }
    .product-line-copy, .product-line.span-7 .product-line-copy { padding: 0; }
    .product-frame,
    .product-line.span-7 .product-frame,
    .product-line.span-5 .product-frame {
        height: auto;
        min-height: 0;
        aspect-ratio: 3 / 2;
        margin: 0 0 16px;
    }
    .product-grid { grid-template-columns: 1fr; }

    .application-list li { grid-template-columns: 44px 1fr; gap: 10px 14px; padding: 20px 0; }
    .application-list p { grid-column: 2; }
    .application-photos { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
    .application-photos .app-photo-food,
    .application-photos .app-photo-cleaning,
    .application-photos .app-photo-industrial,
    .application-photos .application-editorial-note {
        grid-column: auto;
        margin-top: 0;
    }

    .oem-steps { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section-heading { flex-direction: column; align-items: start; margin-bottom: 32px; gap: 16px; }
}

/* 390 compact mobile: tighter type and padding, no extra gaps or fixed heights */
@media (max-width: 390px) {
    body { font-size: 15.5px; }
    h1 { font-size: 32px; }
    h2 { font-size: 24px; }
    .section { padding-block: 44px; }
    .hero-grid { padding-block: 32px; gap: 20px; }
    .hero-description { font-size: 17px; }
    .hero-art { min-height: 0; aspect-ratio: 4 / 3; }
    .product-line-grid { gap: 32px; }
    .oem-steps { grid-template-columns: 1fr; }
    .oem-steps li { padding: 20px 0 14px; }
    .brand-names { font-size: 17px; gap: 10px 22px; }
    .year-mark { font-size: 48px; }
    .rfq-form { padding: 24px 18px; }
    .icp { width: min(var(--container), calc(100% - 32px)); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Whole-site refinement, t51u. Aligned grids remain; gentle corners soften imagery. */
:root { --radius: 14px; --reading: 760px; }
h1 { line-height: 1.16; text-wrap: balance; }
h2, h3 { text-wrap: balance; }
p { overflow-wrap: anywhere; }
.hero-art, .product-frame, .app-photo-media, .manufacturing-photo img,
.page-visual, .company-page-image, .contact-photo img, .gallery-main,
.product-image { border-radius: var(--radius); }
.button, .header-contact { border-radius: 7px; }
.button:hover { background: var(--accent); color: white; border-color: var(--accent); }
.button-secondary:hover { background: white; color: var(--navy); border-color: white; }
.rfq-form { border-radius: var(--radius); }
.rfq-form input, .rfq-form textarea, .rfq-form select { line-height: 1.5; }
.header-inner { grid-template-columns: auto 1fr auto; gap: 20px; }
.nav-list { gap: 8px 14px; }
.nav-list a { font-size: 11px; letter-spacing: .025em; }
.header-contact { display: none; }
.page-heading { padding: 48px 0 56px; background: var(--ice); }
.page-heading h1 { max-width: 22ch; margin-bottom: 20px; }
.page-heading .breadcrumb { margin: 0 0 28px; }
.page-lead, .page-heading > .container > p:last-child { max-width: 68ch; font-size: 19px; line-height: 1.65; }
.narrow, .reading-body { max-width: var(--reading); }
.narrow { margin-inline: auto; }
.reading-body { margin-inline: auto; }
.reading-section { margin-bottom: 36px; }
.reading-section h2 { font-size: clamp(24px, 2.6vw, 32px); }
.page-visual { margin: 0 0 44px; overflow: hidden; max-width: 900px; margin-inline: auto; }
.page-visual img { width: 100%; height: auto; }
.catalogue-visual { background: var(--ice); max-width: 560px; }
.catalogue-visual img { max-height: 480px; object-fit: contain; }
.resource-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-block: 24px; }
.resource-link { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 20px; line-height: 1.4; }
.resource-link:hover { color: var(--accent); }
.related-reading { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--line); }
.preview-notice { padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--ice); color: var(--ink); font-size: 14px; margin-bottom: 32px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq-item summary { font-size: 21px; font-weight: 600; cursor: pointer; line-height: 1.4; }
.faq-item p { margin: 16px 0 0; }
.archive-toolbar { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: start; margin-bottom: 40px; }
.product-search, .search-form { display: flex; flex-wrap: wrap; gap: 12px; }
.product-search input, .search-form input { min-width: 0; border: 1px solid var(--line); padding: 12px; border-radius: 6px; }
.product-search button, .search-form button, .search-submit { padding: 12px 20px; border: 0; background: var(--navy); color: white; border-radius: 6px; }
.product-card { border-top: 0; padding-top: 0; display: flex; flex-direction: column; }
.product-card-copy { display: flex; flex-direction: column; flex: 1; }
.product-card-copy h3 { line-height: 1.35; }
.product-detail { padding-block: 40px 80px; }
.product-detail-grid, .company-grid, .contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.gallery-main { background: var(--ice); padding: 24px; }
.gallery-main img { width: 100%; height: auto; max-height: 600px; object-fit: contain; }
.gallery-thumbnails { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.gallery-thumbnails button { width: 76px; padding: 6px; background: var(--ice); border: 1px solid var(--line); border-radius: 8px; }
.gallery-thumbnails button[aria-pressed=true] { border-color: var(--accent); }
.product-specs { margin-block: 28px; }
.product-specs > div { display: grid; grid-template-columns: 1fr 1fr; padding-block: 12px; border-bottom: 1px solid var(--line); }
.product-specs dd { margin: 0; }
.product-enquiry { margin-top: 32px; }
.product-phone { display: block; margin-top: 16px; }
.product-description { padding-top: 64px; max-width: var(--reading); }
.detail-back { margin-top: 40px; }
.entry-content { line-height: 1.85; overflow-wrap: anywhere; }
.entry-content h2 { margin-top: 40px; font-size: 30px; }
.entry-content h3 { margin-top: 28px; }
.entry-content img { height: auto; border-radius: 12px; }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.company-page-image, .contact-photo img { width: 100%; height: auto; }
.company-page .entry-content > :first-child { margin-top: 0; }
.contact-extra { margin-top: 48px; }
.article-main { padding-block: 40px 80px; }
.article-header { margin-bottom: 40px; }
.article-header time, .news-card time { color: var(--navy); font-size: 13px; }
.article-navigation { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 48px; }
.news-list { display: grid; gap: 0; }
.news-card { display: grid; grid-template-columns: 90px 1fr 24px; gap: 24px; padding-block: 32px; border-bottom: 1px solid var(--line); }
.news-card time span { display: block; font-size: 32px; line-height: 1.1; }
.news-card h3 { font-size: 26px; line-height: 1.3; }
.search-results article { padding-block: 28px; border-bottom: 1px solid var(--line); }
.search-results h2 { font-size: 28px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-block: 24px; }
.site-footer .resource-link { font-size: 16px; }
@media (min-width: 768px) {
    /* Subgrid shares title, body and action rows, even for longer English headings. */
    .product-line-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .product-line, .product-line.span-7, .product-line.span-5 { display: grid; grid-template-rows: subgrid; grid-row: span 5; }
    .product-line-copy, .product-line.span-7 .product-line-copy { display: contents; }
    .product-frame { align-self: start; }
    .product-index { margin-bottom: 0; }
    .product-line-copy h3 { margin-bottom: 0; }
    .product-line-copy p { margin-bottom: 0; }
    .product-line .card-actions { padding-top: 0; margin-top: 0; align-self: end; }
    .product-line-grid { row-gap: 16px; }

}
@supports not (grid-template-rows: subgrid) {
    .product-line, .product-line.span-7, .product-line.span-5 { display: flex; }
    .product-line-copy, .product-line.span-7 .product-line-copy { display: flex; }
    .product-line-copy h3 { min-height: 2.5em; }
    .product-line .card-actions { margin-top: auto; padding-top: 20px; }
}
@media (max-width: 1200px) {
    .menu-toggle { display: inline-flex; justify-self: end; }
    .primary-navigation { display: none; position: absolute; left: 0; right: 0; top: var(--header); background: white; padding: 20px 24px; border-bottom: 1px solid var(--line); }
    .has-js .primary-navigation.is-open, html:not(.has-js) .primary-navigation { display: block; }
    .nav-list { flex-direction: column; align-items: start; gap: 16px; }
}
@media (max-width: 767px) {
    :root { --radius: 10px; }
    .page-heading { padding-block: 32px 40px; }
    .page-lead, .page-heading > .container > p:last-child { font-size: 17px; }
    .resource-links, .product-detail-grid, .company-grid, .contact-page-grid { grid-template-columns: 1fr; gap: 24px; }
    .resource-links { gap: 0; }
    .resource-link { font-size: 18px; padding-block: 20px; }

    .product-line-copy h3 { min-height: 0; }
    .product-detail, .article-main { padding-block: 28px 56px; }
    .product-description { padding-top: 40px; }
    .news-card { grid-template-columns: 60px 1fr; gap: 16px; }
    .news-arrow { display: none; }
    .entry-content h2 { font-size: 25px; }
    .related-reading { margin-top: 36px; }
}

/* Brand directory: typographic equal-height canvases; no fabricated marks, no rounded logo crop */
.brand-logo, .footer-brand-logo { border-radius: 0; height: 34px; width: auto; object-fit: contain; }
.footer-brand-link { display: inline-block; margin-bottom: 16px; }
.footer-brand-logo { height: 32px; }
.brand-directory {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 20px;
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    align-items: stretch;
}
.brand-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    padding: 24px 18px;
    border-top: 1px solid var(--line);
    background: var(--ice);
    text-align: center;
}
.brand-name { font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -0.02em; }
.brand-export { margin: 28px 0 0; font-size: 16px; }
.brands-logo-note { max-width: 72ch; }
.brands-page-link { margin-top: 28px; }
@media (max-width: 767px) {
    .brand-directory { grid-template-columns: 1fr 1fr; gap: 12px; }
    .brand-tile { min-height: 108px; padding: 20px 12px; }
    .brand-name { font-size: 17px; }
}
@media (max-width: 390px) {
    .brand-directory { grid-template-columns: 1fr; }
    .brand-tile { min-height: 96px; }
}


/* Supplied product & brand catalog (white-bg studio photos live here, never on homepage) */
.brand-tile { padding: 0; }
.brand-tile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 132px;
    padding: 24px 18px;
    transition: background 0.16s ease, border-color 0.16s ease;
}
.brand-tile-link:hover { background: var(--mist); color: var(--navy); }
.brand-tile-cta { font-size: 12.5px; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.catalog-source-note, .catalog-db-note {
    padding: 14px 18px;
    border-left: 3px solid var(--navy);
    background: var(--ice);
    color: var(--ink);
    font-size: 14px;
    margin: 0 0 28px;
}
.supplied-catalog-divider { margin: 48px 0 20px; padding-top: 32px; border-top: 1px solid var(--line); }
.catalog-filters {
    display: grid;
    gap: 16px;
    padding: 20px 22px;
    background: var(--ice);
    border-radius: var(--radius, 14px);
    margin-bottom: 36px;
}
.catalog-filter-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px 20px;
    align-items: start;
}
.filter-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(21, 35, 52, 0.72);
    padding-top: 7px;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border: 1px solid rgba(21, 35, 52, 0.18);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-size: 13.5px;
    line-height: 1.3;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.filter-pill:hover { border-color: var(--navy); color: var(--navy); }
.filter-pill.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pill-count { font-size: 11.5px; opacity: 0.75; }
.catalog-status-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 20px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 14px;
}
.catalog-count { margin: 0; }
.catalog-status-actions { display: flex; align-items: center; gap: 20px; }
.filter-reset { background: none; border: 0; padding: 0 0 3px; color: var(--navy); }
.catalog-empty {
    padding: 40px 24px;
    background: var(--ice);
    border-radius: var(--radius, 14px);
    text-align: center;
    margin-bottom: 32px;
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
    align-items: stretch;
    margin-bottom: 44px;
}
.catalog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius, 14px);
    background: var(--white);
    overflow: hidden;
}
.catalog-card[hidden] { display: none; }
.catalog-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    padding: 14px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}
.catalog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 20px;
    gap: 10px;
}
.catalog-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12px; }
.catalog-brand {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--ice);
    color: var(--navy);
    font-weight: 650;
}
.catalog-brand.is-unconfirmed { background: #F1F3F5; color: rgba(21, 35, 52, 0.72); font-weight: 500; }
.catalog-type { color: rgba(21, 35, 52, 0.7); }
.catalog-card-body h3 {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.4;
    font-weight: 600;
    min-height: 2.8em;
}
.catalog-card-body .card-actions {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.item-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin: 28px 0 36px;
}
@media (max-width: 1024px) {
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .catalog-filter-row { grid-template-columns: 1fr; gap: 8px; }
    .filter-label { padding-top: 0; }
    .catalog-filters { padding: 16px; }
    .catalog-grid { grid-template-columns: 1fr; gap: 20px; }
    .catalog-card-body h3 { min-height: 0; }
    .brand-tile-link { min-height: 108px; padding: 20px 12px; }
}
@media (max-width: 390px) {
    .brand-tile-link { min-height: 96px; }
}

/* Dual-entry actions & routed RFQ/brand distribution fields */
.hero-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 4px;
    color: var(--mist);
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid rgba(221, 232, 245, 0.45);
}
.hero-inline-link:hover { color: var(--white); border-bottom-color: var(--white); }
.home-hero .button-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(245, 248, 252, 0.55);
}
.home-hero .button-secondary:hover {
    background: rgba(245, 248, 252, 0.14);
    color: var(--white);
    border-color: var(--white);
}
.section-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    margin-top: 22px;
}
.rfq-type-row { margin-bottom: 18px; }
.rfq-type-hint { margin: 6px 0 18px; }
.rfq-subgrid { display: grid; gap: 18px; margin-bottom: 18px; }
.rfq-subgrid[hidden] { display: none; }
@media (max-width: 767px) {
    .hero-actions { align-items: stretch; }
}

/* Enterprise & 7 product brand logos (unmodified originals, object-fit: contain, registration marks intact) */
.enterprise-identity-card {
    display: grid;
    grid-template-columns: minmax(180px, 280px) 1fr;
    gap: 20px 28px;
    align-items: center;
    padding: 18px 22px;
    margin: 24px 0 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm, 10px);
}
.enterprise-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px;
    padding: 8px 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}
.enterprise-logo-frame img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}
.enterprise-identity-copy p { margin: 0; }
.enterprise-identity-copy .eyebrow { margin-bottom: 6px; }
.brands-subhead { margin: 8px 0 16px; font-size: 16px; font-weight: 650; color: var(--navy); }
.brand-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 88px;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}
.brand-logo-frame img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}
.catalog-brand-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.brand-logo-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid rgba(21, 35, 52, 0.18);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font-size: 12.5px;
    line-height: 1.25;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.brand-logo-chip:hover { border-color: var(--navy); color: var(--navy); }
.brand-logo-chip.is-active { background: var(--ice); border-color: var(--navy); color: var(--navy); font-weight: 650; }
.brand-logo-chip-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 30px;
    padding: 2px 4px;
    background: var(--white);
    border-radius: 4px;
    flex-shrink: 0;
}
.brand-logo-chip-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}
@media (max-width: 767px) {
    .enterprise-identity-card { grid-template-columns: 1fr; padding: 16px; }
    .brand-logo-frame { height: 74px; padding: 8px 10px; }
}
