/* Fivecodelab Software Store - custom styles on top of Bootstrap 5 (PayPal-inspired: clean white + blues #003087/#0070BA + signature yellow #FFC439 CTAs) */
:root {
  --bs-primary: #0070BA;
  --bs-primary-rgb: 0, 112, 186;
  --bs-link-color: #003087;
  --bs-link-hover-color: #001F5C;
  --bs-link-color-rgb: 0, 48, 135;
  --bs-link-hover-color-rgb: 0, 31, 92;
  --uc-blue: #0070BA;
  --uc-blue-dark: #003087;
  --uc-indigo: #0070BA;
  --uc-ink: #1a1f38;
  --uc-soft: #f7f7f7;
  --uc-grad: linear-gradient(135deg, #0070BA, #003087);
  --uc-grad-hover: linear-gradient(135deg, #003087, #012169);
  --uc-shadow-sm: 0 1px 2px rgba(2, 6, 23, .05), 0 5px 16px rgba(2, 6, 23, .06);
  --uc-shadow-lg: 0 16px 44px rgba(2, 6, 23, .16);
  --uc-ring: rgba(0, 112, 186, .3);
}
/* Slightly smaller global type scale — airier, lighter feel */
html { font-size: 15px; }
/* Bootstrap utility recolor — soft coral, light-first */
.text-primary { color: #003087 !important; }
.text-bg-primary { background-color: #E6F0FA !important; color: #001F5C !important; }
.badge.text-bg-danger { background-color: #ffe4e6 !important; color: #e11d48 !important; }
/* Recolor Bootstrap "success" greens → theme royal blue (user request: no green highlights) */
.text-success { color: #2563eb !important; }
.text-success-emphasis { color: #1d4ed8 !important; }
[data-bs-theme="dark"] .text-success, .hero .text-success, .footer-dark .text-success,
.trustbar .text-success, .topbar .text-success { color: #60a5fa !important; }
.badge.text-bg-success { background-color: #1d4ed8 !important; color: #fff !important; }
.badge.text-bg-success-subtle { background-color: #dbeafe !important; color: #1d4ed8 !important; }
[data-bs-theme="dark"] .badge.text-bg-success-subtle { background-color: rgba(37, 99, 235, .22) !important; color: #93c5fd !important; }
.alert-success { --bs-alert-bg: #dbeafe; --bs-alert-color: #1e40af; --bs-alert-border-color: #bfdbfe; }
[data-bs-theme="dark"] .alert-success { --bs-alert-bg: rgba(37, 99, 235, .18); --bs-alert-color: #93c5fd; --bs-alert-border-color: rgba(37, 99, 235, .4); }
.btn-success { --bs-btn-bg: #1d4ed8; --bs-btn-border-color: #1d4ed8; --bs-btn-hover-bg: #1e40af; --bs-btn-hover-border-color: #1e40af; --bs-btn-active-bg: #1e40af; --bs-btn-active-border-color: #1e40af; }
.btn-outline-primary { --bs-btn-color: #003087; --bs-btn-border-color: #009CDE; --bs-btn-hover-bg: #0070BA; --bs-btn-hover-border-color: #0070BA; --bs-btn-active-bg: #003087; --bs-btn-active-border-color: #003087; }
.form-check-input:checked { background-color: #0070BA; border-color: #0070BA; }
.form-check-input:focus { border-color: #0070BA; box-shadow: 0 0 0 .25rem rgba(0, 112, 186, .2); }
.spinner-border.text-primary { color: #0070BA !important; }
.bg-primary { background-color: #0070BA !important; }
.border-primary { border-color: #0070BA !important; }

/* Soft indigo-slate dark palette — bright, readable, never murky */
[data-bs-theme="dark"] {
  --bs-body-bg: #151629;
  --bs-body-color: #ececf0;
  --bs-emphasis-color: #ffffff;
  --bs-secondary-color: #b9b9c1;
  --bs-border-color: rgba(0, 156, 222, .22);
  --bs-tertiary-bg: #1c1d33;
  --bs-secondary-bg: #23243d;
  --uc-soft: #181a2e;
  --uc-shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 5px 18px rgba(0, 0, 0, .28);
  --uc-shadow-lg: 0 18px 48px rgba(0, 0, 0, .5);
  --uc-ring: rgba(0, 156, 222, .45);
}
[data-bs-theme="dark"] .card { --bs-card-bg: transparent; background: linear-gradient(180deg, #20213a, #191a2f); }
[data-bs-theme="dark"] .dropdown-menu { --bs-dropdown-bg: #1c1d33; --bs-dropdown-link-color: #ececf0; --bs-dropdown-link-hover-bg: #2b2c47; --bs-dropdown-link-hover-color: #fff; }
[data-bs-theme="dark"] .accordion-item { --bs-accordion-bg: #1c1d33; --bs-accordion-btn-color: #ececf0; --bs-accordion-active-bg: rgba(0, 156, 222, .12); --bs-accordion-active-color: #A8C8EC; }
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select { background-color: #1c1d33; border-color: rgba(0, 156, 222, .3); color: #ececf0; }
[data-bs-theme="dark"] .form-control::placeholder { color: #9b9ba4; }
[data-bs-theme="dark"] .text-primary { color: #009CDE !important; }
[data-bs-theme="dark"] .text-secondary { color: #b9b9c1 !important; }
[data-bs-theme="dark"] a:not(.btn):not(.nav-link):not(.dropdown-item) { color: #009CDE; }
[data-bs-theme="dark"] .btn-outline-secondary { --bs-btn-color: #c6c6cd; --bs-btn-border-color: rgba(0, 156, 222, .42); --bs-btn-hover-bg: #2b2c47; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: rgba(0, 156, 222, .55); }
[data-bs-theme="dark"] .table { --bs-table-color: #ececf0; --bs-table-bg: transparent; --bs-table-border-color: rgba(0, 156, 222, .22); }
[data-bs-theme="dark"] .badge.text-bg-light { background-color: #23243d !important; color: #ececf0 !important; border-color: rgba(0, 156, 222, .3) !important; }
[data-bs-theme="dark"] .page-content h2 { border-bottom-color: rgba(0, 156, 222, .3); }
[data-bs-theme="dark"] .page-content thead { background: rgba(0, 156, 222, .14); }
[data-bs-theme="dark"] .ask-ai-pill { background: linear-gradient(90deg, rgba(0, 156, 222, .16), rgba(0, 48, 135, .12)); border-color: rgba(0, 156, 222, .3); }
[data-bs-theme="dark"] .shop-toolbar { background: linear-gradient(90deg, rgba(0, 156, 222, .14), rgba(0, 48, 135, .1)); border-color: rgba(0, 156, 222, .25); }

body { font-family: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif; font-weight: 400; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-4, .display-5, .display-6 { letter-spacing: -.025em; }
.fw-bold { font-weight: 800 !important; }
.fw-semibold { font-weight: 650 !important; }
.btn { font-weight: 650; }
.display-4, .display-5 { font-weight: 800; }
::selection { background: rgba(0, 112, 186, .18); }

/* ---------- Brand logo ---------- */
.brand-mark { flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0, 112, 186, .35)); }
.brand-text { font-weight: 800; letter-spacing: -.02em; font-size: 1.02rem; color: var(--bs-emphasis-color); }
.brand-grad { background: linear-gradient(90deg, #0070BA, #003087); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-bs-theme="dark"] .brand-grad, .footer-dark .brand-grad { background: linear-gradient(90deg, #0070BA, #003087); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-tag { display: block; font-size: .58rem; letter-spacing: .16em; font-weight: 700; color: var(--bs-secondary-color); }
/* Brand motion presets — admin chooses Bounce / Spin / Pulse / Static
   in Company Info; the `data-brand-motion` attribute on <body> swaps
   the animation site-wide.  Targets both the inline SVG and a custom
   uploaded image. */
.logo-3d { perspective: 320px; }
.logo-3d .brand-mark,
.logo-3d > img:first-of-type {
  transform-style: preserve-3d;
  will-change: transform;
  border-radius: 12px;
}

/* ============ BRAND VIBE PRESETS ============
   Each vibe key (premium / classic / playful / bold) sets CSS variables
   that cascade across the layout.  Currently consumed by:
     • .brand-text font-weight
     • .brand-grad gradient colours
     • .logo-3d > img border-radius (uploaded logo corner radius)
     • .navbar-brand .badge-vibe (subtle accent next to the brand)
   Add more places by reading `var(--vibe-*)` anywhere in this stylesheet. */
body[data-brand-vibe="premium"] {
  --vibe-g0: #0c0a09; --vibe-g1: #3f3f46; --vibe-g2: #FFC439;
  --vibe-accent: #FFC439;
  --vibe-radius: 6px;
  --vibe-fontw: 800;
}
body[data-brand-vibe="classic"] {
  --vibe-g0: #312e81; --vibe-g1: #1e40af; --vibe-g2: #0070BA;
  --vibe-accent: #0070BA;
  --vibe-radius: 14px;
  --vibe-fontw: 700;
}
body[data-brand-vibe="playful"] {
  --vibe-g0: #FFC439; --vibe-g1: #ec4899; --vibe-g2: #a855f7;
  --vibe-accent: #FFC439;
  --vibe-radius: 22px;
  --vibe-fontw: 800;
}
body[data-brand-vibe="bold"] {
  --vibe-g0: #7c3aed; --vibe-g1: #ec4899; --vibe-g2: #0ea5e9;
  --vibe-accent: #7c3aed;
  --vibe-radius: 10px;
  --vibe-fontw: 900;
}
.logo-3d > img:first-of-type { border-radius: var(--vibe-radius, 12px) !important; }
body .brand-text { font-weight: var(--vibe-fontw, 700) !important; }
body .brand-grad {
  background: linear-gradient(90deg, var(--vibe-g0, #0070BA), var(--vibe-g1, #003087) 50%, var(--vibe-g2, #0070BA));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Bigger primary CTAs follow the active vibe colour, so the entire
   storefront feels coherent without per-button overrides. */
body .btn-primary { background: linear-gradient(135deg, var(--vibe-g1, #1d4ed8), var(--vibe-g2, #0070BA)) !important; border-color: transparent !important; }
body .btn-primary:hover { filter: brightness(1.06); }
body[data-brand-motion="bounce"] .logo-3d .brand-mark,
body[data-brand-motion="bounce"] .logo-3d > img:first-of-type {
  /* Premium bounce-and-spin — 3D rotateY for a coin-flip feel + a soft
     vertical bounce + a subtle scale pulse on landing.  Cubic-bezier
     gives a snappier ease in/out than plain ease-in-out. */
  animation: logo-spin-bounce 3.2s cubic-bezier(.55,.05,.25,1) infinite;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  filter: drop-shadow(0 4px 10px rgba(0, 112, 186, 0.28));
  will-change: transform, filter;
}
body[data-brand-motion="spin"] .logo-3d .brand-mark,
body[data-brand-motion="spin"] .logo-3d > img:first-of-type {
  animation: logo-pure-spin 4.5s linear infinite;
}
body[data-brand-motion="pulse"] .logo-3d .brand-mark,
body[data-brand-motion="pulse"] .logo-3d > img:first-of-type {
  animation: logo-pulse 2.4s ease-in-out infinite;
}
body[data-brand-motion="static"] .logo-3d .brand-mark,
body[data-brand-motion="static"] .logo-3d > img:first-of-type {
  animation: none;
}
.logo-3d:hover .brand-mark,
.logo-3d:hover > img:first-of-type { animation-play-state: paused; cursor: pointer; }
@keyframes logo-spin-bounce {
  0%   { transform: translateY(0)    rotateY(0deg)   scale(1); }
  20%  { transform: translateY(-10px) rotateY(72deg)  scale(1.06); }
  40%  { transform: translateY(0)    rotateY(144deg) scale(0.96); }
  50%  { transform: translateY(-4px) rotateY(180deg) scale(1.02); }
  60%  { transform: translateY(0)    rotateY(216deg) scale(0.96); }
  80%  { transform: translateY(-10px) rotateY(288deg) scale(1.06); }
  100% { transform: translateY(0)    rotateY(360deg) scale(1); }
}
@keyframes logo-pure-spin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
@keyframes logo-pulse {
  0%, 100% { transform: scale(1)    rotateZ(0deg); filter: drop-shadow(0 4px 10px rgba(0, 112, 186, .35)); }
  50%      { transform: scale(1.12) rotateZ(-2deg); filter: drop-shadow(0 6px 18px rgba(0, 112, 186, .55)); }
}
.logo-3d.tilting .brand-mark { animation: none;
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) scale(1.12);
  transition: transform .1s ease-out; }
.logo-3d .brand-grad { background: linear-gradient(90deg, #0070BA, #003087 30%, #FFC439 50%, #003087 70%, #0070BA);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: brand-shimmer 7s linear infinite; }
@keyframes brand-shimmer { to { background-position: -250% 0; } }
@media (prefers-reduced-motion: reduce) {
  .logo-3d .brand-mark, .logo-3d > img:first-of-type, .logo-3d .brand-grad { animation: none; }
}

/* Eyebrow section labels */
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .2em; color: var(--uc-blue); text-transform: uppercase; }
[data-bs-theme="dark"] .eyebrow { color: #0070BA; }

/* Soft alternating section background */
.bg-soft { background-color: var(--uc-soft); }

/* ---------- Top bar ---------- */
/* ---------- Top bar (signature multicolor dark gradient) ---------- */
.topbar { background: linear-gradient(110deg, #003087 0%, #0070BA 50%, #009CDE 100%); color: #fff; font-size: .85rem; }
.topbar strong { color: #009CDE; }
.trustbar { background: #1a1f38; color: #cbd5e1; font-size: .8rem; border-top: 1px solid rgba(255, 255, 255, .08); }
[data-bs-theme="dark"] .topbar { background: linear-gradient(110deg, #012169 0%, #003087 50%, #003087 100%); }
[data-bs-theme="dark"] .trustbar { background: #111223; color: #d9d9df; }

/* Glassy sticky navbar */
.navbar.sticky-top { background: rgba(255, 255, 255, .86) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
[data-bs-theme="dark"] .navbar.sticky-top { background: rgba(21, 31, 56, .88) !important; }

/* ---------- Page head band ---------- */
.page-head { background: linear-gradient(135deg, #f4f5f7 0%, #f8fafc 70%); border-bottom: 1px solid var(--bs-border-color); }
[data-bs-theme="dark"] .page-head { background: linear-gradient(135deg, #20223c 0%, #151629 70%); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--bs-secondary-color); }
.breadcrumb a { text-decoration: none; }

/* ---------- Mega menu ---------- */
.navbar .dropdown-menu.mega { left: 0; right: 0; top: 100%; width: 100%; border-radius: 0 0 1rem 1rem; max-height: 80vh; overflow-y: auto; border-top: 0; box-shadow: var(--uc-shadow-lg); }
.mega .mega-heading, .antivirus-menu .mega-heading { font-size: .72rem; letter-spacing: .08em; color: var(--uc-blue); font-weight: 800; }
[data-bs-theme="dark"] .mega .mega-heading, [data-bs-theme="dark"] .antivirus-menu .mega-heading { color: #0070BA; }
.mega-year { display: block; font-size: .92rem; font-weight: 700; padding: .3rem 0; color: var(--bs-body-color); text-decoration: none; transition: color .15s ease, padding-left .15s ease; }
.mega-year:hover { color: var(--uc-blue); padding-left: .25rem; }
.antivirus-menu .mega-link, .mega a.mega-link { display: block; font-size: .8rem; padding: .2rem 0; color: var(--bs-secondary-color); text-decoration: none; transition: color .15s ease, padding-left .15s ease; }
.antivirus-menu .mega-link:hover, .mega a.mega-link:hover { color: var(--uc-blue); padding-left: .2rem; }
.dropdown-menu .mega-promo { border-top: 1px solid var(--bs-border-color); }
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  /* Hover-gap bridge: pseudo-strip above each open dropdown so the cursor
     can travel from the nav trigger down into the menu without the
     :hover state being lost in the navbar's bottom padding. */
  .navbar .dropdown-menu.mega::before,
  .navbar .dropdown-menu.antivirus-menu::before {
    content: '';
    position: absolute;
    top: -16px; left: 0; right: 0; height: 16px;
    background: transparent;
  }
  /* Give the nav-link a slightly larger hit area downward */
  .navbar .nav-item.dropdown > .nav-link.dropdown-toggle { padding-bottom: 1rem; }
}

/* ---------- Cards (clean minimal layer) ---------- */
.card { border-radius: .75rem; border: 1px solid var(--bs-border-color); box-shadow: var(--uc-shadow-sm); }
.accordion-item, .card .card { box-shadow: none; }
.product-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 0 0 2px var(--uc-ring), var(--uc-shadow-lg); border-color: transparent; }
.product-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 0; font-size: .88rem; font-weight: 700; transition: color .15s ease; }
.product-card:hover .product-title { color: var(--uc-blue); }
.product-img-wrap { overflow: hidden; }
/* Compact framed artwork — smaller box, no dead space */
.product-card .ratio-1x1 { --bs-aspect-ratio: 76%; }
.product-card .product-img-wrap {
  margin: .65rem .65rem 0;
  border-radius: .8rem !important;
  background: linear-gradient(180deg, #f9fafc, #edf1f8) !important;
  border: 1px solid rgba(15, 23, 42, .06);
  transition: border-color .2s ease;
}
.product-card:hover .product-img-wrap { border-color: rgba(0, 112, 186, .35); }
.product-card .badge.position-absolute { z-index: 2; }
.product-card .product-img-wrap img { mix-blend-mode: multiply; transition: transform .35s ease; padding: .9rem !important; }
.product-card .card-body { padding: .85rem 1rem 1rem; }
.product-card .card-body .small { font-size: .78rem; }
.product-img-wrap img { mix-blend-mode: multiply; transition: transform .35s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
[data-bs-theme="dark"] .product-img-wrap, [data-bs-theme="dark"] .product-card .product-img-wrap { background: #fff !important; }
.app-chip { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; margin-right: 4px; }

/* ---------- Buttons: gradient color combos ---------- */
.btn { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, background-image .15s ease; }
.btn-primary { background-image: var(--uc-grad); border-color: transparent; }
.btn-primary:hover, .btn-primary:focus { background-image: var(--uc-grad-hover); border-color: transparent; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 112, 186, .35); }
.btn-primary:active { background-image: var(--uc-grad-hover) !important; border-color: transparent !important; transform: translateY(0); }
.btn-outline-primary:hover { background-image: var(--uc-grad); border-color: transparent; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 112, 186, .28); }
[data-bs-theme="dark"] .btn-outline-primary { --bs-btn-color: #0070BA; --bs-btn-border-color: rgba(0, 156, 222, .5); }

/* ---------- "For Every Business" compact card ---------- */
.biz-card { background: linear-gradient(135deg, #003087, #009CDE); box-shadow: 0 14px 36px rgba(0, 48, 135, .35); }
.biz-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(220px 140px at 90% 0%, rgba(255, 255, 255, .18), transparent 70%),
              radial-gradient(180px 120px at 0% 100%, rgba(0, 48, 135, .18), transparent 70%); }
.biz-chip { display: inline-flex; align-items: center; font-size: .74rem; font-weight: 650; color: #fff;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px; padding: .3rem .7rem; backdrop-filter: blur(4px); }

/* ---------- Shop filter sidebar ---------- */
.filter-card { position: sticky; top: 96px; }
.filter-group-title { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--uc-blue); margin-bottom: .5rem; }
[data-bs-theme="dark"] .filter-group-title { color: #0070BA; }
.filter-check { padding-top: .2rem; padding-bottom: .2rem; }
.filter-check .form-check-label { width: 100%; font-size: .88rem; cursor: pointer; }
.filter-check .form-check-input { cursor: pointer; }
.filter-check .form-check-input:checked { background-image: var(--uc-grad); background-color: var(--uc-blue); border-color: transparent; }
.filter-count { font-size: .7rem; font-weight: 700; color: var(--bs-secondary-color); background: var(--bs-tertiary-bg); border-radius: 999px; padding: .1rem .5rem; }
.view-toggle .btn { width: 38px; }

/* ---------- Content pages (policy/help) ---------- */
.page-content h2 { margin-top: 2.2rem; font-weight: 800; padding-bottom: .35rem; border-bottom: 2px solid rgba(0, 112, 186, .15); }
.page-content h3 { margin-top: 1.4rem; font-weight: 700; font-size: 1.05rem; }
.page-content table { border-radius: .6rem; overflow: hidden; }
.page-content .alert { border-radius: .9rem; }
.page-content thead { background: rgba(0, 112, 186, .08); }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item { border: 1px solid var(--bs-border-color); border-radius: .9rem !important; overflow: hidden; margin-bottom: .65rem; }
.accordion-button { font-weight: 700; }
.accordion-button:focus { box-shadow: none; }
.accordion-button:not(.collapsed) { background: rgba(0, 112, 186, .06); color: var(--uc-blue); box-shadow: none; }

/* ---------- Hero (lightened Ochaka gradient: airy navy-teal → soft ember) ---------- */
/* ---------- Hero (clean & elegant light theme) ---------- */
.hero { position: relative; overflow: hidden; color: #0f172a;
  background: #ffffff;
  padding-top: 4.5rem; padding-bottom: 4.5rem;
}
/* Very subtle radial wash so the section doesn't look flat */
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(59,130,246,.06), transparent 60%),
    radial-gradient(700px 420px at 95% 110%, rgba(244,114,182,.05), transparent 65%);
}
.hero::after { content: none; }
.hero .container { position: relative; z-index: 1; }
/* Hide leftover decorative layers from the old dark hero */
.hero-stars { display: none; }
.hero-art-glow { display: none; }
.hero h1 { font-weight: 800; color: #0f172a; font-size: clamp(2rem, 3.6vw, 2.85rem); line-height: 1.18; letter-spacing: -.01em; }
.hero .accent { background: linear-gradient(90deg, #2563eb, #0070BA 60%, #FFC439); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .text-secondary { color: #475569 !important; }
.hero .fs-5 { font-size: 1.05rem !important; }
.hero .hero-stats { gap: 2.75rem !important; }
.hero .hero-stats .fs-3 { color: #0f172a; font-size: 1.55rem !important; font-weight: 800; }
.hero .hero-stats small { color: #64748b; }
.hero-badge { display: inline-block; font-size: .78rem; font-weight: 700; color: #2563eb;
  padding: .42rem 1rem; border-radius: 999px; letter-spacing: .02em;
  background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.22);
}
.hero ul li { color: #334155; }
.hero ul li i { font-size: 1.05rem; }
/* CTA buttons re-tuned for the clean background */
.btn-hero-cta { background: linear-gradient(135deg, #FFC439, #F5BC00); color: #fff; border: none; font-weight: 700;
  box-shadow: 0 10px 24px rgba(234,88,12,.28); transition: transform .18s ease, box-shadow .18s ease; }
.btn-hero-cta:hover, .btn-hero-cta:focus { background: linear-gradient(135deg, #FFD46B, #FFC439); color: #fff;
  transform: translateY(-2px); box-shadow: 0 14px 32px rgba(234,88,12,.38); }
.btn-hero-ghost { color: #0f172a; border: 1.5px solid #e2e8f0; background: #fff; font-weight: 600; }
.btn-hero-ghost:hover { color: #2563eb; border-color: #93c5fd; background: #eff6ff; }

/* Dark mode: keep the clean look but with a dark surface */
[data-bs-theme="dark"] .hero { background: #0b1220; color: #e6edf7; }
[data-bs-theme="dark"] .hero h1 { color: #fff; }
[data-bs-theme="dark"] .hero .text-secondary { color: #94a3b8 !important; }
[data-bs-theme="dark"] .hero .hero-stats .fs-3 { color: #fff; }
[data-bs-theme="dark"] .hero-badge { color: #A8C8EC; background: rgba(103,232,249,.1); border-color: rgba(103,232,249,.32); }
[data-bs-theme="dark"] .hero ul li { color: #cbd5e1; }
[data-bs-theme="dark"] .btn-hero-ghost { color: #e6edf7; background: transparent; border-color: rgba(255,255,255,.18); }
[data-bs-theme="dark"] .btn-hero-ghost:hover { color: #fff; background: rgba(59,130,246,.18); border-color: rgba(59,130,246,.42); }

/* ---------- Hero showcase: frameless 3D product display + watermark motif ---------- */
.hero-showcase { position: relative; width: min(460px, 100%); }
.hero-showcase-frame { position: relative; aspect-ratio: 10 / 11; }
/* Transparent stage that blends into the page — faint Windows watermark behind the product */
.hero-art { position: absolute; inset: 0; }
.hero-art-glow { position: absolute; border-radius: 50%; filter: blur(56px); opacity: .35; pointer-events: none; }
.hero-art-glow.glow-1 { width: 240px; height: 240px; top: -40px; left: -40px; background: #0070BA; }
.hero-art-glow.glow-2 { width: 280px; height: 280px; bottom: 60px; right: -60px; background: #FFC439; opacity: .25; }
/* Bouncing brand-mark watermark behind the showcase (unique to this project) */
.hero-brand-watermark { position: absolute; left: 50%; top: 42%; margin-left: -170px; margin-top: -170px;
  opacity: .12; filter: brightness(2.1); pointer-events: none;
  animation: wm-bounce 6s ease-in-out infinite; }
.hero-brand-watermark svg { width: 340px; height: 340px; }
@keyframes wm-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
/* Premium 3D abstract showcase: iridescent orb, glass UI cards, orbit rings, cursor tilt */
.hero-ring { position: absolute; left: 50%; top: 40%; width: 86%; aspect-ratio: 1; pointer-events: none;
  transform: translate(-50%, -50%) rotateX(67deg); border-radius: 50%;
  border: 1.5px dashed rgba(0, 156, 222, .5); animation: ring-spin 26s linear infinite; }
@keyframes ring-spin { to { transform: translate(-50%, -50%) rotateX(67deg) rotate(360deg); } }
.hero-podium { position: absolute; left: 50%; top: 61%; transform: translateX(-50%);
  width: 66%; height: 58px; pointer-events: none; filter: blur(7px);
  background: radial-gradient(ellipse at center, rgba(0, 112, 186, .4) 0%, rgba(255, 196, 57, .14) 45%, transparent 72%); }
.hero-stage { position: absolute; inset: 0; perspective: 1100px; pointer-events: none; }
/* Abstract thematic centerpiece (replaces literal product shots) */
.hero-abstract { position: absolute; left: 50%; top: 42%; width: 76%; aspect-ratio: 1;
  transform: translate(-50%, -52%); transform-style: preserve-3d; will-change: transform;
  animation: abstract-sway 9s ease-in-out infinite; }
/* 360°-style sway combined with a gentle bounce */
@keyframes abstract-sway {
  0%   { transform: translate(-50%, -52%) rotateY(-15deg) rotateX(4deg); }
  25%  { transform: translate(-50%, -55%) rotateY(0deg) rotateX(0deg); }
  50%  { transform: translate(-50%, -52%) rotateY(15deg) rotateX(-4deg); }
  75%  { transform: translate(-50%, -55%) rotateY(0deg) rotateX(0deg); }
  100% { transform: translate(-50%, -52%) rotateY(-15deg) rotateX(4deg); }
}
/* Cursor-follow tilt (set via main.js) overrides the sway while hovering */
.hero-stage.tilting .hero-abstract { animation: none;
  transform: translate(-50%, -52%) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .12s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .hero-abstract, .hero-stage.tilting .hero-abstract { animation: none; transform: translate(-50%, -52%); }
}
/* Iridescent glow halo behind the rotating icon */
.hero-abstract .orb-halo { position: absolute; left: 50%; top: 50%; width: 78%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 196, 57, .38), rgba(0, 112, 186, .2) 45%, transparent 72%);
  filter: blur(26px); }
/* Big rotating product app icons (cycle one-by-one via main.js) */
.hero-big-icon { position: absolute; left: 50%; top: 50%; width: 44%; aspect-ratio: 1; border-radius: 26%;
  background: #fff; border: 1px solid rgba(15, 30, 50, .1);
  box-shadow: 0 30px 60px rgba(2, 6, 23, .55), inset 0 -6px 18px rgba(15, 30, 50, .08);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transform: translate(-50%, -50%) scale(.5) rotateY(85deg);
  transition: opacity .55s ease, transform .65s cubic-bezier(.34, 1.3, .64, 1); }
.hero-big-icon img { width: 62%; height: 62%; object-fit: contain; }
.hero-big-icon.active { opacity: 1; transform: translate(-50%, -50%) scale(1) rotateY(0deg); }
@media (prefers-reduced-motion: reduce) { .hero-big-icon { transition: opacity .4s ease; transform: translate(-50%, -50%); } }
/* Floating glass software cards */
.hero-abstract .glass-card { position: absolute; border-radius: 14px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, .4); }
.gc-code { left: -4%; top: 4%; width: 46%; padding: .7rem .8rem; animation: pill-float 5s ease-in-out infinite; }
.gc-dots { display: flex; gap: 4px; margin-bottom: .55rem; }
.gc-dots i { width: 7px; height: 7px; border-radius: 50%; background: #FFC439; }
.gc-dots i:nth-child(2) { background: #FFC439; }
.gc-dots i:nth-child(3) { background: #003087; }
.gc-line { height: 6px; border-radius: 99px; margin-bottom: 6px;
  background: linear-gradient(90deg, rgba(0, 156, 222, .85), rgba(0, 48, 135, .45)); }
.gc-line.w-50 { background: linear-gradient(90deg, rgba(255, 212, 107, .85), rgba(255, 196, 57, .45)); }
.gc-line.w-25 { background: rgba(255, 255, 255, .4); margin-bottom: 0; }
.gc-key { right: -7%; bottom: 12%; width: 62%; display: flex; align-items: center; gap: .6rem;
  padding: .65rem .8rem; animation: pill-float 5.6s ease-in-out infinite; animation-delay: 1.2s; }
.gc-key-icon { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; color: #fff;
  background: linear-gradient(135deg, #FFC439, #F5BC00);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(255, 196, 57, .4); }
.gc-key-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.gc-key-title { font-size: .58rem; font-weight: 800; letter-spacing: .16em; color: #A8C8EC; }
.gc-key-code { font-size: .72rem; font-weight: 700; color: #fff; letter-spacing: .04em;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; white-space: nowrap; }
.gc-check { margin-left: auto; color: #009CDE; font-size: 1.05rem; flex-shrink: 0; }
/* Floating 3D cubes */
.hero-abstract .cube { position: absolute; width: 16px; height: 16px; border-radius: 3px;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .45);
  transform: rotate(45deg); animation: pill-float 4.4s ease-in-out infinite; }
.hero-abstract .cb-1 { top: 0; right: 14%; }
.hero-abstract .cb-2 { bottom: 4%; left: 10%; animation-delay: .9s;
  background: rgba(255, 196, 57, .3); border-color: rgba(255, 212, 107, .55); }
.hero-abstract .cb-3 { top: 38%; right: -5%; width: 11px; height: 11px; animation-delay: 1.7s;
  background: rgba(0, 156, 222, .3); border-color: rgba(0, 156, 222, .6); }
.hero-tile { position: absolute; width: 54px; height: 54px; border-radius: 14px; background: #fff;
  box-shadow: 0 10px 24px rgba(15, 30, 50, .14); border: 1px solid rgba(15, 30, 50, .08);
  display: flex; align-items: center; justify-content: center;
  animation: pill-float 4.2s ease-in-out infinite; }
.hero-tile img { width: 30px; height: 30px; object-fit: contain; }
.hero-tile.tile-1 { top: 13%; left: 7%; }
.hero-tile.tile-2 { top: 24%; right: 8%; animation-delay: .8s; }
.hero-tile.tile-3 { top: 56%; left: 6%; animation-delay: 1.6s; }
.hero-tile.tile-4 { top: 60%; right: 10%; animation-delay: 2.4s; }
[data-bs-theme="dark"] .hero-tile { background: #f8fafc; }
/* Whole art panel links to the product currently shown (href synced by the rotator in main.js) */
.hero-photo-link { position: absolute; inset: 0; z-index: 1; }
.hero-delivery-pill { position: absolute; top: 16px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 750; color: #fff;
  padding: .4rem .8rem; border-radius: 999px; background: var(--uc-grad);
  box-shadow: 0 8px 22px rgba(0, 112, 186, .4); animation: pill-float 4s ease-in-out infinite; }
@keyframes pill-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero-rating-chip { position: absolute; top: auto; bottom: 4%; left: -18px; z-index: 3; white-space: nowrap;
  animation: pill-float 4.5s ease-in-out infinite; animation-delay: 1.4s; }
@media (prefers-reduced-motion: reduce) {
  .hero-delivery-pill, .hero-rating-chip, .hero-brand-watermark { animation: none; }
}

/* ---------- Sticky limited-time deal bar (fixed bottom, countdown to local midnight) ---------- */
.deal-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1070;
  background: linear-gradient(110deg, #003087 0%, #0070BA 50%, #009CDE 100%);
  color: #fff; box-shadow: 0 -8px 24px rgba(2, 6, 23, .35); }
.deal-bar .deal-code { color: #009CDE; letter-spacing: .06em; }
.deal-bar .deal-countdown { color: #003087; font-variant-numeric: tabular-nums; }
.deal-bar .deal-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .6rem; }
.deal-bar-flash { color: #ffc107; animation: pill-float 2.6s ease-in-out infinite; }
body.has-deal-bar { padding-bottom: 56px; }
body.has-deal-bar #chat-bubble { bottom: 84px; }
body.has-deal-bar #chat-panel { bottom: 155px; }

/* ---------- Home: Best Sellers spotlight (featured + side list) ---------- */
.spotlight-card { overflow: hidden; }
.spotlight-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #003087, #0070BA 50%, #0070BA); }
.spotlight-img-wrap { background: linear-gradient(180deg, #f9fafc, #e8f9fc); border: 1px solid rgba(15, 23, 42, .06); overflow: hidden; }
.spotlight-img-wrap img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.spotlight-card:hover .spotlight-img-wrap img { transform: scale(1.05); }
[data-bs-theme="dark"] .spotlight-img-wrap { background: #fff; }
.side-product-row { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.side-product-row:hover { transform: translateX(4px); border-color: rgba(0, 112, 186, .4); box-shadow: var(--uc-shadow-sm); }
.side-thumb { width: 68px; height: 68px; flex-shrink: 0; border-radius: .8rem;
  background: linear-gradient(180deg, #f9fafc, #edf1f8); border: 1px solid rgba(15, 23, 42, .06);
  display: inline-flex; align-items: center; justify-content: center; padding: 8px; }
.side-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
[data-bs-theme="dark"] .side-thumb { background: #fff; }
.side-add { width: 40px; height: 40px; padding: 0; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Home: Elessi-minimal centered product cards ---------- */
.product-card .card-body.text-center .product-title { font-size: .85rem; max-width: 100%; }
.btn-elessi { border: 1.5px solid var(--bs-border-color); color: var(--bs-body-color); background: transparent;
  border-radius: 999px; font-size: .8rem; font-weight: 650; letter-spacing: .02em;
  transition: background-color .18s ease, background-image .18s ease, color .18s ease, border-color .18s ease, transform .15s ease, box-shadow .15s ease; }
.btn-elessi:hover { background-image: var(--uc-grad); border-color: transparent; color: #fff;
  transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 112, 186, .3); }
[data-bs-theme="dark"] .btn-elessi { border-color: rgba(0, 156, 222, .35); color: #ececf0; }

/* ---------- Home: Picked-for-you horizontal scroll strip ---------- */
.scroll-strip { scrollbar-width: thin; scroll-snap-type: x mandatory; }
.strip-card { width: 232px; scroll-snap-align: start; }
.strip-img { height: 132px; margin: .65rem .65rem 0; border-radius: .8rem; overflow: hidden;
  background: linear-gradient(180deg, #f9fafc, #edf1f8); border: 1px solid rgba(15, 23, 42, .06);
  display: flex; align-items: center; justify-content: center; transition: border-color .2s ease; }
.strip-img img { max-width: 100%; max-height: 100%; object-fit: contain; padding: .8rem; mix-blend-mode: multiply; transition: transform .35s ease; }
.strip-card:hover .strip-img { border-color: rgba(0, 112, 186, .35); }
.strip-card:hover .strip-img img { transform: scale(1.06); }
[data-bs-theme="dark"] .strip-img { background: #fff; }

/* ---------- Shop: wide horizontal product banners ---------- */
.shop-row:hover { transform: translateY(-3px); }
.shop-row-img { width: 132px; height: 132px; overflow: hidden;
  background: linear-gradient(180deg, #f9fafc, #edf1f8); border: 1px solid rgba(15, 23, 42, .06);
  display: flex; align-items: center; justify-content: center; transition: border-color .2s ease; }
.shop-row-img img { width: 100%; height: 100%; object-fit: contain; padding: .9rem; mix-blend-mode: multiply; transition: transform .35s ease; }
.shop-row:hover .shop-row-img { border-color: rgba(0, 112, 186, .35); }
.shop-row:hover .shop-row-img img { transform: scale(1.06); }
[data-bs-theme="dark"] .shop-row-img { background: #fff; }
.shop-row-buy { min-width: 138px; }

.min-w-0 { min-width: 0; }

/* ---------- Rich toast notifications ---------- */
.mv-toast-wrap { position: fixed; top: 86px; right: 18px; z-index: 2000;
  display: flex; flex-direction: column; gap: .6rem;
  width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.mv-toast { position: relative; display: flex; gap: .8rem; align-items: flex-start;
  padding: .95rem 2.5rem .95rem 1rem; border-radius: 16px; overflow: hidden; pointer-events: auto;
  background: linear-gradient(135deg, #0070BA 0%, #009CDE 100%); color: #fff;
  border: 1px solid rgba(0, 156, 222, .35); box-shadow: 0 18px 44px rgba(2, 6, 23, .45);
  animation: mv-toast-in .45s cubic-bezier(.34, 1.56, .64, 1); }
.mv-toast.hide { animation: mv-toast-out .3s ease forwards; }
@keyframes mv-toast-in { from { opacity: 0; transform: translateX(46px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes mv-toast-out { to { opacity: 0; transform: translateX(46px) scale(.95); } }
.mv-toast-icon { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, #FFC439, #F5BC00); box-shadow: 0 6px 16px rgba(255, 196, 57, .45);
  animation: toast-icon-pop .55s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes toast-icon-pop { from { transform: scale(.4) rotate(-12deg); } to { transform: none; } }
.mv-toast-body { min-width: 0; }
.mv-toast-title { font-weight: 800; font-size: .95rem; letter-spacing: -.01em; }
.mv-toast-msg { font-size: .8rem; color: rgba(255, 255, 255, .82); line-height: 1.4; }
.mv-toast-action { display: inline-flex; align-items: center; gap: .3rem; margin-top: .5rem;
  font-size: .78rem; font-weight: 750; color: #fff !important; text-decoration: none;
  background: var(--uc-grad); padding: .32rem .9rem; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 112, 186, .4); transition: transform .15s ease, box-shadow .15s ease; }
.mv-toast-action:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0, 112, 186, .55); color: #fff; }
.mv-toast-close { position: absolute; top: 8px; right: 8px; background: none; border: none;
  color: rgba(255, 255, 255, .55); font-size: .7rem; padding: .25rem; line-height: 1;
  transition: color .15s ease; }
.mv-toast-close:hover { color: #fff; }
.mv-toast-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #0070BA, #FFC439); transform-origin: left;
  animation: toast-progress var(--toast-ttl, 3.2s) linear forwards; }
@keyframes toast-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .mv-toast, .mv-toast-icon, .mv-toast-progress { animation: none; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Chat widget ---------- */
#chat-bubble {
  position: fixed; bottom: 24px; right: 24px; z-index: 1080;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--uc-grad); color: #fff; border: none;
  box-shadow: 0 10px 25px rgba(0, 112, 186, .45);
  font-size: 1.4rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
#chat-bubble:hover { transform: scale(1.07); box-shadow: 0 14px 32px rgba(0, 112, 186, .5); }

/* Unread notification bell — surfaces on top-right of the chat bubble the
   instant an admin reply lands while the chat panel is closed.  The bell
   shakes gently and shows a tiny red count badge; both disappear the
   moment the customer opens the chat or starts typing a reply.  */
.chat-bell {
  position: absolute; top: -4px; right: -4px;
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #FFC439 0%, #FFC439 100%);
  color: #1e293b; font-size: 13px; line-height: 1;
  display: inline-flex !important; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(245, 158, 11, .45), 0 0 0 2px #fff;
  animation: chat-bell-shake 1.4s ease-in-out infinite;
  transform-origin: center;
  pointer-events: none;
}
.chat-bell-count {
  position: absolute; top: -7px; right: -9px;
  background: #ef4444; color: #fff;
  min-width: 18px; height: 18px;
  font-size: 10px; font-weight: 800; line-height: 1;
  border-radius: 999px;
  padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 5px rgba(239, 68, 68, .45), 0 0 0 2px #fff;
}
@keyframes chat-bell-shake {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-14deg); }
  20%, 40% { transform: rotate(14deg); }
  50% { transform: rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .chat-bell { animation: none; }
}
/* Hide the bell node entirely when display:none is set inline (default state). */
#chat-bubble .chat-bell[style*="display:none"],
#chat-bubble .chat-bell[style*="display: none"] { display: none !important; }

/* Messenger-style admin-reply preview card.  Anchored to the bottom-right
   right next to the chat bubble.  Slides in from the right with a soft
   bounce; clicking opens the chat panel.  Auto-clears on open/typing. */
.chat-msg-preview {
  position: fixed; bottom: 24px; right: 96px; z-index: 1080;
  width: 280px; max-width: calc(100vw - 110px);
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #c7d8f7;
  border-radius: 14px;
  padding: 10px 12px 12px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  animation: chat-msg-preview-in 0.32s cubic-bezier(.18,.89,.32,1.28) both;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.chat-msg-preview:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(15,23,42,.22); }
.chat-msg-preview::after {
  /* tail pointing right at the chat bubble */
  content: ''; position: absolute; right: -7px; bottom: 22px;
  width: 14px; height: 14px; background: #ffffff;
  border-right: 1px solid #c7d8f7; border-top: 1px solid #c7d8f7;
  transform: rotate(45deg); border-bottom-left-radius: 4px;
}
[data-bs-theme="dark"] .chat-msg-preview { background: #1c2541; color: #e0e7ff; border-color: #2d3a5a; }
[data-bs-theme="dark"] .chat-msg-preview::after { background: #1c2541; border-color: #2d3a5a; }
.chat-msg-preview-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.chat-msg-preview-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.chat-msg-preview-meta { flex: 1; min-width: 0; line-height: 1.1; }
.chat-msg-preview-name { font-size: 12px; font-weight: 700; color: #1e3a8a; }
[data-bs-theme="dark"] .chat-msg-preview-name { color: #93c5fd; }
.chat-msg-preview-sub  { font-size: 10px; color: #64748b; margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.chat-msg-preview-close {
  background: transparent; border: 0; color: #94a3b8; padding: 0 4px;
  font-size: 16px; line-height: 1; cursor: pointer;
}
.chat-msg-preview-close:hover { color: #ef4444; }
.chat-msg-preview-body {
  font-size: 13px; line-height: 1.35; color: #1e293b;
  /* clamp to 2 lines so the bubble stays compact */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
  word-break: break-word;
}
[data-bs-theme="dark"] .chat-msg-preview-body { color: #e0e7ff; }
.chat-msg-preview-cta {
  font-size: 11px; font-weight: 600; color: #2563eb;
  margin-top: 6px;
}
[data-bs-theme="dark"] .chat-msg-preview-cta { color: #93c5fd; }
@keyframes chat-msg-preview-in {
  0%   { opacity: 0; transform: translateX(20px) scale(0.92); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
.chat-msg-preview.is-hiding {
  opacity: 0; transform: translateX(20px) scale(0.92); pointer-events: none;
}
/* Mobile: shrink the preview a bit so it doesn't crowd the bubble */
@media (max-width: 480px) {
  .chat-msg-preview { width: 240px; bottom: 18px; right: 80px; padding: 8px 10px 10px; }
  .chat-msg-preview-body { font-size: 12px; }
}

/* Notify-Me modal — clean centered card for out-of-stock waitlist sign-up. */
.notify-modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,23,42,.55); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.notify-modal-overlay.is-open { display: flex; }
.notify-modal-card {
  background: #ffffff; color: #0f172a;
  border-radius: 18px; padding: 32px 28px 26px;
  width: 100%; max-width: 380px;
  text-align: center; position: relative;
  box-shadow: 0 24px 60px rgba(15,23,42,.32);
  animation: notify-card-in 0.28s cubic-bezier(.18,.89,.32,1.28);
}
[data-bs-theme="dark"] .notify-modal-card { background: #1c2541; color: #e0e7ff; }
.notify-modal-close {
  position: absolute; top: 12px; right: 14px;
  background: transparent; border: 0; color: #94a3b8;
  font-size: 14px; padding: 6px 8px; cursor: pointer; border-radius: 6px;
}
.notify-modal-close:hover { color: #ef4444; background: rgba(239,68,68,.08); }
.notify-modal-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFC439, #FFC439);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px;
  box-shadow: 0 6px 18px rgba(245,158,11,.4);
  animation: chat-bell-shake 1.6s ease-in-out 2;
}
.notify-modal-title {
  font-size: 18px; font-weight: 800; margin: 0 0 6px;
  color: #0f172a;
}
[data-bs-theme="dark"] .notify-modal-title { color: #e0e7ff; }
.notify-modal-sub {
  font-size: 13px; color: #64748b; margin: 0 0 18px;
  line-height: 1.5;
}
.notify-modal-sub strong { color: #1e3a8a; }
[data-bs-theme="dark"] .notify-modal-sub strong { color: #93c5fd; }
#notify-modal-email {
  margin-bottom: 12px; font-size: 14px;
  padding: 10px 14px; border-radius: 10px;
}
.notify-modal-submit {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; border: 0;
  padding: 12px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.16s ease;
  box-shadow: 0 6px 18px rgba(29,78,216,.32);
}
.notify-modal-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(29,78,216,.44); }
.notify-modal-msg {
  margin-top: 12px; font-size: 12px; font-weight: 600;
  min-height: 18px;
}
.notify-modal-msg.is-pending { color: #94a3b8; }
.notify-modal-msg.is-ok      { color: #047857; }
.notify-modal-msg.is-err     { color: #b91c1c; }
@keyframes notify-card-in {
  from { opacity: 0; transform: translateY(20px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
/* ---------- Chat widget (rich navy blue, refined) ---------- */
:root {
  --chat-navy-1: #0b1d4f;
  --chat-navy-2: #172554;
  --chat-navy-3: #1e3a8a;
  --chat-accent: #3b82f6;
  --chat-accent-2: #60a5fa;
  --chat-surface: #ffffff;
  --chat-surface-soft: #f8fafc;
  --chat-text: #0f172a;
  --chat-text-soft: #475569;
  --chat-border: #e2e8f0;
}
[data-bs-theme="dark"] {
  --chat-surface: #0f1729;
  --chat-surface-soft: #1c2541;
  --chat-text: #e2e8f0;
  --chat-text-soft: #94a3b8;
  --chat-border: #1e293b;
}

#chat-panel {
  position: fixed; bottom: 95px; right: 24px; z-index: 1080;
  width: 360px; max-width: calc(100vw - 32px); height: 510px;
  display: none; flex-direction: column;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(2, 6, 23, .35);
  background: var(--chat-surface);
  border: 1px solid var(--chat-border);
  font-weight: 400;
}
#chat-panel.open { display: flex; animation: chat-pop .25s ease; }
@keyframes chat-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

#chat-head {
  background: linear-gradient(135deg, var(--chat-navy-1) 0%, var(--chat-navy-2) 55%, var(--chat-navy-3) 100%);
  color: #fff;
  padding: 1rem 1.1rem;
  position: relative;
}
#chat-head::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(96,165,250,.22), transparent 55%);
  pointer-events: none;
}
.chat-head-name { font-size: .95rem; font-weight: 600; letter-spacing: .1px; }
.chat-head-sub  { color: rgba(255,255,255,.78); font-weight: 400; font-size: .72rem; letter-spacing: .2px; }
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
  color: #cbd5ff;
}
.chat-online-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; margin-right: .3rem; box-shadow: 0 0 0 2px rgba(74,222,128,.3);
  animation: online-pulse 2s ease-in-out infinite; }
@keyframes online-pulse { 0%,100% { box-shadow: 0 0 0 2px rgba(74,222,128,.35); } 50% { box-shadow: 0 0 0 5px rgba(74,222,128,.12); } }

#chat-body { flex: 1; overflow-y: auto; padding: 1rem .9rem;
  background: var(--chat-surface);
  color: var(--chat-text);
}
.chat-msg {
  max-width: 86%; padding: .6rem .85rem; border-radius: 12px; margin-bottom: .55rem;
  font-size: .87rem; line-height: 1.5; font-weight: 400; white-space: pre-wrap;
}
.chat-msg.user {
  background: linear-gradient(135deg, var(--chat-accent), var(--chat-navy-3));
  color: #fff; margin-left: auto;
  border-bottom-right-radius: 4px;
  box-shadow: 0 3px 10px rgba(29,78,216,.25);
}
.chat-msg.bot {
  background: var(--chat-surface-soft);
  border: 1px solid var(--chat-border);
  color: var(--chat-text);
  border-bottom-left-radius: 4px;
}
.chat-msg.typing { display: inline-flex; gap: 4px; align-items: center; padding: .75rem .9rem; }
.chat-msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--chat-text-soft);
  animation: typing-bounce 1.1s ease-in-out infinite; }
.chat-msg.typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing-bounce { 0%,60%,100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Quick chips */
.chat-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .35rem 0 .6rem; }
.chat-chip {
  border: 1px solid var(--chat-border);
  background: var(--chat-surface-soft);
  color: var(--chat-navy-3);
  font-size: .75rem; font-weight: 500; border-radius: 999px;
  padding: .35rem .8rem; cursor: pointer;
  transition: all .15s ease;
}
.chat-chip:hover {
  background: linear-gradient(135deg, var(--chat-navy-2), var(--chat-navy-3));
  color: #fff; border-color: var(--chat-navy-3); transform: translateY(-1px);
}
[data-bs-theme="dark"] .chat-chip { color: #93c5fd; }

/* Lead form card — uses the same navy palette */
.chat-lead-card {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid var(--chat-border);
  border-radius: 12px;
  padding: .9rem;
  margin-bottom: .6rem;
}
[data-bs-theme="dark"] .chat-lead-card { background: linear-gradient(180deg,#1c2541 0%, #172037 100%); }
.chat-lead-title {
  font-size: .82rem; font-weight: 500; color: var(--chat-text);
  margin-bottom: .65rem; line-height: 1.4;
}
.chat-lead-input {
  background: var(--chat-surface) !important;
  border: 1px solid var(--chat-border) !important;
  font-weight: 400 !important; color: var(--chat-text) !important;
  margin-bottom: .45rem; border-radius: 8px;
}
.chat-lead-input:focus { border-color: var(--chat-accent) !important; box-shadow: 0 0 0 .2rem rgba(59,130,246,.18) !important; }
.chat-lead-cta {
  width: 100%; margin-top: .25rem; border-radius: 8px;
  background: linear-gradient(135deg, var(--chat-navy-2), var(--chat-navy-3));
  border: 0; color: #fff; font-weight: 500;
}
.chat-lead-cta:hover { background: linear-gradient(135deg, var(--chat-navy-1), var(--chat-navy-2)); color: #fff; }
.chat-lead-cta-chat {
  width: 100%; margin-top: .35rem; border-radius: 8px;
  background: linear-gradient(135deg, var(--chat-accent), var(--chat-accent-2));
  border: 0; color: #fff; font-weight: 500;
  box-shadow: 0 3px 10px rgba(59,130,246,.25);
}
.chat-lead-cta-chat:hover { background: linear-gradient(135deg, var(--chat-accent-2), var(--chat-accent)); color: #fff; }
.chat-lead-cta-alt {
  width: 100%; margin-top: .35rem; border-radius: 8px;
  background: var(--chat-surface); color: var(--chat-navy-3);
  border: 1px solid var(--chat-navy-3); font-weight: 500;
}
.chat-lead-cta-alt:hover { background: var(--chat-navy-3); color: #fff; }
.chat-lead-skip {
  width: 100%; margin-top: .35rem; padding: 0;
  font-size: .72rem; color: var(--chat-text-soft) !important;
  text-decoration: none; font-weight: 400;
}
.chat-lead-skip:hover { color: var(--chat-accent) !important; }

/* ProAssist install-call scheduler — inline calendar inside the chat
   widget.  Navy header + light date pills + green-pill selected state.
   Sits at the top of #chat-body when uc_proassist=1. */
.pa-sched-card {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid #c7d8f7; border-radius: 12px;
  padding: .8rem .85rem; margin-bottom: .6rem;
  box-shadow: 0 1px 3px rgba(30,58,138,.06);
}
[data-bs-theme="dark"] .pa-sched-card {
  background: linear-gradient(180deg,#1c2541 0%, #1a2440 100%);
  border-color: #2d3a5a;
}
.pa-sched-header {
  display: flex; align-items: flex-start; gap: .55rem;
  margin-bottom: .55rem;
}
.pa-sched-header .bi {
  font-size: 1.15rem; color: #1e3a8a; margin-top: 2px;
}
[data-bs-theme="dark"] .pa-sched-header .bi { color: #93c5fd; }
.pa-sched-title {
  font-size: .85rem; font-weight: 700; color: #1e3a8a; line-height: 1.2;
}
[data-bs-theme="dark"] .pa-sched-title { color: #c7d2fe; }
.pa-sched-sub {
  font-size: .7rem; color: #475569; margin-top: 1px;
}
[data-bs-theme="dark"] .pa-sched-sub { color: #94a3b8; }
.pa-sched-step-label {
  font-size: .68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; color: #64748b; margin-bottom: .35rem;
}
[data-bs-theme="dark"] .pa-sched-step-label { color: #94a3b8; }
.pa-sched-tz {
  font-size: .6rem; color: #94a3b8; font-weight: 500; margin-left: .3rem;
  text-transform: none; letter-spacing: 0;
}
.pa-sched-dates {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem;
}
.pa-sched-date {
  border: 1px solid #c7d8f7; background: #fff; border-radius: 8px;
  padding: .35rem .25rem; text-align: center; cursor: pointer;
  transition: all .14s ease;
  display: flex; flex-direction: column; align-items: center;
}
.pa-sched-date:hover { border-color: #1e3a8a; background: #eff6ff; transform: translateY(-1px); }
.pa-sched-date.is-selected { background: linear-gradient(135deg,#1e3a8a,#2563eb); border-color:#1e3a8a; color:#fff; }
.pa-sched-date.is-selected .pa-sched-date-dow,
.pa-sched-date.is-selected .pa-sched-date-mon { color: #c7d2fe; }
[data-bs-theme="dark"] .pa-sched-date { background: #1f2a4a; border-color: #2d3a5a; color: #e0e7ff; }
[data-bs-theme="dark"] .pa-sched-date:hover { background: #243156; }
.pa-sched-date-dow {
  font-size: .62rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; color: #64748b;
}
.pa-sched-date-day {
  font-size: .98rem; font-weight: 700; color: #1e3a8a; line-height: 1.1;
}
[data-bs-theme="dark"] .pa-sched-date-day { color: #e0e7ff; }
.pa-sched-date.is-selected .pa-sched-date-day { color: #fff; }
.pa-sched-date-mon {
  font-size: .6rem; color: #64748b; text-transform: uppercase;
}
.pa-sched-times {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .28rem;
  max-height: 200px; overflow-y: auto; padding-right: 2px;
}
.pa-sched-time {
  border: 1px solid #c7d8f7; background: #fff; border-radius: 6px;
  padding: .3rem .1rem; text-align: center; cursor: pointer;
  font-size: .73rem; font-weight: 600; color: #1e3a8a;
  transition: all .12s ease;
}
.pa-sched-time:hover { border-color: #10b981; background: #ecfdf5; color: #047857; transform: translateY(-1px); }
.pa-sched-time.is-taken,
.pa-sched-time.is-past {
  opacity: .35; cursor: not-allowed; background: #f1f5f9;
  text-decoration: line-through; pointer-events: none; color: #94a3b8;
}
[data-bs-theme="dark"] .pa-sched-time { background: #1f2a4a; border-color: #2d3a5a; color: #c7d2fe; }
[data-bs-theme="dark"] .pa-sched-time:hover { background: #064e3b; color: #6ee7b7; border-color: #10b981; }
[data-bs-theme="dark"] .pa-sched-time.is-taken,
[data-bs-theme="dark"] .pa-sched-time.is-past { background: #1a1f33; color: #475569; }
.pa-sched-back {
  margin-top: .5rem; background: transparent; border: 0;
  color: #1e3a8a; font-size: .72rem; font-weight: 600;
  padding: .15rem 0; cursor: pointer;
}
.pa-sched-back:hover { text-decoration: underline; }
[data-bs-theme="dark"] .pa-sched-back { color: #93c5fd; }
.pa-sched-error {
  margin-top: .5rem; padding: .35rem .55rem; border-radius: 6px;
  font-size: .72rem; background: #fef2f2; color: #b91c1c;
  border: 1px solid #fecaca;
}
.pa-sched-closed {
  font-size: .72rem; color: #64748b; padding: .4rem;
  text-align: center; font-style: italic;
}
.pa-sched-empty {
  font-size: .72rem; color: #64748b; padding: .4rem;
  text-align: center;
}
.pa-sched-step { margin-top: .25rem; }

/* Confirmed booking card */
.pa-sched-confirm {
  background: linear-gradient(135deg,#ecfdf5 0%, #ffffff 100%);
  border: 1px solid #6ee7b7; border-radius: 12px;
  padding: .85rem; margin-bottom: .6rem; text-align: center;
}
[data-bs-theme="dark"] .pa-sched-confirm {
  background: linear-gradient(135deg,#053922 0%, #0a3b29 100%);
  border-color: #10b981;
}
.pa-sched-confirm-icon {
  font-size: 1.6rem; color: #10b981; line-height: 1; margin-bottom: .25rem;
}
.pa-sched-confirm-title {
  font-size: .8rem; font-weight: 700; color: #047857; line-height: 1.2;
}
[data-bs-theme="dark"] .pa-sched-confirm-title { color: #6ee7b7; }
.pa-sched-confirm-when {
  font-size: .8rem; color: #064e3b; margin-top: .25rem; font-weight: 600;
}
[data-bs-theme="dark"] .pa-sched-confirm-when { color: #d1fae5; }
.pa-sched-reschedule {
  margin-top: .55rem; background: transparent; border: 1px solid #10b981;
  color: #047857; border-radius: 999px; padding: .25rem .85rem;
  font-size: .72rem; font-weight: 600; cursor: pointer;
  transition: all .14s ease;
}
.pa-sched-reschedule:hover { background: #10b981; color: #fff; }
[data-bs-theme="dark"] .pa-sched-reschedule { color: #6ee7b7; }

/* Sticky "Don't lose this — agent on the way" nudge.  Surfaces the
   instant the customer starts typing into the chat-input without having
   submitted the lead form — captures the highest-intent moment before
   they bounce. */
.chat-lead-nudge {
  display: flex; align-items: center; gap: 8px;
  margin: -2px -2px 12px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #fef3c7, #FFEFC2);
  color: #7c2d12;
  border: 1px solid #fb923c;
  border-left: 4px solid #F5BC00;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.4;
  box-shadow: 0 4px 14px rgba(234,88,12,.22);
  animation: chat-nudge-in .35s ease-out, chat-nudge-pulse 2.4s ease-in-out 1.2s infinite;
}
.chat-lead-nudge .bi { font-size: 18px; color: #F5BC00; flex-shrink: 0; }
[data-bs-theme="dark"] .chat-lead-nudge {
  background: linear-gradient(135deg, rgba(180,83,9,.40), rgba(234,88,12,.30));
  color: #FFEFC2;
  border-color: rgba(251,146,60,.55);
  border-left-color: #fb923c;
}
[data-bs-theme="dark"] .chat-lead-nudge .bi { color: #FFC439; }
@keyframes chat-nudge-in {
  from { opacity: 0; transform: translateY(-6px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes chat-nudge-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(234,88,12,.22); }
  50%      { box-shadow: 0 6px 22px rgba(234,88,12,.45); }
}
@media (prefers-reduced-motion: reduce) {
  .chat-lead-nudge { animation: chat-nudge-in .35s ease-out; }
}


/* Live presence — admin is typing indicator (visible to customer).
   Pings from chat-customer.php (admin_typing flag, 5-sec freshness)
   drive the toggle from main.js inside adminPollOnce().  Same visual
   language as the admin-side "Customer is typing…" pill so both ends
   recognise the cue instantly. */
.chat-typing { padding: 0 14px 4px; }
.chat-typing-bubble {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 12px;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  color: #1e3a8a;
  border-radius: 14px; border-bottom-left-radius: 5px;
  border: 1px solid rgba(59,130,246,.20);
  font-size: 12px; font-style: italic;
  box-shadow: 0 1px 2px rgba(15,23,42,.08);
}
[data-bs-theme="dark"] .chat-typing-bubble {
  background: linear-gradient(135deg, rgba(59,130,246,.22), rgba(99,102,241,.18));
  color: #bfdbfe; border-color: rgba(96,165,250,.30);
}
.chat-typing-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #3b82f6;
  animation: chat-typing-bounce 1.05s ease-in-out infinite;
}
.chat-typing-dot:nth-child(2) { animation-delay: .18s; }
.chat-typing-dot:nth-child(3) { animation-delay: .36s; margin-right: 4px; }
.chat-typing-text { margin-left: 4px; }
@keyframes chat-typing-bounce {
  0%, 80%, 100% { transform: translateY(0)    scale(1);   opacity: .55; }
  40%           { transform: translateY(-3px) scale(1.15); opacity: 1;  }
}

/* Input row + send */
.chat-input-row { background: var(--chat-surface-soft); border-top: 1px solid var(--chat-border); }
.chat-input {
  border-radius: 999px; padding-left: 1rem; font-weight: 400;
  border: 1px solid var(--chat-border) !important;
  background: var(--chat-surface) !important;
  color: var(--chat-text) !important;
  box-shadow: none !important;
}
.chat-input::placeholder { color: var(--chat-text-soft); font-weight: 400; }
.chat-input:focus { border-color: var(--chat-accent) !important; box-shadow: 0 0 0 .18rem rgba(59,130,246,.15) !important; }
.chat-send-btn {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; padding: 0;
  background: linear-gradient(135deg, var(--chat-navy-2), var(--chat-navy-3));
  color: #fff; border: none; font-size: .85rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.chat-send-btn:hover { color: #fff; transform: scale(1.06); box-shadow: 0 6px 16px rgba(29,78,216,.4); }

.chat-talk-band {
  border-top: 1px solid var(--chat-border);
  background: var(--chat-surface-soft);
  color: var(--chat-text-soft); font-weight: 400;
  font-size: .72rem;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  padding: .55rem .9rem !important;
}
.chat-talk-band a {
  color: var(--chat-navy-3); text-decoration: none;
  font-weight: 600; font-size: .78rem;
  white-space: nowrap;
}
.chat-talk-band .ttf-sep { margin: 0 .35rem; opacity: .45; }
[data-bs-theme="dark"] .chat-talk-band a { color: #93c5fd; }

/* Bubble itself — match navy */
#chat-bubble {
  background: linear-gradient(135deg, var(--chat-navy-2), var(--chat-navy-3));
  box-shadow: 0 10px 26px rgba(29,78,216,.4);
}
#chat-bubble:hover { transform: scale(1.07); box-shadow: 0 14px 32px rgba(29,78,216,.5); }

/* ---------- Toll-free phone CTA (navbar pill + trust bar + mobile) ---------- */
.phone-cta { align-items: center; gap: .55rem; padding: .35rem 1rem .35rem .4rem; border-radius: 999px;
  background: linear-gradient(135deg, #FFC439, #F5BC00); color: #142C8E !important; text-decoration: none;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(255, 196, 57, .35);
  animation: phone-pulse 2.6s ease-in-out infinite;
  transition: transform .15s ease, box-shadow .15s ease; }
.phone-cta:hover { color: #142C8E !important; transform: translateY(-1px) scale(1.02); box-shadow: 0 12px 28px rgba(255, 196, 57, .55); }
.phone-cta-icon { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; font-size: .95rem;
  background: #142C8E; color: #FFC439 !important; border: 1px solid rgba(20, 44, 142, .3);
  display: inline-flex; align-items: center; justify-content: center;
  animation: phone-ring 2.6s ease-in-out infinite; }
.phone-cta-label { display: block; font-size: .58rem; font-weight: 700; letter-spacing: .14em; opacity: .85; margin-bottom: .12rem; color: #142C8E; }
@keyframes phone-pulse {
  0%, 100% { box-shadow: 0 6px 16px rgba(255, 196, 57, .35); }
  50% { box-shadow: 0 8px 26px rgba(255, 196, 57, .6), 0 0 0 7px rgba(255, 196, 57, .14); }
}
@keyframes phone-ring {
  0%, 24%, 100% { transform: rotate(0); }
  4% { transform: rotate(-16deg); } 8% { transform: rotate(14deg); }
  12% { transform: rotate(-10deg); } 16% { transform: rotate(7deg); } 20% { transform: rotate(0); }
}
.trustbar-phone { font-size: 1rem; font-weight: 600; color: #ffffff !important; letter-spacing: .01em; }
.trustbar-phone:hover { color: #FFC439 !important; }
.trustbar-phone .bi { animation: phone-ring 2.6s ease-in-out infinite; display: inline-block; color: #FFC439; }
.phone-cta-mobile { font-size: .78rem; background: linear-gradient(135deg, #FFC439, #F5BC00); color: #142C8E !important;
  font-weight: 700; border: none; box-shadow: 0 4px 12px rgba(255, 196, 57, .35); animation: phone-pulse 2.6s ease-in-out infinite; }
.phone-cta-mobile:hover { color: #142C8E !important; }
@media (prefers-reduced-motion: reduce) { .phone-cta, .phone-cta-icon, .trustbar-phone .bi, .phone-cta-mobile { animation: none; } }

/* ---------- Product page: 360° viewer ---------- */
.pd-360-card { overflow: visible; }
.pd-360-frame { position: relative; aspect-ratio: 1 / 1; perspective: 1000px; cursor: grab;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  border-radius: .8rem; background: radial-gradient(80% 70% at 50% 38%, rgba(0, 112, 186, .08), transparent 75%); }
.pd-360-frame.dragging { cursor: grabbing; }
.pd-360-ring { position: absolute; left: 50%; top: 46%; width: 88%; aspect-ratio: 1; pointer-events: none;
  transform: translate(-50%, -50%) rotateX(70deg); border-radius: 50%;
  border: 1.5px dashed rgba(0, 112, 186, .4); animation: ring-spin 26s linear infinite; }
.pd-360-podium { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%);
  width: 64%; height: 44px; pointer-events: none; filter: blur(8px);
  background: radial-gradient(ellipse at center, rgba(0, 112, 186, .35) 0%, rgba(37, 99, 235, .15) 45%, transparent 72%); }
.pd-360-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; perspective: 1000px; }
.pd-360-img { width: 74%; max-height: 78%; object-fit: contain; pointer-events: none;
  transform-style: preserve-3d; will-change: transform;
  animation: pd-sway 9s ease-in-out infinite;
  filter: drop-shadow(0 26px 34px rgba(15, 30, 50, .3));
  -webkit-box-reflect: below 10px linear-gradient(transparent 74%, rgba(15, 30, 50, .12)); }
[data-bs-theme="dark"] .pd-360-img { filter: drop-shadow(0 26px 36px rgba(2, 6, 23, .55));
  -webkit-box-reflect: below 10px linear-gradient(transparent 72%, rgba(255, 255, 255, .1)); }
@keyframes pd-sway {
  0%   { transform: rotateY(-24deg) rotateX(3deg) translateY(0); }
  25%  { transform: rotateY(0deg) rotateX(0deg) translateY(-8px); }
  50%  { transform: rotateY(24deg) rotateX(-3deg) translateY(0); }
  75%  { transform: rotateY(0deg) rotateX(0deg) translateY(-8px); }
  100% { transform: rotateY(-24deg) rotateX(3deg) translateY(0); }
}
.pd-360-frame.tilting .pd-360-img { animation: none;
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) scale(1.03);
  transition: transform .12s ease-out; }
.pd-360-frame.dragging .pd-360-img { animation: none;
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) scale(1.05);
  transition: transform .04s linear; }
.pd-360-badge { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: .72rem; font-weight: 750; color: #fff; padding: .35rem .9rem; border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #0070BA); box-shadow: 0 8px 20px rgba(37, 99, 235, .35);
  pointer-events: none; }
.pd-360-badge .bi { animation: ring-rotate 3.2s linear infinite; display: inline-block; }
@keyframes ring-rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .pd-360-img, .pd-360-ring, .pd-360-badge .bi { animation: none; }
  .pd-360-frame.tilting .pd-360-img, .pd-360-frame.dragging .pd-360-img { transform: none; }
}

/* ---------- Misc ---------- */
.footer-dark { background: linear-gradient(135deg, #221231 0%, #171c36 45%, #0c3a47 100%); color: #b4b4bc; }
[data-bs-theme="dark"] .footer-dark { background: linear-gradient(135deg, #190d24 0%, #11152a 45%, #092c36 100%); border-top: 1px solid rgba(0, 156, 222, .15); }
.footer-dark a { color: #d9d9df; text-decoration: none; transition: color .15s ease; }
.footer-dark a:hover { color: #fff; }
.footer-dark h6 { letter-spacing: .04em; }
.cat-chip { border: 1px solid var(--bs-border-color); border-radius: 999px; padding: .45rem 1rem; font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--bs-body-color); display: inline-block; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.cat-chip:hover { border-color: var(--uc-blue); color: var(--uc-blue); background: rgba(0, 112, 186, .05); }
.pay-option { cursor: pointer; border: 2px solid var(--bs-border-color); border-radius: 12px; transition: border-color .15s ease; }
.pay-option.active { border-color: var(--uc-blue); background: rgba(0, 112, 186, .04); }
.pay-option.active.paypal { border-color: #0070BA; background: rgba(0, 112, 186, .05); }
.btn-paypal { background: #FFC439; color: #003087; font-weight: 700; }
.btn-paypal:hover { background: #f0b62e; color: #003087; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--uc-grad);
  color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}

/* Payment method mini badges (footer + checkout) */
.pay-badge {
  display: inline-block;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .2rem .45rem;
  border-radius: .25rem;
  background: #fff;
  color: #1e293b;
  border: 1px solid rgba(0,0,0,.15);
}
[data-bs-theme="dark"] .pay-badge { background: #e2e8f0; }

/* Footer social icons */
.social-circle {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #cbd5e1 !important;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.social-circle:hover { background: #0070BA; color: #fff !important; transform: translateY(-2px); }

/* Unavailable variant options: blurred + non-interactive */
.variant-blur {
  filter: blur(1px);
  opacity: .45;
  pointer-events: none;
  user-select: none;
}

/* ---------- Payment & trust badge images ---------- */
.pay-icon { height: 27px; width: auto; border-radius: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, .28); background: #fff; }
.pay-icon-sm { height: 21px; }
.trust-badge-img { height: 40px; width: auto; border-radius: 8px; box-shadow: 0 1px 4px rgba(0, 0, 0, .28); }

/* ---------- Mobile fixed contact strip (inside sticky header) ---------- */
.mobile-contact-strip { border-top: 1px solid var(--bs-border-color); background: var(--bs-body-bg); }
.mobile-contact-strip .btn { white-space: nowrap; }

/* ---------- Star rating input (Write a Review) ---------- */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; font-size: 1.7rem; line-height: 1; }
.star-input input { display: none; }
.star-input label { color: #cbd5e1; cursor: pointer; transition: color .15s ease, transform .15s ease; }
.star-input label:hover { transform: scale(1.12); }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #012169; }

/* ---------- Ask AI compact pill ---------- */
.ask-ai-pill { border-radius: 999px; background: linear-gradient(90deg, rgba(0, 112, 186, .1), rgba(0, 112, 186, .08));
  border: 1px solid rgba(0, 112, 186, .18); }
.ask-ai-mark { width: 34px; height: 34px; border-radius: 10px; font-size: .95rem; }

/* ---------- OS icons (Windows / Mac) ---------- */
.os-icon { width: 16px; height: 16px; object-fit: contain; vertical-align: -3px; }
.os-icon-lg { width: 22px; height: 22px; vertical-align: -5px; }
.os-badge { background: var(--bs-tertiary-bg); color: var(--bs-body-color); border: 1px solid var(--bs-border-color); font-weight: 650; }
.btn-primary .os-icon { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .8)); }

/* ---------- Shop toolbar + colorful sort ---------- */
.shop-toolbar { border-radius: 1rem; background: linear-gradient(90deg, rgba(0, 112, 186, .08), rgba(255, 196, 57, .07));
  border: 1px solid rgba(0, 112, 186, .15); }
.sort-label { background: var(--uc-grad); color: #fff; border-radius: 999px; padding: .32rem .85rem; font-size: .78rem; font-weight: 750; }
.sort-select { border: 2px solid rgba(0, 112, 186, .45); border-radius: 999px; font-weight: 700; color: var(--uc-blue);
  box-shadow: 0 2px 8px rgba(0, 112, 186, .12); padding-left: .9rem; }
.sort-select:focus { border-color: var(--uc-indigo); box-shadow: 0 0 0 .2rem rgba(0, 112, 186, .15); }
[data-bs-theme="dark"] .sort-select { color: #0070BA; border-color: rgba(0, 156, 222, .5); }

/* ---------- Header alignment ---------- */
.navbar .navbar-nav .nav-link { display: flex; align-items: center; }
.navbar-brand .brand-text { white-space: nowrap; }

/* ---------- Footer alignment ---------- */
.footer-dark h6 { margin-bottom: 1rem !important; }
.footer-dark ul li a { display: inline-block; padding: .05rem 0; }

/* ---------- Add to Cart buttons: royal blue (theme-matched) ---------- */
.add-to-cart-btn { background-image: linear-gradient(135deg, #3b82f6, #1d4ed8); border-color: transparent; color: #fff; }
.add-to-cart-btn:hover, .add-to-cart-btn:focus { background-image: linear-gradient(135deg, #2563eb, #1e40af); border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(37, 99, 235, .4); transform: translateY(-1px); }
.add-to-cart-btn:active { background-image: linear-gradient(135deg, #2563eb, #1e40af) !important; border-color: transparent !important; color: #fff !important; }
/* Added-to-cart state: deeper blue + check icon */
.add-to-cart-btn.added { background-image: linear-gradient(135deg, #1d4ed8, #1e3a8a); border-color: transparent; color: #fff; }
.add-to-cart-btn.added:hover, .add-to-cart-btn.added:focus { background-image: linear-gradient(135deg, #1e40af, #172554); border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(37, 99, 235, .4); transform: translateY(-1px); }

/* ---------- Cart remove button ---------- */
.cart-remove-btn { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(220, 38, 38, .3); background: rgba(220, 38, 38, .08); color: #dc2626;
  display: inline-flex; align-items: center; justify-content: center; font-size: .95rem;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.cart-remove-btn:hover { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff;
  transform: scale(1.1) rotate(8deg); box-shadow: 0 6px 16px rgba(220, 38, 38, .4); }
[data-bs-theme="dark"] .cart-remove-btn { background: rgba(248, 113, 113, .14); color: #f87171; border-color: rgba(248, 113, 113, .35); }
[data-bs-theme="dark"] .cart-remove-btn:hover { color: #fff; }

/* ---------- Checkout flow stepper ---------- */
.checkout-steps { gap: .6rem; }
.checkout-steps .step { display: flex; align-items: center; gap: .45rem; }
.step-dot { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bs-tertiary-bg); color: var(--bs-secondary-color); border: 2px solid var(--bs-border-color); font-size: .95rem;
  transition: box-shadow .2s ease; }
.step-label { font-size: .82rem; font-weight: 750; color: var(--bs-secondary-color); }
.step.done .step-dot { background: rgba(37, 99, 235, .12); color: #2563eb; border-color: rgba(37, 99, 235, .45); }
.step.done .step-label { color: #2563eb; }
.step.active .step-dot { background: var(--uc-grad); color: #fff; border-color: transparent; animation: step-pulse 2.2s ease-in-out infinite; }
.step.active .step-label { color: var(--uc-blue); }
[data-bs-theme="dark"] .step.active .step-label { color: #009CDE; }
.step-line { flex: 0 0 44px; height: 3px; border-radius: 3px; background: var(--bs-border-color); }
.step-line.done { background: linear-gradient(90deg, #2563eb, #0070BA); }
@keyframes step-pulse { 0%, 100% { box-shadow: 0 6px 16px rgba(0, 112, 186, .35); } 50% { box-shadow: 0 6px 24px rgba(0, 112, 186, .6); } }

/* ---------- Checkout summary + assist cards ---------- */
.summary-card { overflow: hidden; }
.summary-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--uc-grad); }
.summary-total { background: linear-gradient(90deg, rgba(0, 112, 186, .1), rgba(255, 196, 57, .08)); border: 1px solid rgba(0, 112, 186, .22); }
[data-bs-theme="dark"] .summary-total { background: linear-gradient(90deg, rgba(0, 156, 222, .14), rgba(0, 48, 135, .1)); border-color: rgba(0, 156, 222, .28); }
.assist-card { border: 1.5px dashed rgba(0, 112, 186, .35); border-radius: .9rem;
  background: linear-gradient(135deg, rgba(0, 112, 186, .06), rgba(255, 196, 57, .05)); }
[data-bs-theme="dark"] .assist-card { border-color: rgba(0, 156, 222, .4); background: linear-gradient(135deg, rgba(0, 156, 222, .1), rgba(0, 48, 135, .08)); }

/* ---------- Checkout phone: flag | code | number ---------- */
.phone-flag { font-size: 1.15rem; background: var(--bs-tertiary-bg); border-right: 0; }
.phone-code { font-weight: 700; color: var(--uc-blue); }
[data-bs-theme="dark"] .phone-code { color: #009CDE; }

/* ---------- Checkout canvas: stacked receipt-style banners ---------- */
.checkout-canvas { background: linear-gradient(180deg, #111223 0%, #1f2038 55%, #111223 100%); }
[data-bs-theme="dark"] .checkout-canvas { background: linear-gradient(180deg, #0e0f1e 0%, #1e1f37 55%, #0e0f1e 100%); }
.checkout-canvas .step-label { color: #c6c6cd; }
.checkout-canvas .step.done .step-label { color: #60a5fa; }
.checkout-canvas .step.active .step-label { color: #009CDE; }
.checkout-canvas .step-dot { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #c6c6cd; }
.checkout-canvas .step.done .step-dot { background: rgba(96, 165, 250, .15); color: #60a5fa; border-color: rgba(96, 165, 250, .45); }
.checkout-canvas .step.active .step-dot { background: var(--uc-grad); color: #fff; border-color: transparent; }
.checkout-canvas .step-line { background: rgba(255, 255, 255, .16); }
.checkout-canvas .step-line.done { background: linear-gradient(90deg, #60a5fa, #2563eb); }
/* Mobile checkout: prevent overlaps, keep everything readable */
@media (max-width: 575.98px) {
  .co-banner-secure { position: static !important; align-self: center; margin: 0 0 .5rem !important; }
  .checkout-steps { gap: .15rem; }
  .checkout-steps .step-line { flex: 0 0 14px; }
  .checkout-steps .step-label { font-size: .68rem; }
  .checkout-steps .step-dot { width: 30px; height: 30px; font-size: .8rem; }
  .back-to-cart { font-size: .72rem; }
  .card-brands { display: none !important; }
  .co-watermark svg { width: 220px; height: 220px; }
  .receipt-amount { font-size: 1.45rem; }
}
.checkout-canvas .back-to-cart { color: #009CDE; }
.co-banner { border: none; border-radius: 18px; box-shadow: 0 18px 44px rgba(2, 6, 23, .35); overflow: hidden; }
/* Very light brand watermark on the banner background */
.co-watermark { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%) rotate(-10deg);
  opacity: .045; pointer-events: none; z-index: 0; }
.co-watermark svg { width: 300px; height: 300px; }
[data-bs-theme="dark"] .co-watermark { opacity: .07; filter: brightness(1.9); }
.co-banner > *:not(.co-watermark) { position: relative; z-index: 1; }
.co-summary-sticky { position: sticky; top: 16px; }
.receipt-amount { font-size: 1.6rem; letter-spacing: -.5px; line-height: 1.1; }

/* Stylish banner columns: numbered heads + refined fields */
.co-head { border-bottom: 1px dashed var(--bs-border-color); padding-bottom: .6rem; }
.co-num { width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--uc-grad); color: #fff; font-weight: 800; font-size: 1rem;
  box-shadow: 0 6px 16px rgba(0, 112, 186, .35); }
.co-head-icon { font-size: 1.4rem; color: var(--uc-blue); opacity: .35; }
.co-banner .form-label { font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; color: var(--bs-secondary-color); margin-bottom: .2rem; }
.co-banner .form-control, .co-banner .form-select { border-radius: .65rem; padding: .42rem .65rem;
  background: rgba(0, 112, 186, .06); border: 1.5px solid rgba(0, 112, 186, .22);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.co-banner .form-control:hover, .co-banner .form-select:hover { border-color: rgba(0, 112, 186, .45); }
.co-banner .form-control:focus, .co-banner .form-select:focus { background: var(--bs-body-bg);
  border-color: var(--uc-blue); box-shadow: 0 0 0 .2rem rgba(0, 112, 186, .12); }
.co-banner .input-group .form-control, .co-banner .input-group .form-select { border-radius: 0; }
.co-banner .input-group > :first-child { border-top-left-radius: .65rem; border-bottom-left-radius: .65rem; }
.co-banner .input-group > :last-child { border-top-right-radius: .65rem; border-bottom-right-radius: .65rem; }
[data-bs-theme="dark"] .co-banner .form-control, [data-bs-theme="dark"] .co-banner .form-select { background: rgba(0, 156, 222, .06); border-color: rgba(0, 156, 222, .22); }
[data-bs-theme="dark"] .co-banner .form-control:focus, [data-bs-theme="dark"] .co-banner .form-select:focus { background: #1c1d33; border-color: #009CDE; }

/* Payment tiles — short & sweet */
.pay-tile { border-radius: 14px; }
.pay-tile:hover { border-color: rgba(0, 112, 186, .5); }
.pay-option.active { box-shadow: 0 0 0 3px rgba(0, 112, 186, .14); }
.pay-option.active.paypal { box-shadow: 0 0 0 3px rgba(0, 112, 186, .14); }

/* Card details drop-down reveal */
.card-form-reveal { animation: card-reveal .3s ease; }
.card-form-reveal.d-none { animation: none; }
@keyframes card-reveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Live card brand detection icons */
.card-brands { gap: .3rem; }
.card-brand-icon { height: 18px; width: auto; border-radius: 3px; opacity: .45;
  transition: opacity .2s ease, filter .2s ease, transform .2s ease; }
.card-brand-icon.dimmed { opacity: .15; filter: grayscale(100%); }
.card-brand-icon.active { opacity: 1; transform: scale(1.2); box-shadow: 0 2px 8px rgba(0, 112, 186, .35); }

/* ---------- Order success: blue tick ---------- */
.success-tick { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto;
  background: linear-gradient(135deg, #0070BA, #0070BA); color: #fff; font-size: 3rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 112, 186, .4);
  animation: tick-pop .55s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes tick-pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Footer Google Maps button ---------- */
.gmap-btn { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; font-size: .78rem;
  border-color: rgba(255, 255, 255, .35); transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.gmap-btn:hover { background: linear-gradient(135deg, #4285F4, #34A853); border-color: transparent;
  transform: translateY(-1px); box-shadow: 0 6px 16px rgba(66, 133, 244, .4); }
.gmap-pin { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #EA4335; color: #fff; font-size: .65rem; }

/* ---------- Cart badge bump ---------- */
.cart-bump { animation: cart-bump .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes cart-bump { 0% { transform: translate(-50%, -50%) scale(1); } 40% { transform: translate(-50%, -50%) scale(1.55); } 100% { transform: translate(-50%, -50%) scale(1); } }

/* ---------- Platform segmented filter (category toolbar) ---------- */
.platform-seg { background: var(--bs-body-bg); border: 1px solid rgba(0, 112, 186, .25); border-radius: 999px; }
[data-bs-theme="dark"] .platform-seg { border-color: rgba(0, 156, 222, .3); }
.platform-pill { display: inline-flex; align-items: center; padding: .3rem .85rem; border-radius: 999px;
  font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--bs-body-color);
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.platform-pill:hover { background: rgba(0, 112, 186, .08); color: var(--uc-blue); }
.platform-pill.active { background: var(--uc-grad); color: #fff !important; box-shadow: 0 4px 12px rgba(0, 112, 186, .3); }
.platform-pill.active .os-icon { filter: brightness(0) invert(1); }

/* ---------- Responsive: tablets & mobile ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse { padding: .5rem 0 .85rem; }
  .navbar-collapse .navbar-nav { margin-bottom: .5rem; }
  .navbar .dropdown-menu.mega { max-height: 60vh; box-shadow: none; border: 1px solid var(--bs-border-color); border-radius: .75rem; }
  .antivirus-menu { min-width: 100% !important; box-shadow: none !important; border: 1px solid var(--bs-border-color); }
  .mega-promo .text-lg-end { text-align: left !important; }
}

@media (max-width: 767.98px) {
  .footer-dark .row.g-4 > div { text-align: center; }
  .footer-dark .row.g-4 .d-flex:not(.justify-content-center):not(.justify-content-md-start):not(.justify-content-md-end) { justify-content: center; }
  .footer-dark form { margin-left: auto; margin-right: auto; }
  .footer-dark .text-md-end .d-flex, .footer-dark .text-md-start .d-flex, .footer-dark .text-md-center .d-flex { justify-content: center; }
  .page-head .text-lg-end { text-align: left !important; }
}

@media (max-width: 575.98px) {
  .topbar { font-size: .72rem; }
  .hero h1 { font-size: 1.95rem; }
  .hero .fs-5 { font-size: 1rem !important; }
  .hero-stats { gap: 1.4rem !important; }
  .hero-stats .fs-3 { font-size: 1.3rem !important; }
  .hero-showcase { width: min(340px, 96%); margin-top: .5rem; }
  .hero-rating-chip { left: 4px; }
  .hero-tile { width: 42px; height: 42px; border-radius: 11px; }
  .hero-tile img { width: 23px; height: 23px; }
  .hero-brand-watermark { margin-left: -120px; margin-top: -120px; }
  .hero-brand-watermark svg { width: 240px; height: 240px; }
  body.has-deal-bar { padding-bottom: 86px; }
  body.has-deal-bar #chat-bubble { bottom: 104px; }
  body.has-deal-bar #chat-panel { bottom: 170px; }
  .deal-bar .container { padding-right: 2.4rem; }
  .deal-bar-flash { display: none; }
  .deal-bar .fw-bold.small { font-size: .72rem; }
  .deal-bar .small { font-size: .7rem; }
  .deal-cta { padding: .2rem .8rem; font-size: .72rem; }
  .page-content { overflow-x: hidden; }
  .page-content table { display: block; overflow-x: auto; }
  #chat-panel { height: min(460px, 68vh); bottom: 88px; right: 16px; }
  #chat-bubble { bottom: 18px; right: 16px; width: 52px; height: 52px; font-size: 1.25rem; }
  .pay-icon { height: 23px; }
  .trust-badge-img { height: 36px; }
  .display-4, .display-5 { font-size: 2rem; }
  .reviews-cta h2 { font-size: 1.3rem; }
}

/* =================================================================
   Stock pills — public site product listings & detail page
   ================================================================= */
.pc-stock-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 3px 10px;
  border-radius: 999px;
  line-height: 1.5;
  border: 1px solid transparent;
  white-space: nowrap;
}
.pc-stock-pill.pc-stock-lg { font-size: 13.5px; padding: 6px 14px; }
.pc-stock-pill.is-in   { background:#dcfce7; color:#166534; border-color:#a7f3d0; }
.pc-stock-pill.is-low  { background:#fff7ed; color:#9a3412; border-color:#FFEFC2; }
.pc-stock-pill.is-out  { background:#fee2e2; color:#991b1b; border-color:#fecaca; }
[data-bs-theme="dark"] .pc-stock-pill.is-in   { background: rgba(34,197,94,.15);  color:#86efac; border-color: rgba(34,197,94,.35); }
[data-bs-theme="dark"] .pc-stock-pill.is-low  { background: rgba(249,115,22,.18); color:#fdba74; border-color: rgba(249,115,22,.35); }
[data-bs-theme="dark"] .pc-stock-pill.is-out  { background: rgba(239,68,68,.18);  color:#fca5a5; border-color: rgba(239,68,68,.35); }

/* Dim the whole card slightly when out of stock */
.product-card.is-out-of-stock { opacity: .82; }
.product-card.is-out-of-stock .product-img-wrap img { filter: grayscale(.35); }

/* =================================================================
   Product-card buttons — compact dual "Add" + "Buy Now" pair
   (matches the orange/white pill style on the product detail page)
   ================================================================= */
.pc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13.5px; font-weight: 700; line-height: 1;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap; cursor: pointer;
}
.pc-btn .bi { font-size: 14px; }
.pc-btn:hover { transform: translateY(-1px); }
.pc-btn-cart   { background: linear-gradient(135deg, #FFC439, #F5BC00); color: #fff; box-shadow: 0 4px 12px rgba(234,88,12,.30); }
.pc-btn-cart:hover  { background: linear-gradient(135deg, #fb923c, #FFC439); box-shadow: 0 6px 16px rgba(234,88,12,.40); color:#fff; }
.pc-btn-buy    { background: linear-gradient(135deg, #fff4ed, #ffedd5); color: #c2410c; border-color: #fdba74; box-shadow: 0 2px 6px rgba(249,115,22,.10); }
.pc-btn-buy:hover   { background: linear-gradient(135deg, #FFC439, #F5BC00); border-color: #F5BC00; color: #fff; box-shadow: 0 8px 20px rgba(234,88,12,.45); transform: translateY(-2px); }
.pc-btn-buy:hover .bi { color: #fff; }
.pc-btn-notify { background: #f1f5f9; color: #64748b; border-color: #e2e8f0; cursor: not-allowed; }
.pc-btn-notify:hover { transform: none; }
[data-bs-theme="dark"] .pc-btn-buy    { background: rgba(249,115,22,.10); color: #fdba74; border-color: rgba(249,115,22,.40); box-shadow: none; }
[data-bs-theme="dark"] .pc-btn-buy:hover { background: linear-gradient(135deg, #FFC439, #F5BC00); border-color: #F5BC00; color: #fff; box-shadow: 0 8px 20px rgba(234,88,12,.5); }
[data-bs-theme="dark"] .pc-btn-notify { background: rgba(148,163,184,.12); color: #94a3b8; border-color: rgba(148,163,184,.3); }

/* Hide the label on the very narrow card width so only the icon shows */
@media (max-width: 380px) {
  .pc-btn .pc-btn-label { display: none; }
}

/* Product detail page — orange-outlined Buy Now to match screenshot */
.btn-orange-solid   { background: linear-gradient(135deg, #FFC439, #F5BC00); color: #fff; border: 1.5px solid transparent; box-shadow: 0 6px 16px rgba(234,88,12,.32); }
.btn-orange-solid:hover, .btn-orange-solid:focus { background: linear-gradient(135deg, #fb923c, #FFC439); color: #fff; box-shadow: 0 10px 24px rgba(234,88,12,.42); transform: translateY(-1px); }
.btn-orange-outline { background: linear-gradient(135deg, #fff4ed, #ffedd5); color: #c2410c; border: 1.5px solid #fdba74; box-shadow: 0 2px 8px rgba(249,115,22,.12); }
.btn-orange-outline:hover, .btn-orange-outline:focus { background: linear-gradient(135deg, #ffedd5, #FFEFC2); color: #9a3412; border-color: #FFC439; box-shadow: 0 6px 16px rgba(249,115,22,.22); }
[data-bs-theme="dark"] .btn-orange-outline { background: rgba(249,115,22,.10); color: #fdba74; border-color: rgba(249,115,22,.40); box-shadow: none; }
[data-bs-theme="dark"] .btn-orange-outline:hover { background: rgba(249,115,22,.18); border-color: #FFC439; color: #fff; }

/* =================================================================
   Icon-text spacing — prevents Bootstrap-Icons from touching the
   label that follows them. Applies globally so any new button gets
   correct spacing automatically.
   ================================================================= */
.btn .bi,
.btn i[class^="bi-"],
.s-badge .bi,
.s-badge i[class^="bi-"],
.kpi-label .bi,
.sidebar a .bi,
.adm-topbar .bi,
nav .bi,
.dropdown-item .bi,
.card-head .ttl .bi,
.card-head .ttl i[class^="bi-"] { margin-right: .45rem; }

/* When the icon is the LAST thing inside the element (e.g. ".btn ... <i>↗</i>"),
   add left margin instead of right */
.btn > .bi:last-child,
.btn > i[class^="bi-"]:last-child { margin-right: 0; margin-left: .45rem; }

/* Sidebar items: ensure 14px gap between icon and label so labels never overlap */
.sidebar .item { gap: .65rem; }
.sidebar .item .bi { flex-shrink: 0; }

/* Form controls: prevent icon prefix from kissing the input */
.input-group-text .bi { margin: 0; }

/* Toasts / alerts: lead-icon breathing room */
.alert .bi,
.toast .bi { margin-right: .55rem; }


/* ============================================================
   PayPal-inspired polish (Fivecodelab Software)
   Clean white surfaces, PayPal navy/blue + signature yellow CTAs.
   Loaded LAST so this layer wins the cascade for the new brand.
   ============================================================ */

/* PayPal brand tokens — single source of truth for the polished theme */
:root {
  --pp-blue:       #0070BA;
  --pp-blue-dark:  #003087;
  --pp-navy:       #012169;
  --pp-light:      #009CDE;
  --pp-yellow:     #FFC439;
  --pp-yellow-dk:  #F5BC00;
  --pp-bg:         #ffffff;
  --pp-bg-soft:    #F5F7FA;
  --pp-text:       #2c2e2f;
  --pp-text-soft:  #6c7378;
  --pp-border:     #e6e9ec;
}

body {
  font-family: "Helvetica Neue", "Manrope", "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--pp-bg);
  color: var(--pp-text);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  color: var(--pp-blue-dark);
  font-weight: 800;
  letter-spacing: -.015em;
}

/* Brand wordmark — solid PayPal navy + light-blue accent (no shimmer) */
body .brand-grad,
.logo-3d .brand-grad {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: var(--pp-light) !important;
  animation: none !important;
}
.brand-text { color: var(--pp-blue-dark) !important; }
[data-bs-theme="dark"] .brand-text, .footer-dark .brand-text { color: #fff !important; }
[data-bs-theme="dark"] .brand-grad, .footer-dark .brand-grad { color: var(--pp-light) !important; }
.brand-tag { color: var(--pp-text-soft); }

/* Promo bar / trust bar — solid PayPal navy ribbon */
.topbar {
  background: var(--pp-blue-dark) !important;
  color: #fff;
  font-size: .85rem;
  letter-spacing: .01em;
}
.topbar strong { color: var(--pp-yellow); }
.trustbar { background: var(--pp-navy) !important; color: #cfd6e0; border-top: 1px solid rgba(255,255,255,.08); }
.trustbar-webmail:hover { color: var(--pp-yellow) !important; }

/* Sticky navbar — pure white, subtle hairline */
.navbar.sticky-top {
  background: #ffffff !important;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--pp-border) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.navbar .nav-link.fw-semibold { color: var(--pp-blue-dark) !important; font-weight: 700; }
.navbar .nav-link.fw-semibold:hover { color: var(--pp-blue) !important; }

/* Buttons — flat PayPal-style (no rainbow gradients) */
body .btn-primary,
.btn.btn-primary {
  background: var(--pp-blue) !important;
  background-image: none !important;
  border: 1px solid var(--pp-blue) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: none !important;
}
body .btn-primary:hover,
.btn.btn-primary:hover,
body .btn-primary:focus {
  background: var(--pp-blue-dark) !important;
  border-color: var(--pp-blue-dark) !important;
  color: #fff !important;
  transform: none !important;
}
.btn-outline-primary {
  --bs-btn-color: var(--pp-blue);
  --bs-btn-border-color: var(--pp-blue);
  --bs-btn-hover-bg: var(--pp-blue);
  --bs-btn-hover-border-color: var(--pp-blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--pp-blue-dark);
  --bs-btn-active-border-color: var(--pp-blue-dark);
}
.btn-outline-primary:hover { background-image: none !important; }

/* Signature PayPal yellow CTA (Shop Now, etc.) */
.btn-hero-cta {
  background: var(--pp-yellow) !important;
  background-image: none !important;
  color: #142C8E !important;
  border: 1px solid var(--pp-yellow) !important;
  font-weight: 800;
  box-shadow: 0 1px 0 rgba(0,0,0,.04) !important;
}
.btn-hero-cta:hover, .btn-hero-cta:focus {
  background: var(--pp-yellow-dk) !important;
  border-color: var(--pp-yellow-dk) !important;
  color: #142C8E !important;
  transform: none !important;
  box-shadow: 0 4px 12px rgba(0,48,135,.18) !important;
}
.btn-hero-ghost {
  color: var(--pp-blue) !important;
  background: #fff !important;
  border: 1.5px solid var(--pp-blue) !important;
  font-weight: 700;
}
.btn-hero-ghost:hover { background: #EAF3FB !important; color: var(--pp-blue-dark) !important; border-color: var(--pp-blue-dark) !important; }

/* Hero — PayPal-style: white background, dark-navy headline, friendly blue accent, lots of whitespace */
.hero {
  background: #ffffff !important;
  color: var(--pp-text);
  padding: 5.5rem 0 5rem;
  border-bottom: 1px solid var(--pp-border);
}
.hero::before {
  background:
    radial-gradient(900px 500px at 8% -10%, rgba(0,112,186,.08), transparent 60%),
    radial-gradient(700px 420px at 100% 110%, rgba(255,196,57,.10), transparent 65%) !important;
}
.hero h1 {
  font-weight: 800 !important;
  color: var(--pp-blue-dark) !important;
  font-size: clamp(2.1rem, 4vw, 3.1rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -.02em !important;
}
.hero .accent {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: var(--pp-blue) !important;
}
.hero .text-secondary, .hero ul li { color: var(--pp-text-soft) !important; }
.hero ul li i { color: var(--pp-blue) !important; }
.hero-badge {
  color: var(--pp-blue-dark) !important;
  background: #EAF3FB !important;
  border: 1px solid #C9DDF0 !important;
}
.hero .hero-stats .fs-3 { color: var(--pp-blue-dark) !important; }
.hero .hero-stats small { color: var(--pp-text-soft) !important; }

/* Eyebrow — solid PayPal blue */
.eyebrow { color: var(--pp-blue) !important; }

/* Soft section background — PayPal section divider feel */
.bg-soft { background: var(--pp-bg-soft) !important; }

/* Page-head band — soft blue wash */
.page-head { background: linear-gradient(180deg, #F5F9FD 0%, #ffffff 100%) !important; }

/* Cards — clean, hairline border, subtle hover lift */
.card { border-radius: 14px; border: 1px solid var(--pp-border); box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.product-card:hover { box-shadow: 0 12px 28px rgba(0,48,135,.10); border-color: #C9DDF0; }
.product-card:hover .product-title { color: var(--pp-blue) !important; }
.product-card:hover .product-img-wrap { border-color: #C9DDF0 !important; }

/* Spotlight separator (homepage best-sellers strip) */
.spotlight-card::before {
  background: linear-gradient(90deg, var(--pp-blue), var(--pp-blue-dark) 50%, var(--pp-yellow)) !important;
}

/* Mega menu accents */
.mega .mega-heading, .antivirus-menu .mega-heading,
.filter-group-title { color: var(--pp-blue) !important; }
.mega-year:hover, .antivirus-menu .mega-link:hover, .mega a.mega-link:hover { color: var(--pp-blue-dark) !important; }

/* Page-content headings — PayPal navy with hairline accent */
.page-content h2 { color: var(--pp-blue-dark); border-bottom: 2px solid #DDE6F2 !important; }
.page-content thead { background: #EAF3FB !important; color: var(--pp-blue-dark); }

/* Accordion (FAQ) — PayPal blue active */
.accordion-button:not(.collapsed) { background: #EAF3FB !important; color: var(--pp-blue-dark) !important; }

/* Footer — PayPal navy with crisp readability */
.footer-dark { background: var(--pp-navy) !important; color: #cfd6e0; }
.footer-dark a { color: #cfd6e0; text-decoration: none; }
.footer-dark a:hover { color: var(--pp-yellow); }
.footer-dark .text-info { color: var(--pp-light) !important; }
.footer-dark .text-warning { color: var(--pp-yellow) !important; }
.footer-dark hr { border-color: rgba(255,255,255,.12); }
.footer-dark .text-secondary { color: #9fa7b4 !important; }
.footer-dark .border-secondary { border-color: rgba(255,255,255,.12) !important; }

/* Deal bar — flat PayPal navy ribbon */
.deal-bar { background: var(--pp-blue-dark) !important; color: #fff; box-shadow: 0 -6px 18px rgba(0,0,0,.18); }
.deal-bar .deal-code { color: var(--pp-yellow) !important; }
.deal-bar .deal-countdown { color: #fff !important; }
.deal-bar-flash { color: var(--pp-yellow) !important; }

/* "For Every Business" biz-card — PayPal gradient */
.biz-card {
  background: linear-gradient(135deg, var(--pp-blue-dark) 0%, var(--pp-blue) 100%) !important;
  box-shadow: 0 14px 32px rgba(0,48,135,.28) !important;
}

/* Chat bubble — PayPal blue */
#chat-bubble {
  background: var(--pp-blue) !important;
  background-image: none !important;
  box-shadow: 0 10px 22px rgba(0,48,135,.32) !important;
}
#chat-bubble:hover { background: var(--pp-blue-dark) !important; }

/* Toasts — PayPal navy ribbon with yellow accent */
.mv-toast {
  background: linear-gradient(135deg, var(--pp-blue-dark) 0%, var(--pp-navy) 100%) !important;
  border-color: rgba(255,255,255,.18) !important;
}
.mv-toast-icon {
  background: var(--pp-yellow) !important;
  color: #142C8E !important;
  box-shadow: 0 4px 10px rgba(255,196,57,.35) !important;
}
.mv-toast-action {
  background: var(--pp-yellow) !important;
  color: #142C8E !important;
  box-shadow: none !important;
}

/* Phone CTA in navbar — kept consistent in both themes by .phone-cta base rules
   (navy-on-yellow). No further override here. */

/* Hero showcase tweaks — replace orange glow with PayPal yellow accent */
.hero-art-glow.glow-1 { background: var(--pp-blue) !important; opacity: .22 !important; }
.hero-art-glow.glow-2 { background: var(--pp-yellow) !important; opacity: .20 !important; }
.gc-key-icon { background: var(--pp-yellow) !important; color: #142C8E !important; box-shadow: 0 4px 10px rgba(255,196,57,.45) !important; }

/* Forms */
.form-control:focus, .form-select:focus {
  border-color: var(--pp-blue) !important;
  box-shadow: 0 0 0 .2rem rgba(0,112,186,.18) !important;
}

/* Selection */
::selection { background: rgba(0,112,186,.18); }

/* Bigger, calmer container spacing for a PayPal-clean rhythm */
@media (min-width: 992px) {
  section.py-5 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
}

/* ============================================================
   Hero Orbit — 6 bouncing satellite icons + cycling central spotlight
   (mirrors the design used on fivecodelabsoftware.com)
   ============================================================ */
.hero-orbit {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  perspective: 1200px;
}
/* Soft glow behind the entire orbit */
.hero-orbit .orbit-glow {
  position: absolute; inset: 8% 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(0,112,186,.22), transparent 62%),
    radial-gradient(circle at 30% 70%, rgba(255,196,57,.18), transparent 60%);
  filter: blur(34px);
  pointer-events: none;
  animation: orbit-glow-pulse 7s ease-in-out infinite;
}
@keyframes orbit-glow-pulse {
  0%, 100% { transform: scale(1);    opacity: .9; }
  50%      { transform: scale(1.08); opacity: 1; }
}

/* Two concentric dashed rings — rotate in opposite directions */
.hero-orbit .orbit-ring {
  position: absolute; left: 50%; top: 50%;
  border-radius: 50%;
  border: 1.5px dashed rgba(0,48,135,.22);
  transform: translate(-50%, -50%) rotateX(64deg) rotate(0deg);
  pointer-events: none;
  will-change: transform;
}
.hero-orbit .orbit-ring--outer {
  width: 92%; aspect-ratio: 1;
  animation: orbit-ring-spin 28s linear infinite;
  border-color: rgba(0,48,135,.22);
}
.hero-orbit .orbit-ring--inner {
  width: 64%; aspect-ratio: 1;
  animation: orbit-ring-spin-rev 18s linear infinite;
  border-color: rgba(0,112,186,.32);
  border-style: dotted;
  border-width: 2px;
}
@keyframes orbit-ring-spin {
  to { transform: translate(-50%, -50%) rotateX(64deg) rotate(360deg); }
}
@keyframes orbit-ring-spin-rev {
  to { transform: translate(-50%, -50%) rotateX(64deg) rotate(-360deg); }
}

/* Satellite icon tiles — white rounded squares with the app artwork inside */
.hero-orbit .orbit-icon {
  position: absolute;
  width: 70px; height: 70px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(0,48,135,.10);
  box-shadow:
    0 10px 24px rgba(0,48,135,.18),
    0 2px 6px rgba(0,48,135,.08),
    inset 0 -4px 10px rgba(0,48,135,.04);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px;
  text-decoration: none;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1),
              box-shadow .3s ease,
              border-color .3s ease;
  will-change: transform;
  z-index: 3;
}
.hero-orbit .orbit-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}
.hero-orbit .orbit-icon:hover {
  transform: translate(-50%, -50%) scale(1.14) !important;
  border-color: rgba(0,112,186,.5);
  box-shadow: 0 18px 36px rgba(0,48,135,.32);
  z-index: 5;
}
.hero-orbit .orbit-icon.is-active {
  border-color: var(--pp-yellow, #FFC439);
  box-shadow:
    0 0 0 3px rgba(255,196,57,.35),
    0 18px 36px rgba(0,48,135,.32);
}

/* Six positions around the centre — outer ring */
.hero-orbit .orbit-pos-1 { top:  6%; left: 50%; transform: translate(-50%, -50%); animation: orbit-bounce-a 4.6s ease-in-out infinite;        animation-delay: .0s; }
.hero-orbit .orbit-pos-2 { top: 24%; left: 90%; transform: translate(-50%, -50%); animation: orbit-bounce-b 4.2s ease-in-out infinite;        animation-delay: .35s; }
.hero-orbit .orbit-pos-3 { top: 76%; left: 90%; transform: translate(-50%, -50%); animation: orbit-bounce-a 5.0s ease-in-out infinite reverse; animation-delay: .7s; }
.hero-orbit .orbit-pos-4 { top: 94%; left: 50%; transform: translate(-50%, -50%); animation: orbit-bounce-b 4.4s ease-in-out infinite;        animation-delay: 1.05s; }
.hero-orbit .orbit-pos-5 { top: 76%; left: 10%; transform: translate(-50%, -50%); animation: orbit-bounce-a 4.8s ease-in-out infinite reverse; animation-delay: 1.4s; }
.hero-orbit .orbit-pos-6 { top: 24%; left: 10%; transform: translate(-50%, -50%); animation: orbit-bounce-b 4.6s ease-in-out infinite;        animation-delay: 1.75s; }

/* Two slightly different bounce patterns — preserve the centring transform */
@keyframes orbit-bounce-a {
  0%, 100% { transform: translate(-50%, -50%) translateY(0)    rotate(0deg); }
  50%      { transform: translate(-50%, -50%) translateY(-12px) rotate(2deg); }
}
@keyframes orbit-bounce-b {
  0%, 100% { transform: translate(-50%, -50%) translateY(0)    rotate(0deg); }
  50%      { transform: translate(-50%, -50%) translateY(-9px)  rotate(-2deg); }
}

/* Central spotlight — the featured app tile */
.hero-orbit .orbit-spotlight {
  position: absolute; left: 50%; top: 50%;
  width: 36%; aspect-ratio: 1;
  border-radius: 28%;
  background: #ffffff;
  border: 1px solid rgba(0,48,135,.10);
  box-shadow:
    0 30px 60px rgba(0,48,135,.32),
    0 8px 22px rgba(0,48,135,.18),
    inset 0 -8px 18px rgba(0,48,135,.05);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px;
  transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.34, 1.45, .64, 1),
              box-shadow .35s ease;
  text-decoration: none;
  z-index: 4;
  animation: orbit-spot-float 6s ease-in-out infinite;
}
.hero-orbit .orbit-spotlight:hover {
  transform: translate(-50%, -50%) scale(1.05) rotateY(0deg);
  box-shadow:
    0 36px 72px rgba(0,48,135,.4),
    0 10px 24px rgba(0,48,135,.22);
}
.hero-orbit .orbit-spotlight.is-switching {
  animation: orbit-spot-flip .9s cubic-bezier(.55, .05, .25, 1);
}
@keyframes orbit-spot-flip {
  0%   { transform: translate(-50%, -50%) scale(1)    rotateY(0deg); }
  45%  { transform: translate(-50%, -50%) scale(.85)  rotateY(82deg); opacity: .85; }
  55%  { transform: translate(-50%, -50%) scale(.85)  rotateY(-82deg); opacity: .85; }
  100% { transform: translate(-50%, -50%) scale(1)    rotateY(0deg); }
}
@keyframes orbit-spot-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0)    scale(1); }
  50%      { transform: translate(-50%, -50%) translateY(-6px) scale(1.02); }
}
.hero-orbit .orbit-spotlight-glow {
  position: absolute; inset: -22%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,112,186,.28), rgba(0,112,186,.05) 50%, transparent 72%),
    radial-gradient(circle at 70% 30%, rgba(255,196,57,.22), transparent 65%);
  filter: blur(18px);
  z-index: -1;
  animation: orbit-spot-glow 5s ease-in-out infinite;
}
@keyframes orbit-spot-glow {
  0%, 100% { transform: scale(1); opacity: .85; }
  50%      { transform: scale(1.08); opacity: 1; }
}
.hero-orbit .orbit-spotlight-img-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  border-radius: inherit;
  overflow: hidden;
}
.hero-orbit .orbit-spotlight-img-wrap img {
  width: 86%; height: 86%; object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0,48,135,.18));
}

/* Caption beneath the spotlight */
.hero-orbit .orbit-spotlight-caption {
  position: absolute; left: 50%; bottom: -6%;
  transform: translate(-50%, 100%);
  width: max-content; max-width: 80%;
  text-align: center;
  z-index: 4;
}
.hero-orbit .orbit-eyebrow {
  display: inline-block;
  font-size: .62rem; font-weight: 800; letter-spacing: .22em;
  color: var(--pp-blue, #0070BA);
  background: rgba(0,112,186,.08);
  border: 1px solid rgba(0,112,186,.22);
  border-radius: 999px;
  padding: .22rem .65rem;
  margin-bottom: .5rem;
}
.hero-orbit .orbit-spotlight-name {
  font-weight: 800;
  color: var(--pp-blue-dark, #003087);
  font-size: 1.05rem;
  line-height: 1.15;
}
.hero-orbit .orbit-spotlight-tag {
  font-size: .76rem;
  color: var(--pp-text-soft, #6c7378);
  margin-top: .15rem;
}

/* Floating side pills (Keys in 15-30 min, ★ rating chip) */
.hero-orbit .hero-delivery-pill.orbit-delivery {
  position: absolute; top: 0; right: -4%;
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .74rem; font-weight: 800; color: #142C8E;
  padding: .42rem .85rem; border-radius: 999px;
  background: var(--pp-yellow, #FFC439);
  border: 1px solid rgba(0,48,135,.12);
  box-shadow: 0 10px 22px rgba(255,196,57,.42);
  animation: orbit-pill-float 4s ease-in-out infinite;
  z-index: 6;
}
.hero-orbit .hero-rating-chip.orbit-rating-chip {
  position: absolute; left: -6%; bottom: 14%;
  background: #fff !important;
  border: 1px solid var(--pp-border, #e6e9ec) !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 22px rgba(0,48,135,.18) !important;
  animation: orbit-pill-float 4.4s ease-in-out infinite;
  animation-delay: 1.2s;
  white-space: nowrap;
  z-index: 6;
}
@keyframes orbit-pill-float {
  0%, 100% { transform: translateY(0)    rotate(0deg); }
  50%      { transform: translateY(-7px) rotate(-1deg); }
}

/* Responsive: smaller satellites on mobile, hide eyebrow chip & rating side-pill at very small sizes */
@media (max-width: 768px) {
  .hero-orbit { width: min(360px, 92%); }
  .hero-orbit .orbit-icon { width: 56px; height: 56px; border-radius: 14px; padding: 7px; }
  .hero-orbit .orbit-spotlight { padding: 10px; }
  .hero-orbit .orbit-spotlight-name { font-size: .95rem; }
}
@media (max-width: 480px) {
  .hero-orbit .hero-rating-chip.orbit-rating-chip { display: none; }
}

/* Hide the legacy hero-showcase decorations if any other page still ships them */
.hero-orbit + .hero-showcase, .hero-orbit ~ .hero-photo-link { display: none; }

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-orbit .orbit-ring,
  .hero-orbit .orbit-glow,
  .hero-orbit .orbit-spotlight,
  .hero-orbit .orbit-spotlight-glow,
  .hero-orbit .orbit-icon,
  .hero-orbit .hero-delivery-pill,
  .hero-orbit .hero-rating-chip { animation: none !important; }
}


/* ============================================================
   Dark Mode — Elegant PayPal-dark theme
   Goal: every word remains crisp & visible, the brand stays
   recognizably "PayPal" (navy + sky-blue + yellow accents).
   ============================================================ */
[data-bs-theme="dark"] {
  /* Palette overrides — deep navy surfaces, sky-blue accents */
  --pp-bg:        #0A1330;         /* page background */
  --pp-bg-soft:   #0F1B3F;         /* alt section bg */
  --pp-text:      #E6EAF5;
  --pp-text-soft: #A5B1CC;
  --pp-border:    rgba(168, 200, 236, .18);
  --pp-blue:      #4DA9F0;         /* lighter blue for dark surfaces */
  --pp-blue-dark: #8AB8E8;         /* heading/link tone — clearly readable on navy */
  --pp-navy:      #050B1F;         /* footer & toast deepest */
  --pp-light:     #7CD3FF;
  --pp-yellow:    #FFC439;
  --pp-yellow-dk: #F5BC00;

  /* Bootstrap tokens */
  --bs-body-bg:        #0A1330;
  --bs-body-color:     #E6EAF5;
  --bs-emphasis-color: #ffffff;
  --bs-secondary-color: #A5B1CC;
  --bs-tertiary-bg:    #142046;
  --bs-secondary-bg:   #182550;
  --bs-border-color:   rgba(168, 200, 236, .18);
  --bs-link-color:     #7CD3FF;
  --bs-link-hover-color: #ffffff;
  --bs-link-color-rgb: 124, 211, 255;
  --bs-primary:        #4DA9F0;
  --bs-primary-rgb:    77, 169, 240;
}

[data-bs-theme="dark"] body {
  background: var(--pp-bg);
  color: var(--pp-text);
}

/* Headings stay readable — light blue/white instead of dark navy */
[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6,
[data-bs-theme="dark"] .h1, [data-bs-theme="dark"] .h2, [data-bs-theme="dark"] .h3,
[data-bs-theme="dark"] .h4, [data-bs-theme="dark"] .h5, [data-bs-theme="dark"] .h6,
[data-bs-theme="dark"] .display-1, [data-bs-theme="dark"] .display-2, [data-bs-theme="dark"] .display-3,
[data-bs-theme="dark"] .display-4, [data-bs-theme="dark"] .display-5, [data-bs-theme="dark"] .display-6 {
  color: #ffffff;
}

/* Text utility classes */
[data-bs-theme="dark"] .text-body        { color: #E6EAF5 !important; }
[data-bs-theme="dark"] .text-secondary   { color: #A5B1CC !important; }
[data-bs-theme="dark"] .text-muted       { color: #94A0BC !important; }
[data-bs-theme="dark"] .text-primary     { color: #7CD3FF !important; }
[data-bs-theme="dark"] .text-dark        { color: #E6EAF5 !important; }
[data-bs-theme="dark"] .text-bg-light    { background: #182550 !important; color: #E6EAF5 !important; border-color: rgba(168,200,236,.16) !important; }
[data-bs-theme="dark"] .badge.text-bg-light { background: #182550 !important; color: #E6EAF5 !important; }

/* Brand wordmark in dark mode — light blue accent stays */
[data-bs-theme="dark"] .brand-text       { color: #ffffff !important; }
[data-bs-theme="dark"] .brand-grad,
[data-bs-theme="dark"] .logo-3d .brand-grad { color: #7CD3FF !important; }
[data-bs-theme="dark"] .brand-tag        { color: #A5B1CC !important; }

/* Sticky navbar — translucent indigo glass */
[data-bs-theme="dark"] .navbar.sticky-top {
  background: rgba(10, 19, 48, .92) !important;
  border-bottom: 1px solid rgba(168, 200, 236, .12) !important;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,.25);
}
[data-bs-theme="dark"] .navbar .nav-link.fw-semibold         { color: #E6EAF5 !important; }
[data-bs-theme="dark"] .navbar .nav-link.fw-semibold:hover   { color: #7CD3FF !important; }
[data-bs-theme="dark"] .navbar .dropdown-menu                { background: #142046 !important; color: #E6EAF5 !important; border-color: rgba(168,200,236,.12) !important; box-shadow: 0 18px 38px rgba(0,0,0,.5) !important; }
[data-bs-theme="dark"] .navbar .dropdown-menu .dropdown-item { color: #E6EAF5 !important; }
[data-bs-theme="dark"] .navbar .dropdown-menu .dropdown-item:hover { background: #1B2A5E !important; color: #ffffff !important; }
[data-bs-theme="dark"] .mega-year                            { color: #E6EAF5 !important; }
[data-bs-theme="dark"] .mega-year:hover                      { color: #7CD3FF !important; }
[data-bs-theme="dark"] .mega .mega-link, [data-bs-theme="dark"] .antivirus-menu .mega-link { color: #A5B1CC !important; }

/* Promo bar / trust bar / deal bar — keep navy, tighten contrast */
[data-bs-theme="dark"] .topbar     { background: #050B1F !important; color: #fff; }
[data-bs-theme="dark"] .topbar strong { color: var(--pp-yellow) !important; }
[data-bs-theme="dark"] .trustbar   { background: #02061A !important; color: #cfd6e0; }
[data-bs-theme="dark"] .deal-bar   { background: #050B1F !important; color: #fff !important; box-shadow: 0 -6px 18px rgba(0,0,0,.5); }

/* Hero — elegant dark navy surface with subtle radial wash */
[data-bs-theme="dark"] .hero {
  background:
    radial-gradient(900px 540px at 8% -10%, rgba(77,169,240,.20), transparent 60%),
    radial-gradient(700px 460px at 100% 110%, rgba(255,196,57,.10), transparent 65%),
    #0A1330 !important;
  color: #E6EAF5;
  border-bottom: 1px solid rgba(168, 200, 236, .12);
}
[data-bs-theme="dark"] .hero::before { display: none; }
[data-bs-theme="dark"] .hero h1         { color: #ffffff !important; }
[data-bs-theme="dark"] .hero .accent    { color: #7CD3FF !important; }
[data-bs-theme="dark"] .hero .text-secondary, [data-bs-theme="dark"] .hero ul li { color: #C5D0E8 !important; }
[data-bs-theme="dark"] .hero ul li i    { color: #7CD3FF !important; }
[data-bs-theme="dark"] .hero-badge {
  color: #ffffff !important;
  background: rgba(124, 211, 255, .12) !important;
  border-color: rgba(124, 211, 255, .35) !important;
}
[data-bs-theme="dark"] .hero .hero-stats .fs-3 { color: #ffffff !important; }
[data-bs-theme="dark"] .hero .hero-stats small { color: #A5B1CC !important; }
[data-bs-theme="dark"] .btn-hero-ghost { background: transparent !important; color: #ffffff !important; border-color: rgba(255,255,255,.35) !important; }
[data-bs-theme="dark"] .btn-hero-ghost:hover { background: rgba(124,211,255,.16) !important; color: #ffffff !important; border-color: #7CD3FF !important; }

/* Hero Orbit — switch ring/icon colors to readable light-on-dark */
[data-bs-theme="dark"] .hero-orbit .orbit-ring         { border-color: rgba(124,211,255,.28); }
[data-bs-theme="dark"] .hero-orbit .orbit-ring--inner  { border-color: rgba(124,211,255,.45); }
[data-bs-theme="dark"] .hero-orbit .orbit-icon         { background: #ffffff; border-color: rgba(168,200,236,.18); box-shadow: 0 14px 30px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3); }
[data-bs-theme="dark"] .hero-orbit .orbit-spotlight    { background: #ffffff; border-color: rgba(168,200,236,.18); box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 10px 22px rgba(0,0,0,.4); }
[data-bs-theme="dark"] .hero-orbit .orbit-spotlight-name { color: #ffffff !important; }
[data-bs-theme="dark"] .hero-orbit .orbit-spotlight-tag  { color: #C5D0E8 !important; }
[data-bs-theme="dark"] .hero-orbit .orbit-eyebrow {
  color: #7CD3FF !important;
  background: rgba(124,211,255,.12) !important;
  border-color: rgba(124,211,255,.32) !important;
}
[data-bs-theme="dark"] .hero-orbit .hero-rating-chip.orbit-rating-chip {
  background: #142046 !important;
  color: #E6EAF5 !important;
  border-color: rgba(168,200,236,.22) !important;
  box-shadow: 0 12px 24px rgba(0,0,0,.45) !important;
}

/* Eyebrow labels — light cyan in dark mode */
[data-bs-theme="dark"] .eyebrow { color: #7CD3FF !important; }

/* Soft alt-section background */
[data-bs-theme="dark"] .bg-soft { background: #0F1B3F !important; }

/* Page head band (breadcrumbs / page title strip) */
[data-bs-theme="dark"] .page-head { background: linear-gradient(180deg, #102047 0%, #0A1330 100%) !important; border-bottom-color: rgba(168,200,236,.14) !important; }
[data-bs-theme="dark"] .breadcrumb-item, [data-bs-theme="dark"] .breadcrumb-item a { color: #C5D0E8 !important; }
[data-bs-theme="dark"] .breadcrumb-item.active { color: #ffffff !important; }
[data-bs-theme="dark"] .breadcrumb-item + .breadcrumb-item::before { color: #A5B1CC !important; }

/* Cards — dark indigo surface with hairline */
[data-bs-theme="dark"] .card {
  background: #142046 !important;
  color: #E6EAF5 !important;
  border-color: rgba(168,200,236,.16) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.4) !important;
}
[data-bs-theme="dark"] .card a, [data-bs-theme="dark"] .card .text-body { color: #E6EAF5 !important; }
[data-bs-theme="dark"] .card .text-secondary, [data-bs-theme="dark"] .card small.text-secondary { color: #A5B1CC !important; }
[data-bs-theme="dark"] .product-card:hover { border-color: rgba(124,211,255,.4) !important; box-shadow: 0 16px 36px rgba(0,0,0,.5) !important; }
[data-bs-theme="dark"] .product-card:hover .product-title { color: #7CD3FF !important; }
/* Product image wrap stays light so colour artwork pops */
[data-bs-theme="dark"] .product-card .product-img-wrap,
[data-bs-theme="dark"] .product-img-wrap,
[data-bs-theme="dark"] .strip-img,
[data-bs-theme="dark"] .side-thumb,
[data-bs-theme="dark"] .spotlight-img-wrap,
[data-bs-theme="dark"] .shop-row-img { background: #ffffff !important; border-color: rgba(168,200,236,.18) !important; }
[data-bs-theme="dark"] .bg-body-tertiary { background: #182550 !important; }

/* Side product rows on home spotlight */
[data-bs-theme="dark"] .side-product-row { background: #142046 !important; border-color: rgba(168,200,236,.16) !important; }
[data-bs-theme="dark"] .side-product-row a, [data-bs-theme="dark"] .side-product-row .text-body { color: #E6EAF5 !important; }

/* Mega menu accents */
[data-bs-theme="dark"] .mega .mega-heading,
[data-bs-theme="dark"] .antivirus-menu .mega-heading,
[data-bs-theme="dark"] .filter-group-title { color: #7CD3FF !important; }

/* Page-content (pages / policies) */
[data-bs-theme="dark"] .page-content h2 { color: #ffffff !important; border-bottom-color: rgba(168,200,236,.22) !important; }
[data-bs-theme="dark"] .page-content thead { background: #1B2A5E !important; color: #ffffff !important; }
[data-bs-theme="dark"] .page-content table, [data-bs-theme="dark"] .page-content td, [data-bs-theme="dark"] .page-content th { border-color: rgba(168,200,236,.18) !important; color: #E6EAF5 !important; }

/* Accordion (FAQ) */
[data-bs-theme="dark"] .accordion-item { background: #142046 !important; border-color: rgba(168,200,236,.16) !important; }
[data-bs-theme="dark"] .accordion-button { background: #142046 !important; color: #E6EAF5 !important; }
[data-bs-theme="dark"] .accordion-button:not(.collapsed) { background: #1B2A5E !important; color: #7CD3FF !important; }
[data-bs-theme="dark"] .accordion-button::after { filter: invert(.9) hue-rotate(170deg) brightness(1.3); }
[data-bs-theme="dark"] .accordion-body { color: #C5D0E8 !important; background: #142046 !important; }

/* Buttons */
[data-bs-theme="dark"] .btn.btn-primary { background: #4DA9F0 !important; border-color: #4DA9F0 !important; color: #050B1F !important; font-weight: 800; }
[data-bs-theme="dark"] .btn.btn-primary:hover { background: #7CD3FF !important; border-color: #7CD3FF !important; color: #050B1F !important; }
[data-bs-theme="dark"] .btn-outline-primary { color: #7CD3FF !important; border-color: #7CD3FF !important; }
[data-bs-theme="dark"] .btn-outline-primary:hover { background: #7CD3FF !important; color: #050B1F !important; border-color: #7CD3FF !important; }
[data-bs-theme="dark"] .btn-outline-secondary { color: #C5D0E8 !important; border-color: rgba(168,200,236,.32) !important; background: transparent !important; }
[data-bs-theme="dark"] .btn-outline-secondary:hover { background: rgba(124,211,255,.16) !important; color: #ffffff !important; border-color: #7CD3FF !important; }
[data-bs-theme="dark"] .btn-light { background: #182550 !important; color: #E6EAF5 !important; border-color: rgba(168,200,236,.2) !important; }
[data-bs-theme="dark"] .btn-light:hover { background: #1B2A5E !important; color: #ffffff !important; }
/* Yellow CTAs stay bright yellow even in dark mode */
[data-bs-theme="dark"] .btn-hero-cta { background: var(--pp-yellow) !important; color: #142C8E !important; border-color: var(--pp-yellow) !important; }
[data-bs-theme="dark"] .btn-hero-cta:hover { background: var(--pp-yellow-dk) !important; color: #142C8E !important; }

/* Forms */
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select {
  background: #182550 !important;
  border-color: rgba(168,200,236,.22) !important;
  color: #E6EAF5 !important;
}
[data-bs-theme="dark"] .form-control::placeholder { color: #94A0BC !important; }
[data-bs-theme="dark"] .form-control:focus, [data-bs-theme="dark"] .form-select:focus {
  background: #182550 !important;
  border-color: #4DA9F0 !important;
  box-shadow: 0 0 0 .2rem rgba(77,169,240,.25) !important;
  color: #ffffff !important;
}
[data-bs-theme="dark"] .form-check-label { color: #E6EAF5 !important; }
[data-bs-theme="dark"] .input-group-text { background: #1B2A5E !important; color: #E6EAF5 !important; border-color: rgba(168,200,236,.22) !important; }

/* Borders & dividers */
[data-bs-theme="dark"] hr, [data-bs-theme="dark"] .border, [data-bs-theme="dark"] .border-top,
[data-bs-theme="dark"] .border-bottom, [data-bs-theme="dark"] .border-secondary,
[data-bs-theme="dark"] .border-secondary-subtle { border-color: rgba(168,200,236,.16) !important; }

/* Tables (cart, account, admin) */
[data-bs-theme="dark"] .table { --bs-table-color: #E6EAF5; --bs-table-bg: transparent; --bs-table-border-color: rgba(168,200,236,.18); }
[data-bs-theme="dark"] .table thead { background: #1B2A5E; color: #ffffff; }
[data-bs-theme="dark"] .table tbody tr { background: transparent; }
[data-bs-theme="dark"] .table-light, [data-bs-theme="dark"] .table-light th, [data-bs-theme="dark"] .table-light td { background: #1B2A5E !important; color: #E6EAF5 !important; }

/* Toolbar / Filter / Shop list */
[data-bs-theme="dark"] .shop-toolbar { background: linear-gradient(90deg, rgba(124,211,255,.10), rgba(77,169,240,.06)) !important; border-color: rgba(124,211,255,.22) !important; color: #E6EAF5 !important; }
[data-bs-theme="dark"] .ask-ai-pill   { background: linear-gradient(90deg, rgba(124,211,255,.14), rgba(77,169,240,.08)) !important; border-color: rgba(124,211,255,.28) !important; color: #E6EAF5 !important; }
[data-bs-theme="dark"] .filter-card   { background: #142046 !important; }
[data-bs-theme="dark"] .filter-check .form-check-input { background-color: #182550 !important; border-color: rgba(168,200,236,.32) !important; }
[data-bs-theme="dark"] .filter-check .form-check-input:checked { background-color: #4DA9F0 !important; border-color: #4DA9F0 !important; }
[data-bs-theme="dark"] .filter-count  { background: #1B2A5E !important; color: #C5D0E8 !important; }

/* Chips/badges */
[data-bs-theme="dark"] .cat-chip { background: #182550 !important; color: #E6EAF5 !important; border-color: rgba(168,200,236,.22) !important; }
[data-bs-theme="dark"] .cat-chip:hover, [data-bs-theme="dark"] .cat-chip.active { background: #4DA9F0 !important; color: #050B1F !important; border-color: #4DA9F0 !important; }
[data-bs-theme="dark"] .badge.text-bg-primary { background: rgba(77,169,240,.18) !important; color: #7CD3FF !important; }
[data-bs-theme="dark"] .badge.text-bg-danger { background: rgba(225, 29, 72, .18) !important; color: #fda4af !important; }
[data-bs-theme="dark"] .badge.text-bg-warning { background: var(--pp-yellow) !important; color: #142C8E !important; }
[data-bs-theme="dark"] .badge.text-bg-success-subtle { background: rgba(124,211,255,.16) !important; color: #7CD3FF !important; }
[data-bs-theme="dark"] .badge.text-bg-secondary-subtle { background: rgba(168,200,236,.16) !important; color: #E6EAF5 !important; }

/* Alerts */
[data-bs-theme="dark"] .alert { background: #142046 !important; border-color: rgba(168,200,236,.18) !important; color: #E6EAF5 !important; }
[data-bs-theme="dark"] .alert-info { background: rgba(124,211,255,.12) !important; color: #7CD3FF !important; border-color: rgba(124,211,255,.32) !important; }
[data-bs-theme="dark"] .alert-warning { background: rgba(255,196,57,.12) !important; color: #FFD46B !important; border-color: rgba(255,196,57,.4) !important; }
[data-bs-theme="dark"] .alert-success { background: rgba(124,211,255,.12) !important; color: #7CD3FF !important; border-color: rgba(124,211,255,.32) !important; }
[data-bs-theme="dark"] .alert-danger  { background: rgba(225,29,72,.14) !important; color: #fda4af !important; border-color: rgba(225,29,72,.4) !important; }

/* Modals & popovers */
[data-bs-theme="dark"] .modal-content { background: #142046 !important; color: #E6EAF5 !important; border-color: rgba(168,200,236,.18) !important; }
[data-bs-theme="dark"] .modal-header, [data-bs-theme="dark"] .modal-footer { border-color: rgba(168,200,236,.16) !important; }
[data-bs-theme="dark"] .modal-title { color: #ffffff !important; }
[data-bs-theme="dark"] .btn-close { filter: invert(1) grayscale(.4) brightness(1.6); }

/* Footer keeps the deep navy palette (works in both modes); refine link hover */
[data-bs-theme="dark"] .footer-dark { background: #050B1F !important; }
[data-bs-theme="dark"] .footer-dark a:hover { color: var(--pp-yellow) !important; }

/* Chat widget */
[data-bs-theme="dark"] #chat-panel { background: #142046 !important; color: #E6EAF5 !important; border-color: rgba(168,200,236,.18) !important; }
[data-bs-theme="dark"] #chat-head { background: linear-gradient(135deg, #1B2A5E 0%, #050B1F 100%) !important; color: #ffffff !important; }
[data-bs-theme="dark"] .chat-msg.bot { background: #1B2A5E !important; color: #E6EAF5 !important; }
[data-bs-theme="dark"] .chat-chip { background: #182550 !important; color: #E6EAF5 !important; border-color: rgba(168,200,236,.22) !important; }
[data-bs-theme="dark"] .chat-chip:hover { background: #1B2A5E !important; color: #7CD3FF !important; }
[data-bs-theme="dark"] .chat-input-row { background: #142046 !important; border-color: rgba(168,200,236,.16) !important; }
[data-bs-theme="dark"] .chat-input { background: #182550 !important; color: #E6EAF5 !important; border-color: rgba(168,200,236,.22) !important; }
[data-bs-theme="dark"] .chat-talk-band { background: #050B1F !important; color: #C5D0E8 !important; }

/* Toll-free pill (bottom-left) */
[data-bs-theme="dark"] .tollfree-pill { background: #1B2A5E !important; color: #E6EAF5 !important; border-color: rgba(168,200,236,.22) !important; }
[data-bs-theme="dark"] .tf-eyebrow { color: #A5B1CC !important; }
[data-bs-theme="dark"] .tf-num     { color: #ffffff !important; font-weight: 700 !important; }
[data-bs-theme="dark"] .tf-free    { color: var(--pp-yellow) !important; font-weight: 600 !important; }
[data-bs-theme="dark"] .tf-ring    { background: var(--pp-yellow) !important; color: #142C8E !important; }

/* Trustbar phone in dark mode — white, semibold (not too bold), yellow hover */
[data-bs-theme="dark"] .trustbar-phone { color: #ffffff !important; font-weight: 600 !important; }
[data-bs-theme="dark"] .trustbar-phone:hover { color: var(--pp-yellow) !important; }
[data-bs-theme="dark"] .trustbar-phone .bi { color: var(--pp-yellow) !important; }

/* Navbar yellow phone-cta — keep navy text on yellow in dark mode too (high contrast) */
[data-bs-theme="dark"] .phone-cta,
[data-bs-theme="dark"] .phone-cta:hover,
[data-bs-theme="dark"] .phone-cta-label,
[data-bs-theme="dark"] .phone-cta-mobile,
[data-bs-theme="dark"] .phone-cta-mobile:hover { color: #142C8E !important; }
[data-bs-theme="dark"] .phone-cta-icon { background: #142C8E !important; color: var(--pp-yellow) !important; }

/* Footer phone link — light & clearly readable, semibold only */
[data-bs-theme="dark"] .footer-dark p a[href^="tel:"],
.footer-dark p a[href^="tel:"] { color: #ffffff !important; font-weight: 600 !important; text-decoration: none; }
[data-bs-theme="dark"] .footer-dark p a[href^="tel:"]:hover,
.footer-dark p a[href^="tel:"]:hover { color: var(--pp-yellow, #FFC439) !important; }

/* Add-to-Cart popup */
[data-bs-theme="dark"] #cart-popup { background: #142046 !important; color: #E6EAF5 !important; border-color: rgba(168,200,236,.18) !important; box-shadow: 0 18px 40px rgba(0,0,0,.55) !important; }
[data-bs-theme="dark"] .cp-name, [data-bs-theme="dark"] .cp-title { color: #ffffff !important; }
[data-bs-theme="dark"] .cp-sub, [data-bs-theme="dark"] .cp-meta { color: #A5B1CC !important; }
[data-bs-theme="dark"] .cp-thumb { background: #ffffff !important; }
[data-bs-theme="dark"] .cp-btn-view { background: #1B2A5E !important; color: #E6EAF5 !important; border-color: rgba(168,200,236,.22) !important; }
[data-bs-theme="dark"] .cp-btn-checkout { background: var(--pp-yellow) !important; color: #142C8E !important; }

/* Toasts — navy gradient stays */
[data-bs-theme="dark"] .mv-toast { background: linear-gradient(135deg, #1B2A5E 0%, #050B1F 100%) !important; border-color: rgba(124,211,255,.32) !important; }

/* Selection */
[data-bs-theme="dark"] ::selection { background: rgba(124, 211, 255, .28); color: #ffffff; }

/* Misc utility — ensure any pinned light backgrounds still have legible text */
[data-bs-theme="dark"] .bg-white, [data-bs-theme="dark"] .bg-body { background: #142046 !important; color: #E6EAF5 !important; }
[data-bs-theme="dark"] .bg-light { background: #182550 !important; color: #E6EAF5 !important; }

/* CTA band (homepage) — invert to a deep blue gradient that still pops */
[data-bs-theme="dark"] [data-testid="cta-band"] {
  background: linear-gradient(135deg, #050B1F, #1B2A5E) !important;
  border: 1px solid rgba(124,211,255,.22);
}

/* Trust strip + tiny stat numbers */
[data-bs-theme="dark"] .text-warning { color: var(--pp-yellow) !important; }
[data-bs-theme="dark"] .text-success, [data-bs-theme="dark"] .text-info { color: #7CD3FF !important; }

/* Spotlight strip on homepage Best Sellers — ensure the gradient bar pops */
[data-bs-theme="dark"] .spotlight-card::before {
  background: linear-gradient(90deg, #4DA9F0, #7CD3FF 50%, var(--pp-yellow)) !important;
}


/* ============================================================
   Elegant Footer (.footer-elegant) — PayPal-inspired polish
   Layered onto the existing .footer-dark navy base.
   ============================================================ */
.footer-elegant {
  position: relative;
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(0,112,186,.22), transparent 60%),
    radial-gradient(800px 360px at 100% 0%,  rgba(255,196,57,.10), transparent 65%),
    linear-gradient(180deg, #022049 0%, #050B1F 100%) !important;
  color: #d9e0ec;
  overflow: hidden;
}
.footer-elegant::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, #0070BA 30%, #FFC439 60%, transparent 100%);
  opacity: .55;
}

/* Newsletter band */
.footer-elegant .footer-newsletter {
  background: linear-gradient(180deg, rgba(0,112,186,.10) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-eyebrow {
  display: inline-block;
  font-size: .68rem; font-weight: 800; letter-spacing: .22em;
  color: var(--pp-yellow, #FFC439);
  background: rgba(255,196,57,.10);
  border: 1px solid rgba(255,196,57,.32);
  border-radius: 999px;
  padding: .25rem .7rem;
  text-transform: uppercase;
}
.footer-newsletter-title {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem) !important;
  line-height: 1.2;
  color: #ffffff !important;
  letter-spacing: -.01em;
}
.footer-savings-pill {
  background: var(--pp-yellow, #FFC439);
  color: #142C8E;
  padding: .05em .55em;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}
.footer-newsletter-sub {
  color: #b6c0d4;
  font-size: .92rem;
  max-width: 480px;
}
.footer-newsletter-form { max-width: 460px; margin-left: auto; }
.footer-newsletter-input {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: #ffffff !important;
  height: 48px;
  font-size: .95rem;
}
.footer-newsletter-input::placeholder { color: #94a0b8 !important; }
.footer-newsletter-input:focus {
  background: rgba(255,255,255,.10) !important;
  border-color: var(--pp-yellow, #FFC439) !important;
  box-shadow: 0 0 0 .2rem rgba(255,196,57,.2) !important;
  color: #ffffff !important;
}
.footer-newsletter-btn {
  background: var(--pp-yellow, #FFC439) !important;
  color: #142C8E !important;
  border: none !important;
  height: 48px;
  box-shadow: 0 6px 16px rgba(255,196,57,.35);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.footer-newsletter-btn:hover {
  background: var(--pp-yellow-dk, #F5BC00) !important;
  color: #142C8E !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255,196,57,.5);
}
.footer-newsletter-trust {
  font-size: .76rem;
  color: #94a0b8;
}
.footer-newsletter-trust span i { color: var(--pp-yellow, #FFC439); margin-right: .25rem; }

/* Brand column */
.footer-elegant .brand-text { color: #fff !important; }
.footer-elegant .brand-tag { color: #94a0b8; }
.footer-brand-tagline { font-size: .9rem; line-height: 1.55; color: #c0c9da; margin-bottom: 1.1rem; }
.footer-brand-tagline strong { color: #ffffff; font-weight: 600; }

/* Contact list */
.footer-contact { font-size: .88rem; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .35rem 0;
  color: #c0c9da;
  line-height: 1.5;
}
.footer-contact a { color: #ffffff; text-decoration: none; transition: color .15s ease; }
.footer-contact a:hover { color: var(--pp-yellow, #FFC439); }
.footer-contact-icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(0,112,186,.22);
  color: #7CD3FF;
  font-size: .8rem;
  border: 1px solid rgba(124,211,255,.18);
}

/* "View on Google Maps" elegant CTA */
.footer-map-btn {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .65rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,112,186,.18), rgba(0,48,135,.32));
  border: 1px solid rgba(124,211,255,.25);
  color: #ffffff !important;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.footer-map-btn:hover {
  background: linear-gradient(135deg, rgba(0,112,186,.28), rgba(0,48,135,.5));
  border-color: var(--pp-yellow, #FFC439);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
  color: #ffffff !important;
}
.footer-map-btn .gmap-pin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: #DB4437;
  color: #fff;
  border-radius: 10px 10px 10px 4px;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(219,68,55,.4);
}
.footer-map-btn-text small { color: #94a0b8; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
.footer-map-btn-text strong { color: #fff; font-size: .9rem; }

/* Social icons */
.footer-social { display: flex; gap: .55rem; }
.footer-social .social-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #ffffff;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.footer-social .social-circle:hover {
  background: var(--pp-yellow, #FFC439);
  border-color: var(--pp-yellow, #FFC439);
  color: #142C8E;
  transform: translateY(-2px);
}

/* Link columns — refined hierarchy */
.footer-elegant h6 {
  color: #ffffff !important;
  font-size: .82rem !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 1rem !important;
  position: relative;
  padding-bottom: .55rem;
}
.footer-elegant h6::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--pp-yellow, #FFC439);
  border-radius: 2px;
}
.footer-elegant ul.list-unstyled a {
  color: #b6c0d4;
  text-decoration: none;
  font-size: .88rem;
  display: inline-flex; align-items: center; gap: .35rem;
  transition: color .15s ease, transform .15s ease, padding-left .15s ease;
  position: relative;
}
.footer-elegant ul.list-unstyled a::before {
  content: '›';
  color: var(--pp-yellow, #FFC439);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
  font-weight: 700;
}
.footer-elegant ul.list-unstyled a:hover {
  color: #ffffff;
  padding-left: .35rem;
}
.footer-elegant ul.list-unstyled a:hover::before {
  opacity: 1;
  transform: translateX(0);
  position: absolute; left: -.55rem;
}

/* Secure payments / reviews band */
.footer-elegant hr.border-secondary {
  border-color: rgba(255,255,255,.10) !important;
  opacity: 1;
  margin: 2.5rem 0 2rem;
}
.footer-elegant .small.fw-bold.text-white { letter-spacing: .12em; text-transform: uppercase; font-size: .72rem !important; }

/* Trust badges (Microsoft Verified + PCI) */
.footer-elegant .trust-badge-img { height: 44px; filter: brightness(1.05) drop-shadow(0 4px 10px rgba(0,0,0,.3)); }

/* Trademark / legal row */
.footer-elegant p.text-center { color: #94a0b8 !important; font-size: .78rem !important; line-height: 1.7; }
.footer-elegant .legal-links a { color: #94a0b8; text-decoration: none; font-size: .78rem; transition: color .15s ease; padding: .15rem .55rem; }
.footer-elegant .legal-links a:hover { color: #ffffff; }
.footer-elegant .legal-links .legal-sep { color: rgba(255,255,255,.18); }

/* Final copyright */
.footer-elegant .footer-copyright {
  text-align: center;
  font-size: .78rem;
  color: #94a0b8;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-elegant .footer-copyright strong { color: #ffffff; font-weight: 700; }

/* Dark mode keeps same elegance (footer is always dark) */
[data-bs-theme="dark"] .footer-elegant { background:
  radial-gradient(900px 380px at 12% -10%, rgba(0,112,186,.18), transparent 60%),
  radial-gradient(800px 360px at 100% 0%, rgba(255,196,57,.08), transparent 65%),
  linear-gradient(180deg, #02143A 0%, #02050F 100%) !important; }

/* Responsive newsletter — center on mobile */
@media (max-width: 991.98px) {
  .footer-newsletter-form { margin: 0 auto; }
  .footer-newsletter-trust { justify-content: center !important; }
}
@media (max-width: 575px) {
  .footer-newsletter-form { flex-direction: column; }
  .footer-newsletter-btn { width: 100%; }
}

