/* ==========================================================================
   Khushi Gifts & Toys - Public B2B Wholesale Catalogue External Stylesheet
   Pure CSS - Zero Inline Styles
   ========================================================================== */

:root {
  --store-navy: #0f172a;
  --store-navy-dark: #070b14;
  --store-primary: #4f46e5;
  --store-primary-hover: #4338ca;
  --store-primary-light: #eef2ff;
  --store-primary-border: #c7d2fe;
  --store-accent: #06b6d4;
  --store-accent-hover: #0891b2;
  --store-accent-light: #ecfeff;
  --store-blue: #2563eb;
  --store-emerald: #10b981;
  --store-emerald-light: #ecfdf5;
  --store-emerald-border: #a7f3d0;
  --store-amber: #f59e0b;
  --store-bg: #f8fafc;
  --store-card: #ffffff;
  --store-border: #e2e8f0;
  --store-border-subtle: #f1f5f9;
  --store-text: #1e293b;
  --store-text-muted: #64748b;
  --store-radius-sm: 8px;
  --store-radius-md: 14px;
  --store-radius-lg: 20px;
  --store-radius-xl: 28px;
  --store-shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --store-shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.07);
  --store-shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.1);
}

body.store-body {
  background-color: var(--store-bg);
  color: var(--store-text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* 1. Top Announcement Offer Bar */
.store-offer-bar {
  background: linear-gradient(90deg, #1e1b4b 0%, #312e81 40%, #4f46e5 100%);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 0.55rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(30, 27, 75, 0.2);
}

/* 2. Header & Navigation Bar */
.store-navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--store-border);
  position: sticky;
  top: 0;
  z-index: 1020;
  padding: 0.85rem 0;
}

.store-logo-img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
}

.store-brand-fallback {
  font-size: 1.55rem;
  font-weight: 400;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.035em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.store-search-wrap {
  position: relative;
  max-width: 440px;
  width: 100%;
}

.store-search-input {
  border-radius: 30px;
  border: 1px solid var(--store-border);
  padding: 0.6rem 1rem 0.6rem 2.6rem;
  font-size: 0.875rem;
  background-color: #f1f5f9;
  transition: all 0.2s ease;
}

.store-search-input:focus {
  background-color: #ffffff;
  border-color: var(--store-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  outline: none;
}

.store-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--store-text-muted);
  pointer-events: none;
}

.cart-btn-trigger {
  position: relative;
  border-radius: 30px;
  padding: 0.55rem 1.25rem;
  font-weight: 400;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--store-navy);
  color: #ffffff;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}

