/*
Theme Name: Casa Aruma Final Premium
Author: Jorge Macías
Description: Tema final con branding, IA, carrusel, diseño editorial, alternativo, funcionalidades completas, con enfoque en cápsulas, comunidad y looks.
Version: 3.0
*/

/* Fondo general del sitio */
body {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* Color del texto en títulos y párrafos */
h1, h2, h3, h4, h5, h6, p, span, a, li, td {
  color: #000000 !important;
}

/* Botones generales */
button,
input[type="submit"],
.button,
.btn {
  background-color: #6a847f !important;
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

/* Botones al pasar el mouse */
button:hover,
input[type="submit"]:hover,
.button:hover,
.btn:hover {
  background-color: #50635d !important;
}

/* Enlaces */
a {
  color: #000000;
}
a:hover {
  opacity: 0.8;
}

/* === Footer === */
.site-footer {
  background-color: #000;
  padding: 12px 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.site-footer p {
  text-align: center;
  margin: 0;
  font-size: 14px;
}

.footer-redes-sociales {
  margin-top: 20px;
  text-align: center;
}

.footer-redes-sociales p {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: bold;
}

.redes-comunidad {
  text-align: center;
  margin-top: 20px;
}

/* Íconos redes sociales comunidad */
.iconos-redes {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.iconos-redes a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 60px !important;
  height: 60px !important;
  font-size: 30px !important;
  background-color: #1a1a1a !important;
  color: #fff !important;
  border-radius: 50% !important;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none !important;
}

.iconos-redes a:hover {
  background-color: #9ae6b4 !important;
  color: #000 !important;
  transform: scale(1.1);
}

/* Íconos redes footer pequeños */
.iconos-redes-footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.iconos-redes-footer a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 18px;
  background-color: #1a1a1a;
  color: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.iconos-redes-footer a:hover {
  background-color: #9ae6b4;
  color: #000;
  transform: scale(1.1);
}

/* Footer legal visible */
.footer-legal {
  text-align: center;
  font-size: 14px;
  color: #fff;
  margin-top: 20px;
  opacity: 0.8;
  font-family: 'Poppins', sans-serif;
  display: block;
}

/* Responsive íconos en móvil */
@media screen and (max-width: 600px) {
  .iconos-redes a {
    width: 48px !important;
    height: 48px !important;
    font-size: 22px !important;
  }

  .iconos-redes-footer a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* === Header base === */
.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  background-color: transparent;
  box-shadow: none;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.header-icons a {
  margin-left: 1rem;
  font-size: 1.2rem;
  color: #000;
}

.menu-toggle {
  display: none;
}

/* Ajuste de galería producto (swiper) */
.product-gallery {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  box-sizing: border-box;
}

.product-gallery .swiper {
  width: 100%;
  height: auto;
}

.product-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Ajustes móviles */
@media (max-width: 768px) {
  .product-gallery {
    max-width: 100%;
    padding: 0.5rem;
  }

  .site-footer {
    padding: 8px 0 !important;
  }

  .footer-redes-sociales,
  .iconos-redes {
    margin-top: 4px !important;
  }

  .footer-legal {
    font-size: 14px;
  }
}

/* === MENÚ HAMBURGUESA LATERAL === */
.hamburguesa-menu {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1100;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hamburguesa-menu.visible {
  opacity: 1;
  pointer-events: auto;
}

.hamburguesa-menu i {
  font-size: 24px;
  color: #ffffff;
}

/* Menú desplegable */
.menu-desplegable {
  position: fixed;
  top: 60px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px 20px;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 1099;
  backdrop-filter: blur(8px);
  min-width: 180px;
}

.menu-desplegable ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-desplegable ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.menu-desplegable ul li a:hover {
  background-color: #9ae6b4;
  color:  #000000;
}

.mostrar-menu {
  display: flex !important;
}

/* Responsive menú */
@media screen and (max-width: 768px) {
  .hamburguesa-menu {
    top: 15px;
    left: 15px;
    padding: 8px;
  }

  .hamburguesa-menu i {
    font-size: 20px;
  }

  .menu-desplegable {
    top: 50px;
    left: 15px;
    min-width: 160px;
  }

  .menu-desplegable ul li a {
    font-size: 14px;
  }
}

.footer-legal.footer-izquierda {
  text-align: left !important;
  margin-top: 30px;
  font-size: 14px;
  color: #fff !important;
  opacity: 0.8;
  font-family: 'Poppins', sans-serif;
}

.recomendador-casa-aruma {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.recomendador-casa-aruma select {
  padding: 10px;
  margin-top: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Outfit', sans-serif;
}

.recomendador-casa-aruma .product-grid {
  margin-top: 2rem;
}

.footer-enlaces-legales a {
  color: white !important;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
}

.footer-enlaces-legales a:hover {
  text-decoration: underline;
}

.language-switcher {
  position: relative; /* ya no fijo */
  display: inline-block;
  font-family: 'Poppins', sans-serif;
}

.language-switcher ul {
  display: none;
  position: absolute;
  top: 25px; /* distancia desde el icono */
  right: 0;
  background: rgba(0,0,0,0.8);
  border-radius: 8px;
  padding: 5px 10px;
  z-index: 2000;
  list-style: none;
}

.language-switcher:hover ul {
  display: block;
}

.language-switcher a {
  color: #fff;
  text-decoration: none;
  margin-left: 8px;
  transition: color 0.3s;
}

.language-switcher a:hover {
  color: #a45d8f;
}
<style>
.profile-wrapper {
  background: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 60px 20px;
}

/* AÑADE ESTO */
.profile-wrapper,
.profile-wrapper * {
  color: #fff !important;
}

/* AÑADE ESTO SI QUIERES FORZAR EL TÍTULO */
.profile-meta h1 {
  color: #fff !important;
}

...
</style>

/* RESPONSIVE PARA MÓVILES */
@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .profile-photo img {
    width: 90%;
    height: auto;
  }

  .qr-box {
    justify-content: center;
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
    text-align: center;
  }
}
/* Fix global para móviles: evita scroll lateral */
html, body {
  overflow-x: hidden !important;
}

/* El wrapper nunca puede medir más que la pantalla */
.profile-wrapper,
.profile-card,
.profile-meta,
.profile-photo {
  max-width: 100% !important;
}

/* Layout responsive real */
@media (max-width: 768px) {
  .profile-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 15px !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .profile-photo img {
    width: 100% !important;
    height: auto !important;
    max-width: 350px;
  }

  .qr-box {
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .actions .btn {
    width: 100% !important;
    max-width: 300px;
    text-align: center;
  }
}
