@media (max-width: 600px) {
  .modal-cotizar-content form {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.7em !important;
    padding-bottom: 1.2em !important;
    max-height: 70vh;
    overflow-y: auto;
  }
  .modal-cotizar-content button[type="submit"] {
    display: block !important;
    width: 100% !important;
    margin-top: 0.7em !important;
    position: static !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
  }
  .modal-cotizar-content {
    max-width: 98vw !important;
    min-width: 0 !important;
    padding: 1em 0.3em 0.5em 0.3em !important;
    box-sizing: border-box;
  }
}
/* --- MEJORAS UX MÓVIL 2025 --- */
@media (max-width: 600px) {
  button, .btn, .btn-ver-video, .banner-carrusel .banner-btn {
    min-height: 48px;
    min-width: 48px;
    font-size: 1.05em;
    padding: 0.7em 1.2em;
  }
  input, textarea, select {
    font-size: 1em;
    min-height: 44px;
  }
  body, main, .entry-content, .banner-carrusel .banner-texto, .banner-carrusel .banner-desc {
    font-size: 16px !important;
  }
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }
  .container, .site-main, .entry-content, .banner-campana, .banner-carrusel {
    max-width: 100vw !important;
    box-sizing: border-box;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
}
/* Estilos responsive y modernos para theme Mundo */
@media (max-width: 900px) {
  .site-header .container, .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 1em;
  }
  nav {
    width: 100%;
    margin-top: 1em;
  }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2em;
    margin-left: auto;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    z-index: 1100;
  }
  .hamburger {
    display: inline-block;
    width: 28px;
    height: 3px;
    background: #1E293B;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s;
  }
  .hamburger:before,
  .hamburger:after {
    content: '';
    position: absolute;
    left: 0;
    width: 28px;
    height: 3px;
    background: #1E293B;
    border-radius: 2px;
    transition: all 0.3s;
  }
  .hamburger:before { top: -8px; }
  .hamburger:after { top: 8px; }
  .menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
  }
  .menu-toggle[aria-expanded="true"] .hamburger:before {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle[aria-expanded="true"] .hamburger:after {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .main-menu {
    display: none !important;
    flex-direction: column;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px #0001;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 1000;
    margin: 0;
    padding: 0;
    transition: max-height 0.3s cubic-bezier(.4,0,.2,1), opacity 0.2s;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
  }
  .main-menu.active {
    display: flex !important;
    max-height: 800px;
    opacity: 1;
    overflow: visible;
  }
  .main-menu > li {
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 0.5em 1.2em;
    border-bottom: 1px solid #e5e7eb;
  }
  .main-menu > li:last-child {
    border-bottom: none;
  }
  .main-menu > li > a, .main-menu > li > button, .main-menu .cart-link {
    width: 100%;
    display: block;
    padding: 0.7em 0;
    font-size: 1.1em;
    color: #1e293b;
    background: none;
    border: none;
    text-align: left;
  }
  .main-menu .dropdown-categorias {
    position: static;
    box-shadow: none;
    background: #f1f5f9;
    border-radius: 0 0 8px 8px;
    margin: 0;
    padding: 0.5em 1em;
    display: none;
  }
  .main-menu li.menu-item-categorias.active .dropdown-categorias {
    display: block;
  }
}
@media (max-width: 600px) {
  .site-header .container, .site-footer .container {
    padding: 0.5em;
  }
  .logo {
    font-size: 1.3em;
  }
  main.site-main {
    padding: 1em 0.2em;
  }
  /* Mini-cart slide lateral */
  .mini-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 340px;
    max-width: 100vw;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 16px rgba(0,0,0,0.15);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
  }
  .mini-cart.open {
    transform: translateX(0);
  }
  .mini-cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #1E293B;
    align-self: flex-end;
    margin: 1rem 1rem 0 0;
    cursor: pointer;
  }
  .mini-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
  }
}
.site-header, .site-footer {
  box-shadow: 0 2px 8px rgba(30,41,59,0.07);
  background: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  max-height: 40px;
  transition: filter 0.3s;
}
.logo:hover {
  filter: brightness(1.2);
}

