.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 40%;
    max-width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Header */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.popup-title-success {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    background: #89fb7d;
    padding: 10px;
    border-radius: 9px;
    padding: 6px 23px;
}

.close-popup {
    background: none;
    border: none;
    font-size: 26px;
    color: #999;
    cursor: pointer;
    margin-right: -26px;
    margin-top: -25px;
}

.popup-header button:hover{
     background: none;
}

/* Body */
.popup-body {
    display: flex;
    gap: 15px;
}

.popup-product {
    display: flex;
    gap: 15px;
}

.popup-product-image {
    width: 190px;
    height: fit-content;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.popup-product-details {
    display: flex;
    flex-direction: column;
}

.popup-product-title {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #1c1c1c;
}

.popup-product-price {
    font-size: 17px;
    color: #000000;
    font-weight: 600;
    margin-bottom: 0px;
}

.popup-product-quantity {
    font-size: 14px;
    color: #333;
    margin-top: 5px;
}

.popup-product-quantity input {
    width: 90px;
    padding: 5px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ddd;
    text-align: center;
    margin-left: 10px;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    height: 35px;
    width: 177px;
}

.quantity-wrapper .quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    padding: 5px 0;
    margin: 0;
    outline: none;
    appearance: textfield;
}

.quantity-wrapper .quantity-input::-webkit-outer-spin-button,
.quantity-wrapper .quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-wrapper button {
    background-color: #fff;
    border: none;
    color: #000;
    width: 35px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quantity-wrapper button:hover {
    background-color: #f0f0f0;
}

.quantity-wrapper .decrement-qty {
    border-right: 1px solid #ddd;
}

.quantity-wrapper .increment-qty {
    border-left: 1px solid #ddd;
}


/* Footer */
.popup-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.popup-footer button, .popup-footer a {
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--site-primary-button-bg);
    color: var(--site-primary-button-color);
    text-transform: capitalize;
    font-family: inherit;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 1rem 2rem 0.9375rem;
    text-transform: uppercase;
    border-radius: var(--site-button-radius);
    cursor: pointer;
    text-align: center;
}

.popup-footer button:hover, .popup-footer a:hover {
    background-color: var(--site-secondary-button-bg);
    color: var(--site-secondary-button-color);
    border-color: var(--site-secondary-button-bg);
}

/* Animations */
@keyframes popup-slide-down {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1800px) { 
    .popup-content {
        width: 50%; 
    }
}

@media (max-width: 1500px) { 
    .popup-content {
        width: 60%; 
    }
}

@media (max-width: 1300px) { 
    .popup-content {
        width: 70%; 
    }
}


@media (max-width: 1200px) {
    .popup-content {
        width: 80%;
    }
}

@media (max-width: 900px) {
    .popup-content {
        width: 90%;
    }
}


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

    .popup-overlay {
        align-items: baseline;
    }

    .popup-content {
        width: 100%; 
        max-width: 98%;
        margin-top: 100px;
    }

    .popup-footer {
        display: block;
    }

    .popup-footer button, .popup-footer a {
        width: 100%;
        margin-top: 6px;
        text-align: center;
    }
}




/* end pop up css */


p {
    margin-bottom: 0px !important;
    line-height: 1.225 !important;
}

.archive .products .woocommerce-de_price_taxrate {
    margin-top: -0.4rem !important;
}


.woocommerce-checkout-review-order .woocommerce-terms-and-conditions-checkbox-text {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--site-heading-color);
}

.woocommerce-checkout-review-order #terms{
    margin-bottom:auto;
}

#order_review > p:nth-child(9) {
    margin-bottom:15px !important;
}

.wl-cart-overview .shop_table_responsive td{
        text-align: end !important;
}

.quantity.buttons_added {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
/*    max-width: 120px;*/
    font-family: Arial, sans-serif;
}

.quantity .minus,
.quantity .plus {
    background-color: #fff;
    color: #000;
    border: none;
    width: 35px;
    height: 35px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.quantity .minus:hover,
.quantity .plus:hover {
    background-color: #f0f0f0; /* Ngjyrë kur kaloni mbi buton */
}

.quantity input.input-text.qty.text {
    text-align: center;
    font-size: 16px;
    border: none !important;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 0;
    outline: none; /* Hiq fokusin e jashtëm */
    appearance: textfield; /* Hiq shigjetat */
}
.quantity .qty-button {
    display: none; /* Hide unused custom buttons unless needed */
}

@media (max-width: 600px) {
    .quantity .minus,
    .quantity .plus,
    .quantity input.input-text.qty.text {
        width: 100%;
    }

    ul.products .product .product-item .nova_product_quick_view_btn {
        opacity: 1 !important;
    }

    .quantity.buttons_added {
        max-width: 200px;
    }
}


.wl.woocommerce-cart .wl-cart-items-classic td.actions .wl-cic-actions .coupon {
    display: flex !important;
}


.shopping_cart_pop_up .elementor-menu-cart__main {
    width: 693px !important;
}

.shopping_cart_pop_up img {
    width: 100px;
}

.shopping_cart_pop_up .elementor-menu-cart__footer-buttons {
    display: flex;
    justify-content: space-between;
}

.shopping_cart_pop_up .elementor-menu-cart__footer-buttons a{
    width: 100%  !important;
}

.shopping_cart_pop_up .elementor-menu-cart__footer-buttons .elementor-button--checkout {
    background: #000  !important;
    color:#fff  !important;
    border: 2px solid #000 !important;
}

.shopping_cart_pop_up .elementor-menu-cart__footer-buttons .elementor-button--view-cart {
    background: #fff !important;
    border: 2px solid #000 !important;
    color: var(--site-secondary-button-color) !important;
}

.shopping_cart_pop_up .elementor-menu-cart__subtotal{
    display: flex;
    justify-content: space-between;
}


.nova-login-wrapper .form-actions.extra a:before {
    background-color: #ffffff00 !important;
}

.nova-login-wrapper .form-actions.extra {
    justify-content: left !important;
    margin-top: 8px !important;
}

.nova-login-wrapper .form-actions .woocommerce-LostPassword a:before {
    background-color: #ffffff00 !important;
}

.products .woocommerce-de_price_taxrate, .products .woocommerce_de_versandkosten, .legacy-itemprop-offers .woocommerce_de_versandkosten,
 .elementor-menu-cart__product-price .woocommerce-de_price_taxrate, .product-subtotal .wgm-tax{
    display: none !important;
}

.woocommerce_de_versandkosten {
    display: none;
}

.single-product .shipping_de.shipping_de_string {
      display: none;
}

.mailpoet_form_columns_container{
    margin-top: 25px !important;
}

#nova_wc_quickview .nova_wc_quickview__content .site-content .product .yith-wcwl-add-button {
    text-align: initial !important;
    line-height: 1.8rem !important;
}

.added_to_cart{
    margin-left: 25px;
}

.wl-cart-items-classic .button.wl-cic-coupon-button {
   width: 300px;
}


.wl-cart-overview{
    border: 1px solid #000;
    padding: 10px;
}

