
:root {
  --brand-dark: #000000;
  --brand-blue: #0852a1;
  --brand-accent: #ff9800;
  --text-light: #ffffff;
  --search-bg: #1a1a1a;
  --search-border: #333;
  --nav-hover: #444;
  --dropdown-bg: #222;
}

html {
  scroll-behavior: smooth;
}

/* Navbar general */
.navbar {
  background-color: var(--brand-dark) !important;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Contenedor de la navbar */
.navbar .container-fluid {
  display: flex;
  justify-content: center; /* Centra todo el contenido de la navbar */
  align-items: center;
  flex-direction: column;
  padding-top: 20px; /* Añadimos algo de espacio arriba */
}

/* Link Login y Register */
#log-reg {
display: inline;
padding: 0;
margin: 0;
}

#log-reg a {
padding: 0;
margin: 0;
display: inline;
color: inherit;
text-decoration: none;
}

/* Logo */
 .navbar .logo-img {
    height: 130px;
    width: 130px;
    position: absolute;
    left: 30px;
    top: 15px;
    transition: transform 0.5s ease-in-out, opacity 0.4s ease-in-out;
  }

  .navbar:hover .logo-img {
    transform: scale(1.1);
    opacity: 0.85;
  }
/* Estilo general del logo */
.logo-img {
  margin-top: 30px;
  width: 220px;
  height: auto;
  filter: brightness(1) saturate(1);
  animation: brillo-suave 4s ease-in-out infinite;
  transition: transform 0.5s ease-in-out, opacity 0.4s ease-in-out;
}

/* Animación de brillo */
@keyframes brillo-suave {
  0%, 100% {
    filter: brightness(1) saturate(1);
  }
  50% {
    filter: brightness(1.2) saturate(1.05);
  }
}


/* PERFIL DEL USUARIO */
.perfil {
color: #333;
cursor: pointer;
}
.perfil:hover {
color: #007bff;
}


.user-profile .dropdown-toggle {
color: var(--text-light);
transition: color 0.3s;
}

.user-profile .dropdown-toggle:hover {
color: var(--brand-accent);
}

.user-profile .user-name {
font-weight: 500;
}

.profile-dropdown {
background-color: var(--dropdown-bg);
border: none;
border-radius: 12px;
min-width: 220px;
}

.profile-dropdown .dropdown-header {
padding: 15px 20px;
background-color: #111;
border-bottom: 1px solid #333;
}

.profile-dropdown .dropdown-item {
color: #ccc;
padding: 10px 20px;
transition: background 0.3s;
}

.profile-dropdown .dropdown-item:hover {
background-color: var(--brand-blue);
color: var(--text-light);
}


/* Buscador centrado */
.search-form {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 40px; /* Separación entre el logo y el buscador */
}

.search-input {
  background-color: var(--search-bg);
  border: 1px solid var(--search-border);
  color: var(--text-light);
  border-radius: 20px;
  padding-left: 15px;
  width: 450px;
  transition: border-color 0.3s;
}

.search-input::placeholder {
  color: #bbb;
}

.search-input:focus {
  background-color: #222;
  border-color: var(--brand-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,140,0,0.4);
}

/* Botón de búsqueda */
.btn-outline-light {
  border-color: var(--brand-blue);
  color: var(--text-light);
  border-radius: 50px;
  transition: background 0.3s, color 0.3s;
}

.btn-outline-light:hover {
  background-color: var(--brand-blue);
  color: var(--text-light);
}


/* Links en la navbar debajo del buscador */
.navbar-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.nav-link {
  color:   var(--brand-blue); /* color base, cambiá si querés */
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  padding-bottom: 5px; /* espacio para el subrayado */
  transition: color 0.3s ease; /* solo el color cambia con transición */
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px; /* distancia entre el texto y la línea */
  width: 100%;
  height: 1px;
  background-color: var(--brand-accent);
  opacity: 0;
}
.nav-link:hover {
  color: var(--brand-accent);
}

/* Mostrar línea en hover, sin transición */
.nav-link:hover::after {
  opacity: 1;
}


/* Dropdown items */
.dropdown-menu-dark {
  background-color: var(--dropdown-bg);
  border-radius: 10px;
}


