/* Site-specific adjustments applied after the recovered VP MegaMart theme. */
html { font-size: 100%; }
body { font-size: 13px; line-height: 1.5; }
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
.sp-vmslider-title { font-size: 24px; line-height: 1.2; }
.sp-vmslider-details .PricesalesPrice,
.sp-vmslider-details .price-before-dicount { font-size: 18px; }
.product img[src=""],
img:not([src]) { visibility: hidden; }
.product-image { min-height: 180px; object-fit: contain; background: #f6f6f6; }
.sp-vmslider .slider-item { display: none !important; }
.sp-vmslider .slider-item:nth-child(2) { display: block !important; }
.sp-vmslider .slider-item:nth-child(2)::after { display: block; clear: both; content: ""; }
.sp-vmslider-image img { display: block; max-height: 440px; margin: 0 auto; object-fit: contain; }
.sp-vmslider-controller { display: none; }

#productos > .row-fluid,
#productos .product_row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}
#productos .product {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}
#productos .product-image {
  display: block;
  width: 100%;
  height: 280px;
  min-height: 0;
  object-fit: contain;
}
.contact-button {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 3px;
  background: #c00;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  body { font-size: 13px; }
  h1, .sp-vmslider-title { font-size: 21px; }
  .product-image { min-height: 140px; }
  #productos > .row-fluid,
  #productos .product_row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #productos .product-image { height: 230px; }
}

@media (max-width: 480px) {
  #productos > .row-fluid,
  #productos .product_row { grid-template-columns: 1fr; }
}
