/* ==========================================================================
   QAYKA — Page layouts
   ========================================================================== */

/* ---------- HERO ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 75% 30%, #232a32 0%, var(--graphite-900) 55%, var(--graphite-950) 100%); color: #fff; overflow: hidden; --art-bg: #1a1f25; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 17, 20, .9) 0%, rgba(14, 17, 20, .3) 55%, transparent 100%); pointer-events: none; z-index: 0; }
.hero__grid-bg { mask-image: linear-gradient(90deg, transparent 5%, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 60%); }
.hero__row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s6); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 104px); }
.hero__title { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -.035em; text-transform: uppercase; margin-bottom: var(--s5); max-width: 15ch; }
.hero__lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--text-inv-2); max-width: 52ch; margin-bottom: var(--s6); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s6); }
.hero-search { display: flex; align-items: center; gap: 10px; max-width: 560px; height: 58px; padding: 0 8px 0 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-lg); transition: border-color .15s, background .15s; }
.hero-search:focus-within { border-color: var(--accent-bright); background: rgba(255, 255, 255, .09); }
.hero-search .icon { color: var(--accent-bright); flex: none; }
.hero-search input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: none; color: #fff; font-size: 16px; }
.hero-search input::placeholder { color: rgba(255, 255, 255, .5); }
.hero__examples { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: var(--s3); font-size: 13px; color: rgba(255, 255, 255, .55); }
.hero__examples a { font-family: var(--font-mono); font-size: 12.5px; color: rgba(255, 255, 255, .85); border-bottom: 1px dashed rgba(255, 255, 255, .35); }
.hero__examples a:hover { color: var(--accent-bright); border-color: var(--accent-bright); }
.hero__art { position: relative; }
.hero__art .hero-art { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.hero__specs { position: absolute; left: 0; right: 0; bottom: -8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); overflow: hidden; backdrop-filter: blur(8px); }
.hero__specs li { padding: 12px 14px; background: rgba(20, 24, 28, .78); display: flex; flex-direction: column; gap: 2px; }
.hero__specs .mono { font-size: 11px; color: var(--accent-bright); }
.hero__specs strong { font-family: var(--font-head); font-size: 14.5px; }
@media (max-width: 980px) { .hero__row { grid-template-columns: minmax(0, 1fr); } .hero__art { max-width: 620px; margin: 0 auto; width: 100%; } }
@media (max-width: 560px) { .hero__specs { position: static; margin-top: var(--s3); grid-template-columns: minmax(0, 1fr); } .hero__ctas .btn { flex: 1; } .hero-search { height: 52px; } }

/* ---------- Trust bar ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--border); position: relative; }
.trust__list { display: grid; grid-template-columns: repeat(6, 1fr); }
.trust__item { display: flex; align-items: center; gap: 12px; padding: var(--s5) var(--s4); border-right: 1px solid var(--border); }
.trust__item:last-child { border-right: 0; }
.trust__item > .icon { flex: none; color: var(--brand); }
.trust__item strong { display: block; font-family: var(--font-head); font-size: 15px; line-height: 1.2; }
.trust__item span { font-size: 12.5px; color: var(--text-3); }
@media (max-width: 1180px) { .trust__list { grid-template-columns: repeat(3, 1fr); } .trust__item:nth-child(3) { border-right: 0; } .trust__item:nth-child(-n+3) { border-bottom: 1px solid var(--border); } }
@media (max-width: 640px) { .trust__list { grid-template-columns: repeat(2, 1fr); } .trust__item { padding: var(--s4) var(--s2); border-right: 0 !important; border-bottom: 1px solid var(--border); } .trust__item:nth-child(odd) { border-right: 1px solid var(--border) !important; padding-left: 0; } }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s var(--ease); --art-bg: #eef1f4; }
.cat-card:hover { border-color: var(--graphite-900); box-shadow: var(--sh-2); transform: translateY(-2px); }
.cat-card__art { background: linear-gradient(180deg, #eef1f4, #e5e9ee); aspect-ratio: 16 / 10; overflow: hidden; }
.cat-card__art svg { width: 100%; height: 100%; transition: transform .45s var(--ease); }
.cat-card:hover .cat-card__art svg { transform: scale(1.06) rotate(-1deg); }
.cat-card__body { padding: var(--s4) var(--s5) var(--s5); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-card h3 { font-size: 19px; margin: 0; }
.cat-card p { font-size: 13.5px; color: var(--text-2); margin: 0; }
.cat-card__subs { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 2px; }
.cat-card__subs li { font-size: 12px; color: var(--text-3); }
.cat-card__subs li:not(:last-child)::after { content: "·"; margin-left: 6px; }
.cat-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--border); color: var(--text-3); font-size: 12.5px; }
.cat-card__foot .icon { color: var(--accent); transition: transform .2s; }
.cat-card:hover .cat-card__foot .icon { transform: translateX(3px); }
.cat-card--lg { grid-column: span 2; flex-direction: row; }
.cat-card--lg .cat-card__art { flex: 1.1; aspect-ratio: auto; min-height: 240px; }
.cat-card--lg .cat-card__body { flex: 1; padding: var(--s5); }
.cat-card--lg h3 { font-size: 24px; }
@media (max-width: 1180px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cat-card--lg { grid-column: span 3; } }
@media (max-width: 760px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat-card--lg { grid-column: span 2; flex-direction: column; } .cat-card--lg .cat-card__art { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 460px) { .cat-grid { grid-template-columns: minmax(0, 1fr); } .cat-card--lg { grid-column: auto; } }

/* ---------- Industries (home) ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border-dark); border: 1px solid var(--border-dark); border-radius: var(--r-lg); overflow: hidden; }
.ind-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: var(--s5); background: var(--graphite-900); min-height: 200px; transition: background .2s; }
.ind-card:hover { background: var(--graphite-800); }
.ind-card__icon { color: var(--accent-bright); margin-bottom: var(--s3); }
.ind-card h3 { font-size: 18px; margin: 0; }
.ind-card p { color: var(--text-inv-2); font-size: 13.5px; margin: 0; }
.ind-card__go { position: absolute; right: 20px; top: 22px; color: rgba(255, 255, 255, .4); transition: color .2s, transform .2s; }
.ind-card:hover .ind-card__go { color: var(--accent-bright); transform: translate(2px, -2px); }
.ind-card--cta { background: linear-gradient(160deg, rgba(224, 86, 11, .22), rgba(224, 86, 11, .06) 60%), var(--graphite-900); }
.ind-card--cta:hover { background: linear-gradient(160deg, rgba(224, 86, 11, .32), rgba(224, 86, 11, .1) 60%), var(--graphite-800); }
.ind-card__cta { margin-top: auto; padding-top: var(--s2); display: inline-flex; align-items: center; gap: 6px; color: var(--accent-bright); font-weight: 600; font-size: 14px; }
@media (max-width: 1100px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } .ind-card { min-height: 0; padding: var(--s4); } }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s8); align-items: start; }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.why__item { padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; }
.why__item > .icon { color: var(--brand); margin-bottom: var(--s3); }
.why__item h3 { font-size: 17px; margin-bottom: 6px; }
.why__item p { color: var(--text-2); font-size: 14px; }
@media (max-width: 980px) { .why { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } }
@media (max-width: 560px) { .why__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Expertise ---------- */
.exp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: center; }
.exp__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: var(--s2) 0 var(--s5); }
.exp__tiles li { padding: var(--s4); background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--r); display: flex; flex-direction: column; gap: 2px; }
.exp__tiles .mono { font-size: 12px; color: var(--accent); font-weight: 700; }
.exp__tiles strong { font-family: var(--font-head); }
.exp__tiles small { color: var(--text-3); font-size: 12.5px; }
.exp__links { display: flex; flex-wrap: wrap; gap: var(--s3); }
.exp__chart { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--sh-1); }
.exp__chart figcaption { display: flex; flex-direction: column; margin-bottom: var(--s4); }
.exp__chart figcaption strong { font-family: var(--font-head); font-size: 17px; }
.exp__chart figcaption span { font-size: 13px; color: var(--text-3); }
.exp__chart .table-wrap { border: 0; border-radius: 0; }
.table--grades th, .table--grades td { padding: 10px 8px; }
.table--grades td:nth-child(2) { width: 50%; }
.bar { display: block; height: 10px; background: var(--steel-100); border-radius: 5px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--steel-400), var(--graphite-900)); border-radius: 0 4px 4px 0; }
.table--grades tr:hover .bar span { background: linear-gradient(90deg, #f0a070, var(--accent)); }
@media (max-width: 520px) { .exp__chart { padding: var(--s4); } .table--grades th, .table--grades td { padding: 9px 5px; } .table--grades td:nth-child(2) { width: 34%; } .table--grades thead th:nth-child(2) { font-size: 0; } }
.exp__chart .fine { margin-top: var(--s3); }
@media (max-width: 980px) { .exp { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } }
@media (max-width: 520px) { .exp__tiles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Standards strip ---------- */
.std-strip { border-block: 1px solid var(--border); background: #fff; }
.std-strip__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s6); padding-block: var(--s6); flex-wrap: wrap; }
.std-strip h2 { font-size: 22px; margin: 0; max-width: 20ch; }
.std-strip__list { display: flex; flex-wrap: wrap; gap: var(--s2); }
.std-strip__list a { display: grid; place-items: center; min-width: 96px; height: 58px; padding: 0 16px; border: 1px solid var(--border); border-radius: var(--r); font-family: var(--font-head); font-size: 17px; letter-spacing: .02em; transition: all .15s; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(20, 24, 28, .025) 6px 7px); }
.std-strip__list a:hover { border-color: var(--graphite-900); background: var(--graphite-900); color: #fff; }

/* ---------- RFQ band ---------- */
.rfq-band { background: var(--brand); color: var(--graphite-950); position: relative; overflow: hidden; }
.rfq-band::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 14px); }
.rfq-band__row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.rfq-band__row--simple { grid-template-columns: 1fr auto; padding-block: var(--s7); }
.rfq-band h2 { font-size: var(--fs-h2); color: var(--graphite-950); max-width: 20ch; }
.rfq-band p { color: rgba(14, 17, 20, .82); font-size: var(--fs-md); max-width: 52ch; }
.rfq-band__ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.rfq-band__row--simple .rfq-band__ctas { margin-top: 0; }
.rfq-steps { display: flex; flex-direction: column; gap: 2px; background: rgba(14, 17, 20, .92); border-radius: var(--r-lg); padding: var(--s3); color: #fff; }
.rfq-steps li { display: flex; gap: var(--s4); align-items: center; padding: 12px 14px; border-radius: var(--r); }
.rfq-steps li:hover { background: rgba(255, 255, 255, .05); }
.rfq-steps__n { font-family: var(--font-mono); font-weight: 700; color: var(--accent-bright); font-size: 14px; width: 26px; flex: none; }
.rfq-steps strong { display: block; font-family: var(--font-head); }
.rfq-steps span { font-size: 13px; color: var(--text-inv-2); }
.rfq-steps--compact { background: transparent; padding: 0; color: var(--text); }
.rfq-steps--compact li { padding: 8px 0; border-bottom: 1px dashed var(--border); border-radius: 0; }
.rfq-steps--compact li:hover { background: none; }
.rfq-steps--compact span { color: var(--text-3); }
.rfq-steps--compact .rfq-steps__n { color: var(--accent); }
@media (max-width: 900px) { .rfq-band__row, .rfq-band__row--simple { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } }

/* ---------- Contact CTA ---------- */
.contact-cta__row { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s7); align-items: center; }
.contact-cards { display: grid; gap: var(--s3); }
.contact-cards li { display: flex; gap: var(--s4); padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-alt); }
.contact-cards li > .icon { color: var(--brand); flex: none; }
.contact-cards strong { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.contact-cards a, .contact-cards span { display: block; color: var(--text-2); font-size: 14.5px; }
.contact-cards a:hover { color: var(--accent); }
@media (max-width: 900px) { .contact-cta__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- SHOP ---------- */
.page-head--shop { padding-bottom: var(--s5); }
.shop { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: var(--s6); padding-block: var(--s6) var(--s8); }
.shop__side { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding-bottom: var(--s3); margin-bottom: var(--s3); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.toolbar__count { margin: 0; font-size: 14.5px; color: var(--text-2); }
.toolbar__count strong { color: var(--text); }
.toolbar__right { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.toolbar__sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.toolbar__filter-btn { display: none; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: var(--s4); }
.active-chips:empty { display: none; }
.shop__notice { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: var(--r); background: var(--warn-bg); color: var(--warn); font-size: 14px; margin-bottom: var(--s4); }
.shop__results { transition: opacity .2s; min-height: 300px; }
.shop__results.is-loading { opacity: .45; pointer-events: none; }
@media (max-width: 1100px) {
  .shop { grid-template-columns: minmax(0, 1fr); }
  .shop__side { display: none; }
  .toolbar__filter-btn { display: inline-flex; }
}
@media (max-width: 560px) { .toolbar__sort > .muted { display: none; } .toolbar { align-items: stretch; } .toolbar__right { width: 100%; } .toolbar__sort { flex: 1; } .toolbar__sort .select, .toolbar__sort select { width: 100%; } }

/* ---------- Categories page ---------- */
.quick-filters { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin-bottom: var(--s7); padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-alt); }
.quick-filters__t { font-size: 14px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: var(--s3); }
.cat-rows { display: flex; flex-direction: column; gap: var(--s5); }
.cat-row { display: grid; grid-template-columns: 340px 1fr; gap: var(--s6); padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; }
.cat-row__art { background: var(--art-bg); border-radius: var(--r); overflow: hidden; }
.cat-row__art svg { width: 100%; height: 100%; }
.cat-row__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); }
.cat-row h2 { font-size: 24px; margin: 0; }
.cat-row h2 a:hover { color: var(--accent); }
.cat-row p { color: var(--text-2); margin: var(--s2) 0 var(--s4); }
.cat-row__subs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px var(--s4); margin-bottom: var(--s5); }
.cat-row__subs a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14px; font-weight: 500; }
.cat-row__subs a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 980px) { .cat-row { grid-template-columns: minmax(0, 1fr); } .cat-row__art { max-width: 420px; } .cat-row__subs { grid-template-columns: 1fr 1fr; } .quick-filters { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .cat-row__subs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- PRODUCT PAGE ---------- */
.pdp { padding-block: var(--s5) var(--s8); }
.pdp__top { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: var(--s7); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery__stage { position: relative; background: var(--art-bg); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery__stage.is-drawing { background: #f8fafc; }
.gallery__img { width: 100%; height: 100%; transition: transform .35s var(--ease); }
.gallery__img svg, .gallery__img img { width: 100%; height: 100%; object-fit: contain; }
@media (hover: hover) { .gallery__stage:hover .gallery__img { transform: scale(1.6); } }
.gallery__label { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .9); font-size: 12px; font-weight: 600; box-shadow: var(--sh-1); }
.gallery__zoom-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(20, 24, 28, .8); color: #fff; font-size: 12px; opacity: 0; transition: opacity .2s; }
.gallery__stage:hover .gallery__zoom-hint, .gallery__stage:focus-visible .gallery__zoom-hint { opacity: 1; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); margin-top: var(--s3); }
.gallery__thumb { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--art-bg); text-align: left; transition: border-color .15s; }
.gallery__thumb svg, .gallery__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__thumb span { display: block; padding: 4px 8px; font-size: 11.5px; font-weight: 600; color: var(--text-3); background: #fff; border-top: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery__thumb:hover { border-color: var(--steel-400); }
.gallery__thumb.is-active { border-color: var(--graphite-900); box-shadow: 0 0 0 1px var(--graphite-900); }
.gallery__thumb.is-active span { color: var(--text); }
.gallery__note { font-size: 12px; color: var(--text-3); display: flex; gap: 6px; align-items: center; margin-top: var(--s3); }
.pdp__meta { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); margin-bottom: var(--s2); }
.pdp__meta a { color: var(--accent); font-weight: 600; }
.pdp__title { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: var(--s3); }
.pdp__ids { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: 13.5px; color: var(--text-2); margin-bottom: var(--s3); }
.pdp__desc { color: var(--text-2); margin: var(--s4) 0; font-size: 15px; }
.pdp__summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s5); }
.pdp__summary div { padding: 10px 12px; border-right: 1px solid var(--border); min-width: 0; }
.pdp__summary div:last-child { border-right: 0; }
.pdp__summary dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.pdp__summary dd { font-weight: 700; font-size: 13.5px; overflow-wrap: anywhere; }
@media (max-width: 1180px) { .pdp__summary { grid-template-columns: repeat(3, 1fr); } .pdp__summary div:nth-child(3) { border-right: 0; } .pdp__summary div:nth-child(-n+3) { border-bottom: 1px solid var(--border); } }
.buy__block { margin-bottom: var(--s5); }
.buy__label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: var(--s2); color: var(--text-2); }
.buy__label strong { color: var(--text); }
.size-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.size-opt { display: inline-grid; place-items: center; min-width: 64px; height: 38px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--r); font-family: var(--font-mono); font-size: 13px; font-weight: 600; transition: all .15s; background: #fff; }
.size-opt:hover { border-color: var(--graphite-900); }
.size-opt.is-active { background: var(--graphite-900); color: #fff; border-color: var(--graphite-900); }
.size-opt.is-out { color: var(--text-3); background: repeating-linear-gradient(135deg, #fff 0 6px, var(--steel-50) 6px 7px); }
.buy { border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5); background: #fff; box-shadow: var(--sh-1); }
.buy__price .price__main { font-size: 28px; }
.buy__price .price__unit { font-size: 14px; }
.buy__price .fine { margin-top: 4px; }
.tiers { margin: var(--s4) 0; }
.tiers__table { font-size: 13.5px; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.tiers__table th, .tiers__table td { padding: 7px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.tiers__table th { background: var(--steel-50); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.tiers__table tr:last-child td { border-bottom: 0; }
.tiers__table td:last-child { color: var(--success); font-weight: 700; }
.buy__row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin: var(--s4) 0; flex-wrap: wrap; }
.buy__line { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; }
.buy__line strong { font-family: var(--font-head); font-size: 22px; }
.buy__line small { color: var(--text-3); }
.buy__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.buy__tools { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--border); }
.tool-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--text-2); padding: 4px 0; }
.tool-link:hover, .tool-link.is-on { color: var(--accent); }
.buy__assure { display: flex; flex-direction: column; gap: 8px; margin-top: var(--s4); font-size: 13.5px; color: var(--text-2); }
.buy__assure li { display: flex; gap: 10px; align-items: flex-start; }
.buy__assure .icon { color: var(--brand); flex: none; }
.ptabs { margin-top: var(--s8); }
.ptabs__panel { padding-top: var(--s3); }
.eng { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); }
.eng__col { display: flex; flex-direction: column; gap: var(--s3); min-width: 0; }
.eng__h { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: var(--s4) 0 var(--s2); }
.eng__h:first-child { margin-top: 0; }
.eng__h .icon { color: var(--brand); }
.eng__drawing { margin: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.eng__drawing figcaption { padding: 8px 14px; font-size: 12.5px; color: var(--text-3); border-top: 1px solid var(--border); background: var(--steel-50); }
.eng__torque { display: flex; gap: var(--s4); align-items: center; padding: var(--s4) var(--s5); border-radius: var(--r-lg); background: var(--graphite-900); color: #fff; }
.eng__torque .icon { color: var(--accent-bright); }
.eng__k { font-size: 12.5px; color: var(--text-inv-2); margin: 0; }
.eng__v { font-family: var(--font-head); font-size: 28px; font-weight: 800; margin: 0; line-height: 1.1; }
.eng__torque .fine { color: rgba(255, 255, 255, .55); margin-top: 4px; }
.eng__disclaimer { margin-top: var(--s3); }
@media (max-width: 980px) { .pdp__top, .eng { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } .gallery { position: static; } }
@media (max-width: 480px) { .buy__ctas { grid-template-columns: minmax(0, 1fr); } .pdp__summary { grid-template-columns: 1fr 1fr; } .pdp__summary div { border-right: 0; border-bottom: 1px solid var(--border); } .gallery__thumbs { grid-template-columns: repeat(4, 1fr); } .gallery__thumb span { display: none; } }
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); }
.app-list { display: grid; gap: 10px; }
.app-list li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r); font-weight: 600; font-size: 14.5px; }
.app-list .icon { color: var(--success); }
@media (max-width: 760px) { .apps { grid-template-columns: minmax(0, 1fr); } }
.doc-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s4); }
.doc-list li { display: flex; align-items: center; gap: var(--s4); padding: 14px 18px; border-bottom: 1px solid var(--border); background: #fff; }
.doc-list li:last-child { border-bottom: 0; }
.doc-list li > .icon { color: var(--brand); flex: none; }
.doc-list div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.doc-list div span { font-size: 12.5px; color: var(--text-3); }
.rv-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.rv-row .mini { padding: 12px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; }
@media (max-width: 900px) { .rv-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rv-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Compare ---------- */
.compare__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.compare__actions { display: flex; gap: var(--s2); }
.compare__table { table-layout: fixed; min-width: calc(200px + var(--cols) * 220px); }
.compare__table th:first-child, .compare__table td:first-child { width: 200px; }
.compare__table thead th { vertical-align: top; background: #fff; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text); }
.compare__corner { background: var(--steel-50) !important; }
.compare__prod { position: relative; }
.compare__rm { position: absolute; right: 8px; top: 8px; }
.compare__img { display: block; background: var(--art-bg); border-radius: var(--r); overflow: hidden; margin-bottom: 10px; }
.compare__img svg { width: 100%; height: auto; }
.compare__name { display: block; font-weight: 700; font-size: 14px; line-height: 1.35; margin-bottom: 4px; }
.compare__name:hover { color: var(--accent); }
.compare__prod .mono { display: block; font-size: 11px; margin-bottom: 10px; }
.compare__table tbody th { font-size: 13px; color: var(--text-3); font-weight: 600; background: var(--steel-50); position: sticky; left: 0; z-index: 1; }
.compare__table tbody tr.is-diff td { background: #fffaf6; }
.compare__table tbody td { font-size: 14px; }

/* ---------- Cart ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s6); align-items: start; }
.cart__head { display: grid; grid-template-columns: minmax(0, 1fr) 100px 132px 92px 124px; gap: 14px; padding: 0 var(--s4) 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); border-bottom: 2px solid var(--graphite-900); }
.cart__head span:first-child { padding-left: 86px; }
.cart__list { display: flex; flex-direction: column; }
.cline { display: grid; grid-template-columns: 72px minmax(0, 1fr) 100px 132px 92px 124px; gap: 14px; align-items: center; padding: var(--s4); border-bottom: 1px solid var(--border); }
.cline__img { background: var(--art-bg); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.cline__img svg { width: 100%; height: auto; }
.cline__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cline__name { font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.cline__name:hover { color: var(--accent); }
.cline__meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12.5px; color: var(--text-3); margin: 0; }
.cline__unit, .cline__total, .cline__qty { display: flex; flex-direction: column; font-size: 14px; }
.cline__unit small { font-size: 11.5px; }
.cline__total strong { font-family: var(--font-head); font-size: 16px; }
.cline__k { display: none; font-size: 11.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.cline__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cline .qty__input { width: 50px; }
.cline .qty__btn { width: 36px; }
.cline__qty .qty { align-self: flex-start; }
.cart__below { display: flex; justify-content: space-between; align-items: center; padding: var(--s4); flex-wrap: wrap; gap: var(--s3); }
.saved { margin-top: var(--s8); }
.saved .cline { grid-template-columns: 72px minmax(0, 1fr) 100px 90px 92px 124px; opacity: .92; }
.summary { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5); background: #fff; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: var(--s3); }
.summary__title { font-size: 19px; margin: 0; }
.summary__rows { display: flex; flex-direction: column; gap: 10px; padding-block: var(--s3); border-block: 1px solid var(--border); }
.summary__rows > div { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); font-size: 14.5px; }
.summary__rows dt { display: flex; align-items: center; gap: 8px; color: var(--text-2); flex-wrap: wrap; }
.summary__rows dd { font-weight: 600; white-space: nowrap; }
.summary__total { padding-top: 10px; border-top: 1px dashed var(--border); }
.summary__total dt { color: var(--text) !important; font-weight: 700; }
.summary__total dd { font-family: var(--font-head); font-size: 22px; font-weight: 800; }
.summary__note { display: flex; gap: 8px; font-size: 13px; color: var(--text-2); margin: 0; }
.summary__note .icon { flex: none; color: var(--brand); margin-top: 2px; }
.summary__assure { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--text-3); }
.summary__assure li { display: flex; gap: 8px; align-items: center; }
@media (max-width: 1180px) {
  .cart { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}
@media (max-width: 860px) {
  .cart__head { display: none; }
  .cline, .saved .cline { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img info info" "img unit qty" "img total actions"; gap: 10px var(--s3); align-items: start; }
  .cline__img { grid-area: img; }
  .cline__info { grid-area: info; }
  .cline__unit { grid-area: unit; }
  .cline__qty { grid-area: qty; }
  .cline__total { grid-area: total; }
  .cline__actions { grid-area: actions; flex-direction: row; gap: 12px; }
  .cline__k { display: block; }
}

/* ---------- Checkout / RFQ ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s6); align-items: start; }
.checkout__main, .rfq { display: flex; flex-direction: column; gap: var(--s5); }
.step { border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5) var(--s5) var(--s6); background: #fff; }
.step > .field + .field, .step > .field + .form-error, .step > .field--check { margin-top: var(--s4); }
.step > .checkout__submit { margin-top: var(--s5); }
.step__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 19px; margin-bottom: var(--s5); float: left; width: 100%; }
.step__title + * { clear: both; }
.step__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--graphite-900); color: #fff; font-size: 14px; font-family: var(--font-mono); }
.rcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.rcard { position: relative; cursor: pointer; }
.rcard input { position: absolute; opacity: 0; }
.rcard__ui { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: var(--s4); border: 1.5px solid var(--border); border-radius: var(--r-lg); transition: border-color .15s, box-shadow .15s, background .15s; }
.rcard__ui:hover { border-color: var(--steel-400); }
.rcard input:checked + .rcard__ui { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); background: #fffaf6; }
.rcard input:focus-visible + .rcard__ui { outline: 2px solid var(--brand); outline-offset: 2px; }
.rcard__icon { color: var(--brand); }
.rcard__text { display: flex; flex-direction: column; gap: 2px; }
.rcard__text small { color: var(--text-3); font-size: 12.5px; line-height: 1.4; }
.rcard__price { font-weight: 700; font-family: var(--font-head); margin-top: auto; }
.rcard__check { position: absolute; right: 12px; top: 12px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; color: transparent; background: #fff; }
.rcard input:checked + .rcard__ui .rcard__check { background: var(--accent); border-color: var(--accent); color: #fff; }
.pay-detail { margin-top: var(--s4); }
.pay-detail:empty { display: none; }
.checkout__submit { margin-top: var(--s5); min-width: 260px; }
.summary--checkout .osum { display: flex; flex-direction: column; gap: 12px; max-height: 340px; overflow-y: auto; }
.osum li { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.osum__img { position: relative; width: 56px; height: 42px; border-radius: var(--r-sm); background: var(--art-bg); border: 1px solid var(--border); }
.osum__img svg { width: 100%; height: 100%; }
.osum__q { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--graphite-900); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.osum__name { display: flex; flex-direction: column; font-weight: 600; line-height: 1.3; }
.osum__name small { color: var(--text-3); font-weight: 400; font-size: 11px; }
.osum__p { font-weight: 700; white-space: nowrap; }
@media (max-width: 1060px) { .checkout { grid-template-columns: minmax(0, 1fr); } .checkout__side { order: -1; } .rcards { grid-template-columns: minmax(0, 1fr); } }
.done { max-width: 720px; margin: 0 auto; text-align: center; }
.done--inline { padding: var(--s6) var(--s4); border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; }
.done__icon { width: 84px; height: 84px; margin: 0 auto var(--s4); border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; }
.done .eyebrow { justify-content: center; }
.done__title { font-size: clamp(26px, 3vw, 36px); }
.done__text { color: var(--text-2); font-size: var(--fs-md); max-width: 56ch; margin: 0 auto var(--s5); }
.done__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s5); text-align: left; }
.done__meta div { background: var(--steel-50); padding: 12px 16px; }
.done__meta dt { font-size: 12px; color: var(--text-3); }
.done__meta dd { font-weight: 700; }
.done__actions { display: flex; justify-content: center; gap: var(--s3); flex-wrap: wrap; }
.done .notice { text-align: left; }

/* RFQ */
.rfq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s6); align-items: start; }
.rfq-items { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s4); }
.rfq-item { display: grid; grid-template-columns: minmax(0, 1fr) 150px 40px; gap: var(--s4); align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.rfq-item:last-child { border-bottom: 0; }
.rfq-item__qty { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-3); }
.rfq-item__custom { display: flex; align-items: center; gap: 10px; }
.rfq-item--custom { background: var(--steel-50); }
.rfq-items__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.rfq__submit { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s5); }
.rfq__submit .fine { max-width: 40ch; }
.rfq-aside { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: var(--s4); }
.rfq-aside__card { border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5); background: #fff; }
.rfq-aside__card h2 { font-size: 18px; margin-bottom: var(--s3); }
.rfq-aside__card--dark { background: var(--graphite-900); color: #fff; border-color: var(--graphite-900); }
.rfq-aside__card--dark p { color: var(--text-inv-2); font-size: 14px; }
.rfq-aside__card--dark a:not(.btn) { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 600; }
.rfq-aside__card--dark a:not(.btn):hover { color: var(--accent-bright); }
.rfq-aside__card--dark .btn { margin-top: var(--s2); }
.rfq-aside__resp { display: flex; gap: 10px; align-items: center; margin-top: var(--s4); font-size: 14px; color: var(--text-2); }
.rfq-aside__resp .icon { color: var(--brand); flex: none; }
@media (max-width: 1060px) { .rfq-layout { grid-template-columns: minmax(0, 1fr); } .rfq-aside { position: static; } }
@media (max-width: 560px) { .rfq-item { grid-template-columns: 1fr auto; } .rfq-item .mini, .rfq-item__custom { grid-column: 1 / -1; } .rfq-item__custom { flex-direction: column; align-items: stretch; } }
.qm-product { padding: 12px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--steel-50); margin-bottom: var(--s5); }
.rfq-success { text-align: center; padding: var(--s4) 0; }
.rfq-success__icon { width: 76px; height: 76px; margin: 0 auto var(--s4); border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; }
.rfq-success h3 { font-size: 22px; }
.rfq-success p { color: var(--text-2); }
.rfq-success__ref { margin-top: var(--s3); }
.rfq-success__actions { display: flex; justify-content: center; gap: var(--s2); margin-top: var(--s5); flex-wrap: wrap; }

