.popup-bg {
    background: rgba(38, 38, 38, 0.9);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 50;
    width: 100%;
    height: 100%;
    display: none;
}
.popup-bg.active {
    display: block;
}
.popup-bg .product-popup {
    width: 1000px;
    padding: 48px 80px 48px 48px;
    background-color: #ffffff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    border-radius: 24px;
}
@media (max-width: 1024px) {
    .popup-bg .product-popup {
        width: 90%;
    }
}
@media (max-width: 768px) {
    .popup-bg .product-popup {
        flex-direction: column;
        height: 100vh;
        width: 100%;
        border-radius: 0;
        padding: 16px 16px 20px 16px;
        overflow-y: auto;
        justify-content: flex-start;
    }
}
.popup-bg .product-popup .product-image {
    width: 370px;
    height: 454px;
    border-radius: 16px;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .popup-bg .product-popup .product-image {
        width: 35%;
    }
}
@media (max-width: 768px) {
    .popup-bg .product-popup .product-image {
        width: 100%;
        height: 320px;
        overflow: visible;
    }
}
.popup-bg .product-popup .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {
    .popup-bg .product-popup .product-image img {
        border-radius: 16px;
    }
}
.popup-bg .product-popup .product-info {
    width: 438px;
}
@media (max-width: 1024px) {
    .popup-bg .product-popup .product-info {
        width: 60%;
    }
}
@media (max-width: 768px) {
    .popup-bg .product-popup .product-info {
        width: 100%;
        margin-top: 16px;
    }
}
.popup-bg .product-popup .product-info .product-title {
    color: #262626;
    font-family: "Inter";
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: -0.52px;
}
@media (max-width: 768px) {
    .popup-bg .product-popup .product-info .product-title {
        font-size: 20px;
        line-height: 28px;
        letter-spacing: -0.4px;
    }
}
.popup-bg .product-popup .product-info .additional-information {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.popup-bg .product-popup .product-info .additional-information .strength {
    color: #262626;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.14px;
}
.popup-bg .product-popup .product-info .additional-information .strength span {
    color: #262626;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.12px;
    padding: 2px 6px;
    border-radius: 16px;
    margin-left: 8px;
}
.popup-bg .product-popup .product-info .additional-information .strength.light span {
    background-color: #A3CB4D;
}
.popup-bg .product-popup .product-info .additional-information .strength.medium span {
    background-color: #AFA6D0;
}
.popup-bg .product-popup .product-info .additional-information .strength.strong span {
    background-color: #E96767;
}
.popup-bg .product-popup .product-info .additional-information .article {
    color: rgba(38, 38, 38, 0.7);
    font-family: Inter;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.13px;
}
.popup-bg .product-popup .product-info .price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}
.popup-bg .product-popup .product-info .price .original-price {
    color: #305339;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: -0.36px;
}
.popup-bg .product-popup .product-info .price .sales-price {
    color: rgba(38, 38, 38, 0.5);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.14px;
    text-decoration-line: line-through;
}
.popup-bg .product-popup .product-info .product-desc {
    color: #262626;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.28px;
}
@media (max-width: 768px) {
    .popup-bg .product-popup .product-info .product-desc {
        margin-top: 16px;
    }
}
.popup-bg .product-popup .product-info .shipping-payment {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(38, 38, 38, 0.16);
    display: flex;
    justify-content: space-between;
}
.popup-bg .product-popup .product-info .shipping-payment .shipping-methods p {
    color: #262626;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.14px;
}
.popup-bg .product-popup .product-info .shipping-payment .shipping-methods-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.popup-bg .product-popup .product-info .shipping-payment .shipping-methods-list .item {
    padding: 0 10px 0 12px;
    border-radius: 8px;
    border: 1px solid rgba(38, 38, 38, 0.1);
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 131px;
    height: 44px;
    margin-top: 8px;
}
.popup-bg .product-popup .product-info .shipping-payment .shipping-methods-list .item p {
    color: #262626;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.14px;
    margin-bottom: 0;
}
.popup-bg .product-popup .product-info .shipping-payment .shipping-methods-list .item img {
    width: 20px;
}
.popup-bg .product-popup .product-info .payment-methods p {
    color: #262626;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.14px;
}
.popup-bg .product-popup .product-info .payment-methods-list {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}
.popup-bg .product-popup .product-info .payment-methods-list .item {
    width: 56px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border: 1px solid rgba(38, 38, 38, 0.1);
    background: #ffffff;
}
.popup-bg .product-popup .product-info .buy-product {
    margin-top: 56px;
    display: flex;
    gap: 12px;
}
.popup-bg .product-popup .product-info .buy-product .buy-btn {
    font-family: "Inter";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: -0.36px;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    padding: 19px 40px;
    background-color: #262626;
    border-radius: 32px;
    flex-grow: 1;
    text-align: center;
}
.popup-bg .product-popup .product-info .buy-product .add-to-cart {
    background-color: transparent;
    width: 64px;
    height: 64px;
    border-radius: 32px;
    border: 1px solid #305339;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup-bg .product-popup .product-info .buy-product .add-to-cart img:nth-child(2) {
    display: none;
}
.popup-bg .product-popup .product-info .buy-product .add-to-cart.added {
    background-color: #305339;
}
.popup-bg .product-popup .product-info .buy-product .add-to-cart.added img:nth-child(1) {
    display: none;
}
.popup-bg .product-popup .product-info .buy-product .add-to-cart.added img:nth-child(2) {
    display: block;
}
.popup-bg .product-popup .product-info .buy-product .added_to_cart {
    display: none;
}
.popup-bg .product-popup .close-popup {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: rgba(38, 38, 38, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 16px;
    top: 16px;
    cursor: pointer;
}
@media (max-width: 768px) {
    .popup-bg .product-popup .close-popup {
        top: 32px;
        right: 32px;
        background-color: rgba(255, 255, 255, 0.8);
    }
}