/* ==========================================================================
   HOMEPAGE COMPONENTS (home.css)
   ========================================================================== */

/* ---------- Section rhythm & hierarchy ---------- */
.section-tight { padding: 32px 0; }
.section { padding: 32px 0; }
.section-alt { background: var(--white); }
.section-sub {
  font-size: 13px; color: var(--text-muted); margin-top: 4px; font-weight: 400;
}
.section-head-stacked { flex-direction: column; align-items: stretch; gap: 14px; }
.section-head-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.chip-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-tabs .chip { cursor: pointer; font-family: inherit; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.chip-tabs .chip:hover:not(.active) { border-color: var(--blue-400); color: var(--blue-600); }

/* Page home — premium shell & layout */
.page-home {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(27, 79, 204, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, #e8eef8 0%, #f4f7fc 28%, #eef2fa 100%);
}
.page-home .section-alt {
  background: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.home-main { display: block; }
.page-home .home-section { padding: 44px 0; }
.page-home .home-section--categories { padding: 20px 0 16px; }
.page-home .home-section--promos-ai { padding: 24px 0 20px; }
.page-home .home-section--pharmacy { padding: 28px 0 32px; }
.page-home .home-section--rewards { padding: 0 0 28px; }
@media (max-width: 768px) { .page-home .home-section { padding: 32px 0; } }

/* ---------- Home: enlarged premium header ---------- */
.page-home .site-chrome {
  box-shadow: 0 10px 40px rgba(10, 31, 68, 0.14);
}
.page-home .topbar .container {
  min-height: 46px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.page-home .topbar-links a { font-size: 13px; }
.page-home .topbar-loc {
  padding: 5px 14px 5px 6px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}
.page-home .topbar-loc-icon { width: 28px; height: 28px; }
.page-home .topbar-loc-icon svg { width: 14px; height: 14px; }
.page-home .topbar-loc-text { font-size: 13px; }

.page-home .site-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
  border-bottom: 1px solid rgba(10, 31, 68, 0.06);
}
.page-home .header-row {
  height: 92px;
  gap: 28px;
}
.page-home .brand-logo { gap: 12px; }
.page-home .brand-logo img { height: 54px; }
.page-home .brand-logo .brand-name { font-size: 23px; letter-spacing: -0.01em; }

.page-home .header-search {
  box-shadow: 0 4px 22px rgba(10, 31, 68, 0.09);
  border-radius: var(--r-lg);
  border: 1px solid rgba(10, 31, 68, 0.06);
}
.page-home .header-search .cat-select {
  min-height: 54px;
  padding: 0 18px;
  font-size: 13.5px;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  background: #f6f8fc;
}
.page-home .header-search input {
  height: 54px;
  font-size: 15px;
  padding: 0 18px;
}
.page-home .header-search .search-btn {
  min-width: 112px;
  height: 54px;
  font-size: 15px;
  padding: 0 22px;
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  background: linear-gradient(135deg, var(--blue-600), #1e40af);
}
.page-home .header-search .search-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, var(--navy-800));
}

.page-home .header-actions { gap: 28px; }
.page-home .header-action-item svg { width: 27px; height: 27px; }
.page-home .header-action-item .label small { font-size: 12px; }
.page-home .header-action-item .label strong { font-size: 14.5px; }
.page-home .header-action-item .count-badge {
  width: 19px;
  height: 19px;
  font-size: 10.5px;
  top: -7px;
  right: -9px;
}

.page-home .category-nav {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%),
    linear-gradient(90deg, #051022 0%, #0a1f44 48%, #051022 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.page-home .category-nav__inner {
  min-height: 56px;
  gap: 16px;
}
.page-home .cat-trigger {
  height: 42px;
  padding: 0 20px 0 8px;
  font-size: 14px;
}
.page-home .cat-trigger__icon { width: 32px; height: 32px; }
.page-home .main-nav-links {
  gap: 4px;
}
.page-home .main-nav-links a,
.page-home .main-nav-links .nav-more-btn {
  font-size: 13.5px;
  height: 40px;
  padding: 0 14px;
}
.page-home .nav-wallet-pill,
.page-home .nav-speed-pill {
  padding: 8px 16px 8px 8px;
}
.page-home .nav-pill-copy { font-size: 13px; }

@media (max-width: 1100px) {
  .page-home .header-row { height: 84px; gap: 22px; }
  .page-home .brand-logo img { height: 48px; }
}
@media (max-width: 768px) {
  .page-home .header-row { height: 56px; gap: 10px; min-width: 0; }
  .page-home .brand-logo { min-width: 0; flex: 1; }
  .page-home .brand-logo .brand-name { font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
  .page-home .brand-logo img { height: 34px; }
  .page-home .header-actions { gap: 10px; flex-shrink: 0; }
  .page-home .header-action-item svg { width: 22px; height: 22px; }
  .page-home .topbar .container {
    min-height: 36px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .page-home .topbar-loc { max-width: 100%; min-width: 0; }
  .page-home .topbar-loc-text { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: calc(100vw - 120px); }
  .page-home .home-section { padding: 24px 0; }
  .page-home .home-section--categories { padding: 12px 0 10px; }
  .page-home .home-section--promos-ai { padding: 16px 0 18px; }
  .page-home .home-section--rewards { padding: 0 0 20px; }
  .page-home .home-section--trending,
  .page-home .home-section--topsell,
  .page-home .home-section--brands { padding: 20px 0; }
  .page-home .home-section--trust { padding: 16px 0; }
  .page-home .section-head--premium { flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
  .section-head-top { flex-direction: column; align-items: stretch; gap: 8px; }
  .section-head-top .view-all { align-self: flex-start; }
  /* Trending / Top Selling — compact header on mobile */
  .home-section--trending .section-head-top,
  .home-section--topsell .section-head--premium,
  .home-section--topsell .topsell-panel__header,
  .home-section--brands .brands-panel__header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 0;
  }
  .home-section--trending .section-sub,
  .home-section--topsell .section-sub,
  .home-section--brands .section-sub { display: none; }
  .home-section--trending .section-head--premium h2,
  .home-section--topsell .section-head--premium h2,
  .home-section--topsell .topsell-panel__header h2,
  .home-section--brands .brands-panel__header h2 { font-size: 18px; }
  .home-section--trending .section-eyebrow,
  .home-section--topsell .section-eyebrow,
  .home-section--brands .section-eyebrow { margin-bottom: 4px; font-size: 10px; }
  .home-section--trending .view-all,
  .home-section--topsell .view-all,
  .home-section--topsell .topsell-panel__header .view-all,
  .home-section--brands .brands-panel__header .view-all {
    align-self: flex-start;
    flex-shrink: 0;
    padding: 6px 11px;
    font-size: 12px;
    white-space: nowrap;
  }
  .home-section--trending .section-head-stacked { gap: 10px; margin-bottom: 12px; }
  .chip-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    margin: 0;
    scrollbar-width: none;
  }
  .chip-tabs::-webkit-scrollbar { display: none; }
  .chip-tabs .chip { flex-shrink: 0; }
  /* Home product rows — 2-col grid on mobile (no horizontal overflow) */
  .product-row.product-row--home {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }
  .product-row.product-row--home .product-card {
    min-width: 0;
    max-width: none;
    width: 100%;
    scroll-snap-align: unset;
  }
  .product-row--home .product-card .pc-body { padding: 9px 10px 10px; gap: 4px; }
  .product-row--home .product-card .pc-title { font-size: 12px; height: 2.5em; }
  .product-row--home .product-card .pc-price { font-size: 14px; }
  .product-row--home .product-card .pc-mrp { font-size: 11px; }
  .product-row--home .product-card .pc-rating span { font-size: 10px; }
  .product-row--home .product-card .pc-delivery { font-size: 10px; }
  .product-row--home .product-card .pc-add-btn { padding: 8px; font-size: 11.5px; margin-top: 8px; }
  .product-row--home .product-card .pill-tag { font-size: 9.5px; padding: 3px 7px; }
  /* Compact home product cards on mobile */
  .product-row--home .product-card .pc-img-wrap { aspect-ratio: 1 / 0.88; }
  .product-row--home .product-card .pc-vendor { display: none; }
  .product-row--home .product-card .pc-wish { width: 26px; height: 26px; top: 7px; right: 7px; }
  .product-row--home .product-card .pc-wish svg { width: 13px; height: 13px; }
  .product-row--home .product-card .pc-rating { gap: 4px; }
  .product-row--home .product-card .pc-rating svg { width: 11px; height: 11px; }
  .product-row--home .product-card .pc-delivery--pan {
    color: var(--text-muted);
    font-weight: 500;
  }
  .product-row--home .product-card .pc-delivery--pan svg { color: var(--gray-500); stroke-width: 2; }
  .product-row--home .product-card .pc-delivery--quick { font-size: 10px; }
  /* Top Selling — show 4 items on mobile */
  .topsell-grid .product-card:nth-child(n+5) { display: none; }
}

.section-head--premium { align-items: center; margin-bottom: 24px; }
.section-head-copy { min-width: 0; }
.section-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--blue-600); margin-bottom: 6px;
}
.section-eyebrow--hot { color: var(--red-600); }
.page-home .section-head--premium h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 700; letter-spacing: -0.02em;
  color: var(--navy-900); line-height: 1.2;
}
.page-home .section-sub { font-size: 14px; margin-top: 6px; max-width: 520px; }
.page-home .view-all {
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--blue-50); border: 1px solid rgba(27, 79, 204, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.page-home .view-all:hover {
  background: var(--blue-600); color: var(--white); border-color: var(--blue-600);
}

.value-prop-bar--float {
  margin-top: -32px; position: relative; z-index: 4;
  background: transparent; border: none; box-shadow: none; padding: 0 0 8px;
}
.value-prop-bar--float .container {
  background: var(--white); border-radius: var(--r-xl);
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 48px rgba(10, 31, 68, 0.1); padding: 18px 20px;
}
.value-prop-bar--float .value-prop-grid { padding: 0; gap: 12px; }
.value-prop-bar--float .vp-item {
  padding: 8px 10px; border-right: 1px solid var(--border-soft);
  border-radius: var(--r-md); transition: background 0.2s ease;
}
.value-prop-bar--float .vp-item:hover { background: var(--blue-50); }
.value-prop-bar--float .vp-item:last-child { border-right: none; }
.value-prop-bar--float .vp-item svg {
  width: 32px; height: 32px; padding: 6px;
  background: var(--blue-50); border-radius: 10px;
}
@media (max-width: 600px) {
  .value-prop-bar--float .vp-item svg { width: 28px; height: 28px; padding: 5px; }
}

.home-panel {
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--r-xl); padding: 28px 28px 24px;
  box-shadow: 0 8px 32px rgba(10, 31, 68, 0.06);
}
@media (max-width: 768px) { .home-panel { padding: 20px 16px; border-radius: var(--r-lg); } }

