/**
 * Theme Name: Organey Child
 * Description: This is a child theme of Organey, generated by Merlin WP.
 * Author: <a href="https://leebrosus.com/">HP</a>
 * Template: organey
 * Version: 1.8.1
 */

/* ==========================================================================
   YITH Wishlist Custom Styling - Nero Trade "Flat Premium" Design
   ========================================================================== */

:root {
    --nt-black: #000000;
    --nt-bg: #ffffff;
    --nt-border: #f2f2f2;
    --nt-radius: 20px;
    --nt-radius-small: 12px;
    --nt-radius-pill: 100px;
    --nt-font: "Nunito Sans", sans-serif;
}

html,
body,
.yith-wcwl-wishlist-view-container,
.yith-wcwl-wishlist-view-container *,
.yith-wcwl-form,
.yith-wcwl-form *,
.wishlist_table,
.wishlist_table * {
    font-family: var(--nt-font) !important;
    -webkit-font-smoothing: antialiased;
}

.yith-wcwl-wishlist-view-container {
    background: var(--nt-bg) !important;
    border-radius: var(--nt-radius) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03) !important;
    padding: 30px !important;
    margin-bottom: 60px !important;
    border: 1px solid #f0f0f0 !important;
}

.wishlist_table,
.yith-wcwl-wishlist,
.yith-wcwl-form {
    border: none !important;
}

/* Shop Loop - Wishlist Button Centering */
.nt-loop-wishlist {
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

/* Single Product Page - YITH Wishlist Button Styling */
.yith-wcwl-add-to-wishlist {
    display: inline-block !important;
    margin: 15px 0 !important;
}

.yith-wcwl-add-to-wishlist .yith-wcwl-add-button {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

.yith-wcwl-add-to-wishlist .yith-wcwl-add-button a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    color: var(--nt-black) !important;
    font-family: var(--nt-font) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.yith-wcwl-add-to-wishlist .yith-wcwl-add-button a svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

.yith-wcwl-add-to-wishlist .yith-wcwl-add-button .separator {
    display: inline !important;
    color: #999 !important;
    font-size: 14px !important;
    margin: 0 4px !important;
}

.yith-wcwl-add-to-wishlist .yith-wcwl-add-button a:hover {
    opacity: 0.7 !important;
}

.product-arrange,
.product-cb,
th.product-arrange,
th.product-cb,
td.product-arrange,
td.product-cb {
    display: none !important;
}

.product-stock-status,
.wishlist_table .product-stock-status span,
.wishlist_table .wishlist-in-stock,
.wishlist_table .wishlist-out-of-stock {
    color: var(--nt-black) !important;
}

@media (min-width: 769px) {
    table.wishlist_table {
        border-collapse: separate !important;
        border-spacing: 0 15px !important;
        width: 100% !important;
    }

    table.wishlist_table thead th {
        background: var(--nt-black) !important;
        color: #ffffff !important;
        padding: 22px 20px !important;
        text-transform: uppercase !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    table.wishlist_table thead th:first-child {
        border-radius: var(--nt-radius-small) 0 0 var(--nt-radius-small) !important;
    }

    table.wishlist_table thead th:last-child {
        border-radius: 0 var(--nt-radius-small) var(--nt-radius-small) 0 !important;
    }

    table.wishlist_table tbody td {
        padding: 25px 20px !important;
        vertical-align: middle !important;
        background: #ffffff !important;
        border-top: 1px solid var(--nt-border) !important;
        border-bottom: 1px solid var(--nt-border) !important;
    }

    table.wishlist_table tbody td:first-child {
        border-left: 1px solid var(--nt-border) !important;
        border-radius: var(--nt-radius-small) 0 0 var(--nt-radius-small) !important;
    }

    table.wishlist_table tbody td:last-child {
        border-right: 1px solid var(--nt-border) !important;
        border-radius: 0 var(--nt-radius-small) var(--nt-radius-small) 0 !important;
    }

    table.wishlist_table td.product-add-to-cart {
        width: 220px !important;
        min-width: 220px !important;
        text-align: center !important;
    }

    .wishlist_table .add_to_cart,
    .wishlist_table a.button.add_to_cart {
        white-space: nowrap !important;
        display: inline-block !important;
        min-width: 190px !important;
        padding: 14px 20px !important;
    }
}

@media (max-width: 768px) {
    .yith-wcwl-wishlist-view-container {
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        border: none !important;
    }

    .wishlist_table,
    .wishlist_table tbody,
    .wishlist_table tr,
    .wishlist_table td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .wishlist_table thead {
        display: none !important;
    }

    .wishlist_table tbody tr {
        background: #ffffff !important;
        border-radius: var(--nt-radius) !important;
        margin-bottom: 35px !important;
        padding: 30px !important;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06) !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        border: 1px solid #f0f0f0 !important;
    }

    .wishlist_table .product-thumbnail {
        text-align: center !important;
        margin: 0 auto 25px auto !important;
        width: 100% !important;
        display: block !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .wishlist_table .product-thumbnail a {
        display: inline-block !important;
        margin: 0 auto !important;
        width: auto !important;
        position: relative !important;
    }

    .wishlist_table .product-thumbnail img {
        display: block !important;
        margin: 0 auto !important;
        max-width: 160px !important;
        border-radius: 15px !important;
        position: relative !important;
    }

    .wishlist_table .product-name {
        text-align: center !important;
        margin-bottom: 30px !important;
    }

    .wishlist_table .product-name a {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: var(--nt-black) !important;
        line-height: 1.2 !important;
        display: block !important;
        text-decoration: none !important;
    }

    .wishlist_table .product-price,
    .wishlist_table .product-stock-status,
    .wishlist_table .product-quantity {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 15px 0 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    .wishlist_table .add_to_cart,
    .wishlist_table a.button.add_to_cart {
        display: block !important;
        width: 100% !important;
        background-color: var(--nt-black) !important;
        color: #ffffff !important;
        padding: 18px !important;
        border-radius: var(--nt-radius-pill) !important;
        font-weight: 700 !important;
        text-align: center !important;
        font-size: 15px !important;
    }

    .wishlist_table td.product-remove {
        position: absolute !important;
        top: 18px !important;
        right: 18px !important;
        width: 30px !important;
        height: 30px !important;
        background: transparent !important;
        z-index: 50 !important;
        overflow: hidden !important;
        text-indent: -9999px !important;
        font-size: 0 !important;
    }

    .wishlist_table .product-remove a,
    .wishlist_table .product-remove .remove,
    .wishlist_table .product-remove .remove_from_wishlist {
        font-size: 24px !important;
        text-indent: 0 !important;
        display: block !important;
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
        text-align: center !important;
    }
}

.yith-wcwl-form .button,
.yith-wcwl-form .add_all_to_cart,
.yith-wcwl-form input[type="submit"].button {
    background-color: var(--nt-black) !important;
    color: #ffffff !important;
    padding: 16px 40px !important;
    border-radius: var(--nt-radius-pill) !important;
    font-weight: 700 !important;
    text-transform: none !important;
    border: none !important;
}