/** Shopify CDN: Minification failed

Line 1710:0 Expected "}" to go with "{"

**/
/* GoAIWA Core Feature Stylesheet */

/* 1. Quick View Modal */
.qv-modal, .bis-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.qv-modal.active, .bis-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.qv-overlay, .bis-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
}
.qv-content, .bis-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 80vh;
  max-height: 600px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 1;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.qv-modal.active .qv-content, .bis-modal.active .bis-content {
  transform: translateY(0);
}
.qv-close, .bis-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f1f5f9;
  border: none;
  font-size: 24px;
  color: #64748b;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 10;
}
.qv-close:hover, .bis-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.qv-body {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
}
.qv-loading, .qv-error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
}

/* Quick View Layout */
.qv-product-layout {
  display: flex;
  gap: 30px;
  height: 100%;
}
.qv-media {
  flex: 1;
  max-width: 45%;
  height: 100%;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid #e2e8f0;
}
.qv-swiper {
  width: 100%;
  height: 100%;
}
.qv-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px !important;
}
.qv-swiper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.qv-info {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.qv-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.3;
}
.qv-price-wrapper {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.qv-price {
  font-size: 22px;
  font-weight: 700;
  color: #0077C8;
}
.qv-compare-price {
  font-size: 16px;
  color: #94a3b8;
  text-decoration: line-through;
}
.qv-description {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 25px;
}

/* Variant Buttons */
.qv-option {
  margin-bottom: 20px;
}
.qv-option-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.qv-option-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qv-val-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.qv-val-btn:hover {
  border-color: #0077C8;
  color: #0077C8;
}
.qv-val-btn.active {
  background: #f0f9ff;
  border-color: #0077C8;
  color: #0077C8;
  box-shadow: 0 0 0 2px rgba(0, 119, 200, 0.15);
}

/* Qty and Submit */
.qv-qty-add {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  align-items: center;
}
.qv-qty {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 30px;
  overflow: hidden;
  height: 46px;
  background: #f8fafc;
}
.qty-btn {
  background: transparent;
  border: none;
  width: 40px;
  height: 100%;
  font-size: 16px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s;
}
.qty-btn:hover {
  background: #e2e8f0;
}
.qty-input {
  width: 40px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qv-add-btn {
  flex: 1;
  height: 46px;
  background: #0077C8;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(0, 119, 200, 0.2);
}
.qv-add-btn:hover {
  background: #005a9c;
}
.qv-add-btn:active {
  transform: scale(0.98);
}
.qv-add-btn:disabled {
  background: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

/* 2. Back in Stock Modal */
.bis-content {
  max-width: 450px;
  height: auto;
  max-height: unset;
  padding: 30px;
}
.bis-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
}
.bis-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 20px 0;
  line-height: 1.4;
}
.bis-email-input {
  width: 100%;
  height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 30px;
  padding: 0 20px;
  font-size: 14px;
  outline: none;
  color: #0f172a;
  margin-bottom: 15px;
  box-sizing: border-box;
}
.bis-email-input:focus {
  border-color: #0077C8;
}
.bis-submit-btn {
  width: 100%;
  height: 46px;
  background: #0077C8;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.bis-submit-btn:hover {
  background: #005a9c;
}
.bis-success-message {
  font-size: 14px;
  font-weight: 600;
  color: #10b981;
  text-align: center;
  padding: 10px 0;
}

/* 3. Wishlist UI Heart Button on Cards */
.card-wishlist-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #94a3b8;
  z-index: 5;
  transition: all 0.2s ease;
}
.card-wishlist-btn:hover {
  color: #ef4444;
  transform: scale(1.05);
}
.card-wishlist-btn.active {
  color: #ef4444;
  background: #fef2f2;
  border-color: #fecaca;
}
.card-wishlist-btn svg {
  fill: transparent;
  transition: fill 0.2s;
}
.card-wishlist-btn.active svg {
  fill: #ef4444;
}

