@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,600&family=Jost:wght@300;400;500&display=swap');

/* ---- Variables de marca ---- */
:root {
  --verde:        #1b5357;
  --verde-claro:  #e6f0ef;
  --beige:        #ded8ca;
  --beige-claro:  #f5f1eb;
  --beige-oscuro: #c9c1b0;
  --texto:        #1a3b3a;
  --texto-suave:  #4a6866;
  --blanco:       #ffffff;
  --sombra:       0 4px 28px rgba(39,104,101,0.10);
  --sombra-hover: 0 10px 40px rgba(39,104,101,0.18);
  --radio:        12px;
  --radio-pill:   50px;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Jost', sans-serif;
  --ease:         0.25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--beige-claro);
  color: var(--texto);
  font-size: 16px;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ============================================================
   HEADER
   ============================================================ */
header {
  width: 100%;
  height: 100px; /* Le damos un poquito más de altura */
  background: var(--verde);
  display: flex;
  justify-content: center; /* Esto centra el contenedor */
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-container {
  width: 90%;
  max-width: 1200px; /* Si querés que estén más juntos, bajalo a 1000px */
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo izq, Nav centro, Carrito der */
}

.logo img {
  height: 155px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 30px;
  /* Esto asegura que el nav intente estar lo más centrado posible */
  position: absolute; 
  left: 50%;
  transform: translateX(-50%);
}

.btn-carrito {
  margin-left: auto; /* Empuja el carrito a la derecha si el nav está absoluto */
  color: rgba(255,255,255,0.80);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.nav a {
  color: rgba(255,255,255,0.80);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color var(--ease);
  position: relative;
  justify-self: center;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--beige);
  transition: width var(--ease);
}

.nav a:hover        { color: var(--beige); }
.nav a:hover::after { width: 100%; }


/* Estilo para el botón de carrito que quedó afuera del nav */

.btn-carrito:hover { color: var(--beige); }

#carrito-count {
  background: var(--beige);
  color: var(--verde);
  border-radius: 50%;
  width: 20px; height: 20px;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--ease);
}

/* ============================================================
   HERO — Index
   ============================================================ */
.hero {
  text-align: center;
  padding: 96px 24px 88px;
  background: var(--beige);
  position: relative;
  overflow: hidden;
}

.hero-ornamento {
  display: block;
  font-size: 22px;
  color: var(--verde);
  opacity: 0.40;
  margin-bottom: 24px;
  letter-spacing: 12px;
}

.hero h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--verde);
  line-height: 1.2;
  max-width: 680px;
  margin: 0 auto 20px;
}

.hero p {
  color: var(--texto-suave);
  font-size: 1rem;
  font-weight: 300;
  max-width: 460px;
  margin: 0 auto 44px;
  line-height: 1.8;
}

.botones {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Botones globales ---- */
.btn {
  display: inline-block;
  background: var(--verde);
  color: var(--beige-claro);
  padding: 13px 38px;
  border-radius: var(--radio-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 4px 18px rgba(39,104,101,0.25);
}

.btn:hover {
  background: var(--verde);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(39,104,101,0.32);
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--verde);
  color: var(--verde);
  padding: 12px 38px;
  border-radius: var(--radio-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: transparent;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}

.btn-outline:hover {
  background: var(--verde);
  color: var(--beige-claro);
  transform: translateY(-2px);
}

/* Divisor ornamental */
.ornamento {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 8px auto 44px;
  color: var(--verde);
  font-size: 16px;
  opacity: 0.5;
}

.ornamento::before,
.ornamento::after {
  content: '';
  width: 64px; height: 1px;
  background: var(--verde);
  opacity: 0.45;
}

/* ============================================================
   SECCIÓN DESTACADOS / CATÁLOGO
   ============================================================ */
.destacados {
  padding: 72px 48px;
  max-width: 1160px;
  margin: 0 auto;
}

.destacados h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--verde);
  text-align: center;
  margin-bottom: 4px;
}

/* Grid de productos */
.productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* ---- Card de torta ---- */
.card {
  background: var(--blanco);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-hover);
}

.card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--verde);
  margin-bottom: 6px;
}

.card .descripcion {
  font-size: 0.85rem;
  color: var(--texto-suave);
  font-weight: 300;
  line-height: 1.6;
  flex: 1;
}