/* ---------- Wishlist ---------- */
.wl-bar { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }

/* ---------- About / services / industries / quality ---------- */
.about-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s8); align-items: start; }
.about-intro .stats { grid-template-columns: 1fr 1fr; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s6); }
.mv__item { padding: var(--s5); background: var(--bg-alt); border-radius: var(--r-lg); border-top: 3px solid var(--brand); }
.mv__item .icon { color: var(--brand); margin-bottom: var(--s3); }
.mv__item h3 { font-size: 18px; }
.mv__item p { color: var(--text-2); font-size: 14.5px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.feature { padding: var(--s5); background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); }
.feature > .icon { color: var(--brand); margin-bottom: var(--s4); }
.feature h3 { font-size: 18px; }
.feature p { color: var(--text-2); font-size: 14.5px; }
.split__art { --art-bg: var(--graphite-900); }
@media (max-width: 1100px) { .feature-grid { grid-template-columns: 1fr 1fr; } .about-intro { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } }
@media (max-width: 560px) { .feature-grid, .mv { grid-template-columns: minmax(0, 1fr); } }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.svc { padding: var(--s6) var(--s5); background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: var(--s2); transition: border-color .2s, box-shadow .2s; scroll-margin-top: 100px; }
.svc:hover { border-color: var(--graphite-900); box-shadow: var(--sh-2); }
.svc__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s3); }
.svc__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--r); background: var(--accent-soft); color: var(--accent); }
.svc__n { font-size: 13px; color: var(--text-3); }
.svc__title { font-size: 22px; margin: 0; }
.svc__short { font-weight: 600; color: var(--text); margin: 0; }
.svc p { color: var(--text-2); font-size: 14.5px; }
.svc .checklist { margin-top: auto; padding-top: var(--s3); border-top: 1px dashed var(--border); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s3); counter-reset: p; }
.process__step { position: relative; padding: var(--s5); background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); }
.process__step::after { content: ""; position: absolute; right: -14px; top: 38px; width: 14px; height: 2px; background: var(--brand); }
.process__step:last-child::after { display: none; }
.process__n { font-family: var(--font-mono); font-weight: 700; color: var(--accent); font-size: 14px; }
.process__step h3 { font-size: 17px; margin: var(--s2) 0 6px; }
.process__step p { font-size: 13.5px; color: var(--text-2); }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } .process__step::after { display: none; } }
@media (max-width: 520px) { .process { grid-template-columns: minmax(0, 1fr); } }

