/* TINTX advanced UI/UX layer. Loaded after styles.css. */
:root{--ux-radius:18px;--ux-glass:rgba(5,20,27,.92)}
*{scroll-margin-top:96px}
:focus-visible{outline:3px solid #ffd166;outline-offset:4px}
button,a,select,input{ -webkit-tap-highlight-color:transparent }
.button,.add-button,.icon-btn,.menu-btn,.cart-link,.whatsapp,.ai-launcher{transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease}
.button:hover,.add-button:hover{transform:translateY(-2px)}
.site-header{box-shadow:0 8px 26px rgba(0,0,0,.16)}
.cart-link{display:inline-flex;align-items:center;gap:7px;font-weight:800}
.product-card{border-radius:var(--ux-radius);box-shadow:0 16px 50px rgba(0,0,0,.16);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.product-card:hover{transform:translateY(-5px);box-shadow:0 22px 60px rgba(0,0,0,.28)}
.product-image img{aspect-ratio:4/3;height:auto;min-height:220px}
.product-info h3{font-size:clamp(1rem,1.8vw,1.35rem);line-height:1.15}
.product-info:after{content:'COD available · Fit confirmed before dispatch';display:block;margin-top:12px;color:#8da8b1;font-size:.72rem;line-height:1.4}
.price strong{font-size:1.45rem}
.price strong:after{content:'  Save 58%';display:inline-block;margin-left:7px;padding:3px 6px;border-radius:5px;background:rgba(57,233,140,.12);color:var(--lime);font-size:.66rem;vertical-align:middle}
.rating small:before{content:' · 4.9/5';color:#9eb9c1}
.trust-strip{border-radius:16px;overflow:hidden;box-shadow:0 12px 34px rgba(0,0,0,.12)}
.trust-strip div{min-height:92px;display:flex;flex-direction:column;justify-content:center}
.fitment-banner{border-radius:var(--ux-radius);box-shadow:0 18px 50px rgba(0,0,0,.16)}
.fit-card,.form-card,.filters,.order-summary{border-radius:var(--ux-radius);box-shadow:0 14px 42px rgba(0,0,0,.12)}
.fit-fields select:focus,.form-field:focus,.shop-toolbar input:focus,.shop-toolbar select:focus{border-color:var(--cyan);box-shadow:0 0 0 3px rgba(39,212,255,.12)}
.fit-result{border-radius:10px;min-height:54px;display:flex;align-items:center;line-height:1.4}
.fit-result.good{box-shadow:0 0 0 1px rgba(57,233,140,.12)}
.fit-result:not(.good):not(:empty){box-shadow:0 0 0 1px rgba(255,210,122,.1)}
.detail-copy .badge{position:static;display:inline-block;border-radius:999px;margin-bottom:3px}
.detail-copy #detail-add{width:100%;min-height:52px}
.qty-row button{border-radius:8px;min-height:42px}
.qty-row b{border-radius:8px}
.thumb-row>div,.thumb-row img{border-radius:10px}
.site-footer{gap:36px}
.whatsapp{right:22px;bottom:22px}
.ai-launcher{border-radius:999px;box-shadow:0 10px 28px rgba(0,0,0,.22)}
.ai-panel{border-radius:18px;overflow:hidden}
.mobile-order-bar{display:none}

/* Better hero purchase clarity */
.hero:after{content:'COD available • Nationwide delivery • Fitment checked before dispatch';grid-column:1/-1;display:none;color:#8da8b1;font-size:.78rem;text-align:center}

@media (max-width:760px){
  .announcement{height:auto;min-height:30px;padding:6px 10px;font-size:9px}
  .site-header{height:64px}
  .mobile-nav{top:94px;border-radius:0 0 14px 14px;box-shadow:0 18px 36px rgba(0,0,0,.25)}
  .hero h1{font-size:clamp(2.8rem,14vw,4rem)}
  .hero-media{border-radius:16px;overflow:hidden}
  .trust-strip{margin:0 12px}
  .trust-strip div{min-height:82px;font-size:.8rem}
  .trust-strip span{font-size:.68rem}
  .product-card{border-radius:14px}
  .product-image img{min-height:150px}
  .product-info:after{font-size:.64rem}
  .price strong:after{display:block;width:max-content;margin:4px 0 0}
  .fit-card{margin-top:24px}
  .whatsapp{right:15px;bottom:78px;z-index:40}
  .ai-launcher{right:15px;bottom:132px;z-index:39}
  .ai-panel{right:15px;bottom:184px}
  .mobile-order-bar{position:fixed;right:12px;bottom:12px;left:12px;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px 10px 15px;border:1px solid rgba(125,220,255,.25);border-radius:16px;background:var(--ux-glass);box-shadow:0 12px 35px rgba(0,0,0,.4);backdrop-filter:blur(14px)}
  .mobile-order-bar small{display:block;color:#7c9aa4;font-size:.62rem;letter-spacing:.08em}
  .mobile-order-bar strong{display:block;color:#fff;font-size:1rem}
  .mobile-order-bar .button{min-height:42px;padding:0 14px;font-size:.82rem}
  body{padding-bottom:78px}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* Floating buttons ko alag rakhne ke liye */
.whatsapp.whatsapp-logo {
  right: 22px !important;
  bottom: 20px !important;
  z-index: 60 !important;
}

.chatzy_widget {
  right: 22px !important;
  bottom: 100px !important;
  z-index: 50 !important;
}


/* Mobile action stack: visible but never competing with the content */
@media (max-width:760px) {
  .mobile-order-bar {
    right: 10px;
    left: 10px;
    bottom: 10px;
    min-height: 58px;
    padding: 8px 8px 8px 13px;
    border-radius: 14px;
    gap: 10px;
  }

  .mobile-order-bar small { font-size: .56rem; }
  .mobile-order-bar strong { font-size: .9rem; line-height: 1.1; }
  .mobile-order-bar .button {
    min-height: 40px;
    padding: 0 13px;
    font-size: .74rem;
  }

  .whatsapp.whatsapp-logo {
    right: 14px !important;
    bottom: 78px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }

  .whatsapp.whatsapp-logo svg {
    width: 24px !important;
    height: 24px !important;
  }

  .ai-launcher {
    right: 14px;
    bottom: 130px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    font-size: 0;
    border-radius: 50%;
  }

  .ai-launcher::before {
    content: '✦';
    font-size: 18px;
    line-height: 1;
  }

  .ai-panel {
    right: 10px;
    bottom: 184px;
    width: calc(100% - 20px);
    height: min(420px, calc(100dvh - 210px));
  }

  body { padding-bottom: 72px; }
}


/* Keep the external AI widget clear of the fixed mobile order bar */
@media (max-width:760px) {
  .chatzy_widget {
    right: 14px !important;
    bottom: 142px !important;
    z-index: 50 !important;
  }
}


@media (max-width:760px) {
  #chatzy-shadow-host {
    position: fixed !important;
    right: 14px !important;
    bottom: 142px !important;
    z-index: 50 !important;
  }
}


@media (max-width:760px) {
  #chatzy-shadow-host {
    left: 14px !important;
    right: auto !important;
    bottom: 142px !important;
    transform: none !important;
  }
}


/* Reserve the external-widget lane instead of letting it cover the order CTA */
@media (max-width:760px) {
  .mobile-order-bar {
    right: 108px;
    min-width: 0;
  }

  .mobile-order-bar > div {
    flex: 0 0 auto;
  }

  .mobile-order-bar .button {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
  }
}

@media (max-width:360px) {
  .mobile-order-bar {
    right: 104px;
    padding-left: 10px;
    gap: 7px;
  }

  .mobile-order-bar small { font-size: .5rem; }
  .mobile-order-bar strong { font-size: .82rem; }
  .mobile-order-bar .button {
    padding-inline: 9px;
    font-size: .68rem;
  }
}


/* User-requested mobile cleanup: remove the fixed price/order strip */
@media (max-width:760px) {
  .mobile-order-bar {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }
}

/* Smaller external agent launcher */
.chatzy_widget,
#chatzy-shadow-host {
  transform: scale(.72) !important;
  transform-origin: bottom right !important;
}

@media (max-width:760px) {
  .chatzy_widget,
  #chatzy-shadow-host {
    left: auto !important;
    right: 10px !important;
    bottom: 142px !important;
    transform: scale(.62) !important;
    transform-origin: bottom right !important;
  }
}


/* TINTX motion demo: subtle, fast and conversion-friendly */
@keyframes tintxHeroCopyIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tintxHeroArtIn {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes tintxGlowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(39,212,255,0); }
  50% { box-shadow: 0 0 0 7px rgba(39,212,255,.08); }
}
.exact-hero-desktop-art { animation: tintxHeroArtIn .9s cubic-bezier(.22,1,.36,1) both; }
.exact-hero-mobile-copy { animation: tintxHeroCopyIn .65s .08s cubic-bezier(.22,1,.36,1) both; }
.exact-hero-mobile-art { animation: tintxHeroArtIn .9s .16s cubic-bezier(.22,1,.36,1) both; }
.exact-hero-link:hover { background: rgba(39,212,255,.08); }
.brand-item { transition: transform .22s ease, filter .22s ease, opacity .22s ease; }
.brand-item:hover { transform: translateY(-4px); filter: brightness(1.18); }
.installed-proof-media, .why-tintx-media, .privacy-proof-grid figure { overflow: hidden; }
.installed-proof-media img, .why-tintx-media img, .privacy-proof-grid img { transition: transform .55s cubic-bezier(.22,1,.36,1), filter .35s ease; }
.installed-proof-media:hover img, .why-tintx-media:hover img, .privacy-proof-grid figure:hover img { transform: scale(1.035); filter: brightness(1.08) saturate(1.05); }
.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1); }
.reveal-item.is-visible { opacity: 1; transform: none; }
.reveal-item:nth-child(2) { transition-delay: .08s; }
.reveal-item:nth-child(3) { transition-delay: .16s; }
.button-primary { animation: tintxGlowPulse 3.5s 1.2s ease-in-out 2; }
@media (prefers-reduced-motion: reduce) {
  .exact-hero-desktop-art, .exact-hero-mobile-copy, .exact-hero-mobile-art, .button-primary { animation: none; }
  .reveal-item { opacity: 1; transform: none; transition: none; }
}


/* More visible demo timing: motion remains restrained but is easy to notice */
@keyframes tintxHeroSweep {
  0% { opacity: .35; transform: scale(1.08); filter: brightness(.78) saturate(.82); }
  70% { opacity: 1; }
  100% { opacity: 1; transform: scale(1); filter: brightness(1) saturate(1); }
}
.exact-hero-desktop-art { animation: tintxHeroSweep 1.25s cubic-bezier(.22,1,.36,1) both; }
.exact-hero-mobile-art img { animation: tintxHeroSweep 1.25s cubic-bezier(.22,1,.36,1) both; }
.reveal-item { transform: translateY(42px); transition-duration: .9s; }
.reveal-item.is-visible { transform: translateY(0); }


/* Demo highlight: one-time cinematic light sweep across the hero */
@keyframes tintxLightSweep {
  0% { transform: translateX(-115%) skewX(-16deg); opacity: 0; }
  18% { opacity: .7; }
  58% { opacity: .22; }
  100% { transform: translateX(250%) skewX(-16deg); opacity: 0; }
}
@keyframes tintxCtaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(39,212,255,0); }
  45% { box-shadow: 0 0 0 5px rgba(39,212,255,.35), 0 0 24px rgba(39,212,255,.28); }
}
.exact-hero::after {
  content: '';
  position: absolute;
  z-index: 3;
  top: -20%;
  left: 0;
  width: 16%;
  height: 140%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(104,235,255,.48), transparent);
  filter: blur(7px);
  animation: tintxLightSweep 2.2s .35s ease-out both;
}
.exact-hero-link { animation: tintxCtaPulse 1.7s 1.05s ease-out 2; }
@media (prefers-reduced-motion: reduce) {
  .exact-hero::after, .exact-hero-link { animation: none; }
}


/* Keep the external AI assistant fixed below WhatsApp, without scrolling the page. */
#chatzy-shadow-host {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: 22px !important;
  bottom: 20px !important;
  z-index: 50 !important;
  transform: scale(.72) !important;
  transform-origin: bottom right !important;
}

@media (max-width:760px) {
  #chatzy-shadow-host {
    right: 14px !important;
    bottom: 16px !important;
    transform: scale(.62) !important;
    transform-origin: bottom right !important;
  }
}
