
#ficha-producto{
    margin-top: 30px;
}

.js_descripcion_personalizada{
    line-height: 24px;
}


.bloque-fotos{
    width: 65%;
    float: left;
    position: relative;
    padding-right: 40px;
}
.bloque-fotos-mobile{
    display: none;
}
.bloque-fotos img{
    width: 100%;
}

.carousel-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1060;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 649px;
    height: auto;
    opacity: 1;
    overflow: visible;
}

.carousel-img {
    width: 649px;
    height: 649px;
    opacity: 1;
    overflow: visible;


    max-width: 100%;
    max-height: 80vh;
    transition: transform 0.3s ease-in-out;
}

.close-btn {
    position: absolute;
    top: -20px;
    right: -20px;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    padding: 8px 10px;
    background-color: #222;
    border-radius: 50%;
    border: 2px solid #b5b5b5;
}

.next-prev-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 30px;
    color: #fff;
    width: 32px;
    height: 32px;
    background-color: #222;
    border-radius: 50%;
    border: 2px solid #b5b5b5;
}

.next-prev-arrow.left {
    left: 10px;
}

.next-prev-arrow.right {
    right: 10px;
}

.bloque-fotos img{
    border: 1px solid;
    border-color: var(--textlight-grey);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    object-fit: cover;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.gap4{
    gap: 4px 0;
}


.bloque-fotos .circulo-favorito {
    border: 1px solid;
    border-color: var(--geyser);
    border-radius: 100px;
    padding: 8px;
    width: 42px;
    position: absolute;
    right: 50px;
    top: 10px;
}

.bloque-fotos .icon-heart-1 {
    height: 22px;
    min-width: 22px;
    position: relative;
    border: none;
}

.bloque-ficha{
    width: 35%;
    float: left;
    position: relative;
    padding-left: 20px;
    color: var(--firefly);
}

.bloque-ficha .control-stock{
    align-items: center;
    display: flex;
    gap: 8px;
    position: relative;
    width: fit-content;
}
.bloque-ficha .control-stock .texto-stock {
    color: var(--uisucces);
    font-family: var(--font-family-barlow);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 22px;
    position: relative;
    text-align: right;
    white-space: nowrap;
    width: fit-content;
}

.bloque-ficha h1.nombre-producto {
    color: var(--firefly);
    font-family: var(--font-family-barlow_condensed);
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.96px;
    line-height: normal;
    position: relative;
}

.bloque-ficha .disenador{
    font-family: var(--font-family-barlow_condensed-medium);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 22px;
    position: relative;
    white-space: nowrap;
}
.bloque-ficha .disenador a{
    color: var(--primaryblue);
    text-decoration: underline;
}

.bloque-ficha .zona-precio {
    display: flex;
    position: relative;
    width: fit-content;
    margin-top: 30px;
}

.bloque-ficha .zona-precio .precio-actual {
    color: var(--firefly);
    font-family: var(--font-family-barlow_condensed-bold);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 22px;
    position: relative;
}
.bloque-ficha .zona-precio .precio-tachado {
    color: var(--oslo-gray);
    font-weight: 500;
    line-height: 24px;
    position: relative;
    text-decoration: line-through;
    white-space: nowrap;
    width: fit-content;
    margin-top: 11px;
    margin-left: 10px;
}



.select-categorias {
    margin-top: 40px;
    position: relative;
}

.select-categorias .cat:hover, .select-categorias .cat.activo {
    border-color: var(--textmain-color) !important;
}
.select-categorias .activo .btn-opciones, .select-categorias .cat:hover .btn-opciones{
    text-shadow: 0.9px 0px 0px #000;
}


.select-categorias .cat {
    align-items: center;
    background-color: var(--textwhite);
    border: 1px solid;
    border-color: var(--text--grey);
    border-radius: 100px;
    justify-content: center;
    padding: 10px 24px;
    position: relative;
    width: fit-content;
    margin-right: 15px;
    margin-bottom: 10px;
    display: inline-flex;
    cursor: pointer;
}

.select-categorias .btn-opciones {
    color: var(--textmain-color);
    line-height: 24px;
}



.select-talla .selecciona-tu-talla {
    color: var(--firefly);
    font-weight: 500;
    line-height: 24px;
    font-family: var(--font-family-poppins);
    font-size: 16px;
    font-style: normal;
    margin-top: 30px;
    margin-bottom: 20px;
}
.select-talla .selecciona-tu-talla span {
    color: var(--primaryblue);
    text-decoration: underline;
    padding-left: 20px;
    cursor: pointer;
}

.select-categorias .selecciona-color {
    color: var(--firefly);
    font-weight: 500;
    line-height: 24px;
    font-family: var(--font-family-poppins);
    font-size: 16px;
    font-style: normal;
    margin-top: 20px;
    margin-bottom: 10px;
}

.select-talla .talla {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    border-color: var(--text--grey);
    border-radius: 4px;
    min-height: 42px;
    min-width: 55px;
    padding: 10px;
    position: relative;
    text-align: center;
    font-family: var(--font-family-poppins);
    font-size: 16px;
    margin: 4px;
    cursor: pointer;
}

.select-talla .talla input {
    display: none;
}

.select-talla .talla:hover, .select-talla .talla.activo {
    color: var(--textwhite);
    background-color: var(--firefly);
    transition: all .5s ease;
}
.select-talla .talla.sinstock:hover, .select-talla .talla.sinstock {
    border: 1px solid;
    color: var(--textwhite);
    background-color: #afacac;
    opacity: 0.3;
}
.select-talla .talla.oculto {
    display: none;
}

.select-talla .talla.oculto {
    display: none;
}
.select-categorias .cat.oculto {
    display: none;
}

.bloque-cantidad {
    align-items: center;
    display: flex;
    gap: 24px;
    position: relative;
    width: fit-content;
    padding: 10px 0px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.bloque-cantidad .cantidad {
    color: var(--black);
    font-weight: 500;
    line-height: 24px;
    position: relative;
    white-space: nowrap;
    width: fit-content;
}


.bloque-cantidad .marco-cantidad {
    align-items: center;
    border: 1px solid;
    border-color: var(--geyser);
    border-radius: 100px;
    display: flex;
    gap: 12px;
    height: 32px;
    overflow: hidden;
    padding: 11px 16px;
    position: relative;
    width: fit-content;
    cursor: pointer;
}

.bloque-cantidad .marco-cantidad .menosmas  {
    height: 24px;
    margin-bottom: -10.00px;
    margin-top: -10.00px;
    min-width: 24px;
    position: relative;
}

.bloque-cantidad .input-cantidad {
    color: var(--firefly);
    font-weight: 500;
    line-height: 24px;
    position: relative;
    text-align: center;
    width: 34px;
    border: none;
}

.btn-anadir-cesta {
    align-items: center;
    align-self: stretch;
    background-color: var(--primarypink);
    color: var(--textwhite);
    font-family: var(--font-family-barlow);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 26px;
    border: 1px solid;
    border-radius: 100px;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 12px 48px;
    position: relative;
    border-color: var(--firefly);
    font-size: 18px;
    width: 100%;
    cursor: pointer;
}
.btn-anadir-cesta.disable {
    background-color: #888888;
    opacity: 0.3;
}


.btn-comprar-ahora{
    align-items: center;
    align-self: stretch;
    background-color: #ffffff;
    color: var(--black);
    font-family: var(--font-family-barlow);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 26px;
    border: 1px solid;
    border-radius: 100px;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 12px 48px;
    position: relative;
    border-color: var(--firefly);
    font-size: 18px;
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
}

.btn-comprar-ahora:hover, .btn-anadir-cesta:hover{
    text-decoration: underline;
}
a.btn-comprar-ahora{
    color: var(--black);
}

.descripcion {
 margin-top: 40px;
}
.descripcion .titular{
    color: var(--black);
    font-weight: 600;
    line-height: 24px;
    position: relative;
    font-family: var(--font-family-poppins);
    font-size: 16px;
    font-style: normal;
    margin-bottom: 10px;
}

.descripcion p{
    color: var(--black);
    font-family: var(--font-family-poppins);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 26px;
    position: relative;
}

.descripcion p strong{
    font-weight: 600;
}

.bloque-items-servicios{
    margin-top: 30px;
    margin-bottom: 40px;
}

.bloque-items-servicios .fila-servicio:first-child {
    border: 0px solid;
    border-color: var(--text--grey);
    border-radius: 4px 4px 0px 0px;
}
.bloque-items-servicios .fila-servicio {
    align-items: center;
    background-color: var(--textlight-grey);
    border: 0px solid;
    border-top: none;
    border-color: var(--text--grey);
    display: flex;
    justify-content: space-between;
    padding: 22px 24px 22px;
    position: relative;
    cursor: pointer;
}

.fila-servicio img{
    filter: grayscale(100%) brightness(0);
}

p.accordion-body{
    line-height: 22px;
    font-size: 14px;
}

.bloque-items-servicios .fila-servicio:last-child {
    border-radius: 0px 0px 4px 4px;
}

.bloque-items-servicios .fila-servicio .contenido {
    align-items: center;
    display: flex;
    gap: 8px;
    position: relative;
    width: 90%;
}
.bloque-items-servicios .fila-servicio .contenido p{
    font-family: var(--font-family-poppins);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 24px;
}

.bloque-items-servicios .place {
    color: var(--uisucces);
    font-family: var(--font-family-barlow_condensed);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: normal;
    position: absolute;
    right: 15px;
    white-space: nowrap;
    width: fit-content;
}

#aviso_error_talla_ficha{
    color: #f50e2c;
    padding: 0px 0px 20px 0px;
    line-height: 23px;
    display: none;
}

#aviso_producto_anadido_cesta_ficha{
    color: #fff;
    line-height: 23px;
    font-family: var(--font-family-poppins);
    border-radius: 10px;
    justify-content: center;
    padding: 7px;
    width: 100%;
    margin: 0px 0px 20px 0px;
}

