#product #sg-sizes_guide_btn {
    position: absolute;
    right: 0;
    color: #111;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

#product .floating_bar.floating #sg-sizes_guide_btn {
    display: none;
}

/* #product #sg_popup {
    display: none;
} */
/* #product #sg_popup {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 99;
    display: flex;
    justify-content: end;
    background: rgba(0, 0, 0, 0.5);
} */
 #product .cc_sidebar__container.open .cc_sidebar__block .cc_sidebar__title span {
    max-width: 350px;
}
#product #sg_popup .sg-block {
    height: 100%;
    min-width: 400px;
    width: 400px;
    background: white;
    opacity: 1;
    color: black;
    padding: 0px 0px 24px 0px;
}
#product #sg_popup .sg-block .sg-header {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    border-bottom: 1px solid #BABBBD;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 600;
    padding-left: 16px;
    padding-right: 16px;
}
#product #sg_popup .sg-block .sg-header .sg-close svg {
    color: #000;
    width: 24px;
    cursor: pointer;
}
#product #sg_popup .sg-block .sg-content {
    overflow: auto;
    height: 100%;
    /* padding-left: 16px;
    padding-right: 16px; */
    padding-bottom: 100px;
}
#product #sg_popup .sg-content::-webkit-scrollbar {
    width: 3px;
}
#product #sg_popup .sg-content::-webkit-scrollbar-thumb {
    background-color: grey;
    border-radius: 20px;
}
#product #sg_popup .sg-content::-webkit-scrollbar-track {
    background: #ebebeb;
    border-radius: 4px;
}
#product #sg_popup .sg-block .sg-info {
    margin-top: 25px;
}
#product #sg_popup .sg-block .sg-info img {
    margin: 0 auto;
    margin-top: 15px;
    display: block;
    width: auto;
}
#product #sg_popup .sg-block .sg-info .sg-info_desc {
    font-size: 10px;
    margin-top: 15px;
    font-weight: 500;
}
#product #sg_popup .sg-block .sg-info .sg-info_title {
    font-size: 16px;
    font-weight: 600;
    font-weight: 600;
}
#product #sg_popup .sg-block .sg-info .sg-info_list {
    list-style: decimal;
    list-style-position: inside;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
}
#product #sg_popup .sg-block .sg-info .sg-info_list div {
    font-size: 14px;
    font-weight: 400;
}
#product #sg_popup .sg-block .sg-info .sg-info_list li {
    margin-bottom: 15px;
}
#product #sg_popup .sg-block .sg-info .sg-info_list .sg-longitud_info {
    font-weight: 400;
}
#product #sg_popup .sg-content .sg-sizes .sg-size_list {
    margin-top: 10px;
}
#product #sg_popup .sg-content .sg-sizes .sg-size_list_group {
    display: none;
}
#product #sg_popup .sg-content .sg-sizes .sg-size_list_group.active {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
}
#product #sg_popup .sg-content .sg-sizes .sg-size_list_info {
    margin-top: 20px;
}
#product #sg_popup .sg-content .sg-sizes .sg-size_list_info .sg-size_list_info_item {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}
#product #sg_popup .sg-content .sg-sizes .sg-size {
    border: 1px solid black;
    padding: 6px 5px;
    border-radius: 5px;
    display: block;
    cursor: pointer;
    min-width: 44px;
    width: 44px;
    text-align: center;
    margin: 0 5px;
    font-size: 16px;
    font-weight: 600;
}
#product #sg_popup .sg-content .sg-sizes .sg-size.selected {
    border: 1px solid black;
    color: white;
    background: black;
}
#product #sg_popup .sg-content .sg-btn_add {
    color: #999B9D;
    background: #E9E9EA;
    border: 1px solid #E9E9EA;
    font-size: 16px;
    text-align: center;
    padding: 5px 15px;
    margin-top: 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}
#product #sg_popup .sg-content .sg-btn_add.valid {
    color: white;
    background: black;
    border: 1px solid black;
}

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

    #product #sg_popup .sg-block {
        height: 100%;
        min-width: 100%;
        width: 100%;
        background: white;
        opacity: 1;
        transition: 0.75s;
        position: relative;
        color: black;
        padding: 24px 16px 24px 16px;
        padding-left: 0;
        padding-right: 0;
    }

    #product #sg-sizes_guide_btn {
        right: 16px;
        font-size: 14px;
        font-weight: 700;
        text-transform: lowercase;
    }
    #product #sg-sizes_guide_btn::first-letter {
        text-transform: uppercase;
    }

}

#product .cc_sidebar__block[data-id-block="cc_sizes_guide"] .cc_sidebar__content {
    overflow-y: auto;
}

/* 1. Ocultar la barra (opcional, si solo quieres eliminar el espacio) */
#product .cc_sidebar__block[data-id-block="cc_sizes_guide"] .cc_sidebar__content {
    /* Oculta la barra de desplazamiento visualmente, pero mantiene la funcionalidad de scroll */
    scrollbar-width: none; /* Firefox */
}

/* 2. Definir el ancho de la barra (track) */
#product .cc_sidebar__block[data-id-block="cc_sizes_guide"] .cc_sidebar__content::-webkit-scrollbar {
    width: 12px; /* Ancho para barras verticales */
    height: 12px; /* Alto para barras horizontales */
}

/* 3. Estilizar el "track" (el canal por donde se mueve el scroll) */
#product .cc_sidebar__block[data-id-block="cc_sizes_guide"] .cc_sidebar__content::-webkit-scrollbar-track {
    background: #f1f1f1; /* Un gris claro para el fondo */
    border-radius: 10px; /* Bordes redondeados */
}

/* 4. Estilizar el "thumb" (el pulgar o la parte que se mueve) */
#product .cc_sidebar__block[data-id-block="cc_sizes_guide"] .cc_sidebar__content::-webkit-scrollbar-thumb {
    background: #888; /* Un gris más oscuro para el pulgar */
    border-radius: 10px; /* Bordes redondeados */
}
 .cc_sidebar__content
#product .cc_sidebar__block[data-id-block="cc_sizes_guide"] .cc_sidebar__content::-webkit-scrollbar-thumb:hover {
    background: #555; /* Oscurecer al hacer hover */
}