.card .precio {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--verde);
  margin-top: 12px;
  margin-bottom: 2px;
}

.card button {
  margin-top: 14px;
  background: var(--verde);
  color: var(--beige-claro);
  border: none;
  padding: 12px 0;
  border-radius: var(--radio-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}

.card button:hover  { background: var(--verde-oscuro); transform: scale(1.02); }
.card button:active { transform: scale(0.98); }

/* ============================================================
   HERO CATÁLOGO (tortas.html)
   ============================================================ */
.hero-catalogo {
  background: var(--beige);
  text-align: center;
  padding: 64px 24px 48px;
  border-bottom: 1px solid var(--beige-oscuro);
}

.hero-catalogo h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--verde);
  margin-bottom: 10px;
}

.hero-catalogo p {
  color: var(--texto-suave);
  font-size: 0.95rem;
  font-weight: 300;
}

/* Sección catálogo en tortas.html */
.catalogo-seccion {
  padding: 56px 48px;
  max-width: 1160px;
  margin: 0 auto;
}

/* ============================================================
   PÁGINA CARRITO
   ============================================================ */
.carrito-page {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  max-width: 1020px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  align-items: start;
}

.carrito-titulo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--verde);
  margin-bottom: 28px;
}

/* Items */
#carrito-contenedor {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.item-carrito {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(39,104,101,0.07);
}

.item-carrito img {
  width: 68px; height: 68px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.item-info { flex: 1; }

.item-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--verde);
  margin-bottom: 2px;
}

.item-info .item-detalle {
  font-size: 0.78rem;
  color: var(--texto-suave);
  font-weight: 300;
  margin-bottom: 8px;
}

.item-controles {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-controles button {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--verde);
  background: transparent;
  color: var(--verde);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), color var(--ease);
}

.item-controles button:hover {
  background: var(--verde);
  color: var(--blanco);
}

.cantidad-num {
  font-size: 14px;
  font-weight: 500;
  min-width: 18px;
  text-align: center;
  color: var(--texto);
}

.item-precio {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--verde);
  white-space: nowrap;
  flex-shrink: 0;
}

.item-eliminar {
  background: none;
  border: none;
  color: var(--beige-oscuro);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 2px;
  line-height: 1;
  transition: color var(--ease);
  flex-shrink: 0;
}

.item-eliminar:hover { color: #b94040; }

.carrito-vacio {
  text-align: center;
  padding: 48px 0;
  color: var(--texto-suave);
}

.carrito-vacio p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 20px;
}

/* ---- Panel lateral: Retiro + Resumen ---- */
.carrito-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 96px;
}

.retiro-card,
.resumen-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 22px;
  box-shadow: 0 2px 14px rgba(39,104,101,0.07);
}

.card-section-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--verde);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.campo { margin-bottom: 14px; }

.campo label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--texto-suave);
  margin-bottom: 6px;
}

.campo input,
.campo select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--beige-oscuro);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--texto);
  background: var(--beige-claro);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--ease);
}

.campo input:focus,
.campo select:focus { border-color: var(--verde); }

/* Resumen numérico */
.resumen-linea {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--texto-suave);
  padding: 5px 0;
}

.resumen-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0 18px;
  border-top: 1px solid var(--beige-oscuro);
  margin-top: 8px;
}

.resumen-total span:first-child {
  font-size: 14px;
  font-weight: 500;
  color: var(--texto);
}

.resumen-total span:last-child {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--verde);
}

/* Métodos de pago */
.metodos-titulo {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--texto-suave);
  margin-bottom: 10px;
}

.pago-opcion {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--beige-oscuro);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}

.pago-opcion input[type="radio"] {
  accent-color: var(--verde);
  width: 16px; height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.pago-opcion.activo {
  border-color: var(--verde);
  background: var(--verde-claro);
}

.pago-opcion-info { flex: 1; }

.pago-opcion-info strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--texto);
}

.pago-opcion-info small {
  font-size: 12px;
  color: var(--texto-suave);
}

.pago-icono { font-size: 18px; opacity: 0.7; }

/* Botón finalizar */
.btn-finalizar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  margin-top: 16px;
  background: var(--verde);
  color: var(--blanco);
  border: none;
  border-radius: var(--radio-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 4px 18px rgba(39,104,101,0.25);
}

.btn-finalizar:hover {
  background: var(--verde);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(39,104,101,0.32);
}

