/* Estilos generales */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #fff;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #18181C;
  padding: 1rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
  height: 80px;
}

.logo img {
  height: 80px;
  width: 125px;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 2.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  transition: color 0.3s;
  font-family: "Roboto", sans-serif;
}

.nav-links a:hover {
  color: #ff6347;
}

.nav-icons i {
  font-size: 24px; /* Tamaño de los íconos */
  padding: 4px; /* Espacio interno (mantenemos el padding pequeño) */
  border-radius: 16px; /* Border-radius de 16px */
  transition: all 0.3s ease; /* Transición suave */
  cursor: pointer; /* Cambia el cursor al pasar el mouse */
  outline: 10px solid transparent; /* Borde transparente por defecto */
  outline-offset: 30px; /* Separa el outline del contenido */
}

/* Ícono de usuario */
.nav-icons .fa-user {
  color: #F0A85C; /* Color del ícono */
  border: 2px solid transparent; /* Borde transparente por defecto */
}

.nav-icons .fa-user.selected {
  border-color: #F0A85C; /* Borde del mismo color cuando está seleccionado */
  background-color: rgba(240, 168, 92, 0.1); /* Fondo sutil */
}

/* Ícono de corazón */
.nav-icons .fa-heart {
  color: #F05C5F; /* Color del ícono */
  border: 2px solid transparent; /* Borde transparente por defecto */
}

.nav-icons .fa-heart.selected {
  border-color: #F05C5F; /* Borde del mismo color cuando está seleccionado */
  background-color: rgba(240, 92, 95, 0.1); /* Fondo sutil */
}

/* Ícono de carrito */
.nav-icons .fa-shopping-cart {
  color: #5C66F0; /* Color del ícono */
  border: 2px solid transparent; /* Borde transparente por defecto */
}

.nav-icons .fa-shopping-cart.selected {
  border-color: #5C66F0; /* Borde del mismo color cuando está seleccionado */
  background-color: rgba(92, 102, 240, 0.1); /* Fondo sutil */
}

/* Estilos para la barra de búsqueda (manteniendo tus estilos) */
.search-bar {
  display: flex;
  align-items: center;
  flex-grow: 1; /* Ocupa el espacio disponible */
  margin: 0 2rem; /* Margen a los lados */
  max-width: 937px; /* Aumentamos el ancho máximo */
}

.search-container {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 10px; /* Posición del ícono */
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #5C66F0; /* Nuevo color del ícono (#5C66F0) */
  cursor: pointer;
  z-index: 1;
}

.search-input {
  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 2.5rem; /* Padding izquierdo para el ícono */
  border: none;
  border-radius: 16px; /* Bordes redondeados de 16px */
  background-color: #fff; /* Fondo blanco */
  color: #000; /* Texto negro */
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  outline: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra suave */
}
@media screen and (max-width: 768px) {
  .search-input {
    width: auto;
  }
}

.search-input::placeholder {
  color: #5C66F0; /* Nuevo color del placeholder (#5C66F0) */
  opacity: 1; /* Asegura que el color sea completamente visible */
}
/* Estilos para los íconos */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* Espacio entre íconos */
  margin-left: 2rem; /* Mueve los íconos a la derecha */
}

.nav-icons i {
  font-size: 1.3em;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.nav-icons i:hover {
  color: #ff6347; /* Cambia el color al pasar el mouse */
}

/* Estilos comunes para el subrayado */
.nav-links a.active {
  position: relative; /* Necesario para el subrayado */
}

.nav-links a.active::after {
  content: ''; /* Crea el subrayado */
  position: absolute;
  left: 0;
  bottom: -3px; /* Ajusta la posición del subrayado */
  width: 100%;
  height: 1px; /* Grosor del subrayado */
}

/* Estilos para "Inicio" activo */
.nav-links a.active[href="index.html"] {
  color: #F05C5F;
}
.nav-links a.active[href="index.html"]::after {
  background-color: #F05C5F;
}

/* Estilos para "Proyectos" activo */
.nav-links a.active[href="proyectos.html"] {
  color: #F0A85C;
}
.nav-links a.active[href="proyectos.html"]::after {
  background-color: #F0A85C;
}

/* Estilos para "Servicios" activo */
.nav-links a.active[href="servicios.html"] {
  color: #F0725C;
}
.nav-links a.active[href="servicios.html"]::after {
  background-color: #F0725C;
}

/* Estilos para "Nuestro equipo" activo */
.nav-links a.active[href="nuestroequipo.html"] {
  color: #F0C45C;
}
.nav-links a.active[href="nuestroequipo.html"]::after {
  background-color: #F0C45C;
}

.nav-links a {
  position: relative;
  display: inline-block;
  transition: all 0.1s ease; /* Transición más rápida (0.1s) */
}

/* Efecto al hacer clic (se "hunde" 10px) */
.nav-links a:active {
  transform: translateY(10px); /* Mayor desplazamiento (de 5px a 10px) */
}

/* Efecto de "retorno" para el enlace anterior */
.nav-links a.previous-active {
  transform: translateY(-10px); /* Sube 10px */
  opacity: 0.5;
  transition: all 0.1s ease;
}

/* Animación para el enlace clickeado (entra desde arriba) */
@keyframes enterFromTop {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Animación para el enlace anterior (sale hacia arriba) */
@keyframes exitToTop {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-10px);
    opacity: 0;
  }
}

/* Clases para activar las animaciones */
.nav-links a.exiting {
  animation: exitToTop 0.1s forwards;
}

.nav-links a.entering {
  animation: enterFromTop 0.1s forwards;
}

/* Subrayado animado (se mantiene igual que antes) */
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: inherit; /* Hereda el color del enlace activo */
  transition: transform 0.5s ease;
  transform: scaleX(1); /* Subrayado completo */
}

/* ========== MENÚ HAMBURGUESA ========== */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Animación del botón hamburguesa cuando está activo */
.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Prevenir scroll cuando el menú móvil está abierto */
body.menu-open {
  overflow: hidden;
}

/* Overlay para cerrar el menú al hacer clic fuera */
.nav-links.active::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Estilos para el menú móvil */
@media screen and (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #18181C;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s ease;
    z-index: 999;
    border-top: 2px solid #333;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 20px 0;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    font-size: 28px;
    padding: 15px 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid #333;
    transition: all 0.3s ease;
  }
  
  .nav-links a:hover {
    background-color: #333;
    color: #ff6347;
  }
  
  /* Mantener la barra de búsqueda visible pero más pequeña */
  .search-bar {
    display: none; /* Ocultar en móvil para dar más espacio */
  }
  
  /* Ajustar iconos en móvil */
  .nav-icons {
    gap: 1rem;
    margin-left: auto;
  }
}

@media screen and (max-width: 480px) {
  .hamburger-menu {
    display: flex;
    order: 2; /* Asegurar que aparezca entre el logo y los iconos */
  }
  
  .nav-links {
    padding-top: 30px;
  }
  
  .nav-links a {
    font-size: 24px;
    padding: 12px 0;
  }
  
  .nav-icons {
    gap: 0.8rem;
    order: 3; /* Asegurar que los iconos aparezcan al final */
  }
  
  .nav-icons i {
    font-size: 1.1em;
  }
  
  /* Asegurar que el logo tenga el orden correcto */
  .logo {
    order: 1;
  }
}
/* Media seccion */
.media-section {
  width: 100%;
  padding: 0;
  background-color: #000000;
  overflow-x: hidden;
  min-height: 100vh;
  padding-top: 80px; /* Espacio para el navbar fijo */
  box-sizing: border-box;
}

/* Para pantallas muy grandes (mayores a 1920px) */
@media screen and (min-width: 1921px) {
  .media-section {
    /* Mantiene la altura y padding base definidos arriba */
  }
  
  .media-container {
    max-width: 1920px;
    margin: 0 auto;
  }
  
  .video-wrapper {
    width: 1235px;
    height: 987px;
  }
  
  .black-background {
    width: 685px;
    height: 987px;
  }
  
  .gif-wrapper {
    width: 600px;
    height: 800px;
  }
  
  .text-container {
    width: 848px;
    max-width: none;
  }
  
  .main-title span {
    font-size: 77px;
  }
  
  .subtitle span {
    font-size: 52px;
  }
}

