/* ==========================================================================
   Hualinfei B2B Theme — Main Stylesheet
   Design system: Apple-style premium B2B, industrial & technology oriented.
   Brand colors derived from the Hualinfei logo (blue / red / white / dark gray).
   ========================================================================== */

/* --------------------------------------------
   1. Design tokens
-------------------------------------------- */
:root {
    /* Brand */
    --blue: #0068f4;
    --blue-strong: #0757cf;
    --blue-deep: #073fba;
    --blue-bright: #0b82ff;
    --blue-soft: rgba(0, 104, 244, 0.09);
    --red: #ef0029;
    --red-deep: #c80035;
    --red-soft: rgba(239, 0, 41, 0.07);

    /* Surfaces & ink (light) */
    --bg: #ffffff;
    --bg-soft: #f5f6f8;
    --bg-card: #ffffff;
    --paper: #fcfcfa;
    --ink: #14171c;
    --ink-2: #454c56;
    --ink-3: #68707c;
    --line: #e7e9ee;
    --line-strong: #d4d8e0;
    --dark-section: #0f1217;
    --header-bg: rgba(255, 255, 255, 0.8);

    /* Shape */
    --radius-s: 10px;
    --radius-m: 14px;
    --radius-l: 20px;
    --radius-xl: 26px;
    --radius-pill: 999px;

    /* Elevation */
    --shadow-s: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-m: 0 8px 24px rgba(16, 24, 40, 0.07);
    --shadow-l: 0 20px 48px rgba(16, 24, 40, 0.1);
    --shadow-blue: 0 10px 26px rgba(0, 104, 244, 0.26);

    /* Type */
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

    /* Layout */
    --container: 1180px;
    --section-pad: clamp(76px, 9vw, 120px);
}

[data-theme="dark"] {
    --blue: #3d8bff;
    --blue-strong: #62a5ff;
    --blue-bright: #62a5ff;
    --blue-soft: rgba(61, 139, 255, 0.16);
    --red: #ff4d64;
    --red-soft: rgba(255, 77, 100, 0.12);

    --bg: #0b0d11;
    --bg-soft: #0f1319;
    --bg-card: #131720;
    --paper: #191d24;
    --ink: #eef1f6;
    --ink-2: #c2c9d6;
    --ink-3: #929bad;
    --line: #212836;
    --line-strong: #303a4c;
    --dark-section: #0d1119;
    --header-bg: rgba(11, 13, 17, 0.76);

    --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-m: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-l: 0 20px 48px rgba(0, 0, 0, 0.5);
    --shadow-blue: 0 10px 26px rgba(61, 139, 255, 0.3);
}

/* --------------------------------------------
   2. Base & reset
-------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    max-width: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    transition: background-color 260ms ease, color 260ms ease;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

video,
svg {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
}

::selection {
    color: #ffffff;
    background: var(--blue);
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 200;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    color: #ffffff;
    background: var(--blue);
    font-size: 14px;
    font-weight: 650;
    transition: top 160ms ease;
}

.skip-link:focus {
    top: 12px;
}

/* --------------------------------------------
   3. Typography
-------------------------------------------- */
h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink);
    font-weight: 730;
    letter-spacing: -0.022em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.45rem, 4.8vw, 3.7rem);
    line-height: 1.06;
    letter-spacing: -0.032em;
}

h2 {
    font-size: clamp(1.9rem, 3.3vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.028em;
}

h3 {
    font-size: 1.08rem;
    line-height: 1.42;
    letter-spacing: -0.01em;
}

p {
    margin: 0;
}

/* Section eyebrow label — blue text with a red dash marker */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.section-eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--red);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 24px 64px;
    align-items: end;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.section-heading p,
.section-intro {
    max-width: 660px;
    color: var(--ink-3);
    font-size: 16.5px;
    line-height: 1.7;
}

.section-intro {
    margin: 14px 0 0;
}

/* --------------------------------------------
   4. Buttons
-------------------------------------------- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 650;
    letter-spacing: 0.005em;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:active {
    transform: translateY(0);
}

.button--primary {
    color: #ffffff;
    background: var(--blue);
}

.button--primary:hover {
    color: #ffffff;
    background: var(--blue-strong);
    box-shadow: var(--shadow-blue);
}

.button--secondary {
    color: var(--ink);
    border-color: var(--line-strong);
    background: transparent;
}

.button--secondary:hover {
    color: var(--ink);
    border-color: var(--ink-3);
    background: var(--bg-soft);
}

.button--dark {
    color: var(--ink);
    background: #ffffff;
}

.button--dark:hover {
    color: var(--ink);
    background: #eef1f6;
    box-shadow: var(--shadow-m);
}

.button--whatsapp {
    color: #ffffff;
    background: var(--ink);
}

.button--whatsapp:hover {
    color: #ffffff;
    background: var(--ink-2);
}

.button.is-copied,
[data-copy-link].is-copied,
[data-copy-text].is-copied {
    border-color: transparent;
    color: #ffffff;
    background: #15803d;
}

.button[data-compare-add].is-active {
    color: var(--blue);
    border-color: var(--blue);
    background: var(--blue-soft);
}

/* --------------------------------------------
   5. Header
-------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid var(--line);
    background: var(--header-bg);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    transition: background-color 260ms ease, border-color 260ms ease;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 72px;
}

.site-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.site-logo img {
    width: auto;
    max-width: 168px;
    max-height: 50px;
}

.site-navigation {
    margin-left: auto;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu a {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    color: var(--ink-2);
    font-size: 14.5px;
    font-weight: 560;
    transition: color 160ms ease;
}

.primary-menu a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 200ms ease;
}

.primary-menu a:hover {
    color: var(--ink);
}

.primary-menu a:hover::after {
    transform: scaleX(1);
}

.header-cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: var(--radius-pill);
    color: #ffffff;
    background: var(--blue);
    font-size: 13.5px;
    font-weight: 650;
    white-space: nowrap;
    touch-action: manipulation;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.header-cta:hover {
    color: #ffffff;
    background: var(--blue-strong);
    box-shadow: var(--shadow-blue);
    transform: translateY(-1px);
}

/* Theme toggle (sun / moon) */
.theme-toggle {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--ink-2);
    background: var(--bg-card);
    cursor: pointer;
    touch-action: manipulation;
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
    color: var(--blue);
    border-color: var(--blue);
    transform: translateY(-1px);
}

