.wishlist-header {
    margin-bottom: 18px;
}

.wishlist-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    background: linear-gradient(-96deg, rgb(253, 61, 107) 0px, rgb(253, 120, 99) 98%, rgb(243, 223, 224) 100%) text;
}

.wishlist-table-wrap {
    overflow-x: auto;
}

.wishlist-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e2e2e2;
}

.wishlist-table thead th {
    background: #f0f0f0;
    color: #222222;
    font-size: 16px;
    text-transform: uppercase;
    text-align: left;
    padding: 16px;
    border-bottom: 1px solid #e3e3e3;
}

.wishlist-table tbody td {
    padding: 16px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #ededed;
}

.wishlist-table tbody tr:last-child td {
    border-bottom: none;
}

.wishlist-image-col {
    width: 160px;
}

.wishlist-product-thumb {
    display: inline-flex;
    width: 96px;
    height: 120px;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f5f5;
}

.wishlist-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wishlist-name-col {
    width: 360px;
}

.wishlist-product-name {
    display: inline-block;
    color: #222222;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.wishlist-product-name:hover {
    color: #fb5d5d;
}

.wishlist-meta {
    margin-top: 6px;
    font-size: 14px;
    color: #7a7a7a;
}

.wishlist-price-col {
    width: 180px;
}

.wishlist-price-box {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.wishlist-price {
    font-size: 18px;
    font-weight: 500;
    color: #222222;
}

.wishlist-old-price {
    font-size: 16px;
    color: #7a7a7a;
    text-decoration: line-through;
}

.wishlist-cart-col,
.wishlist-remove-col {
    width: 180px;
}

.wishlist-inline-form {
    margin: 0;
    display: inline-block;
}

.wishlist-action-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: #ff5a5f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.25s ease;
    text-decoration: none;
    border-radius: 999px;
    padding: 0;
}

.wishlist-action-btn:hover {
    background: #111;
    color: #fff;
}

.wishlist-action-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.remove-btn:hover {
    background: #d73333;
}

.wishlist-empty {
    padding: 30px 0;
    font-size: 18px;
    color: #666;
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 767px) {

    .wishlist-header {
        margin-bottom: 14px;
    }

    .wishlist-header h2 {
        font-size: 22px;
    }

    .wishlist-table-wrap {
        overflow: visible;
    }

    .wishlist-table {
        min-width: 100%;
        border: none;
        background: transparent;
    }

    .wishlist-table thead {
        display: none;
    }

    .wishlist-table,
    .wishlist-table tbody {
        display: block;
        width: 100%;
    }

    .wishlist-table tbody tr {
        display: grid;
        grid-template-columns: 88px 1fr 1fr;
        grid-template-areas:
            "image name name"
            "image price price"
            "image cart remove";
        gap: 12px;
        padding: 16px;
        margin-bottom: 16px;
        background: #fff;
        border: 1px solid #e8e8e8;
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    }

    .wishlist-table tbody td {
        padding: 0;
        border: none;
        text-align: left;
        vertical-align: middle;
    }

    .wishlist-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .wishlist-image-col {
        grid-area: image;
        width: auto;
    }

    .wishlist-name-col {
        grid-area: name;
        width: auto;
        display: flex;
        align-items: flex-end;
    }

    .wishlist-price-col {
        grid-area: price;
        width: auto;
    }

    .wishlist-cart-col {
        grid-area: cart;
        width: auto;
    }

    .wishlist-remove-col {
        grid-area: remove;
        width: auto;
    }

    .wishlist-product-thumb {
        width: 88px;
        height: 112px;
        border-radius: 6px;
    }

    .wishlist-product-name {
        font-size: 16px;
    }

    .wishlist-meta {
        font-size: 13px;
    }

    .wishlist-price-box {
        align-items: flex-start;
    }

    .wishlist-price {
        font-size: 16px;
    }

    .wishlist-action-btn {
        width: 100%;
        height: 44px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .wishlist-table tbody tr {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "image image"
            "name name"
            "price price"
            "cart remove";
        gap: 12px;
    }

    .wishlist-image-col {
        text-align: center;
    }

    .wishlist-product-thumb {
        margin: 0 auto;
        width: 96px;
        height: 122px;
    }

    .wishlist-name-col,
    .wishlist-price-col {
        text-align: center;
        justify-content: center;
    }

    .wishlist-price-box {
        align-items: center;
        width: 100%;
    }

    .wishlist-product-name,
    .wishlist-meta {
        text-align: center;
    }
}