/* home.css - Custom E-Commerce Storefront Stylesheet */
@import url('style.css');

/* Business promotional banner at the absolute top */
.business-promo-banner {
  background: linear-gradient(90deg, #0A0F1D 0%, #a80a13 50%, #0A0F1D 100%);
  color: var(--white);
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  z-index: 1005;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.business-promo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.business-promo-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.promo-text-divider {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
}

.promo-tagline {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.explore-business-btn {
  background-color: var(--white);
  color: var(--brand-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: var(--transition-fast);
}

.explore-business-btn:hover {
  background-color: var(--slate-100);
  color: var(--brand-hover);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .promo-tagline {
    display: none;
  }

  .promo-text-divider {
    display: none;
  }
}


/* Color system refinements for Indusdunia storefront */
:root {
  --ecom-red: #D9232D;
  --ecom-yellow: #FFC107;
  --ecom-bg: #F4F6F9;
  --text-dark: #212529;
  --text-muted: #6C757D;
  --border-light: #E9ECEF;
  --star-gold: #FFC107;
}

body {
  background-color: var(--ecom-bg);
  color: var(--text-dark);
}

/* Fluid full-width container layout override */
.container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 3rem !important;
  padding-right: 3rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 768px) {
  .container {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
}

@media (max-width: 991px) {
  .desktop-only-top-bar {
    display: none !important;
  }
}

/* 1. Header Styles */
.top-header-bar {
  background-color: #0F172A;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-header-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.top-header-links li a:hover {
  color: var(--white);
  text-decoration: underline;
}

.top-header-right {
  display: flex;
  gap: 1rem;
}

.main-header-bar {
  background-color: var(--white);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-header-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo specific adjustments */
.ecom-logo svg {
  display: block;
}

/* Delivery location widget */
.location-widget {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background-color: #F8FAFC;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.location-widget:hover {
  background-color: #F1F5F9;
  border-color: var(--slate-300);
}

.location-widget i {
  color: var(--ecom-red);
  font-size: 1.1rem;
}

.location-widget .loc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.loc-text span:first-child {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.loc-text span:last-child {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-slate);
}

/* Search Bar Wrapper & Autocomplete Suggestions Dropdown */
.search-widget-wrap {
  flex-grow: 1;
  position: relative;
}

.search-form {
  display: flex;
  width: 100%;
  background-color: var(--white);
  border: 2px solid var(--ecom-red);
  border-radius: 6px;
  overflow: hidden;
  align-items: center;
}

.search-category-select {
  background-color: #f3f4f6;
  border: none;
  border-right: 1px solid #e5e7eb;
  padding: 0 12px;
  color: #374151;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  height: 44px;
  flex: 0 0 auto;
  max-width: 140px;
  transition: background-color 0.2s;
}

.search-category-select:focus,
.search-category-select:hover {
  background-color: #e5e7eb;
}

.search-input-field {
  flex-grow: 1;
  height: 44px;
  border: none;
  padding: 0 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  background-color: transparent;
}

.search-input-field:focus {
  /* Remove focus outline since form border handles it */
}

.search-submit-btn {
  width: 54px;
  height: 44px;
  background-color: var(--ecom-red);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.search-submit-btn:hover {
  background-color: var(--brand-hover);
}

/* Autocomplete suggestions dropdown */
.suggestions-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background-color: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 1010;
  overflow: hidden;
  animation: slideDown 0.2s ease-out;
}

.suggestions-dropdown.active {
  display: block;
}

.suggestions-header {
  padding: 8px 16px;
  background-color: var(--slate-100);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-600);
  text-transform: uppercase;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-fast);
  font-size: 0.875rem;
  color: var(--text-dark);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background-color: #F8FAFC;
  color: var(--ecom-red);
}

.suggestion-item i {
  color: var(--text-muted);
}

/* Header Utilities */
.header-utility-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.utility-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--dark-slate);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.utility-item:hover {
  color: var(--ecom-red);
}

.utility-item i {
  font-size: 1.4rem;
}

.utility-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.utility-text span:first-child {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.utility-text span:last-child {
  font-weight: 600;
}

.cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--ecom-red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--white);
}

/* Category Navigation Sub-Header */
.category-nav-bar {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  position: relative;
}

.category-nav-container {
  display: flex;
  align-items: center;
}

.all-categories-trigger {
  background-color: #0F172A;
  color: var(--white);
  height: 48px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: 4px 4px 0 0;
  transition: var(--transition-fast);
}

.all-categories-trigger:hover {
  background-color: var(--ecom-red);
}

.categories-horizontal-list {
  display: flex;
  list-style: none;
  margin-left: 1rem;
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.categories-horizontal-list::-webkit-scrollbar {
  display: none;
}

.categories-horizontal-list li a {
  padding: 0 1.25rem;
  height: auto;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: var(--transition-fast);
}

.categories-horizontal-list li a:hover {
  color: var(--ecom-red);
}

.bulk-enquiry-nav-btn {
  margin-left: auto;
  background-color: rgba(217, 35, 45, 0.1);
  color: var(--ecom-red);
  border: 1px dashed var(--ecom-red);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.bulk-enquiry-nav-btn:hover {
  background-color: var(--ecom-red);
  color: var(--white);
  border-style: solid;
}

/* 2. Hero Promotional Slider Banner */
.hero-slider-section {
  padding: 0;
}

.hero-slider-section .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.slider-container {
  position: relative;
  width: 100%;
  background-color: #E2E8F0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.slides-wrapper {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--white);
}

.banner-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner-image {
  width: 100%;
  height: auto;
  max-height: 350px;
  display: block;
  object-fit: contain;
  object-position: center;
  z-index: 0;
}

.banner-slide-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  animation: slideUp 0.8s ease-out;
}

.banner-slide-content .tag {
  background-color: var(--ecom-red);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 1rem;
}

.banner-slide-content h2 {
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.banner-slide-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--white);
  transform: scale(1.3);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(15, 23, 42, 0.5);
  border: none;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition-fast);
}