.theme-toggle__icon {
    display: block;
    width: 17px;
    height: 17px;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='4' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 2V4M12 20V22M4.93 4.93L6.34 6.34M17.66 17.66L19.07 19.07M2 12H4M20 12H22M4.93 19.07L6.34 17.66M17.66 6.34L19.07 4.93' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='4' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 2V4M12 20V22M4.93 4.93L6.34 6.34M17.66 17.66L19.07 19.07M2 12H4M20 12H22M4.93 19.07L6.34 17.66M17.66 6.34L19.07 4.93' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

[data-theme="dark"] .theme-toggle__icon {
    mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Mobile menu toggle (shown in responsive.css) */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    color: var(--ink);
    background: var(--bg-card);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
}

.menu-toggle__lines {
    display: grid;
    gap: 4px;
    width: 16px;
}

.menu-toggle__lines span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child {
    transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

/* --------------------------------------------
   6. Breadcrumbs
-------------------------------------------- */
.breadcrumbs {
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    transition: background-color 260ms ease, border-color 260ms ease;
}

.breadcrumbs__inner {
    padding: 14px 0;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ink-3);
    font-size: 13px;
}

.breadcrumbs__item:not(:last-child)::after {
    content: "/";
    margin-left: 4px;
    color: var(--line-strong);
}

.breadcrumbs__item a {
    color: var(--ink-3);
    transition: color 160ms ease;
}

.breadcrumbs__item a:hover {
    color: var(--blue);
}

.breadcrumbs__item [aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
}

/* --------------------------------------------
   7. Hero (front page)
-------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 9vw, 118px) 0 clamp(68px, 8vw, 108px);
    background: var(--bg);
    transition: background-color 260ms ease;
}

.hero::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -12%;
    width: 56vw;
    height: 56vw;
    max-width: 860px;
    max-height: 860px;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--blue-soft), transparent 72%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(44px, 6vw, 80px);
    align-items: center;
}

.hero h1 {
    margin: 0 0 22px;
}

.hero__subtitle {
    margin: 0 0 14px;
    color: var(--ink-2);
    font-size: clamp(1.12rem, 1.7vw, 1.3rem);
    font-weight: 520;
    line-height: 1.5;
    letter-spacing: -0.008em;
}

.hero__text {
    margin: 0 0 32px;
    max-width: 520px;
    color: var(--ink-3);
    font-size: 16px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero__proof span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    color: var(--ink-3);
    background: var(--bg-card);
    font-size: 13px;
    font-weight: 580;
    transition: background-color 260ms ease, border-color 260ms ease;
}

.hero__showcase {
    position: relative;
}

.hero__showcase::before {
    content: "";
    position: absolute;
    inset: -7% -9%;
    z-index: 0;
    border-radius: 40px;
    background:
        radial-gradient(52% 52% at 78% 18%, var(--blue-soft), transparent 70%),
        radial-gradient(44% 44% at 14% 86%, var(--red-soft), transparent 70%);
    pointer-events: none;
}

.hero__showcase a {
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--bg-soft);
    box-shadow: var(--shadow-l);
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.hero__showcase a:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(16, 24, 40, 0.14);
}

.hero__showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600 / 430;
}

/* --------------------------------------------
   8. Sections — base rhythm
-------------------------------------------- */
.section {
    padding: var(--section-pad) 0;
    transition: background-color 260ms ease;
}

.product-categories,
.why-choose,
.home-conversion,
.product-gallery-section,
.contact-rfq,
.about-support,
.quality-focus,
.compare-tips {
    background: var(--bg-soft);
}

/* --------------------------------------------
   9. Home — conversion path (Sourcing Path)
-------------------------------------------- */
.home-conversion {
    padding: clamp(64px, 8vw, 104px) 0;
}

.home-conversion__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
}

.home-conversion__head h2 {
    margin-bottom: 16px;
}

.home-conversion__head p:not(.section-eyebrow) {
    max-width: 400px;
    color: var(--ink-3);
    font-size: 15.5px;
    line-height: 1.7;
}

.home-conversion__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-conversion-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--bg-card);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 260ms ease;
}

.home-conversion-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-m);
    transform: translateY(-3px);
}

.home-conversion-card > span {
    margin-bottom: 16px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-conversion-card h3 {
    margin-bottom: 10px;
    font-size: 1.12rem;
}

.home-conversion-card p {
    margin-bottom: 20px;
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.65;
}

.home-conversion-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--blue);
    font-size: 14px;
    font-weight: 650;
}

.home-conversion-card a::after {
    content: "\2192";
    transition: transform 180ms ease;
}

.home-conversion-card a:hover::after {
    transform: translateX(3px);
}

/* --------------------------------------------
   10. Home — capabilities
-------------------------------------------- */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.capability-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 260ms ease;
}

.capability-item:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-m);
    transform: translateY(-2px);
}

.capability-item > span {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 8px;
    border-radius: 2px;
    background: var(--red);
}

.capability-item:nth-child(even) > span {
    background: var(--blue);
}

.capability-item h3 {
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.capability-item p {
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.65;
}

.capability-image,
.application-image {
    margin: 0;
}

.capability-image__img,
.application-image__img {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-m);
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.capability-image figcaption,
.application-image figcaption,
.product-gallery__main figcaption {
    margin-top: 14px;
    color: var(--ink-3);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

/* --------------------------------------------
   11. Home — product categories
-------------------------------------------- */
.product-categories h2 {
    max-width: 720px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: clamp(32px, 4.5vw, 48px);
}

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 260ms ease;
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-deep), var(--blue) 55%, var(--red));
    opacity: 0.32;
    transition: opacity 200ms ease;
}

.category-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-m);
    transform: translateY(-3px);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card h3 {
    margin-bottom: 10px;
}

.category-card h3 a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.category-card p {
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.65;
}

/* --------------------------------------------
   12. Home — applications
-------------------------------------------- */
.application-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: clamp(32px, 4.5vw, 48px);
}

.application-item {
    padding: 24px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--blue);
    border-radius: var(--radius-m);
    background: var(--bg-card);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 260ms ease;
}

