.woocommerce-Addresses {
    display: flex;
    flex-direction: column;
}

.woocommerce-Addresses .woocommerce-Address {
    width: 100% !important;
}

.woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title.title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title.title::before {
    display: none;
}

.woocommerce-Button.button.wp-element-button,
.button.wp-element-button {
    border-radius: 0px !important;
}

@media (max-width: 768px) {
    .woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title.title h2 {
        width: min-content;
    }
}

.woocommerce-account p:empty {
    display: none;
}

@media (max-width: 999px) {

    .woocommerce-orders-table thead {
        display: none;
    }

    .woocommerce-orders-table,
    .woocommerce-orders-table tbody,
    .woocommerce-orders-table tr,
    .woocommerce-orders-table td,
    .woocommerce-orders-table th {
        display: block;
        width: 100%;
    }

    .woocommerce-orders-table tr {
        margin-bottom: 20px;
        padding: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
    }

    .woocommerce-orders-table td,
    .woocommerce-orders-table th {
        position: relative;
        padding: 10px 10px 10px 45%;
        text-align: right;
        border: none;
    }

    .woocommerce-orders-table td:before,
    .woocommerce-orders-table th:before {
        content: attr(data-title);
        position: absolute;
        left: 10px;
        width: 40%;
        text-align: left;
        font-weight: 600;
    }

    .woocommerce-orders-table .button {
        display: inline-block;
        margin-top: 5px;
    }

    .woocommerce table.shop_table {
        border: 0px !important;
    }

    .woocommerce table.shop_table_responsive tbody th,
    .woocommerce-page table.shop_table_responsive tbody th {
        display: block !important;
    }

    .woocommerce-orders-table tbody th.woocommerce-orders-table__header-order-actions,
    .woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-actions,
    .woocommerce-orders-table tbody td.woocommerce-orders-table__header-order-actions,
    .woocommerce-orders-table tbody td.woocommerce-orders-table__cell-order-actions {
        width: 100% !important; 
    }

}

.shop_table .wishlist_view tr th.product-name,
.shop_table .wishlist_view tr td.product-name
{
    width: 192px !important;
}

.shop_table .wishlist_view.mobile .product-add-to-cart a {
    border-radius: 0px !important
}

.wishlist-items-wrapper td.product-remove div a:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='21' viewBox='0 0 18 21' fill='none'%3E%3Cpath d='M11.74 7.50052L11.394 16.5005M6.606 16.5005L6.26 7.50052M12.75 3.89352C13.9138 3.98362 15.0739 4.11604 16.228 4.29052C16.57 4.34252 16.91 4.39752 17.25 4.45652M16.228 4.29052L15.16 18.1735C15.1164 18.7387 14.8611 19.2667 14.445 19.6518C14.029 20.0368 13.4829 20.2507 12.916 20.2505H5.084C4.5171 20.2507 3.97102 20.0368 3.55498 19.6518C3.13894 19.2667 2.88359 18.7387 2.84 18.1735L1.772 4.29052M1.772 4.29052C1.43 4.34152 1.09 4.39652 0.75 4.45552M1.772 4.29052C2.92613 4.11604 4.08623 3.98362 5.25 3.89352M12.75 3.89352V2.97752C12.75 1.79752 11.84 0.813521 10.66 0.776521C9.55362 0.74116 8.44638 0.74116 7.34 0.776521C6.16 0.813521 5.25 1.79852 5.25 2.97752V3.89352M12.75 3.89352C10.2537 3.7006 7.74628 3.7006 5.25 3.89352' stroke='%23D4AF37' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
@media (max-width: 999px) {

    .shop_table .mobile {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .shop_table .mobile>li {
        position: relative;
        background: #fff;
        border: 1px solid #e7e7e7;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    }

    .shop_table .mobile .item-wrapper {
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: 16px;
        align-items: start;
    }

    .shop_table .mobile .product-thumbnail img {
        width: 90px;
        height: 90px;
        object-fit: cover;
        border-radius: 8px;
        display: block;
    }

    .shop_table .mobile .item-details {
        min-width: 0;
    }

    .shop_table .mobile .product-name h3 {
        margin: 0 0 8px;
        font-size: 16px;
        line-height: 1.4;
    }

    .shop_table .mobile .item-details-table,
    .shop_table .mobile .additional-info {
        width: 100%;
        border-collapse: collapse;
    }

    .shop_table .mobile .item-details-table td,
    .shop_table .mobile .additional-info td {
        padding: 4px 0;
        border: 0;
    }

    .shop_table .mobile .label {
        font-weight: 600;
        color: #666;
        width: 80px;
    }

    .shop_table .mobile .additional-info-wrapper {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #eee;
    }

    .shop_table .mobile .product-add-to-cart {
        margin-top: 12px;
    }

    .shop_table .mobile .product-add-to-cart a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .shop_table .mobile .product-remove {
        position: absolute;
        top: 12px;
        right: 12px;
    }

    .shop_table .mobile .product-remove a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #f8f8f8;
    }
}




/* ==========================================================
   Wishlist Table
========================================================== */

.tinvwl-table-manage-list {
    width: 100%;
    border-collapse: collapse;
}

.tinvwl-table-manage-list th,
.tinvwl-table-manage-list td {
    padding: 16px;
    vertical-align: middle;
}

.tinvwl-table-manage-list .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
}