.page-home .categories-premium { background: var(--white); }

.product-row--home .product-card {
  border-radius: var(--r-lg); box-shadow: 0 2px 12px rgba(10, 31, 68, 0.05);
}
.product-row--home .product-card:hover {
  box-shadow: 0 16px 36px rgba(10, 31, 68, 0.12); transform: translateY(-4px);
}
@media (max-width: 1100px) and (min-width: 769px) {
  .product-row--home {
    display: flex; overflow-x: auto; gap: 14px; padding-bottom: 8px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .product-row--home::-webkit-scrollbar { height: 5px; }
  .product-row--home::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
  .product-row--home .product-card {
    min-width: 188px; max-width: 188px; flex-shrink: 0; scroll-snap-align: start;
  }
}

/* ---------- Promo + AI Hub (home) ---------- */
.promo-ai-hub {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.promo-card {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 168px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(10, 31, 68, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(10, 31, 68, 0.14);
}
.promo-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 20px;
  z-index: 2;
  min-width: 0;
}
.promo-card__tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-bottom: 8px;
}
.promo-card__content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 14px;
  color: inherit;
}
.promo-card__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--r-pill);
  transition: transform 0.15s ease, background 0.15s ease;
}
.promo-card:hover .promo-card__action { transform: translateX(2px); }

.promo-card__visual {
  width: 42%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.promo-card__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.promo-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.promo-card--essentials {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 55%, #3b82f6 100%);
  color: var(--white);
}
.promo-card--essentials .promo-card__visual::before {
  background: linear-gradient(90deg, #2563eb 0%, transparent 45%);
}
.promo-card--essentials .promo-card__action {
  background: var(--white);
  color: var(--navy-900);
}

.promo-card--beauty {
  background: linear-gradient(135deg, #f0f7ff 0%, #dceefb 100%);
  color: var(--navy-900);
}
.promo-card--beauty .promo-card__visual::before {
  background: linear-gradient(90deg, #dceefb 0%, transparent 50%);
}
.promo-card--beauty .promo-card__action {
  background: var(--navy-900);
  color: var(--white);
}

.promo-card--pharmacy {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #065f46;
}
.promo-card--pharmacy .promo-card__visual::before {
  background: linear-gradient(90deg, #d1fae5 0%, transparent 50%);
}
.promo-card--pharmacy .promo-card__action {
  background: #059669;
  color: var(--white);
}

/* AI Hub */
.ai-hub {
  background:
    radial-gradient(ellipse 70% 80% at 0% 50%, rgba(22, 163, 74, 0.08) 0%, transparent 55%),
    linear-gradient(105deg, #f8fffb 0%, #f0fdf4 45%, #f5f9ff 100%);
  border: 1px solid rgba(22, 163, 74, 0.15);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 6px 28px rgba(10, 31, 68, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-hub__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ai-hub__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}
.ai-hub__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.ai-hub__avatar-wrap img {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.12);
  display: block;
}
.ai-hub__pulse {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}
.ai-hub__copy { min-width: 0; }
.ai-hub__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #059669;
  background: rgba(22, 163, 74, 0.1);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 6px;
}
.ai-hub__copy h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 5px;
  line-height: 1.3;
}
.ai-hub__copy h3 em {
  font-style: normal;
  color: #059669;
}
.ai-hub__copy p {
  font-size: 13px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
  max-width: 480px;
}
.ai-hub__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.3);
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ai-hub__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.38);
  color: var(--white);
}

.ai-hub__prompts {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(22, 163, 74, 0.12);
}
.ai-hub__prompts-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-600);
  white-space: nowrap;
  flex-shrink: 0;
}
.ai-hub__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.ai-hub__chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
  background: var(--white);
  border: 1px solid rgba(10, 31, 68, 0.1);
  border-radius: var(--r-pill);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(10, 31, 68, 0.04);
}
.ai-hub__chip:hover {
  border-color: #16a34a;
  color: #059669;
  background: #f0fdf4;
  transform: translateY(-1px);
}

@media (max-width: 992px) {
  .promo-cards { grid-template-columns: 1fr; }
  .promo-card { min-height: 152px; }
  .promo-card__content h3 { font-size: 16px; }
}
@media (max-width: 768px) {
  .page-home .home-section--promos-ai { padding: 18px 0 22px; }
  .promo-card { border-radius: 16px; min-height: 140px; }
  .promo-card__content { padding: 18px 16px; }
  .promo-card__visual { width: 38%; }
  .ai-hub { padding: 16px; border-radius: 16px; gap: 14px; }
  .ai-hub__main { flex-direction: column; align-items: stretch; }
  .ai-hub__cta { width: 100%; justify-content: center; }
  .ai-hub__prompts { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ai-hub__chips { width: 100%; }
}

.premium-banner--home {
  border-radius: var(--r-xl); padding: 32px 34px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 48px rgba(6, 24, 51, 0.3);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(230,190,92,0.15) 0%, transparent 55%),
    linear-gradient(110deg, var(--navy-950) 0%, var(--navy-800) 100%);
}
.premium-banner--home h3 { font-size: 20px; }
.premium-banner--home > .btn {
  padding: 12px 24px; border-radius: var(--r-pill); font-weight: 700;
  box-shadow: 0 6px 20px rgba(184, 134, 15, 0.35);
}

.page-home .quickstat-card {
  border-radius: var(--r-xl); padding: 20px 22px;
  box-shadow: 0 4px 16px rgba(10, 31, 68, 0.05);
  border: 1px solid rgba(255,255,255,0.6);
}
.page-home .quickstat-card .qs-ic {
  width: 38px; height: 38px; padding: 7px;
  background: rgba(255,255,255,0.65); border-radius: 12px;
}
.page-home .quickstat-card strong { font-size: 15px; }
.page-home .quickstat-card .qs-val { font-size: 22px; }

/* ---------- Rewards Hub (home) ---------- */
.rewards-hub {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 14px;
  align-items: stretch;
}
.rewards-hub__wallet {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--white);
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(91, 130, 240, 0.35) 0%, transparent 55%),
    linear-gradient(145deg, #0a1f44 0%, #122d5c 55%, #1a3a7a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 36px rgba(10, 31, 68, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rewards-hub__wallet:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(10, 31, 68, 0.24);
}
.rewards-hub__wallet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.rewards-hub__wallet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.rewards-hub__wallet-icon svg { width: 22px; height: 22px; }
.rewards-hub__wallet-badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(22, 163, 74, 0.22);
  border: 1px solid rgba(22, 163, 74, 0.35);
  color: #86efac;
}
.rewards-hub__wallet-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 4px;
}
.rewards-hub__wallet-amount {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.rewards-hub__wallet-note {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 auto;
  padding-bottom: 16px;
}
.rewards-hub__wallet-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--navy-900);
  transition: background 0.15s ease, color 0.15s ease;
}
.rewards-hub__wallet:hover .rewards-hub__wallet-btn {
  background: #eef2ff;
  color: var(--blue-600);
}

.rewards-hub__panel {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 6px 24px rgba(10, 31, 68, 0.06);
  display: flex;
  flex-direction: column;
}
.rewards-hub__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}
.rewards-hub__panel-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
}
.rewards-hub__panel-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-600);
  text-decoration: none;
  white-space: nowrap;
}
.rewards-hub__panel-link:hover { text-decoration: underline; }

.rewards-hub__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.rewards-hub__item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.rewards-hub__item:hover {
  background: #f6f8fc;
  border-color: var(--border-soft);
  transform: translateX(2px);
}
.rewards-hub__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
}
.rewards-hub__item-icon svg { width: 20px; height: 20px; }
.rewards-hub__item-icon--green { background: #e4f6ec; color: #16a34a; }
.rewards-hub__item-icon--red { background: #fef2f2; color: #e0312a; }
.rewards-hub__item-icon--gold { background: #fef9e7; color: #b8860f; }
.rewards-hub__item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.rewards-hub__item-body strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
}
.rewards-hub__item-body span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rewards-hub__item-meta {
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--navy-900);
  white-space: nowrap;
}
.rewards-hub__item-meta--tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  background: #eef1fe;
  color: var(--blue-600);
  font-family: var(--font-body);
}
.rewards-hub__item-arrow {
  color: var(--gray-400);
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}
.rewards-hub__item:hover .rewards-hub__item-arrow {
  color: var(--blue-600);
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .rewards-hub { grid-template-columns: 1fr; }
  .rewards-hub__wallet { min-height: 0; }
}
@media (max-width: 560px) {
  .rewards-hub__item {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 11px 12px;
  }
  .rewards-hub__item-meta,
  .rewards-hub__item-meta--tag {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-top: -2px;
  }
  .rewards-hub__item-arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .rewards-hub__wallet-amount { font-size: 32px; }
}