.application-item:nth-child(even) {
    border-left-color: var(--red);
}

.application-item:hover {
    box-shadow: var(--shadow-m);
    transform: translateY(-2px);
}

.application-item h3 {
    margin-bottom: 8px;
}

.application-item p {
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.65;
}

.applications .application-image {
    margin-top: clamp(32px, 4.5vw, 48px);
}

/* --------------------------------------------
   13. Home — why choose
-------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.why-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 260ms ease;
}

.why-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-m);
    transform: translateY(-3px);
}

.why-card h3 {
    margin-bottom: 10px;
    font-size: 1.02rem;
}

.why-card p {
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.65;
}

/* --------------------------------------------
   14. Dark CTA bands (inquiry / sample / about / quality)
-------------------------------------------- */
.inquiry-cta,
.request-sample,
.about-cta,
.quality-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 8vw, 104px) 0;
    background: var(--dark-section);
}

.inquiry-cta::before,
.request-sample::before,
.about-cta::before,
.quality-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(42% 60% at 12% 0%, rgba(11, 130, 255, 0.16), transparent 70%),
        radial-gradient(38% 56% at 92% 100%, rgba(239, 0, 41, 0.12), transparent 70%);
    pointer-events: none;
}

.inquiry-cta__inner,
.request-sample__inner,
.about-cta__inner,
.quality-cta__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 32px 64px;
    align-items: center;
}

.inquiry-cta .section-eyebrow,
.request-sample .section-eyebrow,
.about-cta .section-eyebrow,
.quality-cta .section-eyebrow {
    color: var(--blue-bright);
}

.inquiry-cta h2,
.request-sample h2,
.about-cta h2,
.quality-cta h2 {
    margin-bottom: 14px;
    color: #ffffff;
}

.inquiry-cta p:not(.section-eyebrow),
.request-sample p:not(.section-eyebrow),
.about-cta p:not(.section-eyebrow),
.quality-cta p:not(.section-eyebrow) {
    max-width: 560px;
    color: rgba(235, 239, 246, 0.72);
    font-size: 15.5px;
    line-height: 1.7;
}

.inquiry-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.request-sample__inner > .button,
.about-cta__inner > .button,
.quality-cta__inner > .button {
    justify-self: end;
}

/* --------------------------------------------
   15. SEO keyword block (low visibility)
-------------------------------------------- */
.seo-keywords {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    background: var(--bg);
    transition: background-color 260ms ease, border-color 260ms ease;
}

.seo-keywords p {
    max-width: 920px;
    color: var(--ink-3);
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.78;
}

/* --------------------------------------------
   16. Footer
-------------------------------------------- */
.site-footer {
    color: rgba(235, 239, 246, 0.72);
    background: #0b0d11;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px 80px;
    padding: clamp(52px, 7vw, 80px) 0;
}

.site-footer__brand p {
    max-width: 460px;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer__name {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-footer__columns {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links a {
    color: rgba(235, 239, 246, 0.78);
    font-size: 14px;
    font-weight: 560;
    transition: color 160ms ease;
}

.site-footer__links a:hover {
    color: #ffffff;
}

.site-footer__note {
    max-width: 440px;
    color: rgba(235, 239, 246, 0.5);
    font-size: 13px;
    line-height: 1.7;
}

/* --------------------------------------------
   17. Product archive & product cards
-------------------------------------------- */
.product-archive {
    padding: clamp(56px, 7vw, 88px) 0 var(--section-pad);
}

.product-archive h1 {
    max-width: 780px;
}

.product-archive .product-grid {
    margin-top: clamp(36px, 5vw, 56px);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: clamp(26px, 3.5vw, 36px) 0 clamp(32px, 4.5vw, 48px);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    color: var(--ink-2);
    background: var(--bg-card);
    font-size: 13px;
    font-weight: 600;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.filter-chip:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-1px);
}

.filter-chip.is-active {
    border-color: var(--ink);
    color: #ffffff;
    background: var(--ink);
}

.filter-chip__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    color: var(--ink-3);
    background: var(--bg-soft);
    font-size: 11px;
    font-weight: 700;
}

.filter-chip.is-active .filter-chip__count {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.86);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--bg-card);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 260ms ease;
}

.product-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-l);
    transform: translateY(-4px);
}

.product-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-soft);
}

.product-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 380ms ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__image .product-image-placeholder {
    position: absolute;
    inset: 0;
    min-height: 0;
}

.product-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 22px;
}

.product-meta {
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.product-card__body h2,
.product-card__body h3 {
    margin-bottom: 10px;
    font-size: 17.5px;
    line-height: 1.38;
    letter-spacing: -0.012em;
}

.product-card__body h2 a,
.product-card__body h3 a {
    transition: color 160ms ease;
}

.product-card__body h2 a:hover,
.product-card__body h3 a:hover {
    color: var(--blue);
}

.product-card__body > p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 18px;
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.62;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: auto;
}

.product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    color: var(--blue);
    background: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

.product-card__link::after {
    content: "\2192";
    transition: transform 180ms ease;
}

.product-card__link:hover::after {
    transform: translateX(3px);
}

.product-card__link--quiet {
    color: var(--ink-3);
    font-weight: 600;
}

.product-card__link--quiet:hover {
    color: var(--ink);
}

.product-card__link--quiet::after {
    content: none;
}

.product-card__link--quiet.is-active {
    color: var(--blue);
}

/* Pagination */
.pagination {
    margin-top: clamp(36px, 5vw, 56px);
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-s);
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 600;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.pagination .page-numbers:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.pagination .page-numbers.current {
    border-color: var(--blue);
    color: #ffffff;
    background: var(--blue);
}

/* Placeholder */
.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    color: var(--ink-3);
    background: var(--bg-soft);
    font-size: 14px;
    font-weight: 700;
}

/* --------------------------------------------
   18. Single product
-------------------------------------------- */
.product-detail__hero {
    padding: clamp(48px, 6.5vw, 84px) 0;
}

.product-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(40px, 5.5vw, 72px);
    align-items: center;
}

.product-detail__content h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3.6vw, 2.9rem);
}

