/* =============================================
   WISHLIST PAGE - Mobile Layout
   ============================================= */

.wishlist_table.mobile li {
    border: 1px solid #DAE3EB;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    background: #fff;
    list-style: none;
}

html .wishlist_table.mobile .item-wrapper {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.wishlist_table.mobile .product-thumbnail {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
}

.wishlist_table.mobile li .item-wrapper {
    width: calc(100% - 0px);
}

html .wishlist_table.mobile li .item-wrapper .product-thumbnail {
    max-width: 100%;
}

html .wishlist_table.mobile li .item-wrapper .item-details {
    width: calc(100% - 0px);
}

.wishlist_table.mobile .product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 1px solid var(--Colors-Line, #DAE3EB);
    border-radius: 8px;
    padding: 3px;
}

.wishlist_table.mobile .item-details {
    flex: 1;
    min-width: 0;
}

.wishlist_table.mobile .product-name h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 6px;
    line-height: 1.3;
}

.wishlist_table.mobile .product-name h3 a {
    color: inherit;
    text-decoration: none;
}

.wishlist_table.mobile .product-name h3 a:hover {
    color: #0B70A0;
}

.wishlist_table.mobile .item-details-table {
    border: none;
    margin: 0;
    padding: 0;
}

.wishlist_table.mobile .item-details-table td {
    padding: 0;
    border: none;
    font-size: 14px;
}

.wishlist_table.mobile .item-details-table .label {
    display: none;
}

.wishlist_table.mobile .item-details-table .value {
    padding: 0;
}

.wishlist_table.mobile .item-details-table .value .woocommerce-Price-amount {
    font-weight: 700;
    color: #0B70A0;
    font-size: 15px;
}

.wishlist_table.mobile .item-details-table .value del .woocommerce-Price-amount {
    color: #B0BEC5;
    font-weight: 400;
    font-size: 13px;
    text-decoration: line-through;
}

.wishlist_table.mobile .item-details-table .value ins {
    text-decoration: none;
}

.wishlist_table.mobile .item-details-table .value ins .woocommerce-Price-amount {
    color: #0B70A0;
    font-weight: 700;
    font-size: 15px;
}

.wishlist_table.mobile .additional-info-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #F0F0F0;
    gap: 10px;
}

html body .wishlist_table.mobile .additional-info {
    border: none;
    margin: 0;
    padding: 0;
    margin-bottom: unset;
}

.woocommerce form table.wishlist_table tr td.product-remove a.remove:hover, 
.woocommerce-page form table.wishlist_table tr td.product-remove a.remove:hover {
    transform: scale(1.15);
}

html .woocommerce .wishlist_table .product-stock-status span.wishlist-in-stock::before {
    content: url(/wp-content/uploads/2026/03/checkmark-green.svg);
    width: 14px;
    height: 14px;
}

html .woocommerce .wishlist_table .product-stock-status span.wishlist-in-stock {
    font-family: 'Inter';
    font-weight: 500;
    background: #0089341A;
    color: #008934;
    font-size: 12px;
    padding: 6.5px 17px 6.5px 13px;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7px;

} 

html .woocommerce form table.wishlist_table tr td.product-add-to-cart .add_to_cart:hover, 
html .woocommerce-page form table.wishlist_table tr td.product-add-to-cart .add_to_cart:hover {
    background: #095d85;
    color: #fff;
    box-shadow: 0 4px 16px rgba(11, 112, 160, 0.12);
}

html body .wishlist_table.mobile .additional-info td {
    padding: 0;
    border: none;
    font-size: 12px;
}

.wishlist_table.mobile .additional-info .label {
    display: none;
}

.wishlist_table.mobile .wishlist-in-stock {
    font-weight: 500;
    background: #0089341A;
    color: #008934;
    font-size: 12px;
    padding: 8.5px 17px 8.5px 13px;
    border-radius: 20px;
    position: relative;
        display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.wishlist_table.mobile .wishlist-in-stock::before {
    content: url(/wp-content/uploads/2026/03/checkmark-green.svg);
    width: 14px;
}

.wishlist_table.mobile .product-add-to-cart a:before {
    content: url(/wp-content/uploads/2026/03/shopping-cart.svg);
    width: 16px;
}

.wishlist_table.mobile .product-add-to-cart {
    flex: 1;
}

html .wishlist_table.mobile .product-add-to-cart a {
    text-align: center;
    background: #0B70A0;
    color: #fff;
    padding: 10px 16px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.15s;
    align-items: center;
    justify-content: center;
    font-family: 'Inter';
    border-radius: 30px;
    margin-bottom: 0px !important;
    display: flex !important;
    gap: 8px;
    max-height: 40px;
    max-width: 253px;
    flex-direction: row;
}

/* Loading state */
.wishlist_table .add_to_cart_button.loading {
    pointer-events: none !important;
    opacity: 0.7 !important;
    position: relative !important;
    color: transparent !important;
}

.wishlist_table .add_to_cart_button.loading::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    border-top-color: #fff !important;
    border-radius: 50% !important;
    animation: tk-spin 0.6s linear infinite !important;
    display: block !important;
}

/* Added state */
.wishlist_table .add_to_cart_button.added {
    background: #2E7D32 !important;
    color: #fff !important;
}

/* Hide the default WC loader icon */
.wishlist_table .add_to_cart_button.loading::before,
.wishlist_table .add_to_cart_button .wc-forward {
    display: none !important;
}

@keyframes tk-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

html .wishlist_table.mobile li .additional-info-wrapper .product-add-to-cart, 
html .wishlist_table.mobile li .additional-info-wrapper .move-to-another-wishlist {
    margin-bottom: 0px;
}

.wishlist_table.mobile .product-add-to-cart a:hover {
    background: #095d85;
    border: unset;
    box-shadow: 0 4px 16px rgba(11, 112, 160, 0.12);
}

.wishlist_table.mobile .product-remove {
    flex-shrink: 0;
}

.wishlist_table.mobile .product-remove a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFF;
    border: 1px solid #E0E0E0;
    color: #E53935;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.15s;
}

.wishlist_table.mobile .product-remove a:hover {
    background: #FFEBEE;
    border-color: #E53935;
}

.wishlist_table.mobile .screen-reader-text {
    display: none;
}