.tinvwl-table-manage-list .product-action .button {
    white-space: nowrap;
}

.tinvwl-table-manage-list .product-action a,
.tinvwl-table-manage-list .product-action button,
.tinv-wishlist-clear p.return-to-shop a,
.tinv-wishlist-clear p.return-to-shop button {
    background-color: var(--wp--preset--color--tertiary);
    color: #1F2023;
    border: 0px;
    padding: 6px 25px;
}

.tinv-wishlist-clear p.return-to-shop a {
    padding: 12px;
}

.tinvwl-table-manage-list .product-action a:hover,
.tinvwl-table-manage-list .product-action button:hover,
.tinv-wishlist-clear p.return-to-shop a:hover,
.tinv-wishlist-clear p.return-to-shop button:hover {
    background-color: transparent !important;
    border: 1px solid #1F2023;
}

.tinvwl-table-manage-list .product-remove i {
    display: none !important;
}

.tinvwl-table-manage-list .product-remove button {
    background-image: url('../../../assets/icons/trash.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.tinvwl-table-manage-list .product-remove button:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='21' viewBox='0 0 18 21' fill='none'%3E%3Cpath d='M11.74 7.50052L11.394 16.5005M6.606 16.5005L6.26 7.50052M12.75 3.89352C13.9138 3.98362 15.0739 4.11604 16.228 4.29052C16.57 4.34252 16.91 4.39752 17.25 4.45652M16.228 4.29052L15.16 18.1735C15.1164 18.7387 14.8611 19.2667 14.445 19.6518C14.029 20.0368 13.4829 20.2507 12.916 20.2505H5.084C4.5171 20.2507 3.97102 20.0368 3.55498 19.6518C3.13894 19.2667 2.88359 18.7387 2.84 18.1735L1.772 4.29052M1.772 4.29052C1.43 4.34152 1.09 4.39652 0.75 4.45552M1.772 4.29052C2.92613 4.11604 4.08623 3.98362 5.25 3.89352M12.75 3.89352V2.97752C12.75 1.79752 11.84 0.813521 10.66 0.776521C9.55362 0.74116 8.44638 0.74116 7.34 0.776521C6.16 0.813521 5.25 1.79852 5.25 2.97752V3.89352M12.75 3.89352C10.2537 3.7006 7.74628 3.7006 5.25 3.89352' stroke='%23D4AF37' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    cursor: pointer;
}



/* ==========================================================
   Tablet
========================================================== */

@media (max-width: 992px) {

    .tinvwl-table-manage-list {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tinvwl-table-manage-list table {
        min-width: 800px;
    }

    .tinvwl-table-manage-list th,
    .tinvwl-table-manage-list td {
        white-space: nowrap;
    }
}

/* ==========================================================
   Mobile Card Layout
========================================================== */

@media (max-width: 767px) {

    .tinvwl-table-manage-list,
    .tinvwl-table-manage-list thead,
    .tinvwl-table-manage-list tbody,
    .tinvwl-table-manage-list tr,
    .tinvwl-table-manage-list td {
        display: block;
        width: 100%;
    }

    .tinvwl-table-manage-list thead {
        display: none;
    }

    .tinvwl-table-manage-list tbody {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .tinvwl-table-manage-list tr.wishlist_item {
        position: relative;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        padding: 16px;
        background: #fff;
    }

    .tinvwl-table-manage-list td {
        padding: 6px 0;
        border: 0;
        text-align: left;
    }

    .tinvwl-table-manage-list .product-cb {
        display: none;
    }

    .tinvwl-table-manage-list .product-remove {
        position: absolute;
        top: 12px;
        right: 12px;
    }

    .tinvwl-table-manage-list .product-thumbnail {
        text-align: center;
        margin-bottom: 12px;
    }

    .tinvwl-table-manage-list .product-thumbnail img {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .tinvwl-table-manage-list .product-name {
        font-size: 18px;
        font-weight: 600;
    }

    .tinvwl-table-manage-list .product-price::before {
        content: "Price: ";
        font-weight: 600;
    }

    .tinvwl-table-manage-list .product-date::before {
        content: "Date Added: ";
        font-weight: 600;
    }

    .tinvwl-table-manage-list .product-stock::before {
        content: "Stock: ";
        font-weight: 600;
    }

    .tinvwl-table-manage-list .product-action {
        margin-top: 16px;
    }

    .tinvwl-table-manage-list .product-action .button {
        display: block;
        width: 100%;
        text-align: center;
    }

    .tinvwl-table-manage-list tfoot,
    .tinvwl-table-manage-list tfoot tr,
    .tinvwl-table-manage-list tfoot td {
        display: block;
        width: 100%;
    }

    .tinvwl-to-left,
    .tinvwl-to-right {
        width: 100%;
    }

    .tinvwl-input-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .tinvwl-input-group select,
    .tinvwl-input-group button,
    .tinvwl-to-right .button {
        width: 100%;
    }

    .tinvwl-to-right {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
}