/* ===== BASE.CSS - ESTILOS GENERALES ===== */

:root {
  --bg: #f3f6fb;
  --soft: #eef4ff;
  --card: #ffffff;
  --text: #1b2330;
  --muted: #5f6b7a;
  --primary: #19376D;
  --primary2: #1B396A;
  --accent: #d32f2f;
  --gold: #FFD700;
  --green: #25D366;
  --shadow: 0 16px 34px rgba(16,24,40,0.12);
  --shadow2: 0 10px 22px rgba(16,24,40,0.10);
  --radius: 16px;
  --radius2: 22px;
  --max: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

/* ===== Header & Nav ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(90deg, var(--primary), #214a92);
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 14px 0; position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.brand__logo {
  width: 56px; height: 56px; object-fit: contain;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 14px; padding: 8px;
}
.brand__title { font-weight: 900; color: #fff; line-height: 1.1; font-size: 16px; }
.brand__subtitle { color: rgba(255,255,255,0.82); font-size: 12px; margin-top: 4px; }

/* Botón Menú Móvil */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; height: 24px; background: transparent; border: none;
  cursor: pointer; padding: 0; z-index: 1002;
}
.nav-toggle span {
  display: block; height: 3px; background: #fff; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.nav { display: flex; align-items: center; gap: 10px; }
.nav__link {
  color: #fff; font-weight: 800; font-size: 14px;
  padding: 10px 12px; border-radius: 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; gap: 8px;
  transition: transform .15s ease, background .2s ease;
}
.nav__link:hover { background: rgba(255,255,255,0.20); transform: translateY(-1px); }

/* ===== Hero & Slider ===== */
.hero {
  padding: 42px 0 10px;
  background: radial-gradient(900px 320px at 15% 10%, rgba(255,215,0,0.10), transparent 55%),
              radial-gradient(900px 320px at 85% 0%, rgba(211,47,47,0.10), transparent 55%),
              linear-gradient(180deg, rgba(25,55,109,0.06), transparent 80%);
}
.hero__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 28px; align-items: center; }
.hero__title { margin: 12px 0 10px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; }
.hero__text { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* Slider */
.slider {
  position: relative; border-radius: var(--radius2); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(16,24,40,0.10);
  background: #0b1220; aspect-ratio: 16 / 9; min-height: 320px;
}
.slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .55s ease, transform .7s ease; }
.slide.is-active { opacity: 1; transform: scale(1); }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.sliderBtn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.30); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.sliderBtn:hover { background: rgba(0,0,0,0.45); transform: translateY(-50%) scale(1.04); }
.sliderBtn--prev { left: 12px; }
.sliderBtn--next { right: 12px; }

.dots {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 8px;
}
.dot {
  width: 10px; height: 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.30); cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.dot.is-active { background: rgba(255,255,255,0.95); transform: scale(1.2); }

/* Overlay Slider */
.slide__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.00) 40%, rgba(0,0,0,0.62) 100%),
              radial-gradient(600px 220px at 20% 80%, rgba(255,215,0,0.22), transparent 55%),
              radial-gradient(600px 220px at 80% 80%, rgba(211,47,47,0.18), transparent 55%);
}
.overlayCard {
  width: min(380px, 100%);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 14px 14px 12px;
  color: #fff;
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
  transform: translateY(10px);
  opacity: .92;
  transition: transform .25s ease, opacity .25s ease;
}
.slider:hover .overlayCard { transform: translateY(0); opacity: 1; }
.overlayCard__top { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-radius: 999px;
  font-weight: 900; font-size: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.20);
}
.badge--gold { background: rgba(255,215,0,0.18); border-color: rgba(255,215,0,0.35); }
.overlayCard h3 { margin: 0 0 6px; font-size: 18px; }
.overlayCard p { margin: 0 0 10px; font-size: 13px; color: rgba(255,255,255,0.88); line-height: 1.5; }

/* ===== Botones Generales ===== */
.btn {
  display: inline-flex; gap: 10px; align-items: center; justify-content: center;
  padding: 12px 16px; border-radius: 14px; font-weight: 900;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow2); }