.media-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.video-wrapper {
  width: 64.3%; /* Aproximadamente 1235px de 1920px */
  height: 987px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  min-width: 300px;
  max-width: 1235px;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.text-container {
  text-align: left;
  color: white;
  width: 90%;
  max-width: 848px;
  margin: 0 auto;
  transform: translateX(0%) translateY(5%);
  padding: 0 20px;
  box-sizing: border-box;
}

.main-title span {
  display: block;
  font-family: 'Libre Bodoni', serif;
  font-size: 77px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 0.8;
}

.subtitle span {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 52px;
  line-height: 1;
  margin: 0.5rem 0;
  font-weight: 300;
}

.black-background {
  width: 35.7%; /* Aproximadamente 685px de 1920px */
  height: 987px;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  min-width: 250px;
  max-width: 685px;
}

.gif-wrapper {
  margin-top: 10rem;
  width: 87.5%; /* 600px de 685px */
  height: 800px;
  overflow: hidden;
}

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

/* CONTENEDOR PRINCIPAL */
.imagenads {
  margin-top: 2rem;
  width: 100%;
  display: flex;
  gap: 20px;
  flex-wrap: nowrap; /* Obliga a 1 sola línea */
  -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
  scroll-behavior: smooth;
  padding: 10px 0; /* Espacio interno */
  max-width: 100vw; /* Evita overflow en pantallas pequeñas */
}

/* Media query para pantallas menores a 768px */
@media only screen and (max-width: 768px) {
  .imagenads {
    gap: 10px;
    margin-top: 1rem;
    padding: 5px 0;
    overflow-x: auto; /* Scroll horizontal solo en móvil */
    overflow-y: hidden; /* Oculta scroll vertical solo en móvil */
  }
}

/* IMÁGENES (NO deben encogerse) */
.imagenads img {
  width: 230px; 
  min-width: 230px; /* Fuerza el ancho mínimo */
  height: auto; /* Altura fija (ajusta según tus necesidades) */
  object-fit: cover; /* o "contain" según prefieras */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex-shrink: 0; /* ¡Clave! Evita que se compriman */
}

/* Efecto hover solo en PC */
@media (hover: hover) {
  .imagenads img:hover {
    transform: scale(1.03);
  }
}

/* Barra de scroll opcional */
.imagenads::-webkit-scrollbar {
  height: 6px;
}
.imagenads::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

@media screen and (max-width: 1600px) {
  .media-container {
    gap: 15px;
    padding: 0 15px;
  }
  
  .video-wrapper {
    height: 750px;
  }
  
  .black-background {
    height: 700px;
  }
  
  .gif-wrapper {
    width: 85%;
    height: 600px;
  }
  
  .main-title span {
    font-size: 65px;
  }
  
  .subtitle span {
    font-size: 42px;
  }
}

@media screen and (max-width: 1400px) {
  .video-wrapper {
    height: 750px;
  }
  
  .black-background {
    height: 600px;
  }
  
  .gif-wrapper {
    height: 500px;
  }
  
  .main-title span {
    font-size: 60px;
  }
  
  .subtitle span {
    font-size: 38px;
  }
}

@media screen and (max-width: 1200px) {
  .media-section {
    padding-bottom: 20px; /* Solo padding inferior adicional */
  }
  
  .media-container {
    flex-direction: column;
    gap: 30px;
    padding: 0 10px; /* Padding lateral mínimo */
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  
  .video-wrapper {
    width: 100%;
    max-width: 100%;
    height: 80vh; /* Altura relativa al viewport */
    min-height: 500px;
  }
  
  .black-background {
    width: 100%;
    max-width: 100%;
    height: 50vh; /* Altura relativa al viewport */
    min-height: 400px;
  }
  
  .gif-wrapper {
    width: 80%;
    height: 40vh; /* Altura relativa al viewport */
    min-height: 300px;
    margin-top: 3rem; /* Reducido de 5rem */
  }
  
  .text-container {
    width: 95%;
    padding: 0 10px;
  }
  
  .main-title span {
    font-size: 55px;
  }
  
  .subtitle span {
    font-size: 35px;
  }
}

@media screen and (max-width: 900px) {
  .media-section {
    padding-bottom: 15px; /* Solo padding inferior */
  }
  
  .media-container {
    gap: 25px;
    padding: 0 8px;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  
  .video-wrapper {
    width: 100%;
    max-width: 100%;
    height: 75vh;
    min-height: 450px;
  }
  
  .black-background {
    width: 100%;
    max-width: 100%;
    height: 45vh;
    min-height: 380px;
  }
  
  .gif-wrapper {
    width: 75%;
    height: 35vh;
    min-height: 280px;
    margin-top: 3rem;
  }
  
  .main-title span {
    font-size: 50px;
  }
  
  .subtitle span {
    font-size: 32px;
  }
}

@media screen and (max-width: 768px) {
  .media-section {
    padding-bottom: 10px; /* Solo padding inferior */
  }
  
  .media-container {
    gap: 20px;
    padding: 0 5px;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  
  .video-wrapper {
    width: 100%;
    max-width: 100%;
    height: 70vh;
    min-height: 400px;
  }
  
  .black-background {
    width: 100%;
    max-width: 100%;
    height: 40vh;
    min-height: 350px;
  }
  
  .gif-wrapper {
    width: 75%;
    height: 30vh;
    min-height: 250px;
    margin-top: 2rem;
  }
  
  .text-container {
    width: 100%;
    padding: 0 8px;
  }
  
  .main-title span {
    font-size: 45px;
  }
  
  .subtitle span {
    font-size: 30px;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .media-section {
    padding-bottom: 8px; /* Solo padding inferior */
  }
  
  .media-container {
    gap: 15px;
    padding: 0 3px;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  
  .video-wrapper {
    width: 100%;
    max-width: 100%;
    height: 65vh;
    min-height: 300px;
  }
  
  .black-background {
    width: 100%;
    max-width: 100%;
    height: 38vh;
    min-height: 280px;
  }
  
  .gif-wrapper {
    width: 70%;
    height: 25vh;
    min-height: 200px;
    margin-top: 1.5rem;
  }
  
  .text-container {
    width: 100%;
    padding: 0 5px;
  }
  
  .main-title span {
    font-size: 35px;
  }
  
  .subtitle span {
    font-size: 24px;
  }
  
  .cta-button {
    font-size: 18px;
    padding: 0.6rem 0.8rem;
    max-width: 250px;
  }
}

@media screen and (max-width: 360px) {
  .media-section {
    padding-bottom: 5px; /* Solo padding inferior */
  }
  
  .media-container {
    gap: 10px;
    padding: 0 2px;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  
  .video-wrapper {
    width: 100%;
    max-width: 100%;
    height: 75vh;
    min-height: 250px;
  }
  
  .black-background {
    width: 100%;
    max-width: 100%;
    height: 35vh;
    min-height: 230px;
  }
  
  .gif-wrapper {
    width: 65%;
    height: 22vh;
    min-height: 170px;
    margin-top: 1rem;
  }
  
  .text-container {
    width: 100%;
    padding: 0 3px;
  }
  
  .main-title span {
    font-size: 28px;
  }
  
  .subtitle span {
    font-size: 20px;
  }
  
  .cta-button {
    font-size: 16px;
    padding: 0.5rem 0.7rem;
    max-width: 200px;
  }
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 2px solid white;
  border-radius: 90px;
  width: 400px;
  text-align: center;
  background: transparent;
  color: white;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  transition: all 0.3s ease;
  margin-top: 1rem; /* Reducimos el margen superior */
  margin-bottom: 1.5rem;
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Asegurar que el video esté detrás del texto */
.video-wrapper video {
  position: relative;
  z-index: 0;
}

.video-overlay {
  z-index: 1;
}


/* Estilos para la sección 2 */
.seccion2 {
  width: 100%;
  min-height: 800px;
  background-color: #1d1d1d;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
}

/* Contenedor centrado */
.contenedor-centrado {
  width: 100%;
  max-width: 1356px;
  min-height: 228px;
  background-color: #F05C5F;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 24px;
  box-sizing: border-box;
}

/* Contenido izquierdo */
.contenido-izquierdo {
  width: 100%;
  max-width: 718px;
  padding-right: 20px;
}

/* Estilos para el título */
.titulo {
  font-family: 'Libre Bodoni', serif; /* Fuente Libre Bodoni */
  font-size: 40px;
  color: white; /* Color del texto */
  margin: 0 0 10px 0; /* Margen inferior reducido */
}

/* Estilos para el párrafo */
.parrafo {
  font-family: 'Roboto', sans-serif; /* Fuente Roboto */
  font-size: 20px;
  line-height: 24px; /* Altura de línea */
  color: white; /* Color del texto */
  margin: 0; /* Elimina el margen predeterminado */
}

/* Estilos para el botón */
.boton-derecho1 {
  width: 250px;
  height: 60px;
  background-color: transparent; /* Fondo transparente */
  border: 2px solid white; /* Borde blanco */
  border-radius: 16px; /* Bordes redondeados */
  padding: 2px 4px; /* Padding: top 16px, right 24px, bottom 16px, left 24px */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* Espacio entre elementos internos */
  color: white; /* Color del texto */
  font-family: 'Roboto', sans-serif; /* Fuente Roboto */
  font-size: 24px;
  text-decoration: none; /* Elimina el subrayado del enlace */
  transition: all 0.3s ease; /* Transición suave */
}

.boton-derecho:hover {
  background-color: rgba(255, 255, 255, 0.1); /* Fondo semi-transparente al pasar el mouse */
}

/* CSS */
/* Estilos originales */
.contenedor-inferior {
  width: 100%;
  max-width: 1356px;
  min-height: 530px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  background-color: #18181C;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

.menu-izquierdo {
  width: 299px;
  min-height: 480px;
  background-color: #202025;
  padding: 16px;
  border-radius: 16px;
  flex-shrink: 0;
}

.menu-izquierdo h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  margin-bottom: 16px;
}

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

.menu-izquierdo li {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  margin-bottom: 8px;
}

.contenedor-derecho {
  flex: 1;
  min-height: 530px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background-color: #1d1d1d;
}

.card {
  width: 477px;
  height: 245px;
  background-color: #F0A85C;
  border-radius: 16px;
  display: flex;
  overflow: hidden;
}

.card img {
  width: 204.5px;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 480px) {
  .card img {
    width: 150px;
    height: 100%;
    object-fit: cover;
  }
}

/* Cards Flyer */
#flyer .card {
  background-color: #F0C45C; /* Color para Flyer */
}

/* Cards Packaging */
#packaging .card {
  background-color: #5C66F0; /* Color para Packaging */
}

/* Cards Invitaciones (mantiene el color actual) */
#invitaciones .card {
  background-color: #F0A85C; /* Color actual */
}

/* Cards Meta ADS (mantiene el color actual) */
#meta .card {
  background-color: #F0A85C; /* Color actual */
}

/* Cards Email Marketing */
#email .card {
  background-color: #F0C45C; /* Color para Email Marketing */
}

/* Cards Diseño Web */
#diseno-web .card {
  background-color: #F0C45C; /* Color para Diseño Web */
}

/* Cards Redes Sociales */
#redes .card {
  background-color: #5C66F0; /* Color para Redes Sociales */
}

/* Reglas para la imagen y el GIF */
.imagen-cardgif {
  width: 204.5px;
  height: 245px;
  background-color: #e0e0e0; /* Fondo gris para la imagen */
  overflow: hidden; /* Evita que el GIF se desborde */
}

.imagen-cardgif img,
.imagen-cardgif .gif-card {
  width: 100%; /* Ocupa el 100% del contenedor */
  height: 100%; /* Ocupa el 100% del contenedor */
  object-fit: cover; /* Ajusta el contenido manteniendo la relación de aspecto */
  object-position: center; /* Centra el contenido */
}

/* Nuevos estilos agregados */
.menu-izquierdo h3,
.menu-izquierdo li {
  cursor: pointer;
  transition: color 0.3s;
}

.menu-izquierdo h3:hover,
.menu-izquierdo li:hover {
  color: #F0725C !important;
}

.active-menu,
.active-submenu {
  color: #F0C45C !important;
}

.slider-container {
  display: none;
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
}

.slider-container.active {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.card {
  width: calc(50% - 10px);
  height: 245px;
  background-color: #F0A85C;
  border-radius: 16px;
  display: flex;
  overflow: hidden;
  flex-shrink: 0;
}

/* Estilos para el botón */
.boton-consultar {
  background-color: transparent; /* Fondo transparente */
  border: 2px solid #18181C; /* Borde negro */
  border-radius: 10px; /* Bordes redondeados */
  color: #18181C; /* Color del texto */
  font-family: 'Roboto', sans-serif; /* Fuente Roboto */
  font-size: 16px; /* Tamaño del texto */
  padding: 1px 2px; /* Espaciado interno */
  cursor: pointer; /* Cambia el cursor al pasar el mouse */
  transition: background-color 0.3s, color 0.3s; /* Transición suave */
  margin-top: 8px; /* Espacio superior */
  text-align: center; /* Alinea el texto a la izquierda */
  width: 100%; /* Ocupa todo el ancho disponible */
  height: 40px;
  display: block; /* Hace que el botón sea un bloque para ocupar toda la línea */
}

/* Efecto hover para el botón */
.boton-consultar:hover {
  background-color: #18181C; /* Fondo negro */
  color: #FFFFFF; /* Texto blanco */
}

/* Estilos para la sección 3 */
.seccion3 {
  width: 100%;
  min-height: 771px;
  background-color: #2E3161;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.gif-container {
  width: 30%;
  max-width: 400px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gif {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.contenedor-textosec3 {
  width: 40%;
  max-width: 600px;
  min-height: 359px;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.header-seccion3 {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  color: #FCF9F4;
  width: 100%;
  margin: 0;
  opacity: 0.9;
}

.parrafo-seccion3 {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  color: white;
  width: 100%;
  line-height: 1.5;
  margin: 0;
}

.contenedor-boton {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 20px;
}

.boton-seccion3 {
  width: 300px;
  height: 37px;
  background-color: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.boton-seccion3:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 1024px) {
  .seccion3 {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
  }

  .gif-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .gif {
    width: 100%;
    height: auto;
  }

  .contenedor-textosec3 {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    transform: none;
  }
}

@media screen and (max-width: 768px) {
  .seccion3 {
    padding: 30px 15px;
    gap: 30px;
  }

  .gif-container {
    max-width: 400px;
  }

  .contenedor-textosec3 {
    padding: 25px;
  }

  .header-seccion3 {
    font-size: 22px;
  }

  .parrafo-seccion3 {
    font-size: 16px;
  }

  .boton-seccion3 {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .seccion3 {
    padding: 20px 10px;
    gap: 20px;
  }

  .gif-container {
    max-width: 300px;
  }

  .contenedor-textosec3 {
    padding: 5px;
    min-height: auto;
  }

  .header-seccion3 {
    font-size: 20px;
  }

  .parrafo-seccion3 {
    font-size: 15px;
  }

  .boton-seccion3 {
    font-size: 16px;
    height: 35px;
  }
}

/* Contenedores de los GIFs */
.gif-container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gif {
  max-width: 100%;
  height: auto;
}

/* Contenedor de texto */
.contenedor-textosec3 {
  width: auto;
  height: auto;
  background-color: transparent; /* Fondo transparente */
  border: 2px solid white; /* Borde blanco */
  border-radius: 16px; /* Bordes redondeados */
  padding: 20px; 
  display: flex;
  flex-direction: column;
  }

/* Header */
.header-seccion3 {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  color: #FCF9F4; /* Texto blanco */
  margin: 0;
  opacity: 0.9;
}

/* Párrafo */
.parrafo-seccion3 {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  color: white; /* Texto blanco */
  line-height: 1.5;
  margin: 0;
}

/* Contenedor del botón */
.contenedor-boton {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
}

/* Botón */
.boton-seccion3 {
  width: 300px;
  height: 37px;
  background-color: transparent; /* Fondo transparente */
  color: white; /* Texto blanco */
  border: 2px solid white; /* Borde blanco */
  border-radius: 12px; /* Bordes redondeados */
  /*padding: 6px 16px; /* Padding interno */
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.boton-seccion3:hover {
  background-color: rgba(255, 255, 255, 0.1); /* Fondo semi-transparente al pasar el mouse */
}

/* Sección 4 */
.seccion4 {
  width: auto;
  height: 260px;
  background-color: #1d1d1d;
}

/* Sección 4 */
.seccion4 {
  width: auto;
  height: 260px;
  background-color: #1d1d1d;
  display: flex; /* Activa flexbox */
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
}

/* Video centrado */
.video-centrado {
  max-width: 100%; /* Asegura que el video no exceda el ancho de la sección */
  max-height: 100%; /* Asegura que el video no exceda la altura de la sección */
}
.video-fondosec4 .video-fondoproy1 {
  width: 100%;
  pointer-events: none; /* Bloquea cualquier interacción con el video */
}

/* Estilos para la sección 5 */
.seccion5 {
  width: 100%;
  min-height: 609px;
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  background-color: #1d1d1d;
  padding-bottom: 40px;
  -webkit-overflow-scrolling: touch; /* Para mejor scroll en iOS */
}

.contenedorsec5 {
  width: 100%;
  max-width: 1346px;
  margin: 20px auto;
  display: flex;
  flex-wrap: nowrap; /* Cambiado de wrap a nowrap para permitir scroll horizontal */
  justify-content: flex-start; /* Cambiado de center a flex-start */
  gap: 20px;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 768px) {
  .seccion5 {
    min-height: auto;
    padding-bottom: 20px;
  }
  
  .contenedorsec5 {
    gap: 15px;
    padding: 0 15px;
  }
}

@media screen and (max-width: 480px) {
  .seccion5 {
    padding-bottom: 15px;
  }
  
  .contenedorsec5 {
    gap: 10px;
    padding: 0 10px;
  }
}

/* Video de fondo */
.video-fondosec5 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

/* Header centrado */
.header-seccion5 {
  position: relative;
  z-index: 2; /* Asegura que esté por encima del video */
  text-align: center;
  margin-top: 40px; /* Ajusta el margen superior según sea necesario */
}

.header-seccion5 h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  color: white; /* Color del texto */
  margin: 0;
}

/* Estilos para la sección 5 */
.seccion5 {
  width: auto;
  height: 609px;
  position: relative;
  overflow: hidden;
  background-color: #1d1d1d;
}

/* Video de fondo */
.video-fondosec5 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

/* Header centrado */
.header-seccion5 {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 40px;
}

.header-seccion5 h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  color: #18181C;
  opacity: 0.9;
  margin: 0;
  font-weight: normal;
}

/* Contenedor de cards (scroll horizontal en móviles) */
.contenedorsec5 {
  width: 100%;
  max-width: 1600px;
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  overflow: visible;
}

/* Cards base */
.cardsec5 {
  width: 250px; /* Ancho fijo para escritorio */
  flex: 0 0 auto; /* Evita que las cards se compriman */
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* 🔥 Scroll horizontal en móviles (menos de 768px) */
@media (max-width: 768px) {
  .contenedorsec5 {
    flex-wrap: nowrap; /* Obliga a las cards a estar en una sola línea */
    overflow-x: auto;  /* Scroll horizontal */
    overflow-y: hidden; /* Oculta scroll vertical */
    justify-content: flex-start; /* Alinea cards al inicio */
    scroll-snap-type: x mandatory; /* Scroll suave (opcional) */
    -webkit-overflow-scrolling: touch; /* Mejor desplazamiento en iOS */
    padding-bottom: 20px; /* Espacio para evitar cortes */
  }

  .cardsec5 {
    scroll-snap-align: start; /* Mejor ajuste al hacer scroll */
    min-width: 250px; /* Ancho mínimo (evita compresión) */
  }
}

/* (Opcional) Elimina barras de scroll en móviles */
.contenedorsec5::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.contenedorsec5 {
  scrollbar-width: none; /* Firefox */
}

/* ESTILOS BASE (DESKTOP) */
.cardsec5 img {
  width: 100%;
  object-fit: cover;
}

.contenido-card {
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-25px);
}

.contenido-derecho {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 15px;
  overflow: hidden; /* Previene desbordamiento */
}

.iconos-card {
  justify-content: space-between;
  align-items: center;
  max-width: 100%; /* Cambiado a porcentaje */
  flex-wrap: wrap; /* Permite ajuste en móviles */
}

.iconos-card .material-symbols1 {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 41px;
  color: #ffffff !important;
}

.iconos-card .material-symbols2 {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 36px;
  color: #F0A85C !important;
}

.iconos-card .material-symbols:hover {
  transform: scale(1.2);
  cursor: pointer;
}

.texto-titulo {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  color: #18181C;
  margin: 0;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis; /* Añade puntos suspensivos si el texto es largo */
  max-width: 100%; /* Asegura que no se desborde */
}

.texto-precio {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #18181C;
  margin: 0;
  font-weight: normal;
}

/* -------------------------------------------- */
/* 🔥 MEDIA QUERY PARA MÓVILES (ANCHO < 768px) */
/* -------------------------------------------- */
@media (max-width: 768px) {
  .contenido-card {
    transform: translateY(-15px); /* Reduce el desplazamiento */
    padding: 8px;
  }

  .contenido-derecho {
    padding: 12px;
    gap: 10px;
  }

  .iconos-card {
    gap: 8px; /* Espaciado entre iconos */
  }

  .iconos-card .material-symbols1 {
    font-size: 32px !important;
  }

  .iconos-card .material-symbols2 {
    font-size: 28px !important;
  }

  .texto-titulo {
    font-size: 18px !important;
    white-space: normal; /* Permite saltos de línea */
  }

  .texto-precio {
    font-size: 16px !important;
  }

  /* Opcional: Ajusta el ancho mínimo de las cards si usas scroll horizontal */
  .cardsec5 {
    min-width: 160px !important;
  }
}
/* Posicionamiento ABSOLUTO */
.cardsec5 {
  position: relative !important;
}

.iconos-absolutos {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000; /* Asegurar que está por encima */
  cursor: pointer;
}

.icono-favorito {
  pointer-events: none; /* Permitir clicks en el contenedor */
  color: black;
  text-shadow: 0 0 5px white; /* Borde blanco */
}


 /* Estilos para el footer */
 .footer {
  width: 100%; /* Ocupa todo el ancho disponible */
  background-color: #1d1d1d; /* Color de fondo */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra verticalmente el contenido */
  align-items: center; /* Centra horizontalmente el contenido */
  text-align: center; /* Alinea el texto al centro */
  padding: 20px; /* Espaciado interno */
  box-sizing: border-box; /* Incluye el padding en el tamaño total */
}

/* Contenedor para los textos y las imágenes */
.contenido-footer {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
  gap: 40px; /* Espacio entre los textos y las imágenes */
  margin-bottom: 20px; /* Espacio inferior */
}

/* Estilos para los textos */
.textos-footer {
  display: flex;
  gap: 20px; /* Espacio entre los textos */
}

.textos-footer p {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  color: white; /* Color del texto */
  margin: 0; /* Elimina el margen predeterminado */
}

/* Estilos para las imágenes */
.imagenes-footer {
  display: flex;
  gap: 10px; /* Espacio entre las imágenes */
}

.imagenes-footer img {
  width: 30px; /* Ancho de las imágenes */
  height: 30px; /* Alto de las imágenes */
}

/* Estilos para el texto inferior */
.texto-inferior {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  color: white; /* Color del texto */
  margin: 0; /* Elimina el margen predeterminado */
}
@media (max-width: 768px) {
  /* Ajustes para pantallas menores a 768px */

  /* Puedes modificar o agregar estilos específicos aquí */
  .footer {
    padding: 15px 10px; /* Reduce el padding si quieres */
  }

  .contenido-footer {
    flex-direction: column; /* Asegura que sea columna en mobile */
    gap: 15px; /* Reduce el espacio entre elementos */
  }

  .textos-footer {
    gap: 10px; /* Ajusta el espacio entre textos */
  }

  .textos-footer p {
    font-size: 16px; /* Tamaño de fuente más pequeño para mobile */
  }

  .texto-inferior {
    font-size: 14px; /* También ajusta el tamaño del texto inferior */
  }

  /* Opcional: ajustar tamaño de las imágenes si es necesario */
  .imagenes-footer img {
    width: 24px;
    height: 24px;
  }
}

/* ========== NUEVA SECCIONPROY1 RESPONSIVA ========== */
.seccionproy1 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1d1d1d;
  padding-top: 80px; /* Espacio para navbar */
  box-sizing: border-box;
}

/* Video de fondo */
.video-fondoproy1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Overlay para oscurecer el video */
.seccionproy1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Contenido sobre el video */
.hero-content-proy {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title-proy {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-subtitle-proy {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.5;
}

.hero-cta-proy {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b, #ffd93d);
  color: #1d1d1d;
  padding: 15px 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta-proy:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  background: linear-gradient(135deg, #ff5252, #ffcc02);
}

/* ========== MEDIA QUERIES SECCIONPROY1 ========== */
@media screen and (max-width: 1024px) {
  .seccionproy1 {
    min-height: 80vh;
    padding-top: 60px;
  }
  
  .hero-content-proy {
    max-width: 700px;
    padding: 0 30px;
  }
  
  .hero-cta-proy {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .seccionproy1 {
    min-height: 70vh;
    padding-top: 40px;
  }
  
  .hero-content-proy {
    max-width: 500px;
    padding: 0 20px;
  }
  
  .hero-title-proy {
    margin-bottom: 0.8rem;
  }
  
  .hero-subtitle-proy {
    margin-bottom: 1.5rem;
  }
  
  .hero-cta-proy {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .seccionproy1 {
    min-height: 60vh;
    padding-top: 20px;
  }
  
  .hero-content-proy {
    padding: 0 15px;
  }
  
  .hero-title-proy {
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle-proy {
    margin-bottom: 1.2rem;
  }
  
  .hero-cta-proy {
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: 25px;
  }
}

.video-fondosec4 {
  /* ... (tus estilos actuales) ... */
  pointer-events: none; /* Bloquea cualquier interacción con el video */
}

/* ========== NUEVA SECCION2PROY RESPONSIVA ========== */
.seccion2proy {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Header profesional de la sección */
.proyectos-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.proyectos-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(255, 217, 61, 0.1) 0%, transparent 40%);
  z-index: 0;
}

.header-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.header-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b, #ffd93d);
  color: #1a1a1a;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
  box-shadow: 0 8px 30px rgba(255, 107, 107, 0.3);
  animation: fadeInUp 1s ease-out;
}

.header-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.header-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.header-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, #ff6b6b, #ffd93d);
  margin: 0 auto;
  border-radius: 2px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Contenedor principal con grid responsivo */
.proyectos-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
  width: 100%;
}

/* Panel de navegación de proyectos mejorado */
.contenedor-textoproy {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 50px 35px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.contenedor-textoproy:hover {
  transform: translateY(-5px);
}

.contenedor-textoproy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 107, 107, 0.08), rgba(255, 217, 61, 0.08));
  opacity: 0.6;
  z-index: 0;
}

.navegacion-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.navegacion-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 35px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Estilos de los items de texto mejorados */
.texto-item {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 15px 20px;
  margin-bottom: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  background: rgba(255, 255, 255, 0.05);
}

.texto-item:hover {
  background: rgba(255, 107, 107, 0.2);
  border-left-color: #ff6b6b;
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.texto-item.active {
  background: linear-gradient(135deg, #ff6b6b, #ffd93d);
  color: #1d1d1d;
  font-weight: 600;
  border-left-color: #ffffff;
  transform: translateX(15px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Contenedor de imagen premium - MÁS GRANDE */
.contenedor-imgproy {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 750px;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 15px 40px rgba(0, 0, 0, 0.2);
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.contenedor-imgproy:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 40px 100px rgba(0, 0, 0, 0.5),
    0 20px 50px rgba(255, 107, 107, 0.2);
}

.contenedor-imgproy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(255, 107, 107, 0.15) 0%, 
    rgba(255, 217, 61, 0.15) 100%
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contenedor-imgproy:hover::before {
  opacity: 1;
}

.contenedor-imgproy::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contenedor-imgproy:hover::after {
  opacity: 1;
}

.contenedor-imgproy img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.contenedor-imgproy:hover img {
  transform: scale(1.08);
}

/* Animación fadeInUp para el header */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== MEDIA QUERIES SECCION2PROY ========== */
@media screen and (max-width: 1400px) {
  .proyectos-container {
    max-width: 1200px;
    gap: 60px;
    padding: 60px 30px;
  }
  
  .navegacion-title {
    font-size: 1.8rem;
  }
  
  .contenedor-imgproy {
    height: 650px;
  }
}

@media screen and (max-width: 1200px) {
  .proyectos-header {
    padding: 100px 0 60px;
  }
  
  .header-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
  }
  
  .header-subtitle {
    font-size: 1.1rem;
  }
  
  .proyectos-container {
    max-width: 1100px;
    gap: 50px;
    padding: 60px 25px;
  }
  
  .navegacion-title {
    font-size: 1.7rem;
  }
  
  .contenedor-imgproy {
    height: 600px;
  }
}

@media screen and (max-width: 1024px) {
  .proyectos-header {
    padding: 80px 0 50px;
  }
  
  .header-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }
  
  .header-subtitle {
    font-size: 1rem;
  }
  
  .proyectos-container {
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 900px;
    padding: 50px 20px;
  }
  
  .contenedor-textoproy {
    padding: 40px 30px;
    order: 1;
  }
  
  .contenedor-imgproy {
    height: 550px;
    order: 2;
  }
  
  .navegacion-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  
  .texto-item {
    font-size: 1rem;
    padding: 14px 20px;
  }
}

@media screen and (max-width: 768px) {
  .proyectos-header {
    padding: 60px 0 40px;
  }
  
  .header-content {
    padding: 0 15px;
  }
  
  .header-badge {
    font-size: 0.8rem;
    padding: 10px 20px;
  }
  
  .header-title {
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  }
  
  .header-subtitle {
    font-size: 0.95rem;
  }
  
  .header-divider {
    width: 80px;
    height: 3px;
  }
  
  .proyectos-container {
    padding: 40px 15px;
    gap: 50px;
  }
  
  .contenedor-textoproy {
    padding: 35px 25px;
    border-radius: 20px;
  }
  
  .navegacion-title {
    font-size: 1.4rem;
  }
  
  .navegacion-subtitle {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }
  
  .texto-item {
    font-size: 0.95rem;
    padding: 12px 18px;
    margin-bottom: 10px;
  }
  
  .contenedor-imgproy {
    height: 450px;
    border-radius: 20px;
  }
}

@media screen and (max-width: 480px) {
  .proyectos-header {
    padding: 50px 0 30px;
  }
  
  .header-content {
    padding: 0 10px;
  }
  
  .header-badge {
    font-size: 0.75rem;
    padding: 8px 16px;
  }
  
  .header-title {
    font-size: clamp(1.6rem, 3vw, 1.8rem);
  }
  
  .header-subtitle {
    font-size: 0.9rem;
  }
  
  .header-divider {
    width: 60px;
    height: 2px;
  }
  
  .proyectos-container {
    padding: 30px 10px;
    gap: 40px;
  }
  
  .contenedor-textoproy {
    padding: 30px 20px;
    border-radius: 18px;
  }
  
  .navegacion-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .navegacion-subtitle {
    font-size: 0.85rem;
    margin-bottom: 25px;
  }
  
  .texto-item {
    font-size: 0.9rem;
    padding: 10px 16px;
    margin-bottom: 8px;
  }
  
  .texto-item:hover,
  .texto-item.active {
    transform: translateX(5px);
  }
  
  .contenedor-imgproy {
    height: 350px;
    border-radius: 18px;
  }
  
  .contenedor-imgproy:hover {
    transform: translateY(-5px);
  }
}

/* Reglas antigas de seccion2proy eliminadas - ahora usa el nuevo diseño responsivo */

/* Estilos generales */
.seccion-servicios1 {
  background-color: #1d1d1d;
  width: auto;
  position: relative;
}

.banner-servicios {
  width: 100%;
  height: auto;
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 100px;
  position: relative;
  margin-top: 80px; /* Espacio después del navbar */
  box-sizing: border-box;
}

.elementos-banner {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  margin: 0 20px;
  transition: color 0.3s ease;
  white-space: nowrap;
}


.elementos-banner:hover {
  color: #ffcc00;
}
.elementos-banner.active {
  color: #ffcc00 !important;
  font-weight: 500; /* Opcional: para resaltar más */
}

/* Animación del ícono */
.material-symbols-outlined {
  transition: all 0.3s ease;
}


.slider-contenedor {
  width: 100%;
  max-width: 1511px;
  height: 1028px;
  position: relative;
  margin: 20px auto 0;
  overflow-y: auto;       /* Scroll vertical */
  overflow-x: hidden;     /* Ocultar scroll horizontal */
  padding: 20px;
  box-sizing: border-box;
}

.slider-seccion {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateX(100%);
}

.slider-seccion.active {
  opacity: 1;
  transform: translateX(0);
}

/* Contenedor de cards centrado */
.contenedor-servicios1 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}
.cardsec5-servicio {
  width: 100%;
  height: 100%;
  background-color: #FCF9F4;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
}

/* Imagen de la card */
.cardsec5-servicio img {
  width: 204.5px; /* Ancho fijo para la imagen */
  height: 100%; /* Altura completa */
  object-fit: cover; /* Ajusta la imagen sin distorsionar */
}

/* Contenido de la card */
.contenido-card-servicio {
  flex: 1; /* Ocupa el espacio restante */
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Contenedor derecho (iconos, título y precio) */
.contenido-derecho-servicio {
  display: flex;
  flex-direction: column;
}

/* Estilos para los iconos de la card */
.iconos-card-servicio {
  display: flex;
  align-items: center;
  max-width: 95%;
}

.iconos-card-servicio .material-symbols {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 36px;
  color: #F0A85C !important;
}

.iconos-card-servicio .material-symbols:hover {
  transform: scale(1.2);
  cursor: pointer;
}

/* Estilos para el texto del título */
.texto-titulo-servicio {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  color: #18181C;
  margin: 0;
  font-weight: bold;
}

/* Estilos para el texto del precio */
.texto-precio-servicio {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #18181C;
  margin: 0;
  font-weight: bold;
  padding-top: 1rem;
}

/* Contenedor de servicios1 para Marketing y Web */
#marketing .contenedor-servicios1,
#web .contenedor-servicios1 {
  height: auto !important;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center; /* Centrar horizontalmente */
  gap: 20px;
  padding: 20px;
  grid-template-columns: unset !important; /* Eliminar grid */
}

/* Cards (estilo original: imagen izquierda + contenido derecha) */
#marketing .cardsec5-servicio,
#web .cardsec5-servicio {
  width: 487px !important; /* Ancho total de la card (204.5px imagen + resto contenido) */
  height: 244.9px !important;
  flex-direction: row !important; /* Forzar dirección horizontal */
  flex-shrink: 0; /* Evitar que se encojan */
}

/* Imagen (estilo original) */
#marketing .cardsec5-servicio img,
#web .cardsec5-servicio img {
  /*width: 204.5px !important; /* Ancho fijo de la imagen */
  height: 100% !important;
  object-fit: cover;
}

/* Contenido (estilo original) */
#marketing .contenido-card-servicio,
#web .contenido-card-servicio {
  flex: 1 !important; /* Espacio restante a la derecha */
  padding: 16px !important;
}

/* Estilos base para la sección seccionus1 */
.seccionus1 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #1d1d1d;
  padding: 50px 20px 20px;
  margin-top: 80px;
  box-sizing: border-box;
}

/* Estilos base para los contenedores */
.contenedor-us1 {
  width: 100%;
  max-width: 1486px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Estilos para el primer contenedor */
.contenedor-us1-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
}

/* Elemento izquierdo (texto) */
.elementoizqus {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Header */
.headerus1 {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  color: #F0725C;
  margin: 0 0 10px 0;
}

/* Subtítulo */
.subus1 {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  color: #ffffff;
  margin: 0 0 20px 0;
}

/* Párrafo */
.parrafous1 {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
}

/* Color específico para "Multi MKT" */
.multimkt-color {
  color: #5C66F0;
}

/* Elemento derecho (imagen) */
.elementoderus img {
  width: 100%;
  max-width: 650px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* Estilos para el segundo contenedor */
.contenedor-us1-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
}

/* Columna izquierda (imagen) */
.columnaizqus2 img {
  width: 100%;
  max-width: 911px;
  height: fit-content;
  object-fit: cover;
  border-radius: 8px;
  padding-top: 5rem;
}

/* Columna derecha (texto) */
.columnaderus2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Título */
.tituloexpertosus2 {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  color: #F0A85C;
  margin: 0 0 20px 0;
  text-align: center;
}

/* Contenedor de experto */
.contenedorus2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Header de experto */
.headerexpertosus2 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #ffffff;
  margin: 0;
}

/* Párrafo de experto */
.parrafoexpertosus2 {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

/* Estilos para el tercer contenedor */
.contenedor-us1-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
}

/* Título */
.tituloelegirnos-us3 {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  color: #F0C45C;
  text-align: center;
  margin: 0 0 20px 0;
}

/* Imagen */
.imagen-elegirnos-us3 img {
  width: 100%;
  max-width: 1486px;
  height: auto;
  border-radius: 8px;
}

/* Contenedor principal */
.contenedor-principal-us3 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenedor interno */
.contenedor-interno-us3 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 20px;
}

/* Primer elemento (texto y botón) */
.elemento-izquierdo-us3 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Párrafo */
.parrafo-elegirnos-us3 {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
}

/* Botón */
.boton-elegirnos-us3 {
  width: 100%;
  max-width: 322px;
  height: 39px;
  background-color: #F05C5F;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 auto;
}

/* Segundo, tercer y cuarto elementos (iconos, subtítulo y párrafo) */
.elemento-derecho-us3 {
  width: 100%;
  max-width: 348px;
  background-color: #FFF8EB;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 20px;
  margin: 0 auto;
}

/* Iconos */
.iconos-card-servicio-us3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 40%;
}

