@media (prefers-reduced-motion: no-preference) {
    @media (prefers-reduced-motion: no-preference) {
        @media (min-width: 769px) {
            .page-title, .checkout-page .page-title {
                margin: 0 0 20px 0;
                border-bottom: none !important;
                text-align: center;
                overflow: hidden;
                background: none;
                margin-top: -60px;
            }
        }
    }
}
.wishlist-add-to-cart-button {
    color: #fff;
    background-color: #008000;
    padding: 10px;
    font-size: 14px;
    border: none;
    width: stretch;
}
@media (prefers-reduced-motion: no-preference) {
    @media (prefers-reduced-motion: no-preference) {
        .no-data {
            text-align: center;
            margin-top: -20px;
            font-size: 13px;
            color: #666;
            background: #f6f6f6 !important;
            height: 100px !important;
            padding: 20px !important;
        }
    }
}

.page-title h1 {
    font-size: 34px !important;
    text-transform: uppercase !important;
}


.tab-add-new-tab-button {
    margin-top: 10px;
}

.tab-add-new-tab {
    margin-bottom: -10px;
    padding-top: 29px;
}

.wishlist-tabs {
    margin: 20px 0;
    position: relative;
}



    .wishlist-tabs .tabs {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        position: relative;
    }

    .wishlist-tabs .tab span {
        color: #007ba4;
    }

    .wishlist-tabs .tab {
        margin-right: 10px;
        position: relative;
    }

        .wishlist-tabs .tab a {
            display: block;
            padding: 10px 15px;
            text-decoration: none;
            color: #007ba4;
            border: 3px solid #f6f6f6;
            border-bottom: none;
            margin-bottom: -1px;
            position: relative;
            z-index: 1;
        }

        .wishlist-tabs .tab.active {
            z-index: 10;
        }

            .wishlist-tabs .tab.active a {
                background: #f6f6f6;
                color: #007ba4;
                z-index: 11;
            }

    .wishlist-tabs .add-new-tab a {
        color: #007ba4;
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.wishlist-item-ids {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}

.wishlist-tabs .tab a .delete-tab {
    margin-left: 5px;
    color: #999;
    font-size: 12px;
    cursor: pointer;
}

    .wishlist-tabs .tab a .delete-tab:hover {
        color: #ff0000;
    }

.copy-to-wishlist {
    text-align: center;
}

.copy-to-wishlist-select {
    width: 100%;
    margin-bottom: 5px;
}

/* Overlay */
#wishlist-popup {
    position: fixed;
    inset: 0;
    display: none; /* wordt via JS op block/flex gezet */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn 0.2s ease-out;
}

    /* Modal Card */
    #wishlist-popup .popup-content {
        width: 100%;
        max-width: 480px;
        border-radius: 16px;
        padding: 32px;
        position: relative;
        animation: slideUp 0.25s ease-out;
    }

    /* Title */
    #wishlist-popup h1 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 10px;
        text-align: center;
    }

    #wishlist-popup h3 {
        font-size: 22px;
        font-weight: 500;
        margin-bottom: 20px;
        color: #007ba4;
        text-align: center;
    }

/* Wishlist options */
#wishlist-tabs-container {
    margin-bottom: 20px;
}

/* Radio section */
.new-wishlist-option {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

    .new-wishlist-option input[type="radio"] {
        accent-color: #2563eb;
        transform: scale(1.1);
        cursor: pointer;
    }

    .new-wishlist-option label {
        font-size: 14px;
        cursor: pointer;
    }

/* Input */
#new-wishlist-name {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.2s ease;
}

    #new-wishlist-name:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