.cart-btn-trigger:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.cart-badge-counter {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 400;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* 3. Hero Section */
.store-hero {
  background: radial-gradient(circle at top right, #eef2ff 0%, #f8fafc 65%);
  border-bottom: 1px solid var(--store-border);
  padding: 3.5rem 0 3rem;
  position: relative;
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  border: 1px solid var(--store-primary-border);
  color: var(--store-primary);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  box-shadow: var(--store-shadow-sm);
  margin-bottom: 1.25rem;
}

.hero-main-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--store-navy);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub1 {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: #334155;
  margin-bottom: 0.5rem;
}

.hero-sub2 {
  font-size: 0.95rem;
  color: var(--store-text-muted);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.hero-media-box {
  border-radius: var(--store-radius-xl);
  overflow: hidden;
  box-shadow: var(--store-shadow-lg);
  border: 1px solid var(--store-border);
  background-color: #ffffff;
}

.hero-media-box img, .hero-media-box video {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

/* 4. Category Showcase Section */
.category-showcase-section {
  padding: 3rem 0 2rem;
}

.cat-showcase-card {
  border-radius: var(--store-radius-lg);
  border: 1px solid var(--store-border);
  background: #ffffff;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  text-decoration: none;
  color: var(--store-text);
  box-shadow: var(--store-shadow-sm);
  height: 100%;
}

.cat-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px -4px rgba(79, 70, 229, 0.15);
  border-color: var(--store-primary-border);
  color: var(--store-primary);
}

.cat-showcase-img-wrap {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.cat-showcase-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cat-showcase-card:hover .cat-showcase-img-wrap img {
  transform: scale(1.06);
}

.cat-showcase-name {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

/* 5. Filter Navigation Pills */
.catalogue-filter-bar {
  background-color: #ffffff;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 2rem;
}

.cat-nav-pill {
  padding: 0.45rem 1.15rem;
  border-radius: 30px;
  font-size: 0.8125rem;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
  border: 1px solid var(--store-border);
  color: var(--store-text-muted);
  background-color: #ffffff;
}

.cat-nav-pill:hover {
  background-color: var(--store-primary-light);
  border-color: var(--store-primary-border);
  color: var(--store-primary);
}

.cat-nav-pill.active {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
  border-color: var(--store-primary);
  box-shadow: 0 3px 8px rgba(79, 70, 229, 0.25);
}

/* 6. Product Cards (B2B Wholesale) */
.product-card {
  border-radius: var(--store-radius-lg);
  border: 1px solid var(--store-border);
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: var(--store-shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.product-card-media {
  position: relative;
  background-color: #ffffff;
  padding: 1.25rem;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--store-border-subtle);
}

.product-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.badge-hsn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.65rem;
  font-weight: 400;
  background-color: #f1f5f9;
  color: #475569;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.badge-cat-tag {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--store-primary);
  background-color: var(--store-primary-light);
  border: 1px solid var(--store-primary-border);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--store-navy);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.product-card-sku {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--store-text-muted);
  margin-bottom: 0.85rem;
}

/* Variant Selector Pills */
.variant-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.variant-btn-pill {
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--store-border);
  background-color: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.variant-btn-pill:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

.variant-btn-pill.active {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
  border-color: var(--store-primary);
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

/* Pack Type Selector (Dzn / Carton / Pc) */
.pack-toggle-group {
  display: flex;
  background-color: #f1f5f9;
  border-radius: 8px;
  padding: 2px;
  margin-bottom: 1rem;
}

.pack-toggle-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.35rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: #64748b;
  border-radius: 6px;
  text-align: center;
  transition: all 0.15s ease;
  cursor: pointer;
}

.pack-toggle-btn.active {
  background-color: #ffffff;
  color: var(--store-navy);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Price Box */
.product-price-box {
  background-color: #f8fafc;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-sm);
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
}

.price-main {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--store-primary);
  line-height: 1;
}

.price-mrp {
  font-size: 0.8125rem;
  color: var(--store-text-muted);
  text-decoration: line-through;
}

.specs-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #475569;
  border-top: 1px dashed #e2e8f0;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

/* 7. Slide-out Cart Drawer */
.cart-offcanvas {
  width: 100%;
  max-width: 440px;
}

.cart-item-row {
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-md);
  padding: 0.85rem;
  margin-bottom: 0.75rem;
  background-color: #ffffff;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--store-border);
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cart-qty-btn:hover {
  background-color: var(--store-navy);
  color: #ffffff;
}

.cart-total-bar {
  background-color: #f8fafc;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}

.wa-order-submit-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 400;
  padding: 0.85rem;
  border-radius: var(--store-radius-md);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  transition: all 0.2s ease;
}

.wa-order-submit-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  transform: translateY(-1px);
}

/* 8. Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1050;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-wa-btn:hover {
  transform: scale(1.08);
  color: #ffffff;
}

/* 9. Footer */
.store-footer {
  background-color: var(--store-navy);
  color: #cbd5e1;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid #1e293b;
}

.store-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.store-footer a:hover {
  color: #ffffff;
}

/* Responsive grid rules */
@media (max-width: 575.98px) {
  .hero-main-title {
    font-size: 2.1rem;
  }
  .product-card-media {
    height: 180px;
  }
}

/* Frontend utility classes */
.fs-xs { font-size: 0.75rem; }
.fs-xxs { font-size: 0.7rem; }
.d-none-init { display: none; }

/* 10. Product Details Page Styles (Pure External CSS - Zero Inline Styles) */
.detail-breadcrumbs-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--store-border);
  padding: 0.75rem 0;
  font-size: 0.875rem;
}

.back-catalogue-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #475569;
  font-weight: 400;
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.back-catalogue-btn:hover {
  background-color: var(--store-primary);
  border-color: var(--store-primary);
  color: #ffffff;
}

.breadcrumb-sep {
  color: #cbd5e1;
  margin: 0 0.5rem;
  font-weight: 400;
}

.breadcrumb-cat-link {
  color: #64748b;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s ease;
}

.breadcrumb-cat-link:hover {
  color: var(--store-primary);
}

.breadcrumb-current-text {
  color: #0f172a;
  font-weight: 400;
}

/* Detail Gallery Sticky Container */
.detail-gallery-sticky {
  position: sticky;
  top: 85px;
  z-index: 10;
}

.detail-img-card {
  position: relative;
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid var(--store-border);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.detail-img-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-img-card:hover img {
  transform: scale(1.06);
}

.badge-dispatch-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: #059669;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  z-index: 2;
}

