
 /* ==============================
   HEADER RESPONSIVE
   ============================== */

/* --- Móviles y tablets --- */
@media (max-width: 768px) {
  .top-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 15px;
  }

  /* Ocultar logo de escritorio */
  .logo-social {
    display: none;
  }

  /* Centrar el nombre */
  .logo {
    text-align: center;
    grid-column: 2;
  }

  .logo span {
    font-size: 1rem;
  }

  /* User icons (usuario + buscar) a la izquierda */
  .user-icons {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    grid-column: 1;
  }

  /* Ocultar carrito dentro de .user-icons en móvil */
  .user-icons .fa-shopping-cart {
    display: none;
  }

  /* Carrito y hamburguesa a la derecha */
  .right-icons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    grid-column: 3;
  }

  .menu-toggle {
    font-size: 1.5rem;
    cursor: pointer;
  }

  /* Ocultar nav normal en móvil */
  .nav-bar {
    display: none;
  }
}

/* --- Movil S (320px) --- */
@media (max-width: 320px) {
  .logo span {
    font-size: 0.9rem;
  }

  .user-icons {
    gap: 8px;
    font-size: 0.9rem;
  }
}

/* --- Movil M (375px) --- */
@media (max-width: 375px) {
  .logo span {
    font-size: 1rem;
  }
}

/* --- Movil L (425px) --- */
@media (max-width: 425px) {
  .logo span {
    font-size: 1.1rem;
  }
}

/* --- Tablet (768px) --- */
@media (max-width: 768px) {
  .logo span {
    font-size: 1.3rem;
  }
}

/* --- Escritorio (769px en adelante) --- */
@media (min-width: 769px) {

  /* Layout original de escritorio */
  .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
  }

  .logo-social {
    display: block;
  }

  .logo {
    text-align: center;
  }

  /* Aquí el carrito se queda dentro de user-icons */
  .user-icons {
    display: flex;
    gap: 15px;
    align-items: center;
  }

  /* Mostrar carrito en escritorio */
  .user-icons .fa-shopping-cart {
    display: inline-block;
  }

  .right-icons {
    display: none;
    /* en escritorio no usamos right-icons */
  }

  .menu-toggle {
    display: none;
  }

  .side-menu {
    display: none;
  }

  .nav-bar {
    display: block;
  }
}


/* ==============================
   MENÚ LATERAL (Responsive)
   ============================== */

@media (max-width: 768px) {
  .side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: #000;
    transition: right 0.3s ease;
    z-index: 1200;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .side-menu.active {
    right: 0;
  }

  .side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .side-menu-header span {
    color: white;
    font-size: 1.2rem;
  }

  .side-menu-header button {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
  }

  .side-menu ul {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .side-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 0;
    display: block;
    transition: color 0.2s;
  }

  .side-menu ul li a:hover {
    color: #d10000;
  }

  .side-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: auto;
  }

  .side-social a {
    color: white;
    font-size: 20px;
    transition: color 0.2s;
  }

  .side-social a:hover {
    color: #d10000;
  }
}


/* ==============================
   PANEL DESPLEGABLE USUARIO
   ============================== */