.nota-final {
  font-size: 11px;
  color: var(--texto-suave);
  text-align: center;
  margin-top: 10px;
  font-weight: 300;
}

/* ============================================================
   TOAST
   ============================================================ */
#toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--verde);
  color: var(--beige-claro);
  padding: 12px 28px;
  border-radius: var(--radio-pill);
  font-size: 14px;
  font-weight: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.selector-tamanio {
    margin-top: 15px;
    margin-bottom: 5px;
}

.selector-tamanio label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--texto-suave);
    margin-bottom: 6px;
}

/* El select propiamente dicho */
.tamanio-select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--beige-oscuro);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--texto);
    background-color: var(--beige-claro);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a6866' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color var(--ease), box-shadow var(--ease);
}

.tamanio-select:focus {
    border-color: var(--verde);
    box-shadow: 0 0 0 3px rgba(39, 104, 101, 0.05);
}

/* Ajuste de la tipografía del precio dinámico */
.precio-display {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--verde);
    margin-top: 8px;
    display: block;
}

/* Sección de Tortas Personalizadas (Index) */
.personalizados {
    background: var(--blanco);
    border-top: 1px solid var(--beige-oscuro);
    padding: 80px 24px;
    text-align: center;
}

.personalizados h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--verde);
    margin-bottom: 12px;
    font-style: italic;
}

.personalizados p {
    color: var(--texto-suave);
    max-width: 500px;
    margin: 0 auto 32px;
    font-weight: 300;
}

.link-instagram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--verde);
    font-size: 14px;
    font-weight: 400;
    transition: opacity var(--ease);
}

.link-instagram:hover {
    opacity: 0.7;
}

/* Ajuste informativo en el carrito para la demora */
.info-demora {
    font-size: 12px;
    color: var(--verde);
    background: var(--verde-claro);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid var(--verde);
}

/* Estilo para la Card Personalizada dentro de la grilla */
.personalizada-card {
    background: var(--verde-claro) !important; /* Un color sutil para que destaque */
    border: 1px dashed var(--verde);
}

.personalizada-card .tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--verde);
    font-weight: 600;
}

.info-adicional {
    margin: 15px 0;
    font-size: 13px;
    color: var(--texto-suave);
    border-top: 1px solid rgba(39, 104, 101, 0.1);
    padding-top: 10px;
}

.btn-whatsapp-card {
    display: block;
    text-align: center;
    background: var(--verde);
    color: white;
    padding: 12px;
    border-radius: var(--radio-pill);
    font-size: 13px;
    font-weight: 500;
    transition: var(--ease);
}

.btn-whatsapp-card:hover {
    background: var(--verde);
    transform: translateY(-2px);
}

/* FOOTER HORIZONTAL MEJORADO */
footer {
    background: var(--verde);
    color: var(--beige-claro);
    padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-brand {
  flex: 1;
}

.footer-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 10px;
}

.footer-info {
    flex: 2;
    display: flex;
    justify-content: flex-end;
    gap: 60px; /* Espacio entre los bloques de texto */
}

.footer-item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--beige);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.footer-item p, .footer-item a {
  font-size: 14px;
  opacity: 0.8;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
}


.card-img-wrap {
  position: relative;
  display: block;
  height: 250px; /* Altura única para que no salte */
  overflow-x: auto; /* Permite el scroll con el dedo */
  overflow-y: hidden;
  scroll-snap-type: x mandatory; /* Hace que la imagen "calce" justo al deslizar */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Oculta scroll en Firefox */
  touch-action: pan-x; /* Optimiza para celular */
  cursor: grab;
}

/* Ocultar scrollbar en Chrome/Safari */
.card-img-wrap::-webkit-scrollbar {
  display: none;
}

/* 2. EL TRACK (Donde van las fotos) */
.carrusel-track {
  display: flex;
  width: 200%; /* Porque tenés 2 fotos */
  height: 100%;
  transition: transform 0.5s ease-in-out; /* Para que las flechas se muevan suave */
}

/* 3. LAS IMÁGENES */
.img-carrusel {
  width: 50%;         /* Ocupa la mitad del track de 200% (o sea, el 100% de la card) */
  min-width: 50%;     /* Evita que el navegador la achique */
  height: 100%; 
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  scroll-snap-align: start; /* Esto hace que "calce" justo al deslizar */
}