.slider-arrow:hover {
  background-color: rgba(15, 23, 42, 0.8);
}

.slider-arrow-left {
  left: 20px;
}

.slider-arrow-right {
  right: 20px;
}

/* 3. Popular Categories Circular Grid */
.categories-grid-section {
  padding: 2.5rem 0;
}

.categories-circle-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1.5rem;
}

.category-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.circle-icon-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.category-circle-item:hover .circle-icon-wrap {
  transform: scale(1.1) translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--ecom-red);
}

.category-circle-item:hover span {
  color: var(--ecom-red);
}

.circle-icon-wrap i {
  font-size: 2.2rem;
  color: var(--dark-slate);
  transition: var(--transition-fast);
}

.category-circle-item:hover .circle-icon-wrap i {
  color: var(--ecom-red);
}

.category-circle-item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-600);
  line-height: 1.3;
}

/* 4. Best Seller Grid Shelf */
.products-shelf-section {
  padding: 2.5rem 0;
}

.shelf-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 8px;
}

.shelf-title {
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
  color: var(--dark-slate);
}

.shelf-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: var(--ecom-red);
}

.shelf-view-all {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ecom-red);
}

.shelf-view-all:hover {
  text-decoration: underline;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card-wrap {
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border-light);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card-wrap:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.product-discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #2E7D32;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 5;
}

.product-image-container {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
}

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

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

