/* --- HOME --- */
:root {
  /* Tu paleta de colores original */
  --white: #ffffff;
  --black: #121212;
  --bg-cream: #f5f0e8;
  --beige-border: #d9ccbd;
  --accent-red: #6e1b26;
  --terra: #c7735a;
  --taupe: #9a8f86;
  --brown-dark: #7a5848;
  --gold: #c79a52;
}

    /* Ajustes finos para pantallas muy pequeñas */
        @media (max-width: 350px) {
            .logo-text { font-size: 10px !important; }
            .hero-title { font-size: 10px !important; }
        }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'BebasNeue';
  src: url('BebasNeue-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'ArchivoBlack';
  src: url('ArchivoBlack-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'PoppinsLight';
  src: url('Poppins-Light.ttf') format('truetype');
}

body {
  font-family: 'PoppinsLight', sans-serif;
}

h1, h2, h3, h4 {
  font-family: 'BebasNeue', sans-serif;
}

h5, h6, .subtitle {
  font-family: 'ArchivoBlack', sans-serif;
}

/* --- NAVEGACIÓN --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--beige-border);
}

.header-section {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 1.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-center {
  justify-content: center;
}

.logo {
  font-size: 2rem;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -1px;
}

.nav-right {
  justify-content: flex-end;
  gap: 1rem;
}

/* --- HERO BANNER HOME --- */
.hero-banner {
  height: 100vh;
  position: relative;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4)),
    url("portada.jpg") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 5% 8%;
}

.hero-text h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.8;
  color: var(--white);
  margin-bottom: 1.5rem;
}

/* --- LUPITA BUSCADOR --- */
#search-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-cream);
  z-index: 2000;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 10vh 5% 5vh;
  animation: slideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#search-overlay.active {
  display: flex;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.search-input-wrapper {
  width: 100%;
  max-width: 800px;
  position: relative;
}

.search-input-large {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--black);
  font-family: "Abril Fatface", cursive;
  font-size: clamp(1.5rem, 5vw, 4rem);
  width: 100%;
  text-align: center;
  outline: none;
  text-transform: uppercase;
  padding-bottom: 1rem;
}

/* Sugerencias de búsqueda */
#search-results-list {
  width: 100%;
  max-width: 600px;
  margin-top: 2rem;
  max-height: 50vh;
  overflow-y: auto;
}

.search-suggestion {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: background 0.3s;
}

.search-suggestion:hover {
  background: rgba(0, 0, 0, 0.03);
}

.search-suggestion img {
  width: 50px;
  height: 60px;
  object-fit: cover;
  margin-right: 1.5rem;
  border-radius: 2px;
}

/* --- SHOP THE LOOK --- */
.shop-section {
  padding: 80px 8% 40px;
  background-color: var(--white);
}

.mini-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.mini-product-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}

.mini-product-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.mini-product-price {
  font-size: 0.7rem;
  color: var(--terra);
  font-weight: 600;
}

/* --- ERA LOOKBOOK COLLAGE --- */
.lookbook-section {
  padding: 60px 0;
  background-color: var(--white);
}

.compact-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  width: 100%;
}

.collage-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.collage-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

.collage-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(110, 27, 38, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.collage-item:hover .collage-overlay {
  opacity: 1;
}

.overlay-text {
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid var(--white);
  padding: 5px 10px;
}

/* --- BRAND SLOGAN SECTION --- */
.slogan-banner {
  height: 60vh;
  position: relative;
  background: url("emma tocador.JPG")
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.slogan-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.45);
}

.slogan-content {
  position: relative;
  z-index: 10;
  padding: 0 10%;
}

.slogan-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -2px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slogan-tagline {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  margin-top: 1.5rem;
  opacity: 1;
}

/* --- AT·ERA GIRLS (Community) --- */
.community-section {
  background: var(--white); /* Cambiado a blanco para mayor frescura */
  padding: 80px 0;
  overflow: hidden;
  border-top: 1px solid var(--beige-border);
}

.ig-profile-header {
  max-width: 935px;
  margin: 0 auto 50px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  gap: 30px;
}

.ig-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(
    45deg,
    var(--gold),
    var(--terra),
    var(--accent-red)
  );
}

.ig-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--white);
  padding: 2px;
}

.ig-follow-btn {
  background-color: var(--black);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}

.ig-follow-btn:hover {
  background-color: var(--accent-red);
}

.marquee-wrapper {
  width: fit-content;
  overflow: hidden;
}

