@view-transition {
  navigation: auto;
}
/*VARIABLES Y BASE*/
:root {
    /* Colores principales */
    --color-principal: #ff3d98;
    --color-principal-rgb: 255, 61, 152;
    --color-secundario: #ffffff;
    --color-fondo: #000;
    --color-texto: #fff;
    --fondo-translucido: #000000aa;
    --imagen-fondo: url('/imagenes/fondo.jpg');
    --transicion-default: 0.3s ease-in-out;
    --transicion-hover: 0.3s ease-out;
}
@media (prefers-color-scheme: light) {
  :root {
    --color-principal: #0f9400;
    --color-principal-rgb: 31, 186, 14;
    --color-secundario: #ffffff;
    --color-fondo: #000;
    --color-texto: #fff;
    --imagen-fondo: url('/imagenes/fondo2.jpg');
    --fondo-translucido: #000000aa;
  }
}


::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #666;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

body.color1 {
    --color-principal: #1fba0e;
    --color-principal-rgb: 31, 186, 14;
    --color-secundario: #ffffff;
    --color-fondo: #000;
    --color-texto: #fff;
    --imagen-fondo: url('/imagenes/fondo2.png');
    --fondo-translucido: #00000077;
}

body.color2 {
    --color-principal: #ff3d98;
    --color-principal-rgb: 255, 61, 152;
    --color-secundario: #ffffff;
    --color-fondo: #000;
    --color-texto: #fff;
    --imagen-fondo: url('/imagenes/fondo1.png');
    --fondo-translucido: #00000077;
}



/*BANNER INSTALLAR WAP*/

.install-banner {
    --banner-padding: 15px;
    --banner-radius: 8px;
    display: none;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas: 
        "text install"
        "text close";
    gap: 15px;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--fondo-translucido);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    padding: var(--banner-padding);
    border-radius: var(--banner-radius);
    text-align: center;
    z-index: 20;
    min-width: min(50%, 400px);
    width: fit-content;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.install-banner__text {
    grid-area: text;
    margin: 0;
    color: var(--color-texto);
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.5;
    text-align: center;
    align-self: center;
}

.install-banner__btn {
    margin: 0;
    padding: 0.75em 1.25em;
    border: none;
    border-radius: calc(var(--banner-radius) - 2px);
    cursor: pointer;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}

.install-banner__btn--install {
    grid-area: install;
    background-color: var(--color-principal);
    color: var(--color-secundario);
}

.install-banner__btn--close {
    grid-area: close;
    background-color: transparent;
    color: var(--color-texto);
    border: 1px solid currentColor;
}

.install-banner__btn:hover {
    transform: translateY(-2px);
}

.install-banner__btn--install:hover {
    box-shadow: 0px 0px 10px var(--color-principal);
}

.install-banner__btn--close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 600px) {
    .install-banner {
        width: min(84%, 320px);
        bottom: 15px;
        grid-template-areas: 
            "text"
            "install"
            "close";
    }
}



* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: border-color 0.3s ease-in-out;
  -webkit-tap-highlight-color: transparent;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background-color: var(--color-fondo); 
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    var(--imagen-fondo);
  background-size: 100% auto, 100% auto; 
  transition: background-color 0.3s ease-in-out, background-image 0.8s ease-in-out;
  background-attachment: fixed;
  color: var(--color-texto);
  margin: auto;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

p {  
  letter-spacing: .5px;
  font-size: clamp(13px, 2vw, 15px); 
  line-height: 20px;
  text-align: start;
  -webkit-text-wrap: balance;
  text-wrap: balance;
}


h3, h2  { color: var(--color-principal) }
.Medium, .Top { background-color: var(--color-principal);}


h2 {
  font-size: 25px;
  line-height: 30px;
  text-shadow: 0px 0px 10px var(--color-secundario)c5;
  transition: color 0.3s;
}

/*HEADER*/
.header {
    background-color: var(--fondo-translucido);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    transition: box-shadow 0.3s ease-in-out;
    /*box-shadow: 0px 10px 30px 5px var(--color-fondo); */
    width: 100%;
    position: sticky;
    will-change: transform;
    top: 0;
    left: 0;
    z-index: 20;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
#nuevo {
    background: #1a1a1a;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    text-decoration: none;
    border-top: 1px solid var(--color-principal);
    border-bottom: 1px solid var(--color-principal);
}

