/* ═══════════════════════════════════════════════════════════
    Adiz Tech — Shared Stylesheet
   Professional animations & components used across all pages
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #f9f9ff; color: #141b2b; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Selection ── */
::selection { background: #2563eb; color: #fff; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #f1f3ff; }
::-webkit-scrollbar-thumb { background: #c3c6d7; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #004ac6; }

/* ── Material Symbols ── */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block; line-height: 1; vertical-align: middle;
}


/* ═══════════════════════════════════════
   PAGE LOADER
   ═══════════════════════════════════════ */
#page-loader {
    position: fixed; inset: 0; z-index: 9999;
    background: #f9f9ff;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
    transition: opacity .5s cubic-bezier(.4,0,.2,1), visibility .5s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-brand { font-size: 20px; font-weight: 800; color: #004ac6; letter-spacing: -.02em; }

.loader-track { width: 100px; height: 2px; background: #e1e8fd; border-radius: 99px; overflow: hidden; }
.loader-fill { height: 100%; width: 0; background: linear-gradient(90deg, #004ac6, #2563eb); border-radius: 99px; animation: loaderProgress 1s ease forwards; }
@keyframes loaderProgress { to { width: 100%; } }

.loader-ring { width: 40px; height: 40px; border: 2.5px solid #e1e8fd; border-top-color: #004ac6; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }


/* ═══════════════════════════════════════
   SCROLL REVEAL — Professional fade-ins
   ═══════════════════════════════════════ */
.sr {
    opacity: 0; transform: translateY(24px);
    transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.sr.vis { opacity: 1; transform: none; }

.sr-l {
    opacity: 0; transform: translateX(-28px);
    transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.sr-l.vis { opacity: 1; transform: none; }

.sr-r {
    opacity: 0; transform: translateX(28px);
    transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.sr-r.vis { opacity: 1; transform: none; }

.sr-s {
    opacity: 0; transform: scale(.96);
    transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.sr-s.vis { opacity: 1; transform: none; }

/* Stagger delays */
.sr-d1 { transition-delay: .06s; }
.sr-d2 { transition-delay: .12s; }
.sr-d3 { transition-delay: .18s; }
.sr-d4 { transition-delay: .24s; }


/* ═══════════════════════════════════════
   HERO ANIMATIONS
   ═══════════════════════════════════════ */
.hf {
    opacity: 0; transform: translateY(28px);
    transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.hf.vis { opacity: 1; transform: none; }
.hf.d1 { transition-delay: .1s; }
.hf.d2 { transition-delay: .18s; }
.hf.d3 { transition-delay: .26s; }
.hf.d4 { transition-delay: .34s; }
.hf.d5 { transition-delay: .42s; }
.hf.d6 { transition-delay: .5s; }

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-14px) rotate(.4deg); }
}
.hf-float { animation: heroFloat 7s ease-in-out infinite; }

/* Hero background */
.hero-grid {
    background-image: linear-gradient(rgba(0,74,198,.025) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0,74,198,.025) 1px, transparent 1px);
    background-size: 52px 52px;
}

@keyframes orbA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(25px,-18px) scale(1.04); } }
@keyframes orbB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-18px,25px) scale(.96); } }
.orb-a { animation: orbA 14s ease-in-out infinite; }
.orb-b { animation: orbB 10s ease-in-out infinite; }

/* Hero canvas */
#hero-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

/* Glass */
.glass {
    background: rgba(255,255,255,.68);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.45);
}

/* Typewriter */
.tw-cur {
    display: inline-block; width: 2px; height: 1em; background: #004ac6; margin-left: 2px;
    animation: blink .75s step-end infinite; vertical-align: text-bottom;
}
@keyframes blink { 50% { opacity: 0; } }


/* ═══════════════════════════════════════
   TICKER / MARQUEE
   ═══════════════════════════════════════ */
.ticker-track { display: flex; animation: tickerScroll 35s linear infinite; width: max-content; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.mq { display: flex; animation: marquee 30s linear infinite; width: max-content; }
.mq:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* ═══════════════════════════════════════
   MAGNETIC BUTTON
   ═══════════════════════════════════════ */
.mag {
    transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}
.mag:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,74,198,.18); }