.page-home .app-download-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 0;
}
.page-home .app-download-section .container {
  max-width: 1140px;
  padding-top: 56px;
  padding-bottom: 56px;
}

/* App download — redesigned (images unchanged) */
.app-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px 56px;
}
.app-dl__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 20px 0;
}
.app-dl__media-ring {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  max-width: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 79, 204, 0.07) 0%, transparent 68%);
  pointer-events: none;
}
.app-dl__mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}
.app-dl__chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(10, 31, 68, 0.08);
  white-space: nowrap;
}
.app-dl__chip svg { width: 15px; height: 15px; flex-shrink: 0; }
.app-dl__chip strong { font-weight: 800; }
.app-dl__chip--rating { top: 8%; right: 0; }
.app-dl__chip--rating svg { color: #f59e0b; }
.app-dl__chip--speed { bottom: 10%; left: 0; }
.app-dl__chip--speed svg { color: var(--blue-600); }
.app-dl__body { max-width: 480px; }
.app-dl__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.app-dl__eyebrow svg { width: 14px; height: 14px; }
.app-dl__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  margin: 0 0 14px;
}
.app-dl__title em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: var(--blue-600);
  font-weight: 700;
}
.app-dl__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 24px;
}
.app-dl__perks {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.app-dl__perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.app-dl__perk-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-dl__perk-icon svg { width: 15px; height: 15px; }
.app-dl__perk-icon--gold { background: #fef9ec; color: #b45309; }
.app-dl__perk-icon--blue { background: #eff6ff; color: #1d4ed8; }
.app-dl__perk-icon--green { background: #f0fdf4; color: #15803d; }
.app-dl__perk-icon--purple { background: #faf5ff; color: #7e22ce; }
.app-dl__perks li > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
}
.app-dl__perks li strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
}
.app-dl__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.app-dl__store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--navy-900);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.app-dl__store:hover {
  background: #0f2744;
  transform: translateY(-1px);
}
.app-dl__store svg { width: 22px; height: 22px; flex-shrink: 0; }
.app-dl__store span { display: flex; flex-direction: column; line-height: 1.15; }
.app-dl__store small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.75;
}
.app-dl__store strong { font-size: 13px; font-weight: 700; }
.app-dl__fine {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 960px) {
  .page-home .app-download-section .container {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .app-dl {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .app-dl__media { order: -1; min-height: 280px; }
  .app-dl__mockup { max-width: 420px; margin: 0 auto; }
  .app-dl__body { max-width: none; margin: 0 auto; }
  .app-dl__eyebrow { justify-content: center; }
  .app-dl__perks {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .app-dl__stores { justify-content: center; }
  .app-dl__chip--rating { top: 6%; right: 2%; }
  .app-dl__chip--speed { bottom: 6%; left: 2%; }
}
@media (max-width: 768px) {
  .page-home .home-section--app { padding: 20px 0; }
  .page-home .app-download-section {
    background: transparent;
    border: none;
  }
  .page-home .app-download-section .container {
    padding-top: 0;
    padding-bottom: 0;
  }
  .app-dl {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
    background: var(--white);
    border: 1px solid rgba(10, 31, 68, 0.08);
    border-radius: var(--r-lg);
    box-shadow: 0 8px 28px rgba(10, 31, 68, 0.05);
    overflow: hidden;
  }
  .app-dl::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #1b4fcc 0%, #4f8cff 50%, #1b4fcc 100%);
    flex-shrink: 0;
  }
  .app-dl__media {
    display: flex;
    order: -1;
    position: relative;
    min-height: 0;
    padding: 14px 16px 6px;
    background: linear-gradient(180deg, #f0f4fc 0%, #ffffff 100%);
  }
  .app-dl__media-ring {
    width: 72%;
    max-width: 220px;
  }
  .app-dl__mockup {
    max-width: 200px;
    margin: 0 auto;
  }
  .app-dl__chip {
    display: inline-flex;
    font-size: 10px;
    padding: 5px 9px;
    gap: 5px;
  }
  .app-dl__chip svg { width: 12px; height: 12px; }
  .app-dl__chip--rating { top: 10%; right: 8%; }
  .app-dl__chip--speed {
    bottom: 8%;
    left: 8%;
    max-width: 42%;
    white-space: normal;
    line-height: 1.25;
    text-align: left;
  }
  .app-dl__chip--speed span { font-size: 9.5px; }
  .app-dl__body {
    position: relative;
    max-width: none;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 14px 16px 16px;
    box-shadow: none;
    overflow: visible;
  }
  .app-dl__body::before {
    display: none;
  }
  .app-dl__eyebrow {
    justify-content: flex-start;
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .app-dl__title {
    font-size: 20px;
    line-height: 1.28;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
  }
  .app-dl__title em {
    display: inline;
    margin-top: 0;
    font-size: 0.95em;
  }
  .app-dl__desc {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 16px;
    color: var(--text-muted);
  }
  .app-dl__perks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 16px;
    max-width: none;
    text-align: left;
  }
  .app-dl__perks li {
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(10, 31, 68, 0.07);
    border-radius: 10px;
    background: linear-gradient(180deg, #fafbfd, #f4f7fc);
    min-width: 0;
  }
  .app-dl__perk-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
  .app-dl__perk-icon svg { width: 14px; height: 14px; }
  .app-dl__perks li > span:last-child {
    font-size: 10.5px;
    line-height: 1.35;
    min-width: 0;
  }
  .app-dl__perks li strong {
    font-size: 11.5px;
    line-height: 1.25;
    display: block;
  }
  .app-dl__stores {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 10px;
  }
  .app-dl__store {
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
    padding: 9px 10px;
    border-radius: 10px;
  }
  .app-dl__store svg { width: 18px; height: 18px; }
  .app-dl__store small { font-size: 8px; }
  .app-dl__store strong { font-size: 11.5px; }
  .app-dl__fine {
    font-size: 11px;
    text-align: center;
    line-height: 1.45;
    color: var(--text-muted);
  }
}
@media (max-width: 380px) {
  .app-dl__perks { grid-template-columns: 1fr; }
  .app-dl__stores { flex-direction: column; }
  .app-dl__store { justify-content: center; }
}

.trust-strip--home {
  border-radius: var(--r-xl);
  padding: 8px 0;
  background: linear-gradient(180deg, #ffffff, #f8faff);
  box-shadow: 0 4px 20px rgba(10, 31, 68, 0.05);
  border: 1px solid rgba(10, 31, 68, 0.08);
  overflow: hidden;
}
.trust-strip--home::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #1b4fcc 0%, #4f8cff 50%, #1b4fcc 100%);
}
.trust-strip--home .ts-item svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  background: var(--blue-50);
  border-radius: 10px;
  flex-shrink: 0;
}
.trust-strip--home .ts-item strong {
  color: var(--navy-900);
  font-family: var(--font-display);
}
@media (min-width: 769px) {
  .trust-strip--home {
    padding: 20px 24px;
  }
  .trust-strip--home::before {
    margin: -20px -24px 16px;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }
}

.newsletter-strip--home {
  background: linear-gradient(125deg, var(--navy-950) 0%, #0f2e63 50%, #152d5c 100%);
  padding: 36px 0; border-top: 1px solid rgba(255,255,255,0.06);
}
.newsletter-strip--home .newsletter-row h4 { font-size: 18px; font-weight: 700; }
.newsletter-strip--home .newsletter-form input {
  background: rgba(255,255,255,0.95); border: 1px solid rgba(255,255,255,0.2); min-width: 280px;
}
.newsletter-strip--home .btn-accent {
  border-radius: var(--r-md); padding: 0 22px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(224, 49, 42, 0.35);
}

.page-home .chip-tabs .chip.active {
  background: var(--navy-900); color: var(--white);
  border-color: var(--navy-900); box-shadow: 0 4px 12px rgba(10, 31, 68, 0.2);
}
.page-home .chip-tabs .chip {
  border-radius: var(--r-pill); padding: 8px 16px;
  font-size: 13px; font-weight: 600;
}

.page-home .countdown-row:not(.deals-countdown) {
  background: var(--red-50); border: 1px solid #f5c4c2;
  padding: 8px 14px; border-radius: var(--r-pill);
  font-weight: 600; color: var(--red-700);
}
.page-home .countdown-row:not(.deals-countdown) .cd-box {
  background: var(--red-600); border-radius: 6px;
  min-width: 32px; padding: 5px 8px;
}

/* ---------- Mobile quick access (category nav hidden on mobile) ---------- */
.mobile-quick-nav {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
}
@media (max-width: 768px) {
  .mobile-quick-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 10px 12px;
    overflow: visible;
    position: relative;
    z-index: 1;
  }
  .mobile-quick-nav a {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 9.5px;
    font-weight: 600;
    color: var(--gray-600);
    text-align: center;
    padding: 4px 2px;
    border-radius: var(--r-sm);
    transition: background .15s ease;
    line-height: 1.2;
  }
  .mobile-quick-nav a svg { width: 18px; height: 18px; color: var(--blue-600); flex-shrink: 0; }
  .mobile-quick-nav a:active { background: var(--blue-50); color: var(--blue-600); }
}

/* ---------- Premium Hero Carousel ---------- */
.hero-carousel--premium {
  --hero-accent: var(--gold-400);
  --hero-accent-soft: rgba(230, 190, 92, 0.22);
  --hero-glow: rgba(91, 130, 240, 0.35);
  position: relative;
  background:
    radial-gradient(ellipse 90% 70% at 12% 45%, rgba(27, 79, 204, 0.32) 0%, transparent 58%),
    radial-gradient(ellipse 65% 55% at 88% 25%, rgba(91, 130, 240, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(230, 190, 92, 0.08) 0%, transparent 60%),
    linear-gradient(125deg, #030c1a 0%, #081530 32%, #0d2556 62%, #0a1f44 100%);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-carousel--premium[data-active-theme="premium"] {
  --hero-accent: var(--gold-400);
  --hero-accent-soft: rgba(230, 190, 92, 0.22);
  --hero-glow: rgba(230, 190, 92, 0.35);
}
.hero-carousel--premium[data-active-theme="deals"] {
  --hero-accent: #fb923c;
  --hero-accent-soft: rgba(251, 146, 60, 0.22);
  --hero-glow: rgba(239, 68, 68, 0.35);
}

.hero-carousel-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(60px);
  animation: heroOrbFloat 12s ease-in-out infinite alternate;
}
.hero-orb-1 {
  width: 520px; height: 520px; top: -140px; right: 10%;
  background: radial-gradient(circle, var(--hero-glow) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 380px; height: 380px; bottom: -100px; left: 6%;
  background: radial-gradient(circle, rgba(27,79,204,0.3) 0%, transparent 70%);
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 220px; height: 220px; top: 28%; left: 42%;
  background: radial-gradient(circle, var(--hero-accent-soft) 0%, transparent 70%);
  animation-delay: -7s;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 85% at 50% 45%, black 15%, transparent 78%);
  opacity: 0.55;
}
@keyframes heroOrbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(20px, -16px) scale(1.06); }
}

.hero-track {
  position: relative;
  height: 580px;
  z-index: 1;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.7s;
  pointer-events: none;
}
.hero-slide .container { height: 100%; }
.hero-slide.active {
  opacity: 1; visibility: visible; pointer-events: auto; z-index: 1;
}
.hero-slide-inner {
  display: grid;
  grid-template-columns: 1fr min(46%, 540px);
  align-items: center;
  gap: 56px;
  width: 100%; height: 100%;
  padding: 52px 0 96px;
}

/* Copy block */
.hero-slide-copy {
  color: var(--white); z-index: 2; min-width: 0;
  animation: none;
}
.hero-slide.active .hero-slide-copy {
  animation: heroCopyIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-slide-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--hero-accent);
  margin-bottom: 22px; padding: 9px 16px 9px 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-pill);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 16px rgba(0,0,0,0.12);
}
.hero-tag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hero-accent);
  box-shadow: 0 0 12px var(--hero-accent);
  animation: heroPulse 2s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-slide-copy h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05; color: var(--white) !important;
  margin-bottom: 22px; font-family: var(--font-display); font-weight: 800;
  letter-spacing: -0.025em;
}
.hero-slide-copy h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--white) 0%, var(--hero-accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-slide-copy p {
  font-size: 17px; color: rgba(255,255,255,0.84);
  margin-bottom: 32px; line-height: 1.75; max-width: 540px;
}
.hero-slide-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-bottom: 26px;
}
.hero-btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px 16px 34px;
  font-size: 16px; font-weight: 700; border-radius: var(--r-pill);
  background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
  color: var(--navy-900);
  box-shadow: 0 10px 32px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.95);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.95);
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  color: var(--blue-600);
}
.hero-btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
  font-size: 15px; line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-btn-primary:hover .hero-btn-arrow {
  background: var(--blue-600); transform: translateX(2px);
}
.hero-btn-ghost {
  padding: 16px 26px; font-size: 15px; font-weight: 600;
  border-radius: var(--r-pill); color: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hero-btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.38);
  color: var(--white);
}
.hero-trust-row {
  display: flex; flex-wrap: wrap; gap: 18px 28px; list-style: none;
}
.hero-trust-row li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.68);
}
.hero-trust-row svg { width: 16px; height: 16px; color: var(--hero-accent); flex-shrink: 0; }