#nuevo p {
  font-weight: bold;
  white-space: nowrap;
  margin-inline: 8rem;
    display: inline-block;
    animation: scroll 20s linear infinite;
}
header svg {
  width: 30px;
  height: 30px;
}
.svgheader {
  position: relative;
}
.svgheader svg {
position: absolute;
top: -7px;
right: -7px;
pointer-events: none;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-200%);
    }
}


.header__logo {
  position: relative;
  max-width: 80px; 
  padding: 4px;
  height: auto;
  display: block;
  flex: 1;
}
.header__logo:hover {
  transform: scale(1.1);
}
.header__logo-img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  border: 1px solid var(--color-principal);
  transition: transform 0.5s ease-in-out, opacity 0.5s;
}


.header__theme-toggle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-fondo);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.header__theme-toggle:hover {
    opacity: 1;
}

.header__theme-icon {
    width: 50%;
    height: auto;
    filter: drop-shadow(0px 0px 1px var(--color-principal));
}

.header__titles {
    text-align: center;
    color: var(--color-principal);
    font-family: custom;
    flex: 1;
}

.header__title {
    font-size: clamp(12px, 7vw, 30px); 
    letter-spacing: 2px;
    transition: transform 0.3s;

}

.header__subtitle {
    font-size: clamp(10px, 4vw, 17px); 
    transition: transform 0.3s;
    font-display: swap;

}


.header__menu {
  display: flex;
  align-items: center; 
  gap: 10px;
}
.header__menu-item {
  display: flex;
  justify-content: center; 
  width: 100%;
}

.header__menu-link {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-inline: 12px;
  height: 45px;
  border-radius: 5px;
  font-size: large;
  color: var(--color-secundario);
  text-decoration: none;
  width: 100%;
  max-width: 200px; 
  transition: all 0.3s ease;
  font-weight: 600;
}

/* Creación de la línea inferior */
.header__menu-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%; 
  width: 0;   
  height: 3px;
  background-color: var(--color-secundario); 
  transition: all 0.3s ease;
  transform: translateX(-50%); 
}

/* Efecto Hover */
.header__menu-link:hover, #hover {
  color: var(--color-principal);
}

@media screen and (min-width: 948px) {
  .header__menu-link:hover::after, #hover::after {
    width: 80%;
    background-color: var(--color-principal); 
  }
}

/* Estilo para el SVG dentro del botón */
.header__menu-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor; 
  margin-right: 8px; 
}
.header__menu-toggle {
  color: var(--color-principal);
  cursor: pointer;
  transition: transform 0.3s;
  right: 15px;
  top: 15px;
  display: none;
  padding: 0 7px;
}
.header__menu-toggle:hover {
  transform: scale(1.1);
}

.header__menu-toggle span {
  display: block; 
  width: 30px;
  height: 4px;
  background: var(--color-principal);
  margin: 5px 0;
  transition: all 0.3s ease;

}

.header__menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.header__menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Menú visible */
.header__nav.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    visibility 0s;
}
.header.active {
  height: 100vh;
  align-content: start;

}

/*HEADER SMALL*/
.header-small {
  box-shadow: 0px 10px 30px 5px var(--color-fondo);
  padding-top: 0;
  padding-bottom: 0;
}
.header {
transition: padding 0.5s;
}
.header-small .header__logo, .header-small .header__titles, .header-small .header__menu-toggle {
  transform: scale(0.8);
  
}
.header__subtitle {
  transition: transform 0.5s, height 0.5s;
}
.header-small .header__subtitle {
  transform: scale(0);
  height: 0;
}
.header__logo, .header__titles, .header__menu {
  transition: transform 0.5s;
}

/*HEADER MEDIA*/
@media screen and (max-width: 948px) {

  .header__menu-toggle {
    display: block;
  }
  .header__nav {
    overflow-x: hidden;
    overflow-y: scroll;
    margin-top: 130px;
    display: flex; 
    justify-content: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100vh - 132px);
    z-index: 21;
    opacity: 0;
    transform: translateY(-20px) scale(0.2);
    transform-origin: top right;
    transition:
      opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      visibility 0s linear 0.5s;
    pointer-events: none;
    visibility: hidden;
  }

