

.stock-info #toggle-list {
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    color: #000;
    padding: 7px 12px;
    text-align: center;
}

.stock-info #open-list {
    cursor: pointer;
    float: right;
    color: #000;
    font-size: 20px;
    text-decoration: none;
    padding: 7px;
    background-color: #fff;
    display: block;
    line-height: 0;
}

.stock-info #stock-list {
    width: 185px;
    padding-left: 12px;
    overflow-y: auto;
    height: 238px;
}

.stock-info #stock-list li {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    padding-right: 11px;
}

.stock-info #stock-list li p {
    display: inline-block;
    color: #979797;
}

.stock-info-block {
    margin-right: 0;
    position: absolute;
    right: 0;
    top: 34px;
    background-color: #ffffffe3;
}

.stock-info .stock-info:hover #stock-list {
    display: block; /* Show the list on hover */
}

.stock-info {
    position: absolute;
    right: 0;
    top: 40px;
    z-index: 100;
}


#toggle-list {
    display: block;
    text-decoration: none;
    font-size: 16px;
    color: #007bff;
    cursor: pointer;
    position: relative;
}

.stock-info #toggle-list::after {
    content: "↓";
    position: absolute;
    transition: transform 0.3s;
    margin-left: 8px;
}

.stock-info #toggle-list.show-more::after {
    content: "↑"; /* Зміна на стрілку вгору */
}

.stock-info-block .sizes {
    margin: 11px 11px 0px 11px;
    display: flex;
}

.stock-info-block {
    display: none;
}

.stock-info-block .sizes input[type=radio] {
    display: none;
}
.stock-info-block .sizes input:checked + label {
    border-color: #A5C592;
    border-radius: 2px;
    background-color: #A5C592;
    color: #fff;
}
.stock-info-block .sizes label {
    margin-right: 5px;
    padding: 6px 8px 2px 8px;
    border: 1px solid #E8E8E8;
    cursor: pointer;
    font-size: 12px;
    font-weight: 450;
    font-family: Futura PT;
    width: auto;
    margin-bottom: 6px;
    height: 27px;
    display: inline-block;
    text-align: center;
    border-radius: 2px;
}

.stock-info-product-cart-ajax .stock-info-block .sizes {
    margin: 0px 0px 0px 0px;
}

.stock-info-product-cart-ajax .stock-info-block {
    position: relative;
    display: block;
    top: 0;
}

.stock-info-product-cart-ajax #stock-list li p {
    display: inline-block;
    padding: 12px 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #999999;
}

.stock-info-product-cart {
    border: 1px dashed #abc397;
    padding: 11px;
    margin-bottom: 25px;
}

.stock-h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.stock-list-count {

}

.stock-info #stock-list li.hidden {
    display: none;
}

.stock-info-product-cart-ajax li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.loading-icon {
    animation: spin 1s linear infinite;
}

.stock-info-product-cart-ajax.loading {

}

.stock-info-ajax .text-stock-no {
    padding: 11px;
}

@keyframes dot-keyframes {
    0% {
        opacity: .4;
        transform: scale(1, 1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2, 1.2);
    }

    100% {
        opacity: .4;
        transform: scale(1, 1);
    }
}

@-webkit-keyframes dot-keyframes {
    0% {
        opacity: 0.4;
        transform: scale(1, 1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2, 1.2);
    }
    100% {
        opacity: 0.4;
        transform: scale(1, 1);
    }
}
@keyframes dot-keyframes {
    0% {
        opacity: 0.4;
        transform: scale(1, 1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2, 1.2);
    }
    100% {
        opacity: 0.4;
        transform: scale(1, 1);
    }
}
.loading-dots {
    text-align: center;
    width: 100%;
}
.loading-dots--dot {
    -webkit-animation: dot-keyframes 1.5s infinite ease-in-out;
    animation: dot-keyframes 1.5s infinite ease-in-out;
    background-color: #000;
    border-radius: 10px;
    display: inline-block;
    height: 10px;
    width: 10px;
}
.loading-dots--dot:nth-child(2) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}
.loading-dots--dot:nth-child(3) {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}