/* 4. Skeleton Loaders (CLS prevention) */
.skeleton-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 300px;
}
.skeleton-element {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-glow 1.5s infinite;
  border-radius: 4px;
}
.skeleton-image {
  width: 100%;
  height: 180px;
  border-radius: 8px;
}
.skeleton-title {
  width: 80%;
  height: 16px;
}
.skeleton-price {
  width: 40%;
  height: 14px;
}
.skeleton-rating {
  width: 60%;
  height: 12px;
}
@keyframes skeleton-glow {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 5. Recently Viewed & Layout Overrides */
.recently-viewed-section-wrapper.hidden {
  display: none !important;
}
.rv-loading, .rv-empty-state {
  text-align: center;
  padding: 40px 0;
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}
.rv-swiper {
  position: relative;
  padding: 10px 5px;
}

/* Responsive modal sizing */
@media (max-width: 768px) {
  .qv-content {
    height: 90vh;
    max-height: unset;
  }
  .qv-body {
    padding: 20px;
  }
  .qv-product-layout {
    flex-direction: column;
    gap: 20px;
  }
  .qv-media {
    max-width: 100%;
    height: 250px;
    flex: none;
  }
  .qv-info {
    overflow-y: visible;
  }
  .qv-title {
    font-size: 20px;
  }
  .qv-qty-add {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .qv-qty {
    justify-content: center;
  }
}

/* 6. RTL Direction Overrides */
[dir="rtl"] .card-wishlist-btn {
  right: auto;
  left: 15px;
}
[dir="rtl"] .bs-cart-btn, [dir="rtl"] .fd-product-form {
  right: auto;
  left: 5px;
}
[dir="rtl"] .ph-nav {
  margin-right: 40px;
  margin-left: auto;
}
[dir="rtl"] .ph-actions {
  margin-left: 0;
  margin-right: auto;
}
[dir="rtl"] .ph-wishlist-count, [dir="rtl"] .ph-cart-count {
  right: auto;
  left: -8px;
}
[dir="rtl"] .ph-search-dropdown {
  right: auto;
  left: 0;
}
[dir="rtl"] .qv-close, [dir="rtl"] .bis-close {
  right: auto;
  left: 15px;
}
[dir="rtl"] .ph-drawer-content {
  left: auto;
  right: 0;
  transform: translateX(100%);
}
[dir="rtl"] .ph-drawer.active .ph-drawer-content {
  transform: translateX(0);
}

/* Cart Drawer - Free Shipping Progress */
.cart-drawer-free-shipping {
  padding: 15px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.free-shipping-text {
  font-size: 13px;
  color: #334155;
  margin-bottom: 8px;
  text-align: center;
}
.free-shipping-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}
.free-shipping-bar-fill {
  height: 100%;
  background: #0077C8;
  border-radius: 3px;
  width: 0%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cart Drawer - Dynamic Upsell Recommendations */
.cart-drawer-upsell {
  display: none;
  margin: 15px 20px 25px 20px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
}
.cart-drawer-upsell-title {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cart-drawer-upsell-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-upsell-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.upsell-item-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 6px;
  flex-shrink: 0;
}
.upsell-item-info {
  flex: 1;
  min-width: 0;
}
.upsell-item-title {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upsell-item-price {
  font-size: 12px;
  color: #0077C8;
  font-weight: 700;
}
.upsell-item-add-btn {
  background: #f0f9ff;
  color: #0077C8;
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.upsell-item-add-btn:hover {
  background: #0077C8;
  color: #ffffff;
  border-color: #0077C8;
}
.upsell-loading {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  padding: 10px 0;
}

/* ==========================================
 * 8. PREMIUM VERTICAL FILTER SIDEBAR & SORTING
 * ========================================== */

@media screen and (min-width: 750px) {
  /* Sidebar Form Styling */
  .facets__form-vertical {
    background-color: #f7f7f9 !important;
    border-radius: 16px !important;
    padding: 24px 20px !important;
    box-sizing: border-box !important;
    width: 28rem !important; /* Slightly wider sidebar */
  }

  /* Filters title styling */
  .facets__heading--vertical {
    font-family: inherit;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: #111111 !important;
    margin: 0 0 20px 0 !important;
    border: none !important;
    padding: 0 !important;
  }

  /* Clear all / active facets styling */
  .facets-vertical .active-facets-vertical-filter {
    padding: 0 !important;
    margin-bottom: 20px !important;
    border: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .facets-vertical .active-facets-vertical-filter .facets__heading--vertical {
    margin-bottom: 0 !important;
    font-size: 1.4rem !important;
  }

  /* Collapsible section headers (details) */
  .facets__disclosure-vertical {
    border-top: none !important;
    border-bottom: 1px solid #e2e8f0 !important; /* Subtle divider */
    margin: 0 !important;
    padding: 0 !important;
  }
  .facets__disclosure-vertical:last-of-type {
    border-bottom: none !important;
  }

  /* Summary headers */
  .facets-vertical .facets__summary {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    margin-bottom: 0 !important;
    font-weight: 600 !important;
    font-size: 1.4rem !important;
    text-transform: uppercase !important;
    color: #111111 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
  }

  .facets-vertical .facets__summary > div {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .facets-vertical .facets__summary svg.icon-caret {
    position: static !important;
    width: 12px !important;
    height: 12px !important;
    transition: transform 0.3s ease !important;
    color: #111111 !important;
    margin: 0 !important;
  }

  /* Rotate caret icon on detail expansion */
  .facets__disclosure-vertical[open] .facets__summary svg.icon-caret {
    transform: rotate(180deg) !important;
  }

  /* Inner lists */
  .facets__display-vertical {
    padding: 0 0 16px 0 !important;
  }

  .facets-wrap-vertical {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  /* Checkbox list items */
  .facets__list--vertical .facets__item {
    padding: 2px 0 !important;
  }

  .facets-vertical .facet-checkbox {
    display: flex !important;
    align-items: center !important;
    font-size: 1.4rem !important;
    color: #374151 !important; /* Gray-700 */
    cursor: pointer !important;
    padding: 6px 0 !important; /* Balanced padding */
    position: relative !important;
  }

  .facets-vertical .facet-checkbox input[type='checkbox'] {
    position: absolute !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 16px !important;
    height: 16px !important;
  }

  .facets-vertical .facet-checkbox > svg {
    margin-right: 10px !important;
  }

  .facets-vertical .facet-checkbox .svg-wrapper {
    left: 0.3rem !important;
    top: 1rem !important;
  }

  /* Shift product list slightly to match spacing */
  .facets-vertical .facets-wrapper {
    padding-right: 4rem !important;
  }
}

/* Sorting Dropdown Custom Styling */
.facets-vertical-sort {
  margin-bottom: 30px !important;
  padding: 0 !important;
}

.facets-vertical-form {
  display: flex !important;
  justify-content: flex-end !important; /* Align sort to right */
  align-items: center !important;
  gap: 20px !important;
  width: 100% !important;
}

.facet-filters__field {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important; /* Gray-200 */
  border-radius: 8px !important;
  padding: 8px 16px !important;
  gap: 8px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  cursor: pointer !important;
}

.facet-filters__label {
  margin: 0 !important;
  font-weight: 600 !important;
  font-size: 1.4rem !important;
  color: #374151 !important; /* Gray-700 */
}

.facet-filters__label label {
  cursor: pointer !important;
}

.facet-filters__field .select {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  margin: 0 !important;
}

.facet-filters__sort {
  border: none !important;
  background-color: transparent !important;
  font-size: 1.4rem !important;
  font-weight: 500 !important;
  color: #111111 !important;
  padding: 0 20px 0 0 !important; /* Padding for chevron */
  margin: 0 !important;
  height: auto !important;
  cursor: pointer !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.facet-filters__field .select svg.icon-caret,
.facet-filters__field .select .svg-wrapper {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 10px !important;
  height: 10px !important;
  pointer-events: none !important;
  color: #6b7280 !important;
  margin: 0 !important;
}

/* Align Count label cleanly next to sorting */
.product-count-vertical {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.product-count-vertical .product-count__text {
  margin: 0 !important;
  font-size: 1.4rem !important;
  color: #6b7280 !important; /* Gray-500 */
}

/* Homepage Card Design (bs-product-card) global rules */
.bs-product-card,
.fd-product-card,
.pfs-product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  height: 100%;
}
.bs-product-card:hover,
.fd-product-card:hover,
.pfs-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.bs-product-image,
.fd-product-image,
.pfs-product-image {
  width: calc(100% - 20px) !important;
  height: 200px !important;
  margin: 10px 10px 0 10px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  display: block !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  position: relative !important;
}
.bs-product-image img, .bs-product-image > svg, .bs-product-image .placeholder-svg,
.fd-product-image img, .fd-product-image svg,
.pfs-product-image img, .pfs-product-image svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  display: block !important;
}
.bs-product-info,
.fd-product-info,
.pfs-product-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}
.bs-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  margin-bottom: 6px;
}
.bs-rating .stars {
  color: #FFB800;
}
.bs-rating .rating-num {
  color: #64748b;
  font-weight: 700;
}
.bs-product-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  line-height: 1.4;
  height: 38px;
}
.bs-product-title:hover {
  color: #0077C8;
}
.bs-product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}
.bs-price {
  color: #0077C8;
  font-weight: 700;
  font-size: 16px;
}
.bs-compare-price {
  color: #94a3b8;
  font-size: 12px;
  text-decoration: line-through;
}
.bs-cart-btn {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: #f0f9ff;
  color: #0077C8;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.bs-cart-btn:hover {
  background: #0077C8;
  color: #fff;
}
.bs-cart-btn.out-of-stock {
  background: #f1f5f9;
  color: #64748b;
}
.bs-cart-btn.out-of-stock:hover {
  background: #64748b;
  color: #fff;
}

/* Quick View Overlay Button */
.bs-quickview-badge-btn {
  position: absolute;
  top: 155px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 4;
}
.bs-product-card:hover .bs-quickview-badge-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.bs-quickview-badge-btn:hover {
  background: #0077C8;
}

/* Wishlist Toggle Button (Tab Card) */
.card-wishlist-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ffffff;
  color: #94a3b8;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: background 0.2s, color 0.2s;
  z-index: 5;
}
.card-wishlist-btn:hover {
  background: #f0f9ff;
  color: #ef4444;
}
.card-wishlist-btn.active {
  background: #fecdd3;
  color: #ef4444;
  fill: #ef4444;
}

/* Global Mobile Responsiveness Overrides */
html, body {
  overflow-x: hidden !important;
  width: 100%;
}

@media (max-width: 768px) {
  .section-header {
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
  }
  .section-title {
    font-size: 18px !important;
  }

  /* ============================================================
   * UNIFIED SECTION SPACING — 5px top/bottom between sections
   * All section wrappers get the same 12px side padding and
   * 5px top/bottom vertical gap on mobile.
   * ============================================================ */
  .best-sellers-wrapper,
  .new-arrivals-wrapper,
  .flash-deals-wrapper,
  .bundle-offers-wrapper,
  .shop-by-collections-wrapper,
  .shop-by-videos-wrapper,
  .category-circles-wrapper,
  .brands-carousel-wrapper,
  .lt-banner-wrapper,
  .bank-offers-wrapper,
  .bottom-widgets-wrapper,
  .tabbed-collections-wrapper,
  .homepage-hero-grid,
  .trust-badges-wrapper,
  .app-download-wrapper,
  .floating-offer-wrapper {
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    box-sizing: border-box !important;
  }

  /* Internal hero banner spacing fixes for mobile */
  .hero-main-content-area {
    gap: 0 !important;
  }
  .hero-trust-badges-row.swiper {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Reduce top space of Shop by Videos section on mobile to exactly 5px */
  .shop-by-videos-wrapper {
    margin-top: 0 !important;
  }

  /* Section headers — 5px gap between heading and content below */
  .best-sellers-wrapper .section-header,
  .new-arrivals-wrapper .section-header,
  .flash-deals-wrapper .section-header,
  .bundle-offers-wrapper .section-header,
  .shop-by-collections-wrapper .section-header,
  .shop-by-videos-wrapper .section-header,
  .category-circles-wrapper .section-header,
  .brands-carousel-wrapper .section-header,
  .lt-banner-wrapper .section-header,
  .bank-offers-wrapper .section-header,
  .bottom-widgets-wrapper .section-header,
  .tabbed-collections-wrapper .section-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 5px !important;
  }

  /* Hide desktop-only nav arrows in sliders on small screens */
  .bs-swiper-next,
  .bs-swiper-prev,
  .na-swiper-next,
  .na-swiper-prev,
  .col-swiper-next,
  .col-swiper-prev,
  .cat-swiper-next,
  .cat-swiper-prev,
  .brand-swiper-next,
  .brand-swiper-prev {
    display: none !important;
  }

  /* View All links — consistent font size */
  .view-all-link {
    font-size: 13px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 480px) {
  /* Further reduce side padding on very small screens, keep 5px vertical gap */
  .best-sellers-wrapper,
  .new-arrivals-wrapper,
  .flash-deals-wrapper,
  .bundle-offers-wrapper,
  .shop-by-collections-wrapper,
  .shop-by-videos-wrapper,
  .category-circles-wrapper,
  .brands-carousel-wrapper,
  .lt-banner-wrapper,
  .bank-offers-wrapper,
  .bottom-widgets-wrapper,
  .tabbed-collections-wrapper,
  .homepage-hero-grid,
  .trust-badges-wrapper {
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
  }
}

@media (max-width: 360px) {
  .section-title {
    font-size: 16px !important;
  }

  .best-sellers-wrapper,
  .new-arrivals-wrapper,
  .flash-deals-wrapper,
  .bundle-offers-wrapper,
  .shop-by-collections-wrapper,
  .shop-by-videos-wrapper,
  .category-circles-wrapper,
  .brands-carousel-wrapper,
  .lt-banner-wrapper,
  .bank-offers-wrapper,
  .bottom-widgets-wrapper,
  .tabbed-collections-wrapper,
  .homepage-hero-grid,
  .trust-badges-wrapper {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
  }
}

@media (max-width: 768px) {
  .bs-product-card,
  .fd-product-card,
  .pfs-product-card {
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  .bs-product-image,
  .fd-product-image,
  .pfs-product-image {
    width: calc(100% - 16px) !important;
    height: 145px !important;
    margin: 8px 8px 0 8px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }
  .bs-product-image img, .bs-product-image > svg, .bs-product-image .placeholder-svg,
  .fd-product-image img, .fd-product-image svg,
  .pfs-product-image img, .pfs-product-image svg {
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
  }
  .bs-product-info,
  .fd-product-info,
  .pfs-product-info {
    padding: 10px 10px 10px !important;
  }
  .bs-product-title {
    font-size: 12px !important;
    height: 34px !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
  }
  .bs-rating {
    font-size: 10px !important;
    margin-bottom: 4px !important;
    gap: 3px !important;
  }
  .bs-price {
    font-size: 13px !important;
  }
  .bs-compare-price {
    font-size: 10px !important;
  }
  .bs-cart-btn {
    width: 30px !important;
    height: 30px !important;
    bottom: -2px !important;
    right: -2px !important;
  }
  .bs-cart-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
  [dir="rtl"] .bs-cart-btn {
    right: auto !important;
    left: -2px !important;
  }
  .bs-quickview-badge-btn {
    display: none !important;
  }
  .card-wishlist-btn {
    width: 28px !important;
    height: 28px !important;
    top: 8px !important;
    right: 8px !important;
  }
  .card-wishlist-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
  [dir="rtl"] .card-wishlist-btn {
    right: auto !important;
    left: 8px !important;
  }
}

/* Product Card Badges Styles */
.product-grid-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 12;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  color: #ffffff;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  line-height: 1;
  font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
  .product-grid-badge {
    top: 8px;
    left: 8px;
    padding: 3px 7px;
    font-size: 9px;
    border-radius: 4px;
  }
}

/* Color definitions matching user's reference image */
.badge-new {
  background-color: #00A6C7 !important; /* Teal / Cyan */
}
.badge-best {
  background-color: #0055A4 !important; /* Royal Blue */
}
.badge-hot {
  background-color: #FF4D00 !important; /* Orange-Red */
}
.badge-top {
  background-color: #7B1FA2 !important; /* Purple */
}
.badge-save {
  background-color: #2E7D32 !important; /* Emerald Green */
}
.badge-deal {
  background-color: #0077C8 !important; /* Medium Blue */
}
.badge-limited {
  background-color: #FFB300 !important; /* Golden Yellow */
}
.badge-free {
  background-color: #E91E63 !important; /* Pink/Rose */
}

/* RTL Support */
[dir="rtl"] .product-grid-badge {
  left: auto !important;
  right: 12px !important;
}
@media (max-width: 768px) {
  [dir="rtl"] .product-grid-badge {
    right: 8px !important;
    left: auto !important;
  }
}

/* Fix mobile responsive drawers overlapping under fixed header */
@media (max-width: 990px) {
  .mobile-facets,
  .menu-drawer,
  .cart-drawer {
    z-index: 100000 !important;
  }
  
  .mobile-facets__close {
    z-index: 100005 !important;
  }
}

/* Spacing overrides for mobile search bar */
@media (max-width: 767px) {
  .ph-mobile-search-bar {
    padding-top: 3px !important;
  }
}

/* Spacing overrides for page headings (both desktop and mobile) */
.collection-hero__title,
.template-search h1,
.main-page-title {
  margin-bottom: 5px !important;
  margin-top: 10px !important;
}

/* Convert mobile facets slide-out panels into dropdown accordions */
@media (max-width: 990px) {
  /* Make the submenu position relative and inside the flow */
  .js .mobile-facets__submenu {
    position: relative !important;
    transform: none !important;
    visibility: visible !important;
    display: none !important;
    width: 100% !important;
    height: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 1 !important;
    background: #f8fafc !important; /* Premium light blue-gray contrast background */
    border-radius: 8px !important;
    margin-top: 8px !important;
    padding: 15px !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
  }
  
  /* Show the submenu when open */
  .js details[open] > .mobile-facets__submenu {
    display: flex !important;
  }
  
  /* Hide the duplicate slide-out header close button */
  .mobile-facets__close-button {
    display: none !important;
  }
  
  /* Style and rotate the chevron caret to point upwards when open */
  .mobile-facets__arrow svg {
    width: 12px !important;
    height: 12px !important;
    transition: transform 0.2s ease-in-out;
  }
  details[open] .mobile-facets__arrow svg {
    transform: rotate(180deg) !important;
  }
  
  /* Prevent the main container and sibling filter items from being hidden when a submenu is opened */
  .js .mobile-facets .submenu-open,
  .js .menu-drawer__navigation .submenu-open {
    visibility: visible !important;
  }
  
  /* Hide the individual apply/clear footers inside the accordions, using the main global drawer footer instead */
  .mobile-facets__submenu .mobile-facets__footer {
    display: none !important;
  }
}

/* Price Range Slider Component Styles */
.price-range-slider-wrapper {
  position: relative;
  width: calc(100% - 20px);
  height: 6px;
  margin: 25px auto 20px auto;
  background: #e2e8f0;
  border-radius: 3px;
}

.price-slider-track {
  position: absolute;
  height: 100%;
  background: #4CAF50; /* Green bar matching their style! */
  border-radius: 3px;
  left: 0%;
  right: 0%;
}

.price-range-slider-wrapper input[type="range"] {
  position: absolute;
  width: 100%;
  height: 100%;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  top: 0;
  left: 0;
  margin: 0;
}

/* Style the circular thumbs */
.price-range-slider-wrapper input[type="range"]::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #4CAF50; /* Green circles matching reference! */
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  pointer-events: auto;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.price-range-slider-wrapper input[type="range"]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #4CAF50;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.facets__price {
  padding: 1.5rem 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

.facets__price .field {
  width: 100% !important;
  min-width: 100% !important;
}

/* Price Slider Display Text */
.price-slider-display {
  display: flex;
  justify-content: space-between;
  width: calc(100% - 20px);
  margin: 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

/* -------------------------------------------------------------------------- */
/* Dual Circular Quick-Action Buttons (Cart & Quick View Eye) */
/* -------------------------------------------------------------------------- */
.bs-product-image,
.fd-product-image,
.pfs-product-image {
  position: relative !important;
}

.card-action-buttons {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Show buttons on hover or touch-active */
.bs-product-card:hover .card-action-buttons,
.fd-product-card:hover .card-action-buttons,
.pfs-product-card:hover .card-action-buttons,
.bs-product-image:hover .card-action-buttons,
.fd-product-image:hover .card-action-buttons,
.pfs-product-image:hover .card-action-buttons,
.bs-product-card.touch-active .card-action-buttons,
.fd-product-card.touch-active .card-action-buttons,
.pfs-product-card.touch-active .card-action-buttons {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Individual Circular Action Button */
.card-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f172a;
  border: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  margin: 0;
}

.card-action-btn svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  color: inherit !important;
  stroke: currentColor !important;
  fill: none !important;
  transition: transform 0.2s ease, stroke 0.2s ease !important;
  flex-shrink: 0 !important;
}

/* Button Hover State */
.card-action-btn:hover {
  transform: scale(1.08) !important;
  background-color: #0077C8 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 119, 200, 0.35) !important;
}

.card-action-btn:hover svg {
  stroke: #ffffff !important;
  fill: none !important;
}

.card-action-btn:active {
  transform: scale(0.96);
}

/* Hide old textual quickview pill and old bottom-right cart buttons */
.bs-quickview-badge-btn,
.bs-cart-btn,
.fd-cart-btn,
.pfs-cart-btn {
  display: none !important;
}

/* Search & Collection product card grid layout consistency (2 cols on mobile, 4 cols on desktop) */
.template-search__results .product-grid,
.collection .product-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

@media screen and (max-width: 749px) {
  .template-search__results .grid__item,
  .collection .grid__item,
  .template-search__results .grid__item:only-child,
  .collection .grid__item:only-child {
    width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    flex: 0 0 calc(50% - 6px) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .template-search__results .grid__item,
  .collection .grid__item,
  .template-search__results .grid__item:only-child,
  .collection .grid__item:only-child {
    width: calc(33.33% - 8px) !important;
    max-width: calc(33.33% - 8px) !important;
    flex: 0 0 calc(33.33% - 8px) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}

@media screen and (min-width: 990px) {
  .template-search__results .grid__item,
  .collection .grid__item,
  .template-search__results .grid__item:only-child,
  .collection .grid__item:only-child {
    width: calc(25% - 9px) !important;
    max-width: calc(25% - 9px) !important;
    flex: 0 0 calc(25% - 9px) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
/* Product Card Primary & Secondary Image Hover Swap */
.bs-product-image img.bs-img-primary,
.bs-product-image > img:not(.bs-img-secondary),
.bs-product-image > svg,
.bs-product-image .placeholder-svg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 14px !important;
  display: block !important;
  z-index: 2 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.4s ease, transform 0.4s ease !important;
}

/* Primary Image (Always visible at z-index 1) */
.bs-product-image img.bs-img-primary,
.bs-product-image > img:first-of-type {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 14px !important;
  display: block !important;
  z-index: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Secondary Image (Positioned directly over Primary Image) */
.bs-product-image img.bs-img-secondary,
.bs-product-image > img:nth-of-type(2) {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 14px !important;
  display: block !important;
  z-index: 2 !important;
  opacity: 0 !important;
  visibility: visible !important;
  transition: opacity 0.3s ease !important;
}

/* Reveal Secondary Image on Top (z-index: 5, opacity: 1) when Hovered or Flipped */
.bs-product-card:hover .bs-product-image.has-second-image img.bs-img-secondary,
.bs-product-image.has-second-image:hover img.bs-img-secondary,
.bs-product-image.has-second-image.mobile-flipped img.bs-img-secondary,
.bs-product-image.has-second-image.touch-active img.bs-img-secondary,
.bs-product-image.has-second-image.show-secondary img.bs-img-secondary,
.bs-product-card.mobile-flipped .bs-product-image.has-second-image img.bs-img-secondary,
.bs-product-card.touch-active .bs-product-image.has-second-image img.bs-img-secondary {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 5 !important;
}

/* Mobile Responsive Adjustments (< 769px) */
@media (max-width: 768px) {
  .bs-product-image img.bs-img-primary,
  .bs-product-image img.bs-img-secondary,
  .bs-product-image > img {
    border-radius: 12px !important;
  }
}


