/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Ranjit Innerwear Child Theme - Premium Catalogue Mode, Variable Swatches, Responsive Shop & Single Product
Author: Smart Knitwear Dev
Template: hello-elementor
Version: 2.1.0
*/

/* ==========================================================================
   1. BRAND DESIGN SYSTEM & SCOPED TYPOGRAPHY
   ========================================================================== */
:root {
  --ranjit-navy-900: #0b192c;
  --ranjit-navy-800: #004085;
  --ranjit-navy-700: #0284c7;
  --ranjit-whatsapp: #004085;
  --ranjit-whatsapp-hover: #0b192c;
  --ranjit-text-main: #0f172a;
  --ranjit-text-muted: #64748b;
  --ranjit-border: #e2e8f0;
  --ranjit-border-dark: #cbd5e1;
  --ranjit-shadow-sm: 0 2px 8px rgba(11, 25, 44, 0.04);
  --ranjit-shadow-md: 0 6px 20px rgba(11, 25, 44, 0.08);
  --ranjit-shadow-lg: 0 12px 32px rgba(11, 25, 44, 0.12);
  --ranjit-radius: 12px;
}

/* Prevent Horizontal Window Overflow */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* BRAND TYPOGRAPHY: Montserrat (Headings) + Scheherazade New (Body) */
h1, h2, h3, h4, h5, h6,
.ranjit-heading,
.elementor-heading-title,
.woocommerce-loop-product__title,
.product_title,
.woocommerce-product-gallery,
.ranjit-modal-dialog h2,
.ranjit-modal-dialog h3 {
  font-family: 'Montserrat', sans-serif !important;
}

body,
body p,
body span,
body a,
body li,
body td,
body th,
body input,
body textarea,
body select,
body label,
.ranjit-filter-container,
.ranjit-mobile-sidebar-drawer,
.ranjit-modal-dialog,
.woocommerce-pagination {
  font-family: 'Scheherazade New', serif !important;
}

/* Exception: product card action buttons keep Montserrat */
.ranjit-loop-wa-btn,
.ranjit-loop-details-btn,
.ranjit-whatsapp-btn,
.ranjit-dealer-btn,
.ranjit-open-filter-btn,
.ranjit-header-wa-btn {
  font-family: 'Montserrat', sans-serif !important;
}

/* ==========================================================================
   1b. DESKTOP LAYOUT: 90% WIDTH CONTAINER
   ========================================================================== */
