/* ==========================================================================
   DEXOQUICK — CUSTOMER UI POLISH
   Loaded last on storefront pages. Fixes contrast, clipping and card rhythm,
   and gives the customer app a calmer, more premium quick-commerce look.
   ========================================================================== */

:root {
  --cq-green-900: #052e26;
  --cq-green-800: #064e3b;
  --cq-green-700: #047857;
  --cq-green-600: #059669;
  --cq-green-500: #10b981;
  --cq-green-100: #d1fae5;
  --cq-green-50: #ecfdf5;
  --cq-ink: #0f172a;
  --cq-body: #475569;
  --cq-muted: #94a3b8;
  --cq-line: #e7eef6;
  --cq-surface: #ffffff;
  --cq-canvas: #f6f8fb;
}

body {
  background: var(--cq-canvas);
  color: var(--cq-ink);
}

h1, h2, h3, h4,
.section-head h2,
.catalog-header h2,
.deals-header h2,
.qc-section-title,
.sh-page-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.025em;
}

/* --------------------------------------------------------------------------
   Header + search
   -------------------------------------------------------------------------- */
.qc-delivery-banner {
  background: linear-gradient(90deg, var(--cq-green-900), var(--cq-green-700) 55%, #0d9488);
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25px;
}

.qc-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--cq-line);
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.qc-header-inner {
  padding: 12px 20px;
  gap: 18px;
}

.qc-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--cq-green-500), var(--cq-green-700));
  box-shadow: 0 8px 18px -10px rgba(4, 120, 87, 0.85);
  font-size: 1rem;
}

.qc-logo-text {
  font-size: 0.98rem;
  letter-spacing: -0.015em;
}

.qc-logo-text small {
  margin-top: 2px;
  font-size: 0.52rem;
  letter-spacing: 1.1px;
  color: var(--cq-muted);
}

.qc-search {
  order: 2;
  flex: 1;
  max-width: 760px;
  height: 46px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f1f5f9;
}

.qc-actions {
  order: 3;
  margin-left: auto;
}

.qc-search:focus-within {
  background: #fff;
  border-color: #a7f3d0;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.qc-search > input {
  font-size: 0.9rem;
}

.qc-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #334155;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.qc-action-btn:hover {
  background: var(--cq-green-50);
  color: var(--cq-green-700);
  transform: translateY(-1px);
}

.qc-cart-badge {
  top: 1px;
  right: 1px;
  box-shadow: 0 0 0 2px #fff;
}

/* Category pill rail */
.qc-categories {
  padding: 12px 0 10px;
  border-bottom: 1px solid #eef3f8;
}

.qc-categories-scroll {
  gap: 10px;
  padding: 0 20px;
}

