html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body, button, input, select, textarea {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Coolmate Custom CSS enhancements */
.cm-container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .cm-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .cm-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.woocommerce-Price-amount {
  font-weight: inherit;
  color: inherit;
}

.woocommerce-Price-currencySymbol {
  font-size: 0.85em;
  margin-left: 1px;
}

/* ==========================================
   Horizontal List View Mode for Product Cards
   ========================================== */
.cm-list-view .product-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 1.5rem !important;
  padding: 1.25rem !important;
  width: 100% !important;
  border-radius: 1.25rem !important;
}

.cm-list-view .product-card .product-img-container {
  width: 200px !important;
  min-width: 200px !important;
  max-width: 200px !important;
  height: 250px !important;
  aspect-ratio: auto !important;
  flex-shrink: 0 !important;
}

.cm-list-view .product-card .product-info-container {
  flex: 1 1 0% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding-top: 0 !important;
}

.cm-list-view .product-card .product-actions-grid {
  max-width: 360px !important;
}

@media (max-width: 640px) {
  .cm-list-view .product-card {
    gap: 0.75rem !important;
    padding: 0.75rem !important;
  }
  .cm-list-view .product-card .product-img-container {
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    height: 165px !important;
  }
}
