/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/

/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/

/* --------------------------------------------------
 * CUSTOM ADDRESS BOOK & UNIFIED FORM STYLES
 * High Specificity Version
 * -------------------------------------------------- */

/* Address Grid */
.custom-address-book-container {
    margin: 20px 0;
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.address-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    padding: 15px;
    position: relative;
    transition: all 0.2s;
}

.address-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: #ebb71a;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 8px;
}

.card-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.bireysel {
    background: #e3f2fd;
    color: #1976d2;
}

.badge.kurumsal {
    background: #fff3e0;
    color: #f57c00;
}

.card-body p {
    margin: 0 0 5px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.card-body strong {
    color: #333;
}

.card-body .phone {
    font-weight: 500;
}

.card-body hr {
    margin: 8px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.card-actions button {
    flex: 1;
    padding: 6px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
}

.btn-edit-address {
    color: #ebb71a;
    border-color: #ebb71a !important;
}

.btn-edit-address:hover {
    background: #ebb71a;
    color: #fff;
}

.btn-delete-address {
    color: #d32f2f;
    border-color: #ef9a9a !important;
}

.btn-delete-address:hover {
    background: #d32f2f;
    color: #fff;
}


/* Unified Modal Styles - WITH ID SELECTORS FOR SPECIFICITY */
#custom-address-modal.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999 !important;
    /* Force top */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(3px);
}

#custom-address-modal .custom-modal-content {
    background: #fff;
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

#custom-address-modal .close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    z-index: 10;
}

#custom-address-modal .close-modal:hover {
    color: #333;
}

#custom-address-modal h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

#custom-address-modal .section-title {
    font-size: 13px;
    font-weight: 700;
    color: #ccc;
    margin: 25px 0 10px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Invoice Type Toggle */
#custom-address-modal .invoice-type-toggle {
    display: flex;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 25px;
}

#custom-address-modal .type-option {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #777;
    border-radius: 6px;
    transition: all 0.2s;
    position: relative;
}

#custom-address-modal .type-option input {
    opacity: 0;
    position: absolute;
}

#custom-address-modal .type-option.active {
    background: #fff;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Form Fields */
#custom-address-modal .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

/* 2-Column Layout Logic - Force with ID */
#custom-address-modal .form-row .col-6 {
    width: calc(50% - 8px) !important;
    flex: 0 0 calc(50% - 8px);
}

#custom-address-modal .form-row .col-12 {
    width: 100% !important;
    flex: 0 0 100%;
}

/* HIDE LABELS inside modal - ULTRA SPECIFIC */
body #custom-address-modal .custom-modal-content .form-row label {
    display: none !important;
}

#custom-address-modal .form-row input,
#custom-address-modal .form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    transition: all 0.2s;
}

#custom-address-modal .form-row input:focus,
#custom-address-modal .form-row textarea:focus {
    border-color: #ebb71a;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(235, 183, 26, 0.1);
}

#custom-address-modal .form-row input::placeholder,
#custom-address-modal .form-row textarea::placeholder {
    color: #aaa;
}

#custom-address-modal .btn-save-full {
    display: block;
    width: 100%;
    background: #ebb71a;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 25px;
    transition: background 0.2s;
}

#custom-address-modal .btn-save-full:hover {
    background: #d4a012;
    color: #fff;
}

@media(max-width: 600px) {
    #custom-address-modal .form-row .col-6 {
        width: 100% !important;
        flex: 0 0 100%;
    }

    /* Stack on mobile */
    .address-grid {
        grid-template-columns: 1fr;
    }
}


/* --------------------------------------------------
 * LOGIN REDESIGN STYLES - PREMIUM POLISH W/ OVERRIDES
 * -------------------------------------------------- */

/* Use ID for higher specificity if available, or force with body logic to override theme */
body .nasa-login-form form.login {
    border: none !important;
    padding: 40px !important;
    margin: 30px auto !important;
    max-width: 480px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Header Area */
body .nasa-login-header {
    text-align: center !important;
    margin-bottom: 40px !important;
    position: relative !important;
}

body .nasa-login-header h3.nasa-form-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
    color: #1a1a1a !important;
    border: none !important;
    letter-spacing: -0.5px !important;
    text-transform: none !important;
    line-height: 1.2 !important;
}

body .nasa-switch-form-top {
    font-size: 15px !important;
    color: #777 !important;
    margin: 0 !important;
    font-weight: 400 !important;
}

