/* ==========================================================================
   IMEX Group — storefront styles
   Colours are sampled from the logo: steel blue #2B678C, graphite #1F1D1E,
   silver #D1D1D3. All spacing uses logical properties so RTL/LTR share rules.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Tajawal"; src: url("../fonts/tajawal/Tajawal-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("../fonts/tajawal/Tajawal-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("../fonts/tajawal/Tajawal-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("../fonts/tajawal/Tajawal-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("../fonts/tajawal/Tajawal-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("../fonts/tajawal/Tajawal-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
    --brand: #2B678C;
    --brand-600: #245A7B;
    --brand-700: #1C4766;
    --brand-800: #163851;
    --brand-400: #4C93C0;
    --brand-200: #BBD5E6;
    --brand-100: #DFEBF3;
    --brand-50: #F0F6FA;

    --ink: #0F1B2A;
    --navy: #1E2A3B;
    --navy-2: #253246;
    --navy-3: #2E3D54;
    --graphite: #1F1D1E;
    --silver: #D1D1D3;
    --steel: #8A949E;

    --text: #1B2533;
    --muted: #5B6675;
    --soft: #8A94A3;
    --line: #E2E8EF;
    --line-2: #D3DCE6;
    --surface: #F4F7FA;
    --surface-2: #EDF2F7;
    --card: #FFFFFF;

    --success: #16A34A;
    --warning: #D97706;
    --danger: #DC2626;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;

    --shadow-xs: 0 1px 2px rgba(15, 27, 42, .06);
    --shadow-sm: 0 2px 8px rgba(15, 27, 42, .06);
    --shadow: 0 10px 30px -12px rgba(15, 27, 42, .18);
    --shadow-lg: 0 30px 60px -20px rgba(15, 27, 42, .28);
    --shadow-brand: 0 14px 30px -12px rgba(43, 103, 140, .55);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --container: 1240px;
    --header-h: 76px;

    color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 800; color: var(--ink); }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 18px; border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .02em; }
[dir="ltr"] .dir-icon { transform: scaleX(-1); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 88px; position: relative; }
.section-sm { padding-block: 56px; }
.section-white { background: #fff; }
.text-brand { color: var(--brand); }
.text-muted { color: var(--muted); }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-block-end: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin-block: 8px 10px; }
.section-head p { color: var(--muted); max-width: 620px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center p { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--brand); --btn-color: #fff; --btn-border: transparent;
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 10px 22px; border-radius: var(--radius-sm);
    background: var(--btn-bg); color: var(--btn-color); border: 1.5px solid var(--btn-border);
    font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn::after { /* sheen sweep */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { box-shadow: var(--shadow-brand); }
