/* Guohua Rubber theme */

@font-face {
    font-family: "Archivo";
    src: url(../fonts/archivo-var.woff2) format("woff2-variations"), url(../fonts/archivo-var.woff2) format("woff2");
    font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face { font-family: "Plex Mono"; src: url(../fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
    --bg: #ffffff;
    --grey: #f4f5f7;
    --img-bg: #f1f2f4;
    --line: #e1e4e9;
    --ink: #1b2230;
    --text-2: #4a5363;
    --muted: #5f6673;
    --navy: #233a8c;
    --navy-dark: #18296a;
    --orange: #c94b08;
    --orange-dark: #a63d05;
    --ok: #1b7a46;
    --err: #b42318;

    --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    --mono: "Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --wrap: 1240px;
    --gutter: clamp(16px, 3vw, 32px);
    --section: clamp(56px, 7vw, 96px);
    --radius: 6px;
    --head-h: 72px;
    --shadow: 0 1px 2px rgb(27 34 48 / 6%), 0 10px 28px -14px rgb(27 34 48 / 22%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 20px); }
body { margin: 0; font: 400 16.5px/1.6 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(800px + 2 * var(--gutter)); }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Text helpers ---------- */
.label { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-dark); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-title { font-size: clamp(26px, 2.6vw, 36px); margin: 0; }
.section-lead { margin: 12px 0 0; font-size: 17px; color: var(--text-2); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.head-row .section-head { margin-bottom: 0; }
.link { display: inline-flex; align-items: center; gap: 6px; flex: none; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--navy); }
.link .icon { transition: transform .15s; }
.link:hover .icon { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1.5px solid transparent; border-radius: var(--radius); font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-quote { background: var(--orange); color: #fff; }
.btn-quote:hover { background: var(--orange-dark); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost { border-color: rgb(255 255 255 / 35%); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgb(255 255 255 / 8%); }

[data-quote-add] .icon-check, [data-quote-add] [data-label-on] { display: none; }
[data-quote-add][aria-pressed="true"] .icon-plus, [data-quote-add][aria-pressed="true"] [data-label-off] { display: none; }
[data-quote-add][aria-pressed="true"] .icon-check, [data-quote-add][aria-pressed="true"] [data-label-on] { display: inline; }
.btn[data-quote-add][aria-pressed="true"] { border-color: var(--ok); color: var(--ok); }

/* ---------- Header ---------- */
.utility { background: var(--navy-dark); color: #c8d0e6; font-size: 13.5px; }
.utility__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.utility p { margin: 0; }
.utility__sep { opacity: .5; margin: 0 6px; }
.utility ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { color: #ffc9a8; }

.masthead { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.masthead.is-scrolled { box-shadow: 0 6px 18px -14px rgb(27 34 48 / 40%); }
.masthead__inner { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.masthead__logo { flex-shrink: 0; }
.masthead__logo img { width: 185px; height: auto; }
.nav { flex: 1; display: flex; justify-content: flex-end; }
.nav__menu { list-style: none; margin: 0; padding: 0; display: flex; }
.nav__menu > li { position: relative; }
.nav__menu a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-weight: 500; font-size: 15.5px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav__menu > li > a:hover, .nav__menu > .current-menu-item > a, .nav__menu > .current-menu-ancestor > a, .nav__menu > .current_page_parent > a { color: var(--navy); }
.nav__menu > .current-menu-item > a, .nav__menu > .current-menu-ancestor > a, .nav__menu > .current_page_parent > a { font-weight: 600; }
.nav__menu .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); opacity: .5; }
.nav__menu .sub-menu { list-style: none; margin: 0; padding: 6px; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s; }
.nav__menu li:hover > .sub-menu, .nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu .sub-menu a { padding: 9px 12px; font-size: 15px; border-radius: 4px; }
.nav__menu .sub-menu a:hover { background: var(--grey); color: var(--navy); }
.nav__mobile-contact { display: none; }
.masthead__actions { display: flex; align-items: center; gap: 10px; }
.quote-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.quote-pill:hover { border-color: var(--navy); color: var(--navy); }
.quote-pill__count { min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 5px; border-radius: 10px; background: var(--grey); font-size: 12px; font-weight: 600; }
.quote-pill.has-items .quote-pill__count { background: var(--orange); color: #fff; }
.masthead__cta { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Language switch ---------- */
.lang-switch { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 4px; }
.lang-switch a { padding: 2px 8px; border-radius: 3px; font-size: 13px; line-height: 1.5; }
.lang-switch a[aria-current] { background: #fff; color: var(--navy-dark); }
.lang-switch--nav { border-color: var(--line); margin-bottom: 8px; justify-self: start; }
.lang-switch--nav a[aria-current] { background: var(--navy); color: #fff; }

/* ---------- Chinese typography ---------- */
html[lang^="zh"] body { line-height: 1.75; }
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3, html[lang^="zh"] .section-title, html[lang^="zh"] .page-title, html[lang^="zh"] .hero__title { letter-spacing: 0; }
html[lang^="zh"] .hero__title { line-height: 1.25; }
html[lang^="zh"] .label { letter-spacing: .1em; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 5vw, 72px) 0; background: linear-gradient(180deg, var(--grey), #fff); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; margin-bottom: 20px; }
.hero__sub { font-size: 18px; color: var(--text-2); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photo { margin: 0; position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hero__photo figcaption { position: absolute; left: 12px; bottom: 12px; background: rgb(27 34 48 / 75%); color: #fff; font-size: 13px; padding: 5px 10px; border-radius: 4px; }

/* ---------- Facts ---------- */
.facts { background: var(--navy); color: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 20px; border-left: 1px solid rgb(255 255 255 / 15%); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__num { display: block; font-size: clamp(28px, 2.8vw, 38px); font-weight: 700; line-height: 1.1; margin-bottom: 4px; white-space: nowrap; }
.fact__label { display: block; font-size: 14.5px; color: #c8d0e6; }
.facts--light { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.facts--light .fact { border-color: var(--line); }
.facts--light .fact__num { color: var(--navy); }
.facts--light .fact__label { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--flush { padding-top: 0; }
.section--grey { background: var(--grey); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, border-color .2s; }
.cat:hover { border-color: #c9ced7; box-shadow: var(--shadow); color: var(--ink); }
.cat__img { display: block; aspect-ratio: 4 / 3; padding: 24px; background: var(--img-bg); overflow: hidden; }
.cat__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cat__body { display: block; padding: 16px 20px 18px; }
.cat__name { display: block; font-size: 19px; font-weight: 700; margin-bottom: 2px; }
.cat:hover .cat__name { color: var(--navy); }
.cat__meta { display: block; font-size: 14.5px; color: var(--muted); }

/* ---------- Product cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.card:hover { border-color: #c9ced7; box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 1; padding: 20px; background: var(--img-bg); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card__cap { position: absolute; left: 10px; top: 10px; padding: 3px 8px; background: #fff; border-radius: 4px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.card__cap small { font-size: 13px; margin-left: 2px; }
.card__body { padding: 14px 16px 16px; flex: 1; }
.card__model { margin: 0; font-size: 18px; }
.card__model a { color: var(--ink); text-decoration: none; }
.card__model a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__model a { color: var(--navy); }
.card__type { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.card__specs { margin: 0; display: grid; gap: 3px; font-size: 13.5px; }
.card__specs div { display: flex; justify-content: space-between; gap: 10px; }
.card__specs dt { color: var(--muted); }
.card__specs dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.card__add { position: absolute; right: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink); }
.card__add:hover { border-color: var(--navy); color: var(--navy); }
.card__add[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: #fff; }
.card__add .icon { width: 14px; height: 14px; }
.no-photo { display: grid; place-items: center; height: 100%; font-size: 14px; color: var(--muted); }

/* ---------- Split, photos, lists ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split p:not(.label) { color: var(--text-2); }
.split__photo { margin: 0; }
.split__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split__photo--white img { object-fit: contain; background: #fff; border: 1px solid var(--line); }
.checklist { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.checklist .icon { color: var(--ok); margin-top: 4px; }
.photo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.wide-photo { margin: 0; }
.wide-photo img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: var(--radius); }
.inline-photo { margin: 24px 0 0; }
.inline-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }

/* ---------- FAQ ---------- */
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 20px; cursor: pointer; font-size: 17px; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--muted); transition: transform .2s; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { margin: 0; padding: 0 20px 20px; color: var(--text-2); }

.faq-page { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-page__toc { position: sticky; top: calc(var(--head-h) + 24px); }
.faq-page__toc ol { margin: 0; padding: 0 0 0 20px; display: grid; gap: 8px; font-size: 15px; }
.faq-page__toc a { color: var(--text-2); text-decoration: none; }
.faq-page__toc a:hover { color: var(--navy); }
.qa { padding: 28px 0; border-top: 1px solid var(--line); }
.qa:first-child { padding-top: 0; border-top: 0; }
.qa__q { font-size: 22px; margin-bottom: 10px; }
.qa__a { font-size: 17px; color: var(--text-2); max-width: 64ch; margin: 0; }

/* ---------- Closer + footer ---------- */
.closer { background: var(--navy); color: #fff; }
.closer__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.closer__title { color: #fff; font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 6px; }
.closer p { margin: 0; color: #c8d0e6; }
.closer__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.footer { background: #131925; color: #a3abbb; font-size: 15px; padding-top: 56px; }
.footer a { color: #e4e8f0; text-decoration: none; }
.footer a:hover { color: #ffc9a8; }
.footer .label { color: #fff; margin-bottom: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer__logo img { width: 175px; height: auto; margin-bottom: 18px; }
.footer__name { color: #fff; font-weight: 600; margin-bottom: 2px; }
.footer__cn { color: #fff; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 0 24px; border-top: 1px solid rgb(255 255 255 / 10%); font-size: 13px; }
.footer__legal p { margin: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal a { color: #a3abbb; }

/* ---------- Inner pages ---------- */
.page-head { padding: 24px 0 40px; background: var(--grey); margin-bottom: 40px; }
.page-head__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.page-head__grid--top { align-items: start; }
.page-head__grid--top .checklist { margin-bottom: 0; }
.page-head--center { text-align: center; padding: 80px 0; margin-bottom: 0; }
.page-head--center .hero__actions { justify-content: center; margin-top: 28px; }
.page-title { font-size: clamp(30px, 3.4vw, 44px); margin: 0; }
.page-lead { font-size: 17px; color: var(--text-2); margin: 0; }
.breadcrumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); }
.mini-facts { display: flex; gap: 32px; margin: 16px 0 0; }
.mini-facts dt { font-size: 13px; color: var(--muted); }
.mini-facts dd { margin: 0; font-size: 20px; font-weight: 700; color: var(--navy); }
.columns { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.columns .section-head { margin-bottom: 0; }
.prose p, .prose li { font-size: 17px; color: var(--text-2); }
.checks { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.checks div { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 16px 20px; }
.checks div + div { border-top: 1px solid var(--line); }
.checks dt { font-weight: 600; }
.checks dd { margin: 0; color: var(--text-2); }

/* ---------- Catalogue filters ---------- */
.finder { padding-bottom: var(--section); }
.finder__bar { margin-bottom: 16px; }
.finder__families { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; background: #fff; }
.tab sup { font-size: 12px; color: var(--muted); vertical-align: baseline; }
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab.is-active sup { color: #c8d0e6; }
.finder__controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 12px; background: var(--grey); border-radius: var(--radius); }
.search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; min-width: 240px; color: var(--muted); }
.search:focus-within { border-color: var(--navy); }
.search input { border: 0; background: none; outline: none; width: 100%; font-size: 15px; color: var(--ink); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.seg button { height: 38px; padding: 0 12px; border: 0; border-left: 1px solid var(--line); background: none; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.seg button:first-child { border-left: 0; }
.seg button:hover { background: var(--grey); }
.seg button.is-active { background: var(--navy); color: #fff; }
.select select { height: 40px; padding: 0 32px 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2230' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; appearance: none; -webkit-appearance: none; font-size: 14px; cursor: pointer; }
.finder__status { font-size: 14px; color: var(--muted); margin: 12px 0 16px; }
.finder__empty { padding: 40px 0; font-size: 17px; }
.card.is-hidden { display: none; }

/* ---------- Spec table ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.spec-table .num { text-align: right; font-family: var(--mono); font-size: 13.5px; }
.spec-table thead th { background: #f8f9fb; font-size: 13px; font-weight: 600; color: var(--text-2); }
.spec-table thead button { all: unset; cursor: pointer; }
.spec-table thead button::after { content: " ↕"; color: var(--muted); }
.spec-table thead button[data-dir="asc"]::after { content: " ↑"; color: var(--navy); }
.spec-table thead button[data-dir="desc"]::after { content: " ↓"; color: var(--navy); }
.spec-table tbody tr:last-child > * { border-bottom: 0; }
.spec-table tbody tr:hover { background: #f8f9fb; }
.spec-table tbody th a { font-weight: 600; color: var(--navy); text-decoration: none; }
.spec-table td { color: var(--text-2); }

/* ---------- Product page ---------- */
.pdp { padding: 24px 0 var(--section); }
.pdp > .wrap > .breadcrumbs { margin-bottom: 24px; }
.pdp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.pdp__media { position: sticky; top: calc(var(--head-h) + 20px); }
.photo-box { margin: 0; aspect-ratio: 1; padding: clamp(24px, 4vw, 48px); background: var(--img-bg); border-radius: var(--radius); }
.photo-box img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pdp__thumbs button { width: 76px; height: 76px; padding: 6px; background: var(--img-bg); border: 2px solid transparent; border-radius: 4px; cursor: pointer; }
.pdp__thumbs button.is-active { border-color: var(--navy); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__info .label a, .pdp__info > .label { text-decoration: none; }
.pdp__title { font-size: clamp(28px, 3vw, 40px); margin: 0 0 14px; }
.pdp__summary { font-size: 17px; color: var(--text-2); }
.pdp__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 0; }
.pdp__keys div { padding: 14px 16px; background: var(--grey); border-radius: var(--radius); }
.pdp__keys span { display: block; font-size: 13px; color: var(--muted); }
.pdp__keys b { display: block; margin: 2px 0; font-size: 24px; font-weight: 700; color: var(--navy); }
.pdp__keys em { font-style: normal; font-size: 13px; color: var(--muted); }
.pdp__specs { width: 100%; border-collapse: collapse; margin: 22px 0 26px; font-size: 15px; }
.pdp__specs th, .pdp__specs td { text-align: left; vertical-align: top; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pdp__specs th { width: 40%; padding-right: 16px; font-weight: 500; color: var(--muted); }
.pdp__specs td { font-weight: 500; }
.pdp__specs small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.pdp__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp__content { margin-top: 48px; max-width: 760px; }

/* ---------- Forms ---------- */
.quote { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.quote-form { display: grid; gap: 16px; }
.quote .quote-form { background: #fff; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field input, .field textarea { width: 100%; padding: 11px 13px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(35 58 140 / 12%); }
.field textarea { resize: vertical; min-height: 120px; }
.quote-form .btn { justify-self: start; }
.form-fine { font-size: 14px; color: var(--muted); margin: 0; }
.form-note { padding: 12px 14px; margin: 0; border-radius: var(--radius); font-weight: 500; }
.form-note.is-ok { background: #e3f3e9; color: var(--ok); }
.form-note.is-err { background: #fbe7e5; color: var(--err); }

.quote-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.quote-list__head { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 14px; font-weight: 600; background: var(--grey); }
.quote-list ul { list-style: none; margin: 0; padding: 0; }
.quote-list li { display: grid; grid-template-columns: 44px 1fr 130px 34px; align-items: center; gap: 12px; padding: 8px 14px; border-top: 1px solid var(--line); }
.quote-list img { width: 44px; height: 44px; object-fit: contain; mix-blend-mode: multiply; background: var(--img-bg); border-radius: 4px; }
.quote-list a { font-weight: 600; text-decoration: none; }
.quote-list input { width: 100%; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; }
.quote-list button { width: 34px; height: 34px; display: grid; place-items: center; background: none; border: 1px solid transparent; border-radius: 4px; color: var(--muted); cursor: pointer; }
.quote-list button:hover { border-color: var(--line); color: var(--err); }

.contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__card { position: sticky; top: calc(var(--head-h) + 20px); background: var(--grey); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.contact__name { font-weight: 700; line-height: 1.4; margin-bottom: 16px; }
.contact__name span { font-weight: 400; color: var(--text-2); }
.contact__list { margin: 0; }
.contact__list div { padding: 10px 0; border-top: 1px solid var(--line); }
.contact__list dt { font-size: 13px; color: var(--muted); }
.contact__list dd { margin: 0; font-weight: 500; }
.contact__list a { text-decoration: none; }

.post-row { padding: 20px 0; border-bottom: 1px solid var(--line); }

/* ---------- Responsive ---------- */
/* Between the full desktop header and the mobile menu: smaller logo and tighter menu so longer labels (Spanish) fit. */
@media (min-width: 961px) and (max-width: 1240px) {
    .masthead__inner { gap: 18px; }
    .masthead__logo img { width: 150px; }
    .nav__menu > li > a { padding: 10px 9px; font-size: 15px; }
}
@media (min-width: 961px) and (max-width: 1100px) {
    .lang-es .masthead__cta { display: none; } /* the quote list button stays */
}

@media (max-width: 1100px) {
    .grid-cards { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .quote-pill__label { display: none; }
}

@media (max-width: 960px) {
    :root { --head-h: 64px; }
    .utility p { display: none; }
    .utility__inner { justify-content: center; }
    .nav-toggle { display: inline-flex; }
    .masthead__cta { display: none; }
    .masthead__inner { justify-content: space-between; gap: 16px; }
    .nav { position: fixed; inset: calc(var(--head-h) + 36px) 0 0; z-index: 59; background: #fff; flex-direction: column; justify-content: flex-start; padding: 8px var(--gutter) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
    .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
    .nav-open { overflow: hidden; }
    .nav__menu { flex-direction: column; }
    .nav__menu > li > a { padding: 14px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
    .nav__menu .menu-item-has-children > a::after { display: none; }
    .nav__menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
    .nav__menu .sub-menu a { padding: 8px 0; color: var(--text-2); }
    .nav__mobile-contact { display: grid; gap: 8px; margin-top: 24px; font-size: 15px; }
    .hero__grid, .split, .faq-split, .quote, .contact, .pdp__grid, .columns, .page-head__grid, .faq-page { grid-template-columns: 1fr; }
    .split--reverse > :first-child { order: 0; }
    .facts__grid { grid-template-columns: 1fr 1fr; }
    .fact { border-left: 0; padding: 18px 0; }
    .cat-grid { grid-template-columns: 1fr 1fr; }
    .grid-cards { grid-template-columns: repeat(2, 1fr); }
    .photo-row { grid-template-columns: 1fr 1fr; }
    .pdp__media, .contact__card, .faq-page__toc { position: static; }
    .faq-page__toc { display: none; }
    .head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .utility li:first-child { display: none; }
    .masthead__logo img { width: 150px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__sub { font-size: 17px; }
    .cat-grid { gap: 12px; }
    .cat__img { padding: 14px; }
    .cat__body { padding: 12px; }
    .cat__name { font-size: 16px; }
    .cat__meta { font-size: 13px; }
    .grid-cards { gap: 10px; }
    .card__media { padding: 14px; }
    .card__body { padding: 12px; }
    .card__model { font-size: 16px; }
    .card__specs { font-size: 12.5px; }
    .card__specs div { flex-direction: column; gap: 0; }
    .card__specs dd { text-align: left; }
    .card__add [data-label-off], .card__add [data-label-on] { display: none !important; }
    .card__add { padding: 0 8px; }
    .field-row { grid-template-columns: 1fr; }
    .quote-list li { grid-template-columns: 40px 1fr 84px 34px; gap: 8px; padding: 8px 10px; }
    .pdp__keys { gap: 8px; }
    .pdp__keys div { padding: 10px; }
    .pdp__keys b { font-size: 19px; }
    .pdp__actions .btn { flex: 1 1 100%; }
    .seg { width: 100%; overflow-x: auto; }
    .finder__families { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 12px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
    .tab { flex: none; }
    .search { min-width: 0; flex: 1 1 100%; }
    .closer__actions .btn { flex: 1 1 100%; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .checks div { grid-template-columns: 1fr; gap: 2px; }
    .wide-photo img { aspect-ratio: 16 / 9; }
}

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

/* ---------- Guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: box-shadow .2s, border-color .2s; }
.guide-card:hover { border-color: #c9ced7; box-shadow: var(--shadow); color: var(--ink); }
.guide-card__date { font-size: 13px; color: var(--muted); }
.guide-card__title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.guide-card:hover .guide-card__title { color: var(--navy); }
.guide-card__text { color: var(--text-2); font-size: 15.5px; flex: 1; }
.page-title--article { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; }
.article__meta { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.keypoints { margin: 0 0 32px; padding: 20px 24px; background: var(--grey); border-left: 4px solid var(--navy); border-radius: 0 var(--radius) var(--radius) 0; }
.keypoints h2 { font-size: 16px; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); }
.keypoints ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.article__body { padding-bottom: 48px; }
.article__body h2 { margin: 40px 0 12px; font-size: clamp(22px, 2.2vw, 28px); }
.article__body h3 { margin: 28px 0 8px; font-size: 19px; }
.article__body ul, .article__body ol { padding-left: 22px; }
.article__body li { margin-bottom: 6px; }
.article__body blockquote { margin: 20px 0; padding: 4px 20px; border-left: 3px solid var(--line); color: var(--text-2); }
.article__body .table-wrap { margin: 20px 0 24px; }
.article__body .spec-table td, .article__body .spec-table th { white-space: normal; }
.article__body .grid-cards { margin: 20px 0 28px; }
.grid-cards--inline { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .guide-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-cards--inline { grid-template-columns: 1fr 1fr; } }
