:root {
    --rs-wishlist-navy: #1d346d;
    --rs-wishlist-blue: #347cf2;
    --rs-wishlist-sky: #82c9ee;
    --rs-wishlist-yellow: #ffd400;
    --rs-wishlist-text: #343a43;
    --rs-wishlist-muted: #858b94;
    --rs-wishlist-line: #e2e5e9;
}

.rs-wishlist-page .entry-title,
.rs-wishlist-page .page-title,
.rs-wishlist-page .woocommerce-breadcrumb {
    display: none !important;
}

.rs-wishlist-page .site-main,
.rs-wishlist-page .content-area,
.rs-wishlist-page main,
.rs-wishlist-page article,
.rs-wishlist-page .elementor-widget-shortcode,
.rs-wishlist-page .elementor-shortcode {
    overflow: visible;
}

.rs-wishlist-page .yith-wcwl-form,
.rs-wishlist-page #yith-wcwl-form {
    box-sizing: border-box;
    width: min(1460px, calc(100% - 48px));
    max-width: none !important;
    min-height: 480px;
    margin: 48px auto 76px !important;
    color: var(--rs-wishlist-text);
    font-family: inherit;
}

.rs-wishlist-page .wishlist-title {
    display: block !important;
    width: 100%;
    margin: 0 0 70px !important;
    text-align: center;
}

.rs-wishlist-page .wishlist-title h1,
.rs-wishlist-page .wishlist-title h2,
.rs-wishlist-page .rs-wishlist-title {
    margin: 0 0 70px !important;
    color: var(--rs-wishlist-navy) !important;
    font-size: clamp(32px, 2.6vw, 44px) !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    text-align: center;
    text-transform: none !important;
}

.rs-wishlist-page .wishlist-title .show-title-form,
.rs-wishlist-page .wishlist-title-with-form {
    display: none !important;
}

.rs-wishlist-page table.wishlist_table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: fixed;
    background: #fff;
}

.rs-wishlist-page table.wishlist_table tr {
    border: 0 !important;
    border-bottom: 1px solid var(--rs-wishlist-line) !important;
    background: #fff !important;
}

.rs-wishlist-page table.wishlist_table th,
.rs-wishlist-page table.wishlist_table td {
    box-sizing: border-box;
    padding: 12px 10px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--rs-wishlist-text);
    font-size: 17px;
    line-height: 1.3;
    text-align: left !important;
    vertical-align: middle !important;
}