.iconos-card-servicio-us3 .material-symbols {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 24px;
  color: #F0A85C !important;
}

.iconos-card-servicio-us3 .material-symbols:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/* Subtítulo */
.subtitulo-elegirnos-us3 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #18181C;
  margin: 0;
}

/* Párrafo de testimonio */
.parrafo-testimonio-us3 {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #18181C;
  margin: 0;
  line-height: 1.4;
}

/* Media Queries para tablets */
@media (min-width: 768px) {
  .contenedor-us1-1 {
    flex-direction: row;
    align-items: center;
  }
  
  .elementoizqus {
    width: 60%;
  }
  
  .elementoderus {
    width: 40%;
  }
  
  .contenedor-us1-2 {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .columnaizqus2 {
    width: 50%;
  }
  
  .columnaderus2 {
    width: 50%;
  }
  
  .contenedor-interno-us3 {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .elemento-izquierdo-us3 {
    width: 100%;
    max-width: none;
  }
  
  .elemento-derecho-us3 {
    width: calc(50% - 12px);
    max-width: none;
  }
  
  .headerus1, .tituloexpertosus2, .tituloelegirnos-us3 {
    font-size: 32px;
  }
  
  .subus1 {
    font-size: 24px;
  }
  
  .parrafous1, .parrafoexpertosus2, .parrafo-elegirnos-us3 {
    font-size: 18px;
  }
  
  .headerexpertosus2 {
    font-size: 22px;
  }
  
  .subtitulo-elegirnos-us3 {
    font-size: 22px;
  }
  
  .parrafo-testimonio-us3 {
    font-size: 16px;
  }
}

/* Media Queries para desktop */
@media (min-width: 1024px) {
  .contenedor-us1 {
    padding: 0 20px;
  }
  
  .elementoizqus {
    width: 50%;
  }
  
  .elementoderus {
    width: 50%;
  }
  
  .contenedor-interno-us3 {
    flex-wrap: nowrap;
  }
  
  .elemento-izquierdo-us3 {
    width: 322px;
  }
  
  .elemento-derecho-us3 {
    width: 348px;
  }
  
  .headerus1, .tituloexpertosus2, .tituloelegirnos-us3 {
    font-size: 32px;
  }
  
  .subus1 {
    font-size: 28px;
  }
  
  .parrafous1, .parrafoexpertosus2, .parrafo-elegirnos-us3 {
    font-size: 20px;
  }
  
  .headerexpertosus2 {
    font-size: 24px;
  }
  
  .subtitulo-elegirnos-us3 {
    font-size: 24px;
  }
  
  .parrafo-testimonio-us3 {
    font-size: 16px;
  }
}

/* Estilos para la sección ChooseForU */
.seccion-chooseforu {
  width: 100%;
  height: 359px;
  position: relative;
  overflow: hidden; /* Oculta el desbordamiento del video */
}

/* Video de fondo */
.video-fondous {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajusta el video al tamaño del contenedor */
  z-index: -1; /* Coloca el video detrás del contenido */
}

/* Contenido de la sección */
.contenido-chooseforu {
  position: relative;
  z-index: 1; /* Coloca el contenido encima del video */
  display: flex;
  flex-direction: column;
  align-items: center; /* Centrar horizontalmente */
  justify-content: center; /* Centrar verticalmente */
  height: 100%;
  overflow-x: auto; /* Habilita scroll horizontal */
  overflow-y: hidden; /* Oculta scroll vertical */
}
/* Versión mobile (solo aplica en < 768px) */
@media (max-width: 768px) {
  .contenido-chooseforu {
    align-items: flex-start; /* Alineación a la izquierda */
    padding-left: 20px; /* Espacio inicial */
    overflow-x: auto; /* Scroll horizontal */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
  }
}

/* Header */
.header-chooseforu {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  color: #ffffff; /* Color blanco */
  text-align: center;
  margin-bottom: 20px; /* Espacio debajo del header */
  font-weight: normal;
}

/* Baby elements */
.baby-elements {
  display: flex;
  gap: 40px; /* Espacio entre elementos */
  max-width: 1340px;
  max-height: 217px;
  margin-bottom: 40px;
}

/* Baby element */
.baby-element {
  width: 232.8px;
  background-color: rgba(252, 249, 244, 0.5); /* Fondo semi-transparente */
  backdrop-filter: blur(30.4px); /* Efecto blur */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Alinear contenido a la izquierda */
  justify-content: center; /* Centrar verticalmente */
  padding: 20px; /* Espaciado interno */
  border-radius: 10px; /* Bordes redondeados */
  border: 2.5px solid rgb(255, 255, 255); /* Borde sutil para mejorar el efecto */
}

/* Iconos */
.iconos-card-chooseforu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

.iconos-card-chooseforu .material-symbols {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 30px; /* Tamaño de los iconos */
  color: #F0A85C !important;
}

.iconos-card-chooseforu .material-symbols:hover {
  transform: scale(1.2);
  cursor: pointer;
}

/* Título del baby element */
.titulo-babyelement {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  color: #000000; /* Color negro */
  text-align: left; /* Alinear texto a la izquierda */
  margin: 10px 0; /* Espacio arriba y abajo */
  line-height: 1.2; /* Espaciado entre líneas */
  font-weight: normal;
}

/* Precio del baby element */
.precio-babyelement {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #000000; /* Color negro */
  text-align: left; /* Alinear texto a la izquierda */
  margin: 0; /* Eliminar margen predeterminado */
}

/* Estilos para el botón "Consultar servicio" */
.boton-consultar {
  font-family: 'Roboto', sans-serif;
  font-size: 20px; /* Tamaño de fuente */
  color: #000000; /* Color del texto */
  background-color: transparent; /* Fondo transparente */
  border: 1px solid #000000; /* Borde negro */
  border-radius: 16px; /* Bordes redondeados */
  padding: 4px 8px; /* Espaciado interno */
  cursor: pointer; /* Cambiar cursor al pasar el mouse */
  margin-top: -10px; /* Espacio arriba del botón */
  display: block; /* Hacer que el botón sea un bloque */
  margin-left: auto; /* Centrar horizontalmente */
  margin-right: 11px; /* Centrar horizontalmente */
  transition: background-color 0.3s, color 0.3s; /* Transición suave */
}

/* Efecto hover para el botón */
.boton-consultar:hover {
  background-color: #000000; /* Fondo negro */
  color: #ffffff; /* Texto blanco */
}

/* Estilos para la sección */
.seccion-productos {
  width: auto;
  height: 867px; /* Altura máxima */
  background-color: black; /* Fondo negro */
  display: flex;
  justify-content: flex-start;
  align-items: flex-start; /* Alineamos el contenido en la parte superior */
  padding: 20px; /* Espacio interno para que el fondo negro sea visible */
}

/* Contenedor izquierdo */
.contenedor-izquierdo-productos {
  width: 361px;
  height: auto; /* Altura automática para que no ocupe todo el espacio */
  background-color: transparent;
}

/* Header */
.header-productos h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: white;
  text-align: left;
  margin-bottom: 20px;
  padding-top: 2rem;
  padding-left: 2rem;
  margin-top: 3.8rem;
}

/* Contenedor de las cards */
.contenedor-cards-productos {
  max-height: 767px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-left: 20px; /* Añadimos padding */
  box-sizing: border-box; /* Obligatorio */
  width: 400px; /* Mantenemos el ancho original */
}

/* Oculta la barra de scroll en navegadores WebKit (Chrome, Safari) */
.contenedor-cards-productos::-webkit-scrollbar {
  display: none;
}

/* Estilos para las cards */
.card-productos {
  width: calc(100% - 20px); 
  height: 245px;
  background-color: white;
  border-radius: 20px; /* Añadimos border-radius */
  display: flex;
  margin-bottom: 20px;
  overflow: hidden; /* Para que las esquinas de la imagen también se redondeen */
}

/* Imagen de la card */
.imagen-card-productos {
  width: 200px; /* Ancho aumentado */
  height: 245px;
  overflow: hidden;
}

.imagen-card-productos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenedor derecho (iconos, título y precio) */
.contenido-derecho-productos {
  width: 150px; /* Ancho reducido */
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  background-color: #fff4f4; /* Color del lado derecho */
}

/* Iconos de la card */
.iconos-card-productos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%; /* Ajuste para el nuevo ancho */
}

