.yith-wcwl-add-button {
    background-color: transparent!important;
}
.yith-wcwl-pp-modal div.pp_content_container {
    /*border-bottom-left-radius: unset;*/
    /*border-bottom-right-radius: unset;*/
    border-radius: unset;
    padding: 64px 72px;
}
div.pp_overlay {
    width: 100% !important;
}

.add-new-prescription-title {
    white-space: nowrap;
}
.yith-wcwl-pp-modal div.pp_content_container .pp_content {
    /*min-width: 500px;*/
    width: auto !important;
}
.yith-wcwl-pp-modal {
    width: auto !important;
}
div.pp_woocommerce .pp_close {
    top: 42px;
    border-radius: 0px;
    right: 80px;
    text-shadow: none;
    background-color: transparent;
    box-shadow: none;
}
div.pp_woocommerce .pp_close:hover {
    background-color: transparent;
    box-shadow: none;
    text-shadow: none;
}
div.pp_woocommerce .pp_close::before {
    background: url('../icons/icon-close.svg') center;
    width: 40px;
    height: 40px;
    content: "";
    background-size: contain;
}

.yith-wcwl-popup-content .wishlist-select {
    height: 56px;
}

.yith-wcwl-popup-content .confirmation-text {
    text-align: center;
}

.yith-wcwl-popup-feedback, .yith-wcwl-popup-feedback p.feedback {
    font-family: Gravity, serif;
    font-size: 20px;
    line-height: 28px;
    font-weight: 350;
}
.yith-wcwl-pp-modal div.pp_content_container .heading-icon {
    color: #000000;
}

.yith-wcwl-popup-content .ds-input {
    position: relative;
    display: inline-block;
    width: 100%;
}
.yith-wcwl-popup-content .ds-input .select2-container:has(.select2-dropdown) {
    top: 55px !important;
}
.yith-wcwl-popup-content .ds-input .wishlist-select{
    appearance: none;
    -webkit-appearance: none;   /* iOS Safari */
    -moz-appearance: none;
    background-color: #ffffff;
    border: 1px solid #79747E;
    border-radius: 0;
    padding: 10px 40px 10px 12px;
    width: 100%;
    line-height: 1.3;
    font: inherit;
    color: inherit;
    background-image: none;
    outline: none;
}

.yith-wcwl-popup-content .ds-input .wishlist-select::-ms-expand {
    display: none;
}

.yith-wcwl-popup-content:not(.yith-wcwl-popup-content-add-new-prescription) .ds-input::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%) rotate(0);
    transition: transform .2s ease;
    background: no-repeat center/contain url("../icons/icon-dropdown-black.svg");
    pointer-events: none;
}

.yith-wcwl-popup-content .add-new-prescription-wrap .ds-input::after,
.yith-wcwl-popup-content .ds-input.wishlist-new-wrap::after {
    background: none;
}

.yith-wcwl-popup-content .ds-input:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

.yith-wcwl-popup-content .ds-input .wishlist-select:focus {
    box-shadow: 0 0 0 3px rgba(0, 112, 243, .25);
}

.yith-wcwl-pp-modal.feedback .pp_close {
    transition: unset !important;
    top: 10px;
    right: 25px;
}

.new-prescription-variation-attributes {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 35px;
}


.yith-wcwl-popup-content .product-bundle {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 145px));
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 32px;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

.yith-wcwl-popup-content .product-bundle .item {
    border: 1px solid #CCCCCC;
    transition: border-color 0.3s;
    width: 132px;
    height: 132px;
}

.yith-wcwl-popup-content .product-bundle .item.current {
    border: 2px solid #BFA671
}