body .nasa-switch-form-top a {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-left: 6px !important;
    border-bottom: 2px solid #ebb71a !important;
    transition: all 0.2s ease !important;
}

body .nasa-switch-form-top a:hover {
    color: #ebb71a !important;
    background: rgba(235, 183, 26, 0.05) !important;
}

/* Form Structure */
body .nasa-login-form .form-row {
    margin-bottom: 24px !important;
}

/* Custom Input Styling */
body .nasa-login-form .form-row input.input-text {
    width: 100% !important;
    padding: 18px 22px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    background-color: #f8f9fa !important;
    border: 2px solid #f8f9fa !important;
    border-radius: 12px !important;
    color: #333 !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: none !important;
}

body .nasa-login-form .form-row input.input-text:hover {
    background-color: #fff !important;
    border-color: #e9ecef !important;
}

body .nasa-login-form .form-row input.input-text:focus {
    background-color: #fff !important;
    border-color: #ebb71a !important;
    box-shadow: 0 8px 30px rgba(235, 183, 26, 0.12) !important;
    transform: translateY(-2px);
}

body .nasa-login-form .form-row input.input-text::placeholder {
    color: #adb5bd !important;
    font-weight: 400 !important;
}

/* Hide labels cleanly */
body .nasa-login-form .form-row>label {
    display: none !important;
}

/* Remember Me Checkbox */
body .nasa-login-form .remember-me-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    /* Force Left */
    margin-bottom: 25px !important;
    margin-top: 15px !important;
    padding-left: 0 !important;
    width: 100% !important;
    text-align: left !important;
}

body .nasa-login-form .remember-me-row label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    color: #666 !important;
    font-weight: 500 !important;
    margin: 0 !important;
    user-select: none !important;
    text-transform: none !important;
    width: auto !important;
    float: none !important;
    /* Prevent floating issues */
}

/* Custom Checkbox */
body .nasa-login-form input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 6px !important;
    border: 2px solid #e0e0e0 !important;
    background: #fff !important;
    margin: 0 15px 0 0 !important;
    /* Right margin specifically */
    position: relative !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

body .nasa-login-form input[type="checkbox"]:hover {
    border-color: #ebb71a !important;
}

body .nasa-login-form input[type="checkbox"]:checked {
    background-color: #ebb71a !important;
    border-color: #ebb71a !important;
}

body .nasa-login-form input[type="checkbox"]:checked::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 12px !important;
    height: 12px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

/* Primary Button */
body .nasa-login-form button.button[type="submit"] {
    width: 100% !important;
    background: #ebb71a !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 18px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 20px -10px rgba(235, 183, 26, 0.5) !important;
    height: auto !important;
}

body .nasa-login-form button.button[type="submit"]:hover {
    background: #f0bd1f !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px -10px rgba(235, 183, 26, 0.6) !important;
}

body .nasa-login-form button.button[type="submit"]:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px -5px rgba(235, 183, 26, 0.4) !important;
}

/* Lost Password Link */
body .lost-password-row {
    text-align: center !important;
    margin-top: 25px !important;
}

body .lost-password-row a {
    color: #888 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
    position: relative !important;
    padding-bottom: 2px !important;
}

body .lost-password-row a:hover {
    color: #ebb71a !important;
}

/* Hide original switch form */
body .nasa-login-form .nasa-switch-form {
    display: none !important;
}


/* --------------------------------------------------
 * REGISTER FORM STYLES
 * -------------------------------------------------- */

/* Account Type Radio Styling */
body .account-type-selector {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 25px !important;
}

body .radio-container {
    display: block !important;
    position: relative !important;
    padding-left: 35px !important;
    margin-bottom: 12px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    color: #333 !important;
    font-weight: 500 !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    text-transform: none !important;
}