.product-detail__lead {
    margin-bottom: 22px;
    max-width: 540px;
    color: var(--ink-3);
    font-size: 16.5px;
    line-height: 1.7;
}

.product-detail .product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.product-detail .product-meta a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    color: var(--ink-2);
    background: var(--bg-card);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.06em;
    transition: color 160ms ease, border-color 160ms ease;
}

.product-detail .product-meta a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.product-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-detail__image {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--bg-soft);
    box-shadow: var(--shadow-m);
}

.product-detail__image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-detail__body {
    padding-top: 0;
}

.product-detail__body-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: start;
}

.entry-content {
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.75;
}

.entry-content > h2:first-child {
    margin-top: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.entry-content h2,
.entry-content h3 {
    margin: 1.6em 0 0.6em;
}

.entry-content p {
    margin: 0 0 1.1em;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.2em;
    padding-left: 1.3em;
}

.entry-content li {
    margin-bottom: 0.45em;
}

.entry-content li::marker {
    color: var(--blue);
}

.entry-content strong {
    color: var(--ink);
}

.product-inquiry {
    position: sticky;
    top: 96px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--bg-card);
    box-shadow: var(--shadow-s);
}

.product-inquiry h2 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.product-inquiry p {
    margin-bottom: 20px;
    color: var(--ink-3);
    font-size: 14px;
    line-height: 1.65;
}

.product-inquiry .button {
    width: 100%;
}

/* Product gallery */
.product-gallery-section__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: start;
}

.product-gallery-section__copy p:not(.section-eyebrow) {
    margin-top: 16px;
    max-width: 420px;
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.7;
}

.product-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 20px;
    align-items: stretch;
}

.product-gallery__main {
    margin: 0;
}

.product-gallery__main img {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-m);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    cursor: zoom-in;
}

.product-gallery__main figcaption {
    text-align: left;
}

.product-gallery__notes {
    display: grid;
    gap: 16px;
    align-content: start;
}

.product-gallery__notes article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
}

.product-gallery__notes h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.product-gallery__notes p {
    color: var(--ink-3);
    font-size: 13.5px;
    line-height: 1.65;
}

/* Advantages */
.product-advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: clamp(30px, 4vw, 44px);
}

.product-advantage {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 260ms ease;
}

.product-advantage:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-m);
    transform: translateY(-2px);
}

.product-advantage h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.product-advantage p {
    color: var(--ink-3);
    font-size: 13.5px;
    line-height: 1.65;
}

/* Related products & applications */
.related-products h2,
.product-related-applications h2 {
    margin-bottom: 0;
}

.related-products .product-grid {
    margin-top: clamp(28px, 4vw, 40px);
}

.product-related-applications .section-intro {
    margin-bottom: 0;
}

/* SEO internal links */
.seo-internal-links {
    width: min(100% - 48px, var(--container));
    margin: 0 auto;
    padding: 0 0 var(--section-pad);
}

.seo-internal-links__title {
    margin-bottom: 12px;
    color: var(--ink-3);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seo-internal-links__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.seo-internal-links__list a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    color: var(--ink-2);
    background: var(--bg-card);
    font-size: 13px;
    font-weight: 600;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.seo-internal-links__list a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* Sticky inquiry bar */
.product-sticky-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 -10px 34px rgba(16, 24, 40, 0.09);
    transform: translateY(110%);
    transition: transform 260ms ease;
}

.product-sticky-bar.is-visible {
    transform: translateY(0);
}

.product-sticky-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.product-sticky-bar__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.product-sticky-bar__text strong {
    overflow: hidden;
    color: var(--ink);
    font-size: 14.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-sticky-bar__text span {
    overflow: hidden;
    color: var(--ink-3);
    font-size: 12.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-sticky-bar__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.product-sticky-bar__actions .button {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13.5px;
}

/* --------------------------------------------
   19. Recently viewed
-------------------------------------------- */
.recently-viewed__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: clamp(26px, 3.5vw, 38px);
}

.recent-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 260ms ease;
}

.recent-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-m);
    transform: translateY(-2px);
}

.recent-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-soft);
}

.recent-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-card__title {
    display: block;
    padding: 14px 16px;
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 620;
    line-height: 1.45;
}

/* --------------------------------------------
   20. Inner page heroes (About / Quality / Contact / Compare)
-------------------------------------------- */
.about-hero,
.quality-hero,
.contact-hero,
.compare-hero {
    padding: clamp(56px, 7.5vw, 96px) 0 clamp(44px, 6vw, 72px);
    background: var(--bg);
    transition: background-color 260ms ease;
}

.about-hero h1,
.quality-hero h1,
.contact-hero h1,
.compare-hero h1 {
    max-width: 820px;
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 4.2vw, 3.2rem);
}

.about-hero__intro,
.quality-hero__intro,
.contact-hero__intro {
    max-width: 640px;
    color: var(--ink-3);
    font-size: 16.5px;
    line-height: 1.7;
}

/* --------------------------------------------
   21. Contact page
-------------------------------------------- */
.contact-hero__inner {
    display: grid;
    gap: 36px;
}

.contact-hero__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--bg-card);
    box-shadow: var(--shadow-s);
}

.contact-hero__bar > div:first-child {
    display: grid;
    gap: 3px;
}

.contact-hero__bar span {
    color: var(--ink-3);
    font-size: 11.5px;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-hero__bar strong {
    color: var(--ink);
    font-size: 15.5px;
}

.contact-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 8px 0 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
}

.contact-trust-strip span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 620;
}

.contact-trust-strip span::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}

.contact-trust-strip span + span {
    border-left: 1px solid var(--line);
}

.contact-content__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 22px;
}

.contact-panel {
    padding: clamp(26px, 3.5vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--bg-card);
}

.contact-panel__head p:not(.section-eyebrow) {
    margin-top: 14px;
    max-width: 520px;
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.7;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.contact-method {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-soft);
    transition: background-color 260ms ease, border-color 160ms ease;
}

.contact-method:hover {
    border-color: var(--blue);
}

.contact-method__label {
    display: grid;
    gap: 3px;
}

