.product-card {
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 24px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card .product-image {
  position: relative;
  overflow: hidden;
  background: #fafafa;
  text-align: center;
  padding: 16px 0;
}
.product-card .product-image img {
  max-width: 90%;
  max-height: 180px;
  transition: transform 0.2s;
}
.product-card .product-image .hover-img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  opacity: 0;
  transition: opacity 0.2s;
}
.product-card .product-image:hover .hover-img {
  opacity: 1;
}
.product-card .product-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #CA0027;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}
.product-card .product-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
}
.product-card .product-description {
  padding: 16px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-card .product-category {
  color: #888;
  font-size: 13px;
  margin-bottom: 4px;
}
.product-card .product-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product .product-price {
  color: #565656 !important;
  font-size: 14px !important;
  font-weight: bold;
  margin-bottom: 8px;
}

.product-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #535353;
    border-bottom: 2px solid #d2d2d2;
    border-radius: 6px;
    font-weight: 600;
    padding: 6px 6px;
    min-width: 65px;
    height: auto;
    box-sizing: border-box;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    transition: border 0.2s, color 0.2s;
    text-align: center;
    cursor: default;
}

.product-card .product-contact {
  margin-top: 8px;
}

.product-contact .btn {
  font-size: 10px !important;
  padding: 4px 10px !important;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-contact .fa-whatsapp {
  font-size: 18px !important;
}
.product-price {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #00ff08 !important;
  margin-left: 8px;
}
.d-flex {
  display: flex !important;
}
.justify-content-between {
  justify-content: space-between !important;
}
.align-items-center {
  align-items: center !important;
}
.gap-2 {
  gap: 8px !important;
}

.product-fixed {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  overflow: hidden;
}

.product-desc-flex {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: flex-start;
  padding: 16px 12px 12px 12px;
/* Ajustá según tu diseño */
}

.category-banner {
  background: #cecece;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  line-height: 1.2;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  flex-shrink: 0;
}

.product-title-limit {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3.6em; /* 4 líneas si line-height: 1.2 */
  line-height: 1.2;
  margin-bottom: 10px;
  word-break: break-word;
}

.product .product-title {
    max-width: 90%;
    margin-top: 10px;
    min-height: 4.8rem;
}

.product-title-custom {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

.product-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center; /* <-- Esto alinea verticalmente */
  gap: 12px;
  padding-top: 20px;
}

.product-contact {
  margin: 0; /* Elimina margen superior si lo hay */
}

.product-price {
  margin: 0;
  font-size: 20px;
  color: #CA0027;
  font-weight: bold;
  white-space: nowrap;
}

.product-fixed {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-description.product-desc-flex {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.product-bottom-row.row {
  margin-top: auto !important;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  
}




.product {
      margin-bottom: 0 !important
}

#product-list .product-card.mb-4 {
  margin-bottom: 0 !important;
}

.product-card, .product-fixed {
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.3s;
  padding: 18px 12px 18px 12px;
}

.product-card:hover, .product-fixed:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(0px) scale(1.02);
  background-color: rgba(255, 255, 255, 0.038);
  border: 1px rgb(222, 222, 222) solid;
}

.category-banner {
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 14px;
}

.product-title-custom {
  font-size: 17px;
}

.product-price {
  font-size: 20px;
  color: #CA0027;
  font-weight: bold;
}

.product-contact .btn {
  min-width: 120px;
  font-size: 15px;
}

button.btn.btn-sm, .btn:not(.close):not(.mfp-close).btn-sm, a.btn:not([href]):not([tabindex]).btn-sm {
    font-size: 11px;
    height: auto;
    line-height: 28px;
    padding: 0 14px;
}

@media screen and (max-width: 768px) {
  .product-card, .product-fixed {
    padding: 16px;
  }
  
  .product-card .product-image img {
    max-height: 150px;
  }
  
  .product-card .product-description {
    padding: 12px;
  }
  
  .product-title-custom {
    font-size: 15px;
  }
  
  .product-price {
    font-size: 18px;
  }
  
  .product-contact .btn {
    font-size: 12px;
    padding: 6px 12px;
  }

  .product-desc-flex {
    height: auto;
}

button.btn:not(.btn-creative):not(.btn-slide).btn-sm, .btn:not(.close):not(.mfp-close):not(.btn-creative):not(.btn-slide).btn-sm, a.btn:not([href]):not([tabindex]):not(.btn-creative):not(.btn-slide).btn-sm {
    height: auto;


}
  
}

/* Boton ver mas de tarjeta de producto */

.btn-ver-mas {
  display: block;
  width: 100%;
  margin: 10px 0 6px 0;
  padding: 10px 0;
  background: #585858;
  color: #fff !important;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(202,0,39,0.08);
}
.btn-ver-mas:hover, .btn-ver-mas:focus {
  background: #a8001f;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(202,0,39,0.13);
}


/* Btn de contacto whatsapp */
button.btn.btn-success, .btn:not(.close):not(.mfp-close).btn-success, a.btn:not([href]):not([tabindex]).btn-success {
    background-color: #fff;
    border: none;
    border-bottom: 2px solid #d2d2d2;
    border-right: 2px solid #d2d2d2;
}

.btn-wapp-product {
  color : rgb(59, 59, 59) !important;
}

.btn-wapp-product:hover {
  color : rgb(255, 255, 255) !important;
}

/* Product Category */
.product-category{
  color: rgb(91, 91, 91) !important;
  text-transform: uppercase;
  font-size: 14px !important;
  margin-top: 10px;
  font-weight: 500 !important;
}

.product-title {
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

/* .subcategory */
.subcategory {
  font-size: 12px !important;
  color: rgb(111, 111, 111) !important
}