/* =========================================================
   ACi Shop — Home template
   Brand palette taken from aci724.com (site-colors.css)
   ========================================================= */

/* ---------- Fonts (same family the main site uses) ---------- */
@font-face { font-family: "ACi"; src: url("../fonts/kll.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "ACi"; src: url("../fonts/klr.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ACi"; src: url("../fonts/klm.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "ACi"; src: url("../fonts/klf.woff") format("woff"); font-weight: 800; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #1D252C;
  --ink-2: #26313a;
  --ink-3: #33404b;
  --gray: #7A97AA;
  --or-d: #D4451D;
  --or: #FF671D;
  --or-l: #F49E6B;
  --cy-d: #35B1C9;
  --cy: #63CFE3;
  --cy-l: #A3D8E5;

  --bg: #F4F7F9;
  --surface: #FFFFFF;
  --line: #E3EAEF;
  --muted: #5E7484;

  --grad-or: linear-gradient(135deg, var(--or) 0%, var(--or-d) 100%);
  --grad-cy: linear-gradient(135deg, var(--cy) 0%, var(--cy-d) 100%);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(29, 37, 44, .06);
  --shadow: 0 10px 30px -10px rgba(29, 37, 44, .18);
  --shadow-lg: 0 30px 60px -20px rgba(29, 37, 44, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1320px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; max-width: 100%; touch-action: pan-x pan-y; overscroll-behavior-x: none; }
main, .footer, .header, .topbar { overflow-x: clip; max-width: 100%; }
body {
  max-width: 100%; position: relative; touch-action: pan-x pan-y; -webkit-tap-highlight-color: transparent;
  margin: 0;
  font-family: "ACi", Tahoma, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden; overflow-x: clip;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
section[id] { scroll-margin-top: 150px; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.4; font-weight: 800; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--cy); color: var(--ink); }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.ico { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico.fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--grad-or);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  background: var(--bg-btn); color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 24px -10px rgba(255, 103, 29, .7);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(255, 103, 29, .8); }
.btn:hover::before { transform: translateX(-120%); }
.btn .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ico.go { transform: translateX(-4px); }
.btn-cy { --bg-btn: var(--grad-cy); box-shadow: 0 10px 24px -10px rgba(53, 177, 201, .7); color: var(--ink); }
.btn-dark { --bg-btn: var(--ink); box-shadow: 0 10px 24px -12px rgba(29, 37, 44, .8); }
.btn-ghost { --bg-btn: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.45); animation: ripple .7s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

.icon-btn {
  position: relative; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; color: var(--ink);
  background: var(--bg); transition: background .25s, color .25s, transform .25s;
}
.icon-btn:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.badge {
  position: absolute; top: -6px; left: -6px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--or); color: #fff; font-size: 12px; font-weight: 600;
  display: grid; place-items: center; border: 2px solid #fff; line-height: 1;
}
.badge.bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.5); } 60% { transform: scale(.85); } 100% { transform: scale(1); } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--ink);
  display: grid; place-items: center; transition: opacity .6s .1s, visibility .6s .1s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader .pl-inner { display: grid; justify-items: center; gap: 22px; }
.preloader img { width: 190px; animation: plPulse 1.6s ease-in-out infinite; }
.pl-bar { width: 180px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.pl-bar span { display: block; height: 100%; width: 40%; background: var(--grad-or); border-radius: 3px; animation: plBar 1.1s ease-in-out infinite; }
@keyframes plPulse { 50% { opacity: .55; transform: scale(.97); } }
@keyframes plBar { 0% { transform: translateX(260%); } 100% { transform: translateX(-160%); } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; right: 0; height: 3px; width: 100%; z-index: 1001; background: var(--grad-or); transform-origin: right; transform: scaleX(0); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #cfdbe3; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-ticker { position: relative; height: 22px; overflow: hidden; flex: 1; }
.topbar-ticker span { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(100%); transition: .6s var(--ease); }
.topbar-ticker span.on { opacity: 1; transform: none; }
.topbar-ticker span.off { opacity: 0; transform: translateY(-100%); }
.topbar-ticker b { color: var(--or-l); font-weight: 600; }
.topbar-links { display: flex; gap: 22px; align-items: center; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: var(--cy); }
.topbar-links .ico { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .35s, border-color .35s; }
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(29,37,44,.35); border-color: var(--line); }
.header-main { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .35s var(--ease); }
.header.scrolled .header-main { height: 70px; }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 52px; width: auto; transition: height .35s var(--ease); }
.header.scrolled .logo img { height: 44px; }

