/*
Theme Name: PharmaWell
Theme URI: https://example.com/pharmawell
Author: PharmaWell
Description: Bilingual (English / Arabic RTL) B2B theme for pharmaceutical raw-material suppliers: product catalog with CAS search, request-for-quotation, certificates, partners, mega menu and a section-based homepage. Requires the “PharmaWell Core” plugin; Arabic needs Polylang.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pharma-theme
Tags: rtl-language-support, translation-ready, custom-menu, featured-images, two-columns, e-commerce
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--pw-primary: #0b4a9e;
	--pw-navy: #0a2a5e;
	--pw-accent: #1c9ad6;
	--pw-header-bg: #fff;
	--pw-primary-d: color-mix(in srgb, var(--pw-primary) 80%, #000);
	--ink: #0e1f3f;
	--text: #4a5775;
	--muted: #7d889c;
	--line: #e3e9f2;
	--soft: #f3f7fc;
	--soft-2: #e6eff9;
	--card-bg: radial-gradient(circle at 50% 38%, #fff 0%, #f1f5fb 62%, #e8eff8 100%);
	--shadow: 0 18px 40px -18px rgba(10, 42, 94, .28);
	--shadow-sm: 0 4px 14px -6px rgba(10, 42, 94, .22);
	--f-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
	--f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--gutter: 20px;
}
[dir="rtl"] {
	--f-head: "Cairo", "Segoe UI", Tahoma, sans-serif;
	--f-body: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; background: #fff; color: var(--text); font: 400 15px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--pw-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pw-primary-d); }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-family: var(--f-head); font-weight: 700; line-height: 1.2; text-wrap: balance; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pw-accent); outline-offset: 2px; }
.sr-only { 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:focus { position: fixed !important; top: 10px; inset-inline-start: 10px; z-index: 999; width: auto; height: auto; padding: 10px 16px; clip: auto; background: #fff; border-radius: 6px; box-shadow: var(--shadow); }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 900px; }
.i { display: inline-block; flex: none; width: 1.15em; height: 1.15em; vertical-align: middle; }
[dir="rtl"] .i-dir { transform: scaleX(-1); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .74em 1.35em; border: 1.5px solid transparent; border-radius: 6px; font: 600 14px/1.2 var(--f-head); white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.btn .i { width: 18px; height: 18px; }
.btn--primary { background: var(--pw-primary); color: #fff; }
.btn--primary:hover { background: var(--pw-primary-d); color: #fff; box-shadow: 0 10px 22px -10px var(--pw-primary); }
.btn--outline { background: #fff; color: var(--pw-primary); border-color: var(--pw-primary); }
.btn--outline:hover { background: var(--pw-primary); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--soft); color: var(--ink); }
.btn--lg { padding: .92em 1.6em; font-size: 15px; }
.btn--sm { padding: .62em 1em; font-size: 13px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--pw-primary); font: 600 14px/1.3 var(--f-head); }
.link-arrow .i { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .i-dir, .svc-card:hover .link-arrow .i-dir, .post-card:hover .link-arrow .i-dir { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .i-dir, [dir="rtl"] .svc-card:hover .link-arrow .i-dir, [dir="rtl"] .post-card:hover .link-arrow .i-dir { transform: scaleX(-1) translateX(3px); }

.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.badges li { padding: 5px 8px; border-radius: 4px; background: #eef2f8; color: #3f4e6d; font: 600 11px/1 var(--f-body); letter-spacing: .02em; }

.card-box { padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 48px -36px rgba(10, 42, 94, .35); }
.card-box--navy { background: var(--pw-navy); border-color: transparent; color: #cdd9ee; }
.card-box--navy h3 { color: #fff; }
.card-box--navy .contact-list a { color: #fff; }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar { background: var(--pw-navy); color: #d3def0; font-size: 12.5px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__text { margin: 0; color: #fff; font-weight: 500; }
.topbar__meta { display: flex; align-items: center; gap: 20px; }
.topbar__meta > a { display: inline-flex; align-items: center; gap: 6px; color: #d3def0; }
.topbar__meta > a:hover { color: #fff; }
.topbar__meta .i { width: 14px; height: 14px; }

.socials { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft-2); color: var(--pw-primary); transition: background .2s, color .2s; }
.socials a:hover { background: var(--pw-primary); color: #fff; }
.socials .i { width: 16px; height: 16px; }
.topbar .socials { gap: 6px; }
.topbar .socials a { width: 24px; height: 24px; background: rgba(255, 255, 255, .12); color: #fff; }
.topbar .socials a:hover { background: var(--pw-accent); }
.topbar .socials .i { width: 13px; height: 13px; }

.site-header { position: relative; z-index: 50; background: var(--pw-header-bg); box-shadow: 0 1px 0 var(--line); transition: box-shadow .25s; }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(10, 42, 94, .35); }
.header__main { display: flex; align-items: center; gap: 32px; padding-block: 14px; }
.header__search { flex: 1; max-width: 600px; margin-inline: auto; }
.header__tools { display: flex; align-items: center; gap: 12px; }

.logo { display: inline-flex; flex: none; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { width: 46px; height: 46px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { color: var(--pw-navy); font: 700 22px/1.1 var(--f-head); letter-spacing: -.01em; }
.logo__text small { margin-top: 3px; color: var(--muted); font-size: 11.5px; }
.logo__img { width: auto; max-height: 52px; }
.logo--light .logo__text strong { color: #fff; }
.logo--light .logo__text small { color: #aabcdb; }

/* Search + live results */
.search { position: relative; display: flex; }
.search input { flex: 1; min-width: 0; height: 44px; padding-inline: 16px; background: #f6f8fc; border: 1px solid var(--line); border-radius: 6px; border-start-end-radius: 0; border-end-end-radius: 0; font-size: 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.search input:focus { outline: none; background: #fff; border-color: var(--pw-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pw-primary) 14%, transparent); }
.search button { display: grid; place-items: center; width: 50px; height: 44px; background: var(--pw-primary); border: 0; border-radius: 6px; border-start-start-radius: 0; border-end-start-radius: 0; color: #fff; cursor: pointer; transition: background .2s; }
.search button:hover { background: var(--pw-primary-d); }
.search button .i { width: 20px; height: 20px; }
.search__results { position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 60; max-height: 430px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.search__results a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink); font-weight: 500; }
.search__results a:hover, .search__results a.is-active { background: var(--soft); }
.search__results img { width: 44px; height: 44px; object-fit: cover; background: var(--soft); border-radius: 6px; }
.search__results small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.search__results .search__all { justify-content: center; border-top: 1px solid var(--line); color: var(--pw-primary); font-weight: 600; }
.search__results .search__empty { margin: 0; padding: 14px; color: var(--muted); }

/* Language switcher */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding-inline: 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.lang__btn .i { width: 14px; height: 14px; color: var(--muted); }
.lang__flag { width: 20px; height: auto; border-radius: 2px; }
.lang__menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 70; min-width: 170px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s, transform .18s, visibility .18s; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; color: var(--ink); font-weight: 500; }
.lang__menu a:hover, .lang__menu [aria-current] { background: var(--soft); color: var(--pw-primary); }

