/* =============================================================
   MY ACCOUNT - WISHLIST STYLES (ShopLentor / WishSuite)
   ============================================================= */

/* Main Container Spacing */
.fkm-myaccount-wishlist-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

.fkm-myaccount-wishlist-wrapper h3 {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #111111 !important;
    margin-bottom: 16px !important;
}

/* Outer Border & Table Scaffolding */
.fkm-myaccount-wishlist-wrapper table,
.fkm-myaccount-wishlist-wrapper table.wishsuite-table,
.fkm-myaccount-wishlist-wrapper .wishsuite-table-wrapper table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #e0e0e0 !important;
    background-color: #ffffff !important;
}

/* Header Cells Override */
.fkm-myaccount-wishlist-wrapper table thead,
.fkm-myaccount-wishlist-wrapper table th,
.wishsuite-table-wrapper table th {
    background-color: #f8f8f8 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #111111 !important;
    padding: 12px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    text-align: left !important;
}

/* Table Body Cells */
.fkm-myaccount-wishlist-wrapper table td,
.wishsuite-table-wrapper table td {
    padding: 12px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    vertical-align: middle !important;
    font-size: 13px !important;
    color: #111111 !important;
}

/* Product Thumbnail */
.fkm-myaccount-wishlist-wrapper table td.product-thumbnail img {
    width: 50px !important;
    height: auto !important;
    border-radius: 4px !important;
    object-fit: cover !important;
}

/* Product Links */
.fkm-myaccount-wishlist-wrapper table td.product-name a {
    font-weight: 600 !important;
    color: #111111 !important;
    text-decoration: none !important;
}

.fkm-myaccount-wishlist-wrapper table td.product-name a:hover {
    color: #4c9b28 !important;
}

/* Quantity Field */
.fkm-myaccount-wishlist-wrapper table .quantity input.qty {
    width: 50px !important;
    height: 36px !important;
    border: 1px solid #cccccc !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-weight: 600 !important;
}

/* Remove Button */
.fkm-myaccount-wishlist-wrapper table a.wishsuite-remove-btn,
.fkm-myaccount-wishlist-wrapper table .product-remove a {
    color: #111111 !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

.fkm-myaccount-wishlist-wrapper table a.wishsuite-remove-btn:hover,
.fkm-myaccount-wishlist-wrapper table .product-remove a:hover {
    color: #e53935 !important;
}

/* Solid Black Buttons */
.fkm-myaccount-wishlist-wrapper table .button,
.fkm-myaccount-wishlist-wrapper table a.add_to_cart_button,
.wishsuite-table .add_to_cart_button {
    background-color: #111111 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 10px 16px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    text-decoration: none !important;
    border: none !important;
    transition: background-color 0.2s ease !important;
}

.fkm-myaccount-wishlist-wrapper table .button:hover,
.fkm-myaccount-wishlist-wrapper table a.add_to_cart_button:hover {
    background-color: #4c9b28 !important;
}

/* =============================================================
   MOBILE OVERRIDES (< 767px)
   ============================================================= */
@media screen and (max-width: 767px) {
    .fkm-myaccount-wishlist-wrapper table.wishsuite-table,
    .fkm-myaccount-wishlist-wrapper table.wishsuite-table tbody,
    .fkm-myaccount-wishlist-wrapper table.wishsuite-table tr {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .fkm-myaccount-wishlist-wrapper table.wishsuite-table thead {
        display: none !important;
    }

    .fkm-myaccount-wishlist-wrapper table.wishsuite-table tr {
        background-color: #fafafa !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 6px !important;
        padding: 12px !important;
        margin-bottom: 12px !important;
        box-sizing: border-box !important;
    }

    .fkm-myaccount-wishlist-wrapper table td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-bottom: none !important;
        padding: 6px 0 !important;
        width: 100% !important;
    }
}