/* Matrixuiux Software Store - custom styles on top of Bootstrap 5 (minimal white / ink / light sky-aqua) */
:root {
  --bs-primary: #38bdf8;
  --bs-primary-rgb: 5, 150, 105;
  --bs-link-color: #0284c7;
  --bs-link-hover-color: #0369a1;
  --bs-link-color-rgb: 4, 120, 87;
  --bs-link-hover-color-rgb: 6, 95, 70;
  --uc-blue: #38bdf8;
  --uc-blue-dark: #0284c7;
  --uc-indigo: #38bdf8;
  --uc-ink: #141414;
  --uc-soft: #f7f9fa;
  --uc-grad: linear-gradient(135deg, #38bdf8, #22d3ee);
  --uc-grad-hover: linear-gradient(135deg, #0284c7, #06b6d4);
  --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(56, 189, 248, .3);
}
/* Bootstrap utility recolor — soft coral, light-first */
.text-primary { color: #0284c7 !important; }
.text-bg-primary { background-color: #e0f2fe !important; color: #0369a1 !important; }
.badge.text-bg-danger { background-color: #e0f2fe !important; color: #0369a1 !important; }
.btn-outline-primary { --bs-btn-color: #0284c7; --bs-btn-border-color: #7dd3fc; --bs-btn-hover-bg: #38bdf8; --bs-btn-hover-border-color: #38bdf8; --bs-btn-active-bg: #0284c7; --bs-btn-active-border-color: #0284c7; }
.form-check-input:checked { background-color: #38bdf8; border-color: #38bdf8; }
.form-check-input:focus { border-color: #38bdf8; box-shadow: 0 0 0 .25rem rgba(56, 189, 248, .2); }
.spinner-border.text-primary { color: #38bdf8 !important; }
.bg-primary { background-color: #38bdf8 !important; }
.border-primary { border-color: #38bdf8 !important; }

/* Soft indigo-slate dark palette — bright, readable, never murky */
[data-bs-theme="dark"] {
  --bs-body-bg: #16161a;
  --bs-body-color: #ececf0;
  --bs-emphasis-color: #ffffff;
  --bs-secondary-color: #b9b9c1;
  --bs-border-color: rgba(125, 211, 252, .22);
  --bs-tertiary-bg: #1d1d22;
  --bs-secondary-bg: #232329;
  --uc-soft: #1a1a1f;
  --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(125, 211, 252, .45);
}
[data-bs-theme="dark"] .card { --bs-card-bg: transparent; background: linear-gradient(180deg, #222228, #1b1b20); }
[data-bs-theme="dark"] .dropdown-menu { --bs-dropdown-bg: #1d1d22; --bs-dropdown-link-color: #ececf0; --bs-dropdown-link-hover-bg: #2a2a31; --bs-dropdown-link-hover-color: #fff; }
[data-bs-theme="dark"] .accordion-item { --bs-accordion-bg: #1d1d22; --bs-accordion-btn-color: #ececf0; --bs-accordion-active-bg: rgba(125, 211, 252, .12); --bs-accordion-active-color: #bae6fd; }
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select { background-color: #1d1d22; border-color: rgba(125, 211, 252, .3); color: #ececf0; }
[data-bs-theme="dark"] .form-control::placeholder { color: #9b9ba4; }
[data-bs-theme="dark"] .text-primary { color: #7dd3fc !important; }
[data-bs-theme="dark"] .text-secondary { color: #b9b9c1 !important; }
[data-bs-theme="dark"] a:not(.btn):not(.nav-link):not(.dropdown-item) { color: #7dd3fc; }
[data-bs-theme="dark"] .btn-outline-secondary { --bs-btn-color: #c6c6cd; --bs-btn-border-color: rgba(125, 211, 252, .42); --bs-btn-hover-bg: #2a2a31; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: rgba(125, 211, 252, .55); }
[data-bs-theme="dark"] .table { --bs-table-color: #ececf0; --bs-table-bg: transparent; --bs-table-border-color: rgba(125, 211, 252, .22); }
[data-bs-theme="dark"] .badge.text-bg-light { background-color: #232329 !important; color: #ececf0 !important; border-color: rgba(125, 211, 252, .3) !important; }
[data-bs-theme="dark"] .page-content h2 { border-bottom-color: rgba(125, 211, 252, .3); }
[data-bs-theme="dark"] .page-content thead { background: rgba(125, 211, 252, .14); }
[data-bs-theme="dark"] .ask-ai-pill { background: linear-gradient(90deg, rgba(125, 211, 252, .16), rgba(34, 211, 238, .12)); border-color: rgba(125, 211, 252, .3); }
[data-bs-theme="dark"] .shop-toolbar { background: linear-gradient(90deg, rgba(125, 211, 252, .14), rgba(34, 211, 238, .1)); border-color: rgba(125, 211, 252, .25); }

body { font-family: "Poppins", "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(56, 189, 248, .18); }

/* ---------- Brand logo ---------- */
.brand-mark { flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(56, 189, 248, .35)); }
.brand-text { font-weight: 800; letter-spacing: -.02em; font-size: 1.02rem; color: var(--bs-emphasis-color); }
.brand-grad { background: linear-gradient(90deg, #38bdf8, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-bs-theme="dark"] .brand-grad, .footer-dark .brand-grad { background: linear-gradient(90deg, #38bdf8, #22d3ee); -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); }

/* 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: #38bdf8; }

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

/* ---------- Top bar ---------- */
.topbar { background: #141414; color: #fff; font-size: .85rem; }
.topbar strong { color: #7dd3fc; }
.trustbar { background: #141414; color: #cbd5e1; font-size: .8rem; border-top: 1px solid rgba(255, 255, 255, .08); }
[data-bs-theme="dark"] .topbar { background: #101013; }
[data-bs-theme="dark"] .trustbar { background: #131316; 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, #eff8fd 0%, #f8fafc 70%); border-bottom: 1px solid var(--bs-border-color); }
[data-bs-theme="dark"] .page-head { background: linear-gradient(135deg, #1f2730 0%, #16161a 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: #38bdf8; }
.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; }
}

/* ---------- 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(56, 189, 248, .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(56, 189, 248, .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(56, 189, 248, .28); }
[data-bs-theme="dark"] .btn-outline-primary { --bs-btn-color: #38bdf8; --bs-btn-border-color: rgba(125, 211, 252, .5); }

/* ---------- "For Every Business" compact card ---------- */
.biz-card { background: linear-gradient(135deg, #0284c7, #7dd3fc); box-shadow: 0 14px 36px rgba(2, 132, 199, .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(251, 191, 36, .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: #38bdf8; }
.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(56, 189, 248, .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(56, 189, 248, .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(56, 189, 248, .06); color: var(--uc-blue); box-shadow: none; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, #eff8fd 0%, #f8fafc 60%); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(640px 320px at 85% 15%, rgba(56, 189, 248, .12), transparent 70%); pointer-events: none; }
[data-bs-theme="dark"] .hero { background: linear-gradient(135deg, #1f2730 0%, #16161a 60%); }
[data-bs-theme="dark"] .hero::after { background: radial-gradient(640px 320px at 85% 15%, rgba(125, 211, 252, .2), transparent 70%); }
.hero h1 { font-weight: 800; }
.hero .accent { color: var(--uc-blue); }
[data-bs-theme="dark"] .hero .accent { color: #7dd3fc; }

/* ---------- Hero showcase: custom Microsoft-themed art + rotating product glass card ---------- */
.hero-showcase { position: relative; width: min(460px, 100%); }
.hero-showcase-frame { position: relative; border-radius: 1.4rem; overflow: hidden; aspect-ratio: 10 / 11;
  box-shadow: var(--uc-shadow-lg); border: 1px solid rgba(255, 255, 255, .45); }
/* Sky gradient + grid + floating app tiles + rotating product box art */
.hero-art { position: absolute; inset: 0;
  background: linear-gradient(160deg, #e0f2fe 0%, #f0f9ff 45%, #bae6fd 100%); }
.hero-art::before { content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(2, 132, 199, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, .08) 1px, transparent 1px);
  background-size: 34px 34px; }
[data-bs-theme="dark"] .hero-art { background: linear-gradient(160deg, #16222e 0%, #131c26 45%, #1b2a3a 100%); }
[data-bs-theme="dark"] .hero-art::before {
  background-image: linear-gradient(rgba(125, 211, 252, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, .07) 1px, transparent 1px); }
.hero-art-glow { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; }
.hero-art-glow.glow-1 { width: 220px; height: 220px; top: -50px; left: -50px; background: #7dd3fc; }
.hero-art-glow.glow-2 { width: 260px; height: 260px; bottom: 50px; right: -70px; background: #22d3ee; opacity: .35; }
.hero-win-motif { position: absolute; right: -28px; bottom: 110px; width: 175px; opacity: .12; transform: rotate(-8deg); }
.hero-art-img { position: absolute; left: 50%; top: 40%; width: 60%; max-height: 54%; object-fit: contain;
  transform: translate(-50%, -50%) scale(.92); opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
  filter: drop-shadow(0 26px 38px rgba(2, 62, 105, .28)); }
.hero-art-img.active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hero-tile { position: absolute; width: 54px; height: 54px; border-radius: 14px; background: #fff;
  box-shadow: 0 10px 26px rgba(2, 62, 105, .16); border: 1px solid rgba(2, 132, 199, .1);
  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(56, 189, 248, .4); animation: pill-float 4s ease-in-out infinite; }
@keyframes pill-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero-product-glass { position: absolute; left: 5%; right: 5%; bottom: 5%; height: 104px; z-index: 2;
  border-radius: 18px; overflow: hidden;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 18px 44px rgba(2, 6, 23, .28); }
[data-bs-theme="dark"] .hero-product-glass { background: rgba(16, 35, 30, .9); border-color: rgba(125, 211, 252, .28); }
.hero-glass-slide { position: absolute; inset: 0; display: flex; align-items: center; gap: .9rem;
  padding: .65rem 1rem; text-decoration: none; }
.hero-glass-thumb { width: 60px; height: 60px; flex-shrink: 0; border-radius: 12px; background: #fff;
  border: 1px solid rgba(15, 23, 42, .08); display: inline-flex; align-items: center; justify-content: center; padding: 6px; }
.hero-glass-thumb img { width: 100%; height: 100%; object-fit: contain; }
.hero-glass-cta { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  background: var(--uc-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s ease; }
.hero-glass-slide:hover .hero-glass-cta { transform: translateX(3px); }
/* Two-line text block: title row + price row — clear vertical separation */
.hero-glass-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .25rem; line-height: 1.25; }
.hero-glass-name {
  display: block; font-weight: 700; font-size: .84rem; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--bs-emphasis-color);
}
.hero-glass-prices { display: flex; align-items: baseline; gap: .55rem; }
.hero-glass-price-now { font-weight: 800; font-size: .98rem; color: var(--uc-blue); letter-spacing: -.02em; }
.hero-glass-price-old { font-size: .72rem; color: var(--bs-secondary-color); text-decoration: line-through; }
[data-bs-theme="dark"] .hero-glass-price-now { color: #93c5fd; }
.hero-rating-chip { position: absolute; top: 17%; 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 { animation: none; }
}

/* ---------- 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(56, 189, 248, .3); }
[data-bs-theme="dark"] .btn-elessi { border-color: rgba(125, 211, 252, .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(56, 189, 248, .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(56, 189, 248, .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; }

/* ---------- 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(56, 189, 248, .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(56, 189, 248, .5); }
#chat-panel {
  position: fixed; bottom: 95px; right: 24px; z-index: 1080;
  width: 360px; max-width: calc(100vw - 32px); height: 480px;
  display: none; flex-direction: column;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(2, 6, 23, .4);
  background: var(--bs-body-bg); border: 1px solid var(--bs-border-color);
}
#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: var(--uc-grad); color: #fff; padding: .85rem 1rem; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255, 255, 255, .2); border: 1.5px solid rgba(255, 255, 255, .45);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.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: .9rem;
  background: linear-gradient(180deg, rgba(56, 189, 248, .04), transparent 120px); }
.chat-msg { max-width: 85%; padding: .6rem .85rem; border-radius: 14px; margin-bottom: .55rem;
  font-size: .85rem; line-height: 1.45; white-space: pre-wrap; }
.chat-msg.user { background: var(--uc-grad); color: #fff; margin-left: auto;
  border-bottom-right-radius: 4px; box-shadow: 0 4px 14px rgba(56, 189, 248, .3); }
.chat-msg.bot { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color);
  border-bottom-left-radius: 4px; box-shadow: var(--uc-shadow-sm); }
[data-bs-theme="dark"] .chat-msg.bot { background: #1d1d22; }
.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(--bs-secondary-color);
  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 suggestion chips */
.chat-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .2rem 0 .6rem; }
.chat-chip { border: 1px solid rgba(56, 189, 248, .35); background: rgba(56, 189, 248, .06);
  color: var(--uc-blue); font-size: .74rem; font-weight: 650; border-radius: 999px;
  padding: .3rem .75rem; cursor: pointer; transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.chat-chip:hover { background: var(--uc-grad); color: #fff; transform: translateY(-1px); }
[data-bs-theme="dark"] .chat-chip { color: #7dd3fc; border-color: rgba(125, 211, 252, .4); background: rgba(125, 211, 252, .1); }
[data-bs-theme="dark"] .chat-chip:hover { color: #fff; }
/* Talk band + input row */
.chat-talk-band { border-top: 1px solid var(--bs-border-color); background: var(--bs-tertiary-bg); color: var(--bs-secondary-color); }
.chat-input { border-radius: 999px; padding-left: 1rem; font-weight: 600;
  border: 2px solid rgba(56, 189, 248, .55);
  background: linear-gradient(90deg, rgba(56, 189, 248, .07), rgba(255, 120, 73, .06));
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .12);
  animation: input-glow 2.4s ease-in-out infinite; }
.chat-input::placeholder { color: var(--uc-blue); font-weight: 650; opacity: .85; }
@keyframes input-glow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(56, 189, 248, .12); }
  50% { box-shadow: 0 0 0 5px rgba(56, 189, 248, .22), 0 0 14px rgba(56, 189, 248, .25); }
}
.chat-input:focus { border-color: var(--uc-indigo); animation: none;
  background: var(--bs-body-bg); box-shadow: 0 0 0 .22rem rgba(56, 189, 248, .22); }
[data-bs-theme="dark"] .chat-input { border-color: rgba(125, 211, 252, .6);
  background: linear-gradient(90deg, rgba(125, 211, 252, .12), rgba(34, 211, 238, .1)); }
[data-bs-theme="dark"] .chat-input::placeholder { color: #7dd3fc; }
@media (prefers-reduced-motion: reduce) { .chat-input { animation: none; } }
.chat-send-btn { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; padding: 0;
  background: var(--uc-grad); 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.08); box-shadow: 0 6px 16px rgba(56, 189, 248, .4); }

/* ---------- Misc ---------- */
.footer-dark { background: #141414; color: #b4b4bc; }
[data-bs-theme="dark"] .footer-dark { background: #141418; border-top: 1px solid rgba(125, 211, 252, .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(56, 189, 248, .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(56, 189, 248, .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: #38bdf8; 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: #f59e0b; }

/* ---------- Hero image rotator (5 slides, 10s each) ---------- */
/* Hidden slides must NOT catch clicks — only the visible one is interactive */
.hero-slide { opacity: 0; transition: opacity .9s ease; z-index: 1; pointer-events: none; visibility: hidden; }
.hero-slide.active { opacity: 1; pointer-events: auto; visibility: visible; }
.hero-dots { position: relative; z-index: 3; }
.hero-dot { width: 24px; height: 8px; border-radius: 999px; border: none; padding: 0; cursor: pointer;
  background: rgba(56, 189, 248, .18); overflow: hidden; position: relative; transition: width .25s ease, background-color .2s ease; }
.hero-dot:hover { background: rgba(56, 189, 248, .35); }
.hero-dot.active { width: 46px; background: rgba(56, 189, 248, .22); }
.hero-dot.active::after { content: ''; position: absolute; inset: 0; border-radius: 999px;
  background: var(--uc-grad); transform-origin: left; animation: dot-progress 10s linear forwards; }
@keyframes dot-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
[data-bs-theme="dark"] .hero-dot { background: rgba(125, 211, 252, .22); }
@media (prefers-reduced-motion: reduce) { .hero-dot.active::after { animation: none; transform: none; } }

/* ---------- Ask AI compact pill ---------- */
.ask-ai-pill { border-radius: 999px; background: linear-gradient(90deg, rgba(56, 189, 248, .1), rgba(56, 189, 248, .08));
  border: 1px solid rgba(56, 189, 248, .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(56, 189, 248, .08), rgba(255, 120, 73, .07));
  border: 1px solid rgba(56, 189, 248, .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(56, 189, 248, .45); border-radius: 999px; font-weight: 700; color: var(--uc-blue);
  box-shadow: 0 2px 8px rgba(56, 189, 248, .12); padding-left: .9rem; }
.sort-select:focus { border-color: var(--uc-indigo); box-shadow: 0 0 0 .2rem rgba(56, 189, 248, .15); }
[data-bs-theme="dark"] .sort-select { color: #38bdf8; border-color: rgba(125, 211, 252, .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; }

/* ---------- Added-to-cart button state ---------- */
.add-to-cart-btn.added { background-image: linear-gradient(135deg, #16a34a, #15803d); border-color: transparent; color: #fff; }
.add-to-cart-btn.added:hover, .add-to-cart-btn.added:focus { background-image: linear-gradient(135deg, #15803d, #166534); border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(22, 163, 74, .35); 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(22, 163, 74, .12); color: #16a34a; border-color: rgba(22, 163, 74, .45); }
.step.done .step-label { color: #16a34a; }
.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: #7dd3fc; }
.step-line { flex: 0 0 44px; height: 3px; border-radius: 3px; background: var(--bs-border-color); }
.step-line.done { background: linear-gradient(90deg, #16a34a, #38bdf8); }
@keyframes step-pulse { 0%, 100% { box-shadow: 0 6px 16px rgba(56, 189, 248, .35); } 50% { box-shadow: 0 6px 24px rgba(56, 189, 248, .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(56, 189, 248, .1), rgba(255, 120, 73, .08)); border: 1px solid rgba(56, 189, 248, .22); }
[data-bs-theme="dark"] .summary-total { background: linear-gradient(90deg, rgba(125, 211, 252, .14), rgba(34, 211, 238, .1)); border-color: rgba(125, 211, 252, .28); }
.assist-card { border: 1.5px dashed rgba(56, 189, 248, .35); border-radius: .9rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, .06), rgba(255, 120, 73, .05)); }
[data-bs-theme="dark"] .assist-card { border-color: rgba(125, 211, 252, .4); background: linear-gradient(135deg, rgba(125, 211, 252, .1), rgba(34, 211, 238, .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: #7dd3fc; }

/* ---------- Checkout canvas: stacked receipt-style banners ---------- */
.checkout-canvas { background: linear-gradient(180deg, #131316 0%, #1f1f27 55%, #131316 100%); }
[data-bs-theme="dark"] .checkout-canvas { background: linear-gradient(180deg, #101013 0%, #1e1e28 55%, #101013 100%); }
.checkout-canvas .step-label { color: #c6c6cd; }
.checkout-canvas .step.done .step-label { color: #4ade80; }
.checkout-canvas .step.active .step-label { color: #7dd3fc; }
.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(74, 222, 128, .15); color: #4ade80; border-color: rgba(74, 222, 128, .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, #4ade80, #22c55e); }
.checkout-canvas .back-to-cart { color: #7dd3fc; }
.co-banner { border: none; border-radius: 18px; box-shadow: 0 18px 44px rgba(2, 6, 23, .35); }
.receipt-amount { font-size: 2.6rem; letter-spacing: -1px; line-height: 1.1; }

/* Stylish banner columns: numbered heads + refined fields */
.co-head { border-bottom: 1px dashed var(--bs-border-color); padding-bottom: .85rem; }
.co-num { width: 38px; height: 38px; border-radius: 12px; 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(56, 189, 248, .35); }
.co-head-icon { font-size: 1.4rem; color: var(--uc-blue); opacity: .35; }
.co-banner .form-label { font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; color: var(--bs-secondary-color); margin-bottom: .3rem; }
.co-banner .form-control, .co-banner .form-select { border-radius: .65rem; padding: .6rem .85rem;
  background: var(--bs-tertiary-bg); border: 1.5px solid transparent;
  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(56, 189, 248, .25); }
.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(56, 189, 248, .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: #1b1b20; }
[data-bs-theme="dark"] .co-banner .form-control:focus, [data-bs-theme="dark"] .co-banner .form-select:focus { background: #1d1d22; border-color: #7dd3fc; }

/* Payment tiles — short & sweet */
.pay-tile { border-radius: 14px; }
.pay-tile:hover { border-color: rgba(56, 189, 248, .5); }
.pay-option.active { box-shadow: 0 0 0 3px rgba(56, 189, 248, .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(56, 189, 248, .35); }

/* ---------- Order success: blue tick ---------- */
.success-tick { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto;
  background: linear-gradient(135deg, #38bdf8, #38bdf8); color: #fff; font-size: 3rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px rgba(56, 189, 248, .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(56, 189, 248, .25); border-radius: 999px; }
[data-bs-theme="dark"] .platform-seg { border-color: rgba(125, 211, 252, .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(56, 189, 248, .08); color: var(--uc-blue); }
.platform-pill.active { background: var(--uc-grad); color: #fff !important; box-shadow: 0 4px 12px rgba(56, 189, 248, .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-product-glass { height: 82px; }
  .hero-glass-thumb { width: 48px; height: 48px; }
  .hero-glass-cta { width: 30px; height: 30px; }
  .hero-rating-chip { left: 4px; }
  .hero-tile { width: 42px; height: 42px; border-radius: 11px; }
  .hero-tile img { width: 23px; height: 23px; }
  .hero-win-motif { width: 130px; }
  .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; }
}