/* Buttons */
.button-AddNewUserWishlist-Send,
.button-AddNewUserWishlist-Cancel {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

/* Primary button */
.button-AddNewUserWishlist-Send {
    background: #007ba4;
    color: #fff;
    margin-bottom: 10px;
}

    .button-AddNewUserWishlist-Send:hover {
        background: #e5e7eb;
        transform: translateY(-1px);
    }

/* Secondary button */
.button-AddNewUserWishlist-Cancel {
    background: #f3f4f6;
    color: #333;
}

    .button-AddNewUserWishlist-Cancel:hover {
        background: #e5e7eb;
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.copy-to-wishlist-button {
    padding: 3px 8px;
    font-size: 12px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    /* Mobile touch improvements */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    /* Center the modal */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Responsive improvements */
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    /* Better touch target for mobile */
    padding: 0 8px 8px 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -10px -10px 0 0;
}

    .close-modal:hover,
    .close-modal:focus {
        color: black;
        text-decoration: none;
    }

.modal-content h3 {
    color: #007ba4;
    margin-bottom: 10px;
}

.modal-content label {
    color: #818181;
    margin-bottom: 10px;
}

.button-create-wishlist {
    color: #fff;
    background-color: #007ba4;
    padding: 10px;
    border: none;
}

/* Tablet (768px and below) */
@media screen and (max-width: 768px) {
    .modal-content {
        width: 85%;
        padding: 15px;
        margin: 0 10px;
    }

    .close-modal {
        font-size: 24px;
    }
}

/* Mobile (480px and below) */
@media screen and (max-width: 480px) {
    .modal {
        /* Ensure modal covers entire screen on mobile */
        width: 100vw;
        height: 100vh;
    }

    .modal-content {
        width: 90%;
        padding: 15px;
        margin: 0 10px;
        max-height: 85vh;
        border-radius: 8px;
    }

    .close-modal {
        font-size: 22px;
        padding: 0 6px 6px 6px;
        margin: -8px -8px 0 0;
    }

    /* Prevent content shifting when modal is open */
    body.modal-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Small Mobile (360px and below) */
@media screen and (max-width: 360px) {
    .modal-content {
        width: 95%;
        padding: 12px;
        border-radius: 6px;
    }

    .close-modal {
        font-size: 20px;
        min-width: 40px;
        min-height: 40px;
    }
}

/* Landscape mode on mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .modal-content {
        max-height: 80vh;
        max-width: 90%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Tablet landscape optimization */
@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .modal-content {
        width: 70%;
        max-width: 600px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .modal-content {
        border-width: 0.5px;
    }
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}



.advisor-info-box {
    background: #f6f6f6;
    border-radius: 5px;
    margin-top: 260px;
    height: 50%;
    padding: 15px;
    margin-bottom: 20px;
}


.advisor-title {
    color: #007ba4;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.advisor-details div {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.advisor-details i {
    width: 20px;
    color: #6c757d;
    margin-right: 10px;
}

.advisor-details a {
    color: #495057;
    text-decoration: none;
}

    .advisor-details a:hover {
        color: #4ab2f1;
    }


.totals {
    padding: 15px;
    background: #f6f6f6;
    border-radius: 5px;
    width: 100% !important;
}

.savings-label {
    font-weight: b;
    color: #4ab2f1;
}

.savings-amount {
    font-size: 1.2rem;
    color: #28a745;
    margin-top: 5px;
}

.tab-total-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #007ba4;
}

.Tab-delete-button {
    position: relative;
    right: -8px;
    top: -8px;
    z-index: 100;
}

.delete-tab {
    color: rgb(255, 255, 255) !important;
    background: #007ba4;
    padding-left: 3px;
    padding-right: 3px;
    height: 16px;
    width: 16px;
    display: inline-block;
    text-align: center;
    line-height: 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.download-pdf-btn {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

@media all {

    .cartmessage {
        margin-top: 10px;
        float: right;
        width: 100% !important;
        margin-right: 8px;
    }

        .cartmessage .orange {
            color: white;
            background-color: #ffc299;
            border-left: 6px solid #ff6600;
            padding: 13px 50px 13px 20px;
            margin-bottom: 10px;
            border-radius: 2px 0 0 2px;
        }

        /* normaal */
        .cartmessage .black {
            color: white;
            background-color: #7f7f7f;
            border-left: 6px solid black;
            padding: 13px 50px 13px 20px;
            margin-bottom: 10px;
            border-radius: 2px 0 0 2px;
        }

        .cartmessage .green {
            color: white;
            background-color: #bcde9c;
            border-left: 6px solid #57ac07;
            padding: 13px 50px 13px 20px;
            margin-bottom: 10px;
            border-radius: 2px 0 0 2px;
        }



        /* black friday*/
        .cartmessage .black {
            color: white;
            background-color: black;
            border-left: 6px solid red;
            padding: 13px 50px 13px 20px;
            margin-bottom: 10px;
            border-radius: 2px 0 0 2px;
        }

        .cartmessage .green {
            color: white;
            background-color: red;
            border-left: 6px solid black;
            padding: 13px 50px 13px 20px;
            margin-bottom: 10px;
            border-radius: 2px 0 0 2px;
        }

        .cartmessage .blue {
            color: white;
            background-color: #99cadb;
            border-left: 6px solid #007ba4;
            padding: 13px 50px 13px 20px;
            margin-bottom: 10px;
            border-radius: 2px 0 0 2px;
        }
}

@media (max-width: 768px) {

    .cartmessage {
        float: none;
        width: 100%;
        margin-right: 8px;
        padding-left: 10px;
        padding-right: 10px;
    }
}


@media (prefers-reduced-motion: no-preference) {
    @media (prefers-reduced-motion: no-preference) {
        .copy-to-wishlist-button {
            padding: 3px 8px;
            font-size: 12px;
            border-color: #007ba4;
            background: #ffffff !important;
        }
    }
}

@media (prefers-reduced-motion: no-preference) {
    @media (prefers-reduced-motion: no-preference) {
        @media (min-width: 1025px) {
            .order-summary-content .table-wrapper, .wishlist-content .table-wrapper {
                margin-top: -20px !important;
            }
        }
    }
}

@media (prefers-reduced-motion: no-preference) {
    @media (prefers-reduced-motion: no-preference) {
        @media (max-width: 1024px) {
            .wishlist-content .table-wrapper {
                margin-top: -20px !important;
            }
        }
    }
}

@media (prefers-reduced-motion: no-preference) {
    @media (prefers-reduced-motion: no-preference) {
        .buttons .button-1, .buttons .button-2, .notify-me-button {
            padding: 13px 35px;
            border: 0;
            background: #ffffff !important;
            text-transform: uppercase;
            font-weight: bold;
            font-size: 14px;
            color: #fff;
            width: 100% !important;
        }
    }
}