.header__menu {
    flex-direction: column;
    flex: 1;
    max-width: 90%;
  }

  .header__menu-item {
    border-bottom: 1px solid #ffffff45; 
    justify-content: start; 
    padding-block: 15px; 
  }
  .header__menu-link {
    text-align: left;
    align-items: flex-start;
    gap: 2px;
    justify-content: start;
    max-width: unset;
  }
  .svgheader svg {
    position: relative;
    pointer-events: none;
  }

}

/*HEADER END*/



/*BARRA SEPARADORA*/
.Medium {
  width: 100%; 
  max-width: 1200px;
  height: 5px; 
  border: none; 
  border-radius: 50px; 
  margin: 40px auto; 
  background: linear-gradient(to right, transparent, var(--color-principal  ), transparent);
  margin: 3rem 0;
}
main, #main {
  width: 95%;
  max-width: 1200px;
  margin: auto;
}
#bienvenida{
    text-align: center;
    padding: 0px;
}
 #bienvenida p {
    text-align: center;
  padding-block: 20px;
  padding-bottom: 40px;
 }
.swiper1 {
  width: 100%;
  height: clamp(250px, 50vw, 500px);
}
.swiper {
  border-radius: 10px;
}



.imagen-con-superposicion 
{position: relative;}

.imagen-con-superposicion img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.imagen-superpuesta {
  position: absolute;
  top: 15px;
  right: 20px;
  max-width: 130px;
  max-height: 130px;
  transition: transform 0.3s;
}

.imagen-superpuesta2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  transition: transform 0.3s;
}
.imagen-superpuesta,
.imagen-superpuesta2 {
  max-width: clamp(60px, 10vw, 130px);
  max-height: clamp(60px, 10vw, 130px);
}

.imagen-superpuesta:hover, .imagen-superpuesta2:hover {
  transform: scale(1.1);
}
.swiper-pagination-bullet {
  background-color: var(--color-principal);
}


#informacion {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between; 
  align-items: center;
  gap: 20px;

}

#textoinfo {
  width: 50%;
  text-align: left; 
  padding-bottom: 20px;
  margin: 10px auto;
  padding: 20px 20px;
  background: linear-gradient(145deg, #0a0a0a, #111);
  border-radius: 20px;
  border-left: 5px solid var(--color-principal);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
#informacion h2 { 
  padding-bottom: 30px;
  text-align: center;
}

#textoinfo p {
    color: #ccc;
    font-size: .9rem;
    line-height: 1.8;
    margin: 0;
}
#textoinfo p:first-of-type {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}


#videoinfo {
  width: 49%;
  display: flex;
  justify-content: flex-end; 
  padding-bottom: 10px;
}

video {
  width: 100%;
  max-height: 300px;
  border-radius: 10px;
  object-fit: cover;
}


video::-webkit-media-controls {
  filter: drop-shadow(0px 10px 5px var(--color-principal));

}
@media screen and (max-width: 700px) {
  #informacion {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

#textoinfo, #videoinfo {
    width: 100%;
}

video {
    max-width: 100%;
}
}

/* Sección de características (Flex adaptable) */
#caracteristicas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 50px 20px;
    background-color: #0005;
    backdrop-filter: blur(10px);
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
}

.caracteristica {
    background: #111;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #222;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.caracteristica:hover {
    transform: translateY(-10px);
    border-color: var(--color-principal);
    box-shadow: 0 10px 30px rgba(255, 61, 152, 0.1);
}

.caracteristica h3 {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 15px;
    gap: 12px;
}

.iconocaracteristicas {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.caracteristica:hover .iconocaracteristicas {
    transform: rotate(10deg) scale(1.1);
}

.caracteristica p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.caracteristica::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-principal);
    transition: height 0.3s ease;
}

.caracteristica:hover::before {
    height: 100%;
}

@media (max-width: 768px) {
    #caracteristicas {
        padding: 40px 15px;
        grid-template-columns: 1fr;
    }
}

/* Productos */
h2{
      text-transform: uppercase;
      letter-spacing: 2px;
}
.h2swiper2 {
    text-align: center;
    margin: 40px 0 20px;
}