.btn--primary { background: linear-gradient(180deg, var(--accent), #b71c1c); color: #fff; }
.btn--ghost { background: rgba(25,55,109,0.08); border-color: rgba(25,55,109,0.18); color: var(--primary2); }
.btn--light { background: rgba(255,255,255,0.95); border-color: rgba(255,255,255,0.55); color: var(--primary2); }
.btn--small { padding: 10px 12px; border-radius: 12px; font-size: 13px; }
.w100 { width: 100%; }

/* ===== Feature Cards ===== */
.feature {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(16,24,40,0.08);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 12px 20px rgba(16,24,40,0.06);
  display: flex; gap: 10px; align-items: flex-start;
  transition: transform .15s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow2); }
.feature i { color: var(--primary2); font-size: 18px; margin-top: 2px; }
.feature strong { display: block; font-size: 13px; }
.feature span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ===== Cards (Productos) ===== */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.card {
  background: var(--card); border: 1px solid rgba(16,24,40,0.08);
  border-radius: var(--radius); padding: 18px;
  box-shadow: 0 14px 24px rgba(16,24,40,0.06);
  transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: -40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: rotate(20deg) translateX(-60%);
  transition: transform .6s ease; pointer-events: none;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(211,47,47,0.18); }
.card:hover::after { transform: rotate(20deg) translateX(60%); }

.card__img {
  height: 160px; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(16,24,40,0.06); margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(25,55,109,0.06), rgba(211,47,47,0.04));
  position: relative;
}
.card__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1); transition: transform .45s ease;
}
.card:hover .card__img img { transform: scale(1.08); }
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; }

/* Cards de aspectos */
.card--accent .card__icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(25,55,109,0.10);
  border: 1px solid rgba(25,55,109,0.18);
  color: var(--primary2); margin-bottom: 10px; font-size: 18px;
  transition: transform .2s ease;
}
.card--accent:hover .card__icon { transform: scale(1.06); }

.miniList { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.miniList li { margin: 7px 0; }

/* ===== TwoCol / Conócenos ===== */
.twoCol { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.twoCol__text p { color: var(--muted); line-height: 1.65; }
.checkList { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 10px; }
.checkList li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.checkList i { color: var(--green); margin-top: 2px; }
.inlineBtns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

/* ===== Mosaic con Imágenes ===== */
.twoCol__media { align-self: center; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.mosaic__item {
  position: relative; overflow: hidden; border-radius: 22px;
  border: 1px solid rgba(16,24,40,0.10); background: #0b1220;
  box-shadow: 0 16px 30px rgba(16,24,40,0.12);
  aspect-ratio: 16/11; margin: 0;
}
.mosaic__item--big { grid-column: 1 / -1; aspect-ratio: 16/9; min-height: 220px; }

.mosaic__item img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1); transition: transform .7s ease;
  filter: saturate(1.05) contrast(1.05);
}
.mosaic__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.00) 45%, rgba(0,0,0,0.55) 100%);
  opacity: 0.85; transition: opacity .25s ease;
}
.mosaic__item:hover img { transform: scale(1.08); }
.mosaic__item:hover::after { opacity: 1; }

.mosaic__item figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  color: #fff; padding: 12px 12px; border-radius: 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(10px);
  transform: translateY(10px); opacity: 0.92;
  transition: transform .25s ease, opacity .25s ease;
}
.mosaic__item:hover figcaption { transform: translateY(0); opacity: 1; }

.cap__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 12px; padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,215,0,0.18);
  border: 1px solid rgba(255,215,0,0.35);
  margin-bottom: 8px;
}
.mosaic__item figcaption strong { display: block; font-size: 16px; letter-spacing: .2px; }
.mosaic__item figcaption small { display: block; margin-top: 4px; color: rgba(255,255,255,0.88); font-size: 12.5px; }
.cap--mini { padding: 10px 12px; }

.mosaic__box {
  height: 140px; border-radius: 18px;
  border: 1px solid rgba(16,24,40,0.08);
  background: radial-gradient(260px 140px at 30% 30%, rgba(255,215,0,0.22), transparent 60%),
              radial-gradient(260px 140px at 70% 70%, rgba(211,47,47,0.18), transparent 60%),
              linear-gradient(180deg, rgba(25,55,109,0.18), rgba(255,255,255,0));
  box-shadow: 0 16px 26px rgba(16,24,40,0.08);
}
.mosaic__box--big { grid-column: 1/-1; height: 190px; }

