/* ==========================================================
   GLASOFIT — Premium Architectural Hardware
   Shared stylesheet
   ========================================================== */

:root {
  --blue: #0b3fae;
  --blue-dark: #08318a;
  --navy: #0a2c7d;
  --ink: #0d1017;
  --text: #3a4150;
  --muted: #6b7384;
  --line: #e3e8f1;
  --soft: #f4f7fc;
  --soft-2: #e9effa;
  --white: #ffffff;

  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 8px 28px rgba(14, 40, 100, 0.08);
  --shadow-sm: 0 2px 10px rgba(14, 40, 100, 0.06);

  --header-h: 86px;
  --gutter: clamp(20px, 3.2vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 1em; height: 1em; flex: none; }

.accent { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 24px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { font-size: 17px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--blue); }
.btn-outline:hover { background: var(--soft-2); }
.btn-outline .icon { color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); font-size: 16px; min-height: 56px; padding: 0 34px; }
.btn-white:hover { background: var(--soft-2); }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 11.5px; gap: 8px; }
.btn-sm .icon { font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand-mark { width: 60px; height: 60px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 29px; letter-spacing: 0.02em; }
.brand-name sup { font-size: 0.5em; font-weight: 600; top: -0.9em; position: relative; vertical-align: baseline; margin-left: 1px; }
.brand-tag { font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; margin-top: 8px; }

.site-nav { display: flex; flex: 1; align-items: center; gap: 20px; margin-left: 24px; }
.nav-list { display: flex; flex: 1; align-items: center; justify-content: space-evenly; gap: 12px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: var(--header-h); font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap;
  text-transform: uppercase; letter-spacing: 0.01em; background: none; border: 0; padding: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; background: var(--blue);
}
.nav-link .icon { font-size: 15px; transition: transform .2s; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% - 14px); left: -18px; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--ink); }
.dropdown a:hover { background: var(--soft); color: var(--blue); }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown.is-open .nav-link .icon { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 24px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.header-phone .icon { font-size: 18px; color: var(--ink); }
.header-phone:hover { color: var(--blue); }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { font-size: 22px; color: var(--ink); }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Floating quick contact ---------- */
.quick-contact {
  position: fixed; right: 8px; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden;
}
.quick-contact a {
  display: flex; flex-direction: column; align-items: center; gap: 6px; width: 70px; padding: 14px 4px;
  font-size: 11px; color: var(--ink); text-align: center;
}
.quick-contact a + a { border-top: 1px solid var(--line); }
.quick-contact a:hover { background: var(--soft); }
.quick-contact .icon { font-size: 22px; color: var(--blue); }

/* ---------- Shared type pieces ---------- */
.page-title { font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; text-transform: uppercase; letter-spacing: 0.005em; }
.rule { display: block; width: 40px; height: 3px; background: var(--blue); margin: 18px 0 22px; }
.lead { font-size: 15.5px; line-height: 1.75; color: var(--text); max-width: 440px; }
.section-kicker { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--blue); text-transform: uppercase; letter-spacing: 0.02em; }
.section-title { font-size: clamp(22px, 2vw, 27px); font-weight: 500; text-transform: uppercase; margin-top: 2px; }
.section-head { text-align: center; margin-bottom: 26px; }

.badge {
  display: inline-block; padding: 4px 7px; border-radius: var(--radius-sm);
  background: var(--soft-2); color: var(--blue); font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase; white-space: nowrap;
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #f3f6fb 0%, #f7f9fc 40%, #eef3fa 100%);
}
.page-hero__img {
  position: absolute; top: 0; right: 0; height: 100%; width: 63%; object-fit: cover; object-position: left center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.page-hero__content { position: relative; padding-top: 54px; padding-bottom: 36px; min-height: 266px; }
.page-hero__content .lead { max-width: 360px; }

/* ---------- Icon feature (small stacked) ---------- */
.mini-features { display: flex; margin-top: 30px; }
.mini-feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 24px; font-size: 12.5px; line-height: 1.4; color: var(--ink); }
.mini-feature:first-child { padding-left: 0; }
.mini-feature + .mini-feature { border-left: 1px solid var(--line); }
.mini-feature .icon { font-size: 34px; color: var(--blue); stroke-width: 1.3; }