/* Primary navigation (desktop) */
.header__nav { border-top: 1px solid var(--line); }
.header__navin { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 54px; }
.drawer__head, .drawer__search, .drawer__contact, .nav-toggle { display: none; }
.primary-nav .menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.primary-nav .menu > li { position: relative; display: flex; align-items: center; }
.primary-nav .menu > li > a { position: relative; display: block; padding: 17px 12px; color: var(--ink); font: 500 14.5px/1.2 var(--f-head); }
.primary-nav .menu > li > a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 9px; height: 2px; background: var(--pw-primary); border-radius: 2px; transform: scaleX(0); transition: transform .22s; }
.primary-nav .menu > li:hover > a::after,
.primary-nav .menu > .current-menu-item > a::after,
.primary-nav .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--pw-primary); }
.sub-toggle { display: grid; place-items: center; margin-inline-start: -10px; padding: 4px; background: none; border: 0; color: var(--muted); cursor: pointer; }
.sub-toggle .i { width: 14px; height: 14px; transition: transform .2s; }
.menu-item-has-children:hover > .sub-toggle .i { transform: rotate(180deg); }
.primary-nav .sub-menu { position: absolute; top: 100%; inset-inline-start: 0; z-index: 60; min-width: 240px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; }
.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu,
.primary-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu:has(> li:nth-child(8)) { min-width: 470px; columns: 2; column-gap: 8px; }
.primary-nav .sub-menu li { break-inside: avoid; }
.primary-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--text); font-size: 14px; }
.primary-nav .sub-menu a:hover, .primary-nav .sub-menu .current-menu-item > a { background: var(--soft); color: var(--pw-primary); }
.primary-nav .sub-menu .sub-toggle { display: none; }
/* Mega menu: a top-level item whose children have children */
.primary-nav .menu > li.is-mega { position: static; }
.primary-nav .is-mega > .sub-menu { inset-inline: var(--gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 28px; min-width: 0; padding: 26px 28px; columns: auto; }
.primary-nav .is-mega > .sub-menu > li > a { margin-bottom: 6px; padding: 0 0 10px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); font: 600 15px/1.3 var(--f-head); }
.primary-nav .is-mega > .sub-menu > li > a:hover { background: none; color: var(--pw-primary); }
.primary-nav .is-mega .sub-menu .sub-menu { position: static; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; columns: auto; }
.primary-nav .is-mega .sub-menu .sub-menu a { padding: 6px 0; }
.primary-nav .is-mega .sub-menu .sub-menu a:hover { background: none; }
.header__cta { flex: none; }
.nav-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(8, 20, 45, .5); }