.btn-primary:hover { --btn-bg: var(--brand-600); box-shadow: 0 18px 34px -12px rgba(43, 103, 140, .7); }
.btn-dark { --btn-bg: var(--navy); }
.btn-dark:hover { --btn-bg: var(--ink); }
.btn-outline { --btn-bg: transparent; --btn-color: var(--brand); --btn-border: var(--brand-200); }
.btn-outline:hover { --btn-bg: var(--brand-50); --btn-border: var(--brand); }
.btn-soft { --btn-bg: var(--brand-50); --btn-color: var(--brand-700); --btn-border: var(--brand-100); }
.btn-soft:hover { --btn-bg: var(--brand-100); }
.btn-light { --btn-bg: #fff; --btn-color: var(--brand-700); }
.btn-glass { --btn-bg: rgba(255, 255, 255, .08); --btn-color: #fff; --btn-border: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-glass:hover { --btn-bg: rgba(255, 255, 255, .16); }
.btn-whatsapp { --btn-bg: #1FAF55; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 13.5px; }
.btn-lg { min-height: 54px; padding: 12px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon { width: 46px; padding: 0; }
.btn .icon { width: 18px; height: 18px; }
.btn[disabled], .btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .icon { animation: spin 1s linear infinite; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .65s var(--ease) forwards; pointer-events: none; z-index: -1; }

/* ---------- Chips, badges ---------- */
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
    background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
}
.chip .icon { width: 14px; height: 14px; }
.chip-brand { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.chip-dark { background: rgba(255, 255, 255, .08); color: #DCE7F0; border-color: rgba(255, 255, 255, .14); }
.chip-success { background: #ECFDF3; color: #15803D; border-color: #BBF7D0; }
.badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700;
    background: var(--navy); color: #fff;
}
.badge-brand { background: var(--brand); }
.badge-sale { background: var(--danger); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); display: inline-block; box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: pulse-dot 2s infinite; }
.dot-warning { background: var(--warning); box-shadow: 0 0 0 0 rgba(217, 119, 6, .5); }
.dot-brand { background: var(--brand-400); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field > label, .field-label { font-size: 14px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; }
.field-label small, .field > label small { font-weight: 500; color: var(--soft); }
.control { position: relative; }
.input, .select, .textarea {
    width: 100%; min-height: 50px; padding: 12px 16px;
    background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color .25s, box-shadow .25s, background-color .25s;
    font-size: 15px;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.input::placeholder, .textarea::placeholder { color: #A3ADBA; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(43, 103, 140, .12); }
.control .icon { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); color: var(--soft); width: 18px; height: 18px; pointer-events: none; transition: color .25s; }
.control:focus-within .icon { color: var(--brand); }
.control .input { padding-inline-end: 44px; }
/* LTR inputs (phone, email) inside an RTL page: the icon sits on the left, so pad the left side. */
[dir="rtl"] .control .input[dir="ltr"] { padding-left: 44px; padding-right: 16px; }
.select { appearance: none; padding-inline-end: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6675' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: left 14px center; }
[dir="ltr"] .select { background-position: right 14px center; }
.field-error { color: var(--danger); font-size: 13px; font-weight: 600; }
.is-invalid { border-color: var(--danger) !important; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }

.radio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm);
    border: 1.5px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all .25s var(--ease);
}
.radio-card span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; transition: all .25s var(--ease); background: #fff; }
.radio-card input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.radio-card input:checked + span::before { border: 5px solid var(--brand); }
.radio-card input:focus-visible + span { box-shadow: 0 0 0 4px rgba(43, 103, 140, .18); }

.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; padding-block: 5px; }
.check input { appearance: none; width: 19px; height: 19px; border: 2px solid var(--line-2); border-radius: 5px; display: grid; place-content: center; flex-shrink: 0; transition: all .2s; background: #fff; cursor: pointer; }
.check input::after { content: ""; width: 10px; height: 6px; border-inline-start: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) scale(0); transition: transform .25s var(--ease); margin-top: -2px; }
[dir="rtl"] .check input::after { transform: rotate(45deg) scaleX(-1) scale(0); }
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
[dir="rtl"] .check input:checked::after { transform: rotate(45deg) scaleX(-1) scale(1); }
.check input[type="radio"] { border-radius: 50%; }
.check .count { margin-inline-start: auto; font-size: 12px; color: var(--soft); background: var(--surface-2); padding: 1px 8px; border-radius: 99px; }

.dropzone {
    position: relative; display: grid; place-items: center; gap: 6px; text-align: center;
    padding: 30px 20px; border-radius: var(--radius); border: 2px dashed var(--brand-200);
    background: var(--brand-50); color: var(--muted); cursor: pointer; transition: all .3s var(--ease);
}
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .dz-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.dropzone strong { color: var(--ink); font-size: 15px; }
.dropzone small { font-size: 12.5px; }
.dropzone.is-over, .dropzone:hover { border-color: var(--brand); background: #E6F0F7; }
.dropzone.is-over .dz-icon, .dropzone:hover .dz-icon { transform: translateY(-4px); }
.dropzone .dz-file { display: none; margin-top: 6px; color: var(--brand-700); font-weight: 700; font-size: 14px; }
.dropzone.has-file .dz-file { display: inline-flex; gap: 6px; align-items: center; }

.range { position: relative; height: 34px; }
.range input[type="range"] { position: absolute; inset-inline: 0; top: 10px; width: 100%; appearance: none; background: none; pointer-events: none; height: 6px; margin: 0; }
.range input[type="range"]::-webkit-slider-thumb { appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: var(--shadow-sm); cursor: grab; position: relative; z-index: 2; }
.range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: grab; }
.range .range-track { position: absolute; inset-inline: 0; top: 17px; height: 6px; border-radius: 6px; background: var(--line); }
.range .range-fill { position: absolute; top: 17px; height: 6px; border-radius: 6px; background: var(--brand); }
.range-values { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--ink); }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius); font-weight: 600; font-size: 14.5px; }
.alert-success { background: #ECFDF3; color: #166534; border: 1px solid #BBF7D0; }
.alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #C6D3DF; font-size: 12.5px; position: relative; z-index: 60; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-group { display: flex; align-items: center; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-item .icon { width: 15px; height: 15px; color: var(--brand-400); }
.topbar-item strong { color: #fff; }
.topbar a:hover { color: #fff; }
.topbar-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .15); }
.ticker { overflow: hidden; position: relative; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .35s, border-color .35s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(15, 27, 42, .35); border-color: var(--line); }
.header-main { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); transition: min-height .35s var(--ease); }
.site-header.is-scrolled .header-main { min-height: 64px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 48px; width: auto; transition: height .35s var(--ease), transform .35s var(--ease); }
.site-header.is-scrolled .logo img { height: 40px; }
.logo:hover img { transform: scale(1.03); }

.header-search { flex: 1; display: flex; max-width: 620px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.header-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(43, 103, 140, .12); background: #fff; }
.header-search select { border: 0; background: transparent; padding-inline: 14px; font-size: 13.5px; font-weight: 600; color: var(--muted); border-inline-end: 1px solid var(--line); max-width: 140px; }
.header-search select:focus { outline: none; }
.header-search input { flex: 1; border: 0; background: transparent; padding: 11px 14px; min-width: 0; font-size: 14.5px; }
.header-search input:focus { outline: none; }
.header-search button { width: 52px; display: grid; place-items: center; background: var(--brand); color: #fff; transition: background .25s; }
.header-search button:hover { background: var(--brand-700); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .25s, color .25s, transform .3s var(--ease); }
.icon-btn:hover { background: var(--brand-50); color: var(--brand); }
.icon-btn .icon { width: 22px; height: 22px; }
.counter {
    position: absolute; top: 2px; inset-inline-end: 0; min-width: 19px; height: 19px; padding-inline: 5px;
    display: grid; place-items: center; border-radius: 99px; font-size: 11px; font-weight: 800;
    background: var(--brand); color: #fff; border: 2px solid #fff;
}
.counter.bump { animation: bump .6s var(--ease); }
.account-link { display: flex; align-items: center; gap: 10px; padding: 4px 6px; border-radius: 999px; transition: background .25s; }
.account-link:hover { background: var(--surface); }
.account-link .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.account-link .avatar .icon { width: 19px; height: 19px; }
.account-link small { display: block; font-size: 11.5px; color: var(--soft); line-height: 1.2; }
.account-link strong { display: block; font-size: 14px; line-height: 1.3; }
.cart-pill { display: flex; align-items: center; gap: 12px; padding: 7px 14px 7px 8px; border-radius: var(--radius-sm); background: var(--brand-50); border: 1px solid var(--brand-100); transition: all .3s var(--ease); }
[dir="rtl"] .cart-pill { padding: 7px 8px 7px 14px; }
.cart-pill:hover { background: var(--brand-100); transform: translateY(-1px); }
.cart-pill .icon-btn { width: 38px; height: 38px; color: var(--brand-700); }
.cart-pill small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.2; }
.cart-pill strong { display: block; font-size: 15px; color: var(--brand-700); line-height: 1.3; white-space: nowrap; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); transition: all .25s; }
.lang-switch:hover { color: var(--brand); border-color: var(--brand-200); background: var(--brand-50); }
.lang-switch .icon { width: 16px; height: 16px; }

.nav-bar { border-top: 1px solid var(--line); background: var(--surface); }
.nav-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; }
.main-nav { display: flex; align-items: center; gap: 4px; position: relative; }
.main-nav a {
    position: relative; z-index: 1; display: inline-flex; align-items: center; padding: 8px 18px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 15px; color: var(--muted); transition: color .3s var(--ease);
}
.main-nav a:hover { color: var(--brand); }
.main-nav a.is-active { color: #fff; }
.nav-indicator { position: absolute; z-index: 0; top: 0; height: 100%; border-radius: var(--radius-sm); background: var(--brand); box-shadow: var(--shadow-brand); transition: all .5s var(--ease); pointer-events: none; }
.offers-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-sm); background: var(--brand-700); color: #fff; font-size: 13.5px; font-weight: 700; position: relative; overflow: hidden; }
.offers-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); transform: translateX(-100%); animation: sheen 3.2s infinite; }
.offers-btn .icon { width: 16px; height: 16px; }
.menu-toggle { display: none; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(15, 27, 42, .5); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: all .35s var(--ease); }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer {
    position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 100; width: min(420px, 92vw);
    background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .5s var(--ease); visibility: hidden;
}
[dir="rtl"] .drawer { inset-inline-end: auto; inset-inline-start: 0; left: 0; right: auto; transform: translateX(-100%); }
[dir="ltr"] .drawer { right: 0; left: auto; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer.drawer-start { }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 16px; }
.mobile-nav a.is-active { color: var(--brand); }
.mobile-nav a .icon { color: var(--soft); width: 18px; }