/* Hide the browser's default radio button */
body .radio-container input {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

/* Create a custom radio button */
body .checkmark {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 22px !important;
    width: 22px !important;
    background-color: #fff !important;
    border: 2px solid #ccc !important;
    border-radius: 50% !important;
    transition: all 0.2s !important;
}

/* On mouse-over, add a grey background color */
body .radio-container:hover input~.checkmark {
    border-color: #ebb71a !important;
}

/* When the radio button is checked, add a blue background */
body .radio-container input:checked~.checkmark {
    border-color: #ebb71a !important;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
body .checkmark:after {
    content: "" !important;
    position: absolute !important;
    display: none !important;
}

/* Show the indicator when checked */
body .radio-container input:checked~.checkmark:after {
    display: block !important;
}

/* Style the indicator */
body .radio-container .checkmark:after {
    top: 4px !important;
    left: 4px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #ebb71a !important;
}

/* Contracts & Campaigns Checkboxes */
body .contracts-row,
body .campaigns-row {
    margin-bottom: 15px !important;
}

body .contracts-row label,
body .campaigns-row label {
    display: flex !important;
    align-items: flex-start !important;
    /* Top align for long text */
    gap: 10px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #555 !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

body .contracts-row a {
    color: #1a1a1a !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

body .contracts-row a:hover {
    color: #ebb71a !important;
}

/* Button Color Update for Register (Blue in image, but using site yellow) */
/* The general button style already covers this, but if we wanted blue we could override here. keeping yellow for consistency */

/* Mobile adjustments */
@media (max-width: 600px) {
    body .account-type-selector {
        flex-direction: column !important;
        gap: 10px !important;
    }
}

/* --------------------------------------------------
 * ALIGN ADD TO CART - FINAL HYBRID FIX
 * Combines Pure Flexbox, User Styles, AND Title Correction
 * -------------------------------------------------- */

/* 1. STRUCTURAL FIX - DESKTOP (min-width: 768px) */
@media (min-width: 768px) {

    /* Exclude sliders and related/upsell sections */
    ul.products:not(.slick-slider):not(.owl-carousel):not(.related):not(.upsells):not(.cross-sells),
    .products:not(.slick-slider):not(.owl-carousel):not(.related):not(.upsells):not(.cross-sells),
    .nasa-products-list:not(.slick-slider):not(.owl-carousel) {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: stretch !important;
        /* Force equal height */
    }

    /* Apply forced columns only to the main grid */
    ul.products:not(.slick-slider):not(.owl-carousel):not(.related) li.product,
    .products:not(.slick-slider):not(.owl-carousel):not(.related) .product {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 100% !important;
        float: none !important;
    }

    ul.products:not(.slick-slider):not(.owl-carousel):not(.related) li.product .product-inner,
    ul.products:not(.slick-slider):not(.owl-carousel):not(.related) li.product .col-inner {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        padding-bottom: 0 !important;
    }

    ul.products:not(.slick-slider):not(.owl-carousel):not(.related) li.product .product-info-wrap,
    ul.products:not(.slick-slider):not(.owl-carousel):not(.related) li.product .box-text {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 0 !important;
    }
}

/* 2. MOBILE FIX - PREVENT OVERFLOW & ALIGN (max-width: 767px) */
@media (max-width: 767px) {
    /* REVERTED: Do not force display:flex on ul.products, let theme handle grid (floats/inline-block) */

    /* Wrapper: Stack Quantity and Button */
    .custom-loop-cart-wrapper {
        flex-wrap: wrap !important;
        /* Allow wrapping */
        justify-content: center !important;
        gap: 5px !important;
    }

    /* Quantity: Centered */
    .custom-loop-cart-wrapper .quantity {
        margin-right: 0 !important;
        margin-bottom: 5px !important;
    }

    /* Button: Full Width & Visible Text */
    .custom-loop-cart-wrapper .button,
    .custom-loop-cart-wrapper .added_to_cart {
        width: 100% !important;
        flex: 1 1 100% !important;
        margin-left: 0 !important;
        text-align: center !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    /* Increase Title Height slightly for mobile to ensure alignment */
    ul.products li.product .product-title,
    ul.products li.product .name,
    ul.products li.product h3 {
        min-height: 55px !important;
        /* Slightly taller for safety */
    }
}

/* 1.5. FORCE TITLE HEIGHT - FIXED APPROACH */
ul.products li.product .product-title,
ul.products li.product .name,
ul.products li.product h3,
.products .product .name,
.products .product .product-title {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

/* Force price to also have fixed height */
ul.products li.product .price,
.products .product .price {
    height: 30px !important;
    min-height: 30px !important;
    margin-bottom: 10px !important;
}

/* CRITICAL: Force minimum card height so buttons always align */
ul.products li.product .product-inner,
.products .product .product-inner,
ul.products li.product .col-inner,
.products .product .col-inner {
    min-height: 420px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Ensure info wrapper grows to fill space */
ul.products li.product .product-info-wrap,
.products .product .product-info-wrap,
ul.products li.product .box-text,
.products .product .box-text {
    flex: 1 1 auto !important;
}

/* 2. WRAPPER STYLES */
.custom-loop-cart-wrapper {
    margin-top: auto !important;
    /* Push to bottom */
    width: 100%;
    padding: 10px 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 5px !important;
    background: transparent !important;
    position: static !important;
}

/* 3. QUANTITY BOX */
.custom-loop-cart-wrapper .quantity {
    display: flex !important;
    min-width: 60px !important;
    max-width: 70px !important;
    margin: 0 !important;
}

.custom-loop-cart-wrapper .quantity input.qty {
    width: 100% !important;
    height: 40px !important;
    padding: 0 !important;
    text-align: center !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
}

/* 4. BUTTON STYLES */
.custom-loop-cart-wrapper .button,
.custom-loop-cart-wrapper a.button.add_to_cart_button {
    flex: 1 !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f1c40f !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: bold !important;
    white-space: nowrap !important;
    border-radius: 4px !important;
    padding: 0 5px !important;
    text-transform: uppercase !important;
    border: none !important;
}

.custom-loop-cart-wrapper .button:hover {
    background-color: #d4a012 !important;
    color: #fff !important;
}

/* 5. MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
    .custom-loop-cart-wrapper {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .custom-loop-cart-wrapper .quantity {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        margin-bottom: 5px !important;
        justify-content: center !important;
    }

    .custom-loop-cart-wrapper .button,
    .custom-loop-cart-wrapper a.button.add_to_cart_button {
        width: 100% !important;
        flex: auto !important;
        font-size: 12px !important;
    }
}

/* --------------------------------------------------
 * FAVORITE (WISHLIST) BUTTON COLOR - UNIVERSAL OVERRIDE
 * -------------------------------------------------- */

/* 1. Target the Container when it has 'exists' or 'added' class */
.yith-wcwl-add-to-wishlist.exists *,
.yith-wcwl-add-to-wishlist.added *,
.yith-wcwl-wishlistaddedbrowse *,
.yith-wcwl-wishlistexistsbrowse * {
    color: #ff0000 !important;
    fill: #ff0000 !important;
    border-color: #ff0000 !important;
}

/* 2. Specific Exceptions (if any text needs to be white, override here, but usually red is fine) */

/* 3. Hide Feedback Text globally to prevent layout shifts */
.yith-wcwl-wishlistaddedbrowse .feedback,
.yith-wcwl-wishlistexistsbrowse .feedback {
    display: none !important;
}

/* 4. Force SVGs explicitly just in case wildcard misses */
.yith-wcwl-add-to-wishlist.exists svg,
.yith-wcwl-add-to-wishlist.added svg,
.yith-wcwl-add-to-wishlist.exists path,
.yith-wcwl-add-to-wishlist.added path {
    fill: #ff0000 !important;
}

/* --------------------------------------------------
 * FIX: Hide Duplicate Add to Cart Buttons Above Images
 * -------------------------------------------------- */
.products .product .product-img-wrap .custom-loop-cart-wrapper,
.products .product .product-image .custom-loop-cart-wrapper,
.products .product-img .custom-loop-cart-wrapper {
    display: none !important;
}

/* Only show the one at the bottom */
.products .product .product-info-wrap .custom-loop-cart-wrapper,
.products .product .box-text .custom-loop-cart-wrapper {
    display: flex !important;
}

/* --------------------------------------------------
 * FIX: Grid Layout - Remove Conflicting Flexbox
 * -------------------------------------------------- */
@media (min-width: 768px) {

    /* REMOVE flexbox from main container - let theme handle grid */
    ul.products,
    .products {
        display: block !important;
    }

    ul.products li.product,
    .products .product {
        display: block !important;
        float: left !important;
    }
}

/* --------------------------------------------------
 * SINGLE PRODUCT PAGE: Move Wishlist to Top Right
 * -------------------------------------------------- */
/* Ensure parent container is positioned */
.single-product .product .images,
.single-product .product-images-slider,
.single-product .product-image-container,
.single-product .woocommerce-product-gallery {
    position: relative !important;
}

/* Position wishlist button */
body.single-product .yith-wcwl-add-to-wishlist,
body.single-product div.yith-wcwl-add-to-wishlist {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 999 !important;
    margin: 0 !important;
}

/* Style the button */
body.single-product .yith-wcwl-add-to-wishlist a,
body.single-product .yith-wcwl-add-to-wishlist .yith-wcwl-add-button a {
    background: rgba(255, 255, 255, 0.95) !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
}

body.single-product .yith-wcwl-add-to-wishlist a:hover {
    background: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transform: scale(1.05);
}