.iconos-card-productos .material-symbols1-productos {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 28px;
  color: #F0A85C !important;
}

.iconos-card-productos .material-symbols1-productos:hover {
  transform: scale(1.2);
  cursor: pointer;
}

/* Texto del título */
.texto-titulo-productos {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #18181C;
  margin: 0;
  font-weight: normal;
}

/* Texto del precio */
.texto-precio-productos {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #18181C;
  margin: 0;
  font-weight: normal;
  padding-top: 1rem;
}

/* Contenedor central */
.contenedor-centro-productos {
  width: 867px; /* Ancho de la imagen */
  height: 867px; /* Alto de la imagen */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Para evitar desbordamientos */
  padding-left: 5rem;
}

/* Estilos para la imagen */
.contenedor-centro-productos img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajusta la imagen al contenedor sin deformarla */
}

/* Contenedor derecho */
.contenedor-derecho-productos {
  width: 492px;
  height: 578px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 4rem;
}

/* Texto header */
.titulo-derecho {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  color: white;
  text-align: left;
  margin: 0;
  margin-bottom: 2rem;
}

/* Precio */
.precio-derecho {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: white;
  text-align: left;
  margin: 10px 0;
  margin-bottom: 1rem;
}

/* Botones - Estilo unificado */
.boton-derecho, .contador-derecho, .boton-consultar3 {
  width: 492px;
  height: 40px;
  background: transparent;
  border: 2px solid white;
  border-radius: 20px;
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px; /* Añadimos padding interno */
  box-sizing: border-box; /* ¡Clave! Incluye padding en el ancho total */
}

