.rc-wishlist-wrapper {
    position: relative;
    display: flex;
    margin-left: 5px;
}
.rc-wishlist-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(204, 204, 204);
    list-style: none;
    padding: 0px;
    margin: 5px 0px;
    width: 100%;
    z-index: 999999;
    display: none;
}
.rc-add-to-wishlist {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1px solid #eee;
    color: #000 !important;
    margin-right: 10px;
}
.rc-add-to-wishlist:hover,
.rc-add-to-wishlist:focus,
.rc-add-to-wishlist:active {
    background: #ffe1e1;
}
.rc-add-to-wishlist i.fa{
    color: #f90000;
}
.rc-wishlist-dropdown li {
    padding: 5px 8px;
    cursor: pointer;
    transition: .2s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.rc-wishlist-dropdown li:hover {
    background: #f7f7f7;
}
.rc-wishlist-dropdown li i.fa {
    font-size: 18px;
    color: #8ea0b1;
}

/* Wishlists */
.rc-my-wishlists-container {
    background: #fff;
    border: 1px solid #eee;
}
table.rc-product-table thead {
    background: #f5f6f8;
}

.rc-product-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    border: 0;
}

.rc-product-table th, .rc-product-table td {
    padding: 17px 15px;
    border: 0;
    text-align: left;
    vertical-align: middle;
}

.rc-product-table th {
    background-color: #f5f6f8;
    font-weight: bold;
    color: #636f77;
}

.rc-product-table img {
    width: 60px;
    height: auto;
    border-radius: 4px;
}

.rc-btn {
    background-color: #ff4d4f;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.rc-btn:hover {
    background-color: #d9363e;
}

.rc-wl-pr-img {
    background-repeat: no-repeat;
    background-size: contain;
    height: 150px;
    width: 150px;
    display: flex;
    background-position: center;
}
.rc-wl-product-details {
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
}
.rc-wl-pr-title-wrapper .rcwl-title {
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    color: #000000;
}
.rc-my-wl-heading {
    display: flex;
    flex-direction: row;
    padding: 25px;
    align-items: center;
    justify-content: space-between;
}
.rc-my-wl-heading h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}
.rc-my-wl-heading p {
    margin: 0;
    color: #777777;
}
.wl_quantity {
    width: 70px;
    outline: 0;
    border: 1px solid #eee !important;
    border-right: 1px solid #fff !important;
}
table.rc-product-table tbody tr {
    transition: .2s;
}
table.rc-product-table tbody tr:not(:last-of-type) {
    border-bottom: 1px solid #f3f3f3;
}
table.rc-product-table tbody tr:hover {
    background: #f3f3f3;
}
span.rc-wl-type {
    padding: 10px;
    background: #fff2db;
    font-size: 12px;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
}   
.rcwl-remove-wl-btn {
    padding: 0;
    border-radius: 50%;
    font-size: 9px !important;
    line-height: 1;
    height: 20px;
    width: 20px;
    background: #eb2020;
    color: #fff;
    transition: .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 0;
    z-index: 1;
}
.rcwl-remove-wl-btn:hover {
    background: #851414;
}
.rcwl-add-to-cart-btn {
    border: 1px solid #eee;
    background: #fff;
    transition: .2s;
    padding: 10px 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    color: #000;
    text-align: center;
    justify-content: center;
}
.rcwl-add-to-cart-btn:hover {
    border: 1px solid #001e60;
    background: #001e60;
    color: #fff;
}
.rcwl-add-to-cart-btn .gb-icon svg {
    height: 25px;
    width: 20px;
}
.rc-wl-btns {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.rc-my-wl-heading ul.rc-wishlist-dropdown {
    bottom: unset;
    top: 100%;
    width: 160px;
    right: 0;
    left: unset;
}
.rc-cart-qty-grp {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.rc-wl-pr-image-wrapper {
    position: relative;
    width: 100px; /* adjust as needed */
    height: 100px;
    display: inline-block;
}

.rc-wl-pr-img-multiple {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease-in-out;
}

/* First image visible by default */
.rc-wl-pr-img-multiple:first-child {
    opacity: 1;
    z-index: 1;
}

/* Second image hidden initially */
.rc-wl-pr-img-multiple:last-child {
    opacity: 0;
    z-index: 2;
}

/* On hover, swap visibility */
.rc-wl-pr-image-wrapper:hover .rc-wl-pr-img-multiple:first-child {
    opacity: 0;
}

.rc-wl-pr-image-wrapper:hover .rc-wl-pr-img-multiple:last-child {
    opacity: 1;
}

#filter-table-by-folder li.active {
    background-color: #dbf0ff;
    color: #00538f;
}
.rc-tbl-price {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}
span.prod-cust-badge {
    padding: 5px 10px;
    background: #fff2db;
    font-size: 12px;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
}
.extra-variation .c_product-details-wrapper {
    margin-top: -9px;
}
.extra-variation .c_product-details-wrapper ul li {
    font-weight: 600;
}
.extra-variation .c_product-details-wrapper span.woocommerce-Price-amount.amount {
    font-weight: 400;
}

.cloader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
}
  
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #071f60;
    border-radius: 50%;
    animation: cspin 0.8s linear infinite;
}
  
@keyframes cspin {
    to {
        transform: rotate(360deg);
    }
}
.rc-wl-pr-image-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    perspective: 1000px;
}

/* Flip container holds both images */
.rc-wl-pr-image-wrapper .rc-wl-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