.qc-categories-scroll .category-pill {
  padding: 9px 16px;
  border: 1px solid var(--cq-line);
  border-radius: 999px;
  background: #fff;
  color: var(--cq-body);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.qc-categories-scroll .category-pill:hover {
  border-color: #a7f3d0;
  color: var(--cq-green-700);
  background: var(--cq-green-50);
}

.qc-categories-scroll .category-pill.active {
  background: var(--cq-green-800);
  border-color: var(--cq-green-800);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(4, 120, 87, 0.75);
}

/* --------------------------------------------------------------------------
   Hero — one coherent emerald palette across all slides
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 26px 0 10px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
}

.hero-banner-card {
  min-height: 380px;
  padding: 44px 48px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(45, 212, 191, 0.3), transparent 60%),
    radial-gradient(700px 360px at 0% 100%, rgba(16, 185, 129, 0.2), transparent 65%),
    linear-gradient(135deg, var(--cq-green-900) 0%, var(--cq-green-800) 44%, #0f766e 100%);
  box-shadow: 0 30px 60px -32px rgba(4, 120, 87, 0.6);
}

.hero-banner-card::before {
  content: "";
  position: absolute;
  top: -130px;
  right: -90px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-banner-card::after {
  right: -40px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-slide {
  position: relative;
  z-index: 1;
}

.hero-slide h2,
.hero-banner-card h2 {
  max-width: 590px;
  margin-bottom: 14px;
  color: #fff !important;
  font-size: clamp(1.9rem, 3.1vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-slide p,
.hero-banner-card p {
  max-width: 510px;
  margin-bottom: 26px;
  color: rgba(236, 253, 245, 0.84) !important;
  font-size: 1rem;
  line-height: 1.6;
}

.hero-slide .hero-pill,
.hero-banner-card .hero-pill {
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12) !important;
  color: #d1fae5 !important;
  backdrop-filter: blur(10px);
}

.hero-slide .hero-pill span,
.hero-banner-card .hero-pill span {
  color: inherit !important;
}

.hero-slide .btn-hero-primary,
.hero-banner-card .btn-hero-primary {
  background: #fff !important;
  color: var(--cq-green-700) !important;
  border: 0;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.55);
}

.hero-slide .btn-hero-primary:hover,
.hero-banner-card .btn-hero-primary:hover {
  background: var(--cq-green-50) !important;
  transform: translateY(-2px);
}

.hero-slide .btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.hero-slide .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-dots {
  margin-top: 22px;
  justify-content: flex-start;
}

.hero-dots .hero-dot {
  background: rgba(255, 255, 255, 0.35);
}

.hero-dots .hero-dot.active {
  background: #fff;
}

.hero-side-card {
  padding: 24px;
  border: 1px solid var(--cq-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 44px -32px rgba(15, 23, 42, 0.3);
}

.hero-side-card::before {
  height: 4px;
  background: linear-gradient(90deg, var(--cq-green-500), #0d9488);
}

.side-card-badge {
  margin-bottom: 14px;
  padding: 5px 11px;
  background: var(--cq-green-50);
  color: var(--cq-green-700);
  font-size: 0.72rem;
}

.side-card-content h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.side-card-content p {
  margin-bottom: 18px;
  color: var(--cq-body);
  font-size: 0.85rem;
  line-height: 1.55;
}

.side-upload-trigger {
  padding: 18px 14px;
  border: 1.5px dashed #6ee7b7;
  border-radius: 16px;
  background: var(--cq-green-50);
}

.side-upload-trigger:hover {
  border-color: var(--cq-green-500);
  background: #dcfce7;
}

.side-upload-trigger svg {
  width: 30px;
  height: 30px;
  color: var(--cq-green-700);
}

.side-upload-trigger span.main-text {
  font-size: 0.87rem;
  color: var(--cq-ink);
}

.side-upload-trigger span.sub-text {
  font-size: 0.72rem;
  color: var(--cq-muted);
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trust-badges-bar {
  padding: 18px 0 10px;
}

.trust-badges-grid {
  gap: 12px;
}

.trust-badge-item {
  padding: 14px 16px;
  border: 1px solid var(--cq-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.trust-badge-item:hover {
  transform: translateY(-2px);
  border-color: #a7f3d0;
  box-shadow: 0 14px 30px -22px rgba(4, 120, 87, 0.4);
}

.trust-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cq-green-50);
  color: var(--cq-green-700);
}

.trust-text h4 {
  font-size: 0.86rem;
  line-height: 1.3;
}

.trust-text p {
  margin-top: 2px;
  color: var(--cq-muted);
  font-size: 0.73rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Section headers + category grid
   -------------------------------------------------------------------------- */
.category-browse-section .section-head,
.bestseller-section .section-head {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-head h2,
.catalog-header h2,
.deals-header h2 {
  font-size: 1.38rem;
  margin-bottom: 4px;
}

.section-head p,
.catalog-header-title p,
.deals-header p {
  color: var(--cq-muted);
  font-size: 0.84rem;
}

.btn-view-all {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--cq-green-50);
  color: var(--cq-green-700) !important;
  font-size: 0.78rem !important;
}

.btn-view-all:hover {
  background: #d1fae5;
}

.category-browse-section {
  padding: 28px 0 8px;
  background: transparent;
}

.category-grid-container {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 18px 14px;
}

.category-grid-item {
  min-width: 0;
}

.category-grid-img-wrap {
  width: 76px;
  height: 76px;
  margin-bottom: 9px;
  border: 1px solid var(--cq-line);
  border-radius: 20px;
  background: #f8fafc;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.category-grid-item:hover .category-grid-img-wrap {
  border-color: #6ee7b7;
  background: var(--cq-green-50);
  box-shadow: 0 10px 22px -16px rgba(4, 120, 87, 0.5);
}

.category-grid-label {
  max-width: 100%;
  color: var(--cq-body);
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}

.category-grid-item:hover .category-grid-label {
  color: var(--cq-green-700);
}

/* --------------------------------------------------------------------------
   Bestsellers / Deals cards
   -------------------------------------------------------------------------- */
.bestseller-section,
.deals-section {
  padding: 24px 0 6px;
}

.deals-timer {
  padding: 7px 14px;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  background: #fff5f6;
}

.bestseller-scroll {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  padding: 4px 0 10px;
}

/* Deals renders exactly 10 products: 5 per row keeps both rows full. */
#dealsScroll {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bs-card {
  min-width: 0;
  width: auto;
  flex: none;
  align-self: stretch;
  border: 1px solid var(--cq-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
}

.bs-card:hover {
  transform: translateY(-4px);
  border-color: #a7f3d0;
  box-shadow: 0 20px 34px -24px rgba(4, 120, 87, 0.45);
}

.bs-card-img-wrap {
  height: 150px;
  padding: 12px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.bs-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bs-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 14px 14px;
}

.bs-card-title {
  min-height: 2.7em;
  margin-bottom: 3px;
  color: var(--cq-ink);
  font-size: 0.86rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

.bs-card-desc {
  min-height: 1.25em;
  margin-bottom: 10px;
  color: var(--cq-muted);
  font-size: 0.7rem;
}

.bs-card-bottom {
  margin-top: auto;
  align-items: flex-end;
  gap: 8px;
}

.bs-price-current {
  color: var(--cq-ink);
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.bs-price-mrp {
  color: var(--cq-muted);
  font-size: 0.68rem;
}

.bs-card-add {
  padding: 6px 14px;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  background: var(--cq-green-50);
  color: var(--cq-green-700);
  font-size: 0.7rem;
}

.bs-card-add:hover {
  background: var(--cq-green-700);
  border-color: var(--cq-green-700);
}

.bs-qty-stepper {
  border-radius: 10px;
  background: var(--cq-green-700);
}

.bs-badge {
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 7px;
  font-size: 0.6rem;
}

.bs-discount-tag {
  top: 10px;
  right: 10px;
  padding: 3px 7px;
  border: 0;
  border-radius: 7px;
  background: #fff1f2;
  color: #e11d48;
  font-size: 0.62rem;
}

.bs-delivery-tag {
  right: 10px;
  bottom: 10px;
  left: auto;
  padding: 3px 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--cq-green-700);
  font-size: 0.6rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(6px);
}

/* --------------------------------------------------------------------------
   Catalog product cards
   -------------------------------------------------------------------------- */
.products-grid {
  gap: 18px;
}

.product-card {
  padding: 14px;
  border: 1px solid var(--cq-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #a7f3d0;
  box-shadow: 0 24px 40px -26px rgba(4, 120, 87, 0.45);
}

.product-image-container {
  height: 190px;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #eef3f8;
  border-radius: 14px;
  background: #f8fafc;
}

.product-image-container img {
  object-fit: contain;
}

.product-card:hover .product-image-container img {
  transform: scale(1.04);
}

.product-category-tag {
  margin-bottom: 5px;
  color: var(--cq-green-700);
  font-size: 0.66rem;
  letter-spacing: 0.6px;
}

.product-title {
  min-height: 2.7em;
  margin-bottom: 5px;
  font-size: 0.94rem;
  line-height: 1.35;
}

.product-salt {
  margin-bottom: 6px;
  color: var(--cq-muted);
  font-size: 0.73rem;
  font-style: normal;
}

.product-pack-size {
  margin-bottom: 10px;
  color: var(--cq-muted);
  font-size: 0.71rem;
}

.current-price {
  color: var(--cq-ink);
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}

.mrp-price {
  color: var(--cq-muted);
  font-size: 0.72rem;
}

.btn-add-cart {
  padding: 7px 16px;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  background: var(--cq-green-50);
  color: var(--cq-green-700);
  font-size: 0.76rem;
}

.btn-add-cart:hover {
  background: var(--cq-green-700);
  border-color: var(--cq-green-700);
  box-shadow: 0 10px 18px -10px rgba(4, 120, 87, 0.6);
}

.card-badges-top {
  top: 10px;
  left: 10px;
  right: auto;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

/* Share lives in the quick-view sheet; the card itself stays uncluttered
   so the wishlist heart never collides with badges. */
.product-card .share-product-btn {
  display: none !important;
}

.card-badges-top .badge-discount,
.card-badges-top .badge-rx,
.card-badges-top .badge-boosted,
.card-badges-top .badge-cold {
  flex-shrink: 0;
  white-space: nowrap;
}

.badge-discount,
.badge-rx,
.badge-boosted {
  padding: 3px 8px;
  font-size: 0.62rem;
}

.wishlist-heart-btn,
.share-product-btn {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* --------------------------------------------------------------------------
   Sub-pages (products, categories, wishlist, account, orders…)
   -------------------------------------------------------------------------- */
.sh-page {
  padding-top: 24px;
}

/* Page header: accent bar + title, shared by every customer sub-page */
.sh-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.15;
}

.sh-page-title::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cq-green-500), var(--cq-green-700));
  box-shadow: 0 4px 10px -4px rgba(4, 120, 87, 0.7);
}

.sh-page-subtitle {
  margin: 6px 0 22px 15px;
  color: var(--cq-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Buttons: larger size + tactile press state */
.sh-btn {
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sh-btn:active {
  transform: translateY(1px) scale(0.985);
}

.sh-btn:focus-visible {
  outline: 2px solid var(--cq-green-500);
  outline-offset: 2px;
}

.sh-btn-primary {
  background: linear-gradient(135deg, var(--cq-green-600), var(--cq-green-700));
  box-shadow: 0 10px 20px -14px rgba(4, 120, 87, 0.9);
}

.sh-btn-primary:hover {
  background: linear-gradient(135deg, var(--cq-green-700), var(--cq-green-800));
  box-shadow: 0 14px 24px -14px rgba(4, 120, 87, 0.95);
}

.sh-btn-lg {
  padding: 13px 26px;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 13px;
}

/* Login gates (orders / wallet / prescriptions / support) */
.sh-page .ord-login-prompt,
.sh-page .wallet-login-prompt,
.sh-page .rx-login-prompt,
.sh-page .sup-login-prompt {
  position: relative;
  max-width: 460px;
  margin: 8px auto 28px;
  padding: 40px 26px 36px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--cq-green-50) 100%);
  border: 1px solid var(--cq-line);
  border-radius: 22px;
  box-shadow: 0 28px 50px -42px rgba(15, 23, 42, 0.55);
  overflow: hidden;
}

.sh-page .ord-login-prompt::before,
.sh-page .wallet-login-prompt::before,
.sh-page .rx-login-prompt::before,
.sh-page .sup-login-prompt::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--cq-green-500), #0d9488);
}