/* ==========================================================================
   Hero slider
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: linear-gradient(100deg, #f5f9fe 0%, #e3eefa 100%); }
.hero__track { display: grid; }
.hero__slide { position: relative; grid-area: 1 / 1; display: flex; align-items: center; min-height: clamp(420px, 40vw, 560px); opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245, 249, 254, .96) 0%, rgba(245, 249, 254, .82) 34%, rgba(245, 249, 254, 0) 60%); }
[dir="rtl"] .hero__media::after { background: linear-gradient(270deg, rgba(245, 249, 254, .96) 0%, rgba(245, 249, 254, .82) 34%, rgba(245, 249, 254, 0) 60%); }
[dir="rtl"] .hero__media img[src$=".svg"], [dir="rtl"] .banner__media img[src$=".svg"] { transform: scaleX(-1); }
.hero__content { position: relative; z-index: 1; padding-block: 64px 80px; }
.hero__title { max-width: 13ch; margin-bottom: 18px; color: var(--pw-navy); font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.02em; }
[dir="rtl"] .hero__title { line-height: 1.35; letter-spacing: 0; }
.hero__sub { max-width: 30em; margin-bottom: 30px; color: #33415f; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero.is-ready .hero__slide.is-active .hero__content > * { animation: pw-rise .75s cubic-bezier(.2, .7, .2, 1) both; }
.hero.is-ready .hero__slide.is-active .hero__content > :nth-child(2) { animation-delay: .1s; }
.hero.is-ready .hero__slide.is-active .hero__content > :nth-child(3) { animation-delay: .2s; }
@keyframes pw-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; background: rgba(255, 255, 255, .88); border: 0; border-radius: 50%; color: var(--pw-navy); box-shadow: var(--shadow-sm); cursor: pointer; transform: translateY(-50%); transition: background .2s, color .2s; }
.hero__arrow:hover { background: var(--pw-primary); color: #fff; }
.hero__arrow--prev { inset-inline-start: 18px; }
.hero__arrow--next { inset-inline-end: 18px; }
.hero__dots { position: absolute; bottom: 24px; inset-inline: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; padding: 0; background: rgba(11, 74, 158, .25); border: 0; border-radius: 99px; cursor: pointer; transition: width .3s, background .3s; }
.hero__dots .is-active { width: 28px; background: var(--pw-primary); }

/* Feature strip */
.features { background: #fff; border-bottom: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { display: flex; align-items: center; gap: 14px; padding: 22px 20px; }
.feature + .feature { border-inline-start: 1px solid var(--line); }
.feature__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; color: var(--pw-primary); }
.feature__icon .i { width: 36px; height: 36px; stroke-width: 1.5; }
.feature__text { max-width: 13em; color: var(--ink); font: 600 14.5px/1.35 var(--f-head); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(48px, 6vw, 80px); }
.section--soft { background: var(--soft); }
.section--cats { padding-bottom: clamp(40px, 5vw, 64px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec-title { margin: 0; color: var(--pw-navy); font-size: clamp(24px, 2.4vw, 32px); }
.sec-title--sm { margin-bottom: 16px; font-size: 22px; }
.sec-sub { margin: 6px 0 0; color: var(--muted); }
.lead { color: var(--ink); font-size: 17.5px; line-height: 1.7; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cat-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.cat-card:hover { color: var(--pw-primary); border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.cat-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-bg); }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.cat-card:hover .cat-card__img img { transform: scale(1.06); }
.cat-card__name { padding: 12px 10px 14px; font: 600 14px/1.3 var(--f-head); text-align: center; }

/* Stats band */
.stats { color: #fff; background: url("assets/art/world.svg") center / cover no-repeat, linear-gradient(90deg, var(--pw-navy), color-mix(in srgb, var(--pw-navy) 72%, var(--pw-primary))); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 36px; }
.stat { display: flex; align-items: center; justify-content: center; gap: 16px; }
.stat__icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; }
.stat__icon .i { width: 28px; height: 28px; stroke-width: 1.5; }
.stat__num { display: block; color: #fff; font: 700 32px/1.1 var(--f-head); font-variant-numeric: tabular-nums; }
.stat__label { color: #c5d4ee; font-size: 14px; }

/* Why choose us */
.why__grid { display: grid; grid-template-columns: 1.05fr 1.2fr .95fr; gap: 36px; align-items: stretch; }
.why:not(.why--card) .why__grid { grid-template-columns: 1fr 1fr; }
.why__media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; border-radius: 12px; }
.why__body { align-self: center; }
.why__text { margin: 14px 0 22px; }
.why__points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 0 0 28px; padding: 0; list-style: none; }
.why__points li { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 600 14.5px/1.35 var(--f-head); }
.why__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; background: var(--soft-2); border-radius: 50%; color: var(--pw-primary); }
.why__icon .i { width: 20px; height: 20px; }
.why__card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; overflow: hidden; background: var(--soft); border-radius: 12px; }
.why__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why__cardtext { position: relative; padding: 70px 24px 24px; background: linear-gradient(to top, rgba(231, 240, 250, .97) 55%, rgba(231, 240, 250, 0)); }
.why__cardtext h3 { margin-bottom: 6px; color: var(--pw-navy); font-size: 22px; }
.why__cardtext p { margin: 0; font-size: 14px; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.product-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.p-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.p-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-bg); }
.p-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.p-card:hover .p-card__img img { transform: scale(1.05); }
.p-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 14px; }
.p-card__title { margin: 0; font-size: 15px; line-height: 1.3; }
.p-card__title a { color: var(--ink); }
.p-card__title a:hover { color: var(--pw-primary); }
.p-card__cas { margin: 0; color: var(--muted); font-size: 13px; }
.p-card .badges { margin-bottom: 4px; }
.p-card .btn { margin-top: auto; }