/* Animación shake para el icono del carrito */
.cart-shake {
  animation: cart-shake 0.6s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes cart-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

/* Banner campaña festiva mejorado */
.banner-campana {
  max-width: 1200px;
  margin: 2em auto 1.5em auto;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(30,41,59,0.18);
}
.banner-carrusel {
  position: relative;
  width: 100%;
  height: 150px;
  background: #e0e7ef;
  overflow: hidden;
}
.banner-carrusel .banner-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.banner-carrusel .banner-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.banner-carrusel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 20px;
  background: #f8fafc;
  filter: none;
  image-rendering: auto;
}
.banner-carrusel .banner-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(120deg,rgba(30,41,59,0.18) 0%,rgba(30,41,59,0.08) 60%,rgba(255,255,255,0.02) 100%);
  border-radius: 20px;
  z-index: 2;
  pointer-events: none;
}
.banner-carrusel .banner-texto {
  position: absolute;
  bottom: 2.5em; left: 2.5em;
  z-index: 3;
  color: #fff;
  max-width: 520px;
  padding: 2em 2.5em 2em 2em;
  background: rgba(30,41,59,0.62);
  border-radius: 16px;
  box-shadow: 0 4px 24px #0002;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  animation: fadeInUp 1.1s cubic-bezier(.4,0,.2,1);
}
.banner-carrusel .banner-titulo {
  font-size: 2.1em;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px #0007, 0 1px 0 #2563eb44;
  line-height: 1.1;
  font-family: 'Segoe UI', 'Montserrat', 'Arial', sans-serif;
  background: linear-gradient(90deg,#fff 60%,#2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.banner-carrusel .banner-desc {
  font-size: 1.15em;
  font-weight: 400;
  color: #e0e7ef;
  text-shadow: 0 1px 8px #0005;
  margin-bottom: 0.5em;
}
.banner-carrusel .banner-btn {
  display: inline-block;
  background: linear-gradient(90deg,#2563eb 60%,#059669 100%);
  color: #fff;
  font-weight: 700;
  padding: 0.7em 2.2em;
  border-radius: 8px;
  font-size: 1.1em;
  margin-top: 0.5em;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px #2563eb33;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  border: none;
}
.banner-carrusel .banner-btn:hover {
  background: linear-gradient(90deg,#059669 60%,#2563eb 100%);
  box-shadow: 0 4px 16px #05966933;
  transform: translateY(-2px) scale(1.04);
}
.banner-carrusel .banner-prev,
.banner-carrusel .banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff7;
  border: none;
  border-radius: 50%;
  width: 48px; height: 48px;
  box-shadow: 0 2px 8px #0002;
  cursor: pointer;
  z-index: 10;
  font-size: 2.2em;
  color: #2563eb;
  transition: background 0.2s, color 0.2s;
}
.banner-carrusel .banner-prev:hover,
.banner-carrusel .banner-next:hover {
  background: #2563eb;
  color: #fff;
}
.banner-carrusel .banner-prev { left: 1.2em; }
.banner-carrusel .banner-next { right: 1.2em; }
.banner-carrusel .banner-dots {
  position: absolute;
  bottom: 1.5em;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.7em;
  z-index: 20;
}
.banner-carrusel .banner-dot {
  width: 15px; height: 15px;
  background: #fff7;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 1px 4px #0002;
  border: 2px solid #2563eb22;
  transition: background 0.2s, border 0.2s;
}
.banner-carrusel .banner-dot.active {
  background: #2563eb;
  border: 2px solid #2563eb;
}
@media (max-width: 900px) {
  .banner-carrusel { height: 150px !important; min-height: 120px; padding-bottom: 0 !important; }
  .banner-carrusel .banner-overlay {
    background: linear-gradient(120deg,rgba(30,41,59,0.10) 0%,rgba(30,41,59,0.04) 60%,rgba(255,255,255,0.01) 100%) !important;
  }
  .banner-carrusel .banner-texto {
    background: rgba(30,41,59,0.32) !important;
  }
}
  .banner-carrusel .banner-texto {
    font-size: 1em;
    padding: 1.1em 1.2em 1.1em 1.1em;
    left: 1em; right: 1em;
    bottom: 1em;
    max-width: 98%;
  }
  .banner-carrusel .banner-titulo { font-size: 1.3em; }
  .banner-carrusel .banner-btn { font-size: 1em; padding: 0.6em 1.2em; }
  .banner-carrusel .banner-prev,
  .banner-carrusel .banner-next {
    width: 36px; height: 36px; font-size: 1.3em;
  }
  .banner-carrusel .banner-dot { width: 11px; height: 11px; }
}
@media (max-width: 600px) {
  .banner-campana { border-radius: 10px; }
  .banner-carrusel { height: 200px !important; min-height: 120px; padding-bottom: 0 !important; background: #fff !important; }
  .banner-carrusel img {
    object-fit: contain !important;
    background: #fff !important;
    filter: none !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 10px !important;
  }
  .banner-carrusel .banner-overlay {
    display: none !important;
  }
  .banner-carrusel .banner-texto {
    background: rgba(255,255,255,0.7) !important;
    color: #1e293b !important;
    left: 0.5em; right: 0.5em; bottom: 0.5em;
    border-radius: 8px;
    font-size: 0.98em;
    padding: 0.5em 0.7em;
  }
  .banner-carrusel .banner-titulo { font-size: 1em; }
}

/* Menú principal horizontal en desktop */
@media (min-width: 901px) {
  .main-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-end;
    gap: 1.2em;
    background: none;
    box-shadow: none;
    position: static;
    width: auto;
  }
  .main-menu li {
    display: inline-block;
    margin: 0 0.2em;
  }
  .main-menu li a, .main-menu li button {
    display: flex;
    align-items: center;
    padding: 0.6em 1.1em;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 500;
    background: none;
    border: none;
    color: #1e293b;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
    cursor: pointer;
  }
  .main-menu li a:hover, .main-menu li button:hover {
    background: #f1f5f9;
    color: #2563eb;
  }
  .main-menu .dropdown-categorias {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 2px 12px #0001;
    border-radius: 8px;
    padding: 0.5em 0;
    z-index: 100;
    display: none;
  }
  .main-menu li.menu-item-categorias:hover .dropdown-categorias,
  .main-menu li.menu-item-categorias:focus-within .dropdown-categorias {
    display: block;
  }
  .main-menu .dropdown-categorias {
    left: auto !important;
    right: auto !important;
    top: calc(100% + 6px) !important;
    min-width: 220px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    box-shadow: 0 4px 24px #0001;
  }
  .main-menu li.menu-item-categorias {
    position: relative;
  }
  .main-menu li.menu-item-categorias .dropdown-categorias {
    left: 50%;
    transform: translateX(-50%);
  }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