.ind-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.ind-tile { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s var(--ease), border-color .2s; }
.ind-tile:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: var(--graphite-900); }
.ind-tile__top { position: relative; height: 150px; background: var(--graphite-900); display: grid; place-items: center; overflow: hidden; }
.ind-tile__top::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 24px 24px; }
.ind-tile__top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind-tile__icon { position: relative; color: var(--accent-bright); transition: transform .4s var(--ease); }
.ind-tile:hover .ind-tile__icon { transform: scale(1.1); }
.ind-tile__body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.ind-tile h2 { font-size: 20px; margin: 0; }
.ind-tile p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.ind-tile ul { display: flex; flex-direction: column; gap: 4px; margin: var(--s2) 0; }
.ind-tile li { font-size: 13px; color: var(--text-3); padding-left: 14px; position: relative; }
.ind-tile li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 2px; background: var(--brand); }
.ind-tile .link-arrow { margin-top: auto; font-size: 14px; }
@media (max-width: 1000px) { .ind-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ind-cards { grid-template-columns: minmax(0, 1fr); } }
.ind-hero { position: relative; background: var(--graphite-900); color: #fff; padding: var(--s6) 0 var(--s8); overflow: hidden; }
.ind-hero > .container { position: relative; z-index: 1; }
.ind-hero .page-head__lead { max-width: 56ch; margin-bottom: var(--s5); }
.ind-hero__art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); color: rgba(255, 122, 46, .28); pointer-events: none; }
.ind-hero__mark .icon { width: min(34vw, 360px); height: auto; }
@media (max-width: 760px) { .ind-hero__art { opacity: .4; right: -10%; } }
.ind-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s7); align-items: start; }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); margin-top: var(--s5); }
@media (max-width: 980px) { .ind-detail, .two-lists { grid-template-columns: minmax(0, 1fr); } }