.contact-method__label span {
    color: var(--ink);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-method__label small {
    color: var(--ink-3);
    font-size: 12.5px;
}

.contact-method__body a {
    color: var(--blue);
    font-size: 15px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.contact-method__body a:hover {
    text-decoration: underline;
}

.contact-details {
    display: grid;
    margin: 22px 0 0;
}

.contact-details > div {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.contact-details dt {
    color: var(--ink-3);
    font-size: 11.5px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-details dd {
    margin: 0;
    color: var(--ink);
    font-size: 14.5px;
    line-height: 1.6;
}

/* RFQ guidance */
.contact-rfq__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px 56px;
    align-items: start;
}

.contact-rfq__copy p:not(.section-eyebrow) {
    margin-top: 14px;
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.7;
}

.contact-rfq__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-rfq__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    color: var(--ink-2);
    background: var(--bg-card);
    font-size: 14px;
    font-weight: 620;
}

.contact-rfq__list li::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}

.inquiry-template {
    grid-column: 1 / -1;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--bg-card);
}

.inquiry-template__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}

.inquiry-template__head h3 {
    font-size: 1rem;
}

.inquiry-template__head .button {
    min-height: 38px;
    padding: 0 16px;
    font-size: 13px;
}

.inquiry-template__body {
    overflow-x: auto;
    margin: 0;
    padding: 22px;
    color: var(--ink-2);
    background: var(--bg-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.inquiry-template__hint {
    padding: 14px 22px;
    border-top: 1px solid var(--line);
    color: var(--ink-3);
    font-size: 13px;
}

/* RFQ form */
.contact-form-section__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.contact-form-section__copy {
    position: sticky;
    top: 96px;
}

.contact-form-section__copy p:not(.section-eyebrow) {
    margin-top: 14px;
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.7;
}

.rfq-progress {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.rfq-progress__track {
    overflow: hidden;
    height: 6px;
    border-radius: var(--radius-pill);
    background: var(--line);
}

.rfq-progress__bar {
    height: 100%;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--blue-deep), var(--blue));
    transition: width 260ms ease;
}

.rfq-progress span {
    color: var(--ink-3);
    font-size: 12.5px;
    font-weight: 620;
}

.rfq-message {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: var(--radius-s);
    font-size: 14px;
    line-height: 1.6;
}

.rfq-message strong {
    display: block;
    margin-bottom: 4px;
}

.rfq-message--success {
    border: 1px solid rgba(21, 128, 61, 0.28);
    color: #146c43;
    background: rgba(21, 128, 61, 0.08);
}

.rfq-message--error {
    border: 1px solid rgba(239, 0, 41, 0.3);
    color: var(--red-deep);
    background: var(--red-soft);
}

.rfq-form {
    padding: clamp(24px, 3.5vw, 34px);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--bg-card);
    box-shadow: var(--shadow-s);
}

.rfq-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.rfq-form__wide {
    grid-column: 1 / -1;
}

.rfq-form label {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.rfq-form label > span {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 650;
}

.rfq-form label small {
    color: var(--ink-3);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rfq-form__field--required small {
    color: var(--blue);
}

.rfq-form label em {
    color: var(--ink-3);
    font-size: 12.5px;
    font-style: normal;
}

.rfq-form input,
.rfq-form select,
.rfq-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-s);
    color: var(--ink);
    background: var(--bg);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 260ms ease;
}

.rfq-form textarea {
    min-height: 132px;
    padding: 12px 14px;
    resize: vertical;
}

.rfq-form select {
    appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236d7480' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.rfq-form input::placeholder,
.rfq-form textarea::placeholder {
    color: var(--ink-3);
    opacity: 0.8;
}

.rfq-form select:invalid {
    color: var(--ink-3);
}

.rfq-form input:focus,
.rfq-form select:focus,
.rfq-form textarea:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 4px var(--blue-soft);
}

.rfq-phone-control {
    display: grid;
    grid-template-columns: minmax(118px, 0.42fr) minmax(0, 1fr);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-s);
    background: var(--bg);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 260ms ease;
}

.rfq-phone-control select,
.rfq-phone-control input {
    min-height: 48px;
    border: 0;
    border-radius: 0;
    background-color: transparent;
}

.rfq-phone-control select {
    border-right: 1px solid var(--line);
}

.rfq-phone-control:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px var(--blue-soft);
}

.rfq-phone-control input:focus,
.rfq-phone-control select:focus {
    box-shadow: none;
}

.rfq-form__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 22px;
    margin-top: 24px;
}

.rfq-form__footer p {
    flex: 1 1 260px;
    color: var(--ink-3);
    font-size: 12.5px;
    line-height: 1.6;
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 12px;
    margin-top: clamp(26px, 3.5vw, 38px);
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
    transition: border-color 160ms ease, background-color 260ms ease;
}

.faq-item[open] {
    border-color: var(--line-strong);
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 14px 52px 14px 22px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--ink-2);
    font-size: 15px;
    font-weight: 500;
    transform: translateY(-50%);
    transition: transform 200ms ease, color 160ms ease, border-color 160ms ease;
}

.faq-item[open] summary::after {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    padding: 0 22px 20px;
    color: var(--ink-3);
    font-size: 14.5px;
    line-height: 1.7;
}

/* --------------------------------------------
   22. About page
-------------------------------------------- */
.about-overview__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 22px;
}

.about-card {
    padding: clamp(26px, 3.5vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--bg-card);
}

.about-card p:not(.section-eyebrow) {
    margin-top: 14px;
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.7;
}

.about-details {
    display: grid;
    margin: 24px 0 0;
}

.about-details > div {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.about-details dt {
    color: var(--ink-3);
    font-size: 11.5px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-details dd {
    margin: 0;
    color: var(--ink);
    font-size: 14.5px;
    line-height: 1.6;
}

.about-section-head {
    max-width: 720px;
    margin-bottom: clamp(30px, 4.5vw, 44px);
}

.about-section-head p:not(.section-eyebrow) {
    margin-top: 14px;
    color: var(--ink-3);
    font-size: 15.5px;
    line-height: 1.7;
}

.about-card-grid {
    display: grid;
    gap: 14px;
}

.about-card-grid--products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-card-grid--support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-card-grid--trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-mini-card {
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 260ms ease;
}

.about-mini-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-m);
    transform: translateY(-2px);
}

.about-mini-card h3 {
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.005em;
}

.about-support__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 32px 56px;
    align-items: start;
}