/* ═══════════════════════════════════════
   PROFESSIONAL BUTTONS
   ═══════════════════════════════════════ */
.btn-primary {
    position: relative; overflow: hidden;
    transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 50%);
    opacity: 0; transition: opacity .35s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,74,198,.3); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(-1px) scale(.98); box-shadow: 0 6px 20px rgba(0,74,198,.2); }

.btn-outline {
    position: relative; overflow: hidden;
    transition: all .35s cubic-bezier(.16,1,.3,1);
    color: #141b2b; border-color: #d1d5db; background: rgba(255,255,255,.65);
}
.btn-outline::before {
    content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #004ac6, #2563eb);
    opacity: 0; transition: opacity .35s ease; z-index: -1;
}
.btn-outline:hover { border-color: #004ac6; color: #fff; transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,74,198,.2); }
.btn-outline:hover::before { opacity: 1; }
.btn-outline:active { transform: translateY(-1px) scale(.98); }

/* Step card hover glow */
.step:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,74,198,.08); }
.step { transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease; }


/* ═══════════════════════════════════════
   PRODUCT CARD
   ═══════════════════════════════════════ */
.pcard {
    transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.pcard:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0,0,0,.06); }
.pcard-img { transition: transform .55s cubic-bezier(.16,1,.3,1); }
.pcard:hover .pcard-img { transform: scale(1.05); }


/* ═══════════════════════════════════════
   BENTO / CATEGORY CARDS
   ═══════════════════════════════════════ */
.bento {
    transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}
.bento:hover { transform: scale(1.015); box-shadow: 0 16px 40px rgba(0,74,198,.1); }


/* ═══════════════════════════════════════
   STEP CARDS (How It Works)
   ═══════════════════════════════════════ */
.step {
    transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,74,198,.08); }


/* ═══════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════ */
.cmp { transition: background .2s ease; }
.cmp:hover { background: rgba(0,74,198,.015); }


/* ═══════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════ */
.tcard { transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease; }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.05); }


/* ═══════════════════════════════════════
   FILTER CHIPS (Shop)
   ═══════════════════════════════════════ */
.filter-active-chip { animation: chipIn .3s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes chipIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }

.filter-card { transition: all .3s ease; }
.filter-card:hover { box-shadow: 0 8px 24px rgba(0,74,198,.06); }

.product-stagger { opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1); }
.product-stagger.vis { opacity: 1; transform: none; }


/* ═══════════════════════════════════════
   MOBILE FILTER DRAWER (Shop)
   ═══════════════════════════════════════ */
.mobile-filter-overlay { opacity: 0; visibility: hidden; transition: all .3s ease; }
.mobile-filter-overlay.open { opacity: 1; visibility: visible; }
.mobile-filter-drawer { transform: translateX(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.mobile-filter-drawer.open { transform: translateX(0); }


/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */

#main-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  transition: box-shadow .4s ease;
}
.nav-glass {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(229,231,235,.45);
}
#main-nav.scrolled .nav-glass {
  background: rgba(255,255,255,.92);
  border-bottom-color: rgba(229,231,235,.6);
  box-shadow: 0 1px 20px rgba(0,0,0,.06);
}