/* Estilos para el icono de Material Symbols (estrella) */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 20px; /* Tamaño pequeño */
  color: white;
  padding-left: 0.5rem;
}

/* Estilos para el icono de Line Awesome (carrito) */
.las {
  font-size: 30px; /* Tamaño pequeño */
  color: white;
}

/* Contenedor botones */
.botones-derecho {
  display: flex;
  flex-direction: column;
  gap: 1rem;
 transform: translateY(-15%);
}

/* Contador - Ajustes específicos */
.contador-derecho {
  justify-content: space-between;
  padding: 0 200px;
}

/* Botones del contador */
.boton-contador {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0; /* Eliminamos padding lateral */
  flex-shrink: 0; /* Evita que se encojan */
}

.boton-contador:hover {
  transform: scale(1.2);
}

.cantidad {
  flex-grow: 1; /* Ocupa todo el espacio disponible */
  text-align: center;
  font-size: 18px;
}

/* Estrellas */
.estrellas-derecho {
  display: flex;
  gap: 10px;
  transform: translateY(-55%);
}

/* Descripción */
.descripcion-derecho {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: white;
  text-align: left;
  line-height: 1.5;
  transform: translateY(-15%);
}

/* ============================================== */
/* NUEVOS ESTILOS PARA ESTRELLAS EN CONTENEDOR DERECHO */
/* ============================================== */
.estrellas-derecho .material-symbols1-productos {
  font-family: 'Material Symbols Outlined'; 
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 41px; 
  color: #F0725C !important;
  transition: transform 0.2s;
}

.estrellas-derecho .material-symbols1-productos:hover {
  transform: scale(1.2);
  cursor: pointer;
}

.reseñas-texto {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: white;
  margin-left: 5px; /* Separación adicional */
  margin-top: 1rem;
}