/* Contenedor Swiper */
.productostendencia {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px;
}
/* Tarjeta de Producto */
.card__producto {
  margin-top: 20px;
  background: #111;
  border-radius: 15px;
  border: 1px solid #222;
  transition: transform 0.3s ease, border-color 0.3s ease;
  height: auto;
}

.card__producto:hover {
  border-color: #ff3d98;
  transform: translateY(-5px);
}

.card__image {
  position: relative;
  background: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  perspective: 1000px; 
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.card__image-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
}

.card__image:hover .card__image-inner {
  transform: rotateY(180deg);
}

.card__image img {
  padding: 15px;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
  border-radius: 15px;
  backface-visibility: hidden; 
}

/* Capa trasera (Botón Pedir) */
.card__image-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 61, 152, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  border-radius: 15px;
  transform: rotateY(180deg);
  backface-visibility: hidden;
}

.card__image:hover .card__image-back {
  opacity: 1;
}

.card__image-back a {
  background: #25D366;
  padding: 12px;
  border-radius: 50%;
  display: flex;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card__image-back a:hover {
  transform: scale(1.2);
}

.card__image-back img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease-in-out;
}

.card__image-back img:hover {
  transform: scale(1.2);
}

/* Datos del Producto */
.card__data {
  padding: 10px;
  text-align: center;
  border-top: 3px solid #ff3d98;
}

.card__price {
  color: #ff3d98;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: bold;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__description {
  color: #ccc;
  font-size: 0.8rem;
  line-height: 1.4;
  letter-spacing: 1.1px;
}

.texto-largo {
  display: none; 
  margin-top: 10px;
  font-style: italic;
  color: #999;
}

.ver-mas, .instruccionestktx {
  display: inline-block;
  margin-top: 15px;
  background: transparent;
  border: 1px solid #444;
  color: #fff;
  padding: 6px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.ver-mas:hover, .instruccionestktx:hover {
  background: #ff3d98;
  border-color: #ff3d98;
  transform: scale(1.05);
}

/* Navegación del Swiper */
.swiper-button-next, .swiper-button-prev {
display: none;
}

@media screen and (max-width: 500px) {
 
  .productostendencia {
    padding: 20px 20px;
  }
  
  .h2swiper2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
  }
}

/* Contenedor General */
.final {
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* La frase inspiradora */
.final-texto {
  text-align: center;
  font-size: 1.5rem;
  color: #fff;
  font-style: italic;
  font-family: 'Georgia', serif;
  line-height: 1.6;
  margin: 40px 0;
  padding: 0 20px;
}

.final a {
    text-decoration: none;
    display: inline-block;
}

.final-span {
    color: #ff3d98;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 8px;
    transition: all 0.3s ease;
}

.final-span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #ff3d98;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.final a:hover .final-span {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 61, 152, 0.8);
}

.final a:hover .final-span::after {
    width: 100%;
}

@media (max-width: 768px) {
    .final-texto {
        font-size: 1.2rem;
    }
    
    .final-span {
        font-size: 1rem;
    }
}
/* Contenedor principal */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  background-color: #0005;
  backdrop-filter: blur(10px);
  padding: 60px 20px 20px;
  border-top: 1px solid #1a1a1a;
}
@media (max-width: 600px) {
  .footer {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

.footer__list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
}

.footer__link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer__icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
    object-fit: contain;
}

  /* Colores de cada red social */
.footer__link--whatsapp { background-color: #25D366; }
.footer__link--facebook { background-color: #1877F2; }
.footer__link--instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); 
}
.footer__link--tiktok { background-color: #FF0050; }

.footer__link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 61, 152, 0.3);
}

.footer__link:hover .footer__icon {
    transform: scale(1.1);
}

.footer__text, 
.footer p {
  text-align: end;
    color: #666;
    font-size: 0.85rem;
    margin: 5px 0;
}

.footer p a {
    color: #ff3d98;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.footer p a:hover {
    color: #fff;
    text-decoration: underline;
}

@font-face {
  font-family: custom;
  src: url(/fuentes/viner-hand-itc/VINERITC.TTF) format(truetype);
  font-weight: 100;
}