.yith-wcwl-popup-content .product-bundle-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.yith-wcwl-popup-content .product-bundle-image {
    margin-bottom: 10px;
    width: 72px;
    height: 72px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.yith-wcwl-popup-content .product-bundle-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.yith-wcwl-popup-content .product-bundle-quantity {
    color: #808080;
}

.yith-wcwl-popup-content .product-bundle-price {
    font-size: 16px;
    font-weight: 500;
}

.yith-wcwl-popup-content .product-details {
    display: flex;
    align-items: center;
    gap: 0 3px;
    font-family: Gravity;
    font-weight: 350;
    margin-bottom: 4px;
}

.yith-wcwl-popup-content .product-type-label {
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yith-wcwl-popup-content .product-bundle .product-type-label {
    font-size: 16px;
}

.yith-wcwl-popup-content .product-bundle-price:has(.old-price-without-discount) .d-fx-row > .woocommerce-Price-amount {
    color: #292929;
    font-weight: 500;
    font-family: Urbanist;
    font-size: 20px;
}

.yith-wcwl-popup-content .product-bundle .item[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}

.yith-wcwl-popup-content .product-bundle .item[disabled] .product-bundle-link {
    cursor: not-allowed;
    pointer-events: none;
}

.yith-wcwl-popup-content .product-bundle-price .d-fx-row .old-price-without-discount .woocommerce-Price-amount {
    color: #808080;
    font-weight: 350;
    font-family: Gravity;
    font-size: 16px;
}

/* Color circles for wishlist variation selects using ::before */
/* For selected value - on .select2-selection__rendered */
.yith-wcwl-popup-content .wishlist-variation-select + .select2-container .select2-selection__rendered[data-color]::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
    background-color: var(--wishlist-color);
}

/* For dropdown options - on span inside .select2-results__option (from templateResult) */
.yith-wcwl-popup-content .select2-results__option span[data-color]::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
    background-color: var(--wishlist-color);
}

@media (max-width: 768px) {
    .yith-wcwl-popup-content .product-bundle {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }

    .yith-wcwl-popup-content .product-bundle .item {
        width: 100%;
        max-width: 145px;
    }
}

@media (max-width: 850px) {
    .gro_mobile_overlay {
        position: absolute;
        z-index: 999999;
        backdrop-filter: blur(8px);
        background: #0000004D;
    }

    #gro_mobile_modal {
        position: absolute;
        left: 0;
        right: 0;
        background-color: #fff;
        z-index: 1000000;
        border-top-left-radius: 32px;
        border-top-right-radius: 32px;
        padding: 50px 20px;
    }

    .gro_mobile_close {
        position:absolute;
        top:10px;
        right:10px;
        text-align:center;
        cursor:pointer;
        font-size:24px;
        color:transparent;
        background: url('../icons/icon-close.svg') center;
        width: 40px;
        height: 40px;
        background-size: contain;
    }

    .yith-wcwl-popup-content .add-new-prescription-text {
        margin-bottom: 32px;
        font-size: 14px;
    }

    .yith-wcwl-pp-modal div.pp_content_container {
        min-width: 340px;
    }

    #pp_full_res .ds-modal-head-icon img {
        width: 32px !important;
    }

    div.pp_woocommerce {
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .pp_pic_holder.pp_default {
        width: 100% !important;
        margin-top: -100px !important;
        left: 0 !important;
        overflow: hidden;
    }

    div.pp_default .pp_content_container .pp_left {
        padding-left: 0 !important;
    }

    div.pp_default .pp_content_container .pp_right {
        padding-right: 0 !important;
    }

    .pp_content {
        width: 100% !important;
        height: auto !important;
    }

    .pp_fade {
        width: 100% !important;
        height: 100% !important;
    }

    a.pp_expand,
    a.pp_contract,
    .pp_hoverContainer,
    .pp_gallery,
    .pp_top,
    .pp_bottom {
        display: none !important;
    }

    #pp_full_res img {
        width: 100% !important;
        height: auto !important;
    }

    .pp_details {
        box-sizing: border-box;
        width: 100% !important;
        padding-left: 3%;
        padding-right: 4%;
        padding-top: 10px;
        padding-bottom: 10px;
        background-color: #fff;
        margin-top: -2px !important;
    }

    a.pp_close {
        right: 10px !important;
        top: 10px !important;
    }

    .yith-wcwl-pp-modal {
        width: 100% !important;
    }
    div.pp_woocommerce {
        width: 100% !important;
    }
}