.marquee-container {
  --gap: 9px;
  --loop-width: 0px;
  display: flex;
  align-items: stretch;
  gap: var(--gap);
  width: fit-content;
  animation: marquee 300s linear infinite;
}

.marquee-container:hover {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  gap: var(--gap);
  flex-shrink: 0;
}

.ig-post-card {
  width: 200px;
  margin: 0;
  background: var(--bg-cream);
  border-radius: 4px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--beige-border);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--loop-width)));
  }
}

.post-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.post-footer-minimal {
  padding: 10px;
  text-align: center;
}

.post-prenda {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  color: var(--black);
}

.post-era {
  font-size: 0.55rem;
  color: var(--terra);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 2px;
  display: block;
}

/* --- PAGINA NUEVO --- */
/* --- DISEÑO EDITORIAL: NUEVO --- */
.era-hero {
  height: 100vh;
  width: 100%;
  position: relative;
  background-color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.era-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.era-title-container {
  position: absolute;
  z-index: 10;
  text-align: center;
  color: var(--white);
}

.era-title-container h2 {
  font-size: clamp(4rem, 15vw, 12rem);
  line-height: 0.8;
  letter-spacing: -2px;
}

.era-subtitle {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.section-divider-text {
  padding: 4rem 5% 0;
  text-align: center;
}

.section-divider-text h3 {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.6em;
  color: var(--black);
  opacity: 0.4;
  position: relative;
  display: inline-block;
}

.product-grid-editorial {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 4rem;
  padding: 5vh 5% 10vh;
}

@media (min-width: 768px) {
  .product-grid-editorial {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.editorial-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.editorial-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #e2ded7;
  margin-bottom: 1.5rem;
}

.editorial-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.editorial-item:hover img {
  transform: scale(1.08);
}

.editorial-info {
  text-align: center;
}

.editorial-info h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.editorial-info span {
  font-size: 0.65rem;
  color: var(--taupe);
  letter-spacing: 1px;
}

/* --- SECCIÓN ERAS: FORMATO RECTANGULAR --- */
.era-archive-container {
  padding: 140px 5% 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.era-rect-item {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .era-rect-item {
    aspect-ratio: 16/9;
  }
}

.era-rect-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.7);
}

.era-rect-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.85);
}

.era-rect-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
  pointer-events: none;
}

.era-rect-content h3 {
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: -1px;
}

.era-rect-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
  opacity: 0.8;
}

/* --- ESTILOS DE PRODUCTO --- */
.product-card {
  cursor: pointer;
}
.product-card .img-container {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #e5e5e5;
  margin-bottom: 1rem;
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.product-card:hover img {
  transform: scale(1.04);
}

/* --- ABOUT US --- */

body {
  font-family: "Montserrat", sans-serif;
  color: var(--black);
  background-color: var(--bg-cream);
  overflow-x: hidden;
}

/* --- ANIMACIONES --- */

.img-static-container {
  overflow: hidden;
  background-color: #eee;
  position: relative;
}

.img-static-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Marquee refinado */
.ticker {
  background: white;
  padding: 20px 0;
  border-top: 1px solid var(--beige-border);
  border-bottom: 1px solid var(--beige-border);
  overflow: hidden;
  display: flex;
  margin: 40px 0;
}

.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-text {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
  padding: 0 40px;
}

/* --- CÓMO LLEVARLO --- */
/* --- SECCIÓN CÓMO LLEVARLO --- */
.wear-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 2;
}

.hero-title {
  position: relative;
  z-index: 3;
  color: white;
}

/* Contenedor de video vertical (9:16) tipo TikTok */
.video-text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 8%;
  gap: 2rem;
}

.tiktok-style-video {
  width: 100%;
  max-width: 320px; /* Ancho típico de un reel/tiktok en web */
  aspect-ratio: 9/16;
  background: #000;
  margin-left: auto; /* Empuja el video a la derecha */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tiktok-style-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.horizontal-banner {
  width: 100%;
  height: 60vh;
  overflow: hidden;
  margin: 40px 0;
}

.horizontal-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .video-text-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tiktok-style-video {
    margin: 0 auto;
  }
}

/* --- NUESTRA ESENCIA --- */
/* --- SECCIONES --- */
.hero-video {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-video video,
.hero-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.section-padding {
  padding: 100px 8%;
}

.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.talleres-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.talleres-gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 2px;
}