/* Visual frame */
.hero-slide-visual {
  display: flex; align-items: center; justify-content: center;
  animation: none;
}
.hero-slide.active .hero-slide-visual {
  animation: heroVisualIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.hero-visual-frame {
  position: relative; width: 100%; max-width: 540px;
  aspect-ratio: 5 / 4;
  transform: perspective(900px) rotateY(-4deg);
  transition: transform 0.4s ease;
}
.hero-carousel--premium:hover .hero-slide.active .hero-visual-frame {
  transform: perspective(900px) rotateY(-2deg) translateY(-4px);
}
.hero-visual-ring {
  position: absolute; inset: -14px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 24px;
  animation: heroRingSpin 24s linear infinite;
}
.hero-visual-glow {
  position: absolute; inset: -20%;
  background: radial-gradient(circle, var(--hero-glow) 0%, transparent 65%);
  z-index: 0; pointer-events: none;
}
.hero-visual-frame img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 40px 72px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.08) inset;
}
.hero-slide--ai .hero-visual-frame img { object-position: center 15%; }
.hero-visual-badge {
  position: absolute; z-index: 2; bottom: 20px; left: 20px;
  padding: 9px 16px; font-size: 13px; font-weight: 700;
  color: var(--white); border-radius: var(--r-pill);
  background: rgba(6, 24, 51, 0.72);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.hero-visual-badge--hot {
  background: linear-gradient(135deg, rgba(224,49,42,0.9), rgba(217,119,6,0.9));
  border-color: rgba(255,255,255,0.25);
}
@keyframes heroRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroVisualIn {
  from { opacity: 0; transform: perspective(900px) rotateY(-8deg) translateX(30px) scale(0.96); }
  to { opacity: 1; transform: perspective(900px) rotateY(-4deg) translateX(0) scale(1); }
}

/* Controls */
.hero-controls {
  position: absolute; inset: 0; pointer-events: none; z-index: 5;
}
.hero-nav {
  pointer-events: auto;
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); cursor: pointer;
  backdrop-filter: blur(14px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.hero-nav svg { width: 22px; height: 22px; }
.hero-nav:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.05);
}
.hero-nav-prev { left: max(16px, calc((100vw - var(--container-max)) / 2 - 60px)); }
.hero-nav-next { right: max(16px, calc((100vw - var(--container-max)) / 2 - 60px)); }