.search { position: relative; flex: 1; max-width: 640px; }
.search form { display: flex; align-items: center; background: var(--bg); border: 1.5px solid transparent; border-radius: 16px; transition: border-color .25s, background .25s, box-shadow .25s; }
.search form:focus-within { background: #fff; border-color: var(--cy-d); box-shadow: 0 0 0 5px rgba(99, 207, 227, .18); }
.search select { border: 0; background: transparent; padding: 0 16px; height: 50px; font-size: 14px; color: var(--muted); border-left: 1px solid var(--line); outline: 0; cursor: pointer; }
.search input { flex: 1; border: 0; background: transparent; height: 50px; padding: 0 14px; font-size: 15px; outline: 0; min-width: 0; }
.search button[type=submit] { width: 50px; height: 50px; display: grid; place-items: center; color: var(--muted); transition: color .2s; }
.search button[type=submit]:hover { color: var(--or); }
.search-suggest {
  position: absolute; top: calc(100% + 10px); right: 0; left: 0; background: #fff; border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .3s var(--ease); z-index: 20;
}
.search-suggest.open { opacity: 1; visibility: visible; transform: none; }
.search-suggest h6 { margin: 6px 10px 8px; font-size: 12px; color: var(--gray); font-weight: 600; }
.search-suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; font-size: 14px; }
.search-suggest a:hover, .search-suggest a.active { background: var(--bg); }
.search-suggest a img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--bg); }
.search-suggest a small { display: block; color: var(--gray); font-size: 12px; }
.search-suggest mark { background: rgba(255,103,29,.15); color: var(--or-d); border-radius: 4px; padding: 0 2px; }
.search-suggest .tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 10px 8px; }
.search-suggest .tags button { padding: 5px 12px; border-radius: 999px; background: var(--bg); font-size: 13px; transition: .2s; }
.search-suggest .tags button:hover { background: var(--ink); color: #fff; }
.search-suggest .empty { padding: 16px; text-align: center; color: var(--gray); font-size: 14px; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.header-call { display: flex; align-items: center; gap: 10px; padding-inline-end: 14px; margin-inline-end: 4px; border-inline-end: 1px solid var(--line); }
.header-call .ring { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(53,177,201,.12); color: var(--cy-d); position: relative; }
.header-call .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cy-d); animation: ringPulse 2s ease-out infinite; }
@keyframes ringPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.header-call small { display: block; font-size: 12px; color: var(--gray); line-height: 1.4; }
.header-call b { font-weight: 600; font-size: 15px; direction: ltr; display: inline-block; }
.menu-toggle { display: none; }

/* Nav */
.nav { border-top: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 54px; }
.nav-list { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-item { position: static; height: 100%; display: flex; align-items: center; }
.nav-item.rel { position: relative; }
.nav-link { position: relative; display: flex; align-items: center; gap: 6px; padding: 0 14px; height: 100%; font-weight: 600; font-size: 15px; }
.nav-link .ico { width: 16px; height: 16px; transition: transform .3s; }
.nav-link::after { content: ""; position: absolute; bottom: -1px; right: 14px; left: 14px; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad-or); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav-item:hover > .nav-link::after, .nav-link.active::after { transform: scaleX(1); }
.nav-item:hover > .nav-link { color: var(--or-d); }
.nav-item:hover > .nav-link .ico.chev { transform: rotate(180deg); }
.nav-link.cats { background: var(--ink); color: #fff; border-radius: 12px; height: 40px; padding: 0 18px; margin-inline-end: 8px; }
.nav-link.cats::after { display: none; }
.nav-item:hover > .nav-link.cats { color: #fff; background: var(--or-d); }
.nav-link .hot { font-size: 11px; background: var(--or); color: #fff; padding: 0 7px; border-radius: 6px; line-height: 18px; animation: hotBlink 2s infinite; }
@keyframes hotBlink { 50% { background: var(--or-d); } }
.nav-cta { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.nav-cta .ico { width: 18px; height: 18px; color: var(--cy-d); }

.mega, .dropdown {
  position: absolute; top: 100%; background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s; z-index: 30;
}
.mega { right: 0; left: 0; width: min(100% - 32px, var(--container)); margin-inline: auto; padding: 30px; display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 30px; }
.nav-item:hover > .mega, .nav-item:hover > .dropdown, .nav-item:focus-within > .mega, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.mega h4 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mega h4 .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,103,29,.1); color: var(--or-d); }
.mega h4 .dot .ico { width: 18px; height: 18px; }
.mega li a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; color: var(--muted); transition: color .2s, transform .25s var(--ease); }
.mega li a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .2s; }
.mega li a:hover { color: var(--ink); transform: translateX(-6px); }
.mega li a:hover::before { background: var(--or); }
.mega-promo { position: relative; border-radius: var(--r); overflow: hidden; min-height: 280px; color: #fff; display: flex; align-items: flex-end; padding: 22px; }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mega-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29,37,44,.95), rgba(29,37,44,.1)); }
.mega-promo:hover img { transform: scale(1.08); }
.mega-promo > div { position: relative; z-index: 1; }
.mega-promo small { color: var(--or-l); font-weight: 600; }
.mega-promo h5 { font-size: 19px; margin: 4px 0 12px; }
.dropdown { right: 0; min-width: 290px; padding: 12px; border-radius: var(--r); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; transition: background .2s; }
.dropdown a:hover { background: var(--bg); }
.dropdown a .ico { width: 20px; height: 20px; color: var(--cy-d); }

/* ---------- Mobile drawer menu ---------- */
.overlay { position: fixed; inset: 0; background: rgba(29,37,44,.55); backdrop-filter: blur(3px); z-index: 1500; opacity: 0; visibility: hidden; transition: .35s; }
.overlay.show { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 1600; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; box-shadow: var(--shadow-lg); contain: layout paint; }
.drawer.right { right: 0; transform: translateX(105%); }
.drawer.left { left: 0; transform: translateX(-105%); }
.drawer.open { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.m-menu > li { border-bottom: 1px solid var(--line); }
.m-menu > li > a, .m-menu > li > button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 14px 0; font-weight: 600; text-align: start; }
.m-menu .sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.m-menu .sub > ul { overflow: hidden; }
.m-menu li.open .sub { grid-template-rows: 1fr; }
.m-menu li.open .ico.chev { transform: rotate(180deg); }
.m-menu .sub a { display: block; padding: 8px 14px; font-size: 14px; color: var(--muted); }
.m-menu .ico.chev { transition: transform .3s; }

/* ---------- Hero ---------- */
.hero { padding: 26px 0 10px; }
.hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; }
.slider { position: relative; height: 540px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: 0; overflow: hidden; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 7.5s linear; }
.slide.active .slide-bg img { transform: scale(1.02); }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to left, rgba(29,37,44,.95) 0%, rgba(29,37,44,.78) 38%, rgba(29,37,44,.1) 75%); }
.slide-content { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 60px; max-width: 640px; color: #fff; }
.slide-content > * { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.slide.active .slide-content > * { opacity: 1; transform: none; }
.slide.active .slide-content > *:nth-child(1) { transition-delay: .25s; }
.slide.active .slide-content > *:nth-child(2) { transition-delay: .4s; }
.slide.active .slide-content > *:nth-child(3) { transition-delay: .55s; }
.slide.active .slide-content > *:nth-child(4) { transition-delay: .7s; }
.slide.active .slide-content > *:nth-child(5) { transition-delay: .85s; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: rgba(99,207,227,.14); color: var(--cy); font-size: 13px; font-weight: 600; border: 1px solid rgba(99,207,227,.3); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--cy); box-shadow: 0 0 0 0 var(--cy); animation: dotPulse 1.8s infinite; }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(99,207,227,.7); } 100% { box-shadow: 0 0 0 10px rgba(99,207,227,0); } }
.slide-content h1, .slide-content h2 { font-size: clamp(28px, 3.4vw, 46px); margin: 18px 0 14px; line-height: 1.35; }
.slide-content h1 span, .slide-content h2 span { background: linear-gradient(90deg, var(--or-l), var(--or)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide-content p { color: #c4d2dc; font-size: 16px; max-width: 470px; }
.slide-price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.slide-price small { color: var(--cy-l); font-size: 14px; }
.slide-price b { font-size: 28px; color: #fff; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.airflow { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; opacity: .75; }
.slider-ui { position: absolute; z-index: 4; bottom: 26px; right: 60px; left: 30px; display: flex; align-items: center; justify-content: space-between; }
.slider-dots { display: flex; gap: 10px; }
.slider-dots button { position: relative; width: 46px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); overflow: hidden; }
.slider-dots button span { position: absolute; inset: 0; background: var(--or); transform: scaleX(0); transform-origin: right; }
.slider-dots button.active span { animation: dotFill var(--dur, 7s) linear forwards; }
.slider.paused .slider-dots button.active span { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }
.slider-arrows { display: flex; gap: 10px; }
.slider-arrows button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); transition: .3s; }
.slider-arrows button:hover { background: var(--or); border-color: var(--or); }
.slide-num { position: absolute; z-index: 4; top: 26px; left: 30px; color: rgba(255,255,255,.6); font-size: 14px; letter-spacing: 2px; }
.slide-num b { color: #fff; font-size: 22px; }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.promo-card { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; transform-style: preserve-3d; }
.promo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.promo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(29,37,44,.95) 10%, rgba(29,37,44,.2)); }
.promo-card.or::before { background: linear-gradient(to top, rgba(212,69,29,.95) 5%, rgba(29,37,44,.15)); }
.promo-card:hover img { transform: scale(1.08); }
.promo-card small { font-weight: 600; color: var(--cy-l); font-size: 13px; }
.promo-card.or small { color: #ffe1cf; }
.promo-card h3 { font-size: 21px; margin: 4px 0 10px; }
.promo-card .link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.promo-card .link .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.promo-card:hover .link .ico { transform: translateX(-6px); }
.promo-card .tag { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.18), transparent 45%); opacity: 0; transition: opacity .3s; }
.tilt:hover .shine { opacity: 1; }