/* --- NUEVA FOTO GRANDE CUADRADA --- */
.full-square-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 100px;
  padding: 0 5%;
}

.square-img-wrapper {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.square-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.square-img-wrapper:hover img {
  transform: scale(1.05);
}

/* --- PRE-ORDER --- */
.content-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 5%;
}

.info-block {
  margin-bottom: 50px;
}

.info-block h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.info-block p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.divider {
  height: 1px;
  background-color: var(--border);
  margin: 40px 0;
}

.btn-black {
  background: var(--black);
  color: white;
  padding: 15px 40px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  transition: opacity 0.3s;
}

/* --- CONTACTO --- */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 5%;
  text-align: center;
}

.contact-item {
  margin-bottom: 4rem;
}

.label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--terra);
  margin-bottom: 1rem;
  display: block;
}

.link-text {
  font-size: 1.25rem;
  font-weight: 400;
  transition: opacity 0.3s;
}

.link-text:hover {
  opacity: 0.5;
}

/* --- PRENDAS --- */
/* --- CONTENEDOR PRINCIPAL --- */
.main-content {
  padding-top: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.product-card-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 70px auto;
}

@media (min-width: 768px) {
  .product-card-layout {
    flex-direction: row;
    align-items: stretch;
  }
}

/* --- CARRUSEL DE IMÁGENES --- */
.slider-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* Contenedor con scroll horizontal */
.image-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* Ocultar scrollbar en IE */
  scrollbar-width: none; /* Ocultar scrollbar en Firefox */
}

.image-slider::-webkit-scrollbar {
  display: none; /* Ocultar scrollbar en Chrome/Safari */
}

.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  height: 70vh; /* Altura controlada */
}

@media (min-width: 768px) {
  .slide {
    height: 85vh;
  }
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Indicadores (Dots) */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.2);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--black);
}

/* --- INFO PRODUCTO --- */
.info-container {
  flex: 1;
  padding: 40px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.breadcrumb {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  color: var(--taupe);
}

.product-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.price {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  color: var(--terra);
}

.description {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.7;
  margin-bottom: 3rem;
  max-width: 450px;
}

.size-info {
  border-top: 1px solid var(--beige-border);
  padding-top: 2rem;
  margin-bottom: 3rem;
  max-width: 450px;
}

.info-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.info-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--taupe);
}

.add-to-cart-btn {
  background: var(--black);
  color: var(--white);
  padding: 22px;
  width: 100%;
  max-width: 450px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--black);
}

.add-to-cart-btn:hover {
  background: transparent;
  color: var(--black);
}

.footer-specs {
  margin-top: 40px;
  display: flex;
  gap: 40px;
  opacity: 0.5;
}

.spec-item h4 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;

}

.spec-item p {
  font-size: 10px;
}

/* --- CARRITO --- */
/* --- CARRITO LATERAL (DRAWER) --- */
#cart-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-cream);
  z-index: 2000;
  transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
#cart-panel.active {
  right: 0;
}

.cart-header {
  padding: 2rem;
  border-bottom: 1px solid var(--beige-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}
.cart-footer {
  padding: 2rem;
  border-top: 1px solid var(--beige-border);
  background: var(--white);
}

.cart-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
  animation: slideIn 0.3s ease;
}
.cart-item img {
  width: 70px;
  height: 90px;
  object-fit: cover;
  border-radius: 2px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mini-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  padding: 40px 5%;
}
.product-card {
  background: white;
  padding: 15px;
  border-radius: 4px;
  transition: transform 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 1rem;
}

.btn-add {
  width: 100%;
  background: var(--black);
  color: white;
  padding: 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
  transition: opacity 0.3s;
}
.btn-add:hover {
  opacity: 0.8;
}

/* --- FOOTER (NUEVOS COLORES) --- */
footer {
  padding: 80px 8% 40px;
  background: var(
    --beige-border
  ); /* Usando el color arena/beige para el fondo del footer */
  color: var(--brown-dark); /* Texto en marrón oscuro para suavizar */
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(
    --accent-red
  ); /* Títulos en granate para que resalten sobre el arena */
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.footer-link {
  transition: all 0.3s;
  color: var(--brown-dark);
  opacity: 0.8;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--accent-red);
  opacity: 1;
  padding-left: 5px;
}

.newsletter-input {
  border-bottom: 2px solid var(--taupe);
  color: var(--black);
  padding: 5px 0;
  transition: border-color 0.3s;
}