/* On hover, rotate the container, not the images */
.rc-wl-pr-image-wrapper:hover .rc-wl-flip-inner {
    transform: rotateY(180deg);
}

/* Style for each image side */
.rc-wl-pr-img-multiple {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-size: cover;
    background-position: center;
}

/* Front face */
.rc-wl-pr-img-multiple:first-child {
    transform: rotateY(0deg);
    z-index: 2;
}

/* Back face */
.rc-wl-pr-img-multiple:last-child {
    transform: rotateY(180deg);
    z-index: 1;
}

/* Modal */
/* .rccw-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
    padding: 20px;
} */

.rccw-modal-overlay {
    position: fixed;
    top: 11px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: start;
    z-index: 9999999;
    padding: 20px;
    overflow-y: auto;
    margin-top: 20px;
    padding-bottom: 100px;
}

.rccw-modal-container {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: rccw-fadeIn 0.3s ease;
}

.rccw-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.rccw-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.rccw-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.rccw-close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.rccw-modal-content {
    padding: 20px;
}

.rccw-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rccw-card p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.rccw-form-group {
    margin-bottom: 15px;
}

.rccw-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #444;
}

.rccw-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.rccw-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
}

.rccw-input:focus,
.rccw-textarea:focus {
    outline: none;
    border-color: #4d90fe;
    box-shadow: 0 0 0 2px rgba(77, 144, 254, 0.2);
}

.rccw-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #f8f9fa;
}

.rccw-btn {
    padding: 8px 16px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.rccw-btn-close {
    border: 1px solid #eee;
    background: #fff;
}

.rccw-btn-close:hover {
    background: #5a6268;
}

.rccw-btn-submit {
    background: #001e60;
    color: white;
}

.rccw-btn-submit:hover {
    background: #2d4073;
}
button.rc-add-to-wishlist.btn-send-wc {
    background: #3461f7;
    color: #fff !important;
}
button.rc-add-to-wishlist.btn-send-wc:hover {
    background: #2557ff;
}
button.rc-add-to-wishlist.btn-send-wc i.fa{
    color: #fff !important;
}

@keyframes rccw-fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 576px) {
    .rccw-modal-container {
        width: 95%;
    }
    
    .rccw-modal-footer {
        flex-direction: column;
    }
    
    .rccw-btn {
        width: 100%;
    }
}

/* Checkbox */
.rc-wishlist-wrapper-right {
    display: flex;
    gap: 5px;
}
.rcw-container {
    --input-focus: #2ebf19;
    --input-out-of-focus: #d4d4d4;
    --bg-color: #d4d4d4;
    --bg-color-alt: #7e7e7e;
    --main-color: #eee;
    position: relative;
    cursor: pointer;
}
.rcw-container input {
    position: absolute;
    opacity: 0;
}
.rcw-checkmark {
    width: 30px;
    height: 30px;
    position: relative;
    top: 0;
    left: 0;
    border: 2px solid var(--main-color);
    border-radius: 5px;
    box-shadow: 4px 4px var(--main-color);
    background-color: var(--input-out-of-focus);
    transition: all 0.3s;
}
.rcw-container input:checked ~ .rcw-checkmark {
    background-color: var(--input-focus);
}
.rcw-checkmark:after {
    content: "";
    width: 7px;
    height: 15px;
    position: absolute;
    top: 2px;
    left: 8px;
    display: none;
    border: solid var(--main-color);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
.rcw-container input:checked ~ .rcw-checkmark:after {
    display: block;
}
.rc-wishlist-wrapper-right button, .rc-wishlist-wrapper-right .rc-wishlist-wrapper {
    margin: 0 !important;
}
















/* Responsive */
@media only screen and (max-width: 1024px){
    .rc-wl-pr-title-wrapper {
        width: 100%;
        max-width: 150px;
    }
    .rc-wl-pr-title-wrapper .rcwl-title {
        font-size: 14px;    
        line-height: 1;
    }
    .rc-wl-pr-img {
        height: 70px;
        width: 70px;
    }
    .rc-wl-pr-image-wrapper {   
        width: 75px;
        height: 75px;
    }
} /* close 1024px*/

@media only screen and (max-width: 768px){
    table.rc-product-table thead {
        display: none;
    }
    .rc-wl-pr-title-wrapper {
        width: 100%;
        max-width: 100%;
    }
    table.rc-product-table tbody tr {
        display: flex    ;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        padding: 10px;
        gap: 5px;
        position: relative;
    }
    table.rc-product-table tbody tr td {
        padding: 0;
    }
    .rc-my-wl-heading {
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: 15px;
    }
    table.rc-product-table tbody tr td label.rcw-container {
        position: absolute;
        right: 15px;
        bottom: 15px;
    }
} /* close 768px*/

@media only screen and (max-width: 480px){
    .rc-my-wl-heading {
        padding: 10px;
    }
    .rc-my-wl-heading h1 {
        font-size: 26px;
    }
    .rc-wl-heading {
        width: 100%;
        max-width: 230px;
    }
    .rc-my-wl-heading p {
        line-height: 1;
        margin-top: 10px;
        font-size: 12px;
    }
    .rc-wl-pr-image-wrapper {
        width: 90px;
    }
} /* close 480px*/

@media only screen and (max-width: 425px){
    .rc-wishlist-wrapper {
        margin-left: 0;
        margin-top: 5px;
    }
} /* close 425px*/