/* ---------- CTA band ---------- */
.cta-band {
  display: flex; align-items: center; gap: 28px; background: var(--soft-2);
  border-radius: var(--radius); padding: 18px clamp(24px, 9vw, 140px); margin: 26px auto 40px;
  max-width: 1240px;
}
.cta-band__icon {
  width: 66px; height: 66px; flex: none; border-radius: 50%; background: var(--blue);
  display: grid; place-items: center; color: #fff;
}
.cta-band__icon .icon { font-size: 32px; }
.cta-band h2 { font-size: 18px; font-weight: 600; color: var(--blue); }
.cta-band p { font-size: 13px; color: var(--text); margin-top: 4px; max-width: 350px; line-height: 1.55; }
.cta-band .btn { margin-left: auto; min-width: 190px; }

/* ==========================================================
   HOME
   ========================================================== */
.hero-home { position: relative; overflow: hidden; background: linear-gradient(90deg, #f4f7fb 0%, #f7f9fc 35%, #edf2f9 100%); }
.hero-home__img {
  position: absolute; top: 0; right: 0; width: 64%; height: 100%; object-fit: cover; object-position: left top;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
}
.hero-home__content { position: relative; padding-top: 58px; padding-bottom: 110px; }
.hero-kicker { font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--blue); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; }
.hero-title { display: flex; flex-direction: column; text-transform: uppercase; font-weight: 700; font-size: clamp(40px, 4.4vw, 60px); line-height: 1.02; }
.hero-title .accent { color: var(--blue); }
.hero-title__sub { font-family: var(--font-body); font-weight: 400; font-size: 0.5em; letter-spacing: 0.24em; margin-top: 12px; color: var(--ink); }
.hero-lead { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 300px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }

.stats-card {
  position: relative; z-index: 2; margin-top: -58px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 0;
}
.stat { display: flex; align-items: center; gap: 24px; padding: 4px clamp(18px, 4vw, 64px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .icon { font-size: 52px; color: var(--blue); stroke-width: 1.1; }
.stat h3 { font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--blue); text-transform: uppercase; }
.stat p { font-size: 13px; line-height: 1.45; color: var(--ink); margin-top: 3px; }

.products { padding: 20px 0 22px; }
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; }
.product-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid #eef1f6; }
.product-card img { width: 100%; aspect-ratio: 5 / 3; object-fit: contain; padding: 12px; background: #fff; border-bottom: 1px solid #eef1f6; }
.product-card__body { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.product-card__body > .icon { font-size: 32px; color: var(--blue); stroke-width: 1.2; }
.product-card__body span { font-size: 13px; line-height: 1.5; font-weight: 500; color: var(--ink); text-transform: uppercase; }
.product-card__body .arrow { margin-left: auto; font-size: 18px; color: var(--ink); transition: transform .2s; }
.product-card:hover .arrow { transform: translateX(3px); color: var(--blue); }

.feature-band { background: var(--navy); color: #fff; }
.feature-band ul { display: grid; grid-template-columns: repeat(6, 1fr); padding: 22px 0; }
.feature-band li { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 13.5px; line-height: 1.5; padding: 4px 12px; }
.feature-band li + li { border-left: 1px solid rgba(255,255,255,.28); }
.feature-band .icon { font-size: 36px; stroke-width: 1.2; }

/* ==========================================================
   PROJECTS
   ========================================================== */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin: 20px 0 24px; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 42px; height: 34px;
  background: none; border: 0; font-size: 13px; font-weight: 500; text-transform: uppercase; color: var(--ink); cursor: pointer;
}
.filter-btn .icon { font-size: 19px; stroke-width: 1.4; }
.filter-btn + .filter-btn { border-left: 1px solid var(--line); }
.filter-btn:hover { color: var(--blue); }
.filter-btn[aria-pressed="true"] { background: var(--blue); color: #fff; border-radius: var(--radius-sm); padding: 0 22px; margin-right: 30px; }
.filter-btn[aria-pressed="true"] + .filter-btn { border-left-color: transparent; }

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 28px; }
.project-card { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.project-card[hidden] { display: none; }
.project-card img { width: 100%; aspect-ratio: 336 / 150; object-fit: cover; }
.project-card__body { display: flex; align-items: center; gap: 14px; padding: 16px 18px 18px; }
.project-card__body > .icon { font-size: 26px; color: var(--blue); stroke-width: 1.3; }
.project-card h3 { font-family: var(--font-body); font-size: 14px; font-weight: 500; }
.project-card p { font-size: 12px; color: var(--text); margin-top: 3px; }
.project-card .badge { margin-left: auto; }

/* ==========================================================
   CATALOGUE
   ========================================================== */
.catalogue-hero .page-hero__img { width: 56%; object-position: left center; }
.catalogue-hero .page-hero__content { padding-top: 28px; padding-bottom: 28px; }
.catalogue-hero .lead { max-width: 380px; }

.catalogue-layout { display: grid; grid-template-columns: 260px 1fr; gap: 50px; align-items: start; padding-top: 4px; padding-bottom: 10px; }
.cat-sidebar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px 20px; margin-top: -4px; position: sticky; top: calc(var(--header-h) + 16px); }
.cat-sidebar h2 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--blue); text-transform: uppercase; }
.cat-sidebar .rule { width: 32px; height: 2px; margin: 10px 0 12px; }
.cat-list li + li { border-top: 1px solid #eef1f6; }
.cat-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 2px; background: none; border: 0;
  text-align: left; font-size: 12px; color: var(--ink); cursor: pointer; border-radius: var(--radius-sm);
}
.cat-btn .icon { font-size: 17px; color: var(--blue); stroke-width: 1.4; }
.cat-btn .count { margin-left: auto; min-width: 26px; padding: 1px 6px; background: var(--soft); border-radius: 3px; font-size: 10.5px; text-align: center; color: var(--text); }
.cat-btn:hover { color: var(--blue); }
.cat-btn[aria-pressed="true"] { color: var(--blue); font-weight: 600; }
.cat-btn[aria-pressed="true"] .count { background: var(--blue); color: #fff; }
.cat-sidebar .btn { margin-top: 34px; width: 100%; font-size: 12.5px; white-space: normal; padding: 8px 14px; text-align: left; }

.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border: 1px solid #f0f3f8; padding: 7px 16px 16px; }
.cat-card[hidden] { display: none; }
.cat-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; margin: 0 auto; }
.cat-card__link { font-size: 12px; font-weight: 500; color: var(--blue); margin-bottom: 10px; text-decoration: underline; text-underline-offset: 3px; }
.cat-card__link:hover { color: var(--blue-dark); }
.cat-card h3 { font-family: var(--font-body); font-size: 13px; font-weight: 500; line-height: 1.4; margin-top: 12px; }
.cat-card .meta { font-size: 11px; color: var(--text); margin-top: 6px; }
.cat-card .btn { margin-top: auto; width: 100%; }
.cat-card .meta { margin-bottom: 10px; }

/* ==========================================================
   DEALER NETWORK
   ========================================================== */
.dealer-top { display: grid; grid-template-columns: minmax(0, 640px) 1fr; gap: 40px; padding-top: 48px; padding-bottom: 20px; }
.dealer-intro .lead { max-width: 450px; }
.dealer-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 28px 0 30px; }
.dealer-stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2px 8px; }
.dealer-stat + .dealer-stat { border-left: 1px solid var(--line); }
.dealer-stat .icon { font-size: 44px; color: var(--blue); stroke-width: 1.2; }
.dealer-stat strong { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--blue); margin-top: 10px; line-height: 1.2; }
.dealer-stat span { font-size: 12px; color: var(--ink); }