@media screen and (max-width: 768px) {
  .seccion-productos {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 1rem;
  }

  .contenedor-izquierdo-productos {
    width: 100%;
    padding: 0 1rem;
  }

  .contenedor-cards-productos {
    width: 100%;
    max-height: max-content;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card-productos {
    flex-direction: column;
    height: auto;
    width: 90%;
  }
  .iconos-card-productos {
    width: 30%;
  }
  .texto-titulo-productos
  {
    width: 90%;
  }

  .imagen-card-productos {
    width: 100%;
    height: 200px;
  }

  .contenido-derecho-productos {
    width: 100%;
    padding: 1rem;
    gap: 10px;
  }

  .iconos-card-productos .material-symbols1-productos,
  .estrellas-derecho .material-symbols1-productos {
    font-size: 20px;
  }

  .contenedor-centro-productos {
    width: 100%;
    height: auto;
    padding: 2rem 0;
  }

  .contenedor-centro-productos img {
    height: auto;
    max-height: 300px;
  }

  .contenedor-derecho-productos {
    width: auto;
    padding: 1rem;
  }

  .boton-derecho, .contador-derecho, .boton-consultar3 {
    width: 100%;
  }

  .contador-derecho {
    padding: 0 5rem;
  }

  .descripcion-derecho {
    transform: translateY(0);
  }

  .estrellas-derecho {
    transform: translateY(0);
  }

  .botones-derecho {
    transform: translateY(0);
  }
}

@media screen and (max-width: 480px) {
  .iconos-card-productos {
    width: 40%;
  }
  .texto-titulo-productos
  {
    width: 90%;
  }
}
@media screen and (min-width: 768px) and (max-width: 1000px) {
  .seccion-productos {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 1rem;
  }

  .contenedor-izquierdo-productos {
    width: 100%;
    padding: 0 1rem;
  }

  .contenedor-cards-productos {
    width: 60%;
    max-height: max-content;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card-productos {
    flex-direction: column;
    height: auto;
    width: 90%;
  }

  .iconos-card-productos {
    width: 30%;
  }

  .texto-titulo-productos {
    width: 90%;
  }

  .imagen-card-productos {
    width: 100%;
    height: 200px;
  }

  .contenido-derecho-productos {
    width: 100%;
    padding: 1rem;
    gap: 10px;
  }

  .iconos-card-productos .material-symbols1-productos,
  .estrellas-derecho .material-symbols1-productos {
    font-size: 20px;
  }

  .contenedor-centro-productos {
    width: 100%;
    height: auto;
    padding: 2rem 0;
  }

  .contenedor-centro-productos img {
    height: auto;
    max-height: 300px;
  }

  .contenedor-derecho-productos {
    padding: 1rem;
  }

  .boton-derecho, .contador-derecho, .boton-consultar3 {
    width: 100%;
  }

  .contador-derecho {
    padding: 0 5rem;
  }

  .descripcion-derecho,
  .estrellas-derecho,
  .botones-derecho {
    transform: translateY(0);
  }
}



.seccion-login {
  width: auto;
  height: 750px;
  background-color: #1d1d1d;
  display: flex; /* Añadido */
  justify-content: flex-start; /* Añadido */
  align-items: center; /* Añadido */
  padding-left: 300px; /* Controla posición horizontal */
  box-sizing: border-box;
}

.header-login {
  color: #5C66F0;
  padding: 15px;
  text-align: left;
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 20px; /* Recuperamos este margen */
  position: relative;
  top: 30px; /* Bajamos SOLO el header 30px */
}

.input-header-login {
  font-size: 14px;
  color: #000;
  margin-bottom: 8px;
  text-align: left;
  font-weight: 500;
  display: block; /* Asegura que ocupe su propia línea */
  width: 344px; /* Mismo ancho que los inputs */
}

.container-login {
  width: 380px;
  height: 600px;
  background-color: #D9D9D9;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  /* Eliminamos el padding superior extra del container */
}

.form-content-login {
  flex: 1; /* Ocupa todo el espacio disponible */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra verticalmente los inputs */
}

.subtitle-login {
  text-align: left;
  margin-bottom: 30px;
  color: #333;
}

.input-field-login {
  width: 344px;
  padding: 12px;
  margin-bottom: 20px;
  background-color: transparent;
  border: 1px solid black;
  border-radius: 5px;
  color: black;
  box-sizing: border-box;
}

.input-field-login:focus {
  outline: none;
  border-color: #5C66F0; /* Mismo color que el botón al enfocar */
  color: black; /* Asegurar texto negro al escribir */
}

.input-field-login::placeholder {
  color: #666; /* Gris medio para el placeholder */
  opacity: 1; /* Asegurar visibilidad en todos los navegadores */
}

.login-button-login, 
.google-button-login {
    height: 42px; /* Reducimos de ~48px (12px padding + 24px línea base) a 42px */
    padding: 10px 12px; /* Reducimos padding vertical */
    background-color: #4a54e0;
    width: 344px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    transition: background-color 0.3s;
}

.login-button-login:hover {
  background-color: #4a54e0;
}

/* Contenedor para inputs con iconos */
.input-container-login {
  position: relative;
  width: 344px;
  margin: 0 auto 0px;
}

/* Estilo para los iconos */
.input-icon-login {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-80%);
  color: #666;
  cursor: pointer;
  font-size: 18px;
}

/* Ajuste para el input con icono */
.input-field-login {
  padding-right: 40px; /* Espacio para el icono */
  width: 100%; /* Ocupa todo el ancho del contenedor */
}

.separator-login {
  color: #666;
  text-align: center;
  margin: 12px 0;
  position: relative;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.separator-login::before,
.separator-login::after {
    flex: 2; /* Líneas aún más largas */
    margin: 0 10px; /* Más espacio entre texto y líneas */
    height: 3px;
    background-color: #5C66F0;
}

.login-button-login{
  background-color: #5C66F0 !important;
}

/* Botón Google */
.google-button-login {
  width: 344px;
  padding: 12px;
  background-color: #F05C5F;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.3s;
}

.google-icon-login {
  font-size: 18px;
}

.google-button-login:hover {
  background-color: #D94346;
}

/* Estilos base para móvil (mobile-first) */
.seccion-perfil {
  width: 100%;
  min-height: 100vh; /* Altura mínima de viewport */
  background-color: #2d2c2c;
  display: flex;
  justify-content: center; /* Centrado en móvil */
  align-items: flex-start; /* Alineación arriba */
  padding: 20px; /* Espaciado general */
  box-sizing: border-box;
}

.container-perfil {
  width: 100%;
  max-width: 380px; /* Máximo ancho igual al original */
  background-color: #2d2c2c;
  padding: 30px 20px;
  box-sizing: border-box;
  color: white;
  margin-top: 100px;
}

/* Tablet (≥768px) */
@media (min-width: 768px) {
  .seccion-perfil {
    align-items: center; /* Centrado vertical */
    padding-left: 50px; /* Pequeño margen lateral */
  }
  
  .container-perfil {
    margin-top: 80px;
    padding: 40px 20px;
  }
}

/* Desktop (≥1024px) */
@media (min-width: 1024px) {
  .seccion-perfil {
    justify-content: flex-start; /* Alineación izquierda */
    padding-left: 300px; /* Desplazamiento horizontal original */
  }
  
  .container-perfil {
    left: 30px; /* Ajuste fino de posición */
    position: relative; /* Solo necesario en desktop */
  }
}

.header-perfil {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  color: white;
}

.contenido-perfil {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.grupo-datos-perfil {
  padding-bottom: 15px;
}

.label-perfil {
  font-size: 27px;
  color: #ffffff;
  margin-bottom: 5px;
}

.valor-grande-perfil {
  font-size: 20px;
  font-weight: 500;
}

.valor-pequeno-perfil {
  font-size: 16px;
  color: #ccc;
}

.grupo-editable-perfil {
  position: relative;
  padding-bottom: 15px;
}

.label-con-icono-perfil {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.icono-editar-perfil {
  color: #666;
  cursor: pointer;
  font-size: 18px;
}

.icono-editar-perfil:hover {
  color: #888;
}

.direccion-perfil {
  font-size: 15px;
  color: #c4c4c4;
  line-height: 1.4;
}

.valor-enmascarado-perfil {
  font-size: 16px;
  letter-spacing: 2px;
}

.botones-inferiores-perfil {
  margin-top: 0px;
  display: flex;
  gap: 30px;
}

.boton-accion-perfil {
  background: transparent;
  border: 1px solid #333;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid white; /* Borde blanco */
  border-radius: 7px; /* Radio de esquinas */
  padding: 12px; /* Espaciado interno */
}

.boton-accion-perfil:hover {
  background-color: #333;
}

.boton-accion-perfil i {
  font-size: 23px;
}

/* Estilos de imagen de perfil */
.imagen-perfil-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: -30px auto 20px; /* Ajuste de posición vertical */
  cursor: pointer;
  z-index: 1;
}

.imagen-perfil {
  width: 100%;
  height: 100%;
  border-radius: 8px; /* Cambiamos de 50% a 8px para esquinas ligeramente redondeadas */
  object-fit: cover;
  border: 3px solid white; /* Borde blanco */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

/* Ajustamos posición del icono de edición para mejor visibilidad */
.icono-editar-imagen-perfil {
  position: absolute;
  bottom: 5px;
  right: 5px;
}

/* Opcional: Ajustar hover para destacar borde */
.imagen-perfil:hover {
  border-color: #5C66F0;
}

.icono-editar-imagen-perfil i {
  color: white;
  font-size: 18px;
}

/* Estilos del modal */
.galeria-modal-perfil {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.contenido-modal-perfil {
  background: #1d1d1d;
  border-radius: 12px;
  padding: 20px;
  position: relative;
}

.cerrar-modal-perfil {
  position: absolute;
  top: 0px;
  right: 25px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  transition: color 0.3s;
}

.cerrar-modal-perfil:hover {
  color: #5C66F0;
}

.grid-galeria-perfil {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  height: calc(100% - 60px);
  margin-top: 20px;
}

.item-galeria-perfil {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s;
}

.item-galeria-perfil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-galeria-perfil:hover {
  transform: scale(1.05);
  z-index: 1;
}

/* Modal Principal */
.modal-password {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Contenedor */
.container-password {
  width: 596px;
  height: 498px;
  background: linear-gradient(to bottom, #5C66F0, #3A4ACF);
  border: 3px solid #FCF9F4;
  border-radius: 15px;
  padding: 30px;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Header */
.header-password {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 24px;
  margin-bottom: 40px;
  position: relative; /* Necesario para el pseudo-elemento */
  padding-bottom: 20px; /* Espacio para el separador */
  margin-bottom: 20px; /* Espacio antes de los inputs */
}

/* Línea separadora */
.header-password::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -30px; /* Compensa el padding */
  width: calc(100% + 60px); /* 100% + padding izquierdo y derecho */
  height: 2px;
  background: white;
  opacity: 0.9;
}

.close-password {
  cursor: pointer;
  font-size: 28px;
  transition: transform 0.3s;
}

.close-password:hover {
  transform: rotate(90deg);
}

/* Contenido */
.content-password {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

/* Grupos de Input */
.input-group-password {
  width: 80%;
  margin: 0 auto;
  margin-top: 40px;
}

.label-password {
  display: block;
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
  font-size: 16px;
}

.input-wrapper-password {
  position: relative;
}

.input-password {
  width: 80%;
  padding: 12px 45px 12px 15px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255, 255, 255, 0.982);
  border-radius: 8px;
  color: white;
  font-size: 16px;
}

.input-password:focus {
  outline: none;
  border-color: white;
  background: rgba(255, 255, 255, 0.2);
}

.icon-eye-password {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: color 0.3s;
}

.icon-eye-password:hover {
  color: white;
}

/* Botón Guardar */
.btn-save-password {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: transparent;
  color: white; /* Cambiado a blanco para mejor contraste */
  border: 2px solid white; /* Borde blanco de 2px */
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  transition: all 0.3s;
  backdrop-filter: blur(5px); /* Efecto de vidrio opcional */
}

.btn-save-password:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Estilos base (similares al modal de contraseña) */
.modal-direccion {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.container-direccion {
  width: 480px;
  height: auto; /* Altura automática */
  min-height: 498px;
  background: linear-gradient(to bottom, #5C66F0, #3A4ACF);
  border: 3px solid #FCF9F4;
  border-radius: 15px;
  padding: 30px;
  box-sizing: border-box;
  position: relative;
}

/* Header */
.header-direccion {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 20px;
  color: white;
  font-size: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Separador (reutilizable) */
.separador-direccion {
  position: absolute;
  left: -30px;
  width: calc(100% + 60px);
  height: 2px;
  background: white;
  opacity: 0.9;
}

/* Separador (reutilizable) */
.separador-inferior {
  margin-top: -20px;
  margin-left: -45px;
  width: calc(100% + 90px);
  height: 2px;
  background: white;
  opacity: 0.9;
}

.header-direccion .separador-direccion {
  bottom: 0;
}

/* Contenido */
.content-direccion {
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
  padding-bottom: 60px; /* Espacio para el footer */
  margin: 0 16px; /* Margen lateral solicitado */
}
/* Primer input group con ícono especial */
.first-input-group {
  margin-top: 10px;
}

/* Inputs */
.input-group-direccion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.label-direccion {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
}

.input-direccion {
  width: 80%;
  padding: 12px 15px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgb(255, 255, 255);
  border-radius: 8px;
  color: white;
  font-size: 16px;
}

.input-direccion::placeholder {
  color: rgba(255,255,255,0.5);
}

.input-direccion:focus {
  outline: none;
  border-color: white;
  background: rgba(255,255,255,0.2);
}

/* Botón Guardar */
.btn-save-direccion {
  align-self: flex-end;
  background: transparent;
  color: white;
  border: 2px solid white; /* Borde blanco de 2px */
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: normal;
  font-size: 15px;
  margin-top: 0px;
  transition: all 0.3s;
  transform: translateY(-20%);
}

.btn-save-direccion:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Separador final */
.content-direccion .separador-direccion {
  bottom: 50px;
  margin: 15px 0;
}

/* Footer */
.footer-direccion {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  padding: 0 30px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.footer-direccion:hover {
  color: rgba(255,255,255,0.8);
}

.icon-add-direccion {
  font-size: 24px;
}

.forgot-password-link {
  display: block;
  text-align: left;
  margin-top: 8px;
  font-size: 14px;
  margin-left: 55px;
  color: #8E95F8;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.forgot-password-link:hover {
  color: #B3B8FF;
  text-decoration: underline;
}

.forgot-password-link:active {
  color: #6A72E0;
}

/* Modal Facturación */
.modal-facturacion {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.container-facturacion {
  width: 480px;
  background: linear-gradient(to bottom, #5C66F0, #3A4ACF);
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  
  /* Nuevas propiedades para centrar */
  position: absolute; /* o fixed, dependiendo de tu diseño */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.header-facturacion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.header-facturacion .ri-close-line {
  cursor: pointer;
  font-size: 20px;
  color: white;
}

.separador-facturacion {
  height: 1px;
  background: #e0e0e0;
  margin-bottom: 16px;
}

.metodo-pago {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 12px;
}

.metodo-pago i:first-child {
  margin-right: 10px;
  color: white;
}

.metodo-pago .ri-delete-bin-line {
  margin-left: auto;
  cursor: pointer;
  color: #ff4444;
}

.btn-add-payment {
  display: flex;
  align-items: center;
  background: none;
  border: 2px solid white;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 50px; /* Lo empuja hacia abajo */
  margin-left: auto; /* Lo alinea a la derecha */
  width: fit-content; /* Ancho según contenido */
  transition: all 0.3s;
}

.btn-add-payment i {
  margin-right: 8px;
}

.btn-add-payment:hover {
  border-color: #8da8e3;
  color: #8da8e3;
}


/* Estilos adicionales */
.content-add-payment {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.payment-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.option-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: white;
}

.option-text i {
  font-size: 18px;
}

/* Estilos para la simulación */
.card-form, .paypal-simulation {
  padding: 15px;
  color: white;
}

.card-form h3, .paypal-simulation h3 {
  margin-bottom: 15px;
}

.card-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: rgba(255, 255, 255, 0.9);
}

.flex-row {
  display: flex;
  gap: 10px;
}

.btn-pay {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
}

/* Botón Volver */
.btn-back {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s;
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Ajustes para los inputs */
.card-input {
  font-family: 'Courier New', monospace; /* Mejor legibilidad para números */
}

#cardNumberInput {
  letter-spacing: 1px; /* Separación visual entre grupos */
}

/* Estilos para los botones de acción */
.button-group {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-action {
  background: transparent;
  color: white;
  border: 2px solid white; /* Borde sólido como el botón volver */
  padding: 10px 15px;
  border-radius: 12px; /* Mismo radius que los inputs */
  cursor: pointer;
  width: 120px;
  transition: all 0.3s;
  font-weight: 600;
}


.btn-action:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-back {
  background: transparent;
  color: white;
  border: 2px solid white; /* Grosor aumentado a 2px */
  padding: 10px 15px;
  border-radius: 12px; /* Aumentado a 12px */
  cursor: pointer;
  width: 120px;
  transition: all 0.3s;
  font-weight: 600;
}


.btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ========== ESTILOS PARA EL FORMULARIO DE TARJETA ========== */
.card-form {
  padding: 20px 0;
  color: white;
}

.input-group {
  margin-bottom: 20px;
}

.input-header {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}

.input-subheader {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  margin-top: 4px;
}

.card-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-input::placeholder {
  color: rgba(255, 255, 255, 0.99);
  font-size: 14px;
}

.card-input:focus {
  border-color: white;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
}

/* Iconos dentro de inputs */
.input-icon {
  font-size: 18px;
  opacity: 0.7;
}

/* Estilo específico para CVV */
.cvv-input .input-header {
  font-size: 15px;
}

.cvv-input .input-subheader {
  font-size: 12px;
}

/* Estilos para los placeholders personalizados */
.input-group {
  position: relative;
}

.input-placeholder {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(calc(-50% + 10px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  color: rgb(255, 255, 255);
  pointer-events: none;
  width: calc(100% - 32px);
}

.input-placeholder i {
  font-size: 18px;
  opacity: 0.6;
}

.card-input input:focus ~ .input-placeholder,
.card-input input:not(:placeholder-shown) ~ .input-placeholder {
  display: none !important;
}

/* Asegurar que los inputs tengan fondo transparente */
.card-input input {
  background: transparent;
  border: none;
  width: 100%;
  color: white;
  padding-left: 0;
}

.card-input input:focus {
  outline: none;
}

/* ESTILOS PARA PLACEHOLDERS BLANCOS */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  height: 40px;
  padding: 0 12px;
}

.compact-input {
  background: transparent;
  border: none;
  color: white;
  width: 100%;
  height: 100%;
  padding: 0 0 0 30px;
  outline: none;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.white-placeholder {
  position: absolute;
  left: 40px;
  color: white; /* 100% blanco */
  display: block;
  pointer-events: none;
  font-size: 14px;
}

.input-icon {
  position: absolute;
  left: 12px;
  font-size: 18px;
  color: white;
  z-index: 1;
}

/* Oculta placeholder cuando hay texto o está enfocado */
.compact-input:focus ~ .white-placeholder,
.compact-input:not(:placeholder-shown) ~ .white-placeholder {
  display: none;
}

.compact-input:not(:focus):placeholder-shown ~ .white-placeholder {
  display: block !important; /* Fuerza visibilidad inicial */
}

/* Estilos para Payment options */
.payment-options-container {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Espacio entre elementos */
}

.payment-option {
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 20px;
}

.payment-option:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.payment-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 10px 0;
}

.option-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 15px;
}

.option-text i {
  font-size: 18px;
}

/* ===== ESTILOS ESPECÍFICOS PARA CVV ===== */
.cvv-input-group {
  margin-bottom: 20px;
}

.cvv-header-wrapper {
  display: flex;
  margin-bottom: 8px;
}

.cvv-main-header {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.cvv-sub-header {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 4px;
  font-weight: normal;
  white-space: normal;
  display: inline;
}

.cvv-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  height: 40px;
  padding: 0 12px;
}

.cvv-compact-input {
  background: transparent;
  border: none;
  color: white;
  width: 100%;
  height: 100%;
  padding: 0 0 0 30px;
  outline: none;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.cvv-white-placeholder {
  position: absolute;
  left: 40px;
  color: white;
  display: block;
  pointer-events: none;
  font-size: 14px;
}

.cvv-input-icon {
  position: absolute;
  left: 12px;
  font-size: 18px;
  color: white;
  z-index: 1;
}

/* Comportamiento placeholders */
.cvv-compact-input:focus ~ .cvv-white-placeholder,
.cvv-compact-input:not(:placeholder-shown) ~ .cvv-white-placeholder {
  display: none;
}

/* ===== ESTILOS GENERALES AUMENTADOS ===== */
/* Aumentamos todos los tamaños aproximadamente un 20% */

/* Header principal */
.header-facturacion {
  font-size: 22px; /* Antes 18px */
}

/* Headers de inputs */
.input-header, .cvv-main-header {
  font-size: 17px; /* Antes 14px */
  font-weight: 500;
}

/* Subheaders */
.input-subheader, .cvv-sub-header {
  font-size: 13px; /* Antes 11px */
}

/* Placeholders */
.white-placeholder, .cvv-white-placeholder,
.compact-input::placeholder, .cvv-compact-input::placeholder {
  font-size: 17px; /* Antes 14px */
}

/* Inputs */
.compact-input, .cvv-compact-input {
  font-size: 17px; /* Antes 14px */
  height: 48px; /* Antes 40px */
  padding: 0 0 0 36px; /* Antes 0 0 0 30px */
}

/* Iconos */
.input-icon, .cvv-input-icon {
  font-size: 22px; /* Antes 18px */
  left: 15px; /* Antes 12px */
}

/* Separación entre elementos */
.payment-options-container {
  gap: 24px; /* Antes 20px */
}

.payment-separator {
  margin: 12px 0; /* Antes 10px 0 */
}

/* Ajustes específicos para placeholders */
.white-placeholder, .cvv-white-placeholder {
  left: 48px; /* Antes 40px */
  font-size: 17px; /* Antes 14px */
}

/* Ajuste para inputs de CVV */
.cvv-input-wrapper {
  height: 48px; /* Antes 40px */
}

/* Estilos para métodos de pago guardados */
.metodo-pago {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 16px;
}

.metodo-pago i:first-child {
  margin-right: 12px;
  font-size: 20px;
  color: #5C66F0;
}

.metodo-pago .ri-delete-bin-line {
  margin-left: auto;
  cursor: pointer;
  color: #ff4444;
  font-size: 18px;
}

.metodo-pago .ri-delete-bin-line:hover {
  color: #cc0000;
}

/* ESTILOS PARA MODAL DE CONFIRMACIÓN */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.success-modal {
  background: linear-gradient(to bottom, #5C66F0, #3A4ACF);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 350px;
  width: 90%;
  border: 2px solid #e0e0e0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.success-icon i {
  font-size: 60px;
  color: #4CAF50;
  margin-bottom: 15px;
}

.success-modal h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 10px;
}

.success-modal p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.success-btn {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.success-btn:hover {
  background: #45a049;
  transform: translateY(-2px);
}

/* ESTILOS PARA MENSAJE SIN MÉTODOS */
.no-methods {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 20px;
  font-size: 15px;
}

/* PLACEHOLDERS VISIBLES */
.white-placeholder {
  position: absolute;
  left: 40px;
  color: white;
  font-size: 16px;
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}
.white-placeholder.visible {
  opacity: 1;
}
.compact-input {
  background: transparent !important;
  position: relative;
  z-index: 2;
}
.compact-input::placeholder {
  color: transparent;
}

/* MODAL DE CONFIRMACIÓN */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.success-modal {
  background: linear-gradient(to bottom, #5C66F0, #3A4ACF);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  max-width: 350px;
  border: 2px solid #e0e0e0;
}
.success-icon i {
  font-size: 60px;
  color: #4CAF50;
}
.success-btn {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s;
}
.success-btn:hover {
  background: #45a049;
}

/* TARJETAS GUARDADAS */
.metodo-pago {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.05);
}
.metodo-pago i:first-child {
  margin-right: 10px;
  color: white;
  font-size: 20px;
}
.ri-delete-bin-line {
  margin-left: auto;
  cursor: pointer;
  color: #ff4444;
}

.descripcion-derecho {
  white-space: pre-line; /* Respeta los saltos de línea */
  line-height: 1.3;
  margin-bottom: 15px;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-consultar {
  width: 650px;
  min-height: 321px;
  background: #FCF9F4;
  border-radius: 15px;
  padding: 25px;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.modal-header h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  color: #18181C;
  margin: 0;
}

.close-modal {
  font-size: 32px;
  cursor: pointer;
  color: #666;
}

.input-container {
  position: relative;
  margin: 15px 0;
}

.email-input {
  width: 602px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0 40px 0 15px;
  font-size: 16px;
}

.input-container .material-symbols-outlined {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.input-label {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #444;
  margin-bottom: 8px;
}

.modal-text {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 20px 0;
}

.modal-submit {
  background: #F0725C;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  float: right;
}

/* Contenedor principal de opciones */
.pricing-options-container {
    width: 100%;
    margin-bottom: 20px; 
    border-radius: 8px;
}

/* Fila de opción */
.pricing-option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.pricing-option-row:last-child {
    border-bottom: none;
}

/* Nombre de la opción */
.option-name {
    font-size: 16px;
    font-weight: 500;
    color: white;
}

/* Precio de la opción */
.option-price {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.boton-consultar:hover {
    background-color: #1d4b75;
}

.boton-consultar .material-symbols-outlined {
    font-size: 18px;
}

/* Estilos para el botón */
.boton-consultar2 {
  background-color: transparent; /* Fondo transparente */
  border: 2px solid white !important; /* Borde negro */
  border-radius: 22px; /* Bordes redondeados */
  color: white; /* Color del texto */
  font-family: 'Roboto', sans-serif; /* Fuente Roboto */
  font-size: 16px; /* Tamaño del texto */
  cursor: pointer; /* Cambia el cursor al pasar el mouse */
  transition: background-color 0.3s, color 0.3s; /* Transición suave */
  text-align: center; /* Alinea el texto a la izquierda */
  height: 40px;
  width: 220px;
}

/* Añade esto a tu hoja de estilos */
.input-container {
  position: relative;
  margin: 15px 0;
  padding-bottom: 20px; /* Espacio reservado para el mensaje de error */
}

.input-container .material-symbols-outlined {
  position: absolute;
  right: 15px;
  top: 12px; /* Posición fija en relación al input */
  transform: none; /* Eliminamos el translateY que causaba problemas */
  color: #666;
}

.error-message {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  color: #F0725C;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 400;
}

/* Estado de carga del botón */
.modal-submit:disabled {
  background-color: #f5a796;
  cursor: not-allowed;
}

/* Estilos para el modal de confirmación */
.confirmation-modal {
  text-align: center;
  max-width: 500px;
}

.confirmation-icon {
  margin: 20px 0;
}

.confirmation-icon .material-symbols-outlined {
  font-size: 60px;
  color: #4CAF50;
}

.confirmation-text {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.confirm-close {
  width: auto;
  margin: 0 auto;
  float: none;
}

/* Estilos Generales */
#seccion-carrito {
  min-height: 593px;
  background-color: #1d1d1d;
  display: flex;
  padding: 60px;
  gap: 80px;
  color: white;
  padding-top: 10rem;
}

/* CONTENEDOR PRINCIPAL DEL CARRITO */
.contenedor-izquierdo-carrito {
  width: 972.5px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 5rem;
}

/* CONTENEDOR DE CADA PRODUCTO */
.producto-carrito {
  width: 100%;
  height: 245px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  padding-right: 40px; /* Espacio para el botón de eliminar */
}

/* IMAGEN DEL PRODUCTO */
.imagen-producto-carrito {
  width: 204.5px;
  height: 245px;
  object-fit: cover;
  flex-shrink: 0;
}

/* CONTENEDOR DE INFORMACIÓN */
.info-producto-carrito {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  height: 100%;
  padding-top: 10px;
  flex-grow: 1;
}

/* TEXTO Y PRECIO PRINCIPAL */
.texto-precio-carrito {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 90%;
  flex-grow: 1;
}

.titulo-producto-carrito {
  font-size: 24px;
  margin: 0;
  padding: 0;
  width: 300px;
  color: white;
  font-weight: normal;
}

.precio-carrito {
  font-size: 24px;
  color: white;
}

/* CONTADOR Y PRECIO SECUNDARIO */
.contenedor-contador-precio {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  height: 100%;
}

.contador-carrito {
  width: 80px;
  height: 35px;
  border: 2px solid white;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  color: white;
}

.btn-contador-carrito {
  color: white;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.precio-secundario-carrito {
  font-size: 20px;
  color: white;
}

/* Reemplaza el estilo del botón eliminar por este */
.eliminar-producto {
  position: absolute;
  right: 0;
  top: 10px;
  background: none;
  border: none;
  color: #ff6b6b; /* Color rojo típico de icono borrar */
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.3s ease;
}

.eliminar-producto:hover {
  color: #ff6b6b;
}

/* CARRITO VACÍO */
.carrito-vacio {
  color: white;
  font-size: 18px;
  text-align: center;
  width: 100%;
  padding: 20px;
}

/* NOTIFICACIONES */
.notificacion-carrito {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4CAF50;
  color: white;
  padding: 15px 25px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  max-width: 300px;
}

.notificacion-carrito.mostrar {
  transform: translateY(0);
  opacity: 1;
}

.notificacion-carrito.error {
  background-color: #f44336;
}

/* Contenedor Derecho */
.contenedor-derecho-carrito {
  width: 767.5px;
  height: 473px;
  display: flex;
  flex-direction: column;
  margin-right: 15rem;
}

.parte-superior-carrito {
  height: 50%;
  padding: 20px;
  background-color: #18181C;
  padding-bottom: 3rem;
}

.datos-facturacion-carrito {
  font-family: 'Roboto', sans-serif;
  color: #5C66F0;
  font-size: 24px;
  margin-bottom: 10px;
}

.parte-inferior-carrito {
  height: 50%;
  background-color: #5C66F0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fila-precio-carrito {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}

.linea-separadora-carrito {
  border-top: 2px solid white;
  margin: 15px 0;
}

.boton-pagar-carrito {
  background-color: #F05C5F;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  margin-top: 20px;
  cursor: pointer;
  align-self: flex-end;
}

/* Estilos de texto específicos del carrito */
.info-producto-carrito h2 {
  font-size: 24px;
  margin: 0;
}

.precio-carrito {
  font-size: 24px;
  margin: 0;
  padding: 0;
}

.parte-superior-carrito p {
  margin: 5px 0;
  line-height: 1.5;
}

/* Nuevo contenedor para contador + precio */
.contenedor-contador-precio {
  display: flex;
  align-items: center;
  gap: 20px; /* Espacio entre contador y precio */
  margin-left: auto; /* Empuja todo a la derecha */
}

/* Estilo para el nuevo precio */
.precio-secundario-carrito {
  font-size: 24px;
  min-width: 100px; /* Ancho mínimo para alinear precios */
  text-align: right;
}

.notificacion-carrito {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4CAF50;
  color: white;
  padding: 15px 25px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  max-width: 300px;
}

.notificacion-carrito.mostrar {
  transform: translateY(0);
  opacity: 1;
}

.notificacion-carrito.error {
  background-color: #f44336;
}
@media screen and (max-width: 768px) {
  #seccion-carrito {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 40px;
    margin-top: 60px;
  }

  .contenedor-izquierdo-carrito {
    width: 100%;
    padding: 0;
  }

  .producto-carrito {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding-right: 0;
  }

  .imagen-producto-carrito {
    width: 100%;
    height: auto;
    max-height: 300px;
  }

  .info-producto-carrito {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 0;
  }

  .texto-precio-carrito {
    width: 100%;
    height: auto;
  }

  .titulo-producto-carrito,
  .precio-carrito,
  .precio-secundario-carrito {
    font-size: 20px;
    width: 100%;
  }

  .contenedor-contador-precio {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-left: 0;
  }

  .contador-carrito {
    width: 100px;
  }

  .eliminar-producto {
    top: 10px;
    right: 10px;
  }

  .contenedor-derecho-carrito {
    width: 100%;
    margin-right: 0;
  }

  .parte-superior-carrito,
  .parte-inferior-carrito {
    padding: 1rem;
  }

  .datos-facturacion-carrito {
    font-size: 20px;
  }

  .fila-precio-carrito {
    font-size: 16px;
  }

  .boton-pagar-carrito {
    width: 100%;
    font-size: 16px;
  }

  .botones-pago-carrito {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}
@media screen and (min-width: 768px) and (max-width: 1200px) {
  #seccion-carrito {
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 50px;
  }

  .contenedor-izquierdo-carrito,
  .contenedor-derecho-carrito {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .producto-carrito {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    gap: 20px;
  }

  .imagen-producto-carrito {
    width: 45%;
    height: auto;
    max-height: 250px;
  }

  .info-producto-carrito {
    flex-direction: column;
    gap: 15px;
    width: 50%;
    padding: 0;
  }

  .texto-precio-carrito {
    width: 100%;
  }

  .titulo-producto-carrito,
  .precio-carrito,
  .precio-secundario-carrito {
    font-size: 22px;
    width: 100%;
  }

  .contenedor-contador-precio {
    justify-content: flex-start;
    width: 100%;
    gap: 15px;
    margin-left: 0;
  }

  .contador-carrito {
    width: 90px;
  }

  .eliminar-producto {
    top: 10px;
    right: 10px;
  }

  .parte-superior-carrito,
  .parte-inferior-carrito {
    padding: 1.5rem;
  }

  .datos-facturacion-carrito {
    font-size: 22px;
  }

  .fila-precio-carrito {
    font-size: 17px;
  }

  .boton-pagar-carrito {
    font-size: 16px;
    padding: 10px;
    width: 100%;
  }

  .botones-pago-carrito {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}



.cardsec5-servicio {
  position: relative; /* Añade esta línea */
  width: 100%;
  height: 100%;
  background-color: #FCF9F4;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
}

/* Contenedor absoluto para los iconos */
.iconos-absolutos {
  position: absolute;
  top: 0;
  left: 20px;
  z-index: 3;
  width: 40px;
  height: 60px;
}

/* Mantener tus estilos originales SIN CAMBIOS */
.cardsec5-servicio .imagen-principal {
  width: 204.5px;
  height: 100%;
  object-fit: cover;
  /* Asegurar que no tiene position relative */
  position: static;
}

/* Estilos para el icono de favorito (centrado) */
.icono-favorito {
  position: absolute;
  top: 50%;
  left: 40%;
  color: black;
  transform: translate(-50%, -50%);
  font-size: 24px;
  pointer-events: none;
  z-index: 4;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  text-shadow: 
  -1px -1px 0 white,
   0   -1px 0 white,
   1px -1px 0 white,
  -1px    0   0 white,
   1px    0   0 white,
  -1px    1px 0 white,
   0      1px 0 white,
   1px    1px 0 white;
}

.icono-favorito {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* Mantener tus otros estilos existentes */
.cardsec5-servicio .icono-pequeno {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.notificacion-favorito {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4CAF50;
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  font-family: 'Roboto', sans-serif;
}

.notificacion-favorito.exito {
  background: #4CAF50;
}

.notificacion-favorito.error {
  background: #f44336;
}

.notificacion-favorito .material-symbols-outlined {
  font-size: 20px;
  font-variation-settings: 'FILL' 1;
}

.texto-notificacion {
  font-size: 14px;
  font-weight: 500;
}



.boton-derecho.favorito-activo .material-symbols-outlined {
  color: #ff9800;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0;
  transition: all 0.3s ease;
}

.boton-derecho.favorito-activo .material-symbols-outlined {
  font-variation-settings: 'FILL' 1;
}

/* Elimina subrayado solo para estos botones */
.botones-inferiores-perfil .boton-accion-perfil,
.botones-inferiores-perfil .boton-accion-perfil i {
    text-decoration: none;
}

/* Estilos para el formulario de tarjeta - Versión que funciona con Stripe */

/* Contenedor principal */
#addCardContent {
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
  margin: 0 auto;
}

/* Grupos de inputs */
#addCardContent .form-group {
  margin-bottom: 25px;
}

/* Labels */
#addCardContent label {
  display: block;
  font-size: 18px;
  color: white;
  margin-bottom: 8px;
  font-weight: 550;
  font-family: 'Roboto', sans-serif;
}

/* Inputs normales y contenedores de Stripe */
#addCardContent input[type="text"],
#addCardContent input[type="email"],
#addCardContent .stripe-element {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 8px;
  font-size: 15px;
  background-color: #5C66F0;
  color: white;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Placeholder color */
#addCardContent input::placeholder {
  color: rgb(255, 255, 255);
}

/* Estados hover y focus */
#addCardContent input[type="text"]:hover,
#addCardContent input[type="email"]:hover,
#addCardContent .stripe-element:hover {
  border-color: rgb(255, 255, 255);
}

/* Contenedores específicos de Stripe */
#addCardContent .stripe-element {
  margin-bottom: 30px;
}

/* Diseño para los campos de tarjeta en línea */
#addCardContent .card-details {
  display: flex;
  gap: 15px;
}

#addCardContent .card-details .stripe-element {
  flex: 1;
}

#addCardContent #card-number {
  flex: 2; /* Más espacio para el número de tarjeta */
}

/* Checkbox */
#addCardContent .form-group:last-of-type {
  display: flex;
  align-items: center;
  margin-top: 25px;
}

#addCardContent input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: #4CAF50;
}

/* Botones */
#addCardContent .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 30px;
}

#addCardContent .btn-cancel,
#addCardContent .btn-save {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 15px;
}

#addCardContent .btn-cancel {
  background-color: transparent;
  color: white;
  border: 1px solid rgb(255, 255, 255);
}

#addCardContent .btn-cancel:hover {
  background-color: #005EA6; /* Azul PayPal más oscuro al hover */
}

#addCardContent .btn-save {
  background-color: #4CAF50;
  color: white;
}

#addCardContent .btn-save:hover {
  background-color: #3e8e41;
}

/* Mensajes de error */
#card-errors {
  color: #ff3860;
  font-size: 14px;
  margin-top: 10px;
  padding: 8px;
  background-color: rgba(255, 56, 96, 0.1);
  border-radius: 4px;
  display: none;
}

.small-text {
  font-size: 13px;
  padding-left: 0.4rem;
}

/* Contenedor principal PayPal */
#addPaypalContent {
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
  margin: 0 auto;
}

/* Grupos de inputs */
#addPaypalContent .form-group {
  margin-bottom: 25px;
}

/* Labels */
#addPaypalContent label {
  display: block;
  font-size: 16px;
  color: white;
  margin-bottom: 8px;
  font-weight: 500;
  margin-left: 5px;
}

#addCardContent input[type="text"]:focus,
#addCardContent input[type="email"]:focus,
#addCardContent .stripe-element--focus {
  background-color: #5C66F0; /* Color original */
  color: white;
  outline: none;
}

/* Inputs */
#addPaypalContent input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 15px;
  background-color: #5C66F0;
  color: white;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Estilo especial para el input de email con color PayPal */
#addPaypalContent #paypal-email {
  border-color: white;
}

/* Placeholder color */
#addPaypalContent input::placeholder {
  color: rgb(232, 232, 232);
}