/* Wrap main content to 90% centered on desktop */
.e-con-boxed,
.elementor-section-boxed > .elementor-container,
.e-con-boxed > .e-con-inner {
  max-width: min(1440px, 90%) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Footer always full width - override the 90% container */
.elementor-location-footer .e-con-boxed > .e-con-inner,
.elementor-location-footer .elementor-section-boxed > .elementor-container {
  max-width: 1440px !important;
  width: 100% !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

/* ==========================================================================
   2. HEADER & FIBOSEARCH REFINED UI
   ========================================================================== */
.elementor-location-header {
  width: 100%;
  box-sizing: border-box;
}

/* FiboSearch Input & Search Form */
.elementor-location-header .dgwt-wcas-search-wrapp {
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 !important;
}

.elementor-location-header .dgwt-wcas-sf-wrapp {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
}

.elementor-location-header .dgwt-wcas-sf-wrapp:focus-within {
  border-color: #004085 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(0, 64, 133, 0.12) !important;
}

.elementor-location-header .dgwt-wcas-search-input {
  height: 38px !important;
  line-height: 38px !important;
  padding: 0 40px 0 16px !important;
  font-size: 13px !important;
  border: none !important;
  background: transparent !important;
  width: 100% !important;
  color: #0f172a !important;
  outline: none !important;
  box-shadow: none !important;
}

.elementor-location-header .dgwt-wcas-search-submit {
  position: absolute !important;
  right: 6px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: 28px !important;
  width: 32px !important;
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  color: #64748b !important;
}

.elementor-location-header .dgwt-wcas-ico-magnifier {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  fill: #64748b !important;
}

/* Header WhatsApp CTA */
.ranjit-header-wa-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #004085 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 9px 18px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(0, 64, 133, 0.22) !important;
  transition: all 0.2s ease !important;
  border: none !important;
  white-space: nowrap !important;
}

.ranjit-header-wa-btn:hover {
  background: #0b192c !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   3. BREADCRUMBS: HORIZONTAL INLINE & CLEAN (FIX FOR SCREENSHOT 3)
   ========================================================================== */
.elementor-element-77436bd2 .elementor-icon-list-items,
.woocommerce-breadcrumb {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px 6px !important;
  padding: 0 !important;
  margin: 0 0 16px 0 !important;
  font-size: 12px !important;
  color: #64748b !important;
  line-height: 1.4 !important;
}

.elementor-element-77436bd2 .elementor-icon-list-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-element-77436bd2 .elementor-icon-list-text,
.woocommerce-breadcrumb a,
.woocommerce-breadcrumb span {
  display: inline !important;
  white-space: normal !important;
}

.elementor-element-77436bd2 .elementor-icon-list-text a,
.woocommerce-breadcrumb a {
  display: inline !important;
  color: #004085 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.elementor-element-77436bd2 .elementor-icon-list-text a:hover,
.woocommerce-breadcrumb a:hover {
  text-decoration: underline !important;
}

.elementor-element-77436bd2 .elementor-icon-list-icon {
  display: inline-flex !important;
  align-items: center !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
}

/* ==========================================================================
   4. PRODUCT ARCHIVE LOOP: DESKTOP & MOBILE GRID
   ========================================================================== */
.woocommerce ul.products,
.elementor-wc-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin: 0 0 35px 0 !important;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce ul.products li.product,
.elementor-wc-products ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid var(--ranjit-border) !important;
  border-radius: var(--ranjit-radius) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: var(--ranjit-shadow-sm) !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.woocommerce ul.products li.product:hover,
.elementor-wc-products ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--ranjit-shadow-md) !important;
  border-color: #cbd5e1 !important;
}

/* Loop Image */
.woocommerce ul.products li.product a.woocommerce-loop-product__link,
.elementor-wc-products ul.products li.product a.woocommerce-loop-product__link {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
}

.woocommerce ul.products li.product a img,
.elementor-wc-products ul.products li.product a img {
  width: 100% !important;
  height: 320px !important;
  object-fit: cover !important;
  object-position: top center !important;
  border-radius: 12px 12px 0 0 !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.woocommerce ul.products li.product:hover a img {
  transform: scale(1.03) !important;
}

/* REFINED SUBTLE BRAND TAG (SMALL & SLEEK LIKE E-COMMERCE) */
.ranjit-card-brand-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  background: rgba(11, 25, 44, 0.78) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18) !important;
  z-index: 3 !important;
}

.ranjit-badge-smart {
  background: rgba(0, 64, 133, 0.85) !important;
  color: #fef08a !important;
}

.ranjit-badge-rocky {
  background: rgba(15, 23, 42, 0.85) !important;
  color: #ffffff !important;
}

/* Card Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.elementor-wc-products ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--ranjit-navy-900) !important;
  padding: 0 14px !important;
  margin: 12px 0 4px 0 !important;
  line-height: 1.35 !important;
  min-height: 38px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Card Spec Subtitle */
.ranjit-card-spec-subtitle {
  font-size: 11.5px !important;
  color: var(--ranjit-text-muted) !important;
  padding: 0 14px !important;
  margin-bottom: 6px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Sizes Strip */
.ranjit-card-sizes-strip {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  padding: 0 14px !important;
  margin-bottom: 8px !important;
}

.ranjit-size-pill {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.ranjit-size-pill.ranjit-size-more {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border-color: #bae6fd !important;
}

/* Price */
.woocommerce ul.products li.product .price,
.elementor-wc-products ul.products li.product .price {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: var(--ranjit-navy-800) !important;
  padding: 0 14px !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 5px !important;
}

/* Actions Row */
.ranjit-card-actions-row {
  display: flex !important;
  gap: 8px !important;
  padding: 0 14px 14px 14px !important;
  margin-top: auto !important;
}

.ranjit-loop-wa-btn {
  flex: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: var(--ranjit-navy-700) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0, 64, 133, 0.2) !important;
  transition: all 0.2s ease !important;
  border: none !important;
}

.ranjit-loop-wa-btn:hover {
  background: var(--ranjit-navy-900) !important;
  color: #ffffff !important;
}

.ranjit-loop-details-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 12px !important;
  background: #ffffff !important;
  color: var(--ranjit-navy-800) !important;
  border: 1px solid var(--ranjit-border-dark) !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

/* ==========================================================================
   5. SINGLE PRODUCT: ECOMMERCE TOUCH SLIDER & VARIATION SWATCHES
   ========================================================================== */
.woocommerce-product-gallery {
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
}

/* Hide the default WC gallery wrapper (static image grid) once our JS slider mounts */
.woocommerce-product-gallery[data-ranjit-slider-ready="true"] .woocommerce-product-gallery__wrapper {
  display: none !important;
}

/* Sticky gallery left column on desktop */
.single-product .elementor-element-6b270e91,
.single-product .elementor-widget-woocommerce-product-images {
  position: sticky !important;
  top: 90px !important;
  align-self: flex-start !important;
  z-index: 10 !important;
}


.ranjit-ecom-slider {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-bottom: 24px !important;
  box-sizing: border-box !important;
}

.ranjit-slider-stage {
  position: relative !important;
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid var(--ranjit-border) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  aspect-ratio: 3 / 4 !important;
  max-height: 520px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: var(--ranjit-shadow-sm) !important;
  user-select: none !important;
  touch-action: pan-y !important;
}

.ranjit-stage-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transition: opacity 0.2s ease-in-out !important;
  display: block !important;
  border-radius: 14px !important;
}

