/** Shopify CDN: Minification failed

Line 20:19 Expected identifier but found whitespace
Line 20:21 Unexpected "{"
Line 20:30 Expected ":"
Line 153:2 Unexpected "{"
Line 153:3 Expected identifier but found "%"
Line 157:2 Unexpected "{"
Line 157:3 Expected identifier but found "%"
Line 162:2 Unexpected "{"
Line 162:3 Expected identifier but found "%"
Line 165:19 Expected identifier but found whitespace
... and 39 more hidden warnings

**/


/* CSS from section stylesheet tags */
.best-sellers-section {
  background-color: {{ section.settings.background_color }};
  padding: 20px;
}
.best-sellers-container {
  /* Desktop/tablet view: grid layout */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}
.best-sellers-card {
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  position: relative;
  cursor: pointer;
}
.best-sellers-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.best-sellers-image {
  position: relative;
}
.best-sellers-image img {
  max-width: 100%;
  border-radius: 5px;
}
.best-sellers-title {
  font-weight: bold;
  color: inherit;
  font-size: inherit;
  max-width: 100%;
}
.product-tag {
  background-color: rgb(0, 90, 164, 0.1);
  padding: 5px;
  margin: 5px 0;
}
.instock-pulse {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
}
.icon--pulsing, .icon--pulsing-blue {
  position: relative;
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.icon--pulsing:after, .icon--pulsing:before {
  background: #54c63a;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  margin: 5px;
}
@keyframes inventory-pulse {
  0% { opacity: 0.5; }
  to { transform: scale(2.5); opacity: 0; }
}
.icon--pulsing:before {
  animation: inventory-pulse 2s linear infinite;
}
.icon--pulsing-blue:after, .icon--pulsing-blue:before {
  background: #0974d7;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  margin: 5px;
}
@keyframes inventory-pulse-blue {
  0% { opacity: 0.5; }
  to { transform: scale(2.5); opacity: 0; }
}
.icon--pulsing-blue:before {
  animation: inventory-pulse-blue 2s linear infinite;
}
.shop-now {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
  display: block;
}
.shop-now:hover {
  background-color: #333;
}
.pay-later {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: black;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Mobile Carousel Styles */
@media (max-width: 768px) {
  .best-sellers-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 0 20px;
  }
  .best-sellers-card {
    scroll-snap-align: center;
  }
  {% if section.settings.products_per_row == 1 %}
    .best-sellers-card {
      flex: 0 0 80%;
    }
  {% else %}
    .best-sellers-card {
      flex: 0 0 calc(100% / {{ section.settings.products_per_row }});
      max-width: calc(100% / {{ section.settings.products_per_row }});
    }
  {% endif %}
}
.best-sellers-section {
  background-color: {{ section.settings.background_color }};
  padding: 20px;
}

/* Tabs */
.best-sellers-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.best-sellers-tab {
  background: none;
  border: none;
  padding: 10px 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
  color: #333;
}

/* 🔧 OVERRIDE THE THEME'S BUTTON HOVER STYLES */
#best-sellers-{{ section.id }} .best-sellers-tab:hover,
#best-sellers-{{ section.id }} .best-sellers-tab:focus,
#best-sellers-{{ section.id }} .best-sellers-tab:active {
  background: none !important;
  color: #000 !important;
  box-shadow: none !important;
  border: none !important;
}

.best-sellers-tab.active {
  color: #000;
}

.best-sellers-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #000;
  transition: width 0.2s ease;
}

.best-sellers-tab.active::after {
  width: 100%;
}

/* Grid / cards */
.best-sellers-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
  align-items: stretch; /* make grid cells equal height */
}

/* Make all cards equal height */
.best-sellers-card {
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: inherit;

  display: flex;
  flex-direction: column;
  height: 100%; /* fill grid cell height */
}

/* --- UNIFORM IMAGE SIZE --- */
.best-sellers-image {
  position: relative;
  width: 100%;
  height: 230px;                /* fixed height for every card */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
}

.best-sellers-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;          /* same box, no weird stretching */
  border-radius: 5px;
  transition: transform 0.3s ease; /* smooth animation */
  z-index: 1;
}

.best-sellers-image:hover img {
  transform: scale(1.15); /* zoom level */
}

/* Text styles / card content */
.best-sellers-title {
  font-weight: bold;
  font-size: inherit;
  max-width: 100%;
  color: #222222;
}

.best-sellers-description {
  color: #222222;
}