#popupMeteEnCesta .modal-header{
    background: none;
    border: none;
}

#popupMeteEnCesta .modal-dialog{
    max-width: 580px;
}
#popupMeteEnCesta .modal-body {
    padding: 5px;
}

#popupMeteEnCesta #confirmacion_carrito_ficha{
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    text-align: center;
    vertical-align: center;
    font-size: 20px;
    padding: 15px;
    display: flex; /* Utilizamos flexbox para alinear verticalmente */
    flex-direction: column; /* Alineamos los elementos en una columna */
    justify-content: center; /* Centramos verticalmente los elementos */
    align-items: center;
}

#popupMeteEnCesta #confirmacion_carrito_ficha .mensaje_ok{
    display: flex; /* Agregamos display flex */
    align-items: center; /* Centra verticalmente el contenido */
    justify-content: center; /* Centra horizontalmente el contenido */
    gap: 10px;
    margin-bottom: 40px;
}
#popupMeteEnCesta #confirmacion_carrito_ficha .botones_ok{
    width: 100%;
}

#popupMeteEnCesta #confirmacion_carrito_ficha h3{
    letter-spacing: 0;
    line-height: 28px;
    margin-top: -1px;
    position: relative;
    color: var(--textmain-color);
    font-family: var(--font-family-barlow_condensed);
    font-size: var(--font-size-m);
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
}