.ranjit-slider-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  color: var(--ranjit-navy-800) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 6 !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}

.ranjit-slider-nav:hover {
  background: var(--ranjit-navy-800) !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.08) !important;
}

.ranjit-slider-nav.ranjit-prev { left: 12px !important; }
.ranjit-slider-nav.ranjit-next { right: 12px !important; }

.ranjit-slider-badge {
  position: absolute !important;
  bottom: 12px !important;
  right: 12px !important;
  background: rgba(11, 25, 44, 0.8) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  z-index: 6 !important;
  letter-spacing: 0.5px !important;
}

.ranjit-slider-dots {
  position: absolute !important;
  bottom: 12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 6px !important;
  z-index: 6 !important;
}

.ranjit-slider-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: rgba(11, 25, 44, 0.25) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.ranjit-slider-dot.active {
  width: 18px !important;
  border-radius: 10px !important;
  background: var(--ranjit-navy-800) !important;
}

.ranjit-slider-thumbs {
  display: flex !important;
  gap: 8px !important;
  padding: 4px 2px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.ranjit-thumb-item {
  flex: 0 0 64px !important;
  height: 80px !important;
  border-radius: 8px !important;
  border: 2px solid #e2e8f0 !important;
  background: #ffffff !important;
  overflow: hidden !important;
  cursor: pointer !important;
  opacity: 0.65 !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.ranjit-thumb-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.ranjit-thumb-item.active {
  border-color: var(--ranjit-navy-800) !important;
  opacity: 1 !important;
  box-shadow: 0 2px 8px rgba(0, 64, 133, 0.25) !important;
  transform: translateY(-2px) !important;
}

/* VARIATION SWATCHES PLUGIN REFINED STYLING */
.wvs-loaded .variable-items-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 8px 0 16px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.wvs-loaded .variable-item {
  min-width: 42px !important;
  height: 38px !important;
  padding: 0 10px !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #0f172a !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}

.wvs-loaded .variable-item:hover {
  border-color: #004085 !important;
  color: #004085 !important;
}

.wvs-loaded .variable-item.selected {
  border-color: #004085 !important;
  background: #004085 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 64, 133, 0.25) !important;
}

/* Hide standard add to cart / cart notices */
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.single_add_to_cart_button,
.woocommerce-variation-add-to-cart .single_add_to_cart_button,
.woocommerce .quantity,
.woocommerce-variation-add-to-cart .quantity,
.woocommerce-message:has(a[href*="cart"]),
.woocommerce-info:has(a[href*="cart"]) {
  display: none !important;
}

/* ==========================================================================
   6. MOBILE OFF-CANVAS SIDEBAR FILTER & TOOLBAR
   ========================================================================== */
.ranjit-mobile-filter-toolbar {
  display: none;
}

.ranjit-mobile-sidebar-drawer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 70% !important;
  max-width: 360px !important;
  min-width: 270px !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #ffffff !important;
  z-index: 9999999 !important;
  transform: translateX(-100%) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 8px 0 32px rgba(11, 25, 44, 0.25) !important;
  box-sizing: border-box !important;
  visibility: hidden;
}

.ranjit-mobile-sidebar-drawer.is-open {
  transform: translateX(0) !important;
  visibility: visible !important;
}

.ranjit-filter-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(11, 25, 44, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 9999998 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
}

.ranjit-filter-backdrop.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.ranjit-drawer-lock {
  overflow: hidden !important;
}

/* Desktop Horizontal Filter Bar */
.ranjit-filter-container.ranjit-desktop-filter {
  background: #ffffff;
  border: 1px solid var(--ranjit-border);
  border-radius: var(--ranjit-radius);
  padding: 16px 20px;
  margin-bottom: 25px;
  box-shadow: var(--ranjit-shadow-sm);
}

.ranjit-segment-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ranjit-border);
  overflow-x: auto;
  white-space: nowrap;
}

