/* Category + search listings, desktop: outline Add to cart (same look as mobile) and a sale end date (tear-off calendar).
   Loaded only on category/search pages from layout-both-columns.tpl. Mobile keeps ift-mobile-product-lists.css. */
@media (min-width: 576px) {
  html body .products-grid .product-miniature .ift-product-card-cta:has(.price-countdown-wrapper) {
    overflow: visible;
    box-shadow: none;
    border-radius: 0;
  }

  html body .products-grid .product-miniature .product-add-cart .btn.btn-product-list.add-to-cart,
  html body .products-grid .product-miniature .ift-product-card-cta:has(.price-countdown-wrapper) .product-add-cart .btn-product-list.add-to-cart {
    border: 1.5px solid #0f172a !important;
    border-radius: 9px !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #0f172a !important;
    font-weight: 700;
    transform: none !important;
    filter: none !important;
    transition: background-color .15s ease, color .15s ease;
  }
  html body .products-grid .product-miniature .product-add-cart .btn.btn-product-list.add-to-cart .fa {
    color: inherit !important;
  }
  html body .products-grid .product-miniature .product-add-cart .btn.btn-product-list.add-to-cart:hover,
  html body .products-grid .product-miniature .product-add-cart .btn.btn-product-list.add-to-cart:focus-visible {
    background: #0f172a !important;
    color: #fff !important;
  }

  /* sale end: tear-off calendar date under the price, "OCT 24 / Sale ends Saturday"; live red countdown in the last 48h (ift-sale-cal.js) */
  html body .products-grid .product-miniature .ift-sale-timer__bar {
    display: none !important;
  }
  html body .products-grid .product-miniature .ift-product-card-cta .price-countdown-wrapper.ift-sale-timer {
    margin: 0 0 8px !important;
    background: none !important;
    line-height: 1.2 !important;
  }
  html body .products-grid .product-miniature .ift-sale-cal[hidden] {
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-height: 31px;
    font-size: 12px;
    line-height: 1.2;
    color: #64748b;
    text-align: left;
  }
  html body .products-grid .product-miniature .ift-sale-cal__date {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    width: 30px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
  }
  html body .products-grid .product-miniature .ift-sale-cal__date i {
    display: block;
    width: 100%;
    background: #dc2626;
    color: #fff;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    line-height: 12px;
    text-align: center;
    text-transform: uppercase;
  }
  html body .products-grid .product-miniature .ift-sale-cal__date b {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    line-height: 17px;
  }
  html body .products-grid .product-miniature .ift-sale-cal__txt b {
    color: #0f172a;
    font-weight: 700;
  }
  html body .products-grid .product-miniature .ift-sale-cal__soon {
    display: none;
    color: #b91c1c;
    font-size: 12.5px;
    font-weight: 600;
  }
  html body .products-grid .product-miniature .ift-sale-cal__soon b {
    color: #b91c1c;
    font-variant-numeric: tabular-nums;
  }
  html body .products-grid .product-miniature .ift-sale-cal.is-soon .ift-sale-cal__date,
  html body .products-grid .product-miniature .ift-sale-cal.is-soon .ift-sale-cal__txt {
    display: none;
  }
  html body .products-grid .product-miniature .ift-sale-cal.is-soon .ift-sale-cal__soon {
    display: inline;
  }
}
