/* ==========================================================================
   Shaheer General Trading – site styles
   Brand: logo charcoal (K) + black + sky blue.
   ========================================================================== */

:root {
    --ink: #231f20;          /* logo colour */
    --ink-2: #3a3536;
    --ink-soft: #5d5759;
    --muted: #807a7b;
    --line: #e6e2dc;
    --paper: #ffffff;
    --paper-2: #f6f4f0;      /* warm off-white sections */
    --paper-3: #eeeae3;
    --sky: #2aa7e1;          /* brand sky blue (from slider artwork) */
    --sky-2: #1b8fc6;
    --success: #1f7a4a;
    --danger: #b3261e;
    --whatsapp: #1fa855;

    --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    /* Saira Expanded is the closest web font to the wide, heavy lettering of the SHAHEER logo */
    --font-head: "Saira", "Archivo", system-ui, sans-serif;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 1px 2px rgba(35, 31, 32, .06), 0 8px 24px rgba(35, 31, 32, .06);
    --shadow-lg: 0 20px 50px rgba(35, 31, 32, .18);
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; font-weight: 800; letter-spacing: 0; font-stretch: 118%; text-transform: none; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

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

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

.sr-only, .hp-field {
    position: absolute !important; 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(--sky); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sky-2); outline-offset: 2px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--ink-soft); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 4px; background: var(--sky); border-radius: 2px; }
