/*Customize Product card*/

/* ===== GYM LISTING CARDS ===== */
.products .product,
ul.products li.product {
  border: 1px solid #d4af37 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #000000 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15) !important;
  padding: 0 !important;
}

.products .product:hover,
ul.products li.product:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 10px 35px rgba(212, 175, 55, 0.4) !important;
}

/* ===== PRODUCT IMAGE ===== */
.products .product img,
ul.products li.product img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  display: block !important;
  border-bottom: 2px solid #d4af37 !important;
}

/* ===== SALE BADGE ===== */
.products .product .onsale,
ul.products li.product .onsale {
  background: #d4af37 !important;
  color: #000000 !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  padding: 4px 10px !important;
}

/* ===== CARD CONTENT AREA ===== */
.products .product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
  color: #d4af37 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 12px 12px 4px !important;
}

/* ===== LOCATION TEXT ===== */
.products .product .product_location,
ul.products li.product .product_location,
.products .product p:not(.price),
ul.products li.product p:not(.price) {
  color: #aaaaaa !important;
  font-size: 12px !important;
  padding: 0 12px !important;
}

/* ===== PRICE ===== */
.products .product .price,
ul.products li.product .price {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
  display: block !important;
}

/* ===== BUTTON ===== */
.products .product .button,
ul.products li.product .button,
.products .product a.button,
ul.products li.product a.button {
  background: #d4af37 !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 10px 20px !important;
  margin: 10px 12px 15px !important;
  display: inline-block !important;
  transition: all 0.3s ease !important;
  width: calc(100% - 24px) !important;
  text-align: center !important;
}

.products .product .button:hover,
ul.products li.product .button:hover,
.products .product a.button:hover,
ul.products li.product a.button:hover {
  background: #000000 !important;
  color: #d4af37 !important;
  border: 1px solid #d4af37 !important;
}





/* ===== FIX LOCATION ALIGNMENT ===== */
.grid-location {
  padding: 0 12px !important;
  margin: 5px 0 8px 0 !important;
  font-size: 13px !important;
  color: #E6D7B2 !important;
  font-weight: 600 !important;
  min-height: 36px !important;
}


/* ===== LOCATION - FIXED 2 LINE HEIGHT ===== */
.grid-location {
  padding: 0 12px !important;
  margin: 5px 0 8px 0 !important;
  font-size: 13px !important;
  color: #E6D7B2 !important;
  font-weight: 600 !important;
  height: 40px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}



/* Equal card height with button pinned to bottom */
ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}

ul.products li.product .button,
ul.products li.product a.button {
    margin-top: auto !important;
}

@media (max-width: 768px) {
    ul.products.columns-4 li.product {
        width: 48% !important;
        float: left !important;
        margin-right: 2% !important;
    }
}
}