/* -----------------------------------------------------------------------
                        boton de comprar 
--------------------------------------------------------------------------*/ 
.btn_comprar {
  --width: 110px;
  --height: 35px;
  --tooltip-height: 35px;
  --tooltip-width: 110px;
  --gap-between-tooltip-to-button: 18px;
  --button-color: #222;
  --tooltip-color: #fff;
  width: var(--width);
  height: var(--height);
  background: var(--button-color);
  position: relative;
  text-align: center;
  border-radius: 0.45em;
  font-family: "Arial";
  transition: background 0.3s;
  cursor: pointer;
}

/* Texto Informativo al Pasar el Cursor */
.btn_comprar::before {
  position: absolute;
  content: attr(data-tooltip);
  width: var(--tooltip-width);
  height: var(--tooltip-height);
  background-color: #555;
  font-size: 1.1rem;
  color: #fff;
  border-radius: .25em;
  line-height: var(--tooltip-height);
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);
  left: calc(50% - var(--tooltip-width) / 2);
}

/* Flecha del Tooltip */
.btn_comprar::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #555;
  left: calc(50% - 10px);
  bottom: calc(100% + var(--gap-between-tooltip-to-button) - 10px);
}

/* Ocultar Tooltip por Defecto */
.btn_comprar::after,
.btn_comprar::before {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

/* Desplazamiento de Texto e Ícono en el Botón */
.btn_comprar .text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn_wrapper,.text,.icon {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  color: #fff;
}

.btn_comprar .text {
  top: 0
}

.btn_comprar .text,.icon {
  transition: top 0.5s;
}

.btn_comprar .icon {
  color: #fff;
  top: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn_comprar .icon svg {
  width: 24px;
  height: 24px;
}

.btn_comprar:hover {
  background: #222;
}

.btn_comprar:hover .text {
  top: -100%;
  color: transparent;
}

.btn_comprar:hover .icon {
  top: 0;
}

/* Mostrar Tooltip al Pasar el Cursor */
.btn_comprar:hover:before,
.btn_comprar:hover:after {
  opacity: 1;
  visibility: visible;
}

.btn_comprar:hover:after {
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) - 20px);
}

.btn_comprar:hover:before {
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button));
}



/*------------------------------ perfil usuario -------------------*/ 
.card-client {
  background: #fff;
  width: 290px;
  padding-top: 25px;
  padding-bottom: 25px;
  padding-left: 20px;
  padding-right: 20px;
  border: 4px solid #7cdacc;
  box-shadow: 0 6px 10px rgba(207, 212, 222, 1);
  border-radius: 10px;
  text-align: center;
  color: black;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.card-client:hover {
  transform: translateY(-10px);
}

.user-picture {
  overflow: hidden;
  object-fit: cover;
  width: 5rem;
  height: 5rem;
  border: 4px solid #7cdacc;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.user-picture svg {
  width: 2.5rem;
  fill: currentColor;
}

.name-client {
  margin: 0;
  margin-top: 20px;
  font-weight: 600;
  font-size: 18px;
}

.name-client span {
  display: block;
  font-weight: 200;
  font-size: 16px;
}

.social-media:before {
  content: " ";
  display: block;
  width: 100%;
  height: 2px;
  margin: 20px 0;
  background: #7cdacc;
}

.social-media a {
  position: relative;
  margin-right: 15px;
  text-decoration: none;
  color: inherit;
}

.social-media a:last-child {
  margin-right: 0;
}

.social-media a svg {
  width: 1.1rem;
  fill: currentColor;
}

/*-- Tooltip Social Media --*/
.tooltip-social {
  background: #262626;
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  padding: 0.5rem 0.4rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -90%);
  transition: all 0.2s ease;
  z-index: 1;
}

.tooltip-social:after {
  content: " ";
  position: absolute;
  bottom: 1px;
  left: 50%;
  border: solid;
  border-width: 10px 10px 0 10px;
  border-color: transparent;
  transform: translate(-50%, 100%);
}

.social-media a .tooltip-social:after {
  border-top-color: #262626;
}

.social-media a:hover .tooltip-social {
  opacity: 1;
  transform: translate(-50%, -130%);
}

.btn-perfil {
    width: 100%;
    position: relative;
    height: 2.5em;
    border:  3px solid #ffd60a;
    outline: none;
    background-color: transparent;
    color: rgb(0, 0, 0);
    transition: 1s;
    font-size: 15px;
    cursor: pointer;
}

.btn-perfil::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 3%;
    width: 95%;
    height: 40%;
    background-color: #fff;
    transition: 0.5s;
    transform-origin: center;
}

.btn-perfil::before {
    content: "";
    transform-origin: center;
    position: absolute;
    top: 80%;
    left: 3%;
    width: 95%;
    height: 40%;
    background-color: #fff;
    transition: 0.5s;
}

.btn-perfil:hover::before, .btn-perfil:hover::after {
    transform: scale(0);
}
/*  
.btn-perfil:hover {
    box-shadow: inset 0px 0px 25px #ffdd00;
}
*/