.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.cert { padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; display: flex; flex-direction: column; gap: var(--s2); }
.cert--ph { border-style: dashed; border-color: var(--warn-dot); background: #fffdf6; }
.cert__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-bottom: var(--s2); }
.cert__code { font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.cert h3 { font-size: 16px; margin: 0; }
.cert p { font-size: 14px; color: var(--text-2); margin: 0; }
.cert__ph { display: flex; gap: 6px; align-items: center; font-size: 12.5px !important; color: var(--warn) !important; margin-top: auto !important; padding-top: var(--s2); }
.quality__disclaimer { margin-top: var(--s5); }
@media (min-width: 1001px) { .process--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .cert-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cert-grid { grid-template-columns: minmax(0, 1fr); } }

.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.brand-card { display: grid; grid-template-columns: 220px 1fr; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.brand-card__art { background: var(--art-bg); display: grid; place-items: center; }
.brand-card__art svg { width: 100%; }
.brand-card__body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.brand-card__logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: 22px; margin: 0; }
.brand-card__logo .icon { color: var(--brand); }
.brand-card__tag { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0; }
.brand-card p { color: var(--text-2); font-size: 14.5px; }
.brand-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; gap: var(--s3); flex-wrap: wrap; }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s3); }
.partner-grid li { height: 80px; border: 1px solid var(--border); border-radius: var(--r); display: grid; place-items: center; background: #fff; }
@media (max-width: 1000px) { .brand-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .brand-card { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Library ---------- */
.lib .tabs--line { margin-bottom: var(--s5); }
.ref-nav { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.refs { display: flex; flex-direction: column; gap: var(--s6); }
.ref { scroll-margin-top: 100px; }
.ref__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); margin-bottom: var(--s3); }
.ref__head h3 { font-size: 20px; margin: 0 0 4px; }
.ref__head p { margin: 0; font-size: 14px; }
.ref .fine { margin-top: var(--s2); }
.lib-filter { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s4); }
.lib-search { position: relative; display: inline-flex; align-items: center; }
.lib-search .icon { position: absolute; left: 12px; color: var(--text-3); pointer-events: none; }
.lib-search .input { padding-left: 38px; min-width: 260px; }
.lib-search--lg .input { height: 52px; font-size: 16px; padding-left: 44px; }
.lib-search--lg .icon { left: 14px; }
.table--docs td { vertical-align: middle; }
.doc-name { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.doc-name .icon { color: var(--brand); flex: none; }
.lib-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s7); }
.lib-more a { display: flex; align-items: center; gap: var(--s4); padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; transition: border-color .15s, box-shadow .15s; }
.lib-more a:hover { border-color: var(--graphite-900); box-shadow: var(--sh-1); }
.lib-more a > .icon:first-child { color: var(--brand); flex: none; }
.lib-more div { flex: 1; display: flex; flex-direction: column; }
.lib-more span { font-size: 13px; color: var(--text-3); }
@media (max-width: 900px) { .lib-more { grid-template-columns: minmax(0, 1fr); } .lib-search .input { min-width: 0; width: 100%; } .lib-search { width: 100%; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin-bottom: var(--s7); }
.ccard { padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; display: flex; flex-direction: column; gap: 6px; }
.ccard > .icon { color: var(--brand); margin-bottom: var(--s2); }
.ccard h2 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 0; }
.ccard a, .ccard p { font-weight: 600; font-size: 15.5px; margin: 0; overflow-wrap: anywhere; }
.ccard a:hover { color: var(--accent); }
.contact-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s7); align-items: start; }
.contact-main__form .muted { margin-bottom: var(--s5); }
.contact-main__aside { display: flex; flex-direction: column; gap: var(--s4); }
.dept { padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-alt); }
.dept h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.dept h2 .icon { color: var(--brand); }
.dept p { color: var(--text-2); font-size: 14px; }
.dept a { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 6px; font-size: 14.5px; }
.dept a:hover { color: var(--accent); }
.map-ph { position: relative; height: 300px; border-radius: var(--r-lg); overflow: hidden; background: #e9edf1; border: 1px solid var(--border); }
.map-ph__grid { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 47%, #fff 47% 50%, transparent 50%), linear-gradient(25deg, transparent 60%, #fff 60% 62.5%, transparent 62.5%), linear-gradient(160deg, transparent 30%, #f7f8fa 30% 31.5%, transparent 31.5%), linear-gradient(rgba(20, 24, 28, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 24, 28, .05) 1px, transparent 1px), #e4e9ee; background-size: auto, auto, auto, 32px 32px, 32px 32px, auto; }
.map-ph__pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -100%); color: var(--accent); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .25)); }
.map-ph__card { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-2); font-size: 13.5px; }
.map-ph__card .link-arrow { margin-top: 4px; font-size: 13.5px; }
.map-ph__dev { position: absolute; top: 10px; left: 10px; font-size: 11px; font-family: var(--font-mono); background: rgba(255, 255, 255, .85); padding: 3px 8px; border-radius: 4px; color: var(--text-3); }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; } .contact-main { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 960px; }
.faq__tools { display: flex; flex-direction: column; gap: var(--s4); margin-bottom: var(--s6); }
.faq__tools .lib-search, .faq__tools .input { width: 100%; }
.faq__group + .faq__group { margin-top: var(--s6); }
.faq__gt { font-size: 14px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: var(--s3); }
.faq__more { margin-top: var(--s7); padding: var(--s6); border-radius: var(--r-lg); background: var(--graphite-900); color: #fff; }
.faq__more p { color: var(--text-inv-2); }
.faq__more .btn--secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }

/* ---------- Article ---------- */
.article__head { padding: var(--s6) 0 var(--s5); }
.article__title { font-size: clamp(30px, 3.6vw, 46px); margin: var(--s4) 0; }
.article__lead { font-size: 19px; color: var(--text-2); }
.article__cover { margin: 0 0 var(--s6); border-radius: var(--r-lg); overflow: hidden; background: var(--graphite-850); position: relative; }
.article__cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 40px 40px; }
.article__cover svg { position: relative; }
.article__layout { display: grid; grid-template-columns: 220px minmax(0, 720px) 1fr; gap: var(--s6); align-items: start; padding-bottom: var(--s8); }
.article__toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 13.5px; }
.article__toc ol { display: flex; flex-direction: column; gap: 8px; border-left: 2px solid var(--border); padding-left: var(--s3); }
.article__toc a { color: var(--text-2); }
.article__toc a:hover { color: var(--accent); }
.article__side { position: sticky; top: calc(var(--header-h) + 24px); }
.article__note { display: flex; gap: 10px; padding: var(--s4); background: var(--steel-50); border-radius: var(--r); font-size: 13.5px; color: var(--text-3); margin-top: var(--s6); }
.article__note .icon { flex: none; margin-top: 2px; }
.prose { font-size: 16.5px; line-height: 1.75; color: #28303a; }
.prose h2 { font-size: 26px; margin: var(--s7) 0 var(--s3); scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: var(--s4); }
.prose ul { margin: 0 0 var(--s4); display: flex; flex-direction: column; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 10px; height: 2px; background: var(--brand); }
.prose .table-wrap { margin: var(--s4) 0 var(--s5); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 1180px) { .article__layout { grid-template-columns: minmax(0, 1fr) 300px; } .article__toc { display: none; } }
@media (max-width: 900px) { .article__layout { grid-template-columns: minmax(0, 1fr); } .article__side { position: static; } }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: var(--s7); }
.legal__nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.legal__nav a { padding: 10px 14px; border-radius: var(--r); font-weight: 600; color: var(--text-2); }
.legal__nav a:hover { background: var(--steel-100); }
.legal__nav a.is-active { background: var(--graphite-900); color: #fff; }
@media (max-width: 860px) { .legal { grid-template-columns: minmax(0, 1fr); } .legal__nav { position: static; flex-direction: row; flex-wrap: wrap; } }

/* ---------- Auth ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 0; width: calc(100% - 2 * var(--gutter)); margin-inline: auto !important; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; padding: 0 !important; margin-block: var(--s7); background: #fff; box-shadow: var(--sh-2); max-width: 1120px; }
.auth--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.auth__card { padding: clamp(24px, 4vw, 48px); }
.auth__title { font-size: 30px; }
.auth .form { display: flex; flex-direction: column; gap: var(--s4); margin-top: var(--s5); }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.auth__switch { margin-top: var(--s5); font-size: 14.5px; color: var(--text-2); text-align: center; }
.auth__side { position: relative; background: var(--graphite-900); color: #fff; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: var(--s5); overflow: hidden; }
.auth__side > * { position: relative; }
.auth__side h2 { font-size: 26px; margin: var(--s4) 0 0; }
.auth__side-art { margin-top: auto; border-radius: var(--r-lg); overflow: hidden; background: var(--graphite-850); }
@media (max-width: 900px) { .auth, .auth--wide { grid-template-columns: minmax(0, 1fr); margin-inline: var(--gutter); } .auth__side { display: none; } }

/* ---------- Account ---------- */
.account { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s6); align-items: start; }
.account__nav { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.account__user { display: flex; gap: 12px; align-items: center; padding: var(--s4); border-bottom: 1px solid var(--border); background: var(--steel-50); min-width: 0; }
.account__user div { display: flex; flex-direction: column; min-width: 0; }
.account__user small { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account__nav nav { padding: 8px; }
.account__nav a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r); font-weight: 600; font-size: 14.5px; color: var(--text-2); }
.account__nav a:hover { background: var(--steel-100); color: var(--text); }
.account__nav a.is-active { background: var(--graphite-900); color: #fff; }
.account__nav a.is-logout { color: var(--danger); }
.acc-title { font-size: 28px; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.acc-head .acc-title { margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); margin: var(--s5) 0; }
.kpis--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 0; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; transition: border-color .15s; }
a.kpi:hover { border-color: var(--graphite-900); }
.kpi > .icon { color: var(--brand); margin-bottom: 6px; }
.kpi__v { font-family: var(--font-head); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.02em; }
.kpi__k { font-size: 13.5px; color: var(--text-3); }
.acc-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s4); }
.panel { border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; padding: var(--s5); min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.panel__head h2 { font-size: 17px; margin: 0; display: flex; align-items: center; gap: 8px; }
.panel__h { font-size: 17px; margin: var(--s5) 0 var(--s3); }
.panel__h:first-child { margin-top: 0; }
.panel .table-wrap { border-radius: var(--r); }
.panel .empty { padding: var(--s5) 0; }
.panel .empty__icon { width: 56px; height: 56px; }
.panel .empty__title { font-size: 18px; }
.form.panel { display: flex; flex-direction: column; gap: var(--s4); align-items: flex-start; }
.form.panel .form-grid, .form.panel .field { width: 100%; }
.quick-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.qlist { display: flex; flex-direction: column; }
.qlist__item { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--border); }
.qlist__item:last-child { border-bottom: 0; }
.qlist__id { font-weight: 700; margin-bottom: 2px; }
.qlist__items { font-size: 13px; color: var(--text-2); margin-top: 6px; }
.qlist__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; flex: none; }
.account__main > .qlist { border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; padding: 0 var(--s5); }
.addr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.addr { border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5); background: #fff; display: flex; flex-direction: column; gap: var(--s3); }
.addr.is-default { border-color: var(--graphite-900); }
.addr header { display: flex; justify-content: space-between; align-items: center; }
.addr p { color: var(--text-2); font-size: 14.5px; }
.addr footer { display: flex; gap: var(--s4); margin-top: auto; }
@media (max-width: 1000px) { .account { grid-template-columns: minmax(0, 1fr); } .account__nav { position: static; } .account__nav nav ul { display: flex; overflow-x: auto; gap: 4px; } .account__nav a { white-space: nowrap; } .acc-grid { grid-template-columns: minmax(0, 1fr); } .kpis, .kpis--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .addr-grid { grid-template-columns: minmax(0, 1fr); } .qlist__item { flex-direction: column; } .qlist__side { align-items: flex-start; text-align: left; } }