.about-support .about-section-head {
    margin-bottom: 0;
}

/* --------------------------------------------
   23. Quality page
-------------------------------------------- */
.quality-section-head {
    max-width: 760px;
    margin-bottom: clamp(30px, 4.5vw, 44px);
}

.quality-section-head p:not(.section-eyebrow) {
    margin-top: 14px;
    color: var(--ink-3);
    font-size: 15.5px;
    line-height: 1.7;
}

.quality-card-grid {
    display: grid;
    gap: 14px;
}

.quality-card-grid--overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quality-card-grid--products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quality-card {
    display: flex;
    align-items: center;
    min-height: 84px;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 260ms ease;
}

.quality-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-m);
    transform: translateY(-2px);
}

.quality-card h3 {
    font-size: 15px;
    font-weight: 650;
}

.quality-focus__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 32px 56px;
    align-items: start;
}

.quality-focus .quality-section-head {
    margin-bottom: 0;
}

.quality-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.quality-check-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    background: var(--bg-card);
}

.quality-check-card::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--blue);
}

.quality-check-card:nth-child(even)::before {
    background: var(--red);
}

.quality-check-card h3 {
    font-size: 14px;
    font-weight: 620;
}

.quality-process__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.quality-step-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 260ms ease;
}

.quality-step-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-m);
    transform: translateY(-2px);
}

.quality-step-card span {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 11.5px;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.quality-step-card h3 {
    margin-bottom: 8px;
    font-size: 15px;
}

.quality-step-card p {
    color: var(--ink-3);
    font-size: 13px;
    line-height: 1.65;
}

/* --------------------------------------------
   24. Compare page & dock
-------------------------------------------- */
.compare-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.compare-empty {
    padding: clamp(36px, 5vw, 56px);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-l);
    color: var(--ink-3);
    background: var(--bg-card);
    font-size: 15px;
    text-align: center;
}

.compare-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--bg-card);
}

.compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table th,
.compare-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
    border-bottom: 0;
}

.compare-table th {
    color: var(--ink);
    font-weight: 650;
}

.compare-table td {
    color: var(--ink-2);
}

.compare-table__label {
    width: 150px;
    color: var(--ink-3);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.compare-table__img {
    width: 120px;
    border-radius: var(--radius-s);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.compare-table a {
    color: var(--blue);
    font-weight: 620;
}

.compare-table a:hover {
    text-decoration: underline;
}

.compare-tips__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.compare-tips__list li {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    color: var(--ink-2);
    background: var(--bg-card);
    font-size: 13px;
    font-weight: 620;
}

.compare-dock {
    position: fixed;
    right: 20px;
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    z-index: 45;
    width: min(430px, calc(100vw - 32px));
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-l);
}

.compare-dock__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
}

.compare-dock__meta {
    display: grid;
    flex: 0 0 auto;
    line-height: 1.3;
}

.compare-dock__meta strong {
    color: var(--ink);
    font-size: 18px;
}

.compare-dock__meta span {
    color: var(--ink-3);
    font-size: 13px;
}

.compare-dock__thumbs {
    display: flex;
    flex: 1 1 auto;
    gap: 6px;
    overflow: hidden;
}

.compare-dock__thumbs img,
.compare-dock__placeholder {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    background: var(--bg-soft);
    object-fit: cover;
}

.compare-dock__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.compare-dock__actions .button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
}

/* --------------------------------------------
   25. Back to top
-------------------------------------------- */
.back-to-top {
    --scroll-progress: 0deg;
    position: fixed;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background:
        conic-gradient(var(--blue) var(--scroll-progress), var(--line) 0deg);
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 240ms ease, transform 240ms ease;
    pointer-events: none;
}

.back-to-top::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--bg-card);
    box-shadow: var(--shadow-m);
    transition: background-color 260ms ease;
}

.back-to-top::after {
    content: "";
    position: relative;
    z-index: 1;
    width: 16px;
    height: 16px;
    background-color: var(--ink);
    mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 19V5M5 12L12 5L19 12' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 19V5M5 12L12 5L19 12' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: background-color 260ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover::after {
    background-color: var(--blue);
}

body.has-product-sticky .back-to-top {
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

body.has-product-sticky .compare-dock {
    bottom: calc(164px + env(safe-area-inset-bottom, 0px));
}

/* --------------------------------------------
   26. Lightbox
-------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(8, 10, 14, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 0s linear 220ms;
    pointer-events: none;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 220ms ease, visibility 0s;
    pointer-events: auto;
}

/* Stage: caption / image / dots / toolbar in normal flow */
.lightbox__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    padding: 64px 24px 24px;
}

.lightbox__caption {
    flex: 0 0 auto;
    width: min(720px, 100%);
    margin: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lightbox__canvas {
    position: relative;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius-m);
    touch-action: none;
}

.lightbox__img {
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 226px);
    border-radius: var(--radius-m);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    transition: transform 160ms ease;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox__img.is-zoomed {
    cursor: grab;
}

.lightbox__img.is-panning {
    cursor: grabbing;
    transition: none;
}

.lightbox__img.is-dragging {
    transition: none !important;
    cursor: grabbing;
}

.lightbox__img.is-swiping {
    transition: none !important;
    cursor: grab;
}

/* Adjacent image — shown during swipe transition */
.lightbox__img--adjacent {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lightbox__img--adjacent.is-visible {
    opacity: 1;
}

.lightbox__img--adjacent.is-swiping {
    transition: none !important;
    cursor: grab;
}

/* Swiping state — hide chrome */
.lightbox.is-swiping .lightbox__caption,
.lightbox.is-swiping .lightbox__dots,
.lightbox.is-swiping .lightbox__toolbar,
.lightbox.is-swiping .lightbox__close--main {
    opacity: 0;
    transition: opacity 120ms ease;
}

.lightbox.is-swiping .lightbox__nav {
    opacity: 0 !important;
}

.lightbox.is-swiping .lightbox__canvas {
    overflow: visible;
}

/* Dragging state — hide chrome */
.lightbox.is-dragging .lightbox__caption,
.lightbox.is-dragging .lightbox__dots,
.lightbox.is-dragging .lightbox__toolbar,
.lightbox.is-dragging .lightbox__close--main {
    opacity: 0;
    transition: opacity 120ms ease;
}

.lightbox.is-dragging .lightbox__nav {
    opacity: 0 !important;
}

/* Page indicator dots */
.lightbox__dots {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 16px;
}

.lightbox__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    cursor: pointer;
    transition: background-color 200ms ease, transform 200ms ease;
}

.lightbox__dot.is-active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.4);
}