.dropdown-menu-dark .dropdown-item {
  color: var(--text-light);
  transition: background-color 0.3s;
}

/* -------- MENÚ PRINCIPAL: Categorías -------- */
.nav-item.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  flex-direction: row; /* Categorías una al lado de otra */
  gap: 20px;
  
  /* Centrar el dropdown */
  left: 50%;
  transform: translateX(-50%);
  justify-content: center; /* Centra las categorías dentro del flex */
  padding: 10px 20px;
}

/* Mostrar solo el primer nivel al pasar por "Categorías" */
.nav-item.dropdown:hover > .dropdown-menu {
  display: flex;
}

/* -------- SUBMENÚS: como "Perfumes" -------- */
.dropdown-submenu {

  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  border-radius: 0;
  border: 0;
  top: 100%;
  left: 0;
  display: none;
  position: absolute;
  flex-direction: column; /* Submenú vertical */
  z-index: 1000;
}

/* Mostrar el submenú solo cuando se pasa el mouse por ese ítem */
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/* Asegura que cada categoría esté centrada */
.nav-item.dropdown .dropdown-menu .dropdown-item {
  text-align: center;
  min-width: 150px; /* Da espacio y asegura que los ítems no se desborden */
}


/* CUENTA */
.user-menu-toggle {
  background-color: #1c1c1c; /* Fondo oscuro mate */
  color: #bbb; /* Texto gris claro */
  border: 1px solid #333; /* Borde sutil */
  border-radius: 20px;
  padding: 6px 16px;
  font-weight: 500;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.user-menu-toggle:hover, .user-menu-toggle:focus {
  background-color: rgba(255, 140, 0, 0.15); /* Naranja suave con transparencia */
  color: #FF8C00; /* Naranja marca */
  outline: none;
}

/* Dropdown sin sombras fuertes */
.user-menu-dropdown {
  background-color: #1c1c1c;
  border-radius: 8px;
  border: 1px solid #333;
  min-width: 160px;
  padding: 6px 0;
}

/* Items con color gris y hover naranja opaco */
.user-menu-dropdown .dropdown-item {
  color: #ddd;
  font-weight: 400;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.user-menu-dropdown .dropdown-item:hover {
  background-color: rgba(255, 140, 0, 0.2);
  color: #FF8C00;
  border-radius: 6px;
}

/* Ícono discreto */
.user-menu-toggle i {
  font-size: 1.1rem;
  line-height: 1;
}

/* Margen para alinear a la derecha */
.user-menu {
  margin-left: auto;
}




body {
  margin: 0;
  font-family: 'Segoe UI', 'Montserrat', sans-serif;
  background-color: var(--brand-dark);
  color: var(--text-light);
}

/* HEADER */


/* HOME */
a {
  text-decoration: none;
  color: inherit;
}



.listado_destinos a.btn {
  display: inline-block;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}
.categorias-db {
  max-width: 600px;
  margin: 0 auto;
}

.lista_item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgb(0 0 0 / 0.05);
  transition: box-shadow 0.3s ease;
}

.lista_item:hover {
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.12);
}

.lista_item > div {
  font-size: 1.1rem;
  color: #333;
}

.acciones a.btn {
  min-width: 70px;
  font-size: 0.9rem;
}

.acciones a.btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

.acciones a.btn-warning {
  background-color: #ffc107;
  color: #212529;
}

.acciones a.btn-warning:hover {
  background-color: #e0a800;
  color: #212529;
}



/* === HERO === */