.profile-panel {
  position: absolute;
  top: 100%;
  right: 0;
  background: #111;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 15px;
  min-width: 200px;
  z-index: 1000;

  /* transición base */
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.profile-panel p {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.profile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile-panel ul li {
  margin: 10px 0;
}

.profile-panel ul li a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.profile-panel ul li a:hover {
  color: #d10000;
}

/* Estado visible */
.profile-panel.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==============================
   Responsive del panel (ajustado con transición)
   ============================== */
@media (max-width: 768px) {
  .profile-panel {
    position: fixed;
    top: 65px;
    right: 15px;
    left: 15px;
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 12px;
    width: auto;
    max-width: 260px;
    margin: 0 auto;
    font-size: 0.85rem;
  }

  .profile-panel ul li {
    text-align: center;
    margin: 6px 0;
  }

  .profile-panel ul li a {
    font-size: 0.9rem;
    display: block;
    padding: 6px 8px;
    border-radius: 4px;
    background: #222;
  }

  .profile-panel ul li a:hover {
    background: #d10000;
    color: white;
  }
}


/* ==============================
   LUGAR (ubicación y horario)
   ============================== */

.ubicacion-horario {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding: 40px 20px;
}

.info-ubicacion {
  flex: 1;
}

.info-ubicacion h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.horario-tabla {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.horario-tabla td {
  padding: 6px 10px;
  border-bottom: 1px solid #444;
}

.horario-tabla tr.hoy {
  background: #d10000;
  color: #fff;
  font-weight: bold;
}

.mapa {
  flex: 1;
}

.mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: 8px;
  border: none;
}


/* --- Responsive móvil --- */
@media (max-width: 768px) {
  .ubicacion-horario {
    flex-direction: column;
    padding: 20px 15px;
    gap: 20px;
  }

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

  .info-ubicacion h2 {
    font-size: 1.1rem;
  }

  .horario-tabla td {
    font-size: 0.9rem;
    padding: 5px 8px;
  }

  .mapa iframe {
    min-height: 250px;
    width: 114%;
  }
}

/* --- Móviles pequeños (máx. 425px) --- */
@media (max-width: 425px) {
  .lugar-hero h1 {
    font-size: 1.5rem;
  }

  .lugar-hero p {
    font-size: 0.9rem;
  }

  .info-ubicacion h2 {
    font-size: 1rem;
  }

  .horario-tabla td {
    font-size: 0.85rem;
  }

  .mapa iframe {
    min-height: 220px;
    width: 125%;
  }
}

@media (max-width: 320px) {
  .lugar-hero h1 {
    font-size: 1.3rem;
  }

  .lugar-hero p {
    font-size: 0.85rem;
  }

  .info-ubicacion h2 {
    font-size: 0.95rem;
  }

  .horario-tabla td {
    font-size: 0.8rem;
  }

  .mapa iframe {
    min-height: 200px;
    width: 50%;
  }
}

@media (max-width: 375px) {
  .lugar-hero h1 {
    font-size: 1.3rem;
  }

  .lugar-hero p {
    font-size: 0.85rem;
  }

  .info-ubicacion h2 {
    font-size: 0.95rem;
  }

  .horario-tabla td {
    font-size: 0.8rem;
  }

  .mapa iframe {
    min-height: 200px;
    width: 115%;
  }
}

.btn-como-llegar {
  display: none;
  text-align: center;
  margin: 15px auto 0;
  padding: 12px 18px;
  background: #e50914;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
  max-width: 200px;
}

.btn-como-llegar:hover {
  background: #b20710;
}

@media (max-width: 768px) {
  .btn-como-llegar {
    display: block;
  }
}


/* ============================= */
/*   SOBRE NOSOTROS RESPONSIVE   */
/* ============================= */

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    background: linear-gradient(to bottom, #0d0d0d 0%, #fdfdfd 90%);
    text-align: center;
    padding: 60px 20px 80px 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  }

  .about-text {
    order: 2;
    flex: 1;
    margin: 0;
  }

  .about-text h2 {
    font-size: 0.9rem;
    color: #e60000;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    animation: fadeIn 1s ease forwards;
  }

  .about-text h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin-bottom: 15px;
    position: relative;
    animation: fadeInUp 1.2s ease forwards;
  }

  /* Línea roja minimalista bajo el título */
  .about-text h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #e60000;
    margin: 10px auto 0;
    border-radius: 2px;
  }

  .about-text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    max-width: 320px;
    margin: 20px auto 0;
    animation: fadeInUp 1.4s ease forwards;
  }

  .about-image {
    order: 1;
    margin-bottom: 25px;
  }

  .about-image img {
    width: 110px;
    animation: fadeIn 1s ease forwards;
    filter: drop-shadow(0 0 12px rgba(230, 0, 0, 0.4));
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.stat {
  flex: 1 1 100%;
  text-align: center;
}

.mission-vision .container,
.founders-container,
.directors-grid,
.stylists-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.mv-box,
.founder,
.director,
.stylist {
  flex: 1 1 100%;
  max-width: 500px;
  text-align: center;
}

.founder img,
.director img,
.stylist img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* --- Media Queries específicas --- */
@media (max-width: 425px) {
  h1, h2, h3, h4, p {
    padding: 0 10px;
    font-size: 0.95rem;
  }

  .about-image img {
    max-width: 150px;
  }

  .stat h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 375px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  p { font-size: 0.9rem; line-height: 1.4; }
  .about-image img { max-width: 140px; }
}

@media (max-width: 320px) {
  h1 { font-size: 1.1rem; }
  h2 { font-size: 1rem; }
  p { font-size: 0.85rem; line-height: 1.3; }
  .about-image img { max-width: 120px; }
  .stat h2 { font-size: 1.4rem; }
}

/* ====== Sección three-columns ====== */
.three-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;
  overflow-x: hidden;
}

