/* ==========================================================================
   Exocad Products Distributor — design system
   ========================================================================== */
:root {
  --purple: #6d28d9;
  --purple-600: #5b21b6;
  --deep: #4c1d95;
  --navy: #2b0b47;
  --ink: #2b0b47;
  --body: #4C4C5E;
  --muted: #77778B;
  --lav: #f4eefc;
  --lav-2: #e6d9fb;
  --violet: #8b5cf6;
  --bg: #f8f5fd;
  --white: #fff;
  --line: #ece4f7;
  --line-soft: #f4eefb;
  --ok: #1F8A5B;
  --ok-bg: #E6F5EE;
  --warn: #A86700;
  --warn-bg: #FFF4E2;
  --danger: #B33A3A;
  --danger-bg: #FCECEC;
  --info: #7c3aed;
  --info-bg: #f3eafe;
  --container: 1240px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --shadow-sm: 0 8px 24px -18px rgba(43, 15, 68, .45);
  --shadow: 0 28px 60px -34px rgba(43, 15, 68, .5);
  --shadow-soft: 0 20px 50px -30px rgba(76, 29, 149, .45);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Manrope", "Segoe UI", Tahoma, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--white);
  font-family: var(--font); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[dir="rtl"] body { font-family: var(--font-ar); }
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.16; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-inline-start: 1.2rem; }
::selection { background: var(--lav-2); color: var(--deep); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-tight { padding: clamp(36px, 4vw, 56px) 0; }
.bg-soft { background: var(--bg); }
.bg-lav { background: var(--lav); }
.bg-navy { background: var(--navy); color: #fff; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: middle; }
.icon-sm { width: 16px; height: 16px; }
.skip-link { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip-link:focus { inset-inline-start: 16px; }

/* ------------------------------------------------ type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--purple); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow-light { color: #C9C3EA; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--body); line-height: 1.7; }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--body); margin-bottom: 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head-row .section-head { margin-bottom: 0; }

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  font-size: .88rem; font-weight: 700; line-height: 1.2; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--deep); color: #fff; box-shadow: 0 14px 28px -18px rgba(76, 29, 149, .85); }
.btn-primary:hover { background: var(--purple); box-shadow: 0 18px 32px -18px rgba(76, 29, 149, .9); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--lav); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .07); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-sm { padding: .58rem 1rem; font-size: .8rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .86rem; color: var(--purple); background: none; border: 0; padding: 0; cursor: pointer; }
.btn-link:hover { gap: .6rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
[dir="rtl"] .btn .icon { transform: scaleX(-1); }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: center; background: transparent;
  cursor: pointer; position: relative; transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--lav); color: var(--deep); }
.icon-badge {
  position: absolute; top: 1px; inset-inline-end: -1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--purple); color: #fff; font-size: .62rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff;
}

/* ------------------------------------------------ chips & badges */
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .7rem; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .02em; }
.chip-soft { background: var(--lav); color: var(--deep); }
.chip-dark { background: rgba(43, 15, 68, .82); color: #fff; backdrop-filter: blur(6px); }
.chip-white { background: #fff; color: var(--deep); }
.chip-outline { border: 1px solid var(--line); color: var(--body); background: #fff; }
.badge { display: inline-block; padding: .3rem .65rem; background: var(--lav); border-radius: 6px; font-size: .7rem; font-weight: 700; color: var(--deep); }
.status { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-ok { background: var(--ok-bg); color: var(--ok); }
.status-warn { background: var(--warn-bg); color: var(--warn); }
.status-danger { background: var(--danger-bg); color: var(--danger); }
.status-info { background: var(--info-bg); color: var(--info); }
.status-muted { background: #f2eff8; color: var(--muted); }
.stars { display: inline-flex; align-items: center; gap: 2px; color: #D6D3E6; }
.stars .star { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.stars .star.is-on { color: #E8A33D; }
.stars-count { font-size: .75rem; color: var(--muted); margin-inline-start: 4px; }

/* ------------------------------------------------ forms */
.field { margin-bottom: 1.1rem; }
.field label, .label { display: block; font-size: .78rem; font-weight: 700; color: var(--body); margin-bottom: .42rem; letter-spacing: .01em; }
.field .hint { display: block; font-size: .74rem; color: var(--muted); margin-top: .35rem; }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea, .select {
  width: 100%; padding: .78rem .95rem; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit; font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea, textarea.input { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 246, .16);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .84rem; color: var(--body); cursor: pointer; }
.check input { width: 17px; height: 17px; margin-top: .18rem; accent-color: var(--purple); }
.form-note { font-size: .76rem; color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.alert { padding: .8rem 1rem; border-radius: 10px; font-size: .86rem; margin-bottom: 1rem; }
.alert-error { background: var(--danger-bg); color: var(--danger); }
.alert-success { background: var(--ok-bg); color: var(--ok); }
.alert-info { background: var(--lav); color: var(--deep); }

/* ------------------------------------------------ demo bar / header */
.demo-bar { background: var(--deep); color: #D8D3F1; font-size: .72rem; padding: .45rem 0; letter-spacing: .01em; }
.demo-bar .container { display: flex; align-items: center; gap: .6rem; justify-content: center; text-align: center; }
.demo-bar .dot { width: 6px; height: 6px; border-radius: 50%; background: #A9E5C4; flex: 0 0 auto; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.site-header { position: sticky; top: 0; z-index: 80; }
.topbar { background: var(--navy); color: #B9B8C9; font-size: .71rem; }
.topbar-inner { height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-note { display: inline-flex; align-items: center; gap: .45rem; letter-spacing: .01em; }
.topbar-note .icon { width: 14px; height: 14px; color: #A79FE0; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-links a:hover { color: #fff; }
.mini-switch { display: flex; align-items: center; gap: 10px; }
.mini-btn { background: none; border: 0; color: inherit; display: inline-flex; align-items: center; gap: .35rem; font-size: .71rem; cursor: pointer; padding: 0; }
.mini-btn .icon { width: 13px; height: 13px; }
.currency-form select { background: transparent; color: #B9B8C9; border: 0; font-size: .71rem; padding: 2px 2px; cursor: pointer; }
.currency-form select option { color: var(--ink); }
.navbar { background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid rgba(231, 230, 240, .8); }
.nav-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; background: none; color: #fff; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 auto; box-shadow: 0 8px 18px -12px rgba(48, 32, 120, .7), 0 0 0 1px rgba(76, 29, 149, .10); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-mark .icon { width: 22px; height: 22px; stroke-width: 1.4; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word { font-size: 1.4rem; font-weight: 800; letter-spacing: -.045em; color: var(--deep); }
.brand-sub { font-size: .53rem; letter-spacing: .19em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: .25rem; padding: .55rem .68rem; font-size: .82rem; font-weight: 600; color: var(--body); border-radius: 8px; background: none; border: 0; cursor: pointer; white-space: nowrap; transition: color .2s, background .2s; }
.nav-link:hover { color: var(--deep); background: var(--lav); }
.nav-link .chev { width: 13px; height: 13px; opacity: .65; }
.nav-actions { display: flex; align-items: center; gap: 2px; }
.nav-cta { margin-inline-start: .5rem; padding: .7rem 1.05rem; font-size: .8rem; }
.menu-toggle { display: none; }
.compare-link, .quote-link, .cart-link { position: relative; }
.account-menu .icon-btn { display: inline-flex; }

/* dropdown */
.has-dropdown .dropdown {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: 268px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 70;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-head { padding: 8px 10px 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; display: flex; flex-direction: column; }
.dropdown-head strong { font-size: .86rem; }
.dropdown-head small { color: var(--muted); font-size: .7rem; overflow: hidden; text-overflow: ellipsis; }
.dropdown a, .dropdown button {
  display: flex; align-items: center; gap: .6rem; width: 100%; padding: .55rem .65rem;
  border-radius: 9px; font-size: .82rem; color: var(--body); background: none; border: 0; text-align: start; cursor: pointer;
}
.dropdown a:hover, .dropdown button:hover { background: var(--lav); color: var(--deep); }
.dropdown .icon { width: 16px; height: 16px; color: var(--purple); }
.dropdown form { margin: 0; }

/* mega menu */
.mega {
  position: absolute; top: calc(100% + 12px); inset-inline-start: 50%; transform: translate(-50%, 8px);
  width: min(1080px, calc(100vw - 40px)); background: #fff; border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--shadow); padding: 22px;
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 75;
}
[dir="rtl"] .mega { transform: translate(50%, 8px); }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
[dir="rtl"] .has-mega:hover .mega, [dir="rtl"] .has-mega:focus-within .mega, [dir="rtl"] .has-mega.is-open .mega { transform: translate(50%, 0); }
.mega-inner { display: grid; grid-template-columns: 1.55fr .9fr; gap: 26px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; align-items: flex-start; gap: .7rem; padding: .6rem; border-radius: 12px; transition: background .2s; }
.mega-item:hover { background: var(--lav); }
.mega-icon { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--purple); flex: 0 0 auto; }
.mega-icon .icon { width: 18px; height: 18px; }
.mega-item strong { display: block; font-size: .82rem; color: var(--ink); margin-bottom: 1px; }
.mega-item small { display: block; font-size: .7rem; color: var(--muted); line-height: 1.45; }
.mega-promo { position: relative; border-radius: 18px; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 15, 68, .05) 20%, rgba(43, 15, 68, .88)); }
.mega-promo-body { position: relative; z-index: 2; padding: 20px; color: #fff; }
.mega-promo-body p { font-size: .8rem; color: #D8D5E8; margin-bottom: .9rem; }
.mega-promo .eyebrow { font-size: .62rem; margin-bottom: .4rem; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: .72rem; color: var(--muted); }
.mega-foot a { display: inline-flex; align-items: center; gap: .35rem; color: var(--purple); font-weight: 700; }

/* mobile drawer */
.mobile-drawer {
  position: fixed; top: 0; inset-inline-start: 0; width: min(88vw, 380px); height: 100%;
  background: #fff; z-index: 120; transform: translateX(-104%); transition: transform .35s var(--ease);
  padding: 20px; overflow-y: auto; display: flex; flex-direction: column;
}
[dir="rtl"] .mobile-drawer { transform: translateX(104%); }
body.drawer-open .mobile-drawer { transform: translateX(0); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(17, 18, 32, .55); backdrop-filter: blur(3px); z-index: 110; opacity: 0; visibility: hidden; transition: opacity .3s; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.drawer-nav { display: flex; flex-direction: column; padding: 12px 0; }
.drawer-nav a { padding: .7rem .25rem; border-bottom: 1px solid var(--line-soft); font-size: .9rem; font-weight: 600; }
.drawer-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 18px; }
.drawer-lang { display: flex; gap: 8px; justify-content: center; font-size: .78rem; color: var(--muted); }
.drawer-lang a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }

/* search modal */
.search-modal { position: fixed; inset: 0; z-index: 130; background: rgba(17, 18, 32, .6); backdrop-filter: blur(8px); display: flex; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px; opacity: 0; visibility: hidden; transition: opacity .25s; }
body.search-open .search-modal { opacity: 1; visibility: visible; }
.search-panel { width: min(720px, 100%); background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 14px; transform: translateY(-10px); transition: transform .3s var(--ease); }
body.search-open .search-panel { transform: translateY(0); }
.search-form { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 6px 8px 6px 14px; }
[dir="rtl"] .search-form { padding: 6px 14px 6px 8px; }
.search-form .search-icon .icon { width: 18px; height: 18px; color: var(--muted); }
.search-form input { flex: 1; border: 0; outline: 0; font: inherit; padding: .55rem 0; font-size: .95rem; background: transparent; }
.search-results { padding: 10px 4px 0; max-height: 46vh; overflow-y: auto; }
.search-result { display: flex; gap: 12px; align-items: center; padding: 9px; border-radius: 10px; }
.search-result:hover { background: var(--lav); }
.search-result img { width: 50px; height: 40px; border-radius: 6px; object-fit: cover; }
.search-result strong { display: block; font-size: .84rem; }
.search-result small { color: var(--muted); font-size: .72rem; }
.search-hint { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 4px 2px; }
.search-hint a { font-size: .72rem; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--body); }
.search-hint a:hover { border-color: var(--purple); color: var(--purple); }

/* ------------------------------------------------ footer */
.site-footer { background: var(--navy); color: #B9B8C9; padding-top: clamp(48px, 6vw, 76px); font-size: .84rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr .8fr .8fr .8fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand-word { color: #fff; }
.footer-brand .brand-sub { color: #8D8BA3; }
.footer-brand .brand-mark { background: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 10px 20px -14px #000; }
.footer-brand p { margin: 18px 0; color: #A3A1B5; font-size: .84rem; max-width: 340px; }
.footer-contact { display: flex; flex-direction: column; gap: .6rem; font-size: .78rem; }
.footer-contact a, .footer-contact span { display: flex; align-items: flex-start; gap: .55rem; color: #C5C3D4; }
.footer-contact .icon { width: 15px; height: 15px; margin-top: 3px; color: #A79FE0; }
.footer-col h4 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; padding: .28rem 0; color: #A3A1B5; font-size: .8rem; }
.footer-col a:hover { color: #fff; }
.footer-news p { color: #A3A1B5; font-size: .8rem; }
.news-form { display: flex; gap: 8px; margin: 14px 0; }
.news-form input { flex: 1; min-width: 0; padding: .7rem .85rem; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: .8rem; }
.news-form input::placeholder { color: #8D8BA3; }
.news-form .btn { padding: .7rem 1rem; font-size: .78rem; }
.footer-legal-note { font-size: .7rem; color: #7F7D92; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0 26px; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom p { margin: 0; font-size: .72rem; color: #8D8BA3; }
.footer-bottom .disclaimer { font-size: .68rem; color: #706E84; max-width: 900px; }

/* ------------------------------------------------ product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid.three { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--lav-2); }
.pc-media { position: relative; aspect-ratio: 4 / 3; background: var(--lav); overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.045); }
.pc-badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.pc-compare {
  position: absolute; top: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .85); color: var(--deep);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0;
  transition: opacity .2s, background .2s, color .2s; z-index: 2; backdrop-filter: blur(6px);
}
.pc-compare .icon { width: 16px; height: 16px; }
.product-card:hover .pc-compare, .pc-compare.is-active { opacity: 1; }
.pc-compare.is-active { background: var(--deep); color: #fff; }
.pc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); font-weight: 800; margin-bottom: .4rem; }
.pc-title { font-size: 1.04rem; margin-bottom: .45rem; line-height: 1.3; }
.pc-title a:hover { color: var(--purple); }
.pc-desc { font-size: .8rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.pc-price { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.price-value { font-size: 1.02rem; font-weight: 800; color: var(--deep); }
.price-quote { font-size: .76rem; font-weight: 700; color: var(--body); }
.price-note { font-size: .62rem; color: var(--muted); line-height: 1.35; }
.pc-actions form { margin: 0; }
.pc-actions .btn { padding: .5rem .8rem; font-size: .72rem; }
.pc-foot .btn-primary { background: var(--lav); color: var(--deep); box-shadow: none; }
.pc-foot .btn-primary:hover { background: var(--deep); color: #fff; }

/* ------------------------------------------------ misc components */
.empty-state { text-align: center; padding: clamp(36px, 6vw, 70px) 24px; border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }
.empty-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--lav); color: var(--purple); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.empty-state h3 { font-size: 1.15rem; }
.empty-state p { color: var(--muted); max-width: 440px; margin-inline: auto; font-size: .86rem; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 42px; }
.page-btn { min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: var(--body); }
.page-btn:hover { border-color: var(--purple); color: var(--purple); }
.page-btn.is-active { background: var(--deep); border-color: var(--deep); color: #fff; }
.page-gap { color: var(--muted); padding: 0 4px; }
.toasts { position: fixed; top: 96px; inset-inline-end: 22px; z-index: 200; display: flex; flex-direction: column; gap: 8px; width: min(360px, calc(100vw - 40px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--purple); border-radius: 12px; padding: 12px 12px 12px 14px; box-shadow: var(--shadow); font-size: .82rem; animation: toast-in .35s var(--ease); }
.toast-success { border-inline-start-color: var(--ok); }
.toast-error { border-inline-start-color: var(--danger); }
.toast-info { border-inline-start-color: var(--info); }
.toast > span { flex: 1; }
.toast-close { background: none; border: 0; color: var(--muted); cursor: pointer; display: inline-flex; }
.toast-close .icon { width: 15px; height: 15px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }
.whatsapp-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1rem;
  background: #25D366; color: #08351C; border-radius: 999px; font-weight: 800; font-size: .78rem;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .7); transition: transform .25s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-float .icon { width: 20px; height: 20px; stroke-width: 1.7; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------ page intro */
.page-hero { background: var(--navy); color: #fff; padding: clamp(46px, 6vw, 76px) 0 clamp(56px, 7vw, 90px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .35), transparent 65%); top: -320px; inset-inline-end: -140px; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.page-hero p { color: #B9B7CB; max-width: 680px; margin-bottom: 0; }
.page-hero .eyebrow { color: #A79FE0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .72rem; color: var(--muted); padding: 18px 0; }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb.light { color: #A9A7BC; }
.breadcrumb.light a:hover { color: #fff; }

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-news { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .container { width: min(100% - 36px, var(--container)); }
  .topbar-note { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .nav-cta { display: none; }
  .product-grid, .product-grid.three { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand, .footer-news { grid-column: 1 / -1; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: .8rem; }
  .toasts { top: 84px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--container)); }
  .product-grid, .product-grid.three { grid-template-columns: 1fr; }
  .pc-compare { opacity: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .pc-foot { align-items: center; }
  .field-row { grid-template-columns: 1fr; }
  .search-form .btn { padding: .6rem .8rem; }
}