.hero {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)),
              url('view/imgs/techminimalist1.jpg') center center no-repeat;
  background-size: cover;
  min-height: 130vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* Más transparente para lucir el fondo */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 30px;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 800;
  color: white;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.resaltado {
  color: var(--brand-accent);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  color: #eaeaea;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* BOTÓN */
.btn-hero {
  background-color: var(--brand-accent);
  color: #fff;
  padding: 14px 36px;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background-color: var(--brand-accent-dark);
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}


/* === TITULOS DE SECCION  === */
.titulo-seccion {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  margin: 60px 0 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
  padding: 0 1rem;
  transition: letter-spacing 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
  animation: brillo-suave 5s ease-in-out infinite;
}

.titulo-seccion:hover {
  letter-spacing: 3px;
}

/* Subrayado animado minimalista al centro */
.titulo-seccion::after {
  content: '';
  display: block;
  margin: 12px auto 0;
  width: 60px;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
  border-radius: 2px;
  animation: subrayado-pulsante 5s ease-in-out infinite;
}

.titulo-seccion:hover::after {
  width: 80px;
}

/* Animación de brillo suave en el texto */
@keyframes brillo-suave {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Animación pulsante para el subrayado */
@keyframes subrayado-pulsante {
  0%, 100% {
    width: 60px;
    opacity: 0.7;
  }
  50% {
    width: 80px;
    opacity: 1;
  }
}






/* === OFERTAS === */
.ofertas-section {
  position: relative;
  height: 130vh;
  padding: 40px 20px;
  background: url('view/imgs/ofertasback.png') center center no-repeat;
  background-size: cover;
  box-shadow: 0 8px 24px rgba(34, 34, 34, 0.342);
  border-top: 3px solid var(--brand-dark);
  border-bottom: 3px solid var(--brand-dark);
  z-index: 0; /* Para que el ::before se superponga correctamente */
}

.ofertas-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* oscuro con transparencia */
  z-index: 1;
}

.ofertas-section > * {
  position: relative;
  z-index: 2; /* para estar por encima del ::before */
}


.productos-oferta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.producto-oferta {
  background-color: white;
  color: #000000;
  border-radius: 15px;
  width: 250px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.producto-oferta:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(204, 108, 0, 0.4);
}
.producto-oferta img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  padding: 0;
}
.btn-oferta {
  background-color: var(--brand-blue);
  color: #fff;
  padding: 10px 24px;
  border-radius: 40px;
  display: inline-block;
  font-weight: bold;
  margin-top: 10px;
}
.btn-oferta:hover {
  background-color: #0a1f4a;







}
/* === PRODUCTOS DESTACADOS SLIDER === */
.productos-slider-viewport {
  overflow-x: hidden; /* Oculta la barra de scroll */
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 460px; /* suficiente altura para imagen + texto + hover */
  padding-bottom: 10px;
}

.productos-slider {
  display: flex;
  gap: 15px;
  transition: transform 0.5s ease-in-out;
  /* no flex-wrap, que quede todo en una fila */
  white-space: nowrap; /* ayuda a mantener en una línea */
  will-change: transform;
}

.product-card {
  flex: 0 0 280px;
  height: 440px;
  background-color: var(--text-light);
  padding: 10px 15px 15px 15px; /* Reducido arriba */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Que empiece desde arriba */
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 10px;
  white-space: normal;
}
.product-card:hover {
  transform: translateY(-8px); /* Levanta la tarjeta con mayor intensidad */
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15); /* Sombras más prominentes */
}


.product-image {
  margin-top: 20px; /* Asegura que no haya separación arriba */
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.product-marca {
  margin-top: 25px;
  font-size: 1.1rem;
  color: var(--brand-dark);
  text-align: center;
  line-height: 1.3;
  max-height: 72px; /* máximo 3 líneas aprox */
  overflow-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card:hover .product-marca {
  color: #007bff; /* Cambia el color de la marca al pasar el cursor */
}

.preciohome {
  margin-top: auto;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #111;
}



/* Flechas */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10 !important;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.scroll-btn:hover {
  background-color: rgba(177, 115, 0, 0.589);
}

.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}

.slider-container {
  position: relative;
  z-index: 1;
}








/* ===  SECCION DOBLE === */


.seccion-doble {
  display: flex;
  flex-wrap: wrap;
  height: 700px;
  gap: 20px;
  padding: 0 30px;
  box-sizing: border-box;
}

.bloque {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bloque:hover {
  transform: scale(1.015);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.izquierda {
  background-image: url('view/imgs/minamilstapple.jpg');
}

.derecha {
  background-image: url('view/imgs/vape.jpg');
}

.bloque::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.5), rgba(20, 20, 20, 0.2));
  z-index: 1;
  backdrop-filter: blur(4px);
  border-radius: 20px;
}