/* 4. LAS FLECHAS (Ubicación y estilo) */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(27, 83, 87, 0.6);
  color: white;
  border: none;
  padding: 12px 8px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.prev { left: 0; border-radius: 0 5px 5px 0; }
.next { right: 0; border-radius: 5px 0 0 5px; }
.prev:hover, .next:hover { background: var(--verde); }

/* 5. EL ICONO DEL CALENDARIO */
input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(28%) sepia(12%) saturate(1257%) hue-rotate(131deg) brightness(95%) contrast(92%);
}

/* Estilo para el input cuando hay error */
#fecha:invalid {
  box-shadow: none;
}

#error-fecha {
  font-family: var(--font-body);
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}


/* Estilos para Tortas de Diseño */
.card-personalizada {
  border: 1px solid rgba(27, 83, 87, 0.1);
  transition: transform 0.3s ease;
}

.card-personalizada:hover {
  transform: translateY(-5px);
}

/* Soporte para las 14 fotos */
.card-personalizada .carrusel-track {
  width: 1400% !important; 
  display: flex !important;
}
.card-personalizada .img-carrusel {
  width: calc(100% / 14) !important;
  min-width: calc(100% / 14) !important;
  object-fit: cover;
}
/* Estilo del botón */
.btn-whatsapp {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  width: 100%;
  margin-top: 15px;
  cursor: pointer;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
}

.cantidad-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 13px;
  color: #555;
}

.cant-input {
  width: 45px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

.tamanio-select-custom {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fdfaf7;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mejora mobile para el input de fecha */
input[type="date"] {
  position: relative;
  min-height: 45px;
}
.btn-finalizar[style*="pointer-events: none"] {
  background: var(--beige-oscuro) !important;
  color: var(--texto-suave) !important;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .carrito-page {
    grid-template-columns: 1fr;
    padding: 32px 20px 60px;
  }
  .carrito-panel { position: static; }
}

@media (max-width: 768px) {
  header { 
    padding: 0 20px; 
  }


  .nav { 
    gap: 18px; 
  }
  .nav a { 
    font-size: 12px; 
  }

  .destacados, .catalogo-seccion { 
    padding: 48px 20px; 
  }

  .hero{ 
    padding: 72px 20px 64px; 
  }


  .hero-catalogo{ 
    padding: 48px 20px 36px; 
  }


  .productos {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 10px;
  }

    
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-info {
    justify-content: center;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .nav { 
    display: flex; /* Cambiamos de 'none' a 'flex' */
    gap: 15px; 
  }
  .card-personalizada .carrusel-track {
    width: 1400% !important; /* Forzamos a que mantenga el espacio para las 14 fotos */
  }

  .card-personalizada .img-carrusel {
    width: calc(100% / 14) !important;
    min-width: calc(100% / 14) !important;
  }
  
  header {
    padding: 0 15px;
    height: 100px; /* Un poco más chico para ganar espacio */
  }

  .logo img {
    height: 90px; /* Logo más pequeño en mobile */
  }

  .nav a {
    font-size: 11px; /* Letra más chica para que entre todo */
    letter-spacing: 0.05em;
  }
  
  .card-img-wrap {
    height: 350px; 
    display: block;
    position: relative;
    background-color: #f5f1eb;
  }

  /* ESTO ES LO QUE TENÉS QUE AGREGAR/MODIFICAR: */
  .img-carrusel {
    display: block; /* Para que no se apilen horizontalmente */
    width: 50%;      /* Sigue siendo el 50% del track (que mide 200%) */
    min-width: 50%;  /* FUERZA a que ocupe toda la visual de la card */
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .productos { 
    grid-template-columns: 1fr; 
  }

  .hero h2 {
    font-size: 1.8rem; /* Título del hero más acorde al celu */
  }
    
  .btn-carrito {
    font-size: 11px;
  }

  .item-carrito img { 
    width: 56px; 
    height: 56px; 
  }
}

/* Las flechas solo las mostramos si hay mouse (PC) */
@media (hover: none) {
    .prev, .next {
        display: none; /* En celu no hacen falta flechas si podés deslizar */
    }
}

@media (min-width: 1024px) {
    /* En PC: evitamos que se vea la barra de scroll si el mouse hace algo raro */
    .card-img-wrap {
        overflow-y: hidden; 
    }
}