/* ---------- Error pages ---------- */
.error-page { position: relative; background: var(--graphite-900); color: #fff; overflow: hidden; min-height: 70vh; display: flex; align-items: center; }
.error-page__row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; padding-block: var(--s8); }
.error-page__code { font-size: clamp(80px, 12vw, 160px); font-weight: 700; line-height: .9; color: var(--accent-bright); margin-bottom: var(--s3); letter-spacing: -.04em; }
.error-page__title { font-size: clamp(28px, 3.4vw, 44px); }
.error-page__text { color: var(--text-inv-2); font-size: var(--fs-md); max-width: 50ch; margin-bottom: var(--s5); }
.error-page__cats { margin-top: var(--s6); }
.error-page__art { border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 900px) { .error-page__row { grid-template-columns: minmax(0, 1fr); } .error-page__art { display: none; } }

/* ---------- Datasheet (screen + print) ---------- */
.ds { background: var(--steel-100); min-height: 100vh; padding: var(--s5) var(--gutter) var(--s8); }
.ds__bar { max-width: 900px; margin: 0 auto var(--s4); display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; font-size: 13px; }
.ds__sheet { max-width: 900px; margin: 0 auto; background: #fff; padding: 48px 56px; box-shadow: var(--sh-2); border-radius: 4px; --art-bg: #f3f5f7; }
.ds__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: var(--s4); border-bottom: 3px solid var(--graphite-900); margin-bottom: var(--s5); }
.ds__head-r { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; }
.ds__head-r strong { font-family: var(--font-head); font-size: 16px; text-transform: uppercase; letter-spacing: .06em; }
.ds__title { font-size: 26px; margin-bottom: var(--s2); }
.ds__desc { color: var(--text-2); font-size: 14px; }
.ds__visuals { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s4); margin: var(--s5) 0; }
.ds__visuals figure { margin: 0; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; background: var(--art-bg); }
.ds__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.ds h2 { font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; margin: var(--s5) 0 var(--s2); color: var(--accent); }
.ds .spec-table dt, .ds .spec-table dd { padding: 6px 10px; font-size: 12.5px; }
.ds__list { list-style: disc; padding-left: 20px; font-size: 13px; color: var(--text-2); display: flex; flex-direction: column; gap: 4px; }
.ds__foot { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--border); font-size: 11.5px; color: var(--text-3); }
.ds__foot p { margin-bottom: 6px; }
@media (max-width: 760px) { .ds__sheet { padding: 24px; } .ds__visuals, .ds__cols { grid-template-columns: minmax(0, 1fr); } }

/* Manrope has a narrow word space at heavy weights; open it slightly on small labels */
.hero__specs strong, .trust__item strong, .exp__tiles strong, .exp__chart figcaption strong, .rfq-steps strong, .contact-cards strong, .buy__line strong, .step__title, .mega__cat, .brand-card__logo { word-spacing: .06em; }

/* ---------- Compact desktop scale ----------
   The storefront is designed at a comfortable density that matches the 80 % browser zoom level.
   On desktop the whole layout is rendered at 80 % so the default (100 %) view looks the same.
   Viewport-height based sizes are compensated (÷ 0.8) because zoom also scales vh units. */
@media (min-width: 1024px) {
  html { zoom: .8; }
  .shop__side { max-height: calc(125vh - var(--header-h) - 32px); }
  .modal__panel { max-height: calc(125vh - 40px); max-height: calc(125dvh - 40px); }
  .lightbox svg, .lightbox img { max-height: 97vh; }
  .error-page { min-height: 87.5vh; }
  .ds { min-height: 125vh; }
}
