/* AV Materas — capa UX/UI (carga después de style.css)
   Misma esencia: Signika, header negro, verde, ticks y fotos de producto.
   Sin el fondo de líneas. */

:root {
  --ink: #1a1410;
  --muted: #5e534b;
  --line: rgba(26, 20, 16, 0.1);
  --cream: #f6efe7;
  --cream-deep: #ead8c6;
  --paper: #fffdf9;
  --teal: #1d4542;
  --green: #18a745;
  --gold: #f0c14b;
  --shadow: 0 12px 28px rgba(70, 40, 16, 0.1);
  --shadow-hover: 0 18px 36px rgba(70, 40, 16, 0.16);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-image: none !important;
  background-color: var(--cream) !important;
  color: var(--ink);
  font-family: "Signika Negative", sans-serif;
}

/* Iconos: el * { font-family: Signika !important } de style.css los rompe */
.fi,
[class^="fi-"],
[class*=" fi-"] {
  font-family: uicons-brands !important;
}

.fa-solid,
.fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
}

.fa-brands,
.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400;
}

/* ---------- Header ---------- */
header {
  background-color: #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

header.abajo {
  background-color: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__cabecera {
  padding: 0 16px;
}

.img__cabecera-av {
  width: 104px;
}

.menu__text {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.menu__text:hover,
.menu__text:focus-visible {
  background-color: #fff;
  color: var(--ink);
}

.enlaces i {
  filter: none;
}

/* Bootstrap 5 subraya todos los <a>; quitarlo en redes */
.btn_redes a,
.btn_redes a:visited,
.btn_redes a:hover,
.btn_redes a:focus,
.btn_redes a:focus-visible,
.btn_redes a:active {
  color: #fff;
  text-decoration: none !important;
  border-bottom: none;
  box-shadow: none;
}

.btn_redes i {
  display: inline-block;
  line-height: 1;
  text-decoration: none !important;
}

/* ---------- Hero ---------- */
.inicio {
  background: #121619;
  /* Header fixed (9vh): evita que tape el carrusel */
  padding-top: 9vh;
}

#inicio .carousel-item img {
  display: block;
  width: 100%;
}

/* ---------- Títulos de sección ---------- */
.s1__title,
.s2__title,
.s3__title,
.s4__title,
.mmbt h3 {
  margin: 0 auto 8px;
  width: 100%;
  max-width: none;
  border: 0;
  padding: 0 16px;
  color: var(--ink);
  font-family: "Signika Negative", sans-serif !important;
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.s1__title::after,
.s2__title::after,
.s3__title::after,
.s4__title::after,
.mmbt h3::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.section1,
.section2,
.section3,
.section4 {
  padding: 28px 16px 48px;
}

.section2 {
  margin-top: 12px;
  margin-bottom: 12px;
}

/* ---------- Matera modular BT ---------- */
.mmbt {
  padding: 40px 20px 28px;
  background: transparent;
}

.mabt-general {
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

a.mabt {
  flex: 1 1 160px;
  max-width: 220px;
  padding: 18px 14px 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s ease;
}

a.mabt.mabt-central {
  max-width: 280px;
}

.mabt:hover {
  transform: translateY(-4px);
}

.mmbt h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.mabt img {
  width: 115px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(40, 18, 6, 0.18));
  transition: transform 0.3s ease;
}

.mabt:hover img {
  width: 115px;
  transform: scale(1.06);
}

.materaM,
.mabt:hover .materaM {
  width: 230px !important;
}

.mabt:hover .materaM {
  transform: scale(1.04);
}

.mabt .mmbtn {
  opacity: 1;
  margin: 14px 0 0;
}

/* ---------- Productos ---------- */
.cont__producto {
  max-width: 1180px;
}

.producto {
  margin: 16px;
  padding: 18px 16px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: visible;
}

.producto:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.enlace__productos {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: var(--ink);
}

.title__producto {
  margin: 4px 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.img__producto {
  object-fit: contain;
  background:
    radial-gradient(ellipse 70% 46% at 50% 82%, rgba(232, 208, 184, 0.55) 0%, transparent 72%);
  border-radius: 14px;
  filter: drop-shadow(0 12px 18px rgba(40, 18, 6, 0.18));
  transition: transform 0.35s ease;
}

.producto:hover .img__producto {
  transform: scale(1.03);
}

.precio {
  margin: 8px 0 10px;
  color: var(--teal);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.carac-g {
  height: auto;
  min-height: 0;
  gap: 4px 12px;
  margin-bottom: 8px;
  align-items: flex-start;
}

.carac-l {
  gap: 6px;
  margin: 3px 0;
}

.tiene {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.carac__p {
  height: auto;
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
  text-align: left;
}

/* ---------- Botones ---------- */
.btn__o-p,
.mmbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0 4px;
  padding: 11px 26px;
  border-radius: 999px;
  background-color: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn__o-p:hover,
.mmbtn:hover {
  background-color: var(--teal);
  color: #fff;
  transform: translateY(-1px);
}

.producto__btn {
  margin-top: 12px;
  margin-bottom: 8px;
  padding: 14px 36px;
  border-radius: 999px;
  background-color: var(--green);
  color: #fff;
  font-size: clamp(16px, 2.4vh, 20px);
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(24, 167, 69, 0.28);
}

.producto__btn:hover {
  background-color: #148a3a;
  color: #fff;
  box-shadow: 0 12px 26px rgba(24, 167, 69, 0.36);
}

/* ---------- Otros productos ---------- */
.otros-productos {
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.o-p__1 {
  flex: 1 1 auto;
  max-width: 280px;
  margin: 0;
  padding: 20px 16px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: visible;
  min-height: min-content;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.o-p__1:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.o-p__1 .btn__o-p {
  margin: 16px 0 0;
  flex-shrink: 0;
}

.o-p__1 h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.img__o-p,
.img__o-p2 {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.img__o-p:hover,
.img__o-p2:hover {
  width: 100%;
  max-width: 240px;
  transform: scale(1.04);
}

/* ---------- Galerías clientes / regalos ---------- */
.car_regalos,
.car_cli {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.s3__title {
  margin-top: 28px;
}

.wrapper {
  margin-bottom: 48px;
}

.slider {
  background: transparent;
}

/* ---------- Testimonios ---------- */
.testimonials .item {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.testimonials .item img {
  border: 4px solid var(--cream-deep);
}

.testimonials .item p {
  color: var(--muted);
  line-height: 1.5;
}

.testimonials .item h2 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.testimonials .item a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.dots label {
  background-color: #cbbba8;
}

#t-1:checked ~ .dots label[for="t-1"],
#t-2:checked ~ .dots label[for="t-2"],
#t-3:checked ~ .dots label[for="t-3"],
#t-4:checked ~ .dots label[for="t-4"],
#t-5:checked ~ .dots label[for="t-5"] {
  background-color: var(--teal);
}

/* ---------- Footer ---------- */
footer {
  background: var(--teal);
  color: var(--cream);
  font-size: 16px;
  font-weight: 500;
}

.top_header {
  gap: 12px;
  flex-wrap: wrap;
}

.top_header section {
  flex-direction: column;
  gap: 10px;
  padding: 8px;
}

.top_header span {
  padding: 0;
}

.top_header iframe {
  border: 0;
  border-radius: 16px;
  max-width: 100%;
}

.top_header a {
  color: var(--cream);
  text-decoration: none;
  font-size: 18px;
}

.top_header a:hover {
  color: var(--gold);
}

.top_header .fa-solid {
  color: var(--gold);
  font-size: 28px;
}

.bottom_content a {
  color: rgba(246, 239, 231, 0.85);
}

.bottom_content a:hover {
  color: var(--gold);
}

.copyright {
  background: #163836;
  color: rgba(246, 239, 231, 0.78);
}

.copyright a {
  color: var(--gold);
  text-decoration: none;
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(18, 140, 70, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 28px rgba(18, 140, 70, 0.5);
  color: #fff;
}

.whatsapp-float .fi-brands-whatsapp {
  color: #fff;
}

/* ---------- Móvil ---------- */
@media (max-width: 840px) {
  .mabt-general {
    flex-direction: column;
    align-items: center;
  }

  a.mabt,
  a.mabt.mabt-central {
    width: min(92%, 360px);
    max-width: 360px;
  }

  .producto {
    width: min(92%, 420px);
  }

  .o-p__1 {
    width: min(92%, 420px);
    max-width: 420px;
  }

  .carac-g {
    height: auto;
    justify-content: flex-start;
  }

  .enlaces.activado {
    background-color: #1a1410;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}
