.product-upsells .product-upsells {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f4f4f4;
    padding: 20px;
}

.product-upsells .product {

    margin-top: 10px;

    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    display: flex;
    justify-content: space-between;
}

.product-upsells-bg {
    background: #F8FAFA;
    padding: 16px;
}

.product-upsells .product img {
    width: 100px;  /* Adjust image size as necessary */
}

.product-upsells .product-info h2 {
    font-size: 16px;
    font-weight: 400;
    font-family: Futura PT;
}

.product-upsells .price .current-price {
    font-size: 13px;
    font-weight: 700;
    font-family: Futura PT;
    color: #F84147;
}

.product-upsells .price .old-price {
    text-decoration: line-through;
    color: #47494B;
    margin-left: 10px;
    font-size: 11px;
    font-weight: 450;
    font-family: Futura PT;
}

.product-upsells .product-info .price {
    font-size: 1.5em;
    margin: 0.3em 0;
    font-weight: bolder;
}

.product-upsells .sizes label {
    margin-right: 5px;
    padding: 2px 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;
}

.product-upsells-image {
    width: 89px;
    height: 89px;
    background-size: cover;
    background-position: center;
}

.product-upsells .select-item {
    accent-color: green;
    margin-left: 5px;
}

.product-upsells .total-price {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}

.product-upsells .buy-set {
    background-color: #A5C592;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
    width: 235px;
    border-radius: 4px;
    height: 44px;
}

.total-price-block-upsells {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-upsells {
    margin-bottom: 43px;
}

.product-upsells .total-price {

}

.product-upsells .total-price p {
    text-decoration: line-through;
    display: inline-block;
}

.product-upsells .total-price span:nth-child(1) {
    font-size: 30px;
    font-weight: 600;
    font-family: Futura PT;
    display: block;
}

.product-upsells .total-price span:nth-child(2) {
    font-size: 14px;
    font-weight: 400;
    font-family: Futura PT;
    color: #999999;
    display: block;
}

.product-upsells .sizes input:checked + label {
    border-color: #A5C592;
    border-radius: 2px;
}

.product-upsells .sizes input[type=radio] {
    display: none;
}

.product-info-r {
    position: relative;
}

.product-info-r:before {
    top: 13px;
    left: 10px;
    width: 20px;
    height: 10px;
    border-bottom: 3px solid #a5c5924a;
    border-left: 3px solid #a5c5924a;
    transform: rotate(-45deg);
    transition: opacity 0.3s;
    content: "";
    display: block;
    position: absolute;
}

.product-info-l {

}

.product-page .product-info {
    display: flex;
    width: 100%;
    max-width: 50%;
}

.product-upsells h1 {
    font-size: 18px;
    font-weight: 400;
    font-family: Futura PT;
    margin-bottom: 15px;
}

.product-upsells .product-page .product-info {
    position: relative;
    line-height: 11px;

}

.regulation-size-label {
    width: auto !important;
    padding: 2px 9px !important;
}

.product-upsells .product-info-r [type=checkbox] {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    appearance: none;
}

.product-upsells .product-info-r [type=checkbox] {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
}
.product-upsells .product-info-r [type=checkbox]::before, .product-upsells .product-info-r [type=checkbox]::after {
    position: absolute;
    display: block;
    content: "";
}
.product-upsells .product-info-r [type=checkbox]::before {
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border: 1px solid #A5C592;
    border-radius: 4px;
}
.product-upsells .product-info-r [type=checkbox]::after {
    top: 13px;
    left: 10px;
    width: 20px;
    height: 10px;
    border-bottom: 3px solid #A5C592;
    border-left: 3px solid #A5C592;
    transform: rotate(-45deg);
    transition: opacity 0.3s;
    opacity: 0;
}
.product-upsells .product-info-r [type=checkbox]:checked::after {
    opacity: 1;
}

.product-upsells .product-info-r label {
    margin-left: 40px;
    color: #ddd;
    font-size: 30px;
    font-weight: 700;
}

.buy-set.loading{
    position: relative;
    background-color: #A5C592;
    color: #A5C592;
}

.buy-set.loading span {
    border-color: transparent;
}

.buy-set.loading:before {
    color: #fff;
    content: "\e011";
    font-family: "icons";
    position: absolute;
    top: 72%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: spin 1000ms linear infinite;
    animation: spin 1000ms linear infinite;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    margin-left: -25%;
    margin-top: -9%;
    width: 50%;
    height: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media screen and (max-width: 640px) {
    .product-page .product-info {
        display: flex;
        width: 100%;
        max-width: 50%;
        padding-top: 0;
    }
    .product-upsells .price .current-price {
        font-size: 12px;
        font-weight: 700;
        font-family: Futura PT;
        color: #F84147;
    }
    .product-upsells .price .old-price {
        text-decoration: line-through;
        color: #47494B;
        margin-left: 10px;
        font-size: 10px;
        font-weight: 450;
        font-family: Futura PT;
    }
    .total-price-block-upsells {
        text-align: center;
        display: block;
        justify-content: space-between;
        align-items: center;
    }
    .product-upsells {
        margin-bottom: 43px;
        margin-left: -15px;
        margin-right: -15px;
    }
    .product-upsells h1 {
        font-size: 18px;
        font-weight: 400;
        font-family: Futura PT;
        margin-bottom: 15px;
        margin-left: 15px;
    }
}
@media screen and (max-width: 900px) {
    .product-upsells-image {
        width: 61px;
        height: 61px;
        background-size: cover;
        background-position: center;
    }
}
@media screen and (max-width: 1300px) {
    .product-page .product-info {
        display: flex;
        width: 100%;
        max-width: 50%;
    }

}