/* CONTENIDO */
.contenido-bloque {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bloque.izquierda .contenido-bloque {
  align-items: flex-start;
  text-align: left;
}

.bloque.derecha .contenido-bloque {
  align-items: flex-end;
  text-align: right;
}

.contenido-bloque h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.subtitulo {
  font-size: 1.2rem;
  color: #eee;
  max-width: 85%;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* BOTÓN */
.btn-bloque {
  margin-top: 20px;
  padding: 12px 26px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid white;
  color: white;
  font-weight: 600;
  border-radius: 12px;
  backdrop-filter: blur(2px);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-bloque:hover {
  background-color: white;
  color: black;
  transform: scale(1.05);
}




/* === BANNER-MEDIO === */

.banner-medio {
  background: linear-gradient(90deg, #0e0e0e, #1a1a1a);
  padding: 60px 20px;
  text-align: center;
  margin: 40px auto;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.texto-banner {
  font-size: 1.8rem;
  font-weight: 500;
  color: #f1f1f1;
  letter-spacing: 1px;
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 10px;
}

.resaltado-banner {
  color: var(--brand-accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}




.productos-scroll {
  scrollbar-color: orange transparent;
  scrollbar-width: thin;

}

/* Para Chrome, Edge y Safari */
.productos-scroll::-webkit-scrollbar {
  height: 6px; 
  width: auto;
  max-width: 80%; 
  margin: 0 auto;
}

.productos-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.productos-scroll::-webkit-scrollbar-thumb {
  background-color: orange;
  border-radius: 10px;
}


/* RESULTADOS DE LA BUSQUEDA */







/* PRODUCTOS */



.link {
  text-decoration: none; 
  color: inherit;
}

/* Contenedor de productos */
.productos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

/* Estilo para cada producto */
.producto {
  border: 1px solid #ddd;
  padding: 20px;
  width: 250px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 400px;
  background-color: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Sombras sutiles para dar profundidad */
  overflow: hidden; /* Para evitar que los elementos sobresalgan */
}

.producto:hover {
  transform: translateY(-8px); /* Levanta la tarjeta con mayor intensidad */
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15); /* Sombras más prominentes */
}

.producto-imagen {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
}

.producto-marca {
  font-size: 1.1em;
  font-weight: 600;
  color: #333;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

/* Hover en la marca */
.producto:hover .producto-marca {
  color: #007bff; /* Cambia el color de la marca al pasar el cursor */
}

.producto-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* Ocupar todo el alto del contenedor padre */
}

.precio {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1e1e1e;
  padding: 0.5rem 1rem;
  display: inline-block;
  margin-top: 10px; /* Esto empuja el precio al fondo del contenedor */
}









/* DETALLES */



.detalle-producto {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 60px auto;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #fafafa);
  animation: fadeInUp 0.6s ease-out both;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.detalle-imagen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  padding: 40px;
  border-radius: 20px;
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.02);
}

.detalle-imagen img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25));
}

.detalle-imagen img:hover {
  transform: scale(1.04);
}

.detalle-info {
  flex: 1;
  padding: 20px;
  background: #fdfdfd;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detalle-marca {
  font-size: 2.7rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.detalle-frase {
  font-size: 1rem;
  font-style: italic;
  color: var(--brand-accent);
  margin-bottom: 24px;
  opacity: 0.85;
}

.detalle-datos p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

.detalle-datos .precio {
  font-size: 1.6rem;
  color: #111;
  font-weight: bold;
}

.detalle-descripcion {
  font-size: 1.1rem;
  color: #555;
  margin: 30px 0;
  line-height: 1.7;
}

.detalle-especificaciones {
  margin: 20px 0;
  padding-left: 20px;
  color: #444;
  list-style: disc;
  font-size: 1rem;
}

.detalle-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.detalle-botones .btn {
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline {
  background: white;
  border: 2px solid #e53935;
  color: #e53935;
}

.btn-outline:hover {
  background: #e53935;
  color: white;
}

.btn-primary {
  background: #1976d2;
  color: white;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: #125ea7;
}

.btn-secondary {
  background: #757575;
  color: white;
  border: 2px solid transparent;
}

.btn-secondary:hover {
  background: #616161;
}

.detalle-envio {
  margin-top: 40px;
  font-size: 1rem;
  color: #4caf50;
  font-weight: 600;
}




/* FORMULARIOS DE AÑADIR/EDITAR PRODUCTOS */
.form-rf-importados {
  max-width: 700px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}

.form-rf-importados h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #1a1a1a;
  text-align: center;
}

.form-rf-importados .form-group {
  margin-bottom: 1.5rem;
}

.form-rf-importados .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-rf-importados .form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  transition: border 0.2s ease;
}

.form-rf-importados .form-control:focus {
  outline: none;
  border-color: #5f4dee;
  box-shadow: 0 0 0 2px rgba(95, 77, 238, 0.2);
}

.form-rf-importados button.btn-primary {
  background-color: #5f4dee;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
  display: block;
  margin: 0 auto;
}

.form-rf-importados button.btn-primary:hover {
  background-color: #4834d4;
}

.form-rf-importados img {
  margin-top: 0.5rem;
  border-radius: 10px;
  max-width: 150px;
  height: auto;
  display: block;
}

.form-categoria {
  max-width: 480px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.1);
  padding: 30px 30px 40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.form-categoria__titulo {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
}

.form-categoria__grupo {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.form-categoria__label {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #444;
}

.form-categoria__input {
  padding: 12px 18px;
  font-size: 1rem;
  border-radius: 10px;
  border: 2px solid #ccc;
  transition: border-color 0.3s ease;
  outline-offset: 3px;
}

.form-categoria__input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 8px rgb(0 123 255 / 0.3);
}

.form-categoria__btn {
  background: linear-gradient(90deg, #0d6efd 0%, #6610f2 100%);
  border: none;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 42px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 6px 15px rgb(13 110 253 / 0.4);
}

.form-categoria__btn:hover {
  background: linear-gradient(90deg, #6610f2 0%, #0d6efd 100%);
  box-shadow: 0 8px 20px rgb(102 16 242 / 0.6);
}


/* === NOSOTROS === */
.nosotros-section {
  background-color: #000;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.container-nosotros {
  max-width: 900px;
  margin: 0 auto;
}

.nosotros-texto {
  font-size: 1.25rem;
  line-height: 1.8;
  margin: 25px 0;
  color: #ccc;
}

.highlight {
  color: var(--brand-accent);
  font-weight: 600;
}

.light-blue {
  color: var(--brand-blue);
  font-weight: 600;
}
.logo-nosotros-minimal {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px auto;
  max-width: 480px;
  padding: 20px;
  animation: fadeAndZoom 6s ease-in-out infinite;
}

.logo-nosotros-minimal img {
  width: 100%;
  border-radius: 16px;
  filter: drop-shadow(0 8px 24px rgba(255, 140, 0, 0.2));
  transition: transform 0.4s ease;
}

/* Animación de zoom sutil + opacidad */
@keyframes fadeAndZoom {
  0%, 100% {
    transform: scale(1);
    opacity: 0.98;
  }
  50% {
    transform: scale(1.025);
    opacity: 1;
  }
}
.btn-categorias {
  display: inline-block;
  margin: 20px auto 0;
  background-color: var(--brand-accent); /* color de fondo */
  color: #fff; /* color del texto */
  padding: 12px 30px;
  border-radius: 40px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(150, 149, 149, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none; /* si hay borde transparente o ninguno */
}
.detalle-variantes {
  margin: 60px auto 40px;
  max-width: 900px;
  background: #111; /* Fondo oscuro */
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(255, 140, 0, 0.15);
  color: #fff;
}

.tabla-variantes {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  color: #fff;
}

.tabla-variantes th,
.tabla-variantes td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 1rem;
}

.tabla-variantes th {
  background-color: #1a1a1a;
  font-weight: 700;
  color: #ff8c00; /* Acento naranja como en tu branding */
}







/* Diseño responsivo para pantallas pequeñas */
@media (max-width: 775px) {
    .titulo-seccion{
        color: white;
    }
    .nav-item.dropdown .dropdown-menu{
        flex-direction: column;
        width: 300px;
    }
    .dropdown-submenu:hover{
        background-color: var(--brand-blue);
    }
    .form-rf-importados {
    padding: 1.5rem;
  }
   .navbar {
    padding: 10px 0 20px 0;
    text-align: center;
  }

  .navbar .container-fluid {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

.navbar .logo-img {
    position: static;  /* Quita el absolute para que fluya con otros elementos */
    width: 130px;
    height: auto;
    margin: 10px auto; /* Centramos el logo */
    display: block;
    transition: none; /* Opcional: menos animación para mobile */
  }

  .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Ajusta el contenedor del header para evitar solapamientos */
  .navbar {
    padding-left: 0;

  }

      /* Buscador centrado y separado */
    .search-form {
      height: auto;
      display: flex;
      align-items: center;
      width: 100%;
      margin-bottom: 25px;
    }
    .search-input {
      height: auto;
      width: 100%;
      font-size: 1.1rem;
    }



  .btn-outline-light {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .user-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    gap: 10px;
  }

  .user-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
  }

  .user-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .user-name,
  .cuenta {
    display: none;
  }

  /* Menú hamburguesa alineado al centro */
  .navbar-toggler {
    margin: 0 auto;
    border: none;
  }

  /* Menú de navegación */
  .navbar-nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .nav-link {
    font-size: 1rem;
    padding: 5px 0;
  }

  /* Dropdowns anidados */
  .dropdown-menu {
    width: 100%;
    text-align: center;
  }

  .dropdown-submenu .dropdown-menu {
    position: static;
  }

  .productos-container {
      gap: 20px;
  }

  .producto {
      width: 180px; /* Ancho ajustado para pantallas pequeñas */
      height: 300px; /* Altura ajustada */
  }

  .producto-imagen {
      height: 150px; /* Imagen ajustada en pantallas pequeñas */
  }
  
  
  .producto-marca{
    font-size: 0.75rem;
  }
  .hero h1 {
    color: white;
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  
  .slider-container {
  position: relative;
}
.productos-scroll {
  position: relative; /* Necesario para que los botones se posicionen respecto a este */
  display: flex;
  gap: 16px;
  padding: 0 10px;
  overflow-x: auto;
  z-index: 0; /* opcional */
}

  .product-card {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: space-between; /* Asegura que el precio esté al fondo */
    background-color: black;
    flex: 0 0 auto;
    width: 150px; /* Ajustar para que varias cards sean visibles */
    height: 350px;
    border-radius: 5px;
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 10px;
  }

  .product-image {
    height: 170px; /* Ajustamos la altura de la imagen */
    object-fit: cover;
  }

  .product-marca {
    font-size: 0.95rem;
    margin: 10px 0;
    text-align: center;
    color: white;
  }

  .preciohome {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 10px; /* Espacio extra para separar del borde inferior */
  }
  
 .scroll-btn {
    display: none;
  }



  
  .detalle-producto {
    flex-direction: column;
    padding: 40px 20px;
    gap: 40px;
    margin: 30px auto;
  }

  .detalle-imagen img {
    max-width: 300px;
    height: 300px;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
  }

  .detalle-info {
    text-align: center;
  }

  .detalle-marca {
    font-size: 2rem;
  }

  .detalle-frase {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .detalle-datos p {
    font-size: 1rem;
  }

  .detalle-datos .precio {
    font-size: 1.2rem;
  }

  .detalle-descripcion {
    font-size: 1rem;
    margin: 20px 0;
  }

  .detalle-especificaciones {
    font-size: 0.95rem;
    padding-left: 10px;
  }

  .detalle-botones {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .detalle-botones .btn {
    width: 100%;
    font-size: 1rem;
  }

  .detalle-envio {
    font-size: 0.95rem;
    margin-top: 20px;
  }
  .seccion-doble {
    flex-direction: column;
    height: 850px;
    padding: 0 15px;
    gap: 20px;
  }

  .bloque {
    height: 400px;
    border-radius: 15px;
  }

  .contenido-bloque {
    padding: 20px;
  }

  .contenido-bloque h2 {
    font-size: 2rem;
  }

  .subtitulo {
    font-size: 1rem;
    max-width: 100%;
  }

  .btn-bloque {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .bloque.izquierda .contenido-bloque,
  .bloque.derecha .contenido-bloque {
    align-items: center;
    text-align: center;
  }
  
.form-categoria {
    padding: 20px 20px 30px;
    max-width: 100%;
  }
}