@media (max-width: 1100px) {
  .hero-controls--nav-only {
    display: none;
  }
  .hero-nav { display: none; }
  .hero-slide-inner { grid-template-columns: 1fr 42%; gap: 32px; }
}
@media (max-width: 768px) {
  .hero-carousel--premium {
    overflow: visible;
    max-width: 100%;
    background:
      radial-gradient(ellipse 100% 60% at 50% 0%, rgba(27, 79, 204, 0.28) 0%, transparent 55%),
      linear-gradient(180deg, #030c1a 0%, #081530 45%, #0a1f44 100%);
  }
  .hero-orb { display: none; }
  .hero-grid { opacity: 0.35; }

  .hero-track {
    height: auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
  }
  .hero-slide {
    position: relative;
    inset: auto;
    height: auto;
    width: 100%;
    max-width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .hero-slide.active { display: block; }

  .hero-slide .container.hero-slide-inner {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    height: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 0 12px;
    gap: 0;
  }

  /* Full-width image banner on top */
  .hero-slide-visual {
    order: 1 !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 0 16px;
  }
  .hero-visual-frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 2.15 / 1;
    min-height: 150px;
    max-height: 168px;
    margin: 0;
    transform: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
  }
  .hero-visual-ring,
  .hero-visual-glow { display: none; }
  .hero-visual-frame img {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-visual-badge {
    bottom: 10px;
    left: 16px;
    font-size: 10.5px;
    padding: 5px 11px;
    max-width: calc(100% - 32px);
  }

  .hero-slide-copy {
    order: 2 !important;
    max-width: 100%;
    min-width: 0;
    padding: 0 20px;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  .hero-slide.active .hero-slide-copy,
  .hero-slide.active .hero-slide-visual {
    animation: none;
  }

  .hero-slide-tag {
    display: inline-flex;
    font-size: 9.5px;
    letter-spacing: 0.07em;
    margin-bottom: 12px;
    padding: 5px 11px 5px 9px;
    max-width: 100%;
  }
  .hero-tag-dot { width: 6px; height: 6px; }

  .hero-slide-copy h1 {
    font-size: clamp(22px, 6vw, 26px);
    margin-bottom: 10px;
    line-height: 1.18;
    overflow-wrap: break-word;
    letter-spacing: -0.02em;
  }
  .hero-slide-copy p {
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.6;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.82);
    overflow-wrap: break-word;
  }

  .hero-slide-actions {
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
    gap: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .hero-btn-primary {
    width: 100%;
    max-width: 100%;
    flex: none;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    box-sizing: border-box;
    border-radius: 12px;
    gap: 10px;
  }
  .hero-btn-arrow {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .hero-btn-ghost { display: none; }

  .hero-trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 100%;
    padding: 12px 0 8px;
    border-top: none;
    margin: 0;
  }
  .hero-trust-row li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 600;
    max-width: 100%;
    padding: 8px 6px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    line-height: 1.25;
  }
  .hero-trust-row svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .hero-slide.active .hero-visual-frame,
  .hero-carousel--premium:hover .hero-slide.active .hero-visual-frame {
    transform: none;
  }
}
@media (max-width: 480px) {
  .hero-visual-frame { max-height: 150px; }
  .hero-slide-copy { padding: 0 18px; }
  .hero-slide-copy h1 { font-size: 20px; }
  .hero-slide-copy p { font-size: 12.5px; margin-bottom: 12px; }
  .hero-btn-primary { padding: 12px 16px; font-size: 13.5px; }
  .hero-trust-row li { font-size: 9.5px; padding: 7px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orb, .hero-visual-ring, .hero-tag-dot { animation: none !important; }
  .hero-slide.active .hero-slide-copy,
  .hero-slide.active .hero-slide-visual { animation: none !important; }
  .hero-visual-frame { transform: none !important; }
}

/* Legacy hero btn aliases */
.btn-white.btn-lg,
.hero-cta.btn-lg { padding: 14px 30px; font-size: 15px; border-radius: var(--r-pill); }
.hero-cta { color: var(--navy-800); gap: 6px; }
.hero-cta:hover { color: var(--blue-600); }

/* ---------- Value proposition bar ---------- */
.value-prop-bar {
  background: var(--white); border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 12px rgba(10,31,68,0.04);
  position: relative; z-index: 2;
}
.value-prop-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 16px 0;
}
.vp-item {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px;
  border-right: 1px solid var(--border-soft);
}
.vp-item:last-child { border-right: none; }
.vp-item svg { width: 28px; height: 28px; color: var(--blue-600); flex-shrink: 0; }
.vp-item strong { display: block; font-size: 13px; color: var(--navy-900); }
.vp-item span { font-size: 11.5px; color: var(--text-muted); }
@media (max-width: 980px) { .value-prop-grid { grid-template-columns: repeat(3, 1fr); } .vp-item { border-right: none; } }
@media (max-width: 768px) {
  .value-prop-bar--float { margin-top: 0; padding: 0; max-width: 100%; }
  .value-prop-bar--float .container {
    padding: 12px 16px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid var(--border-soft);
    overflow: visible;
    width: 100%;
    max-width: 100%;
  }
  .value-prop-bar--float .value-prop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    overflow: visible;
  }
  .value-prop-bar--float .vp-item {
    min-width: 0;
    width: auto;
    flex: unset;
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    padding: 10px;
    gap: 8px;
  }
  .value-prop-bar--float .vp-item svg {
    width: 26px;
    height: 26px;
    padding: 5px;
    flex-shrink: 0;
  }
  .value-prop-bar--float .vp-item strong { font-size: 11.5px; line-height: 1.25; }
  .value-prop-bar--float .vp-item span { font-size: 10px; line-height: 1.3; display: block; }
  .value-prop-bar--float .vp-item:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) { .value-prop-grid:not(.value-prop-bar--float .value-prop-grid) { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* Legacy hero (unused) — kept for other pages if needed */
.hero-section { padding: 28px 0; }

/* ---------- Quick-commerce category grid (Blinkit-style) ---------- */
.categories-premium {
  position: relative;
  background: var(--white);
  padding-top: 0;
  padding-bottom: 0;
}
.page-home .categories-premium {
  background: var(--white);
  border-radius: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.section-head--compact { margin-bottom: 14px; }
.section-head--compact h2 { font-size: 20px; margin: 0; }

.cat-quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 12px;
}

.cat-quick-row {
  display: contents;
}

.cat-quick-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-decoration: none;
  color: var(--gray-800);
  min-width: 0;
  transition: transform 0.18s ease;
}
.cat-quick-tile:hover { transform: translateY(-2px); }
.cat-quick-tile:hover .cat-quick-tile__label { color: var(--blue-600); }

.cat-quick-tile__img {
  width: 100%;
  aspect-ratio: 1;
  background: #eef4fc;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.cat-quick-tile:hover .cat-quick-tile__img {
  background: #e3ecfa;
  box-shadow: 0 4px 12px rgba(10, 31, 68, 0.07);
}
.cat-quick-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.cat-quick-tile:hover .cat-quick-tile__img img { transform: scale(1.04); }

.cat-quick-tile__img--more {
  background: linear-gradient(145deg, #eef4fc, #e8effa);
  color: var(--blue-600);
}
.cat-quick-tile__img--more svg {
  width: 32px;
  height: 32px;
  opacity: 0.85;
}

.cat-quick-tile__label {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  color: var(--gray-800);
  width: 100%;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

@media (max-width: 992px) {
  .cat-quick-grid { gap: 12px 10px; }
  .cat-quick-tile__img { border-radius: 12px; padding: 5px; }
  .cat-quick-tile__label { font-size: 11.5px; min-height: 2.5em; }
}
@media (max-width: 768px) {
  .page-home .home-section--categories { padding: 16px 0 12px; }
  .cat-quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
  .cat-quick-tile { gap: 6px; }
  .cat-quick-tile__img { border-radius: 12px; padding: 5px; }
  .cat-quick-tile__label { font-size: 11px; min-height: 2.4em; }
}
@media (max-width: 480px) {
  .cat-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
  .cat-quick-tile__img { border-radius: 10px; padding: 4px; }
  .cat-quick-tile__label { font-size: 10.5px; line-height: 1.25; min-height: 2.5em; }
}

/* Legacy cat-showcase (unused on home) */
.cat-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.cat-showcase-item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10, 31, 68, 0.05);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.cat-showcase-item:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 79, 204, 0.35);
  box-shadow: 0 14px 32px rgba(10, 31, 68, 0.11);
}

/* Wide hero card — spans 2 cols, horizontal layout */
.cat-showcase-item--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: stretch;
  border-color: rgba(27, 79, 204, 0.15);
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 55%);
}
.cat-showcase-item--wide .cat-showcase-media {
  flex: 1.1;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  border-right: 1px solid var(--border-soft);
}
.cat-showcase-item--wide .cat-showcase-media img {
  max-height: 168px;
  padding: 12px 16px;
}
.cat-showcase-item--wide .cat-showcase-info {
  flex: 0.9;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 22px;
  gap: 8px;
  border-top: none;
  background: transparent;
}
.cat-showcase-item--wide .cat-showcase-info strong {
  font-size: 18px;
  color: var(--navy-900);
}
.cat-showcase-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-600);
  background: var(--gold-100);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.cat-showcase-item--wide .cat-showcase-link {
  margin-top: 4px;
  font-size: 13px;
  padding: 8px 14px;
  background: var(--blue-600);
  color: var(--white);
  border-radius: var(--r-pill);
}
.cat-showcase-item--wide:hover .cat-showcase-link {
  background: var(--navy-700);
  color: var(--white);
}

.cat-showcase-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #fafbfd 0%, #eef2fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  overflow: hidden;
}
.cat-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
  filter: drop-shadow(0 6px 14px rgba(10, 31, 68, 0.08));
}
.cat-showcase-item:hover .cat-showcase-media img {
  transform: scale(1.05);
}

.cat-showcase-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--border-soft);
  background: var(--white);
}
.cat-showcase-info strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.3;
  min-width: 0;
}
.cat-showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue-600);
}
.cat-showcase-link svg {
  transition: transform 0.2s ease;
}
.cat-showcase-item:hover .cat-showcase-link svg {
  transform: translateX(2px);
}

