body {
  font-family: "Montserrat", serif;
}
.titulo-principal {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2rem;
}
.marcas-carousel {
  background: #990406;
  padding: 2rem 1rem;
  text-align: center;
}
.marcas-carousel h3 {
  font-size: 1.8rem;
  color: #ffc107;
  margin-bottom: 1rem;
}
.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.carousel-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem 1rem;
  max-width: 90vw;
  height: 100px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.logo-item {
  flex: 0 0 auto;
  width: 130px;
  height: 80px;
  background: #2222223e;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}
.logo-item img {
  max-width: 90%;
  max-height: 70%;
  object-fit: contain;
}
.logo-item:hover {
  transform: scale(1.05);
}
@keyframes pulse-png {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 1;}
  50% { transform: translate(-50%,-50%) scale(1.15); opacity: 0.85;}
}
.header-dual {
  display: flex;
  width: 100%;
  height: 100vh;
}
.header-half {
  position: relative;
  width: 50%;
  height: 100vh;
  overflow: hidden;
}
.header-half video, .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.header-half video {
  object-fit: cover;
  z-index: -2;
}
.overlay {
  background: rgba(0,0,0,0.4);
  z-index: -1;
}
.header-content, .header-png-link {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}
.header-png {
  width: 300px;
  transition: all 0.4s;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.3));
  cursor: pointer;
}
.header-png:hover {
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.6));
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .header-dual { flex-direction: column; height: auto; }
  .header-half { width: 100%; height: 50vh; }
  .header-content h1 { font-size: 1.8rem; padding: 0.75rem 1rem; }
}
.productos-destacados {
  background: #990406;
  padding: 4rem 2rem;
  text-align: center;
}
.productos-header h2 {
  font-size: 2.8rem;
  color: #ffc107;
  margin-bottom: 0.5rem;
}
.productos-header p {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 3rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.productos-grid-nueva {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 2rem;
  max-width: 1500px;
  margin: 0 auto;
}
.producto-box {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.producto-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.producto-img {
  position: relative;
  overflow: hidden;
}
.producto-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s;
}
.producto-box:hover img {
  transform: scale(1.05);
}
.descripcion-hover {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.9rem;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s;
  pointer-events: none;
  z-index: 1;
}
.producto-box:hover .descripcion-hover {
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}
.producto-info { padding: 1rem; }
.producto-info h3 { font-size: 1.3rem; color: #333; }
.ver-todo-btn { margin-top: 3rem; }
.btn-catalogo {
  display: inline-block;
  padding: 12px 30px;
  background: #ffc107;
  color: #222;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-catalogo:hover {
  background: #e0a800;
  color: #fff;
}
.contact-footer {
  background: #000;
  text-align: center;
  padding: 2rem 1rem;
  color: #888;
  font-size: 0.9rem;
}
.resaltado { color: #fff; }
.ofertas-banner {
  width: 100vw;
  min-height: 180px;
  height: 32vw;
  max-height: 340px;
  background: #990406; /* Rojo Mercomat */
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.ofertas-carrusel {
  width: 100vw;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.oferta-item {
  display: none;
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 0.7s;
}
.oferta-item.active {
  display: block;
  opacity: 1;
  position: absolute;
  animation: fadeInOferta 0.7s;
}
@keyframes fadeInOferta {
  from { opacity: 0; }
  to { opacity: 1; }
}
.oferta-item a {
  display: block;
  width: 100vw;
  height: 100%;
}
.oferta-item img {
  width: 100vw;
  height: 100%;
  min-height: 180px;
  max-height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  background: none;
  transition: filter 0.3s, transform 0.3s;
  cursor: pointer;
}
.oferta-item a:hover img,
.oferta-item a:focus img {
  filter: brightness(1.08) drop-shadow(0 2px 12px #ffc10755);
  transform: scale(1.03);
}
.oferta-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.22);
  border: none;
  color: #ffc107; /* Amarillo Mercomat */
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  opacity: 0.85;
}
.oferta-arrow.left { left: 18px; }
.oferta-arrow.right { right: 18px; }
.oferta-arrow:hover, .oferta-arrow:focus {
  background: #ffc107;
  color: #990406;
  opacity: 1;
  outline: none;
}
.oferta-dots {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  z-index: 12;
}
.oferta-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  border: 2px solid #ffc107; /* Amarillo Mercomat */
  cursor: pointer;
  transition: background 0.2s, border 0.2s, transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.13);
}
.oferta-dot.active {
  background: #ffc107;
  border: 2px solid #990406; /* Rojo Mercomat */
  transform: scale(1.18);
}
@media (max-width: 900px) {
  .ofertas-banner { min-height: 70px; height: 44vw; max-height: 150px; }
  .oferta-item img { min-height: 120px; max-height: 150px; }
  .oferta-arrow { font-size: 1.5rem; width: 36px; height: 36px; }
  .oferta-arrow.left { left: 6px; }
  .oferta-arrow.right { right: 6px; }
  .oferta-dots { bottom: 8px; }
}
@media (max-width: 600px) {
  .ofertas-banner { min-height: 70px; height: 44vw; max-height: 75px; }
  .oferta-item img { min-height: 20px; max-height: 110px; }
  .oferta-arrow { font-size: 1.1rem; width: 28px; height: 28px; }
  .oferta-dots { gap: 0.4rem; }
  .oferta-dot { width: 8px; height: 8px; }
}
