@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');

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: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Coolmate Custom CSS enhancements */
.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;
  }
}