.rs-wishlist-page table.wishlist_table thead th {
    padding-top: 0 !important;
    padding-bottom: 16px !important;
    color: var(--rs-wishlist-muted) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

.rs-wishlist-page table.wishlist_table .product-remove {
    width: 34px;
    padding-left: 0 !important;
    padding-right: 4px !important;
}

.rs-wishlist-page table.wishlist_table .product-remove a {
    color: #a5aab1 !important;
    font-size: 22px !important;
    font-weight: 400 !important;
}

.rs-wishlist-page table.wishlist_table .product-thumbnail {
    display: none !important;
}

.rs-wishlist-page table.wishlist_table .product-name {
    width: 35%;
}

.rs-wishlist-page table.wishlist_table .product-name a {
    color: var(--rs-wishlist-text) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.rs-wishlist-page table.wishlist_table .product-price {
    width: 15%;
    color: var(--rs-wishlist-navy) !important;
    white-space: nowrap;
}

.rs-wishlist-page table.wishlist_table .product-price ins {
    text-decoration: none;
}

.rs-wishlist-page table.wishlist_table .product-price,
.rs-wishlist-page table.wishlist_table .product-price .amount,
.rs-wishlist-page table.wishlist_table .product-price ins .amount {
    color: var(--rs-wishlist-navy) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

.rs-wishlist-page table.wishlist_table .product-price del,
.rs-wishlist-page table.wishlist_table .product-price del .amount {
    color: #848990 !important;
}

.rs-wishlist-page table.wishlist_table .product-stock-status {
    width: 20%;
    font-size: 0 !important;
    white-space: normal !important;
}

.rs-wishlist-page table.wishlist_table .product-stock-status span,
.rs-wishlist-page table.wishlist_table .product-stock-status .wishlist-in-stock {
    display: inline-flex !important;
    align-items: center;
    min-height: 30px;
    margin: 2px 6px 2px 0;
    padding: 4px 16px !important;
    border-radius: 999px;
    background: var(--rs-wishlist-sky) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

.rs-wishlist-page table.wishlist_table .product-stock-status .wishlist-out-of-stock {
    background: #e8eaed !important;
    color: #676d75 !important;
}

.rs-wishlist-page table.wishlist_table .product-add-to-cart {
    width: 30%;
    padding-right: 0 !important;
}

.rs-wishlist-page .rs-wishlist-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 16px;
    width: 100%;
}

.rs-wishlist-page .rs-wishlist-actions .button,
.rs-wishlist-page .rs-wishlist-add,
.rs-wishlist-page .rs-wishlist-buy-now {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100% !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 11px 18px !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: none !important;
}

.rs-wishlist-page .rs-wishlist-add {
    background: var(--rs-wishlist-blue) !important;
}

.rs-wishlist-page .rs-wishlist-buy-now {
    background: var(--rs-wishlist-navy) !important;
}

.rs-wishlist-page .rs-wishlist-add:hover,
.rs-wishlist-page .rs-wishlist-buy-now:hover {
    filter: brightness(.92);
}

.rs-wishlist-page .wishlist_table.mobile,
.rs-wishlist-page .wishlist_table.responsive {
    border: 0 !important;
}

.rs-wishlist-page .yith-wcwl-share,
.rs-wishlist-page .wishlist-page-links {
    margin-top: 28px;
}

.rs-wishlist-page .wishlist-empty,
.rs-wishlist-page .woocommerce-info {
    box-sizing: border-box;
    max-width: 900px;
    margin: 0 auto !important;
    padding: 24px !important;
    border: 0 !important;
    border-left: 6px solid var(--rs-wishlist-blue) !important;
    border-radius: 4px;
    background: #d9effb !important;
    color: var(--rs-wishlist-navy) !important;
    text-align: left;
}

@media (max-width: 980px) {
    .rs-wishlist-page .yith-wcwl-form,
    .rs-wishlist-page #yith-wcwl-form {
        width: min(100% - 32px, 760px);
        margin-top: 34px !important;
    }

    .rs-wishlist-page .wishlist-title,
    .rs-wishlist-page .wishlist-title h1,
    .rs-wishlist-page .wishlist-title h2,
    .rs-wishlist-page .rs-wishlist-title {
        margin-bottom: 42px !important;
    }

    .rs-wishlist-page table.wishlist_table thead {
        display: none !important;
    }

    .rs-wishlist-page table.wishlist_table,
    .rs-wishlist-page table.wishlist_table tbody,
    .rs-wishlist-page table.wishlist_table tr,
    .rs-wishlist-page table.wishlist_table td {
        display: block !important;
        width: 100% !important;
    }

    .rs-wishlist-page table.wishlist_table tr {
        position: relative;
        margin-bottom: 18px;
        padding: 18px 18px 20px;
        border: 1px solid var(--rs-wishlist-line) !important;
        border-radius: 6px;
    }

    .rs-wishlist-page table.wishlist_table td {
        min-height: 0 !important;
        padding: 7px 0 !important;
        text-align: left !important;
    }

    .rs-wishlist-page table.wishlist_table .product-remove {
        position: absolute;
        top: 8px;
        right: 10px;
        z-index: 2;
        width: auto !important;
    }

    .rs-wishlist-page table.wishlist_table .product-name {
        padding-right: 34px !important;
    }

    .rs-wishlist-page table.wishlist_table .product-name a {
        font-weight: 600 !important;
    }

    .rs-wishlist-page table.wishlist_table .product-stock-status {
        font-size: 0 !important;
    }

    .rs-wishlist-page .rs-wishlist-actions {
        margin-top: 8px;
    }
}

@media (max-width: 560px) {
    .rs-wishlist-page .yith-wcwl-form,
    .rs-wishlist-page #yith-wcwl-form {
        width: calc(100% - 24px);
        min-height: 360px;
    }

    .rs-wishlist-page .rs-wishlist-actions {
        grid-template-columns: 1fr;
        gap: 9px;
    }
}