/*------------------------------ Contenedor para el efecto de zoom -------------------*/
.zoom-pan-container {
  overflow: hidden;         /* Oculta el desbordamiento */
  position: relative;       /* Necesario para el paneo */
  display: inline-block;    /* Se adapta al tamaño de la imagen */
  cursor: zoom-in;          /* Icono de lupa */
  border-radius: 5px;       /* Bordes redondeados */
  transition: transform 0.5s ease; /* Suaviza la animación */
}

/* Imagen con efecto de zoom panorámico */
.zoom-pan-img {
  width: 100%;               /* La imagen se ajusta al tamaño del contenedor */
  transition: transform 0.7s ease-in-out;  /* Suaviza el movimiento */
  will-change: transform;           /* Optimiza el rendimiento */
  transform-origin: center center;  /* Por defecto, el zoom es al centro */
}

/* Efecto de zoom y paneo */
.zoom-pan-container:hover .zoom-pan-img {
  transform: scale(2);     /* Zoom al 200% */
  transition: none;        /* Quita la animación para que el movimiento sea fluido */
}

/* Cambio de cursor al hacer zoom */
.zoom-pan-container:hover {
  cursor: zoom-out;
}

/* -----------------------------------------------------------------------
                        COMPRA CON PAYPAL
--------------------------------------------------------------------------*/
.container_compra{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    padding:20px;

}

.contenido_compra{
    width: 400px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
.detalles_compra{
    width: 100%;
    margin-bottom: 20px;
}

.detalles_compra p {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #555;
}

.botones_paypal{
    width: 100%;
}

.boton-regresar {
    text-align: center;
    margin-top: 10px;
}

.btn-volver {
    display: inline-block;
    text-decoration: none;
    color: #0070BA;
    font-size: 16px;
}


.boton-regresar .btn-volver  i{
    font-size: 12px;
}

/*---------------------------------------------------------------------------
                            DISEÑO DE DESCUENTOS
-----------------------------------------------------------------------------*/
.title_descuento {
  display: flex;
  gap:10px;
}

.title-text_descuento {
  margin-top:0.8rem;
  color: #374151;
  font-size: 20px;
}

.icono_descuento{
  margin-top: 0.5rem;
}

.percent_descuento {
  margin-top: 1rem;
  color: #02972f;
  font-weight: 600;
  display: flex;
}

.data_precio{
    text-decoration: line-through;
    font-size: 20px;
    color: #c1121f;
}

.data_descuento{
    color: #1F2937;
}

.data_precio,
.data_descuento {
  margin-top: 1rem;
  font-size: 2.5rem;
  line-height: 2.5rem;
  font-weight: 700;
}

/*---------------------------------------------------------------------------
                            DISEÑO DE OPCIONES
-----------------------------------------------------------------------------*/
/* From Uiverse.io by Shoh2008 */ 
.input_opcion {
  -webkit-appearance: none;
 /* remove default */
  display: block;
  margin: 10px;
  width: 16px;
  height: 16px;
  border-radius: 12px;
  cursor: pointer;
  vertical-align: middle;
  box-shadow: hsla(0,0%,100%,.15) 0 1px 1px, inset hsla(0,0%,0%,.5) 0 0 0 1px;
  background-color: #fff;
  background-image: -webkit-radial-gradient( hsla(200,100%,90%,1) 0%, hsla(200,100%,70%,1) 15%, hsla(200,100%,60%,.3) 28%, hsla(200,100%,30%,0) 70% );
  background-repeat: no-repeat;
  -webkit-transition: background-position .15s cubic-bezier(.8, 0, 1, 1),
    -webkit-transform .25s cubic-bezier(.8, 0, 1, 1);
  outline: none;
}

.input_opcion:checked {
  -webkit-transition: background-position .2s .15s cubic-bezier(0, 0, .2, 1),
    -webkit-transform .25s cubic-bezier(0, 0, .2, 1);
}

.input_opcion:active {
  -webkit-transform: scale(1.5);
  -webkit-transition: -webkit-transform .1s cubic-bezier(0, 0, .2, 1);
}



/* The up/down direction logic */

.input_opcion,
.input_opcion:active {
  background-position: 0 24px;
}

.input_opcion:checked {
  background-position: 0 0;
}

.input_opcion:checked ~ .input_opcion,
.input_opcion:checked ~ .input_opcion:active {
  background-position: 0 -24px;
}

/*-------------------------------------------------------------------------
                            ROTACION DE +
--------------------------------------------------------------------------*/
.icono-mas {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-left: 5px;
  font-weight: bold;
  color: #000;
}

.icono-mas.rotado {
  transform: rotate(45deg);
  color: #ffb703;
}

/* From Uiverse.io by NlghtM4re */ 
.loader {
  
  height: 20px;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
}

.loader::before {
  content: "";
  position: absolute;
  background-color: rgb(9, 188, 9);
  width: 0%;
  height: 100%;
  border-radius: 2px;
  animation: load 3.5s ease-in-out ;
  box-shadow: rgb(9, 188, 9) 0px 2px 29px 0px;
}

.container_progreso {
  width: 97%;
  height: 20px;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  display: flex;
}

@keyframes load {
  50% {
    width: 100%;
  }

  100% {
    right: 0;
    left: unset;
  }
}