.mini-cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding-block: 14px; border-bottom: 1px dashed var(--line); animation: fade-up .5s var(--ease) both; }
.mini-cart-item img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--radius-sm); background: var(--surface); padding: 6px; }
.mini-cart-item h4 { font-size: 14px; font-weight: 700; line-height: 1.5; }
.mini-cart-item .meta { font-size: 12.5px; color: var(--soft); }
.mini-cart-item .price { font-weight: 800; color: var(--brand-700); font-size: 14.5px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 6px; }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; color: var(--muted); }
.qty button:hover { background: var(--brand-50); color: var(--brand); }
.qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: 13.5px; }
.qty .icon { width: 14px; height: 14px; }
.mini-cart-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.mini-cart-empty .empty-icon { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); animation: float 4s ease-in-out infinite; }
.mini-cart-empty .empty-icon .icon { width: 36px; height: 36px; }
.subtotal-row { display: flex; justify-content: space-between; font-weight: 800; font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #AEBBCB; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent 80%); pointer-events: none; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.15fr; gap: 48px; padding-block: 72px 48px; position: relative; }
.footer-logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 18px; }
.footer-logo .glow-wordmark { width: 180px; }
.site-footer p { font-size: 14.5px; line-height: 1.9; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--brand-400); }
.footer-links { display: grid; gap: 12px; font-size: 14.5px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .25s, transform .3s var(--ease); }
.footer-links a::before { content: ""; width: 0; height: 2px; background: var(--brand-400); transition: width .3s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { width: 12px; }
.footer-badges { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.footer-badge { padding: 10px 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.footer-badge strong { display: block; color: #fff; font-size: 14px; }
.footer-badge small { font-size: 12px; }
.newsletter { display: flex; margin-top: 18px; padding: 5px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .25s; }
.newsletter:focus-within { border-color: var(--brand-400); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 8px 12px; color: #fff; font-size: 14px; }
.newsletter input:focus { outline: none; }
.newsletter input::placeholder { color: #7D8DA1; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; position: relative; }
.payments { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.payments span.pay { padding: 5px 12px; border-radius: 6px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #D5DEE8; font-weight: 600; font-size: 12px; }

/* ---------- Generic cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
.card-pad { padding: 28px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.card-head h2, .card-head h3 { font-size: 21px; }
.card-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex-shrink: 0; transition: all .4s var(--ease); }
.icon-tile .icon { width: 24px; height: 24px; }
.icon-tile-solid { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.icon-tile-sm { width: 40px; height: 40px; border-radius: 11px; }
.icon-tile-sm .icon { width: 19px; height: 19px; }

/* ---------- Product card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card {
    position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
    transform-style: preserve-3d;
}
.product-card:hover { box-shadow: var(--shadow-lg); border-color: var(--brand-100); transform: translateY(-6px); }
.product-media { position: relative; aspect-ratio: 4 / 3.2; background: radial-gradient(circle at 50% 40%, #fff 0%, #EEF2F6 70%); overflow: hidden; display: grid; place-items: center; }
.product-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, .7) 50%, transparent 60%); transform: translateX(-100%); transition: transform 1s var(--ease); pointer-events: none; }
.product-card:hover .product-media::after { transform: translateX(100%); }
.product-media img { width: 86%; height: 86%; object-fit: contain; transition: transform .8s var(--ease); filter: drop-shadow(0 18px 18px rgba(15, 27, 42, .12)); }
.product-card:hover .product-media img { transform: scale(1.08) rotate(-2deg); }
.product-badges { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.wish-btn {
    position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; color: var(--muted); box-shadow: var(--shadow-sm); transition: all .3s var(--ease);
}
.wish-btn:hover { color: var(--danger); transform: scale(1.08); }
.wish-btn .icon { width: 19px; height: 19px; transition: fill .2s; }
.wish-btn.is-active { color: var(--danger); }
.wish-btn.is-active .icon { fill: currentColor; }
.wish-btn.pop { animation: heart-pop .55s var(--ease); }
.wish-btn .burst { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--danger); opacity: 0; pointer-events: none; }
.wish-btn.pop .burst { animation: burst .6s var(--ease); }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--soft); }
.product-meta .sku { color: var(--brand); font-weight: 700; direction: ltr; }
.product-title { font-size: 16.5px; font-weight: 800; line-height: 1.55; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-title a:hover { color: var(--brand); }
.product-summary { font-size: 13.5px; color: var(--muted); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-features { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.product-features .chip { font-size: 11.5px; padding: 3px 9px; }
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.price small { display: block; font-size: 12px; color: var(--soft); }
.price strong { font-size: 22px; font-weight: 900; color: var(--ink); line-height: 1.2; }
.price strong em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--muted); margin-inline-start: 3px; }
.price del { font-size: 13px; color: var(--soft); margin-inline-start: 8px; }
.add-btn { min-height: 44px; }
.add-btn.is-done { --btn-bg: var(--success); }

/* list mode */
.product-grid.is-list { grid-template-columns: 1fr !important; }
.product-grid.is-list .product-card { flex-direction: row; }
.product-grid.is-list .product-media { width: 260px; aspect-ratio: auto; flex-shrink: 0; }

/* Catalog spec card */
.spec-card .product-body { gap: 6px; }
.spec-card .subtitle { font-size: 12.5px; color: var(--soft); direction: ltr; text-align: start; }
.spec-table { margin-top: 10px; border-top: 1px solid var(--line); }
.spec-table div { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: 13px; }
.spec-table dt { color: var(--soft); }
.spec-table dd { margin: 0; font-weight: 700; color: var(--ink); text-align: end; }
.spec-actions { display: flex; gap: 8px; margin-top: 16px; }
.spec-actions .btn { flex: 1; white-space: nowrap; }
.spec-actions .btn-whatsapp { flex: 1.6; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.cat-tile {
    position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
    padding: 30px 18px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.cat-tile::before { content: ""; position: absolute; inset: auto 0 0; height: 0; background: linear-gradient(180deg, var(--brand-50), #fff); transition: height .5s var(--ease); z-index: 0; }
.cat-tile > * { position: relative; z-index: 1; }
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.cat-tile:hover::before { height: 100%; }
.cat-tile .icon-tile { width: 64px; height: 64px; border-radius: 18px; background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.cat-tile .icon-tile .icon { width: 28px; height: 28px; }
.cat-tile:hover .icon-tile { transform: rotate(-8deg) scale(1.08); }
.cat-tile h3 { font-size: 16px; }
.cat-tile p { font-size: 13px; color: var(--muted); }
.cat-tile .go { position: absolute; bottom: 12px; inset-inline-end: 12px; color: var(--brand); opacity: 0; transform: translateX(10px); transition: all .4s var(--ease); }
[dir="rtl"] .cat-tile .go { transform: translateX(-10px); }
.cat-tile:hover .go { opacity: 1; transform: none; }

/* ---------- Home hero ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate; color: #fff;
    background: radial-gradient(1200px 600px at var(--mx, 80%) var(--my, 20%), rgba(76, 147, 192, .28), transparent 60%), linear-gradient(135deg, #0E1A28 0%, #16283B 45%, #1C3B55 100%);
    padding-block: 96px 64px;
}
.hero-grid-bg { position: absolute; inset: -60px; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; animation: grid-move 22s linear infinite; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: .45; z-index: -1; }
.hero-glow.one { background: #2B678C; top: -160px; inset-inline-end: -120px; animation: float 12s ease-in-out infinite; }
.hero-glow.two { background: #4C93C0; bottom: -220px; inset-inline-start: -160px; opacity: .25; animation: float 15s ease-in-out infinite reverse; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; font-weight: 600; color: #DCE7F0; backdrop-filter: blur(8px); }
[dir="rtl"] .hero-badge { padding: 7px 8px 7px 16px; }
.hero-badge .icon-wrap { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.hero-badge .icon { width: 15px; height: 15px; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 56px); font-weight: 900; line-height: 1.22; margin-block: 22px 20px; letter-spacing: -.01em; }
.hero h1 .brand-word { background: linear-gradient(90deg, #8CC8EE, #fff 50%, #8CC8EE); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; }
.hero p.lead { font-size: 17.5px; color: #B9C7D6; max-width: 640px; line-height: 1.9; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.stat-glass { padding: 20px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); transition: transform .4s var(--ease), background .3s; }
.stat-glass:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }
.stat-glass .num { font-size: 32px; font-weight: 900; color: #fff; line-height: 1.1; display: flex; align-items: baseline; gap: 6px; }
.stat-glass .num small { font-size: 15px; font-weight: 700; color: #9FC4DD; }
.stat-glass p { font-size: 13px; color: #9FB1C3; margin-top: 6px; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 480px; margin-inline: auto; width: 100%; }
.hero-visual .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(140, 200, 238, .35); animation: spin 60s linear infinite; }
.hero-visual .ring.r2 { inset: 12%; border-style: solid; border-color: rgba(255, 255, 255, .08); animation-duration: 40s; animation-direction: reverse; }
.hero-visual .ring.r3 { inset: 24%; border-color: rgba(140, 200, 238, .2); animation-duration: 26s; }
.hero-visual .core { position: absolute; inset: 22%; border-radius: 32px; background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(16px); display: grid; place-items: center; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); animation: float 7s ease-in-out infinite; }
.hero-visual .core img { width: 82%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }
.hero-visual .orbit { position: absolute; inset: 0; animation: spin 30s linear infinite; }
.hero-visual .orbit span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #8CC8EE; box-shadow: 0 0 18px #8CC8EE; }
.hero-visual .orbit span:nth-child(1) { top: -6px; left: 50%; }
.hero-visual .orbit span:nth-child(2) { bottom: 14%; left: 4%; width: 8px; height: 8px; }
.hero-visual .float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 700; white-space: nowrap; }
.hero-visual .float-card .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
.hero-visual .float-card .icon-tile .icon { width: 18px; height: 18px; }
.hero-visual .float-card small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }
.hero-visual .fc-1 { top: 10%; inset-inline-start: -4%; animation: float 6s ease-in-out infinite; }
.hero-visual .fc-2 { bottom: 12%; inset-inline-end: -6%; animation: float 7s ease-in-out infinite 1s; }
.hero-visual .gear { position: absolute; color: rgba(140, 200, 238, .35); }
.hero-visual .gear.g1 { width: 70px; top: 4%; inset-inline-end: 8%; animation: spin 14s linear infinite; }
.hero-visual .gear.g2 { width: 44px; top: 16%; inset-inline-end: 2%; animation: spin 9s linear infinite reverse; }

/* ---------- Industry cards ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.industry-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column; }
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.industry-visual { position: relative; height: 210px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(140deg, #13263A, #1D4363); color: #8CC8EE; }
.industry-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(140, 200, 238, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 200, 238, .1) 1px, transparent 1px); background-size: 24px 24px; transition: transform 1.2s var(--ease); }
.industry-card:hover .industry-visual::before { transform: scale(1.15); }
.industry-visual .big-icon { position: relative; width: 108px; height: 108px; border-radius: 30px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(140, 200, 238, .3); backdrop-filter: blur(4px); transition: transform .6s var(--ease); }
.industry-card:hover .big-icon { transform: scale(1.08) rotate(-6deg); }
.industry-visual .big-icon .icon { width: 52px; height: 52px; stroke-width: 1.4; stroke-dasharray: 160; stroke-dashoffset: 160; }
.is-visible .industry-visual .big-icon .icon, .industry-card.is-visible .big-icon .icon { animation: draw 2.2s var(--ease) forwards .3s; }
.industry-visual .scan { position: absolute; inset-inline: 0; height: 2px; top: 0; background: linear-gradient(90deg, transparent, #8CC8EE, transparent); box-shadow: 0 0 14px #8CC8EE; animation: scan 3.5s ease-in-out infinite; }
.industry-visual .spark { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #FFD27A; box-shadow: 0 0 10px #FFB020; animation: spark 2.4s ease-out infinite; }
.industry-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.industry-body h3 { font-size: 19px; display: flex; align-items: center; gap: 12px; }
.industry-body p { font-size: 14.5px; color: var(--muted); }
.industry-body .tag { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; font-weight: 700; color: var(--brand); display: flex; align-items: center; gap: 8px; }

/* ---------- Value section (dark) ---------- */
.dark-section { background: linear-gradient(160deg, var(--navy) 0%, #1A2F45 100%); color: #B9C7D6; position: relative; overflow: hidden; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section .eyebrow { color: #8CC8EE; }
.value-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.value-grid h2 { font-size: clamp(28px, 3.2vw, 40px); margin-block: 12px 18px; }
.value-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.value-feature { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: all .45s var(--ease); }
.value-feature:hover { background: rgba(255, 255, 255, .09); border-color: rgba(140, 200, 238, .4); transform: translateY(-4px); }
.value-feature .icon-tile { background: rgba(76, 147, 192, .2); color: #8CC8EE; margin-bottom: 14px; }
.value-feature:hover .icon-tile { background: var(--brand); color: #fff; }
.value-feature h3 { font-size: 16.5px; margin-bottom: 6px; }
.value-feature p { font-size: 13.5px; line-height: 1.8; }
.form-card { background: #fff; color: var(--text); border-radius: var(--radius-xl); padding: 34px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); position: relative; }
.form-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--brand-400), transparent 40%, transparent 60%, var(--brand)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form-card h3 { font-size: 23px; margin-block: 14px 8px; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.form-card form { display: grid; gap: 16px; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--soft); justify-content: center; }
.form-note .icon { width: 15px; height: 15px; color: var(--success); }

/* ---------- Trust strip ---------- */
.trust-strip { background: #fff; border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 28px 22px; border-inline-end: 1px solid var(--line); transition: background .3s; }
.trust-item:last-child { border-inline-end: 0; }
.trust-item:hover { background: var(--brand-50); }
.trust-item:hover .icon-tile { background: var(--brand); color: #fff; transform: rotate(-8deg); }
.trust-item h4 { font-size: 15px; }
.trust-item p { font-size: 13px; color: var(--muted); }

/* ---------- Page heads ---------- */
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs .icon { width: 15px; height: 15px; }
.crumbs .sep { color: var(--line-2); }
.crumbs .current { color: var(--ink); font-weight: 700; }
.page-bar { background: #fff; border-bottom: 1px solid var(--line); }
.page-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; flex-wrap: wrap; padding-block: 10px; }
.page-head-card { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(120deg, var(--brand-50) 0%, #E7EFF6 50%, #F8FBFD 100%); border: 1px solid var(--brand-100); padding: 36px 40px; }
.page-head-card::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; inset-inline-end: -140px; top: -200px; background: radial-gradient(circle, rgba(43, 103, 140, .18), transparent 70%); animation: float 10s ease-in-out infinite; }
.page-head-card h1 { font-size: clamp(26px, 3.2vw, 38px); margin-block: 6px 10px; }
.page-head-card p { color: var(--muted); max-width: 720px; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.tabs-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; position: relative; z-index: 1; }
.tab-pill { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--muted); transition: all .3s var(--ease); display: inline-flex; align-items: center; gap: 6px; }
.tab-pill:hover { border-color: var(--brand-200); color: var(--brand); }
.tab-pill.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.tab-pill .n { font-size: 11.5px; opacity: .8; }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 74px); display: grid; gap: 20px; }
.filter-card { padding: 24px; }
.filter-card .card-head { margin-bottom: 14px; }
.filter-card .card-head h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.filter-group { padding-block: 16px; border-top: 1px solid var(--line); }
.filter-group h4 { font-size: 14px; margin-bottom: 10px; }
.reset-link { font-size: 13px; color: var(--brand); font-weight: 700; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar .results { font-size: 14px; color: var(--muted); }
.toolbar .results strong { color: var(--ink); }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle button { width: 40px; height: 38px; display: grid; place-items: center; color: var(--soft); transition: all .25s; }
.view-toggle button.is-active { background: var(--brand); color: #fff; }
.view-toggle .icon { width: 18px; height: 18px; }
.sort-select { min-height: 40px; padding-block: 6px; width: auto; font-size: 13.5px; background-color: #fff; }

.promo-card { padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--navy), #1A3954); color: #B9C7D6; position: relative; overflow: hidden; }
.promo-card::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(76, 147, 192, .45), transparent 70%); top: -80px; inset-inline-end: -60px; animation: float 8s ease-in-out infinite; }
.promo-card h3 { color: #fff; font-size: 18px; display: flex; gap: 10px; align-items: center; margin-bottom: 10px; position: relative; }
.promo-card p { font-size: 13.5px; margin-bottom: 18px; position: relative; }
.promo-card .btn { position: relative; }
.promo-card .btn + .btn { margin-top: 10px; }
.note-card { padding: 22px; text-align: center; }
.note-card .icon-tile { margin: 0 auto 12px; }
.note-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.note-card p { font-size: 13px; color: var(--muted); }

.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 14px 18px; flex-wrap: wrap; }
.pagination .info { font-size: 13.5px; color: var(--muted); }
.pages { display: flex; gap: 6px; align-items: center; }
.pages a, .pages span { min-width: 40px; height: 40px; display: grid; place-items: center; padding-inline: 6px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-weight: 700; font-size: 14px; background: #fff; transition: all .25s; }
.pages a:hover { border-color: var(--brand); color: var(--brand); }
.pages .is-current { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.pages .is-disabled { opacity: .45; }
.pages .icon { width: 16px; height: 16px; }

.empty-state { padding: 60px 24px; text-align: center; }
.empty-state .icon-tile { width: 78px; height: 78px; border-radius: 24px; margin: 0 auto 18px; animation: float 4s ease-in-out infinite; }
.empty-state .icon-tile .icon { width: 34px; height: 34px; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); max-width: 420px; margin: 0 auto 22px; }

/* Measuring guide */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide-step { padding: 26px; position: relative; display: flex; flex-direction: column; gap: 10px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.guide-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-step .step-no { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 17px; }
.guide-step h3 { font-size: 17px; }
.guide-step p { font-size: 13.5px; color: var(--muted); }
.guide-visual { margin-top: auto; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.measure { position: relative; height: 54px; border: 2px solid var(--brand-200); border-radius: 10px; background: #fff; }
.measure .pin { position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(43, 103, 140, .15); animation: pulse-ring 2s infinite; }
.measure .arrow { position: absolute; bottom: -24px; height: 2px; background: var(--brand); }
.measure-labels { display: flex; justify-content: space-between; margin-top: 30px; font-size: 12px; font-weight: 700; color: var(--brand-700); }
.size-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: center; }
.size-pair div { padding: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.size-pair strong { display: block; font-size: 16px; color: var(--ink); direction: ltr; }
.size-pair small { font-size: 12px; color: var(--muted); }
.help-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; margin-top: 30px; flex-wrap: wrap; border-inline-start: 4px solid var(--brand); }
.help-banner .lead { display: flex; align-items: center; gap: 16px; }
.help-banner h3 { font-size: 17px; }
.help-banner p { font-size: 13.5px; color: var(--muted); }

/* ---------- Catalog hero ---------- */
.catalog-hero { background: linear-gradient(135deg, #111E2D, #1B3047 60%, #20405E); color: #B9C7D6; position: relative; overflow: hidden; padding-block: 64px; }
.catalog-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 40px 40px; animation: grid-move 30s linear infinite; }
.catalog-hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.catalog-hero h1 { color: #fff; font-size: clamp(30px, 3.8vw, 46px); font-weight: 900; margin-block: 16px 14px; }
.catalog-hero p { font-size: 16px; line-height: 1.9; }
.spec-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-block: 28px; }
.spec-stat { padding: 14px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.spec-stat strong { display: block; color: #fff; font-size: 18px; font-weight: 900; direction: ltr; text-align: start; }
.spec-stat small { font-size: 12px; }
.blueprint { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(150deg, #173452, #0F2236); border: 1px solid rgba(140, 200, 238, .25); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.blueprint::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(140, 200, 238, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 200, 238, .12) 1px, transparent 1px), linear-gradient(rgba(140, 200, 238, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 200, 238, .05) 1px, transparent 1px); background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px; }
.blueprint .bp-art { position: absolute; inset: 10% 14% 18%; display: grid; place-items: center; }
.blueprint .bp-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .5)); animation: float 7s ease-in-out infinite; }
.blueprint .bp-gear { position: absolute; color: rgba(140, 200, 238, .45); }
.blueprint .bp-gear.a { width: 90px; top: 8%; inset-inline-start: 6%; animation: spin 16s linear infinite; }
.blueprint .bp-gear.b { width: 56px; top: 24%; inset-inline-start: 18%; animation: spin 10s linear infinite reverse; }
.blueprint .bp-dim { position: absolute; color: #8CC8EE; font-size: 11px; font-family: ui-monospace, Consolas, monospace; direction: ltr; }
.blueprint .bp-dim.x { bottom: 13%; inset-inline: 14%; border-top: 1px solid rgba(140, 200, 238, .6); text-align: center; padding-top: 4px; }
.blueprint .bp-dim.x::before, .blueprint .bp-dim.x::after { content: ""; position: absolute; top: -6px; width: 1px; height: 11px; background: #8CC8EE; }
.blueprint .bp-dim.x::before { left: 0; }
.blueprint .bp-dim.x::after { right: 0; }
.blueprint .bp-dim.y { top: 12%; bottom: 22%; inset-inline-end: 8%; border-inline-start: 1px solid rgba(140, 200, 238, .6); display: flex; align-items: center; padding-inline-start: 6px; writing-mode: vertical-rl; }
.blueprint .bp-scan { position: absolute; inset-inline: 0; height: 40%; top: -40%; background: linear-gradient(180deg, transparent, rgba(140, 200, 238, .14), transparent); animation: scan-y 5s ease-in-out infinite; }
.blueprint .bp-caption { position: absolute; bottom: 14px; inset-inline: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.blueprint .bp-caption span { padding: 6px 12px; border-radius: 8px; background: rgba(10, 20, 32, .75); color: #E3EEF6; font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); display: inline-flex; gap: 6px; align-items: center; }
.blueprint .bp-caption .icon { width: 14px; height: 14px; color: #8CC8EE; }
.test-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.sub-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 0px); z-index: 20; }
.sub-nav .container { display: flex; align-items: center; gap: 18px; min-height: 70px; flex-wrap: wrap; padding-block: 10px; }
.sub-nav .control { flex: 0 1 300px; }
.sub-nav .control .input { min-height: 44px; }
.sub-nav .tabs { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.sub-nav .approvals { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.sub-nav .approvals .icon { color: var(--success); }
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 26px 30px; margin-top: 34px; flex-wrap: wrap; }
.cta-strip .lead { display: flex; align-items: center; gap: 16px; }
.cta-strip h3 { font-size: 18px; }
.cta-strip p { font-size: 13.5px; color: var(--muted); }
.cta-strip .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- About ---------- */
.about-hero { padding-block: 70px 40px; text-align: center; background: radial-gradient(900px 400px at 50% 0%, var(--brand-50), transparent 70%), #fff; }
.about-hero h1 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 900; line-height: 1.28; margin-block: 18px; }
.about-hero h1 .hl { color: var(--brand); position: relative; display: inline-block; }
.about-hero h1 .hl::after { content: ""; position: absolute; inset-inline: 0; bottom: 6px; height: 12px; background: var(--brand-100); z-index: -1; border-radius: 4px; transform: scaleX(0); transform-origin: inline-start; transition: transform 1.2s var(--ease) .6s; }
[dir="rtl"] .about-hero h1 .hl::after { transform-origin: right; }
[dir="ltr"] .about-hero h1 .hl::after { transform-origin: left; }
.about-hero h1.is-visible .hl::after { transform: scaleX(1); }
.about-hero > .container > p { color: var(--muted); max-width: 720px; margin-inline: auto; font-size: 17px; }
.factory-frame { margin-top: 48px; position: relative; border-radius: var(--radius-xl); overflow: hidden; height: clamp(300px, 46vw, 520px); background: linear-gradient(150deg, #173452, #0D1D2E); box-shadow: var(--shadow-lg); }
.factory-frame .blueprint { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; border: 0; box-shadow: none; }
.factory-line { position: absolute; bottom: 22%; inset-inline: 0; height: 10px; background: repeating-linear-gradient(90deg, #2E4D6B 0 30px, #22394F 30px 60px); animation: conveyor 2s linear infinite; }
.factory-items { position: absolute; bottom: calc(22% + 10px); inset-inline: 0; height: 80px; overflow: hidden; }
.factory-items img { position: absolute; bottom: 0; height: 74px; width: auto; animation: belt 14s linear infinite; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .4)); }
.factory-items img:nth-child(2) { animation-delay: -3.5s; }
.factory-items img:nth-child(3) { animation-delay: -7s; }
.factory-items img:nth-child(4) { animation-delay: -10.5s; }
.robot-arm { position: absolute; bottom: calc(22% + 10px); width: 120px; height: 200px; color: #8CC8EE; }
.robot-arm.a1 { inset-inline-start: 22%; }
.robot-arm.a2 { inset-inline-start: 62%; }
.robot-arm .upper { transform-origin: 30px 150px; animation: arm 4s ease-in-out infinite; }
.robot-arm.a2 .upper { animation-delay: -2s; }
.factory-caption { position: absolute; bottom: 18px; inset-inline: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.factory-caption span { padding: 8px 14px; border-radius: 10px; background: rgba(10, 20, 32, .72); color: #E3EEF6; font-size: 13px; font-weight: 700; backdrop-filter: blur(6px); display: inline-flex; gap: 8px; align-items: center; }
.factory-caption span.dot { padding: 0; background: var(--brand-400); backdrop-filter: none; }
.about-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; }
.about-stat { text-align: center; padding: 20px; border-inline-end: 1px solid var(--line); }
.about-stat:last-child { border-inline-end: 0; }
.about-stat strong { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; color: var(--brand); line-height: 1.1; }
.about-stat > span { font-size: 14px; color: var(--muted); }
.pillar-card { padding: 30px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column; gap: 12px; }
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-card:hover .icon-tile { background: var(--brand); color: #fff; transform: rotate(-8deg); }
.pillar-card h3 { font-size: 18px; }
.pillar-card p { color: var(--muted); font-size: 14.5px; }
.pillar-card .tag { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; font-weight: 700; color: var(--brand); display: flex; align-items: center; gap: 8px; }
.team-card { padding: 30px 26px; text-align: center; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar { width: 108px; height: 108px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 900; color: #fff; background: linear-gradient(140deg, var(--brand-400), var(--brand-800)); position: relative; box-shadow: 0 16px 30px -12px rgba(43, 103, 140, .6); }
.team-avatar::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed var(--brand-200); animation: spin 20s linear infinite; }
.team-card h3 { font-size: 18px; }
.team-card .role { display: inline-block; margin-block: 6px 12px; font-size: 13px; font-weight: 700; color: var(--brand); background: var(--brand-50); padding: 3px 12px; border-radius: 99px; }
.team-card p { color: var(--muted); font-size: 14px; }
.certs-band { background: #fff; border-block: 1px solid var(--line); padding-block: 28px; overflow: hidden; }
.certs-band .container { display: flex; align-items: center; gap: 36px; }
.certs-band .lead { flex-shrink: 0; }
.certs-band .lead strong { display: block; font-size: 16px; color: var(--ink); }
.certs-band .lead small { color: var(--muted); }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 28s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--muted); white-space: nowrap; font-size: 15px; }
.marquee-track .icon { color: var(--brand); }
.gradient-cta { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 50px; color: #E3EEF6; background: linear-gradient(120deg, var(--brand-800), var(--brand) 60%, var(--brand-400)); box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.gradient-cta::before, .gradient-cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.gradient-cta::before { width: 320px; height: 320px; top: -160px; inset-inline-start: -80px; animation: float 9s ease-in-out infinite; }
.gradient-cta::after { width: 220px; height: 220px; bottom: -120px; inset-inline-end: 20%; animation: float 11s ease-in-out infinite reverse; }
.gradient-cta > * { position: relative; z-index: 1; }
.gradient-cta h2 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); margin-block: 8px; }
.gradient-cta .eyebrow { color: #CFE5F3; }
.gradient-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-hero { padding-block: 56px 40px; background: linear-gradient(180deg, #fff, var(--surface)); }
.contact-hero .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.contact-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; margin-block: 10px; }
.contact-hero p { color: var(--muted); max-width: 760px; }
.mini-stats { display: flex; gap: 12px; }
.mini-stat { padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); min-width: 150px; }
.mini-stat small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.mini-stat small .icon { width: 14px; height: 14px; color: var(--brand); }
.mini-stat strong { display: block; font-size: 20px; color: var(--ink); direction: ltr; text-align: start; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.contact-side { display: grid; gap: 24px; }
.hotline-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: linear-gradient(130deg, var(--brand-700), var(--brand) 70%, var(--brand-400)); color: #fff; position: relative; overflow: hidden; margin-bottom: 18px; }
.hotline-card::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 24px solid rgba(255, 255, 255, .07); inset-inline-end: -40px; top: -60px; }
.hotline-card small { font-size: 12.5px; color: #CFE5F3; }
.hotline-card strong { display: block; font-size: 38px; font-weight: 900; letter-spacing: .04em; line-height: 1.1; }
.hotline-card .ring-btn { width: 54px; height: 54px; border-radius: 16px; background: #fff; color: var(--brand); display: grid; place-items: center; position: relative; z-index: 1; animation: ring 2.4s ease-in-out infinite; }
.info-list { display: grid; }
.info-row { display: flex; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row small { display: block; font-size: 12.5px; color: var(--soft); }
.info-row strong, .info-row a { display: block; font-weight: 700; color: var(--ink); font-size: 14.5px; }
.info-row a:hover { color: var(--brand); }
.whatsapp-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: all .35s var(--ease); }
.whatsapp-row:hover { border-color: #1FAF55; background: #F0FBF4; transform: translateY(-2px); }
.whatsapp-row .lead { display: flex; align-items: center; gap: 12px; }
.whatsapp-row .icon-tile { background: #1FAF55; color: #fff; }
.whatsapp-row strong { display: block; font-size: 15px; }
.whatsapp-row small { color: var(--muted); font-size: 12.5px; }
.social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.social-tile { text-align: center; padding: 14px 6px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: all .35s var(--ease); }
.social-tile .icon-tile { margin: 0 auto 8px; width: 40px; height: 40px; border-radius: 11px; }
.social-tile .icon-tile .icon { width: 19px; height: 19px; }
.social-tile strong { display: block; font-size: 13px; }
.social-tile small { font-size: 11.5px; color: var(--muted); }
.social-tile:hover { transform: translateY(-4px); border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.social-tile:hover .icon-tile { background: var(--brand); color: #fff; }
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; height: 240px; border: 1px solid var(--line); background: var(--surface-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.urgent-band { background: var(--navy); color: #B9C7D6; padding-block: 34px; }
.urgent-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.urgent-band .lead { display: flex; align-items: center; gap: 18px; }
.urgent-band h3 { color: #fff; font-size: 20px; }
.urgent-band .icon-tile { background: var(--brand); color: #fff; animation: pulse-ring-brand 2.2s infinite; }
.urgent-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Account ---------- */
.profile-card { position: relative; overflow: hidden; padding: 30px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: linear-gradient(110deg, #fff 30%, var(--brand-50)); }
.profile-card::after { content: ""; position: absolute; inset-inline-end: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 103, 140, .12), transparent 70%); }
.profile-avatar { width: 112px; height: 112px; border-radius: 22px; display: grid; place-items: center; font-size: 36px; font-weight: 900; color: #fff; background: linear-gradient(140deg, var(--brand-400), var(--brand-800)); box-shadow: var(--shadow-brand); position: relative; flex-shrink: 0; }
.profile-avatar .online { position: absolute; bottom: -6px; inset-inline-end: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); border: 4px solid #fff; display: grid; place-items: center; }
.profile-avatar .online .icon { width: 12px; height: 12px; }
.profile-info h1 { font-size: 26px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.profile-info p { color: var(--muted); margin-block: 4px 10px; }
.profile-contacts { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.profile-contacts span { display: inline-flex; align-items: center; gap: 6px; }
.profile-contacts .icon { width: 16px; height: 16px; color: var(--brand); }
.account-tabs { display: flex; gap: 8px; padding: 8px; margin-block: 28px; background: var(--surface-2); border-radius: var(--radius); border: 1px solid var(--line); flex-wrap: wrap; position: relative; }
.account-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14.5px; color: var(--muted); transition: all .35s var(--ease); white-space: nowrap; }
.account-tab:hover { color: var(--brand); }
.account-tab.is-active { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.account-tab .n { min-width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; background: rgba(43, 103, 140, .12); font-size: 12px; }
.account-tab.is-active .n { background: rgba(255, 255, 255, .2); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade-up .5s var(--ease); }
.account-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
.account-form .input-wrap { position: relative; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.form-foot .meta { font-size: 13px; color: var(--soft); display: flex; gap: 6px; align-items: center; }
.form-foot .meta .icon { width: 15px; height: 15px; }
.sec-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.sec-row .lead { display: flex; align-items: center; gap: 8px; }
.sec-row .icon { width: 17px; height: 17px; color: var(--brand); }
.perks { display: grid; gap: 14px; margin-block: 16px 20px; }
.perks li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.perks .icon { color: var(--success); width: 20px; height: 20px; margin-top: 3px; }
.engineer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.engineer-row small { display: block; font-size: 12px; color: var(--soft); }
.engineer-row strong { font-size: 14px; }

/* ---------- Wishlist ---------- */
.wl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.wl-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 20px; margin-bottom: 18px; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.wl-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.wl-item.is-removing { animation: collapse .5s var(--ease) forwards; }
.wl-media { position: relative; border-radius: var(--radius); background: radial-gradient(circle at 50% 40%, #fff, #EDF2F6); display: grid; place-items: center; min-height: 180px; overflow: hidden; }
.wl-media img { width: 86%; transition: transform .6s var(--ease); }
.wl-item:hover .wl-media img { transform: scale(1.06); }
.wl-media .badge { position: absolute; top: 10px; inset-inline-start: 10px; }
.wl-body { display: flex; flex-direction: column; gap: 8px; }
.wl-top { display: flex; justify-content: space-between; gap: 12px; }
.wl-top .code { font-size: 12.5px; color: var(--soft); }
.wl-top .code b { color: var(--brand); direction: ltr; display: inline-block; }
.wl-body h3 { font-size: 17.5px; line-height: 1.6; }
.stock-line { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #15803D; }
.stock-line.low { color: var(--warning); }
.stock-line.order { color: var(--brand); }
.wl-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.wl-foot .actions { display: flex; gap: 8px; }
.summary-card { padding: 26px; position: sticky; top: calc(var(--header-h) + 74px); }
.summary-rows { display: grid; gap: 12px; margin-block: 18px; }
.summary-rows div { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); }
.summary-rows strong { color: var(--ink); }
.summary-rows .neg { color: var(--danger); }
.summary-rows .pos { color: var(--success); }
.grand { display: flex; justify-content: space-between; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); margin-bottom: 18px; }
.grand strong { font-size: 30px; font-weight: 900; color: var(--brand-700); line-height: 1.1; }
.grand small { display: block; font-size: 12px; color: var(--muted); }
.contractor-note { display: flex; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--brand-200); margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.contractor-note strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.alert-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; margin-bottom: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--brand); }
.alert-strip .lead { display: flex; gap: 12px; align-items: center; }
.alert-strip strong { font-size: 14.5px; }
.alert-strip p { font-size: 13px; color: var(--muted); }

/* ---------- Auth ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 200px); }
.auth-side { position: relative; overflow: hidden; background: linear-gradient(150deg, #0E1A28, #1C3B55); color: #B9C7D6; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.auth-side h2 { color: #fff; font-size: 32px; margin-bottom: 20px; }
.auth-side ul { display: grid; gap: 14px; }
.auth-side li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.auth-side li .icon-tile { background: rgba(255, 255, 255, .08); color: #8CC8EE; width: 40px; height: 40px; }
.auth-form-wrap { display: grid; place-items: center; padding: 50px 24px; background: #fff; }
.auth-form { width: 100%; max-width: 440px; display: grid; gap: 18px; }
.auth-form h1 { font-size: 28px; }
.auth-form > p { color: var(--muted); }
.demo-hint { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--brand-50); color: var(--brand-700); font-size: 13px; font-weight: 600; direction: ltr; text-align: center; }

/* ---------- Toast ---------- */
.toasts { position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 300; display: grid; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; min-width: 280px; max-width: 420px; padding: 14px 18px; border-radius: var(--radius); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: 14.5px; font-weight: 600; animation: toast-in .5s var(--ease); }
.toast.is-leaving { animation: toast-out .4s var(--ease) forwards; }
.toast .icon-wrap { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--success); flex-shrink: 0; }
.toast.error .icon-wrap { background: var(--danger); }
.toast .icon { width: 17px; height: 17px; }
.toast .bar { position: absolute; bottom: 0; inset-inline-start: 0; height: 3px; background: var(--brand-400); animation: toast-bar 3.5s linear forwards; border-radius: 0 0 0 var(--radius); }
.toast { position: relative; overflow: hidden; }

/* Fly-to-cart clone */
.fly-clone { position: fixed; z-index: 400; pointer-events: none; border-radius: 12px; object-fit: contain; background: #fff; box-shadow: var(--shadow-lg); transition: transform .9s cubic-bezier(.5, -0.3, .3, 1), opacity .9s ease, width .9s, height .9s; }

/* ---------- Preloader & progress ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; background: #fff; display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader-inner { display: grid; justify-items: center; gap: 22px; }
.preloader img { width: 190px; animation: logo-in 1s var(--ease) both; }
.preloader .bar { width: 180px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.preloader .bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--brand); border-radius: inherit; animation: loader-bar 1.1s var(--ease-in-out) infinite; }
.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 70; background: linear-gradient(90deg, var(--brand-400), var(--brand)); transform-origin: right; transform: scaleX(0); }
[dir="ltr"] .scroll-progress { transform-origin: left; }
.to-top { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--brand); opacity: 0; transform: translateY(20px) scale(.8); transition: all .45s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--brand); color: #fff; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--brand-200); stroke-width: 3; }
.to-top svg.ring circle.fg { stroke: var(--brand); stroke-dasharray: 151; stroke-dashoffset: 151; transition: stroke-dashoffset .1s; }
.to-top .icon { width: 20px; height: 20px; position: relative; }
.wa-float { position: fixed; bottom: 88px; inset-inline-end: 24px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; background: #1FAF55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(31, 175, 85, .8); animation: pulse-wa 2.6s infinite; }
.wa-float .icon { width: 24px; height: 24px; }

/* Page transition */
.page-fade { position: fixed; inset: 0; z-index: 900; background: #fff; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
body.is-leaving .page-fade { opacity: 1; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--delay, 0s); will-change: transform, opacity; }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="down"] { transform: translateY(-30px); }
[data-reveal="start"] { transform: translateX(40px); }
[data-reveal="end"] { transform: translateX(-40px); }
[dir="ltr"] [data-reveal="start"] { transform: translateX(-40px); }
[dir="ltr"] [data-reveal="end"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal="blur"] { filter: blur(12px); transform: translateY(20px); }
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.split-word > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--delay, 0s)); }
.is-visible .split-word > span, .split-word.is-visible > span { transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes grid-move { to { background-position: 56px 56px; } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes sheen { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(43, 103, 140, .35); } 100% { box-shadow: 0 0 0 14px rgba(43, 103, 140, 0); } }
@keyframes pulse-ring-brand { 0% { box-shadow: 0 0 0 0 rgba(76, 147, 192, .6); } 100% { box-shadow: 0 0 0 18px rgba(76, 147, 192, 0); } }
@keyframes pulse-wa { 0% { box-shadow: 0 0 0 0 rgba(31, 175, 85, .55); } 70% { box-shadow: 0 0 0 16px rgba(31, 175, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 175, 85, 0); } }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.45); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes heart-pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 65% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes burst { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes scan { 0%, 100% { top: 0; opacity: 0; } 10%, 90% { opacity: 1; } 50% { top: 100%; } }
@keyframes scan-y { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes spark { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--sx, 30px), var(--sy, -40px)) scale(0); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes collapse { to { opacity: 0; transform: translateX(40px) scale(.96); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px) scale(.95); } }
@keyframes toast-bar { from { width: 100%; } to { width: 0; } }
@keyframes logo-in { from { opacity: 0; transform: scale(.85); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes loader-bar { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }
@keyframes conveyor { to { background-position: 60px 0; } }
@keyframes belt { from { inset-inline-start: -15%; } to { inset-inline-start: 110%; } }
@keyframes arm { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(18deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .header-search select { display: none; }
    .account-link .text { display: none; }
}
@media (max-width: 1024px) {
    .hero-inner, .value-grid, .catalog-hero .container { grid-template-columns: 1fr; }
    .hero-visual { max-width: 380px; }
    .shop-layout, .contact-layout, .account-layout, .wl-layout { grid-template-columns: 1fr; }
    .filters, .summary-card { position: static; }
    .industry-grid, .guide-grid { grid-template-columns: 1fr 1fr; }
    .product-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-bar { display: none; }
    .menu-toggle { display: grid; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-item:nth-child(2) { border-inline-end: 0; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-side { display: none; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .about-stat:nth-child(2) { border-inline-end: 0; }
    .spec-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    :root { --header-h: 64px; }
    .container { padding-inline: 16px; }
    .section { padding-block: 60px; }
    .topbar .hide-sm, .topbar-sep { display: none; }
    .topbar .container { justify-content: center; }
    .header-main { gap: 12px; flex-wrap: wrap; padding-block: 10px; }
    .logo img { height: 38px; }
    .header-search { order: 3; flex-basis: 100%; max-width: none; }
    .cart-pill .text, .lang-switch span { display: none; }
    .cart-pill { padding: 4px !important; }
    .product-grid, .product-grid.cols-3, .product-grid.cols-2 { grid-template-columns: 1fr 1fr; gap: 14px; }
    .product-body { padding: 14px; }
    .product-title { font-size: 14.5px; }
    .product-summary, .product-features { display: none; }
    .product-foot { flex-direction: column; align-items: stretch; }
    .price strong { font-size: 19px; }
    .product-grid.is-list .product-card { flex-direction: column; }
    .product-grid.is-list .product-media { width: 100%; aspect-ratio: 4 / 3.2; }
    .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .industry-grid, .guide-grid, .value-features, .form-grid, .radio-cards { grid-template-columns: 1fr; }
    .hero { padding-block: 60px 40px; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .footer-main { grid-template-columns: 1fr; gap: 34px; padding-block: 50px 30px; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item { border-inline-end: 0 !important; border-bottom: 1px solid var(--line); }
    .form-card, .card-pad { padding: 22px; }
    .page-head-card { padding: 26px 22px; }
    .wl-item { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: 1fr 1fr; }
    .gradient-cta { padding: 30px 22px; }
    .certs-band .container { flex-direction: column; align-items: stretch; gap: 16px; }
    .mini-stats { width: 100%; }
    .mini-stat { flex: 1; min-width: 0; }
    .toasts { inset-inline: 16px; bottom: 16px; }
    .toast { min-width: 0; }
    .account-tab { flex-basis: 100%; }
    .sub-nav { position: static; }
    .robot-arm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; filter: none; }
    .split-word > span { transform: none; }
}

/* Layering for sections that host the animated grid background */
.dark-section, .auth-side { isolation: isolate; }
.auth-side .hero-grid-bg { z-index: -1; }

/* Developer credit at the very bottom of the footer */
.footer-credit { position: relative; padding: 14px 16px; border-top: 1px solid rgba(255, 255, 255, .06); text-align: center; font-size: 13px; color: #7D8DA1; }
.footer-credit a { color: #8CC8EE; font-weight: 800; letter-spacing: .02em; transition: color .25s; }
.footer-credit a:hover { color: #fff; text-decoration: underline; }

/* Header wishlist: heart with its label underneath */
.icon-btn.wish-link { width: auto; height: auto; min-width: 54px; padding: 4px 8px; border-radius: 12px; gap: 1px; }
.icon-btn.wish-link .wish-label { font-size: 11.5px; font-weight: 700; line-height: 1.2; color: var(--muted); white-space: nowrap; }
.icon-btn.wish-link:hover .wish-label { color: var(--brand); }
.icon-btn.wish-link .counter { top: -2px; inset-inline-end: 6px; }
.stores-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.stores-logo { display: inline-block; margin-bottom: 4px; } .stores-logo .glow-wordmark { width: 190px; } @media (max-width: 600px) { .stores-logo .glow-wordmark { width: 150px; } }

/* About page production line: real product photos, each in a same-size box so the gaps on the belt are equal */
.factory-items { height: 120px; }
.factory-items img { width: 122px; height: 90px; object-fit: contain; object-position: center bottom; animation-duration: 17.5s; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .5)); }
.factory-items img:nth-child(1) { animation-delay: 0s; }
.factory-items img:nth-child(2) { animation-delay: -3.5s; }
.factory-items img:nth-child(3) { animation-delay: -7s; }
.factory-items img:nth-child(4) { animation-delay: -10.5s; }
.factory-items img:nth-child(5) { animation-delay: -14s; }
.factory-items img.fi-cutter, .factory-items img.fi-scraper { height: 70px; margin-bottom: 0; }
@media (max-width: 900px) { .factory-frame .factory-items { height: 70px; top: 102px; } .factory-frame .factory-items img { width: 74px; height: 52px; } .factory-frame .factory-items img.fi-cutter, .factory-frame .factory-items img.fi-scraper { height: 41px; } }