.lightbox__dot:hover {
    background: rgba(255, 255, 255, 0.55);
}

/* Prev / next arrows — desktop */
.lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #14171c;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease, opacity 200ms ease;
}

.lightbox__nav svg {
    display: block;
    width: 22px;
    height: 22px;
}

.lightbox__nav:hover {
    background: #ffffff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.36);
    transform: translateY(-50%) scale(1.07);
}

.lightbox__nav:disabled {
    cursor: default;
    opacity: 0.35;
}

.lightbox__nav:disabled:hover {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%);
}

.lightbox__nav--prev {
    left: 16px;
}

.lightbox__nav--next {
    right: 16px;
}

/* Close button */
.lightbox__close--main {
    position: absolute;
    top: calc(16px + env(safe-area-inset-top, 0px));
    right: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #14171c;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease, opacity 200ms ease;
}

.lightbox__close--main svg {
    display: block;
    width: 20px;
    height: 20px;
}

.lightbox__close--main:hover {
    background: #ffffff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.38);
    transform: scale(1.07);
}

/* Toolbar — HyperOS-style translucent pill bar */
.lightbox__toolbar {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lightbox__button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: none;
    border-radius: var(--radius-pill);
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color 160ms ease, color 160ms ease;
}

.lightbox__button svg {
    display: block;
    width: 18px;
    height: 18px;
}

.lightbox__button--reset {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.lightbox__button:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}



/* --------------------------------------------
   27. Reduced-motion support
-------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* --------------------------------------------
   28. Generic content (index fallback)
-------------------------------------------- */
.section--plain {
    padding: clamp(56px, 7vw, 88px) 0;
}

.content-entry {
    max-width: 780px;
}

.page-title {
    margin-bottom: 28px;
}

/* --------------------------------------------
   29. Dark-mode refinements
-------------------------------------------- */
[data-theme="dark"] .hero__showcase a {
    box-shadow: var(--shadow-l);
}

[data-theme="dark"] img {
    opacity: 0.96;
}

[data-theme="dark"] .rfq-message--success {
    border-color: rgba(52, 211, 153, 0.32);
    color: #6ee7b7;
    background: rgba(52, 211, 153, 0.1);
}

[data-theme="dark"] .rfq-message--error {
    border-color: rgba(255, 77, 100, 0.36);
    color: #ff8fa0;
    background: rgba(255, 77, 100, 0.1);
}

[data-theme="dark"] .button--dark {
    color: #101318;
    background: #f2f4f8;
}

/* Dark-mode primary CTAs: --blue (#3d8bff) under white text is 3.31:1
   (fails WCAG AA). Fall back to the light-mode blue, which is 4.90:1. */
[data-theme="dark"] .button--primary,
[data-theme="dark"] .header-cta,
[data-theme="dark"] .skip-link {
    background-color: #0068f4;
}

[data-theme="dark"] .button--primary:hover,
[data-theme="dark"] .header-cta:hover {
    background-color: #0757cf;
}

[data-theme="dark"] .button--whatsapp {
    color: #101318;
    background: #f2f4f8;
}

[data-theme="dark"] .button--whatsapp:hover {
    color: #101318;
    background: #dbe1ea;
}

[data-theme="dark"] .site-footer {
    border-top: 1px solid var(--line);
    background: #08090c;
}

[data-theme="dark"] .compare-empty {
    background: var(--bg-card);
}

/* --------------------------------------------
   30. Flag select (custom dropdown)
-------------------------------------------- */
.flag-select {
    position: relative;
    min-width: 0;
}

.flag-select__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    border: 0 !important;
    pointer-events: none !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.flag-select__trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-s);
    color: var(--ink);
    background: var(--bg);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 260ms ease;
}

.flag-select__trigger:hover {
    border-color: var(--ink-3);
}

.flag-select.is-open .flag-select__trigger,
.flag-select__trigger:focus-visible {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 4px var(--blue-soft);
}

.flag-select__current {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flag-select__current span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flag-select__current[data-empty="true"] {
    color: var(--ink-3);
}

.flag-select__chevron {
    flex: 0 0 auto;
    color: var(--ink-3);
    transition: transform 180ms ease;
}

.flag-select.is-open .flag-select__chevron {
    transform: rotate(180deg);
}

.flag-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 15px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.12);
}

.flag-select__list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 80;
    width: max-content;
    min-width: 100%;
    max-width: min(320px, calc(100vw - 40px));
    max-height: 280px;
    margin: 0;
    padding: 6px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
    box-shadow: var(--shadow-l);
    list-style: none;
}

.flag-select__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
}

.flag-select__option:hover,
.flag-select__option:focus {
    color: var(--ink);
    background: var(--bg-soft);
    outline: none;
}

.flag-select__option[aria-selected="true"] {
    color: var(--blue);
    background: var(--blue-soft);
    font-weight: 650;
}

/* Inside the unified phone control, the trigger is borderless. */
.rfq-phone-control .flag-select {
    min-width: 0;
}

.rfq-phone-control .flag-select__trigger {
    min-height: 48px;
    padding: 0 10px;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    font-size: 14px;
}

.rfq-phone-control .flag-select__trigger:hover {
    border-right-color: var(--line);
    background: transparent;
}

.rfq-phone-control .flag-select.is-open .flag-select__trigger,
.rfq-phone-control .flag-select__trigger:focus-visible {
    box-shadow: none;
}

.rfq-phone-control .flag-select__list {
    left: -1px;
    min-width: 250px;
}

[data-theme="dark"] .flag-icon {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   Product Catalog directory
   ========================================================================== */
.product-archive__tools {
    margin-top: clamp(18px, 3vw, 26px);
}

.catalog-hero {
    padding-bottom: clamp(48px, 7vw, 76px);
}

.catalog-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: clamp(32px, 7vw, 88px);
}