/* Estados hover y focus */
#addPaypalContent input[type="email"]:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

#addPaypalContent input[type="email"]:focus {
  border-color: #009cde; /* Azul más claro de PayPal */
  box-shadow: 0 0 0 2px rgba(0, 156, 222, 0.2);
  color: #ffffff;
  outline: none;
}

/* Checkbox */
#addPaypalContent .form-group:last-of-type {
  display: flex;
  align-items: center;
  margin-top: 25px;
}

#addPaypalContent input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: #009cde; /* Azul PayPal para el checkbox */
}

/* Botones */
#addPaypalContent .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 30px;
}

#addPaypalContent .btn-cancel {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 15px;
  background-color: transparent;
  color: white;
  border: 1px solid rgb(255, 255, 255);
}

#addPaypalContent .btn-cancel:hover {
  background-color: #005EA6; /* Azul PayPal más oscuro al hover */
}

#addPaypalContent .btn-save {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 15px;
  background-color: #0070BA; /* Azul PayPal */
  color: white;
}

#addPaypalContent .btn-save:hover {
  background-color: #005EA6; /* Azul PayPal más oscuro al hover */
}

/* Mensaje de error (si lo necesitas) */
#paypal-errors {
  color: #ff3860;
  font-size: 14px;
  margin-top: 10px;
  padding: 8px;
  background-color: rgba(255, 56, 96, 0.1);
  border-radius: 4px;
  display: none;
}