.sh-gate-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--cq-line);
  color: var(--cq-green-700);
  box-shadow: 0 12px 24px -18px rgba(4, 120, 87, 0.9);
}

.sh-gate-icon svg { width: 28px; height: 28px; }

.sh-page .ord-login-prompt h3,
.sh-page .wallet-login-prompt h3,
.sh-page .rx-login-prompt h3,
.sh-page .sup-login-prompt h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--cq-ink);
  margin-bottom: 6px;
}

.sh-page .ord-login-prompt p,
.sh-page .wallet-login-prompt p,
.sh-page .rx-login-prompt p,
.sh-page .sup-login-prompt p {
  color: var(--cq-body);
  font-size: 0.85rem;
  line-height: 1.55;
  max-width: 320px;
  margin: 0 auto 20px;
}

.sh-page .ord-login-prompt .sh-btn,
.sh-page .wallet-login-prompt .sh-btn,
.sh-page .rx-login-prompt .sh-btn,
.sh-page .sup-login-prompt .sh-btn {
  min-width: 190px;
}

@media (max-width: 560px) {
  .sh-page-title { font-size: 1.4rem; }
  .sh-page-title::before { height: 20px; }
  .sh-page .ord-login-prompt,
  .sh-page .wallet-login-prompt,
  .sh-page .rx-login-prompt,
  .sh-page .sup-login-prompt { padding: 32px 20px 30px; }
}

