/** Shopify CDN: Minification failed

Line 248:16 Unexpected "="
Line 249:5 Expected identifier but found "%"
Line 251:4 Unexpected "{"
Line 251:5 Expected identifier but found "%"
Line 252:6 Unexpected "<"
Line 256:5 Expected identifier but found "%"
Line 257:2 Unexpected "<"
Line 260:5 Unexpected "{"
Line 260:14 Expected ":"
Line 261:2 Unexpected "<"
... and 22 more hidden warnings

**/

.custom-product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 245px;
  padding: 15px;
  border: 1px solid #E3E3E3;
  border-radius: 16px;
  text-align: center;
  transition: box-shadow 0.25s ease;
  flex: 1 1 auto;
}


.custom-product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- Image wrapper with fixed aspect ratio --- */
.custom-card__img {
  position: relative;
  width: 100%;
  padding-top: 120%; /* 1:1.2 aspect ratio */
  overflow: hidden;
}
.custom-card__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s ease, filter 0.8s ease;
}

.custom-card__img:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}


.custom-card__title {
  margin-top: 10px;
  width: 100%;
  min-height: 46px; /* Ensure consistent height */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Price row --- */
.custom-card__price {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
}
.custom-card__price del {
  color: #999 !important;
}

/* --- Button aligned to bottom --- */
.custom-card__btn {
  margin-top: auto;
  height: 40px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  color: #fff;
  border: none;
  outline: none;
  border-radius: 10px;
  cursor: pointer;
}

/* ───────────── Mobile Styles ───────────── */

/* Small devices: phones up to 480px */
@media (max-width: 480px) {
  .custom-product-card {
    max-width: 95%;
    aspect-ratio: 1 / 1.6;
  }
}

/* Tablets & medium phones (≤768px) */
@media (max-width: 768px) {
  .product-grid .grid__item {
    width: 48% !important;
  }
  .custom-product-card {
    max-width: 100%;
    aspect-ratio: 1 / 1.6;
  }
}

/* Phones ≤540px — single column */
@media (max-width: 540px) {
  .custom-product-card {
    display: flex;
    flex-direction: column;
  }

  .custom-card__btn {
    margin-top: auto; /* pushes the button to the bottom */
  }

  .custom-card__price {
    min-height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 10px !important;
    font-weight: 600;
    white-space: nowrap;
  }
}

/* Very small phones (≤360px) — shrink fonts */
@media (max-width: 360px) {
  .custom-card__title {
    font-size: 14px;
  }
  .custom-card__price span,
  .custom-card__price del {
    font-size: 10.5px;
  }
  .custom-card__btn {
    height: 36px;
    font-size: 14px;
  }

  .custom-product-card{
    min-height: 360px;
  }
}

@media (max-width: 540px) {
  .custom-product-card {
    height: 100%;
    min-height: 360px; /* Adjust based on your longest card */
    display: flex;
    flex-direction: column;
  }

  .custom-card__title {
    min-height: 48px;
  }

  .custom-card__price {
    min-height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 12px !important;
    white-space: nowrap;
  }

  .custom-card__btn {
    margin-top: auto;
  }
}


@media screen and (min-width: 1024px) {
  .halo-block-content {
    padding-left: 90px;
  }
   #predictive-search-results-list .custom-card__price{
     gap: 1px;
   }
   #predictive-search-results-list .custom-card__title{
     display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
      text-overflow: ellipsis;
      
    }
}
 @media (max-width: 768px) {
  #predictive-search-results-list .custom-product-card {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    max-width: 245px;
    padding: 15px;
    border: 1px solid #eaeaea;
    margin: 0 auto 15px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  }

  #predictive-search-results-list .custom-product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  #predictive-search-results-list .custom-card__btn {
    margin-top: 10px;
    font-size: 13px;
    padding: 6px 10px;
  }

  #predictive-search-results-list .custom-card__title,
  #predictive-search-results-list .custom-card__price {
    font-size: 14px;
    margin-top: -17px;
    text-align: left;
  }
    #predictive-search-results-list .custom-card__title{
     display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
      text-overflow: ellipsis;
      
    }
}

           style="width: 100%; display: block;">
    {% endif %}

    {% unless product.available %}
      <span class="badge sold-out-badge"
            style="position: absolute; top: 10px; left: 0px; background: #cccccc; color: #fff; padding: 4px 8px; font-size: 10px; font-weight: 600; text-transform: uppercase; z-index: 2;">
        Sold Out
      </span>
    {% endunless %}
  </a>

  <div class="custom-card__title">
    {{ product.title }}
  </div>

  <div class="custom-card__price">
    {% if product.compare_at_price > product.price %}
      <del>{{ product.compare_at_price | money }}</del>
    {% endif %}
    <span>{{ product.price | money }}</span>
  </div>

  {% if product.available %}
    {% form 'product', product %}
      <input type="hidden" name="id" value="{{ product.variants.first.id }}">
      <button
        type="submit"
        class="custom-card__btn button-ATC"
        data-btn-addToCart
        id="product-add-to-cart">
        <b>ADD&nbsp;TO&nbsp;CART</b>
      </button>
    {% endform %}
  {% elsif settings.show_notify_form %}
    <a class="custom-card__btn button-ATC is-notify-me"
       href="#"
       data-open-notify-popup
       data-product-handle="{{ product.handle }}"
       data-product-id="{{ product.id }}"
       style="background-color: #999999; color: #fff; text-transform: uppercase;">
      <b>NOTIFY ME</b>
    </a>
  {% else %}
    <a class="custom-card__btn button-ATC"
       href="{{ product.url }}"
       disabled
       style="background-color: #cccccc; color: #fff; text-transform: uppercase;">
      SOLD OUT
    </a>
  {% endif %}

</div>