.catalog-hero__content {
    min-width: 0;
}

.catalog-hero__content .section-intro {
    max-width: 720px;
}

.catalog-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(132px, 1fr));
    gap: 10px;
    margin: 0;
}

.catalog-hero__stat {
    display: flex;
    min-width: 0;
    flex-direction: column-reverse;
    justify-content: center;
    gap: 4px;
    min-height: 112px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
    box-shadow: var(--shadow-s);
}

.catalog-hero__stat dt {
    color: var(--ink-3);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.02em;
}

.catalog-hero__stat dd {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 720;
    line-height: 1;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
}

.catalog-directory-section {
    padding-top: 0;
    padding-bottom: clamp(72px, 9vw, 112px);
}

.catalog-directory {
    display: grid;
    grid-template-columns: minmax(220px, 252px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(28px, 4vw, 52px);
}

.catalog-filter {
    position: sticky;
    top: 104px;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-card);
    box-shadow: var(--shadow-s);
}

.catalog-filter__head {
    padding: 0 4px 18px;
    border-bottom: 1px solid var(--line);
}

.catalog-filter__eyebrow,
.catalog-results__eyebrow,
.catalog-rfq__eyebrow {
    margin: 0 0 6px;
    color: var(--blue-strong);
    font-size: 13px;
    font-weight: 720;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.catalog-filter__head h2 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.catalog-filter__list {
    display: grid;
    gap: 6px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.catalog-filter__link {
    display: flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px 8px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 620;
    line-height: 1.35;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.catalog-filter__link:hover {
    color: var(--ink);
    border-color: var(--line);
    background: var(--bg-soft);
}

.catalog-filter__link.is-active {
    color: #ffffff;
    border-color: #0068f4;
    background: #0068f4;
}

.catalog-filter__count {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 28px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border-radius: var(--radius-pill);
    background: var(--bg-soft);
    color: var(--ink-3);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.catalog-filter__link.is-active .catalog-filter__count {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.catalog-results {
    min-width: 0;
}

.catalog-results__toolbar {
    display: flex;
    min-height: 72px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--line);
}

.catalog-results__toolbar h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.8vw, 2.1rem);
    letter-spacing: -0.025em;
}

.catalog-results__summary {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: var(--ink-3);
    font-size: 14px;
    font-weight: 620;
}

.catalog-results__summary a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--blue-strong);
    font-weight: 680;
    text-underline-offset: 3px;
}

.catalog-product-grid {
    margin-top: clamp(24px, 4vw, 36px);
}

.catalog-product-card {
    min-width: 0;
}

.catalog-product-card__category {
    display: inline-flex;
    align-self: flex-start;
    min-height: 44px;
    align-items: center;
    margin: -8px -8px 0;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
}

.catalog-product-card__category:hover {
    color: var(--blue-strong);
    background: var(--blue-soft);
}

.catalog-product-card .product-card__body > p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.catalog-product-card .product-card__actions {
    margin-top: auto;
}

.catalog-product-card .product-card__link {
    min-height: 44px;
}

.catalog-empty {
    margin-top: 28px;
    padding: clamp(32px, 6vw, 64px);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-l);
    background: var(--bg-soft);
    text-align: center;
}

.catalog-empty h3 {
    margin: 0 0 10px;
}

.catalog-empty p {
    max-width: 38em;
    margin: 0 auto 22px;
    color: var(--ink-2);
}

.catalog-pagination {
    margin-top: clamp(32px, 5vw, 52px);
}

.catalog-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-pagination a,
.catalog-pagination span {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--ink-2);
    font-weight: 650;
    text-decoration: none;
}

.catalog-pagination .current {
    border-color: #0068f4;
    background: #0068f4;
    color: #ffffff;
}

.catalog-rfq-section {
    padding-top: 0;
}

.catalog-rfq {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 5vw, 64px);
    padding: clamp(28px, 5vw, 52px);
    border-radius: var(--radius-l);
    background: #111821;
    box-shadow: var(--shadow-m);
}

.catalog-rfq__content {
    max-width: 720px;
}

.catalog-rfq__eyebrow {
    color: #79aefc;
}

.catalog-rfq h2 {
    margin: 0 0 12px;
    color: #ffffff;
}

.catalog-rfq p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.catalog-rfq > .button {
    flex: 0 0 auto;
}
/* ==========================================================================
   Catalog guidance: homepage banner + product-page nudge
   ========================================================================== */
.catalog-banner {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 44px);
    margin-top: clamp(28px, 4vw, 44px);
    padding: clamp(24px, 4vw, 44px);
    border-radius: var(--radius-l);
    background:
        radial-gradient(110% 130% at 90% -20%, rgba(0, 104, 244, 0.35), transparent 55%),
        radial-gradient(90% 120% at 5% 120%, rgba(239, 0, 41, 0.16), transparent 50%),
        linear-gradient(155deg, #10141b 0%, #141c2b 60%, #0b1f45 100%);
    color: #ffffff;
    overflow: hidden;
}

.catalog-banner__content {
    position: relative;
    z-index: 1;
    max-width: 34em;
}

.catalog-banner__eyebrow {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.catalog-banner__title {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.catalog-banner__text {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.6;
}

.catalog-banner__art {
    position: relative;
    flex: 0 0 auto;
    width: clamp(120px, 16vw, 180px);
    height: clamp(140px, 18vw, 200px);
    transform: rotate(4deg);
}

.catalog-banner__art span {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.catalog-banner__art span:nth-child(1) { transform: translateX(-18%) translateY(4%) rotate(-8deg); }
.catalog-banner__art span:nth-child(2) { transform: translateX(0) translateY(0) rotate(0deg); }
.catalog-banner__art span:nth-child(3) { transform: translateX(18%) translateY(-4%) rotate(8deg); }

/* Product page nudge */
.catalog-nudge {
    padding: 0 0 clamp(56px, 7vw, 88px);
}

.catalog-nudge__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: clamp(18px, 3vw, 28px);
    background: var(--blue-soft);
    border: 1px solid rgba(0, 104, 244, 0.14);
    border-radius: var(--radius-m);
}

.catalog-nudge__text {
    margin: 0;
    color: var(--ink-2);
    font-weight: 600;
}