@media (max-width: 1100px) {
  .cat-showcase { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cat-showcase-item--wide { grid-column: span 3; }
}
@media (max-width: 768px) {
  .cat-showcase { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-showcase-item--wide {
    grid-column: span 2;
    flex-direction: column;
  }
  .cat-showcase-item--wide .cat-showcase-media {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
    aspect-ratio: 16 / 9;
  }
  .cat-showcase-item--wide .cat-showcase-media img { max-height: 140px; }
  .cat-showcase-item--wide .cat-showcase-info { padding: 16px; }
  .cat-showcase-media { aspect-ratio: 1 / 1; padding: 8px 10px; }
  .cat-showcase-info strong { font-size: 12.5px; }
}
@media (max-width: 420px) {
  .cat-showcase-info { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---------- Legacy Category Grid (other pages) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.cat-grid-cards { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-grid-cards .cat-tile:nth-child(n+6) { grid-column: span 1; }
@media (min-width: 981px) {
  .cat-grid-cards .cat-tile:nth-child(6) { grid-column: 1 / span 1; }
  .cat-grid-cards .cat-tile:nth-child(7) { grid-column: 2 / span 1; }
}
.cat-tile {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  padding: 18px 10px; text-align: center; transition: all var(--t-base) var(--ease);
  overflow: hidden;
}
.cat-grid-cards .cat-tile { padding: 0; text-align: left; border-radius: var(--r-md); }
.cat-grid-cards .cat-tile .cat-ic {
  width: 100%; height: 110px; border-radius: 0; margin: 0; background: var(--gray-50);
}
.cat-grid-cards .cat-tile span {
  display: block; padding: 12px 14px; font-size: 13.5px; font-weight: 600;
}
.cat-tile:hover { border-color: var(--blue-400); box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.cat-tile .cat-ic {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center;
  justify-content: center; overflow: hidden; background: var(--blue-50);
}
.cat-tile .cat-ic img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile span { font-size: 12.5px; font-weight: 600; color: var(--gray-700); }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } .cat-grid-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } .cat-grid-cards { grid-template-columns: repeat(2, 1fr); } .cat-tile { padding: 12px 6px; } .cat-tile .cat-ic { width: 46px; height: 46px; } .cat-grid-cards .cat-tile .cat-ic { width: 100%; height: 90px; } }

/* ---------- Flash Deals Panel ---------- */
.deals-panel {
  position: relative;
  background: linear-gradient(165deg, #fff 0%, #fff8f8 55%, #fff 100%);
  border: 1px solid rgba(224, 49, 42, 0.12);
  border-radius: var(--r-xl);
  padding: 20px 22px 18px;
  box-shadow: 0 10px 36px rgba(224, 49, 42, 0.07), 0 2px 8px rgba(10, 31, 68, 0.04);
  overflow: hidden;
}
.deals-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e0312a 0%, #fb923c 50%, #e0312a 100%);
}
.deals-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.deals-panel__brand { min-width: 0; flex: 1; }
.deals-panel__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(224, 49, 42, 0.1);
  border: 1px solid rgba(224, 49, 42, 0.16);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 8px;
}
.deals-panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.2;
}
.deals-panel__flame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  flex-shrink: 0;
}
.deals-panel__flame svg { width: 16px; height: 16px; color: var(--red-600); }
.deals-panel__sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.deals-panel__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.deals-countdown.countdown-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: none;
  font-weight: 600;
  color: var(--red-700);
}
.deals-countdown__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-600);
}
.deals-countdown__timer {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 5px 8px;
  border-radius: 10px;
  background: rgba(224, 49, 42, 0.08);
  border: 1px solid rgba(224, 49, 42, 0.14);
}
.deals-countdown .cd-box {
  min-width: 26px;
  padding: 4px 5px;
  border-radius: 6px;
  background: var(--red-600);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
  line-height: 1;
}
.deals-countdown .cd-sep {
  font-size: 12px;
  font-weight: 800;
  color: var(--red-600);
  line-height: 1;
}
.deals-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-600);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.deals-panel__link:hover { color: var(--navy-900); }
.deals-panel__link svg { flex-shrink: 0; }
.deals-panel__scroll { margin: 0 -6px; }
.deals-scroll-row {
  scroll-snap-type: x mandatory;
  gap: 12px;
  padding: 2px 4px 4px;
  scrollbar-width: none;
}
.deals-scroll-row::-webkit-scrollbar { display: none; }
.deals-scroll-row .product-card {
  scroll-snap-align: start;
  border-radius: 14px;
  border-color: rgba(10, 31, 68, 0.07);
  box-shadow: 0 4px 16px rgba(10, 31, 68, 0.06);
}
.deals-scroll-row .product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 31, 68, 0.1);
  border-color: rgba(27, 79, 204, 0.15);
}
.deals-scroll-row .product-card .pill-tag.off {
  top: 8px;
  left: 8px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 7px;
  box-shadow: 0 4px 10px rgba(224, 49, 42, 0.28);
}
.deals-scroll-row .product-card .pc-body { padding: 10px 11px 11px; gap: 4px; }
.deals-scroll-row .product-card .pc-title { font-size: 12.5px; height: 2.5em; -webkit-line-clamp: 2; }
.deals-scroll-row .product-card .pc-price { font-size: 15px; }
.deals-scroll-row .product-card .pc-mrp { font-size: 11.5px; }
.deals-scroll-row .product-card .pc-rating span { font-size: 10.5px; }
.deals-scroll-row .product-card .pc-delivery { font-size: 10.5px; }
.deals-scroll-row .product-card .pc-add-btn {
  margin-top: 8px;
  padding: 8px;
  font-size: 12px;
  border-radius: 9px;
  background: var(--blue-600);
  color: var(--white);
  border: none;
}
.deals-scroll-row .product-card .pc-add-btn:hover { background: var(--navy-700); }
.flash-deals-row { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 768px) {
  .page-home .home-section--deals { padding: 20px 0; }
  .deals-panel {
    padding: 16px 14px 14px;
    border-radius: var(--r-lg);
  }
  .deals-panel__header {
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  .deals-panel__sub { display: none; }
  .deals-panel__title { font-size: 17px; }
  .deals-panel__flame { width: 26px; height: 26px; border-radius: 7px; }
  .deals-panel__flame svg { width: 15px; height: 15px; }
  .deals-panel__badge { margin-bottom: 6px; font-size: 9px; padding: 2px 8px; }
  .deals-countdown__label { font-size: 9px; }
  .deals-countdown__timer { padding: 4px 6px; border-radius: 8px; }
  .deals-countdown .cd-box { min-width: 22px; padding: 3px 4px; font-size: 11px; }
  .deals-panel__link { font-size: 11.5px; }
  .deals-panel__scroll { margin: 0 -4px; }
  .deals-scroll-row { gap: 10px; padding-bottom: 2px; }
  .deals-scroll-row .product-card { min-width: 148px; max-width: 148px; }
  .deals-scroll-row .product-card .pc-img-wrap { aspect-ratio: 1 / 0.92; }
  .deals-scroll-row .product-card .pc-body { padding: 9px 9px 10px; }
  .deals-scroll-row .product-card .pc-title { font-size: 11.5px; }
  .deals-scroll-row .product-card .pc-price { font-size: 14px; }
  .deals-scroll-row .product-card .pc-add-btn { padding: 7px; font-size: 11px; margin-top: 6px; }
}
@media (min-width: 769px) {
  .deals-panel__scroll.scroll-row-wrap { padding: 0 40px; }
  .deals-scroll-row .product-card { min-width: 188px; max-width: 188px; }
}

/* ---------- Top Selling Panel ---------- */
.topsell-panel {
  background: var(--white);
  border: 1px solid rgba(10, 31, 68, 0.08);
  border-radius: var(--r-xl);
  padding: 20px 22px 18px;
  box-shadow: 0 8px 28px rgba(10, 31, 68, 0.05);
}
.topsell-panel::before {
  content: "";
  display: block;
  height: 3px;
  margin: -20px -22px 16px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(90deg, #f59e0b 0%, #ffeb3b 50%, #f59e0b 100%);
}
.topsell-panel__header { margin-bottom: 14px !important; }
.topsell-grid .product-card {
  border-radius: 14px;
  border-color: rgba(10, 31, 68, 0.07);
  box-shadow: 0 3px 14px rgba(10, 31, 68, 0.05);
}
.topsell-grid .product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.09);
}
@media (max-width: 768px) {
  .topsell-panel {
    padding: 16px 14px 14px;
    border-radius: var(--r-lg);
  }
  .topsell-panel::before {
    margin: -16px -14px 12px;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  .topsell-panel__header { margin-bottom: 10px !important; }
}

/* Horizontal scroll row with arrows (reference deals) */
.scroll-row-wrap { position: relative; padding: 0 44px; }
@media (max-width: 768px) { .scroll-row-wrap { padding: 0; } }
.scroll-row {
  display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth;
  padding: 4px 2px 8px; -webkit-overflow-scrolling: touch;
}
.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
.scroll-row .product-card { min-width: 200px; max-width: 200px; flex-shrink: 0; }
.scroll-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-soft);
  background: var(--white); box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  color: var(--navy-800); cursor: pointer; transition: all .15s ease;
}
.scroll-arrow:hover { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }
.scroll-arrow svg { width: 18px; height: 18px; }
.scroll-arrow-left { left: 0; }
.scroll-arrow-right { right: 0; }
@media (max-width: 768px) { .scroll-arrow { display: none; } .scroll-row:not(.deals-scroll-row) .product-card { min-width: 170px; max-width: 170px; } }
.countdown-row:not(.deals-countdown) { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--gray-600); }
.countdown-row:not(.deals-countdown) .cd-box {
  background: var(--navy-900); color: var(--white); font-weight: 700; font-size: 12.5px; padding: 4px 7px;
  border-radius: 5px; min-width: 28px; text-align: center;
}
.deals-scroll-row.scroll-row::-webkit-scrollbar { display: none; height: 0; width: 0; }

/* ---------- Product Card (shared across grids/carousels) ---------- */
.product-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.product-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-card {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden;
  transition: all var(--t-base) var(--ease); position: relative; display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); border-color: var(--blue-100); }