/* Generic card grids */
.card-grid { display: grid; gap: 20px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-card { position: relative; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-card__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; margin-bottom: 16px; background: var(--soft-2); border-radius: 12px; color: var(--pw-primary); }
.svc-card__icon .i { width: 26px; height: 26px; }
.svc-card__icon--lg { width: 64px; height: 64px; }
.svc-card__icon--lg .i { width: 32px; height: 32px; }
.svc-card__title { margin-bottom: 8px; font-size: 18px; }
.svc-card__title a { color: var(--ink); }
.svc-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc-card p { font-size: 14.5px; }
.mv-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.mv-card h3 { font-size: 20px; }
.mv-card p { margin: 0; }

.cert-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.cert-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-bg); }
.cert-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cert-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px; }
.cert-card__title { margin: 0; font-size: 16px; }
.cert-card__org { margin: 0; color: var(--muted); font-size: 13.5px; }
.cert-card__dates { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-size: 13px; }
.cert-card__dates dt { color: var(--muted); }
.cert-card__dates dd { margin: 0; color: var(--ink); font-weight: 600; }
.cert-card .link-arrow { margin-top: auto; }

/* Horizontal scrollers (testimonials, partners) */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; margin: 0; padding: 0; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.scroller-nav { display: flex; gap: 8px; }
.scroller-nav button { display: grid; place-items: center; width: 38px; height: 38px; background: #fff; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.scroller-nav button:hover { background: var(--pw-primary); border-color: var(--pw-primary); color: #fff; }
.scroller-nav .i { width: 18px; height: 18px; }

.testi { position: relative; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.testi__mark { position: absolute; top: 20px; inset-inline-end: 22px; width: 40px; height: 40px; color: var(--soft-2); }
.testi__stars { display: flex; gap: 2px; color: #f5a524; }
.testi__stars .i { width: 16px; height: 16px; fill: currentColor; }
.testi blockquote { flex: 1; margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.65; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption strong { display: block; color: var(--ink); font-family: var(--f-head); }
.testi figcaption small { color: var(--muted); }
.testi__avatar { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; }
.testi__avatar--initial { display: grid; place-items: center; flex: none; background: var(--pw-primary); color: #fff; font: 700 18px/1 var(--f-head); }

.partner-track { grid-auto-columns: calc((100% - 7 * 16px) / 8); gap: 16px; }
.partner { display: grid; place-items: center; height: 84px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.partner > a { display: grid; place-items: center; width: 100%; height: 100%; }
.partner img { width: auto; max-height: 52px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.partner:hover img { filter: none; opacity: 1; }
.partner__word { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; overflow: hidden; color: #23324f; font: 700 13.5px/1.15 "Poppins", "Segoe UI", sans-serif; letter-spacing: -.01em; text-align: center; direction: ltr; }
.partner__word .i { width: 18px; height: 18px; }
.partner__word--0 { color: #0b4a9e; }
.partner__word--1 { color: #178a57; }
.partner__word--2 { color: #7b2fbe; }
.partner__word--3 { color: #c9432b; }

/* Contact / quote CTA */
.cta { background: linear-gradient(135deg, var(--soft) 0%, #fff 100%); }
.cta__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.cta__info p { margin: 14px 0 24px; font-size: 16px; }

.contact-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.contact-list .i { width: 18px; height: 18px; margin-top: 3px; color: var(--pw-accent); }
.contact-list a { color: inherit; }
.contact-list a:hover { color: var(--pw-primary); }

/* ==========================================================================
   Forms
   ========================================================================== */
.pw-form { position: relative; }
.pw-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.pw-form__field--wide { grid-column: 1 / -1; }
.pw-form label { display: block; margin-bottom: 6px; color: var(--ink); font: 600 13px/1.3 var(--f-head); }
.pw-req { color: #d33; }
.pw-form input, .pw-form select, .pw-form textarea,
.filters input[type="search"], .filters input[type="text"], .filters select, .catalog__sort select {
	width: 100%; height: 44px; padding: 0 12px; background: #fff; border: 1px solid #d4ddea; border-radius: 6px; font-size: 14px; transition: border-color .2s, box-shadow .2s;
}
.pw-form textarea { height: auto; padding: 10px 12px; resize: vertical; }
.pw-form select, .filters select, .catalog__sort select {
	padding-inline-end: 36px; appearance: none; -webkit-appearance: none; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d889c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
}
[dir="rtl"] .pw-form select, [dir="rtl"] .filters select, [dir="rtl"] .catalog__sort select { background-position: left 12px center; }
.pw-form :is(input, select, textarea):focus, .filters :is(input, select):focus, .catalog__sort select:focus { outline: none; border-color: var(--pw-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pw-primary) 14%, transparent); }
.pw-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pw-alert { margin-bottom: 16px; padding: 12px 14px; border-radius: 8px; font-weight: 500; }
.pw-alert--ok { background: #e7f6ec; border: 1px solid #bfe5cc; color: #17693a; }
.pw-alert--error { background: #fdecec; border: 1px solid #f4c3c3; color: #a42323; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.banner { position: relative; overflow: hidden; background: linear-gradient(110deg, #f3f8fe, #e2edf9); border-bottom: 1px solid var(--line); }
.banner::before { content: ""; position: absolute; top: -140px; inset-inline-end: -90px; width: 440px; height: 440px; background: radial-gradient(circle, rgba(28, 154, 214, .16), transparent 70%); border-radius: 50%; }
.banner__in { position: relative; padding-block: 40px 46px; }
.banner__title { margin: 12px 0 8px; color: var(--pw-navy); font-size: clamp(28px, 3.4vw, 42px); }
.banner__sub { max-width: 62ch; margin: 0; }
.banner--image { display: flex; align-items: center; min-height: 300px; }
.banner--image .banner__media { position: absolute; inset: 0; }
.banner--image .banner__media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.banner--image .banner__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(243, 248, 254, .96) 0%, rgba(243, 248, 254, .75) 40%, rgba(243, 248, 254, 0) 70%); }
[dir="rtl"] .banner--image .banner__media::after { background: linear-gradient(270deg, rgba(243, 248, 254, .96) 0%, rgba(243, 248, 254, .75) 40%, rgba(243, 248, 254, 0) 70%); }
.banner--image .banner__in { width: 100%; padding-block: 64px; }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--pw-primary); }
.crumbs .i { width: 14px; height: 14px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.product-top { padding-block: 14px; background: var(--soft); border-bottom: 1px solid var(--line); }

.prose { color: var(--text); font-size: 16px; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 1.6em 0 .6em; color: var(--pw-navy); font-size: 24px; }
.prose h3 { margin: 1.4em 0 .5em; font-size: 19px; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-inline-start: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--pw-accent); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 10px; }
.page-hero-img { margin: 0 0 28px; }
.page-hero-img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 14px; background: var(--soft); }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 20px 24px; background: var(--soft); border-radius: 12px; }
.inline-cta p { margin: 0; color: var(--ink); font-weight: 600; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }

/* Catalog */
.catalog { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { display: grid; gap: 22px; padding: 20px; }
.filters__group { min-width: 0; margin: 0; padding: 0; border: 0; }
.filters__label { display: block; margin-bottom: 10px; padding: 0; color: var(--ink); font: 600 14px/1.3 var(--f-head); }
.filters__cats { display: grid; gap: 8px; max-height: 380px; margin: 0; padding: 0; overflow: auto; list-style: none; }
.filters__cats ul { display: grid; gap: 6px; margin: 8px 0 0; padding-inline-start: 24px; list-style: none; }
.filters__cats label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.filters__cats input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--pw-primary); }
.count { color: var(--muted); font-size: 12.5px; }
.filters__actions { display: flex; gap: 10px; }
.filters__actions .btn { flex: 1; }
.filters-toggle { display: none; }
.catalog__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.catalog__count { margin: 0; color: var(--ink); font-weight: 600; }
.catalog__sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.catalog__sort select { width: auto; height: 40px; }
.brand-intro { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; margin-top: -26px; }
.brand-intro__logo img { width: auto; max-height: 64px; }
.brand-intro__meta { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; }
.brand-intro__meta dt, .brand-card__meta { color: var(--muted); font-size: 13px; }
.brand-intro__meta dd { margin: 0; color: var(--ink); font-weight: 600; }
.brand-word { color: var(--pw-navy); font: 700 22px/1.1 var(--f-head); }

.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-numbers { position: relative; display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 600; }
.page-numbers.current { background: var(--pw-primary); border-color: var(--pw-primary); color: #fff; }
a.page-numbers:hover { border-color: var(--pw-primary); color: var(--pw-primary); }
.page-numbers.dots { border: 0; }
.page-numbers .i { width: 16px; height: 16px; }

/* Product details */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.product__main { aspect-ratio: 5 / 4; overflow: hidden; background: var(--card-bg); border: 1px solid var(--line); border-radius: 14px; }
.product__main img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.product__thumbs button { width: 100%; aspect-ratio: 1; padding: 0; overflow: hidden; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.product__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs .is-active { border-color: var(--pw-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--pw-primary) 30%, transparent); }
.product__cat { display: inline-block; margin-bottom: 8px; color: var(--pw-accent); font: 600 12px/1.3 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
[dir="rtl"] .product__cat { font-size: 14px; letter-spacing: 0; }
.product__title { margin-bottom: 6px; color: var(--pw-navy); font-size: clamp(26px, 3vw, 36px); }
.product__cas { margin-bottom: 12px; color: var(--pw-primary); font-weight: 600; }
.product__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.product__tags .badges li { padding: 6px 10px; background: var(--pw-primary); color: #fff; font-size: 12px; }
.stock { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; font: 600 12px/1 var(--f-body); }
.stock::before { content: ""; width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.stock--available { background: #e7f6ec; color: #17693a; }
.stock--request { background: #fff4de; color: #95600b; }
.stock--out { background: #fdecec; color: #a42323; }
.spec-table { width: 100%; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 14px; }
.spec-table th, .spec-table td { padding: 10px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child > * { border-bottom: 0; }
.spec-table th { width: 40%; background: var(--soft); color: var(--ink); font-weight: 600; }
.spec-table td { color: var(--text); }
.product__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.product__wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #128c4a; font-weight: 600; }
.product__wa .i { width: 20px; height: 20px; }
.section--tabs { padding-top: 0; }
.tabs__list { display: flex; gap: 4px; margin-bottom: 26px; overflow-x: auto; border-bottom: 2px solid var(--line); scrollbar-width: none; }
.tabs__list button { margin-bottom: -2px; padding: 12px 18px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: 600 15px/1.3 var(--f-head); white-space: nowrap; cursor: pointer; }
.tabs__list button:hover { color: var(--ink); }
.tabs__list [aria-selected="true"] { border-color: var(--pw-primary); color: var(--pw-primary); }
.tabs__panel { max-width: 920px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--soft-2); border-radius: 99px; color: var(--pw-primary); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.chips .i { width: 16px; height: 16px; }
.doc-list { display: grid; gap: 10px; max-width: 520px; margin: 0; padding: 0; list-style: none; }
.doc-list a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 600; }
.doc-list a:hover { border-color: var(--pw-primary); color: var(--pw-primary); }
.doc-list span { flex: 1; }
.quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.quote-grid > div > p { margin: 12px 0 22px; }
.quote-grid--page { grid-template-columns: 1.3fr .7fr; }
.quote-side { display: grid; gap: 24px; }
.steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 14px; }
.steps .svc-card__icon { width: 46px; height: 46px; margin: 0; }
.steps h3 { margin: 2px 0 4px; font-size: 16px; }
.steps p { margin: 0; font-size: 14px; }

/* Contact */
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 36px; }
.info-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.info-card .svc-card__icon { width: 46px; height: 46px; margin-bottom: 12px; }
.info-card h2 { margin-bottom: 6px; font-size: 16px; }
.info-card p { margin: 0 0 4px; }
.info-card a { display: inline-flex; align-items: center; gap: 6px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.contact-side { display: grid; gap: 16px; }
.dept { display: flex; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.dept .svc-card__icon { margin: 0; }
.dept h3 { margin-bottom: 6px; font-size: 16px; }
.dept a { display: block; color: var(--text); }
.dept a:hover { color: var(--pw-primary); }
.map { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq__group { margin: 32px 0 14px; color: var(--pw-navy); font-size: 20px; }
.faq { display: grid; gap: 10px; }
.faq__item { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s; }
.faq__item[open] { border-color: color-mix(in srgb, var(--pw-primary) 35%, var(--line)); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; color: var(--ink); font: 600 15.5px/1.4 var(--f-head); list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { color: var(--pw-primary); transition: transform .2s; }
.faq__item[open] summary .i { transform: rotate(180deg); }
.faq__a { padding: 0 20px 18px; font-size: 15px; }

/* Categories page, brands, industries, blog */
.cat-grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.cat-block { display: flex; flex-direction: column; gap: 10px; }
.cat-block__kids { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cat-block__kids a { display: inline-block; padding: 5px 11px; background: var(--soft); border-radius: 99px; color: var(--text); font-size: 13px; }
.cat-block__kids a:hover { background: var(--pw-primary); color: #fff; }
.brand-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--text); transition: transform .25s, box-shadow .25s; }
.brand-card:hover { color: var(--text); box-shadow: var(--shadow); transform: translateY(-3px); }
.brand-card__logo { display: flex; align-items: center; min-height: 56px; }
.brand-card__logo img { width: auto; max-height: 56px; }
.brand-card__meta { display: flex; flex-wrap: wrap; gap: 16px; }
.brand-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.brand-card__desc { font-size: 14px; }
.ind-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.ind-card:hover { color: var(--pw-primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.ind-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--card-bg); }
.ind-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ind-card__body { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; padding: 16px 18px; }
.ind-card__body .svc-card__icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
.ind-card strong { font: 600 16px/1.3 var(--f-head); }
.ind-card small { color: var(--muted); }
.post-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: transform .25s, box-shadow .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--card-bg); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px; }
.post-card__meta { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 13px; }
.post-card__title { margin: 0; font-size: 18px; }
.post-card__title a { color: var(--ink); }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card .link-arrow { margin-top: auto; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 20px; text-align: center; }
.empty > .i { width: 44px; height: 44px; color: var(--pw-accent); }
.empty p { max-width: 52ch; margin: 0; }
.empty__code { color: var(--soft-2); font: 800 96px/1 var(--f-head); -webkit-text-stroke: 2px var(--pw-primary); }
.empty__search { width: min(520px, 100%); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: linear-gradient(180deg, var(--pw-navy), color-mix(in srgb, var(--pw-navy) 82%, #000)); color: #b7c6df; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.45fr; gap: 32px; padding-block: 56px 40px; }
.footer__brand p { max-width: 32ch; margin: 16px 0 20px; }
.footer__title { margin-bottom: 16px; color: #fff; font-size: 16px; }
.footer__links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer__links a, .site-footer .contact-list a { color: #b7c6df; }
.footer__links a:hover, .site-footer .contact-list a:hover { color: #fff; }
.site-footer .contact-list .i { color: #7cc3ee; }
.site-footer .socials a { background: rgba(255, 255, 255, .1); color: #fff; }
.site-footer .socials a:hover { background: var(--pw-accent); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottomin { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-block: 18px; font-size: 13px; }
.footer__bottomin p { margin: 0; }

.wa-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 80; display: grid; place-items: center; width: 54px; height: 54px; background: #25d366; border-radius: 50%; color: #fff; box-shadow: 0 12px 26px -10px rgba(37, 211, 102, .8); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.07); }
.wa-float .i { width: 28px; height: 28px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) and (min-width: 769px) {
	.hero__content { padding-inline: 76px; }
}

@media (max-width: 1200px) {
	.cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.product-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.why__grid, .why:not(.why--card) .why__grid { grid-template-columns: 1fr 1fr; }
	.why__card { grid-column: 1 / -1; min-height: 240px; }
	.footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.footer__brand { grid-column: 1 / -1; }
	.partner-track { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
}

@media (max-width: 1100px) {
	.header__search { display: none; }
	.header__main { justify-content: space-between; }
	.nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); cursor: pointer; }
	.nav-toggle .i { width: 22px; height: 22px; }
	.header__nav { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 100; width: min(390px, 90vw); overflow-y: auto; background: #fff; border: 0; box-shadow: -24px 0 48px -24px rgba(0, 0, 0, .35); transform: translateX(105%); visibility: hidden; transition: transform .32s ease, visibility .32s; }
	[dir="rtl"] .header__nav { transform: translateX(-105%); }
	.nav-open .header__nav { transform: none; visibility: visible; }
	.header__navin { flex-direction: column; align-items: stretch; gap: 16px; min-height: 0; padding-block: 16px 32px; }
	.drawer__head { display: flex; align-items: center; justify-content: space-between; }
	.drawer__search, .drawer__contact { display: block; }
	.nav-close { display: grid; place-items: center; width: 40px; height: 40px; background: var(--soft); border: 0; border-radius: 8px; color: var(--ink); cursor: pointer; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li > a { flex: 1; padding: 14px 0; }
	.primary-nav .menu > li > a::after { display: none; }
	.sub-toggle { width: 40px; height: 40px; margin: 0; }
	.menu-item-has-children:hover > .sub-toggle .i { transform: none; }
	.primary-nav li.is-open > .sub-toggle .i { transform: rotate(180deg); }
	.primary-nav .sub-menu, .primary-nav .is-mega > .sub-menu, .primary-nav .is-mega .sub-menu .sub-menu { position: static; display: none; width: 100%; min-width: 0; padding: 0 0 10px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; columns: auto; }
	.primary-nav li.is-open > .sub-menu, .primary-nav .is-mega li.is-open > .sub-menu { display: block; }
	.primary-nav .sub-menu li { display: flex; flex-wrap: wrap; align-items: center; }
	.primary-nav .sub-menu a { flex: 1; padding: 9px 12px; }
	.primary-nav .sub-menu .sub-toggle { display: grid; }
	.primary-nav .is-mega > .sub-menu > li > a { margin: 0; padding: 9px 12px; border: 0; font: 500 14px/1.3 var(--f-body); }
	.primary-nav .is-mega .sub-menu .sub-menu { padding-inline-start: 14px; }
	.header__cta { width: 100%; }
	.admin-bar .header__nav { top: 32px; }
}
@media (max-width: 782px) {
	.admin-bar .header__nav { top: 46px; }
}

@media (max-width: 900px) {
	.features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feature:nth-child(3) { border-inline-start: 0; }
	.feature:nth-child(n + 3) { border-top: 1px solid var(--line); }
	.stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat { justify-content: flex-start; }
	.card-grid--3, .card-grid--4, .product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.catalog { grid-template-columns: 1fr; }
	.filters-toggle { display: inline-flex; }
	.filters { display: none; margin-top: 12px; }
	.filters.is-open { display: grid; }
	.product, .split, .cta__grid, .quote-grid, .quote-grid--page, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
	.info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.testi-track { grid-auto-columns: calc((100% - 20px) / 2); }
}

@media (max-width: 768px) {
	.topbar__text, .topbar .socials { display: none; }
	.topbar__in { justify-content: center; }
	.hero__slide { flex-direction: column; align-items: stretch; min-height: 0; }
	.hero__media { position: relative; aspect-ratio: 16 / 10; }
	.hero__media::after { display: none; }
	.hero__content { padding-block: 26px 58px; }
	.hero__arrow { top: 28vw; width: 38px; height: 38px; }
	.hero__title { max-width: none; }
	.cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.partner-track { grid-auto-columns: calc((100% - 2 * 12px) / 3); gap: 12px; }
	.why__grid, .why:not(.why--card) .why__grid { grid-template-columns: 1fr; }
	.why__media img { min-height: 0; aspect-ratio: 16 / 10; }
	.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.admin-bar.has-sticky-header .site-header { top: 46px; }
}

@media (max-width: 600px) {
	.admin-bar.has-sticky-header .site-header { top: 0; }
}

@media (max-width: 560px) {
	:root { --gutter: 16px; }
	.header__main { gap: 12px; padding-block: 12px; }
	.logo__mark { width: 40px; height: 40px; }
	.logo__text strong { font-size: 19px; }
	.logo__text small { font-size: 10.5px; }
	.lang__btn span { display: none; }
	.hero__btns .btn { flex: 1 1 100%; }
	.features__grid { grid-template-columns: 1fr; }
	.feature { padding: 12px 0; border-inline-start: 0 !important; border-top: 1px solid var(--line); }
	.feature:first-child { border-top: 0; }
	.stats__grid { gap: 22px 12px; }
	.stat { flex-direction: column; gap: 8px; text-align: center; }
	.stat__num { font-size: 26px; }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-grid, .product-grid--6, .product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.p-card__body { padding: 10px; }
	.p-card__title { font-size: 14px; }
	.why__points { grid-template-columns: 1fr; }
	.card-grid--3, .card-grid--4, .info-grid, .cat-grid--wide { grid-template-columns: 1fr; }
	.testi-track { grid-auto-columns: 88%; }
	.pw-form__grid { grid-template-columns: 1fr; }
	.product__actions .btn { flex: 1 1 100%; }
	.spec-table th { width: 45%; }
	.footer__grid { gap: 28px 16px; }
	.footer__bottomin { justify-content: center; text-align: center; }
	.brand-intro { gap: 16px; }
}

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