.sh-card {
  border: 1px solid var(--cq-line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

/* Cart drawer recommendation rail: swipeable, but no native scrollbar */
.cart-recommendations-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cart-recommendations-scroll::-webkit-scrollbar {
  display: none;
}

.rec-item-card {
  border-radius: 12px;
  background: #f8fafc;
}

/* My Account — sign-in card + dashboard */
.acct-login {
  max-width: 440px;
  margin: 26px auto 40px;
  padding: 28px;
  border: 1px solid var(--cq-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 48px -34px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
}

.acct-login::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--cq-green-500), #0d9488);
}

.acct-login h2 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.acct-login p {
  margin-bottom: 22px;
  color: var(--cq-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.acct-field label {
  margin-bottom: 6px;
  color: var(--cq-body);
  font-size: 0.78rem;
}

.acct-field input {
  height: 46px;
  border: 1px solid var(--cq-line);
  border-radius: 12px;
  background: #f8fafc;
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.acct-field input:focus {
  border-color: #6ee7b7;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.acct-dashboard {
  max-width: 820px;
  margin: 0 auto;
}

.acct-profile-card {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ecfdf5, #fff 60%);
  border-color: #d1fae5;
}

.acct-avatar {
  width: 58px;
  height: 58px;
  background: linear-gradient(145deg, var(--cq-green-500), var(--cq-green-700));
  color: #fff;
  box-shadow: 0 10px 20px -12px rgba(4, 120, 87, 0.7);
}

.acct-stat {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.acct-menu {
  gap: 2px;
  margin-top: 16px;
  padding: 6px;
  border: 1px solid var(--cq-line);
  border-radius: 16px;
  background: #fff;
}

.acct-menu-item {
  border-radius: 11px;
  padding: 13px 14px;
}

.acct-menu-item:hover {
  background: var(--cq-green-50);
}

/* products.html filter rail: no native scrollbar */
.prod-filters {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.prod-filters::-webkit-scrollbar {
  display: none;
}

.prod-filter-btn {
  padding: 9px 16px !important;
  border-color: var(--cq-line) !important;
  background: #fff !important;
  color: var(--cq-body) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.prod-filter-btn.active {
  background: var(--cq-green-800) !important;
  border-color: var(--cq-green-800) !important;
  color: #fff !important;
}

.prod-sort {
  border-color: var(--cq-line) !important;
  background: #fff !important;
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) and (min-width: 769px) {
  .category-grid-container {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .bestseller-scroll {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #dealsScroll {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .hero-banner-card {
    padding: 36px 36px;
  }
}

@media (max-width: 768px) {
  .qc-delivery-banner {
    padding: 7px 12px;
    font-size: 0.66rem;
  }

  .qc-header-inner {
    padding: 8px 12px 10px;
    gap: 8px;
  }

  .qc-search {
    height: 42px;
    border-radius: 12px;
  }

  .qc-categories {
    padding: 10px 0 8px;
  }

  .qc-categories-scroll {
    gap: 8px;
    padding: 0 12px;
  }

  .qc-categories-scroll .category-pill {
    padding: 8px 13px;
    font-size: 0.74rem;
  }

  .hero-section {
    padding: 16px 0 6px;
  }

  .hero-banner-card {
    min-height: 0;
    padding: 28px 22px;
    border-radius: 22px;
  }

  .hero-slide h2,
  .hero-banner-card h2 {
    margin-bottom: 10px;
    font-size: clamp(1.45rem, 6.6vw, 1.8rem);
    line-height: 1.14;
  }

  .hero-slide p,
  .hero-banner-card p {
    margin-bottom: 18px;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .hero-slide .hero-pill {
    margin-bottom: 12px;
    font-size: 0.68rem;
  }

  .hero-dots {
    margin-top: 16px;
  }

  .trust-badges-bar {
    padding: 12px 0 4px;
  }

  .trust-badges-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .trust-badge-item {
    min-height: 0;
    padding: 11px 12px;
    gap: 10px;
    border-radius: 14px;
    align-items: center;
  }

  .trust-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .trust-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .trust-text h4 {
    font-size: 0.73rem;
  }

  .trust-text p {
    font-size: 0.64rem;
    line-height: 1.3;
  }

  .section-head h2,
  .catalog-header h2,
  .deals-header h2 {
    font-size: 1.16rem;
  }

  .section-head p,
  .catalog-header-title p,
  .deals-header p {
    font-size: 0.76rem;
  }

  .category-browse-section {
    padding: 20px 0 4px;
  }

  .category-grid-container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .category-grid-img-wrap {
    width: 64px;
    height: 64px;
    border-radius: 17px;
  }

  .category-grid-label {
    font-size: 0.68rem;
    line-height: 1.28;
  }

  .bestseller-section,
  .deals-section {
    padding: 18px 0 2px;
  }

  .deals-timer {
    padding: 5px 10px;
  }

  .timer-label {
    font-size: 0.66rem;
  }

  .timer-value {
    font-size: 0.82rem;
  }

  .bestseller-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .bestseller-scroll::-webkit-scrollbar {
    display: none;
  }

  .bs-card {
    flex: 0 0 164px;
    scroll-snap-align: start;
    border-radius: 16px;
  }

  .bs-card-img-wrap {
    height: 122px;
    padding: 10px;
  }

  .bs-card-body {
    padding: 10px 11px 12px;
  }

  .bs-card-title {
    min-height: 2.6em;
    font-size: 0.8rem;
  }

  .bs-card-desc {
    margin-bottom: 8px;
    font-size: 0.65rem;
  }

  .bs-price-current {
    font-size: 0.94rem;
  }

  .bs-card-add {
    padding: 5px 11px;
    font-size: 0.66rem;
  }

  .bs-delivery-tag {
    right: 8px;
    bottom: 8px;
    font-size: 0.56rem;
  }

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

  .current-price {
    font-size: 0.98rem !important;
  }

  .product-card {
    padding: 10px;
    border-radius: 16px;
  }

  .card-badges-top {
    top: 8px;
    left: 8px;
    gap: 4px;
  }

  .badge-discount,
  .badge-rx,
  .badge-boosted,
  .badge-cold {
    max-width: none !important;
  }

  .badge-rx {
    padding: 3px 6px;
    font-size: 0.54rem;
  }

  .product-image-container {
    height: 138px;
    margin-bottom: 10px;
    padding: 7px;
    border-radius: 12px;
  }

  .product-title {
    min-height: 2.7em;
    font-size: 0.82rem;
  }

  .product-salt {
    font-size: 0.66rem;
  }

  .product-pack-size {
    font-size: 0.64rem;
    margin-bottom: 8px;
  }

  .current-price {
    font-size: 0.98rem;
  }

  .mrp-price {
    font-size: 0.64rem;
  }

  .btn-add-cart {
    padding: 6px 12px;
    font-size: 0.68rem;
  }

  .qc-bottom-nav {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border-top-color: var(--cq-line);
  }

  .sh-page {
    padding-top: 20px;
  }

  .sh-page-title {
    font-size: 1.28rem;
  }

  .acct-login {
    margin: 10px auto 28px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .acct-login h2 {
    font-size: 1.28rem;
  }

  .acct-dashboard {
    max-width: none;
  }

  .acct-profile-card {
    padding: 18px;
  }
}

@media (max-width: 380px) {
  .category-grid-container {
    gap: 12px 8px;
  }

  .category-grid-img-wrap {
    width: 58px;
    height: 58px;
  }

  .bs-card {
    flex-basis: 152px;
  }
}