.product-card .pc-img-wrap { position: relative; aspect-ratio: 1/1; background: var(--gray-50); overflow: hidden; }
.product-card .pc-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.product-card:hover .pc-img-wrap img { transform: scale(1.06); }
.product-card .pc-wish {
  position: absolute; top: 9px; right: 9px; z-index: 3; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center; color: var(--gray-500);
  box-shadow: var(--shadow-sm);
}
.product-card .pc-wish svg { width: 15px; height: 15px; }
.product-card .pc-wish.active, .product-card .pc-wish:hover { color: var(--red-600); }
.product-card .pc-wish.active svg { fill: var(--red-600); }
.product-card .pc-body { padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product-card .pc-vendor { font-size: 11px; color: var(--text-muted); }
.product-card .pc-title {
  font-size: 13px; font-weight: 500; color: var(--gray-800); line-height: 1.35; height: 2.7em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.product-card .pc-rating { display: flex; align-items: center; gap: 6px; }
.product-card .pc-rating span { font-size: 11.5px; color: var(--text-muted); }
.product-card .pc-price-row { display: flex; align-items: baseline; gap: 7px; margin-top: 2px; }
.product-card .pc-price { font-size: 16px; font-weight: 700; color: var(--gray-900); font-family: var(--font-display); }
.product-card .pc-mrp { font-size: 12.5px; color: var(--text-muted); text-decoration: line-through; }
.product-card .pc-save { font-size: 11px; color: var(--green-700); font-weight: 600; }
.product-card .pc-delivery { font-size: 11px; color: var(--blue-600); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.product-card .pc-delivery svg { width: 11px; height: 11px; }
.product-card .pc-add-btn {
  margin-top: auto; background: var(--blue-600); color: var(--white); font-size: 12.5px; font-weight: 700;
  padding: 9px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 10px;
}
.product-card .pc-add-btn:hover { background: var(--navy-700); }
.product-card .pc-add-btn-outline {
  background: transparent; color: var(--blue-600); border: 2px solid var(--blue-600);
}
.product-card .pc-add-btn-outline:hover { background: var(--blue-600); color: var(--white); }
.product-card .pc-add-btn svg { width: 14px; height: 14px; }

/* Compact cards — less clutter on homepage */
.product-card-compact .pc-body { gap: 4px; }
.product-card-compact .pc-title { font-size: 12.5px; height: 2.6em; }
.product-card-compact .pc-price { font-size: 15px; }
.product-card-compact .pc-rating span { font-size: 11px; }
.product-card-compact .pc-add-btn { padding: 8px; font-size: 12px; margin-top: 8px; }

@media (max-width: 980px) { .product-row { grid-template-columns: repeat(3, 1fr); } .product-row.cols-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) {
  .product-row:not(.product-row--home) { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-row:not(.product-row--home) .product-card .pc-body { padding: 9px 10px 10px; }
}

/* ---------- Carousel scroller (mobile horizontal) ---------- */
.h-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll .product-card { min-width: 170px; flex-shrink: 0; scroll-snap-align: start; }

/* ---------- AI Assistant Banner ---------- */
.ai-banner {
  background: linear-gradient(100deg, var(--green-100) 0%, #E4F6EC 60%, var(--blue-50) 100%);
  border: 1px solid #CDEEDB; border-radius: var(--r-xl); padding: 26px 30px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.ai-banner .robot-icon { width: 64px; height: 64px; flex-shrink: 0; }
.ai-banner .ai-copy { flex: 1; min-width: 200px; }
.ai-banner .ai-copy h3 { font-size: 17px; margin-bottom: 4px; }
.ai-banner .ai-copy h3 span { color: var(--green-700); }
.ai-banner .ai-copy p { font-size: 13px; color: var(--gray-600); }
.ai-banner .ai-suggest-chips { display: flex; flex-direction: column; gap: 7px; min-width: 220px; }
.ai-banner .ai-suggest-chips .chip { background: var(--white); border-color: var(--border-soft); font-weight: 500; justify-content: flex-start; }
.ai-banner .ai-suggest-chips .chip-link {
  display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--gray-700);
  transition: border-color .15s ease, background .15s ease;
}
.ai-banner .ai-suggest-chips .chip-link:hover { border-color: var(--green-600); background: var(--white); color: var(--green-700); }
.ai-banner .ai-suggest-chips .chip svg { width: 14px; height: 14px; color: var(--green-600); flex-shrink: 0; }
.ai-banner .ai-chat-btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 768px) {
  .ai-banner { flex-direction: column; align-items: stretch; text-align: center; padding: 22px 20px; gap: 16px; }
  .ai-banner .robot-icon { margin: 0 auto; }
  .ai-banner .ai-suggest-chips { min-width: 0; width: 100%; }
  .ai-banner .ai-chat-btn { width: 100%; justify-content: center; }
}

/* ---------- Premium Banner ---------- */
.premium-banner {
  background: linear-gradient(110deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border-radius: var(--r-xl); padding: 26px 30px; color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.premium-banner .pb-left { display: flex; align-items: center; gap: 16px; }
.premium-banner .crown-ic { width: 46px; height: 46px; color: var(--gold-400); flex-shrink: 0; }
.premium-banner h3 { color: var(--white); font-size: 17px; }
.premium-banner h3 span { color: var(--gold-400); }
.premium-banner p { font-size: 12.5px; color: var(--text-on-dark-muted); }
.premium-perks { display: flex; gap: 26px; flex-wrap: wrap; }
.premium-perks .perk { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; }
.premium-perks .perk svg { width: 17px; height: 17px; color: var(--gold-400); }
@media (max-width: 768px) {
  .premium-banner { flex-direction: column; align-items: stretch; text-align: center; padding: 22px 20px; }
  .premium-banner .pb-left { flex-direction: column; text-align: center; }
  .premium-perks { justify-content: center; gap: 14px 20px; }
  .premium-banner > .btn { width: 100%; text-align: center; justify-content: center; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 18px 30px;
}
.trust-strip .ts-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.trust-strip .ts-item > div { min-width: 0; }
.trust-strip .ts-item svg { width: 26px; height: 26px; color: var(--blue-600); flex-shrink: 0; }
.trust-strip .ts-item strong { display: block; font-size: 13px; line-height: 1.25; }
.trust-strip .ts-item span { font-size: 11.5px; color: var(--text-muted); line-height: 1.35; }
@media (max-width: 980px) {
  .trust-strip { flex-wrap: wrap; gap: 18px 30px; justify-content: center; }
}
@media (max-width: 768px) {
  .trust-strip--home {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
  }
  .trust-strip--home .ts-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 14px;
    padding: 13px 16px;
    border: none;
    border-bottom: 1px solid rgba(10, 31, 68, 0.07);
    border-radius: 0;
    background: transparent;
    grid-column: auto;
    min-width: 0;
  }
  .trust-strip--home .ts-item:last-child {
    border-bottom: none;
  }
  .trust-strip--home .ts-item svg {
    width: 34px;
    height: 34px;
    padding: 7px;
    margin: 0;
  }
  .trust-strip--home .ts-item > div {
    flex: 1;
    min-width: 0;
  }
  .trust-strip--home .ts-item strong {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 2px;
  }
  .trust-strip--home .ts-item span {
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--text-muted);
    display: block;
  }
}
@media (max-width: 560px) {
  .trust-strip:not(.trust-strip--home) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px 18px;
  }
  .trust-strip:not(.trust-strip--home) .ts-item {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .trust-strip:not(.trust-strip--home) .ts-item svg { margin: 0 auto; }
}

/* ---------- Quick stat cards (wallet/cashback/giftcard/refer) ---------- */
.quickstat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quickstat-card {
  border-radius: var(--r-lg); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid transparent;
}
.quickstat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.quickstat-card.qs-1 { background: #EEF1FE; }
.quickstat-card.qs-1:hover { border-color: #C5D0FA; }
.quickstat-card.qs-2 { background: var(--green-100); }
.quickstat-card.qs-2:hover { border-color: #A8E6BE; }
.quickstat-card.qs-3 { background: var(--red-50); }
.quickstat-card.qs-3:hover { border-color: #F5C4C2; }
.quickstat-card.qs-4 { background: var(--gold-100); }
.quickstat-card.qs-4:hover { border-color: #E8D48A; }
.quickstat-card .qs-top { display: flex; align-items: center; justify-content: space-between; }
.quickstat-card .qs-ic { width: 34px; height: 34px; }
.quickstat-card strong { font-size: 14.5px; color: var(--navy-900); }
.quickstat-card .qs-val { font-size: 19px; font-weight: 700; font-family: var(--font-display); color: var(--navy-900); }
.quickstat-card .qs-val-sm { font-size: 14px; font-weight: 600; }
.quickstat-card .qs-link { font-size: 12px; font-weight: 700; color: var(--navy-800); margin-top: auto; }
@media (max-width: 768px) { .quickstat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Top Brands Panel ---------- */
.brands-panel {
  background: var(--white);
  border: 1px solid rgba(10, 31, 68, 0.08);
  border-radius: var(--r-xl);
  padding: 20px 22px 18px;
  box-shadow: 0 8px 28px rgba(10, 31, 68, 0.05);
}
.brands-panel::before {
  content: "";
  display: block;
  height: 3px;
  margin: -20px -22px 16px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(90deg, #1b4fcc 0%, #4f8cff 50%, #1b4fcc 100%);
}
.brands-panel__header { margin-bottom: 14px !important; }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  padding: 12px 8px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(10, 31, 68, 0.07);
  background: linear-gradient(180deg, #fafbfd 0%, #f4f7fc 100%);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.brand-card:hover,
.brand-card:focus-visible {
  border-color: var(--blue-400);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(10, 31, 68, 0.1);
  transform: translateY(-2px);
  outline: none;
}
.brand-card:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(10, 31, 68, 0.08); }
.brand-card__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  color: var(--brand-fg, var(--white));
  background: var(--brand-bg, var(--navy-800));
  box-shadow: 0 4px 12px rgba(10, 31, 68, 0.12);
}
.brand-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11.5px;
  color: var(--navy-900);
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-card--tata { --brand-bg: #003366; }
.brand-card--dabur { --brand-bg: #2e7d32; }
.brand-card--pg { --brand-bg: #004a93; }
.brand-card--nivea { --brand-bg: #003da5; }
.brand-card--realme { --brand-bg: #ffc915; --brand-fg: #1a1a1a; }
.brand-card--philips { --brand-bg: #0096d6; }
.brand-card--prestige { --brand-bg: #c0392b; }
.brand-card--havells { --brand-bg: #d32f2f; }
.brand-card--samsung { --brand-bg: #1428a0; }
@media (max-width: 1100px) {
  .brands-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .brands-panel {
    padding: 16px 14px 14px;
    border-radius: var(--r-lg);
  }
  .brands-panel::before {
    margin: -16px -14px 12px;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  .brands-panel__header { margin-bottom: 10px !important; }
  .brands-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .brand-card {
    min-height: 76px;
    padding: 10px 6px;
    gap: 6px;
    border-radius: 12px;
  }
  .brand-card__mark {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .brand-card__name { font-size: 10.5px; }
}

/* ---------- News/Blog cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.news-card { border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--border-soft); transition: box-shadow .15s ease, transform .15s ease; }
.news-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.news-card img { aspect-ratio: 16/10; object-fit: cover; }
.news-card .news-body { padding: 12px 14px; }
.news-card .news-body span { font-size: 11px; color: var(--text-muted); }
.news-card .news-body h4 { font-size: 13px; margin-top: 4px; line-height: 1.4; }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Newsletter strip ---------- */
.newsletter-strip { background: var(--navy-950); padding: 22px 0; }
.newsletter-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.newsletter-row h4 { color: var(--white); font-size: 16px; margin-bottom: 3px; }
.newsletter-row p { color: var(--text-on-dark-muted); font-size: 12.5px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { width: 260px; height: 44px; border-radius: var(--r-md); border: none; padding: 0 14px; }
@media (max-width: 768px) {
  .newsletter-row { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; width: auto; }
}

/* ---------- Promo banners (3-col reference) ---------- */
.promo-banner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo-banner {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 160px;
  display: flex; align-items: stretch; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.promo-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.promo-banner-copy {
  flex: 1; padding: 22px 20px; display: flex; flex-direction: column; justify-content: center; z-index: 2;
}
.promo-banner-copy span:first-child { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.promo-banner-copy h3 { font-size: 16px; line-height: 1.35; margin: 6px 0 12px; color: inherit; }
.promo-cta { font-size: 12.5px; font-weight: 700; }
.promo-banner img {
  width: 42%; max-width: 140px; object-fit: cover; align-self: stretch; flex-shrink: 0;
}
.promo-banner--blue { background: linear-gradient(120deg, #1B4FCC, #2563EB); color: var(--white); }
.promo-banner--sky { background: linear-gradient(120deg, #E8F4FD, #D0EBFA); color: var(--navy-900); }
.promo-banner--green { background: linear-gradient(120deg, #E4F6EC, #CDEEDB); color: var(--navy-900); }
@media (max-width: 768px) { .promo-banner-grid { grid-template-columns: 1fr; } }

/* ---------- Homepage mobile polish ---------- */
@media (max-width: 768px) {
  body.page-home { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .premium-banner--home {
    padding: 20px 18px;
    border-radius: var(--r-lg);
  }
  .premium-banner--home h3 { font-size: 17px; }
  .premium-banner--home .premium-perks { gap: 10px 16px; }
  .newsletter-strip--home { padding: 28px 0; }
  .newsletter-strip--home .newsletter-form input { min-width: 0; width: 100%; }
  .promo-card__content h3 { font-size: 15px; margin-bottom: 10px; }
  .ai-hub__copy h3 { font-size: 16px; }
  .ai-hub__chip { font-size: 12px; padding: 7px 12px; }
}
@media (max-width: 480px) {
  .page-home .section-head--premium h2 { font-size: 20px; }
  .home-panel { padding: 16px 14px; }
}

/* ---------- Homepage: prevent horizontal overflow on mobile ---------- */
@media (max-width: 768px) {
  html:has(body.page-home),
  body.page-home {
    overflow-x: hidden;
    max-width: 100%;
  }
  body.page-home .site-chrome,
  body.page-home .home-main,
  body.page-home .value-prop-bar,
  body.page-home .mobile-quick-nav,
  body.page-home .hero-carousel--premium {
    max-width: 100%;
    overflow-x: clip;
  }
  body.page-home img,
  body.page-home video {
    max-width: 100%;
    height: auto;
  }
}

/* ---------- Pharmacy home section ---------- */
.pharmacy-home__panel {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(16, 185, 129, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    linear-gradient(165deg, #f0fdf9 0%, #ecfdf5 35%, #f8fafc 100%);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 24px;
  padding: 28px 28px 24px;
  box-shadow: 0 12px 40px rgba(6, 95, 70, 0.08);
}

.pharmacy-home__hero {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}

.pharmacy-home__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.22);
  color: #047857;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pharmacy-home__eyebrow svg {
  width: 14px;
  height: 14px;
}

.pharmacy-home__header {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(5, 150, 105, 0.14);
}

.pharmacy-home__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.pharmacy-home__title-row h2 {
  font-size: clamp(20px, 3.2vw, 28px);
  letter-spacing: -0.02em;
  color: #064e3b;
  line-height: 1.2;
  margin: 0;
  flex: 1;
  min-width: min(100%, 220px);
}

.pharmacy-home__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  max-width: 620px;
  margin: 0 0 14px;
}

.pharmacy-home__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #059669;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid #047857;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.22);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.pharmacy-home__cta:hover {
  background: #047857;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.28);
}

.pharmacy-home__cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pharmacy-home__subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pharmacy-home__subhead h3 {
  font-size: 16px;
  font-weight: 700;
  color: #064e3b;
  margin: 0;
  line-height: 1.3;
}

.pharmacy-home__subhead p {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.pharmacy-home__intro h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  letter-spacing: -0.02em;
  color: #064e3b;
  line-height: 1.2;
  margin-bottom: 10px;
}

.pharmacy-home__intro p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
  max-width: 520px;
  margin-bottom: 16px;
}

.pharmacy-home__intro--compact {
  margin-bottom: 20px;
}

.pharmacy-home__intro--compact h2 {
  font-size: clamp(20px, 3vw, 26px);
}

.pharmacy-home__intro--compact p {
  margin-bottom: 12px;
}

.pharmacy-page-banner__inner {
  padding: 28px 24px;
}

.pharmacy-page-banner h1 br {
  display: none;
}

@media (min-width: 640px) {
  .pharmacy-page-banner h1 br {
    display: inline;
  }
}

.pharmacy-home__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pharmacy-home__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(6, 95, 70, 0.12);
  font-size: 12px;
  font-weight: 600;
  color: #065f46;
}

.pharmacy-home__chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.pharmacy-home__chip--green {
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.25);
}

.pharmacy-home__upload {
  background: var(--white);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 28px rgba(6, 95, 70, 0.08);
}

.pharmacy-home__upload-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pharmacy-home__upload-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pharmacy-home__upload-icon svg {
  width: 22px;
  height: 22px;
}

.pharmacy-home__upload-head strong {
  display: block;
  font-size: 15px;
  color: #064e3b;
  font-family: var(--font-display);
}

.pharmacy-home__upload-head span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.pharmacy-home__dropzone {
  width: 100%;
  border: 2px dashed rgba(5, 150, 105, 0.35);
  border-radius: 14px;
  padding: 22px 16px;
  background: rgba(236, 253, 245, 0.6);
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pharmacy-home__dropzone:hover {
  background: rgba(209, 250, 229, 0.8);
  border-color: #059669;
}

.pharmacy-home__dropzone svg {
  width: 32px;
  height: 32px;
  color: #059669;
  margin-bottom: 8px;
}

.pharmacy-home__dropzone-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #065f46;
}

.pharmacy-home__dropzone-sub {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.pharmacy-home__upload-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #64748b;
}

.pharmacy-home__upload-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #d97706;
  margin-top: 1px;
}

.pharmacy-home__steps {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 16px;
  margin-bottom: 16px;
}

.pharmacy-home__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.pharmacy-home__step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #10b981);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pharmacy-home__step strong {
  display: block;
  font-size: 13px;
  color: #064e3b;
  margin-bottom: 2px;
}

.pharmacy-home__step span {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.pharmacy-home__step-arrow {
  flex-shrink: 0;
  color: rgba(5, 150, 105, 0.45);
}

.pharmacy-home__step-arrow svg {
  width: 18px;
  height: 18px;
}

.pharmacy-home__notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 14px;
  margin-bottom: 22px;
}

.pharmacy-home__notice-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(217, 119, 6, 0.15);
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pharmacy-home__notice-icon svg {
  width: 20px;
  height: 20px;
}

.pharmacy-home__notice strong {
  display: block;
  font-size: 13.5px;
  color: #92400e;
  margin-bottom: 4px;
}

.pharmacy-home__notice p {
  font-size: 12.5px;
  line-height: 1.55;
  color: #78350f;
  margin: 0;
}

.pharmacy-home__notice em {
  font-style: normal;
  font-weight: 700;
  color: #b45309;
}

.pharmacy-home__products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pharmacy-home__products-head h3 {
  font-size: 20px;
  color: #064e3b;
  margin-bottom: 4px;
}

.pharmacy-home__products-head p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.pharmacy-home__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.pharmacy-rx-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pharmacy-rx-badge--required {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid rgba(185, 28, 28, 0.2);
}

.pharmacy-rx-badge--otc {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(4, 120, 87, 0.2);
}

.product-card--pharmacy {
  position: relative;
}

.product-card--pharmacy .pc-add-btn--rx {
  background: #059669;
  border-color: #059669;
}

.product-card--pharmacy .pc-add-btn--rx:hover {
  background: #047857;
}

.product-card--pharmacy .pc-add-btn--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  background: transparent;
  color: #059669;
  border: 1.5px solid rgba(5, 150, 105, 0.35);
}

.product-card--pharmacy .pc-add-btn--link:hover {
  background: rgba(5, 150, 105, 0.08);
  border-color: #059669;
  color: #047857;
}

.product-card--pharmacy .pc-add-btn--link svg {
  width: 14px;
  height: 14px;
}

/* Rx upload modal */
.modal-box--rx {
  max-width: 440px;
}

.rx-modal__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.rx-modal__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rx-modal__icon svg {
  width: 24px;
  height: 24px;
}

.rx-modal__head h2 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--navy-900);
}

.rx-modal__head p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.rx-modal__dropzone {
  border: 2px dashed var(--border-default);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 16px;
  cursor: pointer;
  background: var(--gray-50);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.rx-modal__dropzone:hover {
  border-color: #059669;
  background: #ecfdf5;
}

.rx-modal__dropzone svg {
  width: 32px;
  height: 32px;
  color: #059669;
  margin-bottom: 10px;
}

.rx-modal__dropzone strong {
  display: block;
  font-size: 14px;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.rx-modal__dropzone span {
  font-size: 12px;
  color: var(--text-muted);
}

.rx-modal__tips {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.rx-modal__tips li {
  position: relative;
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.rx-modal__tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
}

@media (max-width: 900px) {
  .pharmacy-home__hero {
    grid-template-columns: 1fr;
  }

  .pharmacy-home__upload {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-home .home-section--pharmacy {
    padding: 20px 0 24px;
  }

  .pharmacy-home__panel {
    padding: 18px 16px 16px;
    border-radius: 18px;
  }

  .pharmacy-home__title-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .pharmacy-home__title-row h2 {
    font-size: 20px;
  }

  .pharmacy-home__cta {
    width: 100%;
    padding: 11px 16px;
  }

  .pharmacy-home__desc {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .pharmacy-home__subhead {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 12px;
  }

  .pharmacy-home__subhead h3 {
    font-size: 15px;
  }

  .pharmacy-home__intro h2 br {
    display: none;
  }

  .pharmacy-home__steps {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .pharmacy-home__step-arrow {
    display: none;
  }

  .pharmacy-home__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pharmacy-home__chips {
    gap: 6px;
  }

  .pharmacy-home__chip {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* ---------- App download section (legacy + premium) ---------- */
.app-download-section { background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%); }

.trust-strip-compact { margin-top: 0; }