.badge-dispatch-pill.out-of-stock {
  background-color: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #a7f3d0;
  animation: pulseGlow 1.6s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(167, 243, 208, 0.7); }
  70% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 0 6px rgba(167, 243, 208, 0); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.badge-size-chip {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  z-index: 2;
}

.detail-thumb-strip {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  overflow-x: auto;
}

.detail-thumb-btn {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1.5px solid var(--store-border);
  background: #ffffff;
  padding: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.detail-thumb-btn:hover, .detail-thumb-btn.active {
  border-color: var(--store-primary);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.detail-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Category & Title */
.category-tag-pill {
  display: inline-flex;
  align-items: center;
  background-color: var(--store-primary-light);
  border: 1px solid var(--store-primary-border);
  color: var(--store-primary);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem;
  border-radius: 6px;
}

.detail-product-title {
  font-size: clamp(1.85rem, 3.8vw, 2.45rem);
  font-weight: 400;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.detail-product-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

/* Configurator Card */
.configurator-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  margin-bottom: 1.5rem;
}

.configurator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
}

.configurator-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.configurator-title-wrap i {
  color: var(--store-primary);
  font-size: 1.15rem;
}

.configurator-title-text {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #0f172a;
  margin: 0;
}

.variants-avail-badge {
  background-color: var(--store-primary-light);
  border: 1px solid var(--store-primary-border);
  color: var(--store-primary);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.configurator-step-lbl {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  margin-bottom: 0.65rem;
  display: block;
}

.size-select-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.size-select-btn {
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  color: #1e293b;
  font-weight: 400;
  font-size: 0.8125rem;
  padding: 0.55rem 1.15rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.size-select-btn:hover {
  border-color: #cbd5e1;
  background-color: #f1f5f9;
}

.size-select-btn.active {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  border-color: var(--store-primary);
  color: #ffffff;
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

.pack-choice-btn {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  padding: 0.75rem 0.5rem;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pack-choice-btn:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

.pack-choice-btn.active {
  background-color: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.pack-choice-btn.active .pack-sub-lbl {
  color: rgba(255, 255, 255, 0.75);
}

.pack-title-lbl {
  font-size: 0.8125rem;
  font-weight: 400;
  margin-bottom: 2px;
}

.pack-sub-lbl {
  font-size: 0.6875rem;
  color: #64748b;
}

/* Pricing Breakdown Card */
.pricing-summary-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.pricing-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.pricing-summary-row.rate-row {
  border-top: 1px solid #e2e8f0;
  padding-top: 0.65rem;
  margin-top: 0.5rem;
}

.price-rate-highlight {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--store-primary);
}

.savings-alert-pill {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-counter-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  height: 44px;
}

.qty-btn {
  width: 42px;
  height: 100%;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.qty-btn:hover {
  background-color: var(--store-navy);
  color: #ffffff;
}

.qty-input-field {
  width: 44px;
  height: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 400;
  font-size: 0.9375rem;
  color: #0f172a;
  outline: none;
}

.btn-add-wholesale {
  height: 44px;
  border-radius: 10px;
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 400;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  flex: 1;
  cursor: pointer;
}

.btn-add-wholesale:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.btn-wa-order-detail {
  height: 44px;
  border-radius: 10px;
  background-color: #ecfdf5;
  border: 2px solid rgba(16, 185, 129, 0.4);
  color: #047857;
  font-weight: 400;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0 1rem;
}

.btn-wa-order-detail:hover {
  background-color: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

/* Full B2B Matrix Card */
.matrix-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  margin-bottom: 1.5rem;
}

.matrix-header {
  background-color: #0f172a;
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.matrix-title {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 2px;
}

.matrix-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0;
}

.matrix-badge-hsn {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 400;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.matrix-table {
  width: 100%;
  font-size: 0.8125rem;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0;
}

.matrix-table th {
  background-color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #475569;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.matrix-table td {
  padding: 0.9rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}

.matrix-table tbody tr:hover td {
  background-color: #f8fafc;
}

.btn-matrix-action {
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  transition: all 0.15s ease;
}

/* Specifications Card */
.specs-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  margin-bottom: 2rem;
}

.specs-header {
  background-color: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.specs-header i {
  color: var(--store-primary);
  font-size: 1.1rem;
}

.specs-title {
  font-size: 0.875rem;
  font-weight: 400;
  color: #0f172a;
  margin-bottom: 0;
}

.specs-table {
  width: 100%;
  margin-bottom: 0;
  font-size: 0.8125rem;
  border-collapse: separate;
  border-spacing: 0;
}

.specs-table th {
  width: 32%;
  background-color: #fcfcfd;
  color: #64748b;
  font-weight: 400;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.specs-table td {
  color: #0f172a;
  font-weight: 400;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.related-section-header {
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
}

.related-section-header .product-card {
  height: 100%;
}

.related-section-header .product-card-body .mt-auto {
  margin-top: auto !important;
}

/* Regular storefront typography and compact, content-driven sections. */
.store-body,
.store-body :where(h1, h2, h3, h4, h5, h6, p, a, span, strong, b, label, button, input, th, td),
.store-body .badge {
  font-weight: 400 !important;
}

/* Keep product names and MRP prominent within the regular storefront type. */
.store-body .product-card-title,
.store-body .product-card-title a,
.store-body .detail-product-title,
.store-body .price-mrp,
.store-body #detailMrpVal,
.store-body .product-mrp {
  font-weight: 700 !important;
}

.store-hero { padding: 1.75rem 0; }
.category-showcase-section { padding: 1.5rem 0; }
.store-body #catalogue { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.store-body > section { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.store-footer { padding-top: 2rem; }
.catalogue-filter-bar { margin-bottom: 1rem; }
.product-card { height: auto; }
.product-card-body { padding: 0.85rem; gap: 0.5rem; }
.product-card-body .mt-auto { margin-top: 0.5rem !important; }
.product-card-media { height: 180px; padding: 0.75rem; }
.product-price-box { padding: 0.65rem; margin-bottom: 0.5rem; }
.catalogue-products-grid { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; align-items: start; }
.detail-gallery-sticky { position: static; }
.detail-img-card { max-height: none; }
.detail-product-title { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.detail-product-desc { margin-bottom: 0.75rem; }
.configurator-card { padding: 1rem; margin-bottom: 1rem; }
.configurator-header { flex-wrap: wrap; gap: 0.5rem; padding-bottom: 0.65rem; margin-bottom: 0.75rem; }
.pricing-summary-card { padding: 0.75rem; margin-top: 0.75rem; margin-bottom: 0.75rem; }
.matrix-card { margin-bottom: 1rem; }
.matrix-header { padding: 0.75rem 1rem; gap: 0.5rem; flex-wrap: wrap; }
.store-body #detailRoot { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1rem; margin-bottom: 1.5rem !important; }
.specs-card.mt-4 { margin-top: 1rem !important; }
@media (max-width: 575.98px) {
  .store-body { font-size: 0.9375rem; }
  .store-hero { padding: 1.25rem 0; }
  .product-card-media { height: 145px; padding: 0.6rem; }
  .catalogue-products-grid,
  .related-section-header .row { --bs-gutter-x: 0.65rem; --bs-gutter-y: 0.75rem; }
  .product-card-body { padding: 0.65rem; gap: 0.4rem; }
  .badge-cat-tag { font-size: 0.62rem; padding: 0.12rem 0.4rem; }
  .product-card-body > .d-flex.align-items-center.justify-content-between {
    align-items: flex-start !important;
    flex-wrap: wrap;
    gap: 0.25rem 0.4rem;
  }
  .product-card-body .fs-xxs {
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: right;
    font-size: 0.64rem;
  }
  .product-card-title,
  .product-card-title a {
    font-size: clamp(0.88rem, 3.8vw, 1rem);
    line-height: 1.25;
  }
  .variant-btn-pill { font-size: 0.68rem; padding: 0.22rem 0.45rem; }
  .product-price-box > .d-flex:first-child {
    align-items: flex-start !important;
    gap: 0.25rem;
  }
  .product-price-box > .d-flex:first-child > span:first-child {
    flex: 0 1 42%;
    font-size: 0.68rem;
    line-height: 1.25;
  }
  .product-price-box .price-main {
    display: inline-block;
    white-space: nowrap;
    font-size: clamp(0.95rem, 4vw, 1.1rem);
  }
  .product-price-box > .d-flex:first-child > .text-end {
    flex: 1 0 54%;
    min-width: 0;
  }
  .product-price-box .price-mrp {
    font-size: 0.7rem;
    white-space: nowrap;
  }
  .product-card-body .btn-outline-success { font-size: 0.9rem; padding-block: 0.55rem !important; }
  .related-section-header h2 { font-size: 1.2rem; }
  .detail-product-title { font-size: 1.4rem; }
  .detail-product-desc { font-size: 0.9rem; }
  .configurator-card { padding: 0.75rem; }
}