.noteCard {
  margin-top: 12px; display: flex; gap: 10px; align-items: flex-start;
  background: var(--card); border: 1px solid rgba(16,24,40,0.08);
  border-radius: 18px; padding: 14px;
  box-shadow: 0 14px 20px rgba(16,24,40,0.06);
  transition: transform .15s ease, box-shadow .2s ease;
}
.noteCard:hover { transform: translateY(-2px); box-shadow: var(--shadow2); }
.noteCard i { color: var(--accent); font-size: 18px; margin-top: 3px; }
.noteCard p { margin: 4px 0 0; color: var(--muted); }

/* ===== Ubicación/Mapa ===== */
.twoCol--map { grid-template-columns: 0.9fr 1.1fr; }
.infoBox {
  background: var(--card); border: 1px solid rgba(16,24,40,0.08);
  border-radius: var(--radius); padding: 18px;
  box-shadow: 0 14px 24px rgba(16,24,40,0.06);
}
.infoList { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 12px; }
.infoList li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.infoList i { width: 22px; margin-top: 2px; color: var(--primary2); }
.link {
  color: var(--primary2); font-weight: 900;
  text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.mapWrap {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(16,24,40,0.08);
  box-shadow: var(--shadow); background: #fff; min-height: 360px;
}
.mapWrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ===== Footer ===== */
.footer {
  background: linear-gradient(90deg, var(--primary), #214a92);
  color: #fff; padding: 34px 0 24px; margin-top: 30px;
}
.footer__grid { display: grid; grid-template-columns: 180px 1fr 180px; gap: 18px; align-items: center; }
.footer__logo img { max-height: 140px; object-fit: contain; margin: 0 auto; }
.footer__logo.right img { margin-left: auto; }
.footer__info { text-align: center; }
.footer__info h3 { margin: 0 0 10px; font-size: 18px; }
.footerLine { margin: 6px 0; color: rgba(255,255,255,0.9); }
.ico { display: inline-block; width: 22px; }
.gold { color: var(--gold); }
.green { color: var(--green); }
.footer__bottom { text-align: center; margin-top: 16px; }
.divider { height: 1px; background: rgba(255,255,255,0.20); margin: 14px 0 10px; }
.footer__bottom .muted { color: rgba(255,255,255,0.82); }

/* WhatsApp Flotante */
.whatsapp {
  position: fixed; right: 18px; bottom: 18px;
  width: 58px; height: 58px; border-radius: 999px;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 18px 34px rgba(37,211,102,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  z-index: 60; transition: transform .15s ease;
}
.whatsapp i { font-size: 28px; }
.whatsapp:hover { transform: translateY(-2px) scale(1.03); }

/* Utilidades */
.section { padding: 56px 0; }
.section--soft {
  background: radial-gradient(1200px 400px at 50% 0%, rgba(25,55,109,0.12), transparent 60%),
              linear-gradient(180deg, var(--soft), rgba(255,255,255,0));
}
.sectionHead { text-align: center; margin-bottom: 22px; }
.sectionHead h2 { margin: 0; font-size: clamp(22px, 2.6vw, 32px); }
.sectionHead p { margin: 8px auto 0; max-width: 720px; color: var(--muted); }

.pill {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(25,55,109,0.10);
  border: 1px solid rgba(25,55,109,0.16);
  color: var(--primary2); font-weight: 900; font-size: 12px;
}

.productPlaceholder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.productPlaceholder__left, .productPlaceholder__right {
  background: var(--card); border: 1px solid rgba(16,24,40,0.08);
  border-radius: var(--radius); padding: 18px;
  box-shadow: 0 14px 24px rgba(16,24,40,0.06);
}
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.chip {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 8px 10px; border-radius: 999px;
  background: rgba(25,55,109,0.08);
  border: 1px solid rgba(25,55,109,0.16);
  color: var(--primary2); font-weight: 900; font-size: 12px;
}
.hint {
  display: flex; gap: 10px; align-items: center; color: var(--muted);
  background: rgba(255,215,0,0.10);
  border: 1px solid rgba(255,215,0,0.22);
  padding: 10px 12px; border-radius: 14px;
}
.emptyState {
  border-radius: 18px; border: 1px dashed rgba(25,55,109,0.30);
  background: linear-gradient(180deg, rgba(25,55,109,0.04), rgba(255,255,255,0));
  padding: 22px; text-align: center;
}
.emptyState i { font-size: 26px; color: var(--primary2); margin-bottom: 8px; }
.emptyState.small { padding: 16px; }
.muted { color: var(--muted); }
/* ====== RESPONSIVE CRÍTICO - MÓVILES ====== */

@media (max-width: 768px) {
  
  /* ===== HEADER ===== */
  .header__inner {
    flex-wrap: wrap;
    padding: 10px 15px;
  }
  
  .brand {
    min-width: auto;
    flex: 1;
  }
  
  .brand__logo {
    width: 45px;
    height: 45px;
  }
  
  .brand__title {
    font-size: 14px;
  }
  
  .brand__subtitle {
    display: none;
  }
  
  /* Nav Toggle */
  .nav-toggle {
    display: flex !important;
  }
  
  /* Nav Menú */
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #19376D;
    flex-direction: column;
    padding: 25px 20px;
    gap: 10px;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .nav__link {
    padding: 16px 20px;
    font-size: 1.1rem;
    color: white;
    border-left: 4px solid transparent;
    width: 100%;
    justify-content: flex-start;
  }
  
  .nav__link:hover {
    background: rgba(255,255,255,0.2);
    border-left-color: #FFD700;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  /* ===== PRODUCTOS.PHP - CORRECCIONES ===== */
  
  /* Contenedor con padding */
  .container {
    padding: 0 10px;
  }
  
  h1 {
    font-size: 24px;
    margin-bottom: 25px;
  }
  
  /* Dropdowns */
  .categoria-menu,
  .filtro-marca {
    padding: 15px;
    margin: 20px 0;
  }
  
  details div a {
    padding: 6px 12px;
    font-size: 13px;
    margin: 4px;
  }
  
  /* Grid de productos */
  .productos-contenedor {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 5px;
  }
  
  /* Tarjeta de producto - NO 100% */
  .producto-card {
    max-width: 95%;
    margin: 0 auto;
    width: calc(100% - 10px);
  }
  
  /* Imagen CONTENIDA, no 100% */
  .producto-imagen {
    height: 160px;
    padding: 15px;
  }
  
  .producto-imagen img {
    max-height: 130px;
    max-width: 90%;
    margin: 0 auto;
    display: block;
  }
  
  /* Info del producto */
  .producto-info {
    padding: 15px;
  }
  
  .producto-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  /* Marca badge */
  .producto-marca {
    font-size: 11px;
    padding: 3px 6px;
    margin-bottom: 10px;
  }
  
  /* Descripción - NO 100% */
  .descripcion-accesorio {
    margin: 10px auto;
    padding: 10px;
    max-width: 95%;
    font-size: 13px;
    text-align: left;
  }
  
  /* Medida construcción */
  .medida-construccion {
    margin: 10px auto;
    padding: 10px;
    max-width: 95%;
    font-size: 13px;
    text-align: center;
  }
  
  /* Precio */
  .precio {
    margin: 12px auto;
    font-size: 18px;
    max-width: 90%;
    text-align: center;
  }
  
  /* Stock */
  .stock-info {
    margin: 10px auto;
    padding: 8px;
    max-width: 95%;
    font-size: 13px;
  }
  
  /* Formularios */
  .form-compra {
    margin-top: 15px;
  }
  
  .form-group {
    margin: 10px 0;
  }
  
  .form-group label {
    font-size: 13px;
  }
  
  .form-group input,
  .form-group select {
    font-size: 14px;
    padding: 8px;
  }
  
  /* Botones */
  .btn {
    display: block;
    margin: 12px auto;
    max-width: 95%;
    text-align: center;
    padding: 10px 15px;
  }
  
  /* Botón Ver Más */
  .btn-ver-mas {
    margin: 12px auto;
    max-width: 95%;
    padding: 10px 15px;
    font-size: 13px;
  }
  
  /* Selector de colores */
  .selector-color {
    margin: 12px auto;
    max-width: 95%;
  }
  
  .colores-grid {
    grid-template-columns: repeat(auto-fill, minmax(65px, 1fr)) !important;
    gap: 8px;
  }
  
  .color-preview {
    width: 35px !important;
    height: 35px !important;
  }
  
  .color-nombre {
    font-size: 9px;
    max-width: 60px;
  }
  
  /* ===== INDEX.PHP - SECCIONES ===== */
  
  /* Hero */
  .hero {
    padding: 30px 0 10px;
  }
  
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hero__title {
    font-size: 26px;
  }
  
  .hero__text {
    font-size: 14px;
  }
  
  .hero__actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero__actions .btn {
    width: 100%;
  }
  
  .hero__features {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .feature {
    padding: 10px;
  }
  
  /* Slider */
  .slider {
    min-height: 220px;
    aspect-ratio: 16/10;
  }
  
  .overlayCard {
    width: min(300px, 95%);
    padding: 12px;
  }
  
  .overlayCard h3 {
    font-size: 15px;
  }
  
  .overlayCard p {
    font-size: 12px;
  }
  
  .sliderBtn {
    display: none;
  }
  
  /* Secciones */
  .section {
    padding: 40px 0;
  }
  
  .sectionHead h2 {
    font-size: 22px;
  }
  
  /* Conócenos */
  .twoCol {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 5px;
  }
  
  .twoCol__text h3 {
    font-size: 18px;
  }
  
  .twoCol__text p {
    font-size: 14px;
  }
  
  .checkList {
    padding: 0 5px;
  }
  
  .checkList li {
    font-size: 14px;
  }
  
  .inlineBtns {
    flex-direction: column;
    gap: 10px;
  }
  
  .inlineBtns .btn {
    width: 100%;
  }
  
  /* Mosaic */
  .twoCol__media {
    order: -1;
  }
  
  .mosaic {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .mosaic__item--big {
    grid-column: auto;
    min-height: 180px;
  }
  
  .mosaic__item figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px;
    font-size: 12px;
  }
  
  /* Cards */
  .cards3 {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 5px;
  }
  
  .card {
    padding: 18px;
  }
  
  .card h3 {
    font-size: 17px;
  }
  
  .card p {
    font-size: 14px;
  }
  
  /* Reseñas */
  .reviewsGrid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .reviewForm,
  .reviewList {
    padding: 18px;
  }
  
  .reviewScroller {
    gap: 10px;
  }
  
  .reviewCard {
    width: min(280px, 90%);
  }
  
  /* Ubicación */
  .twoCol--map {
    grid-template-columns: 1fr;
    padding: 0 5px;
  }
  
  .infoBox {
    padding: 18px;
    margin-bottom: 20px;
  }
  
  .infoList li {
    font-size: 14px;
  }
  
  .mapWrap {
    min-height: 280px;
  }
  
  .mapWrap iframe {
    min-height: 280px;
  }
  
  /* Footer */
  .footer {
    padding: 30px 0 20px;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }
  
  .footer__logo img {
    max-height: 80px;
    margin: 0 auto;
  }
  
  .footer__logo.right img {
    margin: 0 auto;
  }
  
  .footer__info h3 {
    font-size: 16px;
  }
  
  .footerLine {
    font-size: 13px;
  }
  
  /* WhatsApp flotante */
  .whatsapp,
  .carrito-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp i {
    font-size: 24px;
  }
}

/* Pantallas muy pequeñas */
@media (max-width: 480px) {
  .producto-card {
    max-width: 98%;
  }
  
  .producto-imagen {
    height: 140px;
    padding: 10px;
  }
  
  .producto-imagen img {
    max-height: 110px;
    max-width: 95%;
  }
  
  .producto-info {
    padding: 12px;
  }
  
  .descripcion-accesorio,
  .medida-construccion {
    font-size: 12px;
    padding: 8px;
  }
  
  .precio {
    font-size: 16px;
  }
  
  .btn {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  .hero__title {
    font-size: 22px;
  }
  
  .sectionHead h2 {
    font-size: 20px;
  }
}