.product-tag {
  background-color: rgb(0, 90, 164, 0.1);
  padding: 5px;
  margin: 5px 0;
}

/* Price pinned towards bottom so buttons line up */
.best-sellers-price {
  color: #ec0101;
  font-size: 22px;
  margin-top: auto;     /* pushes price + button to bottom */
}

.instock-pulse {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
    z-index: 5; /* ← ADDED */
  pointer-events: none; /* prevents hover issues */
}

.icon--pulsing,
.icon--pulsing-blue {
  position: relative;
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.icon--pulsing:after,
.icon--pulsing:before {
  background: #54c63a;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  margin: 5px;
}

@keyframes inventory-pulse {
  0% { opacity: 0.5; }
  to { transform: scale(2.5); opacity: 0; }
}

.icon--pulsing:before {
  animation: inventory-pulse 2s linear infinite;
}

.icon--pulsing-blue:after,
.icon--pulsing-blue:before {
  background: #0974d7;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  margin: 5px;
}

@keyframes inventory-pulse-blue {
  0% { opacity: 0.5; }
  to { transform: scale(2.5); opacity: 0; }
}

.icon--pulsing-blue:before {
  animation: inventory-pulse-blue 2s linear infinite;
}

.shop-now {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
  display: block;
}

.shop-now:hover {
  background-color: #333;
}

.pay-later {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: black;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Mobile Carousel Styles */
@media (max-width: 768px) {
  .best-sellers-tabs {
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .best-sellers-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 0 20px;
  }

  .best-sellers-card {
    scroll-snap-align: center;
    flex: 0 0 calc(100% / {{ section.settings.products_per_row }});
    max-width: calc(100% / {{ section.settings.products_per_row }});
  }
}
.collection-grid-section {
  background-color: {{ section.settings.background_color }};
  padding: 20px;
}
.collection-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}
.collection-grid-card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  position: relative;
}
.collection-grid-card img {
  max-width: 100%;
  border-radius: 5px;
}
.instock-pulse {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
}
.icon--pulsing, .icon--pulsing-blue {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.icon--pulsing:before, .icon--pulsing-blue:before {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  margin: 5px;
}
.icon--pulsing:before {
  background: #54c63a;
  animation: inventory-pulse 2s linear infinite;
}
.icon--pulsing-blue:before {
  background: #0974d7;
  animation: inventory-pulse-blue 2s linear infinite;
}
@keyframes inventory-pulse {
  0% { opacity: 0.5; }
  to { transform: scale(2.5); opacity: 0; }
}
@keyframes inventory-pulse-blue {
  0% { opacity: 0.5; }
  to { transform: scale(2.5); opacity: 0; }
}
@media (max-width: 768px) {
  .collection-grid-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 0 20px;
  }
  .collection-grid-card {
    scroll-snap-align: center;
  }
  {% if section.settings.products_per_row == 1 %}
    .collection-grid-card {
      flex: 0 0 80%;
    }
  {% else %}
    .collection-grid-card {
      flex: 0 0 calc(100% / {{ section.settings.products_per_row }});
      max-width: calc(100% / {{ section.settings.products_per_row }});
    }
  {% endif %}
}
.custom-menu {
  background-color: {{ section.settings.bg_color }};
  color: {{ section.settings.text_color }};
  padding: 20px;
}

.custom-menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

.custom-menu li {
  margin: 0 10px;
}

.custom-menu a {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.custom-menu a:hover {
  color: #56CFE1;
}
.custom-menu i {
  margin-right: 5px;
  font-size: 18px;
}
.scrolling-reviews-section {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  background-color: {{ section.settings.background_color }};
}

.scrolling-reviews-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scrolling-reviews-slider {
  display: flex;
  gap: 20px;
  animation: scrollAnimation {{ section.settings.animation_speed }}s linear infinite;
  will-change: transform;
}

.scrolling-reviews-card {
  background-color: {{ section.settings.card_background_color }};
  border-radius: 25px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  margin: 10px 0;
  white-space: nowrap;
  min-width: 300px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.scrolling-reviews-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #f4b400;
  object-fit: cover;
}

@keyframes scrollAnimation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .scrolling-reviews-slider {
    animation: scrollAnimation {{ section.settings.animation_speed | divided_by: 2 }}s linear infinite;
  }
}
<style>
  .voltage-drop-calculator {
    padding: 20px;
    background-color: #f9f9f9;
  }
  .result {
    font-weight: bold;
    margin-top: 10px;
  }
  .suitability {
    color: green;
  }
  .not-suitable {
    color: red;
  }
</style>