/* ---------- Features strip ---------- */
.features { padding: 26px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.feature { display: flex; align-items: center; gap: 16px; padding: 24px 26px; position: relative; }
.feature + .feature::before { content: ""; position: absolute; right: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.feature .f-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--bg); color: var(--or-d); flex-shrink: 0; transition: transform .5s var(--ease), background .3s, color .3s; }
.feature:hover .f-ico { transform: rotateY(180deg); background: var(--or); color: #fff; }
.feature:hover .f-ico .ico { transform: rotateY(180deg); }
.feature .f-ico .ico { width: 26px; height: 26px; }
.feature h4 { font-size: 16px; }
.feature p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- Section head ---------- */
.section { padding: 56px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.sec-head .kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--or-d); font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.sec-head .kicker::before { content: ""; width: 26px; height: 2px; background: var(--grad-or); border-radius: 2px; }
.sec-head h2 { font-size: clamp(22px, 2.4vw, 32px); }
.sec-head h2 span { color: var(--cy-d); }
.sec-head p { color: var(--muted); margin-top: 6px; max-width: 560px; }
.see-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); white-space: nowrap; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); transition: .3s var(--ease); }
.see-all:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.see-all .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.see-all:hover .ico { transform: translateX(-4px); }

/* ---------- Categories ---------- */
.cats-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.cat {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: 26px 12px 22px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), color .3s;
}
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); }
.cat:hover { transform: translateY(-8px); box-shadow: var(--shadow); color: #fff; }
.cat:hover::before { transform: none; }
.cat .c-ico { position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--cy-d); transition: background .4s, color .4s, transform .6s var(--ease); }
.cat .c-ico::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px dashed var(--cy-l); opacity: 0; transition: opacity .3s; animation: spin 12s linear infinite; }
.cat:hover .c-ico { background: var(--or); color: #fff; transform: scale(1.06); }
.cat:hover .c-ico::after { opacity: 1; border-color: rgba(255,255,255,.35); }
.cat .c-ico .ico { width: 32px; height: 32px; stroke-width: 1.5; }
.cat h4 { font-size: 14px; font-weight: 600; line-height: 1.6; }
.cat small { font-size: 12px; color: var(--gray); transition: color .3s; }
.cat:hover small { color: var(--cy-l); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Product card ---------- */
.p-card { position: relative; background: #fff; border-radius: var(--r-lg); padding: 14px; display: flex; flex-direction: column; border: 1px solid transparent; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.p-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--line); }
.p-media { position: relative; aspect-ratio: 1 / .86; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #fff 0%, #eef3f6 70%); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .5s; }
.p-media img.contain { object-fit: contain; padding: 14px; }
.p-media img.alt { position: absolute; inset: 0; opacity: 0; }
.p-card:hover .p-media img { transform: scale(1.08); }
.p-card:hover .p-media img.alt { opacity: 1; }
.p-badges { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.p-badge { padding: 2px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; color: #fff; background: var(--or); line-height: 22px; }
.p-badge.genuine { background: var(--ink); }
.p-badge.new { background: var(--cy-d); }
.p-actions { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.p-actions button { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(-14px); transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s, color .2s; }
.p-actions button .ico { width: 18px; height: 18px; }
.p-actions button:nth-child(2) { transition-delay: .05s; }
.p-actions button:nth-child(3) { transition-delay: .1s; }
.p-card:hover .p-actions button, .p-actions button.on { opacity: 1; transform: none; }
.p-actions button:hover { background: var(--ink); color: #fff; }
.p-actions button.wish.on { color: #fff; background: var(--or); }
.p-actions button.wish.on .ico { fill: currentColor; }
.p-body { padding: 14px 6px 4px; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: 12px; color: var(--cy-d); font-weight: 600; }
.p-title { font-size: 15px; font-weight: 600; line-height: 1.7; margin: 4px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 51px; }
.p-title a:hover { color: var(--or-d); }
.p-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.p-rate { display: inline-flex; align-items: center; gap: 4px; }
.p-rate .ico { width: 14px; height: 14px; color: #F5B301; }
.stock { display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #23b26d; box-shadow: 0 0 0 3px rgba(35,178,109,.15); }
.stock.low::before { background: var(--or); box-shadow: 0 0 0 3px rgba(255,103,29,.15); }
.stock.order::before { background: var(--gray); box-shadow: 0 0 0 3px rgba(122,151,170,.15); }
.p-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.p-price del { display: block; font-size: 13px; color: var(--gray); line-height: 1.3; }
.p-price strong { font-size: 18px; font-weight: 800; }
.p-price strong small { font-size: 12px; font-weight: 400; color: var(--muted); margin-inline-start: 4px; }
.p-price .ask { font-size: 14px; font-weight: 600; color: var(--muted); }
.add-cart { position: relative; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; overflow: hidden; transition: background .3s, transform .3s var(--ease), width .4s var(--ease); flex-shrink: 0; }
.add-cart:hover { background: var(--or); transform: scale(1.06); }
.add-cart .ico { width: 20px; height: 20px; transition: transform .4s var(--ease), opacity .3s; }
.add-cart .ok { position: absolute; transform: translateY(30px); opacity: 0; }
.add-cart.added { background: #23b26d; }
.add-cart.added .ico:not(.ok) { transform: translateY(-30px); opacity: 0; }
.add-cart.added .ok { transform: none; opacity: 1; }
.quote-btn { padding: 0 16px; width: auto; font-size: 14px; font-weight: 600; gap: 6px; display: inline-flex; align-items: center; background: rgba(53,177,201,.12); color: var(--ink); }
.quote-btn:hover { background: var(--cy-d); color: #fff; }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.products-grid .p-card.hide { display: none; }
.products-grid .p-card.pop { animation: popIn .6s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }

/* Tabs */
.tabs { position: relative; display: inline-flex; background: #fff; border-radius: 14px; padding: 5px; box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.tabs button { position: relative; z-index: 1; padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--muted); border-radius: 10px; transition: color .3s; white-space: nowrap; }
.tabs button.active { color: #fff; }
.tabs .tab-ind { position: absolute; z-index: 0; top: 5px; left: 0; width: 0; height: 40px; border-radius: 10px; background: var(--ink); transition: left .45s var(--ease), width .45s var(--ease), top .45s var(--ease), height .45s var(--ease); }

/* ---------- Amazing offers ---------- */
.offers { position: relative; padding: 34px 0 34px; border-radius: 32px; background: var(--ink); overflow: hidden; isolation: isolate; }
.offers::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 90% 0%, rgba(255,103,29,.35), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(53,177,201,.3), transparent 60%); }
.offers .grid-lines { position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); }
.offers-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: stretch; padding-inline: 30px; }
.offers-intro { color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.offers-intro .bolt { width: 64px; height: 64px; border-radius: 20px; background: var(--grad-or); display: grid; place-items: center; animation: float 3s ease-in-out infinite; box-shadow: 0 16px 30px -10px rgba(255,103,29,.8); }
.offers-intro .bolt .ico { width: 32px; height: 32px; fill: #fff; stroke: none; }
.offers-intro h2 { font-size: 30px; line-height: 1.35; }
.offers-intro h2 span { color: var(--or-l); }
.offers-intro p { color: #9fb3c1; font-size: 14px; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-4deg); } }
.countdown { display: flex; gap: 8px; direction: ltr; justify-content: flex-end; }
.cd-box { width: 54px; text-align: center; }
.cd-box b { display: block; height: 52px; line-height: 52px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 22px; font-weight: 800; overflow: hidden; position: relative; }
.cd-box b span { display: block; }
.cd-box b span.flip { animation: flip .5s var(--ease); }
@keyframes flip { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
.cd-box small { font-size: 11px; color: #9fb3c1; }
.cd-sep { line-height: 52px; color: var(--or); font-weight: 800; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }

.carousel { position: relative; min-width: 0; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 10px 2px 14px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { position: absolute; top: 50%; left: -12px; right: -12px; display: flex; justify-content: space-between; pointer-events: none; transform: translateY(-50%); }
.carousel-nav button { pointer-events: auto; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); color: var(--ink); transition: .3s; }
.carousel-nav button:hover { background: var(--or); color: #fff; }
.carousel-nav button:disabled { opacity: 0; pointer-events: none; }
.sold { margin-top: 12px; }
.sold-bar { height: 6px; border-radius: 6px; background: var(--bg); overflow: hidden; }
.sold-bar span { display: block; height: 100%; width: 0; background: var(--grad-or); border-radius: 6px; transition: width 1.6s var(--ease); }
.sold small { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- Banners ---------- */
.banners { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.banner { position: relative; min-height: 270px; border-radius: var(--r-lg); overflow: hidden; color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: center; isolation: isolate; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.banner:hover img { transform: scale(1.06); }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(29,37,44,.95) 25%, rgba(29,37,44,.1)); }
.banner.cy::before { background: linear-gradient(to left, rgba(20,92,108,.95) 25%, rgba(53,177,201,.1)); }
.banner small { color: var(--or-l); font-weight: 600; }
.banner.cy small { color: var(--cy-l); }
.banner h3 { font-size: 26px; margin: 6px 0 10px; max-width: 360px; }
.banner p { color: #c4d2dc; max-width: 340px; font-size: 14px; margin-bottom: 20px; }
.banner .btn { align-self: flex-start; }
.banner .big-num { position: absolute; left: 30px; bottom: 10px; font-size: 120px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35); }

/* ---------- Part finder ---------- */
.finder { position: relative; border-radius: 32px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 1fr 1.2fr; isolation: isolate; }
.finder-visual { position: relative; min-height: 420px; overflow: hidden; }
.finder-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finder-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 40%); }
.finder-visual .scan { position: absolute; z-index: 1; right: 0; left: 0; height: 120px; top: -120px; background: linear-gradient(to bottom, transparent, rgba(99,207,227,.4), transparent); animation: scan 4s ease-in-out infinite; }
@keyframes scan { 0% { top: -120px; } 100% { top: 100%; } }
.finder-visual .chip { position: absolute; z-index: 2; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; animation: float 4s ease-in-out infinite; }
.finder-visual .chip .ico { color: var(--or); width: 20px; height: 20px; }
.finder-visual .chip.c1 { top: 18%; left: 8%; }
.finder-visual .chip.c2 { bottom: 16%; left: 22%; animation-delay: -2s; }
.finder-visual .chip.c2 .ico { color: var(--cy-d); }
.finder-form { padding: 46px 46px 46px 30px; display: flex; flex-direction: column; justify-content: center; }
.finder-form h2 { font-size: clamp(22px, 2.3vw, 30px); margin: 6px 0 8px; }
.finder-form > p { color: var(--muted); margin-bottom: 26px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { position: relative; }
.step label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--muted); }
.step label i { width: 24px; height: 24px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-style: normal; font-size: 12px; color: var(--ink); transition: .3s; }
.step.done label i { background: var(--cy-d); color: #fff; }
.select { position: relative; }
.select select { width: 100%; appearance: none; -webkit-appearance: none; height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); padding: 0 16px 0 40px; outline: 0; cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s; font-size: 14px; }
.select select:focus { border-color: var(--cy-d); background: #fff; box-shadow: 0 0 0 5px rgba(99,207,227,.18); }
.select select:disabled { opacity: .55; cursor: not-allowed; }
.select .ico { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.finder-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.finder-result { margin-top: 20px; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.finder-result.show { grid-template-rows: 1fr; }
.finder-result > div { overflow: hidden; }
.fr-box { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(99,207,227,.14), rgba(255,103,29,.08)); border: 1px solid rgba(53,177,201,.25); }
.fr-box .ok { width: 46px; height: 46px; border-radius: 50%; background: #23b26d; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.fr-box b { color: var(--or-d); }
.fr-box p { font-size: 14px; flex: 1; }

/* ---------- Brands marquee ---------- */
.brands { padding: 10px 0 40px; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(to left, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(to left, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }
.brand { display: flex; align-items: center; gap: 12px; margin-inline-end: 18px; margin-block: 10px; padding: 16px 28px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); white-space: nowrap; transition: .35s var(--ease); }
.brand:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.brand b { font-family: Arial, sans-serif; font-weight: 800; font-size: 19px; letter-spacing: .5px; color: var(--ink-3); transition: color .3s; direction: ltr; }
.brand:hover b { color: var(--ink); }
.brand i { width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); background: var(--c, var(--or)); }
.brand small { font-size: 12px; color: var(--gray); }

/* ---------- Services ---------- */
.services { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.services .bg-img { position: absolute; inset: -10% 0; z-index: -2; background: url("../img/block-23.webp") center / cover no-repeat; opacity: .14; will-change: transform; }
.services::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(800px 400px at 100% 0%, rgba(53,177,201,.22), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(255,103,29,.18), transparent 60%); }
.services .sec-head p { color: #9fb3c1; }
.services .sec-head .see-all { color: #fff; border-color: rgba(255,255,255,.25); }
.services .sec-head .see-all:hover { background: #fff; color: var(--ink); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { position: relative; padding: 30px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); overflow: hidden; transition: transform .45s var(--ease), background .4s, border-color .4s; isolation: isolate; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(99,207,227,.16), transparent 50%); opacity: 0; transition: opacity .4s; }
.svc:hover { transform: translateY(-6px); border-color: rgba(99,207,227,.4); }
.svc:hover::before { opacity: 1; }
.svc .num { position: absolute; top: 18px; left: 24px; font-size: 52px; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); line-height: 1; transition: -webkit-text-stroke-color .4s; }
.svc:hover .num { -webkit-text-stroke-color: rgba(255,103,29,.6); }
.svc .s-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(99,207,227,.12); color: var(--cy); margin-bottom: 20px; transition: .45s var(--ease); }
.svc:hover .s-ico { background: var(--or); color: #fff; transform: rotate(-8deg) scale(1.05); }
.svc .s-ico .ico { width: 28px; height: 28px; }
.svc h3 { font-size: 18px; margin-bottom: 8px; }
.svc p { color: #9fb3c1; font-size: 14px; }
.svc a.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--cy); }
.svc a.more .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc:hover a.more .ico { transform: translateX(-5px); }
.svc-cta { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; border-radius: var(--r-lg); background: var(--grad-or); flex-wrap: wrap; }
.svc-cta h3 { font-size: 21px; }
.svc-cta p { color: #ffe1cf; font-size: 14px; }
.svc-cta .btn { --bg-btn: #fff; color: var(--ink); box-shadow: 0 12px 24px -12px rgba(0,0,0,.4); }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: stretch; }
.ind-list { display: flex; flex-direction: column; gap: 8px; }
.ind-list button { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 16px; background: #fff; font-weight: 600; text-align: start; transition: .35s var(--ease); overflow: hidden; }
.ind-list button::after { content: ""; position: absolute; bottom: 0; right: 0; height: 3px; width: 0; background: var(--grad-or); }
.ind-list button.active::after { animation: indProg 6s linear forwards; }
.industries.paused .ind-list button.active::after { animation-play-state: paused; }
@keyframes indProg { to { width: 100%; } }
.ind-list button .ico { width: 22px; height: 22px; color: var(--cy-d); transition: .3s; }
.ind-list button:hover { transform: translateX(-6px); }
.ind-list button.active { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.ind-list button.active .ico { color: var(--or); }
.ind-view { position: relative; border-radius: 28px; overflow: hidden; min-height: 440px; background: var(--ink); }
.ind-pane { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.ind-pane.active { opacity: 1; visibility: visible; }
.ind-pane img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 6s ease-out; clip-path: inset(0 0 0 100%); }
.ind-pane.active img { transform: scale(1); clip-path: inset(0 0 0 0); transition: transform 6s ease-out, clip-path 1s var(--ease); }
.ind-pane::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29,37,44,.95) 15%, rgba(29,37,44,0) 65%); }
.ind-info { position: absolute; z-index: 1; bottom: 0; right: 0; left: 0; padding: 34px; color: #fff; }
.ind-info > * { opacity: 0; transform: translateY(20px); transition: .7s var(--ease); }
.ind-pane.active .ind-info > * { opacity: 1; transform: none; }
.ind-pane.active .ind-info > *:nth-child(2) { transition-delay: .12s; }
.ind-pane.active .ind-info > *:nth-child(3) { transition-delay: .24s; }
.ind-info h3 { font-size: 26px; }
.ind-info p { color: #c4d2dc; max-width: 620px; margin: 8px 0 16px; font-size: 15px; }
.ind-info .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-info .tags a { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: 13px; backdrop-filter: blur(6px); transition: .25s; }
.ind-info .tags a:hover { background: var(--or); border-color: var(--or); }

/* ---------- Stats ---------- */
.stats { position: relative; border-radius: 32px; overflow: hidden; padding: 50px 40px; color: #fff; isolation: isolate; background: var(--ink); }
.stats > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .25; }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255,103,29,.25), transparent 55%), linear-gradient(120deg, rgba(29,37,44,.9), rgba(29,37,44,.7)); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; right: -10px; top: 15%; bottom: 15%; width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.2), transparent); }
.stat b { display: block; font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; line-height: 1.2; background: linear-gradient(180deg, #fff, var(--cy-l)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat b em { font-style: normal; color: var(--or); -webkit-text-fill-color: var(--or); }
.stat > span { color: #b9c9d4; font-size: 14px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { background: #fff; border-radius: var(--r-lg); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.post-media { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post-media img { transform: scale(1.08); }
.post-media .date { position: absolute; bottom: 14px; right: 14px; background: #fff; border-radius: 12px; padding: 4px 12px; font-size: 12px; font-weight: 600; box-shadow: var(--shadow-sm); }
.post-body { padding: 20px 22px 24px; }
.post-body .p-cat { display: inline-block; margin-bottom: 6px; }
.post-body h3 { font-size: 17px; line-height: 1.7; margin-bottom: 8px; transition: color .25s; }
.post:hover h3 { color: var(--or-d); }
.post-body p { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; border-radius: 32px; padding: 44px; background: var(--grad-cy); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; isolation: isolate; }
.newsletter .bubbles span { position: absolute; z-index: -1; border-radius: 50%; background: rgba(255,255,255,.18); animation: rise linear infinite; bottom: -60px; }
@keyframes rise { to { transform: translateY(-520px) scale(1.4); opacity: 0; } }
.newsletter h2 { font-size: clamp(22px, 2.2vw, 30px); color: var(--ink); }
.newsletter p { color: var(--ink-3); margin-top: 6px; }
.nl-form { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 18px; box-shadow: var(--shadow); }
.nl-form input { flex: 1; border: 0; outline: 0; padding: 0 14px; background: transparent; min-width: 0; direction: ltr; text-align: right; }
.nl-form input::placeholder { direction: rtl; }

/* ---------- Footer ---------- */
.footer { margin-top: 60px; background: var(--ink); color: #b9c9d4; padding-top: 64px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--cy-d), var(--or), var(--cy-d)); background-size: 200% 100%; animation: slideGrad 6s linear infinite; }
@keyframes slideGrad { to { background-position: 200% 0; } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.footer .logo img { height: 56px; margin-bottom: 18px; }
.footer p { font-size: 14px; line-height: 2; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; bottom: 0; right: 0; width: 30px; height: 2px; background: var(--or); border-radius: 2px; }
.footer ul li a { display: inline-block; padding: 5px 0; font-size: 14px; transition: color .25s, transform .3s var(--ease); }
.footer ul li a:hover { color: var(--cy); transform: translateX(-5px); }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; }
.f-contact .ico { width: 20px; height: 20px; color: var(--or); margin-top: 4px; }
.f-contact a { direction: ltr; display: inline-block; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); transition: .3s var(--ease); }
.socials a:hover { background: var(--or); color: #fff; transform: translateY(-4px); }
.socials .ico { width: 19px; height: 19px; }
.trust { display: flex; gap: 12px; margin-top: 18px; }
.trust div { width: 86px; height: 96px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--gray); font-size: 11px; text-align: center; padding: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--cy); }
.footer-bottom nav { display: flex; gap: 18px; }

/* ---------- Cart drawer ---------- */
.ship-progress { padding: 14px 22px; background: var(--bg); font-size: 13px; }
.ship-progress .bar { margin-top: 8px; height: 6px; border-radius: 6px; background: #dde6ec; overflow: hidden; }
.ship-progress .bar span { display: block; height: 100%; width: 0; background: var(--grad-cy); border-radius: 6px; transition: width .6s var(--ease); }
.ship-progress b { color: var(--or-d); }
.cart-items li { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: popIn .45s var(--ease) both; }
.cart-items li.removing { animation: slideOut .4s var(--ease) forwards; }
@keyframes slideOut { to { opacity: 0; transform: translateX(-40px); } }
.cart-items img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; background: var(--bg); }
.cart-items h5 { font-size: 14px; font-weight: 600; line-height: 1.6; }
.cart-items .price { font-size: 14px; font-weight: 800; margin-top: 4px; }
.qty { display: inline-flex; align-items: center; gap: 4px; background: var(--bg); border-radius: 10px; padding: 3px; margin-top: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; transition: .2s; }
.qty button:hover { background: #fff; }
.qty button .ico { width: 14px; height: 14px; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: 14px; }
.cart-items .rm { color: var(--gray); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; align-self: start; }
.cart-items .rm:hover { color: var(--or-d); background: rgba(255,103,29,.08); }
.cart-items .rm .ico { width: 18px; height: 18px; }
.cart-empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.cart-empty .ico { width: 64px; height: 64px; color: var(--line); margin: 0 auto 12px; stroke-width: 1.2; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.drawer-foot .row { display: flex; justify-content: space-between; margin-bottom: 14px; font-weight: 600; }
.drawer-foot .row b { font-size: 20px; }
.drawer-foot .btn { width: 100%; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1700; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: .35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(29,37,44,.6); backdrop-filter: blur(4px); }
.modal-box { position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); transform: translateY(30px) scale(.96); transition: transform .5s var(--ease); }
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; top: 16px; left: 16px; z-index: 2; }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media { background: radial-gradient(circle at 50% 40%, #fff, #eef3f6 70%); min-height: 420px; display: grid; place-items: center; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; }
.qv-media img.contain { object-fit: contain; padding: 40px; }
.qv-body { padding: 40px 34px; display: flex; flex-direction: column; gap: 12px; }
.qv-body h3 { font-size: 22px; }
.qv-body ul li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); padding: 3px 0; }
.qv-body ul li .ico { width: 16px; height: 16px; color: #23b26d; }
.qv-price { font-size: 26px; font-weight: 800; }
.qv-price del { font-size: 15px; color: var(--gray); font-weight: 400; margin-inline-start: 8px; }
.quote-box { width: min(520px, 100%); padding: 36px; }
.quote-box h3 { font-size: 22px; margin-bottom: 4px; }
.quote-box > p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); background: var(--bg); border-radius: 14px; padding: 12px 14px; outline: 0; transition: .25s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--cy-d); background: #fff; box-shadow: 0 0 0 5px rgba(99,207,227,.18); }
.quote-box .btn { width: 100%; }

/* ---------- Toast / back to top / fly ---------- */
.toasts { position: fixed; bottom: 24px; left: 24px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--ink); color: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); font-size: 14px; animation: toastIn .5s var(--ease) both; min-width: 260px; }
.toast .ico { color: var(--cy); }
.toast.out { animation: toastOut .4s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(-40px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(-40px); } }
.to-top { position: fixed; bottom: 24px; right: 24px; z-index: 900; width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .4s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--or); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; stroke-linecap: round; }
.to-top .ico { transform: rotate(-90deg); }
.to-top:hover { background: var(--ink); color: #fff; }
.fly { position: fixed; z-index: 3000; border-radius: 16px; object-fit: cover; pointer-events: none; box-shadow: var(--shadow-lg); }

/* ---------- Mobile bottom nav ---------- */
.m-bottom { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-right { transform: translateX(50px); }
.reveal.from-left { transform: translateX(-50px); }
.reveal.zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .carousel-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .header-call { display: none; }
  .mega { grid-template-columns: repeat(3, 1fr); }
  .mega-promo { display: none; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .stat:nth-child(4)::before { display: none; }
}
@media (max-width: 992px) {
  :root { --header-h: 70px; }
  .topbar-links .hide-md { display: none; }
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .header-main { gap: 14px; }
  .logo img { height: 42px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: 220px; }
  .slider { height: 480px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3)::before { display: none; }
  .offers-wrap { grid-template-columns: 1fr; }
  .offers-intro { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .banners { grid-template-columns: 1fr; }
  .finder { grid-template-columns: 1fr; }
  .finder-visual { min-height: 240px; }
  .finder-visual::after { background: linear-gradient(to top, #fff 0%, rgba(255,255,255,0) 50%); }
  .finder-form { padding: 10px 26px 34px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: 1fr; }
  .ind-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .ind-list button { flex-shrink: 0; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid .post:nth-child(3) { display: none; }
  .newsletter { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .m-bottom { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; right: 0; left: 0; z-index: 950; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .m-bottom a, .m-bottom button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--muted); padding: 6px 0; }
  .m-bottom .active { color: var(--or-d); }
  .m-bottom .badge { top: 0; left: calc(50% - 22px); }
  body { padding-bottom: 70px; }
  .to-top { bottom: 90px; }
  .toasts { bottom: 90px; }
}
@media (max-width: 768px) {
  .topbar-links { display: none; }
  .header-main { flex-wrap: wrap; height: auto; padding: 10px 0; }
  .header.scrolled .header-main { height: auto; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search select { display: none; }
  .header-actions .hide-sm { display: none; }
  .slider { height: 520px; }
  .slide::before { background: linear-gradient(to top, rgba(29,37,44,.97) 35%, rgba(29,37,44,.3)); }
  .slide-content { padding: 0 24px 80px; justify-content: flex-end; }
  .slider-ui { right: 24px; left: 24px; }
  .slider-arrows { display: none; }
  .hero-side { grid-template-columns: 1fr; grid-template-rows: 190px 190px; }
  .cats-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .cat { padding: 16px 6px; }
  .cat .c-ico { width: 54px; height: 54px; }
  .cat .c-ico .ico { width: 26px; height: 26px; }
  .cat h4 { font-size: 12px; }
  .cat small { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .carousel-track { grid-auto-columns: 72%; }
  .carousel-nav { display: none; }
  .p-card { padding: 10px; }
  .p-title { font-size: 13px; min-height: 44px; }
  .p-price strong { font-size: 15px; }
  .add-cart { width: 40px; height: 40px; }
  .p-actions button { opacity: 1; transform: none; width: 34px; height: 34px; }
  .p-actions button.compare { display: none; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .offers { border-radius: 24px; }
  .offers-wrap { padding-inline: 16px; }
  .steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats { padding: 36px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat::before { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid .post:nth-child(3) { display: block; }
  .newsletter { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .qv { grid-template-columns: 1fr; }
  .qv-media { min-height: 260px; }
  .banner .big-num { font-size: 80px; }
  .ind-view { min-height: 380px; }
  /* --- mobile performance / stability --- */
  .reveal.from-right, .reveal.from-left { transform: translateY(30px); }
  .reveal.zoom { transform: translateY(30px); }
  .reveal.in { transform: none; }
  .airflow { display: none; }
  .header, .slider-arrows button, .promo-card .tag, .ind-info .tags a, .p-actions button, .m-bottom { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header { background: #fff; }
  .m-bottom { background: #fff; }
  .section { padding: 36px 0; }
  .section[id], .brands, .services, .offers, .finder, .stats, .blog-grid { content-visibility: auto; contain-intrinsic-size: auto 700px; }
  .slide-bg img { transition: none; transform: none !important; }
  .banner img, .promo-card img, .mega-promo img { transition: none; }
  .services .bg-img { inset: 0; transform: none !important; }
  .offers .grid-lines { display: none; }
  .sec-head h2 { font-size: 22px; }
  .finder-form h2 { font-size: 21px; }
  .banner { padding: 26px 22px; min-height: 240px; }
  .banner h3 { font-size: 21px; }
  .banner .big-num { display: none; }
  .svc { padding: 24px 22px; }
  .svc .num { font-size: 40px; }
  .ind-info { padding: 22px; }
  .ind-info h3 { font-size: 21px; }
  .toasts { right: 12px; left: 12px; }
  .toast { min-width: 0; }
  .drawer { width: min(400px, 88vw); }
  .input-16, input, select, textarea { font-size: 16px !important; }
  .feature { flex-direction: column; text-align: center; gap: 10px; padding: 20px 12px; }
  .feature p { font-size: 12px; }
  .feature h4 { font-size: 14px; }
  .p-foot:has(.quote-btn) { flex-direction: column; align-items: stretch; }
  .p-foot .quote-btn { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .airflow { display: none; }
}