.ranjit-segment-tab {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: #f1f5f9;
  color: #475569;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.ranjit-segment-tab.active,
.ranjit-segment-tab:hover {
  background: var(--ranjit-navy-700);
  color: #ffffff;
}

/* ==========================================================================
   7. MOBILE RESPONSIVENESS (<= 768px):
   - 100% Page Width with ONLY 10px Body Left & Right Padding
   - NO Side Padding on Inner Sections / Containers
   - Flawless 2-Row Sticky Mobile Header
   - Perfect 2-Column Product Cards Grid (Zero Button Cut-off)
   - Zero Right-side Horizontal Overflow
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Body: 100% Width with EXACTLY 10px Side Padding */
  body.single-product,
  body.post-type-archive-product,
  body.woocommerce-shop,
  body.woocommerce-page,
  body.archive {
    padding-left: 10px !important;
    padding-right: 10px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* 2. Zero Side Padding on Sections & Containers */
  .single-product .elementor-section,
  .single-product .elementor-container,
  .single-product .e-con,
  .single-product .e-con-boxed,
  .single-product .e-con-inner,
  .single-product .elementor-widget-wrap,
  .post-type-archive-product .elementor-section,
  .post-type-archive-product .elementor-container,
  .post-type-archive-product .e-con,
  .post-type-archive-product .e-con-boxed,
  .post-type-archive-product .e-con-inner,
  .woocommerce-page .elementor-section,
  .woocommerce-page .elementor-container,
  .woocommerce-page .e-con,
  .woocommerce-page .e-con-boxed,
  .woocommerce-page .e-con-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 3. Flawless 2-Row Sticky Mobile Header */
  .elementor-location-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    padding: 8px 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .elementor-location-header .e-con-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  /* Row 1 - Left: Logo */
  .elementor-location-header .elementor-element-710cf3d9 {
    order: 1 !important;
    flex: 0 0 auto !important;
    max-width: 130px !important;
  }
  .elementor-location-header .elementor-element-710cf3d9 img {
    height: 32px !important;
    width: auto !important;
    max-width: 125px !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* Row 1 - Right: Actions (WhatsApp Icon Button + Hamburger) */
  .elementor-location-header .elementor-element-2ca286da {
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .elementor-location-header .elementor-element-ranjit_header_wa_cta {
    order: 1 !important;
    margin: 0 !important;
  }
  .elementor-location-header .ranjit-header-wa-btn {
    padding: 7px 12px !important;
    font-size: 11px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
  }
  .elementor-location-header .ranjit-header-wa-btn span {
    font-size: 11px !important;
    font-weight: 700 !important;
  }

  .elementor-location-header .elementor-element-33bf5cb0 {
    order: 2 !important;
    width: auto !important;
    margin: 0 !important;
  }
  .elementor-location-header .elementor-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    color: var(--ranjit-navy-800) !important;
    padding: 0 !important;
    cursor: pointer !important;
  }
  .elementor-location-header .elementor-menu-toggle i {
    font-size: 18px !important;
  }

  /* Row 2 - Full Width FiboSearch */
  .elementor-location-header .elementor-element-ranjit_header_search {
    order: 3 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    margin-top: 4px !important;
  }
  .elementor-location-header .dgwt-wcas-search-wrapp {
    width: 100% !important;
    max-width: 100% !important;
  }
  .elementor-location-header .dgwt-wcas-search-input {
    height: 38px !important;
    font-size: 13px !important;
    border-radius: 20px !important;
  }

  /* 4. Perfect 2-Column Product Cards Grid on Mobile (ZERO BUTTON CUT-OFF) */
  .woocommerce ul.products,
  .elementor-wc-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .woocommerce ul.products li.product,
  .elementor-wc-products ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border-radius: 12px !important;
    border: 1px solid var(--ranjit-border) !important;
    background: #ffffff !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: var(--ranjit-shadow-sm) !important;
  }

  .woocommerce ul.products li.product a img,
  .elementor-wc-products ul.products li.product a img {
    height: 185px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 12px 12px 0 0 !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .elementor-wc-products ul.products li.product .woocommerce-loop-product__title {
    font-size: 12.5px !important;
    line-height: 1.3 !important;
    padding: 0 8px !important;
    margin: 8px 0 3px 0 !important;
    min-height: 32px !important;
    -webkit-line-clamp: 2 !important;
  }

  .ranjit-card-spec-subtitle {
    font-size: 10.5px !important;
    padding: 0 8px !important;
    margin-bottom: 5px !important;
  }

  .ranjit-card-sizes-strip {
    padding: 0 8px !important;
    gap: 2px !important;
    margin-bottom: 6px !important;
  }
  .ranjit-size-pill {
    font-size: 9px !important;
    padding: 1px 4px !important;
  }

  .woocommerce ul.products li.product .price,
  .elementor-wc-products ul.products li.product .price {
    font-size: 12px !important;
    padding: 0 8px !important;
    margin-bottom: 8px !important;
  }

  /* Actions Row on Mobile: Full-Width WhatsApp CTA with zero overflow */
  .woocommerce ul.products li.product .ranjit-card-actions-row,
  .elementor-wc-products ul.products li.product .ranjit-card-actions-row {
    padding: 0 8px 8px 8px !important;
    margin-top: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .woocommerce ul.products li.product .ranjit-loop-details-btn,
  .elementor-wc-products ul.products li.product .ranjit-loop-details-btn {
    display: none !important; /* Hide secondary Details button on mobile to prevent overflow */
  }

  .woocommerce ul.products li.product .ranjit-loop-wa-btn,
  .elementor-wc-products ul.products li.product .ranjit-loop-wa-btn {
    width: 100% !important;
    padding: 8px 8px !important;
    font-size: 11.5px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  /* 5. Mobile Filter Toolbar */
  .ranjit-desktop-filter {
    display: none !important;
  }

  .ranjit-mobile-filter-toolbar {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    background: #ffffff !important;
    border: 1px solid var(--ranjit-border) !important;
    border-radius: 12px !important;
    margin-bottom: 18px !important;
    box-shadow: var(--ranjit-shadow-sm) !important;
    box-sizing: border-box !important;
  }

  .ranjit-mobile-trigger-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .ranjit-open-filter-btn {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: var(--ranjit-navy-700) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 3px 10px rgba(0, 64, 133, 0.22) !important;
    white-space: nowrap !important;
  }

  .ranjit-filter-count-chip {
    background: #f59e0b !important;
    color: #0b192c !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 10px !important;
  }

  .ranjit-mobile-clear-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    border: 1px solid var(--ranjit-border) !important;
    white-space: nowrap !important;
  }

  .ranjit-mobile-scroll-segments {
    display: flex !important;
    gap: 6px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    width: 100% !important;
    padding: 2px 0 !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .ranjit-mobile-scroll-segments::-webkit-scrollbar {
    display: none !important;
  }

  .ranjit-m-pill {
    display: inline-block !important;
    padding: 6px 13px !important;
    border-radius: 20px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    background: #f8fafc !important;
    color: #475569 !important;
    text-decoration: none !important;
    border: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
  }

  .ranjit-m-pill.active {
    background: var(--ranjit-navy-700) !important;
    color: #ffffff !important;
    border-color: var(--ranjit-navy-700) !important;
  }

  /* Single Product Slider & CTAs on Mobile */
  .ranjit-slider-stage {
    aspect-ratio: 3 / 4 !important;
    max-height: 400px !important;
  }

  .ranjit-stage-img {
    height: 380px !important;
  }

  .ranjit-thumb-item {
    flex: 0 0 54px !important;
    height: 68px !important;
  }

  .ranjit-whatsapp-btn,
  .ranjit-dealer-btn {
    width: 100% !important;
    min-width: 100% !important;
    padding: 13px 16px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }
}

/* Spinner Animation for AJAX */
@keyframes ranjit-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