.color-span-description {
    display: none;
    width: max-content;
    position: absolute;
    bottom: -45px;
    left: -5px;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
}

.color-container-div:hover .color-span-description {
    display: block;
}


@media screen and (max-width: 1190px){

    .bloque-ficha h1.nombre-producto {
        font-size: 42px;
    }
}
@media screen and (max-width: 950px){
    .bloque-fotos {
        width: 50%;
    }

    .bloque-ficha{
        width: 50%;
    }
    .bloque-ficha h1.nombre-producto {
        font-size: 40px;
    }
}

@media screen and (max-width: 768px){
    .bloque-fotos, .bloque-ficha{
        width: 100%;
    }
    .bloque-fotos{
        display: none;
    }
    .bloque-ficha{
        margin-top: 30px;
    }
    .bloque-fotos-mobile{
        width: 100%;
        display: block;
    }
    .bloque-fotos-mobile img{
        width: 100%;
    }

    #carrousel-imagenes-ficha{
        margin-top: 15px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .bloque-fotos-mobile .img-galeria{

        justify-content: center;
        border: 1px solid;
        border-color: var(--text--grey);
        border-radius: 4px;
        overflow: hidden;

    }

    #carrousel-imagenes-ficha .owl-nav {
        width: 100%;
    }

    #carrousel-imagenes-ficha .owl-prev {
        font-size: 40px;
        top: 50%;
        transform: translateY(-50%);
        left: -10px;
        position: absolute;
    }

    #carrousel-imagenes-ficha .owl-next {
        font-size: 50px;
        top: 50%;
        transform: translateY(-50%);
        right: -10px;
        position: absolute;
    }

    .bloque-items-servicios .fila-servicio .contenido {
        width: 85%;
    }

}

@media screen and (max-width: 540px){

    .bloque-ficha h1.nombre-producto {
        font-size: 30px;
    }
    .bloque-ficha .zona-precio {
        margin-top: 15px;
    }
    .bloque-ficha .disenador {
        font-size: 18px;
    }
    .select-categorias {
        margin-top: 24px;
    }
    .bloque-fotos, .bloque-ficha{
       padding: 0px 10px;
    }
    #carrousel-imagenes-ficha .owl-prev, #carrousel-imagenes-ficha .owl-next {
        font-size: 30px;
    }

    #popupMeteEnCesta #confirmacion_carrito_ficha a.btn_style_negro {
        padding: 10px 14px;
        font-size: 12px;
    }

}