.three-columns .column {
  flex: 1 1 100%;
  max-width: 100%;
  text-align: center;
}

@media (min-width: 568px) and (max-width: 767px) {
  .three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 5px;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .three-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 900px) {
  .three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  body { overflow-x: hidden; }
  .three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 5px;
    margin: 0 auto;
    width: 100%;
  }
  .three-columns .column {
    flex: unset;
    max-width: 100%;
    text-align: center;
  }
  .three-columns img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* ============================== */
/* HEADER - AJUSTE VERSIÓN MÓVIL */
/* ============================== */
@media (max-width: 768px) {

  /* 🔹 Ocultamos el nombre y los iconos de usuario/búsqueda/carrito */
  .logo {
    display: none !important;
  }

  .user-icons {
    display: none !important;
  }

  /* 🔹 Mostramos el logo principal (logoo.png) */
  .logo-social {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    grid-column: 1 / span 3;
  }

  .logo-social img {
    width: 70px;
    height: auto;
    display: block;
  }

  /* 🔹 Mostramos solo el menú hamburguesa */
  .menu-toggle {
    display: block !important;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
  }

  /* 🔹 Ocultamos el carrito de la derecha si está */
  .right-icons a .fa-shopping-cart {
    display: none !important;
  }

  /* 🔹 Ajustamos el top-bar */
  .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
  }
}
 
/* ============================== */
/* LOGO DENTRO DEL MENÚ LATERAL  */
/* ============================== */
@media (max-width: 768px) {
  .side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 20px 0;
    border-bottom: 1px solid #222;
  }

  /* 🔹 Logo bien integrado */
  .side-menu-header img {
    width: 90px;                /* tamaño equilibrado */
    height: auto;
    margin-left: 5px;
  }

  /* 🔹 Botón de cierre coherente */
  .side-menu-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
  }

  .side-menu-header button:hover {
    color: #d10000;
  }
}
 
/* ==============================
   OCULTAR ICONOS SOCIALES AL TOCAR EL LOGO EN MÓVIL
   ============================== */
@media (max-width: 768px) {
  /* 🔹 Oculta el contenedor de iconos sociales en móvil */
  .logo-social .social-icons {
    display: none !important;
  }
}

/* ============================== */
/* HERO SECTION - AJUSTE MÓVIL   */
/* ============================== */
@media (max-width: 768px) {
  .hero-section {
    justify-content: center; /* Centra horizontalmente */
    align-items: center;     /* Centra verticalmente */
    text-align: center;
    padding: 0 20px;
  }

  .hero-content {
    max-width: 90%;
    text-align: center;
    padding: 0 10px;
  }

  .hero-content h1 {
    font-size: 1.8rem;       /* Tamaño más equilibrado */
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .hero-btn {
    font-size: 0.95rem;
    padding: 10px 22px;
  }
}

/* ============================== */
/* RESEÑAS - AJUSTE TÍTULO MÓVIL */
/* ============================== */
@media (max-width: 768px) {
  .reviews-section h2 {
    font-size: 1.9rem; /* más equilibrado en pantallas pequeñas */
    line-height: 1.3;
    letter-spacing: 2px;
  }

  .reviews-section h2::after {
    width: 80px; /* ajusta también la línea roja para que mantenga proporción */
  }
}


@media (max-width: 768px) {
  .seccion-tienda {
    font-size: 1.8rem;
    margin: 45px 0 15px;
    letter-spacing: 1px;
  }

  .seccion-tienda::after {
    width: 60px;
    height: 2px;
  }
}