.product-brand-tag {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.product-title-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-slate);
  margin-bottom: 8px;
  line-height: 1.4;
  height: auto;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-title-link:hover {
  color: var(--ecom-red);
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.rating-badge {
  background-color: #E8F5E9;
  color: #2E7D32;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.rating-badge i {
  font-size: 0.65rem;
}

.rating-count {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.product-pricing-box {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}

.price-row-final {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.final-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
}

.original-price {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.tax-tag {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.product-action-btn {
  background-color: var(--ecom-red);
  color: var(--white);
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
}

.product-action-btn:hover {
  background-color: var(--brand-hover);
}

/* 5. Brand Logos Showcase Grid */
.brands-section {
  padding: 2.5rem 0;
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.brands-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center;
}

.brands-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-marquee-track {
  display: flex !important;
  width: max-content;
  gap: 0 !important;
  animation: scrollMarquee 30s linear infinite;
}

.brands-marquee-track:hover {
  animation-play-state: paused;
}

.brands-marquee-track .brand-logo-card {
  width: 180px;
  margin-right: 2rem;
  flex: 0 0 auto;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.brand-logo-card {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background-color: #F8FAFC;
  transition: var(--transition-normal);
  cursor: pointer;
}

.brand-logo-card:hover {
  border-color: var(--ecom-red);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

.brand-logo-card img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* 6. RFQ Bulk Inquiry Portal */
.rfq-inquiry-section {
  padding: 3.5rem 0;
}

.rfq-container-card {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.rfq-info-banner {
  background-color: #0F172A;
  background-image: linear-gradient(135deg, #022B5C, #0F172A);
  color: var(--white);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rfq-info-banner h2 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.rfq-info-banner p {
  color: var(--slate-300);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.rfq-features-list {
  list-style: none;
}

.rfq-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.rfq-features-list li i {
  color: var(--ecom-yellow);
  font-size: 1.2rem;
}

.rfq-form-panel {
  padding: 4rem 3rem;
}

.rfq-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.rfq-form .form-group.full-width {
  grid-column: span 2;
}

.rfq-form .form-control {
  background-color: #F8FAFC;
}

.rfq-form .form-control:focus {
  background-color: var(--white);
}

.rfq-form textarea.form-control {
  height: 100px;
}

.rfq-submit-btn {
  grid-column: span 2;
  background-color: var(--ecom-red);
  color: var(--white);
  height: 48px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.rfq-submit-btn:hover {
  background-color: var(--brand-hover);
}

/* 7. Highlights Trust Strip */
.trust-strip-section {
  background-color: #0F172A;
  color: var(--white);
  padding: 2.5rem 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon-box i {
  font-size: 1.6rem;
  color: var(--ecom-yellow);
}

.trust-text-box h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.trust-text-box p {
  color: var(--slate-300);
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* Keyframes */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .categories-circle-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1rem;
  }
}

@media (max-width: 1024px) {
  .main-header-container {
    gap: 1rem;
  }

  .location-widget {
    display: none;
  }

  .rfq-container-card {
    grid-template-columns: 1fr;
  }

  .rfq-info-banner {
    padding: 3rem;
  }

  .rfq-form-panel {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .top-header-bar {
    display: none;
  }

  .categories-horizontal-list {
    display: none;
  }

  .bulk-enquiry-nav-btn {
    display: none;
  }

  .main-header-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .search-widget-wrap {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 6px;
  }

  .brands-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }



  .banner-slide-content h2 {
    font-size: 1.8rem;
  }

  .rfq-info-banner {
    padding: 2.5rem 2rem;
  }

  .rfq-form-panel {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 480px) {
  .categories-circle-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brands-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .rfq-info-banner {
    padding: 2rem 1.5rem;
  }

  .rfq-form-panel {
    padding: 2rem 1.5rem;
  }

  .rfq-form {
    grid-template-columns: 1fr;
  }

  .rfq-form .form-group.full-width,
  .rfq-submit-btn {
    grid-column: span 1;
  }
}

/* IMPORTED Slide Custom Elements */
.slide-imported {
  background-color: #2A1B14;
}

.imported-slide-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 5;
}

.imported-slide-content .sub-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.imported-title-badge {
  background-color: var(--ecom-yellow);
  padding: 4px 18px;
  transform: skewX(-12deg);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.imported-title-badge span {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.2rem;
  color: #000000;
  transform: skewX(12deg);
  display: block;
}

.imported-main-title {
  font-size: 2.5rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1.25rem;
  margin-top: 0;
  line-height: 1.1;
}

.imported-offer-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.75rem;
  border: 1px solid var(--ecom-yellow);
  border-radius: 6px;
  padding: 4px 12px;
  background-color: rgba(0, 0, 0, 0.4);
  width: fit-content;
}

.imported-offer-row .upto-text {
  font-size: 0.8rem;
  color: var(--white);
  font-weight: 500;
}

.imported-offer-row .offer-val-badge {
  font-size: 1.1rem;
  color: var(--ecom-yellow);
  font-weight: 800;
}

.imported-shop-btn {
  background-color: var(--ecom-yellow);
  color: #000000;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.imported-shop-btn:hover {
  background-color: #E0A800;
  transform: translateY(-2px);
}

.imported-shop-btn .btn-arrow-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
}

/* Brand Slide Tabs Styling */
.slider-tabs-container {
  display: flex;
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.slider-tab {
  flex: 1;
  text-align: center;
  padding: 14px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.3;
  transition: var(--transition-fast);
  border-bottom: 3px solid transparent;
  background-color: var(--white);
  border-right: 1px solid var(--border-light);
}

.slider-tab:last-child {
  border-right: none;
}

.slider-tab:hover {
  background-color: #F8FAFC;
}

.slider-tab.active {
  border-bottom: 3px solid var(--ecom-red);
}

.slider-tab .tab-brand {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-slate);
}

.slider-tab.active .tab-brand {
  color: var(--ecom-red);
}

.slider-tab .tab-offer {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.slider-tab.active .tab-offer {
  color: var(--ecom-red);
  font-weight: 600;
}

@media (max-width: 768px) {
  .slider-tabs-container {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
  }

  .slider-tab {
    min-width: 120px;
    flex: none;
  }
}

/* 2b. Promo Banners Grid Section Styling */
.promo-banners-section {
  padding: 1rem 0;
  background-color: var(--ecom-bg);
}

.promo-banners-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.promo-banner-card {
  display: block;
  width: 100%;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  margin-bottom: 1rem;
}

.promo-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.promo-banner-card .banner-visual {
  width: 100%;
  height: auto;
}

.promo-banner-card .banner-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

transform: translateY(-3px);
box-shadow: var(--shadow-md);
border-color: var(--slate-300);
}

.banner-info {
  flex: 1.2;
  padding: 14px 10px 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.banner-visual {
  flex: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.02);
}

/* Backgrounds matching the screenshot colors */
.banner-mezonite {
  background: linear-gradient(135deg, #4A2E1B 0%, #754C24 100%);
  color: var(--white);
}

.banner-mezonite .banner-visual {
  background-color: rgba(255, 255, 255, 0.08);
}

.banner-asha {
  background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
  color: var(--white);
}

.banner-asha .banner-visual {
  background-color: rgba(255, 255, 255, 0.08);
}

.banner-rose {
  background: linear-gradient(135deg, #FAFAFA 0%, #EEEEEE 100%);
  color: var(--dark-slate);
}

.banner-rose .banner-visual {
  background-color: rgba(0, 0, 0, 0.03);
}

.banner-oxc {
  background: linear-gradient(135deg, #FFB300 0%, #FFC107 100%);
  color: #000000;
}

.banner-oxc .banner-visual {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Banner typography specifications */
.banner-info .brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.banner-mezonite .brand-name {
  color: #FFF;
}

.banner-asha .brand-name {
  color: #FFF;
}

.banner-rose .brand-name {
  color: var(--dark-slate);
}

.banner-oxc .brand-name {
  color: #000;
}

.banner-info .discount-tag {
  font-size: 0.725rem;
  font-weight: 500;
  margin-top: 4px;
}

.banner-info .discount-tag span {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ecom-yellow);
}

.banner-rose .discount-tag span {
  color: var(--ecom-red);
}

.banner-oxc .discount-tag span {
  color: #E53935;
}

/* Call to action buttons inside the promo banner cards */
.banner-cta-btn {
  background-color: var(--ecom-red);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: auto;
  transition: background-color 0.2s;
  text-transform: uppercase;
}

.banner-cta-btn:hover {
  background-color: var(--brand-hover);
}

.banner-cta-btn.green {
  background-color: #1B5E20;
}

.banner-cta-btn.green:hover {
  background-color: #0D3C10;
}

.banner-cta-btn.red {
  background-color: #212121;
}

.banner-cta-btn.red:hover {
  background-color: #000000;
}

/* Responsiveness overrides */
@media (max-width: 1200px) {
  .promo-banners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

}

/* 2c. Viewed Items Interactive Section Styling */
.viewed-items-section {
  padding: 2.5rem 0;
  background: linear-gradient(180deg, #E8F5E9 0%, #FFFFFF 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.viewed-tabs-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.viewed-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  width: 100px;
}

.tab-img-box {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px solid var(--border-light);
  background-color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.viewed-tab:hover .tab-img-box {
  transform: translateY(-2px);
  border-color: var(--slate-300);
}

.viewed-tab.active .tab-img-box {
  border-color: var(--ecom-red);
  box-shadow: 0 0 0 3px rgba(217, 35, 45, 0.15);
}

.item-count-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(33, 33, 33, 0.85);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  padding: 2px 0;
}

.tab-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-600);
  text-align: center;
  line-height: 1.2;
  transition: var(--transition-fast);
}

.viewed-tab.active .tab-label {
  color: var(--ecom-red);
}

/* Shelf grids horizontal scroll logic */
.viewed-shelf-grid {
  display: none;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
  /* Firefox */
  margin-bottom: 2rem;
}

.viewed-shelf-grid.active {
  display: flex;
}

.viewed-shelf-grid::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.viewed-shelf-grid .product-card-wrap {
  flex: 0 0 240px;
  /* Fixed width for horizontal scrolling items */
}

/* 2d. 24 Hours Delivery in Delhi-NCR Strip Styling */
.delivery-strip-section {
  padding: 1rem 0;
  background-color: var(--ecom-bg);
}

.fluid-container-delivery {
  background-color: #2D2D2D;
  border-radius: 8px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.delivery-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid #444;
  padding-bottom: 12px;
}

.delivery-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.delivery-title-wrap i {
  font-size: 1.5rem;
  color: var(--ecom-yellow);
}

.delivery-title-wrap h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.3px;
  color: #FFFFFF !important;
}

.delivery-update-btn {
  background-color: var(--white);
  color: var(--ecom-red);
  border: 1px solid var(--ecom-red);
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 4px;
}

.delivery-update-btn:hover {
  background-color: var(--ecom-red);
  color: var(--white);
}

.delivery-cards-scroll {
  display: flex;
  flex-wrap: nowrap !important;
  white-space: nowrap;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.delivery-cards-scroll::-webkit-scrollbar {
  height: 6px;
}

.delivery-cards-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.delivery-cat-card {
  flex: 0 0 140px;
  background-color: var(--white);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}

.delivery-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.delivery-cat-card .card-img-wrap {
  width: 90px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.delivery-cat-card .cat-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 14px;
}

.delivery-cat-card .starting-price {
  font-size: 0.7rem;
  font-weight: 700;
  color: #2E7D32;
}

/* 2e. Three Horizontal Promo Banners Section Styling */
.three-banners-section {
  padding: 1.5rem 0;
  background-color: var(--ecom-bg);
}

.three-banners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.three-banner-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}


.three-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

/* Backgrounds matching Indusdunia campaign styling */
.banner-safety {
  background: linear-gradient(135deg, #FF6F00 0%, #FFA000 100%);
  color: var(--white);
}

.banner-safety .banner-visual {
  background-color: rgba(255, 255, 255, 0.08);
}

.banner-handtools {
  background: linear-gradient(135deg, #006064 0%, #00838F 100%);
  color: var(--white);
}

.banner-handtools .banner-visual {
  background-color: rgba(255, 255, 255, 0.08);
}

.banner-office {
  background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%);
  color: var(--white);
}

.banner-office .banner-visual {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Responsiveness overrides */
@media (max-width: 992px) {
  .three-banners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .three-banners-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Electricals Section Styling
   ========================================== */
.electricals-shelf-section {
  padding: 2.5rem 0;
}

.electricals-shelf-section .shelf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: none;
  padding-bottom: 0;
}

.electricals-shelf-section .shelf-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #212529;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0;
}

.electricals-shelf-section .shelf-title::after {
  display: none;
}

.shelf-view-all-btn {
  background-color: #FCE8E6;
  color: #D9232D;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
  letter-spacing: 0.5px;
}

.shelf-view-all-btn:hover {
  background-color: #D9232D;
  color: var(--white);
}

.electricals-inner-container {
  background-color: #F1F3F6;
  border-radius: 12px;
  padding: 24px;
}

.electricals-top-row {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.electricals-brands-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 20px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: start;
  height: fit-content;
}

.electricals-brands-card .card-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  font-family: inherit;
}

.brands-circular-list {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
  width: 100%;
}

.brands-circular-list::-webkit-scrollbar {
  display: none;
}

.brand-circular-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.brand-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  margin-bottom: 8px;
  transition: transform 0.2s, border-color 0.2s;
}

.brand-circle:hover {
  transform: scale(1.05);
  border-color: #CBD5E1;
}

.brand-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.brand-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
}

.brand-fab {
  color: #E65100;
}

.brand-cabone {
  font-size: 0.65rem;
  color: #D84315;
  font-weight: 900;
}

.brand-vrinda {
  font-size: 0.6rem;
  color: #C2185B;
  text-align: center;
  line-height: 1.1;
  font-weight: 700;
}

.brand-fabgo {
  color: #EF6C00;
  font-style: italic;
}

.brand-circular-item .brand-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4A5568;
}

.electricals-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-rect-card {
  background-color: #FEF9E7;
  border-radius: 10px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  height: 100%;
}

.category-rect-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.category-image-wrap {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.category-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 6px;
  background: linear-gradient(to right, #8D6E63, #5D4037);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.category-rect-card .category-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2D3748;
  margin-top: 12px;
  margin-bottom: 2px;
  line-height: 1.2;
}

.category-rect-card .explore-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: #718096;
}

.electricals-products-scroll-container {
  position: relative;
}

.electricals-products-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 16px 4px;
  scrollbar-width: none;
}

.electricals-products-scroll::-webkit-scrollbar {
  display: none;
}

.electricals-products-scroll .product-card-wrap {
  flex: 0 0 250px;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.scroll-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 10;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.scroll-arrow-btn:hover {
  background-color: #F8FAFC;
  transform: translateY(-50%) scale(1.05);
}

.scroll-arrow-left {
  left: -20px;
}

.scroll-arrow-right {
  right: -20px;
}

@media (max-width: 992px) {
  .electricals-top-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .electricals-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .electricals-inner-container {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .electricals-category-grid {
    grid-template-columns: 1fr;
  }

  .electricals-shelf-section .shelf-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    text-align: left;
  }

  .electricals-shelf-section .shelf-title {
    font-size: 1.25rem;
  }

  .electricals-brands-card {
    align-items: flex-start;
    text-align: left;
    padding: 16px 12px;
    width: 100%;
  }

  .electricals-brands-card .card-subtitle {
    font-size: 0.85rem;
    white-space: normal !important;
  }

  .brands-circular-list {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    width: 100%;
  }

  .brands-circular-list::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
  }

  .electricals-type-card-single {
    width: 140px !important;
  }

  .electricals-type-card-single h4 {
    font-size: 0.8rem !important;
  }

  .electricals-type-card-single span {
    font-size: 0.65rem !important;
  }

  .type-card-img {
    height: 100px !important;
  }
}

/* ==========================================
   Plumbing & Sanitary Section Styling
   ========================================== */
.plumbing-shelf-section {
  padding: 2.5rem 0;
}

.plumbing-shelf-section .shelf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: none;
  padding-bottom: 0;
}

.plumbing-shelf-section .shelf-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #212529;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0;
}

.plumbing-shelf-section .shelf-title::after {
  display: none;
}

.plumbing-inner-container {
  background-color: #F1F3F6;
  border-radius: 12px;
  padding: 24px;
}

.plumbing-top-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.plumbing-brands-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 20px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plumbing-brands-card .card-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  font-family: inherit;
}

.brand-parryware {
  color: #0d47a1;
  font-size: 0.75rem;
  font-weight: 900;
}

.brand-hindware {
  color: #c62828;
  font-size: 0.75rem;
  font-weight: 900;
}

.brand-jaquar {
  color: #37474f;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.brand-astral {
  color: #ef6c00;
  font-size: 0.75rem;
  font-weight: 900;
}

.plumbing-category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.plumbing-products-scroll-container {
  position: relative;
}

.plumbing-products-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 16px 4px;
  scrollbar-width: none;
}

.plumbing-products-scroll::-webkit-scrollbar {
  display: none;
}

.plumbing-products-scroll .product-card-wrap {
  flex: 0 0 250px;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

@media (max-width: 1200px) {
  .plumbing-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .plumbing-top-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .plumbing-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plumbing-inner-container {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .plumbing-category-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   MEGA MENU STYLES (Header)
   ========================================= */
.categories-horizontal-list {
  position: static;
}

.nav-category-item {
  height: 100%;
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-category-link {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 700;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-fast);
  line-height: 1.2;
  white-space: normal;
}

.nav-category-item:hover {
  background-color: #fff;
}

.nav-category-item:hover .nav-category-link {
  color: var(--ecom-red);
}

.mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fafafa;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  padding: 1.25rem 0;
}

.nav-category-item:hover .mega-menu-dropdown {
  opacity: 1;
  visibility: visible;
}

.mega-menu-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  column-count: 5;
  column-gap: 2rem;
}

.mega-menu-column {
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 1.5rem;
  display: inline-block;
  /* Helps prevent column breaking bugs */
  width: 100%;
}

.mega-menu-title {
  font-size: 0.85rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 0.4rem;
}

.mega-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mega-menu-links li {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.mega-menu-links a {
  color: #333;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.15s;
  display: block;
}

.mega-menu-links a:hover {
  color: var(--ecom-red);
}

/* =========================================
   MOBILE RESPONSIVE OVERRIDES
   ========================================= */
@media (max-width: 768px) {

  /* 1. Hide Slider Tabs */
  .slider-tabs-container {
    display: none !important;
  }

  /* 2. Mobile Header Layout */
  .main-header-container {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
  }

  .mobile-menu-btn {
    display: block !important;
    grid-column: 1;
    color: #333 !important;
    /* Set icon color to black */
  }

  .ecom-logo {
    grid-column: 2;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  .mobile-cart-btn {
    display: block !important;
    grid-column: 3;
    color: #333 !important;
    /* Set icon color to black */
  }

  .location-widget {
    display: none !important;
  }

  .search-widget-wrap {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 5px;
  }

  /* Hide Category Nav on Mobile */
  .category-nav-bar {
    display: none !important;
  }

  .mobile-menu-close {
    display: block !important;
  }

  /* 3. Utility Links as Mobile Side Menu (Left Off-Canvas) */
  .header-utility-links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -280px;
    /* Hidden by default */
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    padding: 20px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    margin: 0;
  }

  .header-utility-links.active {
    left: 0;
  }

  .utility-item {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .utility-item i {
    font-size: 1.25rem;
    color: var(--ecom-red);
  }

  .utility-text span {
    color: #333 !important;
  }

  /* Hide desktop cart inside the utility links on mobile */
  .utility-item.cart-icon-wrap {
    display: none !important;
  }

  /* 4. B2B Value Props Grid (2x2 on mobile) */
  .b2b-value-props .container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .b2b-value-props .value-prop-item {
    align-items: flex-start !important;
  }

  /* 5. Horizontal Scrolling for Viewed Tabs */
  .viewed-tabs-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    justify-content: flex-start !important;
  }

  .viewed-tab {
    flex: 0 0 auto;
    margin-right: 15px;
  }

  /* Hide scroll buttons on mobile if horizontal scroll is native */
  .viewed-scroll-left,
  .viewed-scroll-right {
    display: none !important;
  }

  /* Reduce Shelf Title and View All Button sizes on Mobile */
  .shelf-title {
    font-size: 1.1rem !important;
  }

  .shelf-view-all-btn {
    font-size: 0.7rem !important;
    padding: 5px 10px !important;
  }

  /* Mobile Bottom Navigation Bar */
  body {
    padding-bottom: 65px;
  }

  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #eee;
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 0.7rem;
    position: relative;
    flex: 1;
  }

  .bottom-nav-item.active {
    color: #D9232D;
  }

  .bottom-nav-item i {
    font-size: 1.4rem;
    margin-bottom: 3px;
  }

  .bottom-nav-item .badge {
    position: absolute;
    top: -5px;
    right: calc(50% - 15px);
    background: #D9232D;
    color: #fff;
    font-size: 0.6rem;
    border-radius: 50%;
    padding: 2px 5px;
    font-weight: bold;
  }

  /* Delivery Strip Mobile Margin/Padding */
  .delivery-strip-section {
    padding: 0.5rem 0 !important;
  }

  .fluid-container-delivery {
    padding: 12px 8px !important;
    border-radius: 0 !important;
    margin-left: -0.25rem !important;
    margin-right: -0.25rem !important;
  }
}

@media (max-width: 480px) {

  /* Force 2-column grids on mobile */
  .electricals-category-grid,
  .plumbing-category-grid,
  .products-grid,
  [class*="-category-grid"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  /* Make product cards compact on mobile to fit 2 columns */
  .product-card-wrap {
    padding: 8px !important;
  }

  .product-card-wrap .product-image-container {
    height: 100px !important;
    padding: 5px !important;
  }

  .product-card-wrap .product-image-container i {
    font-size: 2rem !important;
  }

  .product-card-wrap .product-title-link {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
  }

  .product-card-wrap .product-brand-tag {
    font-size: 0.65rem !important;
    margin-bottom: 4px !important;
  }

  .product-card-wrap .rating-badge {
    font-size: 0.65rem !important;
    padding: 2px 4px !important;
  }

  .product-card-wrap .rating-count {
    font-size: 0.6rem !important;
  }

  .product-card-wrap .final-price {
    font-size: 0.9rem !important;
  }

  .product-card-wrap .original-price {
    font-size: 0.7rem !important;
  }

  .product-card-wrap .tax-tag {
    font-size: 0.6rem !important;
    margin-bottom: 8px !important;
  }

  .product-card-wrap .product-action-btn {
    font-size: 0.75rem !important;
    padding: 6px !important;
  }

  .product-card-wrap .product-discount-badge {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
  }

  /* Add horizontal padding to shelf headers so they don't touch the edges */
  .shelf-header {
    padding: 16px 12px !important;
  }
}