/* Estilos para el modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-contenido {
  background: white;
  padding: 20px;
  color: black;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.modal-botones {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

#modalConfirmar {
  background: #ff4444;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}

#modalCancelar {
  background: #f0f0f0;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}

/* Modal principal - Versión corregida */
#modal-pago.pago-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  overflow-y: auto;
  /* Centrado vertical */
  align-items: flex-start; /* Cambiado a flex-start para mejor compatibilidad */
  justify-content: center;
  padding: 20px 0;
}


@keyframes pago-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Contenedor del modal */
#modal-pago .pago-modal-content {
  background-color: #533737;
  margin: 100px auto; /* antes: solo auto */
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  /* Animación suave */
  animation: pago-modal-fadeIn 0.3s ease-out;
  /* Para asegurar que esté encima de todo */
  z-index: 10000;
}

#modal-pago .pago-close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 1;
}

#modal-pago .pago-close-modal:hover {
  color: #ef4444;
  transform: scale(1.1);
}

/* Formularios */
#modal-pago .pago-form-row {
  margin-bottom: 18px;
}

#modal-pago .pago-form-row label {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
}

#modal-pago .pago-form-input {
  width: 92.5%;
  padding: 12px 15px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border 0.3s;
}

/* Elementos de Stripe */
#modal-pago .pago-card-element {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  margin-bottom: 15px;
}

/* Botones */
#modal-pago .pago-btn {
  background-color: #2563eb;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  transition: all 0.3s;
  margin-top: 10px;
}

#modal-pago .pago-btn:hover {
  background-color: #1d4ed8;
}

/* Mensajes de error */
#modal-pago .pago-error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: -10px;
  margin-bottom: 15px;
  display: block;
  min-height: 20px;
}

/* Control de cantidad */
#modal-pago .pago-cantidad-control {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

#modal-pago .pago-cantidad-control button {
  padding: 8px 15px;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
}

#modal-pago .pago-cantidad-control input {
  flex: 1;
  text-align: center;
  padding: 8px;
  border: 1px solid #ddd;
  border-left: none;
  border-right: none;
}

/* Responsive */
@media (max-width: 480px) {
  #modal-pago .pago-modal-content {
      margin: 2vh auto;
      padding: 20px 15px;
  }
}

.pago-monto-container {
  margin-bottom: 15px;
}

.modal-content {
  animation: modalopen 0.4s;
}

@keyframes modalopen {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-button:hover {
  background: #2980b9 !important;
}

/* Media queries para dispositivos móviles */
@media screen and (max-width: 768px) {
  .seccion2 {
    padding: 16px;
  }

  .contenedor-centrado {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

  .contenido-izquierdo {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .contenedor-inferior {
    flex-direction: column;
  }

  .menu-izquierdo {
    width: 100%;
    max-width: none;
  }

  .contenedor-derecho {
    width: 100%;
  }

  .card {
    width: 100%;
    max-width: 477px;
    margin: 0 auto;
  }
    .seccion4 {
    display: none;
  }
}


/* Media queries para dispositivos móviles */
@media screen and (max-width: 1600px) {
    .seccion4 {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .seccion2 {
    padding: 12px;
  }

  .contenedor-centrado {
    padding: 12px;
  }

  .titulo {
    font-size: 32px;
  }

  .parrafo {
    font-size: 16px;
  }

  .boton-derecho1 {
    width: 100%;
    max-width: 250px;
  }
}

/* Media queries actualizados para navbar responsivo */
/* Media queries duplicados eliminados - las reglas del menú hamburguesa las manejan los media queries anteriores */

/* Estilos responsive para el modal de facturación */
@media screen and (max-width: 768px) {
  .modal-facturacion {
    padding: 20px;
  }

  .container-facturacion {
    width: 90%;
    max-width: 480px;
    margin: 20px auto;
    padding: 15px;
  }

  .header-facturacion {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .content-facturacion {
    padding: 0 10px;
  }

  .btn-add-payment {
    width: 100%;
    justify-content: center;
    margin-top: 15px;
  }

  .payment-option {
    padding: 12px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group input {
    width: 100%;
  }

  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .form-actions button {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .modal-facturacion {
    padding: 10px;
  }

  .container-facturacion {
    width: 85%;
    padding: 12px;
  }

  .header-facturacion {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .content-facturacion {
    padding: 0 5px;
  }

  .payment-option {
    padding: 10px;
  }

  .form-group label {
    font-size: 14px;
  }

  .form-group input {
    padding: 10px;
    font-size: 14px;
  }

  .form-actions button {
    padding: 10px;
    font-size: 14px;
  }

  .metodo-pago {
    padding: 10px;
    font-size: 14px;
  }

  .metodo-pago i {
    font-size: 16px;
  }
}


@media screen and (max-width: 1024px) {
  /* Contenedor responsive */
  .contenedor-servicios1,
  #marketing .contenedor-servicios1,
  #web .contenedor-servicios1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
  }

  /* Estilo tipo .card-productos para las cards de servicios */
  .cardsec5-servicio,
  #marketing .cardsec5-servicio,
  #web .cardsec5-servicio {
    width: calc(100% - 20px);
    max-width: 400px;
    height: 245px;
    background-color: white;
    border-radius: 20px;
    display: flex;
    margin-bottom: 20px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .cardsec5-servicio .imagen-principal,
  #marketing .cardsec5-servicio img,
  #web .cardsec5-servicio img {
    height: 245px;
    object-fit: cover;
    overflow: hidden;
  }

  .contenido-card-servicio,
  #marketing .contenido-card-servicio,
  #web .contenido-card-servicio {
    width: 150px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    background-color: #fff4f4;
  }

  .iconos-card-servicio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
  }

  .iconos-card-servicio .material-symbols1-productos {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 28px;
    color: #F0A85C !important;
  }

  .iconos-card-servicio .material-symbols1-productos:hover {
    transform: scale(1.2);
    cursor: pointer;
  }

  .texto-titulo-servicio {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    color: #18181C;
    margin: 0;
    font-weight: normal;
  }

  .texto-precio-servicio {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    color: #18181C;
    margin: 0;
    font-weight: normal;
    padding-top: 1rem;
  }
  .iconos-card-servicio .material-symbols {
    font-size: 34px;
  }
}

@media screen and (max-width: 768px) {
  .contenedor-servicios1,
  #marketing .contenedor-servicios1,
  #web .contenedor-servicios1 {
    height: auto;
    padding: 10px;
  }

  .cardsec5-servicio,
  #marketing .cardsec5-servicio,
  #web .cardsec5-servicio {
    max-width: 400px;
  }

  .contenido-card-servicio,
  #marketing .contenido-card-servicio,
  #web .contenido-card-servicio {
    padding: 10px;
  }
  .iconos-card-servicio .material-symbols {
    font-size: 30px;
  }
}

@media screen and (max-width: 480px) {
  .contenedor-servicios1,
  #marketing .contenedor-servicios1,
  #web .contenedor-servicios1 {
    padding: 5px;
  }

  .cardsec5-servicio,
  #marketing .cardsec5-servicio,
  #web .cardsec5-servicio {
   max-width: 320px;
  }

  .contenido-card-servicio,
  #marketing .contenido-card-servicio,
  #web .contenido-card-servicio {
    padding: 8px;
  }

  .texto-titulo-servicio {
    font-size: 16px;
  }

  .texto-precio-servicio {
    font-size: 14px;
  }
  .iconos-card-servicio .material-symbols {
    font-size: 24px;
  }
}
@media screen and (max-width: 1024px) {
  .boton-consultar {
height: auto;
  }
}

@media screen and (max-width: 768px) {
  .boton-consultar {
height: auto;
  }
}

@media screen and (max-width: 480px) {
  .boton-consultar {
height: auto;
font-size: 16px;
  }
}

.error-favoritos {
    background-color: #fff8f8;
    border: 1px solid #ffebee;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    margin: 2rem auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.error-icon {
    font-size: 3rem;
    color: #f44336;
    margin-bottom: 1rem;
}

.error-favoritos p {
    color: #5f2120;
    margin: 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.error-favoritos a {
    color: #d32f2f;
    text-decoration: underline;
    font-weight: 500;
}

.reintentar-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.reintentar-btn:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
}

.reintentar-btn .material-symbols-outlined {
    font-size: 1.2rem;
}

.error-help {
    font-size: 0.9rem !important;
    color: #757575 !important;
    margin-top: 1.5rem !important;
}

.error-carrito {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.error-header {
    margin-bottom: 1.5rem;
}

.error-carrito h3 {
    color: #d32f2f;
    margin: 0.5rem 0 0;
    font-size: 1.4rem;
}

.error-icon {
    font-size: 2.5rem;
    color: #d32f2f;
}

.error-carrito p {
    color: #424242;
    margin: 0.8rem 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

.info-adicional {
    font-size: 0.95rem !important;
    color: #616161 !important;
}

.error-actions {
    gap: 12px;
    justify-content: center;
    margin: 1.8rem 0;
    flex-wrap: wrap;
}

.reintentar-btn {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.alternativo-btn {
    background-color: #f5f5f5;
    color: #424242;
    border: 1px solid #e0e0e0;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.reintentar-btn:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

.alternativo-btn:hover {
    background-color: #eeeeee;
    transform: translateY(-2px);
}

.error-carrito .material-symbols-outlined {
    font-size: 1.2rem;
}

.error-contacto {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #757575;
}

.error-contacto a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
}

.error-contacto a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .error-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .error-carrito {
        padding: 1.5rem 1rem;
    }
}