.dealers-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px 12px; }
.dealers-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 0 4px; }
.dealers-card__head h2 { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--blue); text-transform: uppercase; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; color: var(--blue); text-transform: uppercase; }
.text-link .icon { font-size: 16px; }
.dealer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.dealer {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--radius-sm);
  box-shadow: 0 1px 6px rgba(14,40,100,.07); background: #fff;
}
.dealer__icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--soft); display: grid; place-items: center; }
.dealer__icon .icon { font-size: 22px; color: var(--blue); stroke-width: 1.4; }
.dealer h3 { font-family: var(--font-body); font-size: 12.5px; font-weight: 500; }
.dealer p { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text); line-height: 1.6; }
.dealer p .icon { font-size: 12px; color: var(--blue); }
.dealer a:hover { color: var(--blue); }

.dealer-map { position: relative; margin: -40px 0 0; }
.dealer-wrap { background: #f9fafc; padding-bottom: 1px; }
.dealer-map img { width: 100%; max-width: 700px; margin: 0 auto; }
.map-legend { position: absolute; top: 60px; right: 0; }
.map-legend h2 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--blue); text-transform: uppercase; }
.map-legend > p { font-size: 13px; color: var(--ink); margin-top: 8px; }
.map-legend ul { margin-top: 14px; display: grid; gap: 10px; }
.map-legend li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink); }
.map-legend .icon { font-size: 18px; }
.pin-solid { color: var(--blue); fill: var(--blue); }
.pin-solid circle { fill: #fff; stroke: #fff; }
.pin-light { color: #7aa7ea; fill: #7aa7ea; }
.pin-light circle { fill: #fff; stroke: #fff; }
.coverage-card {
  position: absolute; right: 0; bottom: 60px; display: flex; align-items: center; gap: 18px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 20px;
}
.coverage-card .icon { font-size: 60px; color: var(--blue); stroke-width: 1; }
.coverage-card small { display: block; font-size: 11px; font-weight: 500; color: var(--ink); text-transform: uppercase; }
.coverage-card strong { display: block; font-family: var(--font-display); font-size: 23px; font-weight: 600; color: var(--blue); line-height: 1.2; }

.dealer-band {
  display: grid; grid-template-columns: minmax(340px, 2.3fr) repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); align-items: center;
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px 28px; margin-bottom: 30px;
}
.dealer-band__intro { display: flex; align-items: center; gap: 20px; padding-right: 20px; }
.dealer-band__badge { width: 88px; height: 88px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.dealer-band__badge .icon { font-size: 46px; color: var(--blue); stroke-width: 1.3; }
.dealer-band h2 { color: #fff; font-family: var(--font-body); font-size: 20px; font-weight: 500; }
.dealer-band__intro p { font-size: 13.5px; line-height: 1.75; margin-top: 8px; color: rgba(255,255,255,.92); }
.dealer-band__perk { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 14px; line-height: 1.6; border-left: 1px solid rgba(255,255,255,.3); padding: 0 10px; }
.dealer-band__perk .icon { font-size: 46px; stroke-width: 1.1; }
.dealer-band__apply { display: flex; flex-direction: column; align-items: center; gap: 12px; border-left: 1px solid rgba(255,255,255,.3); padding-left: 24px; }
.dealer-band__apply p { font-size: 15.5px; }
.dealer-band__apply a:not(.btn):hover { text-decoration: underline; }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-wrap { background: linear-gradient(180deg, #f1f5fb 0%, #f6f8fc 100%); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1.05fr 1.9fr; gap: 20px; padding-top: 28px; padding-bottom: 18px; align-items: stretch; }
.contact-intro { position: relative; display: flex; flex-direction: column; min-height: 640px; padding-top: 22px; }
.contact-intro .lead { max-width: 300px; }
.contact-intro .page-title { white-space: nowrap; }
.contact-intro img {
  position: absolute; left: calc(-1 * var(--gutter)); bottom: -18px; width: calc(100% + var(--gutter) + 80px); max-width: none;
  height: 62%; object-fit: cover; object-position: center top;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
  z-index: 0;
}
.contact-card { position: relative; z-index: 1; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px 26px 22px; }
.contact-card h2 { font-size: 26px; font-weight: 500; text-transform: uppercase; padding-left: 34px; }
.contact-card .rule { margin: 10px 0 24px 34px; width: 38px; }
.form-card h2, .form-card .rule { padding-left: 0; margin-left: 12px; }
.info-list li { display: flex; gap: 20px; padding: 12px 0 12px 6px; }
.info-list li + li { border-top: 1px solid var(--line); }
.info-list__icon { width: 50px; height: 50px; flex: none; border-radius: var(--radius); background: var(--blue); display: grid; place-items: center; color: #fff; }
.info-list__icon .icon { font-size: 26px; stroke-width: 1.8; }
.info-list h3 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--blue); text-transform: uppercase; }
.info-list p, .info-list address { font-style: normal; font-size: 14.5px; line-height: 1.5; color: var(--ink); margin-top: 2px; }
.info-list a:hover { color: var(--blue); }

.connect { margin-top: 10px; background: var(--soft-2); border-radius: var(--radius); padding: 14px; text-align: center; }
.connect h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--blue); text-transform: uppercase; }
.socials { display: flex; justify-content: center; gap: 18px; margin-top: 12px; }
.social { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.social .icon { font-size: 22px; }
.social--wa { background: #25d366; }
.social--fb { background: #1877f2; }
.social--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social--in { background: #0a66c2; }
.social:hover { filter: brightness(1.08); }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 6px 12px 0; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field .icon { position: absolute; left: 20px; top: 17px; font-size: 21px; color: var(--blue); stroke-width: 1.5; pointer-events: none; }
.field input, .field select, .field textarea {
  width: 100%; height: 56px; padding: 0 16px 0 56px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; font-size: 15px; color: var(--ink); appearance: none; -webkit-appearance: none;
}
.field textarea { height: 154px; padding-top: 16px; resize: vertical; }
.field select { cursor: pointer; }
.field select:invalid { color: #5d6474; }
.field .chev { left: auto; right: 22px; color: var(--ink); font-size: 18px; top: 19px; }
.field input::placeholder, .field textarea::placeholder { color: #5d6474; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,63,174,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c62828; }
.field-error { display: block; font-size: 12px; color: #c62828; margin-top: 6px; }
.form-submit { grid-column: 1 / -1; margin-top: -4px; min-height: 52px; font-size: 16px; border-radius: var(--radius); }
.form-note { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; color: var(--ink); margin-top: -12px; }
.form-note .icon { font-size: 24px; color: var(--blue); stroke-width: 1.5; }
.form-status { grid-column: 1 / -1; padding: 12px 16px; border-radius: var(--radius); background: #e8f5ee; color: #17603a; font-size: 14px; }
.form-status[hidden] { display: none; }

.assurance-row {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--soft); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 10px; margin: 18px auto 40px;
}
.assurance { display: flex; align-items: center; gap: 16px; padding: 0 clamp(12px, 1.6vw, 28px); }
.assurance + .assurance { border-left: 1px solid var(--line); }
.assurance__icon { width: 66px; height: 66px; flex: none; border-radius: 50%; background: #e7edf8; display: grid; place-items: center; }
.assurance__icon .icon { font-size: 30px; color: var(--blue); stroke-width: 1.8; }
.assurance h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; }
.assurance p { font-size: 13.5px; line-height: 1.6; margin-top: 4px; color: var(--ink); }

/* ==========================================================
   ABOUT
   ========================================================== */
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-top: 60px; padding-bottom: 50px; align-items: center; }
.about-body h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; }
.about-body p + p { margin-top: 14px; }
.about-body img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.about-stats { margin-top: 0; margin-bottom: 50px; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: #071f5c; color: rgba(255,255,255,.82); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 54px; padding-bottom: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { width: 48px; height: 48px; }
.site-footer .brand-name { font-size: 24px; }
.site-footer .brand-tag { font-size: 9px; }
.footer-about { max-width: 320px; margin-top: 18px; line-height: 1.7; }
.site-footer h2 { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.footer-links li + li { margin-top: 9px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact li + li { margin-top: 12px; }
.footer-contact .icon { font-size: 18px; margin-top: 3px; color: #8fb2f0; }
.site-footer .socials { justify-content: flex-start; margin-top: 20px; gap: 12px; }
.site-footer .social { width: 36px; height: 36px; border-radius: 8px; }
.site-footer .social .icon { font-size: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: 13px; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1440px) {
  .header-phone span { display: none; }
}

@media (max-width: 1320px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-band ul { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .feature-band li:nth-child(4) { border-left: 0; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .dealer-band { grid-template-columns: repeat(4, 1fr); row-gap: 24px; }
  .dealer-band__intro { grid-column: 1 / -1; }
  .dealer-band__perk:nth-child(2) { border-left: 0; }
  .dealer-band__apply { grid-column: 1 / -1; border-left: 0; padding-left: 0; flex-direction: row; justify-content: center; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr 1.6fr; }
  .contact-intro { grid-column: 1 / -1; min-height: 0; flex-direction: row; gap: 40px; padding-bottom: 20px; }
  .contact-intro img { position: static; width: 45%; height: 260px; margin-left: auto; border-radius: var(--radius); -webkit-mask-image: none; mask-image: none; }
  .assurance-row { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .assurance:nth-child(4) { border-left: 0; }
}

@media (max-width: 1290px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px var(--gutter) 30px; overflow-y: auto; margin-left: 0;
    transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s;
  }
  .site-nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex: none; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { height: 54px; width: 100%; justify-content: space-between; font-size: 15px; }
  .nav-link[aria-current="page"]::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 10px; display: none; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .header-actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 22px; }
  .header-phone span { display: inline; }
  .header-phone { justify-content: center; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); }

  .stats-card { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .stat:nth-child(3) { border-left: 0; }
  .hero-home__img, .page-hero__img, .catalogue-hero .page-hero__img { width: 70%; opacity: .55; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-btn { padding: 0 20px; }
  .catalogue-layout { grid-template-columns: 1fr; gap: 24px; }
  .cat-sidebar { position: static; }
  .cat-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
  .cat-list li + li { border-top: 0; }
  .cat-list li { border-bottom: 1px solid #eef1f6; }
  .cat-sidebar .btn { margin-top: 18px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .dealer-top { grid-template-columns: 1fr; }
  .dealer-map { margin: 0; }
  .map-legend { top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-body { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  body { font-size: 14.5px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 22px; }
  .brand-tag { font-size: 8.5px; margin-top: 6px; }

  .hero-home__img, .page-hero__img, .catalogue-hero .page-hero__img { position: relative; width: 100%; height: 220px; opacity: 1; -webkit-mask-image: none; mask-image: none; }
  .hero-home { display: flex; flex-direction: column-reverse; }
  .page-hero { display: flex; flex-direction: column-reverse; }
  .hero-home__content { padding-top: 30px; padding-bottom: 80px; }
  .page-hero__content { min-height: 0; padding-top: 30px; padding-bottom: 24px; }
  .btn-row { gap: 12px; }
  .btn-row .btn { flex: 1 1 100%; }
  .stats-card { grid-template-columns: 1fr; padding: 10px 0; row-gap: 0; margin-top: -30px; }
  .stat { padding: 14px 22px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat .icon { font-size: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card__body { padding: 12px; gap: 10px; }
  .product-card__body > .icon { font-size: 24px; }
  .product-card__body span { font-size: 11.5px; }
  .feature-band ul { grid-template-columns: repeat(2, 1fr); }
  .feature-band li { justify-content: flex-start; border-left: 0 !important; }
  .feature-band .icon { font-size: 28px; }

  .filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; }
  .filter-btn { flex: none; padding: 0 16px; }
  .filter-btn[aria-pressed="true"] { margin-right: 8px; }
  .project-grid { grid-template-columns: 1fr; }
  .cta-band { flex-wrap: wrap; padding: 22px; gap: 16px; margin: 20px 0 30px; }
  .cta-band .btn { margin-left: 0; width: 100%; }

  .mini-features { flex-wrap: wrap; row-gap: 16px; }
  .mini-feature { padding: 0 14px; flex: 1 1 40%; }
  .mini-feature:nth-child(3) { border-left: 0; padding-left: 0; }
  .cat-list { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { padding: 7px 10px 12px; }
  .cat-card .btn { padding: 0 8px; font-size: 10.5px; }

  .dealer-stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .dealer-stat:nth-child(3) { border-left: 0; }
  .dealer-list { grid-template-columns: 1fr; }
  .dealers-card__head { flex-wrap: wrap; gap: 8px; }
  .map-legend { position: static; margin-bottom: 12px; }
  .coverage-card { position: static; margin-top: 12px; }
  .dealer-band { grid-template-columns: repeat(2, 1fr); padding: 22px; }
  .dealer-band__perk:nth-child(4) { border-left: 0; }
  .dealer-band__intro { align-items: flex-start; }
  .dealer-band__badge { width: 60px; height: 60px; }
  .dealer-band__badge .icon { font-size: 32px; }
  .dealer-band__apply { flex-direction: column; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-intro { flex-direction: column; gap: 20px; }
  .contact-intro img { width: 100%; height: 220px; }
  .contact-card { padding: 22px 18px; }
  .contact-card h2 { padding-left: 0; font-size: 22px; }
  .contact-card .rule { margin-left: 0; }
  .form-card h2, .form-card .rule { margin-left: 0; }
  .contact-form { grid-template-columns: 1fr; gap: 16px; padding: 0; }
  .form-note { margin-top: 0; font-size: 13px; }
  .assurance-row { grid-template-columns: 1fr; padding: 10px 18px; margin: 18px 0 30px; }
  .assurance { padding: 12px 0; }
  .assurance + .assurance { border-left: 0; border-top: 1px solid var(--line); }
  .assurance__icon { width: 56px; height: 56px; }
  .assurance__icon .icon { font-size: 26px; }

  .quick-contact { top: auto; bottom: 14px; right: 12px; transform: none; border-radius: 30px; flex-direction: row; }
  .quick-contact a { width: 52px; padding: 12px 4px; }
  .quick-contact a + a { border-top: 0; border-left: 1px solid var(--line); }
  .quick-contact a span { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ==========================================================
   PRODUCTS
   ========================================================== */
.section-more { text-align: center; margin-top: 22px; }
.section-more .text-link { font-size: 13px; }

.products-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; align-items: start; padding-top: 28px; padding-bottom: 20px; }
.products-layout .cat-sidebar { margin-top: 0; }
.products-toolbar { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }
.search-field { position: relative; flex: 1 1 360px; max-width: 560px; }
.search-field .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--blue); }
.search-field input {
  width: 100%; height: 50px; padding: 0 16px 0 52px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; font-size: 15px; color: var(--ink); box-shadow: var(--shadow-sm);
}
.search-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,63,174,.12); }
.result-count { font-size: 13.5px; color: var(--text); }

.product-section { padding: 22px 0 10px; }
.product-section[hidden], .pcard[hidden] { display: none; }
.product-section + .product-section { border-top: 1px solid var(--line); }
.product-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.product-section__head h2 { font-size: 22px; font-weight: 600; }
.product-section__head p { font-size: 13.5px; color: var(--text); margin-top: 4px; max-width: 620px; }
.product-section__head .text-link { white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.chips[hidden] { display: none; }
.chip {
  height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 12.5px; color: var(--ink); cursor: pointer;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.pcard__btn {
  display: flex; flex-direction: column; align-items: flex-start; width: 100%; height: 100%; text-align: left;
  background: #fff; border: 1px solid #edf0f5; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  padding: 0 0 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.pcard__btn:hover { border-color: #c9d6ee; box-shadow: var(--shadow); }
.pcard__img { display: block; width: 100%; aspect-ratio: 1; border-bottom: 1px solid #eef1f6; overflow: hidden; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; }
.pcard__code { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; color: var(--blue); margin: 12px 14px 0; letter-spacing: .01em; }
.pcard__name { font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.4; margin: 3px 14px 0; }
.pcard__meta { font-size: 12px; color: var(--text); margin: 4px 14px 0; line-height: 1.45; }
.swatches { display: flex; gap: 5px; margin: 10px 14px 0; flex-wrap: wrap; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.swatch--cp { background: linear-gradient(135deg, #f4f6f8 0%, #b9c0c8 50%, #eef1f4 100%); }
.swatch--matt { background: #b8bbbf; }
.swatch--black { background: #1c1c1e; }
.swatch--pblack { background: linear-gradient(135deg, #3a3a3d, #121214); }
.swatch--gold { background: linear-gradient(135deg, #f0d58a, #b8892e); }
.swatch--rosegold { background: linear-gradient(135deg, #f0c4b0, #b97a64); }
.swatch--grey { background: #6f737a; }
.swatch--anodize { background: linear-gradient(135deg, #dfe3e7, #a4abb2); }
.swatch--powder { background: #ece8e0; }
.swatch--transparent { background: repeating-linear-gradient(45deg, #e3f1fb 0 3px, #fff 3px 6px); }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state[hidden] { display: none; }
.empty-state h2 { font-size: 22px; font-weight: 600; }
.empty-state p { margin: 8px auto 20px; max-width: 420px; }

/* Product dialog */
.product-dialog {
  width: min(1040px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 0;
  border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(8, 26, 70, .35); color: var(--text);
}
.product-dialog::backdrop { background: rgba(7, 20, 52, .55); }
.product-dialog__close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer;
}
.product-dialog__close .icon { font-size: 20px; color: var(--ink); }
.product-dialog__close:hover { background: var(--soft); }
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.pd--sheet { grid-template-columns: 1fr; }
.pd__media { background: #fff; border-right: 1px solid var(--line); padding: 28px; display: flex; align-items: flex-start; justify-content: center; }
.pd:not(.pd--sheet) .pd__media img { position: sticky; top: 28px; }
.pd__media img { width: 100%; max-width: 460px; }
.pd--sheet .pd__media { border-right: 0; border-bottom: 1px solid var(--line); padding: 56px 20px 20px; }
.pd--sheet .pd__media img { max-width: 100%; }
.pd__info { padding: 30px 32px 28px; overflow-wrap: anywhere; }
.pd__crumb { font-size: 12.5px; color: var(--text); }
.pd__info h2 { font-size: 28px; font-weight: 600; color: var(--blue); margin-top: 6px; padding-right: 40px; }
.pd__name { font-size: 17px; font-weight: 500; color: var(--ink); margin-top: 2px; }
.pd__specs { margin: 18px 0 0; border-top: 1px solid var(--line); }
.pd__specs div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pd__specs dt { font-weight: 600; color: var(--ink); }
.pd__specs dd { margin: 0; }
.pd__h { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .03em; margin: 20px 0 8px; }
.pd__fins { display: flex; flex-wrap: wrap; gap: 8px; }
.pd__fin { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink); }
.pd__fin .swatch { width: 16px; height: 16px; }
.pd__pvd { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--blue); margin-top: 10px; font-weight: 500; }
.pd__pvd .icon { font-size: 16px; }
.pd__features { padding-left: 18px; list-style: disc; font-size: 14px; }
.pd__features li + li { margin-top: 4px; }
.pd__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pd__table th { text-align: left; background: var(--soft); color: var(--ink); font-weight: 600; padding: 8px 10px; }
.pd__table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pd__table-wrap { overflow-x: auto; }
.pd__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pd__note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
body.dialog-open { overflow: hidden; }

/* ==========================================================
   ABOUT (catalogue content)
   ========================================================== */
.about-feature-img { background: #0b1e7a; }
.objective-band { background: var(--navy); color: rgba(255,255,255,.9); }
.objective-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-top: 50px; padding-bottom: 50px; }
.objective-band h2 { color: #fff; font-size: 26px; font-weight: 600; }
.objective-band .rule { background: #8fb2f0; }
.objective-band p { font-size: 15.5px; line-height: 1.75; max-width: 480px; }
.objective-band p + p { margin-top: 12px; }
.value-list { display: grid; gap: 14px; margin-top: 18px; }
.value-list li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: #fff; }
.value-list .icon { font-size: 30px; stroke-width: 1.3; color: #8fb2f0; }
.about-manufacturing { padding-top: 50px; padding-bottom: 50px; }
.stats-card--flat { margin-top: 0; }
.quality-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.quality-tile { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid #edf0f5; overflow: hidden; }
.quality-tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.quality-tile div { padding: 16px 18px 20px; }
.quality-tile h3 { font-size: 17px; font-weight: 600; }
.quality-tile p { font-size: 14px; margin-top: 6px; }

@media (max-width: 1290px) {
  .products-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .products-layout .cat-sidebar { position: static; }
  .products-layout .cat-list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
  .products-layout .cat-list li + li { border-top: 0; }
  .products-layout .cat-list li { border-bottom: 1px solid #eef1f6; }
  .products-layout .cat-sidebar .btn { margin-top: 16px; width: auto; }
  .quality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pd { grid-template-columns: 1fr; }
  .pd__media { border-right: 0; border-bottom: 1px solid var(--line); padding: 50px 20px 16px; }
  .pd__media img { max-width: 280px; }
  .objective-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .products-layout .cat-sidebar { padding: 0; box-shadow: none; background: none; }
  .products-layout .cat-sidebar h2, .products-layout .cat-sidebar .rule, .products-layout .cat-sidebar .btn { display: none; }
  .products-layout .cat-list { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; }
  .products-layout .cat-list li { border: 0; flex: none; }
  .products-layout .cat-btn { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: #fff; white-space: nowrap; }
  .products-layout .cat-btn .icon { display: none; }
  .products-layout .cat-btn .count { margin-left: 8px; }
  .products-layout .cat-btn[aria-pressed="true"] { border-color: var(--blue); }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard__code, .pcard__name, .pcard__meta, .swatches { margin-left: 10px; margin-right: 10px; }
  .product-section__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .pd__info { padding: 22px 18px 26px; }
  .pd__info h2 { font-size: 22px; }
  .pd__specs div { grid-template-columns: 110px 1fr; }
  .pd__actions .btn { flex: 1 1 100%; }
  .quality-grid { grid-template-columns: 1fr; }
}