.eyebrow--light { color: #d8d3d3; }

.lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 46px; padding: .7em 1.35em;
    font-weight: 700; font-size: .95rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
    color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: 999px;
    cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary:hover { --btn-bg: #000; }
.btn--accent { --btn-bg: var(--sky); --btn-fg: var(--ink); --btn-bd: var(--sky); }
.btn--accent:hover { --btn-bg: var(--sky-2); --btn-bd: var(--sky-2); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn--ghost-light:hover { --btn-bd: #fff; --btn-bg: rgba(255,255,255,.08); }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-bd: var(--whatsapp); }
.btn--lg { min-height: 54px; padding-inline: 1.7em; font-size: 1rem; }
.btn--sm { min-height: 40px; padding: .55em 1.05em; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-blue{background-color: var(--sky); border: 2px solid var(--sky);}
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #d9d4d4; font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__note { margin: 0; }
.topbar__links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: #fff; }
.topbar__links a:hover { color: var(--sky); }
.topbar__links .icon { width: 15px; height: 15px; color: var(--sky); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { width: clamp(170px, 18vw, 230px); height: auto; }

.main-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.main-nav__cta { display: none; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: block; padding: 10px 14px; font-weight: 600; text-decoration: none; border-radius: 8px;
}
.main-nav > ul > li > a:hover { background: var(--paper-2); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--sky); border-radius: 0; }
.submenu {
    position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px; margin: 0; list-style: none;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; font-size: .95rem; }
.submenu a:hover { background: var(--paper-2); }

.header-search { display: flex; align-items: center; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding-left: 16px; width: 220px; }
.header-search input { border: 0; background: transparent; min-width: 0; flex: 1; padding: 10px 0; outline: none; font-size: .92rem; }
.header-search button { border: 0; background: none; padding: 10px 14px; cursor: pointer; display: flex; }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-open .nav-toggle .icon--open { display: none; }
.nav-open .nav-toggle .icon--close { display: block; }

.cmyk-bar { display: grid; grid-template-columns: 1fr 1fr 1fr 4fr; height: 4px; }
.cmyk-bar span:nth-child(-n+3) { background: var(--sky); }
.cmyk-bar span:nth-child(4) { background: var(--ink); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { margin: 0; }
.section-head--light h2 { color: #fff; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--paper-2), #fff); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 100px); }
.hero h1 { margin-bottom: .45em; }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--sky) 62%, var(--sky) 92%, transparent 92%); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hero__stats li { flex: 1 1 140px; padding: 18px 18px 0 0; }
.hero__stats li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero__stats strong { display: block; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-family: var(--font-head); font-weight: 800; font-stretch: 120%; line-height: 1; }
.hero__stats span { font-size: .88rem; color: var(--ink-soft); }

.hero__visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero__visual::before {
    content: ""; position: absolute; inset: 12% -8% -8% 12%; border-radius: 28px; z-index: 0;
    background: var(--ink);
    background-image: radial-gradient(circle at 20% 20%, rgba(42,167,225,.35), transparent 45%);
}
.hero__tile {
    position: relative; z-index: 1; aspect-ratio: 1; background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 14%; display: flex; align-items: center; justify-content: center;
}
.hero__tile img { width: 100%; height: 100%; object-fit: contain; }
.hero__tile--2, .hero__tile--4 { transform: translateY(14%); }

/* ---------- USP strip ---------- */
.usp-strip { border-block: 1px solid var(--line); background: #fff; }
.usp-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.usp + .usp { border-left: 1px solid var(--line); }
.usp .icon { width: 30px; height: 30px; color: var(--ink); background: var(--sky); border-radius: 50%; padding: 7px; box-sizing: content-box; }
.usp strong { display: block; font-size: .98rem; }
.usp span { font-size: .86rem; color: var(--ink-soft); }

/* ---------- Category cards ---------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.category-card {
    display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.category-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--ink); }
.category-card__media { aspect-ratio: 4 / 3; background: var(--paper-2); display: flex; align-items: center; justify-content: center; padding: 10%; }
.category-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.category-card__body { padding: 18px 20px 20px; border-top: 4px solid var(--sky); }
.category-card__body h2, .category-card__body h3 { font-size: 1.15rem; margin: 0 0 6px; }
.category-card__body span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: .9rem; font-weight: 600; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { box-shadow: var(--shadow); border-color: #cfc9c1; }
.product-card[hidden] { display: none; }
.product-card__media { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 12%; background: #fff; border-bottom: 1px solid var(--line); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.product-card__cat { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.product-card__name { font-size: 1rem; font-weight: 700; font-stretch: 100%; line-height: 1.35; margin: 0 0 6px; letter-spacing: 0; }
.product-card__name a { text-decoration: none; }
.product-card__name a:hover { text-decoration: underline; }
.product-card__quote { margin-top: auto; align-self: flex-start; }

/* ---------- Split blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { margin-top: 3px; background: var(--sky); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

.sector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sector-grid li { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); font-weight: 700; font-size: 1.02rem; }
.sector-grid .icon { width: 30px; height: 30px; color: var(--sky); }

.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.feature-grid li { padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.feature-grid .icon { width: 30px; height: 30px; color: var(--sky); margin-bottom: 14px; }
.feature-grid h3 { color: #fff; margin-bottom: 6px; }
.feature-grid p { color: #cfc9ca; margin: 0; font-size: .94rem; }

.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-grid li { background: #fff; border-radius: var(--radius-lg); padding: 28px; border-top: 4px solid var(--sky); }
.stat-grid strong { display: block; font-size: 2.6rem; font-family: var(--font-head); font-weight: 800; font-stretch: 120%; line-height: 1; }
.stat-grid span { display: block; font-weight: 700; margin: 8px 0; }
.stat-grid p { margin: 0; color: var(--ink-soft); }

/* ---------- Brands ---------- */
.brand-strip { padding-bottom: clamp(40px, 5vw, 72px); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 70s linear infinite; padding-block: 4px; }
.marquee__track img { width: 180px; height: 150px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 6px; transition: border-color .15s ease, box-shadow .15s ease; }
.marquee__track img:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }

.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.brand-grid li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 14px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.brand-grid img { width: 100%; height: 150px; object-fit: contain; }
.brand-grid span { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.brand-note { margin-top: 28px; text-align: center; color: var(--ink-soft); }

/* ---------- Page hero & breadcrumb ---------- */
.page-hero { background: var(--paper-2); padding-block: clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { margin: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .87rem; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #b4aeaa; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Catalogue toolbar ---------- */
.section--catalog { padding-top: 32px; }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
    text-decoration: none; font-size: .9rem; font-weight: 600; background: #fff; transition: .15s ease;
}
.chip span { font-size: .78rem; background: var(--paper-2); border-radius: 999px; padding: 1px 8px; color: var(--ink-soft); }
.chip:hover { border-color: var(--ink); }
.chip[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-current="page"] span { background: var(--sky); color: var(--ink); }
.catalog-filter { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; min-width: 260px; background: #fff; }
.catalog-filter input { border: 0; outline: none; padding: 11px 0; flex: 1; min-width: 0; background: transparent; }
.result-count { color: var(--ink-soft); font-size: .92rem; margin-bottom: 16px; }
.empty-state { padding: 28px; border: 1px dashed #cfc9c1; border-radius: var(--radius); text-align: center; color: var(--ink-soft); }

.search-big { display: flex; gap: 10px; max-width: 640px; margin-top: 16px; }
.search-big input { flex: 1; min-width: 0; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }

/* ---------- Product detail ---------- */
.product-detail { padding-top: 32px; }
.product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.product-detail__media {
    position: sticky; top: 120px; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center; padding: 10%;
}
.product-detail__media img { width: 100%; height: 100%; object-fit: contain; }
.product-detail__cat { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; margin-bottom: 10px; border-bottom: 3px solid var(--sky); }
.product-detail h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.product-facts { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.product-facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.product-facts .icon { margin-top: 3px; color: var(--ink); }
.product-facts strong { color: var(--ink); }
.product-detail__quick { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

/* ---------- Forms ---------- */
.quote-card { background: var(--paper-2); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); border-top: 4px solid var(--sky); }
.quote-card h2 { font-size: 1.35rem; }
.quote-card--large { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--sky); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full, .field--qty { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; }
.field label span { color: var(--danger); }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 14px; border: 1px solid #d6d0c8; border-radius: 8px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(42, 167, 225, .4); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field .field-error { color: var(--danger); font-size: .82rem; }
.field--qty input { max-width: 220px; }
.form-status:empty { display: none; }
.form-status { margin-bottom: 14px; }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

.notice { padding: 14px 18px; border-radius: var(--radius); margin: 16px 0; font-weight: 600; }
.notice--success { background: #e7f5ec; color: var(--success); border: 1px solid #b9e2c8; }
.notice--error { background: #fdecea; color: var(--danger); border: 1px solid #f3c2bd; }

.quote-success { text-align: center; padding: 24px 8px; }
.quote-success .icon { width: 54px; height: 54px; background: var(--sky); border-radius: 50%; padding: 12px; margin: 0 auto 14px; }

/* ---------- Modal ---------- */
.quote-modal { border: 0; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.quote-modal::backdrop { background: rgba(35, 31, 32, .6); backdrop-filter: blur(2px); }
.quote-modal__panel { position: relative; padding: clamp(20px, 4vw, 30px); }
.quote-modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.quote-modal__product { display: flex; gap: 16px; align-items: center; padding-right: 44px; margin-bottom: 20px; }
.quote-modal__thumb { flex: none; width: 76px; height: 76px; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; background: #fff; }
.quote-modal__thumb img { width: 100%; height: 100%; object-fit: contain; }
.quote-modal__product .eyebrow { margin-bottom: 4px; }
.quote-modal__product h2 { font-size: 1.12rem; font-stretch: 100%; margin: 0; }
body.modal-open { overflow: hidden; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-tile { display: flex; gap: 16px; padding: 20px; background: var(--paper-2); border-radius: var(--radius); }
.contact-tile > .icon { width: 42px; height: 42px; padding: 10px; background: var(--ink); color: var(--sky); border-radius: 10px; }
.contact-tile h2 { font-size: 1rem; font-stretch: 100%; margin-bottom: 4px; }
.contact-tile p { margin: 0; color: var(--ink-soft); }
.contact-tile a { text-decoration: none; color: var(--ink); font-weight: 600; }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.3); }

/* ---------- CTA band & footer ---------- */
.cta-band { background: var(--sky); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding-block: clamp(36px, 5vw, 56px); }
.cta-band h2 { margin: 0; max-width: 24ch; }
.cta-band .eyebrow { color: var(--ink); }
.cta-band .eyebrow::before { background: var(--ink); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--accent { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.cta-band .btn--ghost-light { --btn-fg: var(--ink); --btn-bd: var(--ink); }
.cta-band .btn--ghost-light:hover { --btn-bg: rgba(35,31,32,.08); }

.site-footer { background: var(--ink); color: #cfc9ca; font-size: .94rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 64px 48px; }
.site-footer__about img { width: 220px; margin-bottom: 20px; }
.site-footer__title { color: #fff; font-size: 1rem; font-stretch: 100%; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #e9e5e5; }
.site-footer a:hover { color: var(--sky); }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { color: var(--sky); margin-top: 4px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-block: 18px; }
.site-footer__bottom p { margin: 0; }

.whatsapp-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
    background: var(--whatsapp); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
    transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float .icon { width: 28px; height: 28px; }

.notfound { text-align: center; }
.notfound .lead { margin-inline: auto; }
.notfound .hero__actions { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .header-search { display: none; }
    .sector-grid, .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
    :root { --header-h: 66px; }
    .topbar__note { display: none; }
    .topbar__inner { justify-content: center; }
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h)); z-index: 60;
        border-top: 1px solid var(--line);
        flex-direction: column; align-items: stretch; gap: 16px; margin: 0; padding: 20px var(--gutter) 32px;
        background: #fff; overflow-y: auto; display: none;
    }
    .nav-open .main-nav { display: flex; animation: nav-in .2s ease; }
    @keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }
    .main-nav > ul { flex-direction: column; gap: 0; }
    .main-nav > ul > li > a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--sky); padding-left: 14px; }
    .submenu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 4px 0 8px 12px; min-width: 0; }
    .main-nav__cta { display: inline-flex; width: 100%; }
    body.nav-open { overflow: hidden; }

    .hero__inner, .split, .product-detail__grid, .contact-layout { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
    .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; margin-bottom: 8%; }
    .usp-strip__grid { grid-template-columns: 1fr 1fr; }
    .usp:nth-child(3) { border-left: 0; }
    .usp:nth-child(n+3) { border-top: 1px solid var(--line); }
    .product-detail__media { position: static; max-width: 520px; width: 100%; margin-inline: auto; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .stat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 15.5px; }
    .topbar__links { gap: 14px; font-size: .8rem; }
    .topbar__links li:last-child { display: none; }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); }
    .hero__stats li { padding: 14px 8px 0 0; }
    .hero__stats li + li { padding-left: 10px; }
    .hero__stats strong { font-size: 1.45rem; }
    .hero__stats span { display: block; font-size: .78rem; line-height: 1.35; margin-top: 4px; }
    .usp-strip__grid { grid-template-columns: 1fr; }
    .usp + .usp { border-left: 0; border-top: 1px solid var(--line); }
    .usp { padding: 14px 4px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-card__body { padding: 12px; }
    .product-card__name { font-size: .92rem; }
    .product-card__quote { align-self: stretch; }
    .category-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .category-card__body { padding: 12px 14px 14px; }
    .category-card__body h2, .category-card__body h3 { font-size: 1rem; }
    .sector-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .catalog-filter { min-width: 0; width: 100%; }
    .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 6px; scrollbar-width: thin; }
    .chip { white-space: nowrap; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-block: 48px 32px; }
    .search-big { flex-direction: column; }
    .cta-band__actions, .cta-band__actions .btn { width: 100%; }
    .whatsapp-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

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

/* ---------- Brand typography (logo-style) ---------- */
.eyebrow, .btn, .main-nav > ul > li > a, .chip, .site-footer__title, .product-card__cat, .product-detail__cat, .usp strong, .sector-grid li {
    font-family: var(--font-head); font-stretch: 110%;
}
.btn { font-weight: 700; letter-spacing: .01em; }
.product-card__name, .quote-modal__product h2, .contact-tile h2 { font-stretch: 100%; font-weight: 700; }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; background: var(--sky); color: var(--ink); overflow: hidden; }
.hero-slider__track { display: grid; }
.hero-slide {
    grid-area: 1 / 1; position: relative; display: flex; align-items: center;
    min-height: clamp(440px, 34vw, 640px);
    opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-slide::before {
    /* keeps the copy readable where the photo reaches under the text on narrower screens */
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, var(--sky) 0%, var(--sky) 32%, rgba(42, 167, 225, .75) 46%, rgba(42, 167, 225, 0) 62%);
}
.hero-slide__inner { position: relative; z-index: 2; padding-block: 56px 96px; }
.hero-slide__copy { max-width: 560px; }
.hero-slide.is-active .hero-slide__copy > * { animation: slide-up .7s ease both; }
.hero-slide.is-active .hero-slide__copy > :nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-slide__copy > :nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-slide__copy > :nth-child(4) { animation-delay: .24s; }
@keyframes slide-up { from { opacity: 0; transform: translateY(18px); } }
.hero-slide__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.05; margin-bottom: .4em; color: var(--ink); }
.hero-slide__text { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); max-width: 46ch; color: #10202a; margin-bottom: 28px; }
.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow--dark { color: var(--ink); }
.eyebrow--dark::before { background: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }

.hero-slider__controls { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 10px; }
.hero-slider__arrow {
    width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.hero-slider__arrow:hover { background: var(--ink); color: #fff; }
.hero-slider__pause { font-size: .7rem; letter-spacing: -1px; margin-left: 4px; }
.icon--flip { transform: scaleX(-1); }
.hero-slider__dots { display: flex; gap: 8px; padding-inline: 4px; }
.hero-slider__dots button { width: 12px; height: 12px; padding: 0; border-radius: 999px; border: 2px solid var(--ink); background: transparent; cursor: pointer; transition: width .25s ease, background-color .25s ease; }
.hero-slider__dots button[aria-current="true"] { width: 32px; background: var(--ink); }
.hero-slider__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 3; background: rgba(35, 31, 32, .15); }
.hero-slider__progress span { display: block; height: 100%; width: 0; background: var(--ink); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--ink); color: #fff; }
.stats-band__grid { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-band li { padding: 26px 20px; display: flex; align-items: baseline; gap: 12px; }
.stats-band li + li { border-left: 1px solid rgba(255,255,255,.14); }
.stats-band strong { font-family: var(--font-head); font-stretch: 120%; font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); color: var(--sky); line-height: 1; }
.stats-band span { color: #d6d1d1; font-size: .92rem; line-height: 1.3; }

@media (max-width: 980px) {
    .stats-band__grid { grid-template-columns: 1fr 1fr; }
    .stats-band li:nth-child(3) { border-left: 0; }
    .stats-band li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
    .stats-band li { flex-direction: column; gap: 6px; padding: 20px 12px; }
}

@media (max-width: 767px) {
    .hero-slide { flex-direction: column; align-items: stretch; min-height: 0; }
    .hero-slide::before { display: none; }
    .hero-slide__inner { order: 1; }
    .hero-slide__img { position: relative; order: 2; height: auto; aspect-ratio: 16 / 10; object-position: 82% center; }
    .hero-slide__inner { padding-block: 28px 24px; }
    .hero-slide .eyebrow { display: none; }
    .hero-slide__text { margin-bottom: 20px; }
    .hero-slide__actions { flex-wrap: nowrap; gap: 10px; }
    .hero-slide__actions .btn { flex: 1 1 0; min-height: 48px; padding-inline: .8em; font-size: .92rem; }
    .hero-slider__controls { position: relative; bottom: auto; padding-block: 14px 18px; justify-content: center; background: var(--sky); }
    .hero-slider__progress { top: auto; }
}

/* ---------- RFQ list ("quote cart") ---------- */
.rfq-link {
    position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none;
    min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--sky); /*color: var(--ink);*/ color: #fff;
    font-family: var(--font-head); font-stretch: 110%; font-weight: 700; text-decoration: none; white-space: nowrap;
    transition: background-color .15s ease;
}
.rfq-link:hover, .rfq-link[aria-current="page"] { background: var(--sky-2); }
.rfq-link .icon { width: 20px; height: 20px; }
.rfq-link__count {
    min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--ink); color: #fff;
    font-size: .8rem; display: inline-flex; align-items: center; justify-content: center;
}
.rfq-link__count[hidden] { display: none; }
.rfq-link__count.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

.product-card__form { margin-top: auto; }
.product-card__quote.is-added { --btn-bg: #e4f4fc; --btn-fg: var(--ink); --btn-bd: var(--sky); margin-top: auto; align-self: flex-start; }

.qty { display: inline-flex; align-items: stretch; border: 1px solid #d6d0c8; border-radius: 999px; background: #fff; overflow: hidden; height: 42px; }
.qty button { width: 40px; border: 0; background: transparent; font-size: 1.25rem; line-height: 1; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--paper-2); }
.qty input { width: 64px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(42, 167, 225, .4); }
.qty--lg { height: 54px; }
.qty--lg button { width: 48px; }

.rfq-box p.muted { color: var(--ink-soft); font-size: .95rem; }
.rfq-box__form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.rfq-box__add { flex: 1 1 200px; }
.rfq-box__status { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-weight: 600; }
.rfq-box__status[hidden] { display: none; }
.rfq-box__status .icon { color: #fff; background: var(--ink); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.rfq-box__status a { color: var(--ink); }

.page-hero--compact { padding-block: clamp(28px, 4vw, 48px); }
.rfq-steps { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 22px 0 0; padding: 0; font-weight: 600; color: var(--muted); }
.rfq-steps li { display: flex; align-items: center; gap: 10px; }
.rfq-steps span { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid currentColor; font-size: .85rem; }
.rfq-steps .is-done { color: var(--ink); }
.rfq-steps .is-done span { background: var(--ink); color: #fff; border-color: var(--ink); }
.rfq-steps .is-current { color: var(--ink); }
.rfq-steps .is-current span { background: var(--sky); border-color: var(--sky); }

.rfq-section { padding-top: 36px; }
.rfq-layout { display: grid; grid-template-columns: 1fr 400px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.rfq-items__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 12px; }
.rfq-items__head h2 { font-size: 1.3rem; margin: 0; }
.rfq-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rfq-item { display: grid; grid-template-columns: 88px 1fr auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); transition: opacity .2s ease; }
.rfq-item.is-removing { opacity: 0; }
.rfq-item__img { width: 88px; height: 88px; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; background: #fff; display: block; }
.rfq-item__img img { width: 100%; height: 100%; object-fit: contain; }
.rfq-item__info .product-card__cat { margin-bottom: 4px; }
.rfq-item__name { font-weight: 700; text-decoration: none; line-height: 1.35; }
.rfq-item__name:hover { text-decoration: underline; }
.rfq-item__remove { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-soft); }
.rfq-item__remove:hover { border-color: var(--danger); color: var(--danger); }
.rfq-items__foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.btn--text { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--ink-soft); }
.btn--text:hover { --btn-fg: var(--danger); }
.rfq-details { position: sticky; top: 110px; }
.rfq-details .form-grid { grid-template-columns: 1fr; }

.rfq-empty, .rfq-sent { max-width: 620px; margin: 0 auto; text-align: center; padding: 24px 0; }
.rfq-empty__icon, .rfq-sent__icon { width: 64px; height: 64px; padding: 16px; border-radius: 50%; margin: 0 auto 18px; }
.rfq-empty__icon { background: var(--paper-2); color: var(--ink-soft); }
.rfq-sent__icon { background: var(--sky); color: var(--ink); }
.rfq-empty .hero__actions { justify-content: center; }
.rfq-sent a:not(.btn) { color: var(--ink); font-weight: 600; }

.toast {
    position: fixed; left: 50%; bottom: 22px; z-index: 90; transform: translate(-50%, 20px); opacity: 0;
    display: flex; align-items: center; gap: 12px; width: min(560px, calc(100vw - 24px)); padding: 12px 12px 12px 16px;
    background: var(--ink); color: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast p { margin: 0; flex: 1; font-size: .92rem; line-height: 1.35; }
.toast__icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--sky); color: var(--ink); }
.toast__close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.toast__close:hover { background: rgba(255,255,255,.1); }

@media (max-width: 1180px) {
    .rfq-layout { grid-template-columns: 1fr 360px; }
}
@media (max-width: 980px) {
    .rfq-link { margin-left: auto; }
    .nav-toggle { margin-left: 0; }
    .rfq-layout { grid-template-columns: 1fr; }
    .rfq-details { position: static; }
}
@media (max-width: 640px) {
    .rfq-link { padding: 0 12px; min-height: 44px; }
    .rfq-link__label { display: none; }
    .site-header__inner { gap: 10px; }
    .rfq-item { grid-template-columns: 64px 1fr auto; grid-template-areas: "img info remove" "img qty qty"; gap: 10px 12px; }
    .rfq-item__img { grid-area: img; width: 64px; height: 64px; align-self: start; }
    .rfq-item__info { grid-area: info; }
    .rfq-item .qty { grid-area: qty; justify-self: start; }
    .rfq-item__remove { grid-area: remove; align-self: start; }
    .rfq-item__name { font-size: .95rem; }
    .toast { flex-wrap: wrap; bottom: 12px; }
    .toast p { flex-basis: calc(100% - 80px); }
    .toast .btn { flex: 1; }
    .rfq-box__add { flex-basis: 100%; }
}
[hidden] { display: none !important; }

/* Products dropdown: two columns now that there are many categories */
@media (min-width: 981px) {
    .has-menu .submenu { display: grid; grid-template-columns: repeat(2, minmax(200px, 1fr)); gap: 0 8px; min-width: 460px; }
}

/* Home: show exactly two rows of categories (4 / 3 / 2 per row by screen size) */
.category-grid--home { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
    .category-grid--home { grid-template-columns: repeat(3, 1fr); }
    .category-grid--home > :nth-child(n+7) { display: none; }
}
@media (max-width: 640px) {
    .category-grid--home { grid-template-columns: repeat(2, 1fr); }
    .category-grid--home > :nth-child(n+5) { display: none; }
    .marquee__track img { width: 130px; height: 110px; }
    .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .brand-grid img { height: 120px; }
}
.section-cta { display: flex; justify-content: center; margin-top: 28px; }

/* Product grids: fixed columns so a page of 16 is exactly 4 rows on desktop */
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 36px; }
.pagination > a, .pagination > span {
    min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 700;
    font-family: var(--font-head); font-stretch: 110%;
}
.pagination > a:hover { border-color: var(--ink); }
.pagination [aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .pagination__gap { border: 0; background: none; min-width: 20px; padding: 0; color: var(--muted); }
.pagination .is-disabled { color: #bdb7b0; pointer-events: none; }
.pagination__info { width: 100%; text-align: center; color: var(--ink-soft); font-size: .9rem; margin-top: 4px; }
.catalog-filter button { border: 0; background: none; padding: 0; display: flex; cursor: pointer; color: var(--ink); }
.filter-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.filter-note a { font-weight: 600; color: var(--ink); }
@media (max-width: 640px) {
    .pagination > a, .pagination > span { min-width: 40px; height: 40px; padding: 0 10px; }
    .pagination__label { display: none; }
}

/* ---------- Category page: sub-category sidebar ---------- */
.catalog-layout.has-sidebar { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
.catalog-sidebar { position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 14px 14px; }
.catalog-sidebar__title { font-size: 1.05rem; font-stretch: 112%; margin: 0 6px 12px; padding-bottom: 12px; border-bottom: 3px solid var(--sky); }
.subcat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.subcat-list a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px;
    border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.3; transition: background-color .15s ease;
}
.subcat-list a:hover { background: var(--paper-2); }
.subcat-list b { flex: none; min-width: 30px; padding: 2px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); font-size: .78rem; text-align: center; }
.subcat-list a[aria-current="page"] { background: var(--ink); color: #fff; }
.subcat-list a[aria-current="page"] b { background: var(--sky); color: var(--ink); }
.catalog-layout.has-sidebar .catalog-toolbar { justify-content: flex-end; }
.catalog-layout.has-sidebar .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 980px) {
    .catalog-layout.has-sidebar { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .catalog-sidebar, .catalog-sidebar nav { min-width: 0; }
    .catalog-sidebar { position: static; padding: 0; border: 0; background: none; }
    .catalog-sidebar__title { display: none; }
    .subcat-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
    .subcat-list a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px 8px 14px; background: #fff; }
    .catalog-layout.has-sidebar .catalog-toolbar { justify-content: flex-start; }
    .catalog-layout.has-sidebar .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .catalog-layout.has-sidebar .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Footer link arrows (Company / Products columns) */
.site-footer nav a { display: inline-flex; align-items: center; gap: 10px; transition: color .15s ease, transform .15s ease; }
.site-footer nav a::before {
    content: ""; flex: none; width: 7px; height: 7px; margin-left: 1px;
    border-top: 2px solid var(--sky); border-right: 2px solid var(--sky); transform: rotate(45deg);
}
.site-footer nav a:hover { transform: translateX(3px); }