.nav-inner {
  position: relative; z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ── Logo ── */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0; margin-right: 28px;
}
#main-nav .nav-logo:hover .nav-logo-icon {
  transform: rotate(-8deg) scale(1.08);
}
.nav-logo-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #004ac6, #2563eb);
  box-shadow: 0 2px 12px rgba(0,74,198,.25);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.nav-logo-icon .material-symbols-outlined { font-size: 20px; color: #fff; }
.nav-logo-icon-sm { width: 34px; height: 34px; }
.nav-logo-icon-sm .material-symbols-outlined { font-size: 18px; }
.nav-brand-text {
  font-size: 19px; font-weight: 800;
  letter-spacing: -0.02em; color: #004ac6;
  white-space: nowrap;
}

/* ── Nav links ── */
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-item {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500;
  color: #565e74;
  text-decoration: none;
  transition: color .25s ease;
  white-space: nowrap;
  overflow: hidden;
}
.nav-item-text { position: relative; z-index: 1; }
.nav-item-bg {
  position: absolute; inset: 0;
  border-radius: 10px;
  background: rgba(0,74,198,.05);
  opacity: 0;
  transform: scale(.92);
  transition: opacity .25s ease, transform .25s ease;
}
.nav-item:hover .nav-item-bg { opacity: 1; transform: scale(1); }
.nav-item:hover { color: #004ac6; }
.nav-item-bar {
  position: absolute; bottom: 4px; left: 50%; width: 0; height: 2px;
  background: linear-gradient(90deg, #004ac6, #2563eb);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .3s cubic-bezier(.34,1.56,.64,1);
}
.nav-item:hover .nav-item-bar { width: 20px; }
.nav-item.is-active { color: #004ac6; font-weight: 600; }
.nav-item.is-active .nav-item-bar { width: 20px; }

/* ── Right side ── */
.nav-right {
  display: flex; align-items: center; gap: 8px;
}

/* ── Search ── */
.nav-search {
  display: flex; align-items: center;
  background: rgba(241,243,255,.8);
  border: 1px solid rgba(229,231,235,.5);
  border-radius: 12px;
  padding: 0 14px; height: 40px;
  transition: all .3s cubic-bezier(.16,1,.3,1);
}
.nav-search:focus-within {
  border-color: #004ac6;
  box-shadow: 0 0 0 3px rgba(0,74,198,.1);
  background: #fff;
}
.nav-search-icon { font-size: 20px; color: #9ca3af; flex-shrink: 0; transition: color .2s; }
.nav-search:focus-within .nav-search-icon { color: #004ac6; }
.nav-search-input {
  border: none; outline: none; background: transparent;
  font-size: 13px; font-weight: 500; color: #141b2b;
  width: 160px; margin-left: 8px;
  transition: width .3s ease;
}
.nav-search:focus-within .nav-search-input { width: 200px; }
.nav-search-input::placeholder { color: #9ca3af; }

/* ── Icon buttons ── */
.nav-icon-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  color: #565e74; text-decoration: none;
  transition: all .25s ease;
}
.nav-icon-btn:hover { color: #004ac6; background: rgba(0,74,198,.05); }
.nav-icon-btn .material-symbols-outlined { font-size: 22px; position: relative; z-index: 1; }

/* Cart badge */
.cart-count {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  display: none; align-items: center; justify-content: center;
  border-radius: 99px; font-size: 9px; font-weight: 700;
  color: #fff; padding: 0 4px;
  background: linear-gradient(135deg, #004ac6, #2563eb);
  box-shadow: 0 2px 8px rgba(0,74,198,.35);
  z-index: 2;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.cart-count[data-visible="true"] {
  display: flex;
  animation: cartBounce .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes cartBounce {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ── Hamburger ── */
.hamburger-trigger {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: none; border: none; padding: 8px; cursor: pointer;
  border-radius: 10px;
  transition: background .2s ease;
}
.hamburger-trigger:hover { background: rgba(0,74,198,.05); }
.hamburger-line {
  display: block; width: 20px; height: 2px;
  margin: 3px auto;
  border-radius: 2px; background: #141b2b;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.hamburger-trigger.active .hamburger-line:nth-child(1) {
  width: 20px; transform: translateY(5px) rotate(45deg);
}
.hamburger-trigger.active .hamburger-line:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.hamburger-trigger.active .hamburger-line:nth-child(3) {
  width: 20px; transform: translateY(-5px) rotate(-45deg);
}

/* ── Mobile Nav Overlay ── */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: all .3s ease;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }

/* ── Mobile Nav Panel ── */
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 300px; max-width: 85vw; z-index: 100;
  background: #fff;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,.12);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(229,231,235,.5);
}
.mobile-nav-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; border: none; cursor: pointer;
  color: #565e74; background: rgba(0,0,0,.04);
  transition: all .25s ease;
}
.mobile-nav-close:hover { background: rgba(0,0,0,.08); color: #141b2b; }
.mobile-nav-close .material-symbols-outlined { font-size: 22px; }

.mobile-nav-body {
  flex: 1; padding: 8px 12px; display: flex; flex-direction: column; gap: 2px;
  overflow-y: auto;
}
.mobile-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 12px;
  font-size: 15px; font-weight: 600; color: #141b2b;
  text-decoration: none;
  opacity: 0; transform: translateX(20px);
  transition: background .2s ease;
  animation: mobileNavItemIn .35s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--i, 0) * 0.06s + 0.1s);
}
.mobile-nav.open .mobile-nav-item {
  opacity: 1; transform: none;
}
@keyframes mobileNavItemIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: none; }
}
.mobile-nav-item:hover { background: rgba(0,74,198,.05); }
.mobile-nav-item-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: rgba(0,74,198,.06);
  flex-shrink: 0; font-size: 20px; color: #004ac6;
  transition: all .25s ease;
}
.mobile-nav-item:hover .mobile-nav-item-icon {
  background: rgba(0,74,198,.1); transform: scale(1.05);
}
.mobile-nav-item-text { flex: 1; }
.mobile-nav-arrow { font-size: 18px; color: #c3c6d7; transition: transform .2s ease, color .2s; }
.mobile-nav-item:hover .mobile-nav-arrow { transform: translateX(3px); color: #004ac6; }

.mobile-nav-footer {
  padding: 12px 16px 20px;
  border-top: 1px solid rgba(229,231,235,.5);
}
.mobile-nav-cod-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 12px;
  background: linear-gradient(135deg, #f1f3ff, #e9edff);
  font-size: 13px; font-weight: 600; color: #565e74;
}
.mobile-nav-cod-badge .material-symbols-outlined {
  font-size: 20px; color: #16a34a;
}

/* ── Responsive: Navbar ── */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-search { display: none; }
  .hamburger-trigger { display: flex; }
}
@media (min-width: 1024px) {
  .hamburger-trigger { display: none; }
}


/* ═══════════════════════════════════════
   PRODUCT PAGE — Zoom, Tabs, Badges
   ═══════════════════════════════════════ */
.zoom-container { overflow: hidden; cursor: crosshair; border-radius: 16px; }
.zoom-container img { transition: transform .5s cubic-bezier(.16,1,.3,1); transform-origin: center center; }
.zoom-container:hover img { transform: scale(1.6); }

.thumb-btn { border: 2px solid transparent; opacity: .55; transition: all .3s ease; }
.thumb-btn:hover { opacity: .8; }
.thumb-active { border-color: #004ac6 !important; opacity: 1 !important; }

.tab-btn { position: relative; transition: all .3s ease; }
.tab-btn::after { content: ''; position: absolute; bottom: -1px; left: 50%; width: 0; height: 2px; background: #004ac6; transition: all .3s ease; transform: translateX(-50%); }
.tab-active::after { width: 100%; }

.tab-content { display: none; animation: fadeSlideUp .35s ease forwards; }
.tab-content.active { display: block; }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.trust-badge { transition: all .3s cubic-bezier(.16,1,.3,1); }
.trust-badge:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,74,198,.1); }

.review-card { transition: all .4s ease; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.05); }

.spec-row { transition: background .2s ease; }
.spec-row:hover { background: #f9f9ff; }

@keyframes pricePopIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
.price-pop { animation: pricePopIn .5s cubic-bezier(.34,1.56,.64,1) forwards; }

@keyframes badgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,74,198,.3); } 50% { box-shadow: 0 0 0 8px rgba(0,74,198,0); } }
.badge-pulse { animation: badgePulse 2s ease-in-out infinite; }


/* ═══════════════════════════════════════
   CHECKOUT
   ═══════════════════════════════════════ */
.card-input { transition: all .3s ease; border: 1.5px solid rgba(195,198,215,.4); }
.card-input:focus { border-color: #004ac6; box-shadow: 0 0 0 4px rgba(0,74,198,.08); outline: none; }
.card-input.error { border-color: #ba1a1a; box-shadow: 0 0 0 3px rgba(186,26,26,.08); }
.card-input.error:focus { border-color: #ba1a1a; box-shadow: 0 0 0 4px rgba(186,26,26,.12); }

.payment-option { transition: all .3s cubic-bezier(.16,1,.3,1); border: 2px solid rgba(195,198,215,.3); }
.payment-option.selected { border-color: #004ac6; background: linear-gradient(135deg, #f1f3ff, #e9edff); box-shadow: 0 4px 16px rgba(0,74,198,.1); }
.payment-option:not(.selected):hover { border-color: #c3c6d7; background: #fff; }

.order-btn { transition: all .3s cubic-bezier(.16,1,.3,1); }
.order-btn:hover:not(:disabled) { transform: translateY(-2px) scale(1.01); box-shadow: 0 12px 32px rgba(0,74,198,.35); }
.order-btn:disabled { opacity: .6; cursor: not-allowed; }

.success-overlay { animation: fadeIn .4s ease; }
.bouncing-check { animation: bounceCheck .7s cubic-bezier(0.68, -0.55, 0.265, 1.55); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bounceCheck { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }

.confetti { position: absolute; width: 10px; height: 10px; border-radius: 2px; animation: confettiFall 3s ease-in-out forwards; }
@keyframes confettiFall {
    0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.step-line { height: 2px; background: linear-gradient(90deg, #004ac6, #2563eb); animation: lineGrow .6s ease forwards; transform-origin: left; }
@keyframes lineGrow { from { width: 0; } to { width: 100%; } }

.section-slide { animation: sectionIn .5s cubic-bezier(.16,1,.3,1) forwards; opacity: 0; }
@keyframes sectionIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }


/* ═══════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════ */
.btt { transition: opacity .3s, transform .3s; }
.btt.off { opacity: 0; transform: translateY(16px); pointer-events: none; }
.btt:not(.off) { opacity: 1; transform: none; }
.btt-ring { transition: stroke-dashoffset .1s linear; transform: rotate(-90deg); transform-origin: center; }


/* ═══════════════════════════════════════
   COUNTER
   ═══════════════════════════════════════ */
.counter { display: inline-block; }


/* ═══════════════════════════════════════
   RESPONSIVE UTILITIES
   ═══════════════════════════════════════ */
@media (max-width: 1023px) {
    .mobile-sticky-bar { display: flex !important; }
    .product-main-content { padding-bottom: 90px !important; }
}
.mobile-sticky-bar { display: none; }

/* ═══════════════════════════════════════
   SMOOTH TRANSITIONS FOR ALL INTERACTIVE ELEMENTS
   ═══════════════════════════════════════ */
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }

/* Prevent layout shift on page load */
img[loading="lazy"] { transition: opacity .4s ease; }
img { opacity: 1; transition: opacity .45s ease; }
img.loaded, img:not([loading="lazy"]) { opacity: 1; }

/* Smooth page transitions */
body { animation: pageIn .5s cubic-bezier(.16,1,.3,1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Focus styles for accessibility */
:focus-visible { outline: 2px solid #004ac6; outline-offset: 2px; border-radius: 4px; }

/* Hide scrollbar on mobile filter drawer */
.mobile-filter-drawer::-webkit-scrollbar { width: 0; }

/* Ensure touch targets are large enough on mobile */
@media (max-width: 767px) {
    .mag, .btn-primary, .btn-outline { min-height: 44px; }
    .filter-chip { min-height: 38px; }
}


/* ═══════════════════════════════════════
   SMOOTH FILTER CHECKBOX INTERACTIONS
   ═══════════════════════════════════════ */
input[type="checkbox"] {
    appearance: none; -webkit-appearance: none;
    width: 18px; height: 18px; border-radius: 5px;
    border: 2px solid #c3c6d7; cursor: pointer;
    transition: all .25s cubic-bezier(.16,1,.3,1);
    position: relative; flex-shrink: 0;
}
input[type="checkbox"]:hover { border-color: #004ac6; transform: scale(1.08); }
input[type="checkbox"]:checked {
    background: linear-gradient(135deg,#004ac6,#2563eb);
    border-color: #004ac6; transform: scale(1);
    animation: checkPop .3s cubic-bezier(.34,1.56,.64,1);
}
input[type="checkbox"]:checked::after {
    content: ''; position: absolute; inset: 2px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6L5 9L10 3' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
@keyframes checkPop { 0% { transform: scale(.85); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }


/* ═══════════════════════════════════════
   SMOOTH PRODUCT GRID TRANSITIONS
   ═══════════════════════════════════════ */
#product-grid, #product-list {
    transition: opacity .3s ease;
}
#product-grid.filtering, #product-list.filtering {
    opacity: 0; transform: scale(.98);
    transition: opacity .2s ease, transform .2s ease;
}

/* Smooth product count number change */
#product-count {
    display: inline-block;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), color .2s ease;
}
#product-count.bump {
    transform: scale(1.2);
    color: #004ac6 !important;
}

/* Filter sidebar smooth entrance */
.filter-card {
    transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, opacity .3s ease, background .3s ease;
}
.filter-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,74,198,.06); }

/* Sort select smooth */
select {
    transition: border-color .25s ease, box-shadow .25s ease;
}
select:focus { border-color: #004ac6; box-shadow: 0 0 0 3px rgba(0,74,198,.1); }

/* View toggle smooth */
#grid-toggle, #list-toggle {
    transition: all .25s cubic-bezier(.16,1,.3,1);
}

/* Active chip smooth */
.filter-active-chip {
    transition: transform .2s ease, opacity .2s ease;
}
.filter-active-chip:hover { transform: scale(1.05); }

/* Clear All smooth */
#clear-filters-btn {
    transition: all .3s cubic-bezier(.16,1,.3,1);
}

/* Pagination smooth */
#pagination button {
    transition: all .25s cubic-bezier(.16,1,.3,1);
}
#pagination button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,74,198,.12);
}


/* ═══════════════════════════════════════
   GLOBAL SMOOTH HOVER EFFECTS
   ═══════════════════════════════════════ */

/* Smooth card lift on hover */
.pcard {
    transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
    will-change: transform;
}
.pcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,.07);
}
.pcard .pcard-img {
    transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.pcard:hover .pcard-img {
    transform: scale(1.06);
}

/* Smooth image lazy load fade */
.lazy-fade {
    opacity: 0; transition: opacity .5s ease;
}
.lazy-fade.loaded { opacity: 1; }

/* Smooth border glow on interactive cards */
.bento, .step {
    transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
    will-change: transform;
}

/* Newsletter input smooth */
input[type="email"] {
    transition: all .3s ease;
}

/* Footer link smooth hover */
footer a {
    transition: color .25s ease, transform .25s ease;
}
footer a:hover {
    transform: translateX(3px);
}

/* WhatsApp float smooth */
a[href*="wa.me"] {
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
a[href*="wa.me"]:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(37,211,102,.3);
}

/* Back to top smooth */
.btt {
    transition: opacity .35s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
}

/* Comparison table rows smooth */
.cmp {
    transition: background .25s ease, transform .25s ease;
}
.cmp:hover {
    background: rgba(0,74,198,.02);
    transform: scale(1.005);
}

/* Ticker smooth pause */
.ticker-track, .mq {
    will-change: transform;
}

/* Smooth price range slider */
input[type="range"] {
    transition: opacity .2s ease;
}
input[type="range"]:hover { opacity: .9; }

/* Mobile filter toggle smooth */
#mobile-filter-toggle {
    transition: all .3s cubic-bezier(.16,1,.3,1);
}
#mobile-filter-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