.newsletter-input:focus {
  border-color: var(--accent-red);
}

.newsletter-input::placeholder {
  color: var(--taupe);
  font-weight: 400;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid rgba(122, 88, 72, 0.2);
  text-align: center;
  gap: 20px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

@media (max-width: 1024px) {
  .compact-collage {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .compact-collage {
    grid-template-columns: repeat(3, 1fr);
  }
  .ig-post-card {
    width: 160px;
  }
  .slogan-banner {
    height: 40vh;
  }
}

.cart-trigger {
  position: relative;
}

.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent-red);
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

#search-results {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: hidden; /* IE y Edge antiguos */
}

#search-results-list::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  position: relative;
  width: 90%;
  max-width: 420px;
  background: #fff;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  text-align: center;
}

.popup-box h2 {
  margin-bottom: 10px;
}

.popup-box p {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.4;
}

.popup-box form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.popup-box input[type="email"] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.popup-box button[type="submit"] {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: black;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

.popup-checkbox {
  font-size: 13px;
  text-align: left;
  line-height: 1.4;
}

.popup-checkbox input {
  margin-right: 8px;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* --- PÁGINA PRIVACIDAD / LEGAL --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.muted {
  color: var(--brown-dark);
  opacity: 0.88;
  line-height: 1.85;
  font-size: 0.95rem;
}

/* HERO LEGAL */
.page-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 60px;
  background:
    linear-gradient(to bottom, rgba(18, 18, 18, 0.18), rgba(18, 18, 18, 0.45)),
    linear-gradient(135deg, #f7f2eb 0%, #efe4d7 45%, #e5d4c6 100%);
  border-bottom: 1px solid var(--beige-border);
}

.page-hero--empresa {
  background:
    linear-gradient(to bottom, rgba(18, 18, 18, 0.18), rgba(18, 18, 18, 0.45)),
    linear-gradient(135deg, #f7f2eb 0%, #efe4d7 45%, #e5d4c6 100%);
}

.page-hero-inner {
  width: 100%;
  max-width: 900px;
}

.page-title {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  margin: 0 0 1.2rem;
  line-height: 0.9;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-title-line {
  display: block;
  font-size: clamp(3rem, 8vw, 6.2rem);
}

.page-subtitle {
  max-width: 680px;
  color: var(--white);
  opacity: 0.92;
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 500;
}

/* SECCIÓN CONTENIDO */
.biz-section {
  padding: 70px 0 90px;
  background: var(--bg-cream);
}

.biz-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(217, 204, 189, 0.9);
  border-radius: 18px;
  padding: 38px 34px;
  box-shadow: 0 18px 45px rgba(18, 18, 18, 0.05);
}

.biz-title {
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1;
  letter-spacing: 0.3px;
  color: var(--black);
  margin: 0 0 1rem;
}

.biz-card p + p,
.biz-card ul + p,
.biz-card hr + p,
.biz-card hr + ul,
.biz-card p + ul,
.biz-card h2 + p,
.biz-card h2 + ul {
  margin-top: 1rem;
}

.biz-bullets {
  padding-left: 1.2rem;
  margin: 0;
}

.biz-bullets li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.biz-bullets li::marker {
  color: var(--terra);
}

.pack-divider {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(199, 115, 90, 0.45) 18%,
    rgba(217, 204, 189, 1) 50%,
    rgba(199, 115, 90, 0.45) 82%,
    transparent 100%
  );
  margin: 2rem 0;
}

.biz-card a {
  color: var(--accent-red);
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.biz-card a:hover {
  color: var(--terra);
  opacity: 1;
}

/* PEQUEÑO TOQUE PARA TEXTOS EN NEGRITA DENTRO DE LEGAL */
.biz-card strong {
  color: var(--black);
  font-weight: 700;
}

/* AJUSTES RESPONSIVE */
@media (max-width: 768px) {
  .page-hero {
    min-height: 48vh;
    padding: 120px 0 45px;
    align-items: flex-end;
  }

  .page-title-line {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .page-subtitle {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .biz-section {
    padding: 50px 0 70px;
  }

  .biz-card {
    padding: 26px 20px;
    border-radius: 14px;
  }

  .biz-title {
    font-size: 1.35rem;
  }

  .muted {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .biz-bullets {
    padding-left: 1rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding-top: 110px;
  }

  .page-subtitle {
    font-size: 0.84rem;
  }

  .biz-card {
    padding: 22px 16px;
  }
}