/* SmartPrice wishlist page final layer */
body .smartprice-wishlist-page .smartprice-wishlist-grid {
    display: grid !important;
    gap: 18px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 318px !important;
    overflow: visible !important;
    padding: 14px !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-image {
    height: 150px !important;
    margin: 0 0 12px !important;
    padding: 14px !important;
    width: 100% !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-image img {
    max-height: 122px !important;
    max-width: 142px !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-remove {
    background: #fff !important;
    border: 1px solid var(--sp-border, #edf0f3) !important;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08) !important;
    height: 30px !important;
    right: -5px !important;
    top: -9px !important;
    width: 30px !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-content {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    gap: 8px !important;
    min-width: 0 !important;
    padding: 0 !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-meta-row {
    gap: 6px !important;
    min-height: 26px !important;
    padding-right: 34px !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-id {
    display: none !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-card h2 {
    font-size: 14px !important;
    line-height: 1.28 !important;
    min-height: 36px !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-card h2 a {
    -webkit-line-clamp: 2 !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-price {
    margin-top: auto !important;
    padding-right: 48px !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-price ins,
body .smartprice-wishlist-page .smartprice-wishlist-price > .amount {
    font-size: 17px !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-card .smartprice-wishlist-actions {
    bottom: 14px !important;
    display: block !important;
    height: 42px !important;
    margin: 0 !important;
    position: absolute !important;
    right: 14px !important;
    width: 42px !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-card .smartprice-wishlist-add {
    align-items: center !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 26px rgba(17, 24, 39, 0.12) !important;
    box-sizing: border-box !important;
    color: var(--sp-dark, #111827) !important;
    display: inline-flex !important;
    height: 42px !important;
    justify-content: center !important;
    margin: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    width: 42px !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-card .smartprice-wishlist-add span {
    display: none !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-card .smartprice-wishlist-add svg {
    flex: 0 0 auto !important;
    height: 20px !important;
    stroke: currentColor !important;
    width: 20px !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-card .smartprice-wishlist-add > *:not(svg):not(span) {
    display: none !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-card .smartprice-wishlist-add:hover {
    background: var(--sp-orange-soft, #fff3ea) !important;
    color: var(--sp-orange, #ff7a1a) !important;
    transform: translateY(-1px) !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-card .smartprice-wishlist-add.added,
body .smartprice-wishlist-page .smartprice-wishlist-card .smartprice-wishlist-add.added_to_cart,
body .smartprice-wishlist-page .smartprice-wishlist-card .smartprice-wishlist-add.loading {
    background: #fff !important;
    color: var(--sp-dark, #111827) !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-card .smartprice-wishlist-add::after,
body .smartprice-wishlist-page .smartprice-wishlist-card .smartprice-wishlist-add.added::after,
body .smartprice-wishlist-page .smartprice-wishlist-card .smartprice-wishlist-add.loading::after,
body .smartprice-wishlist-page .smartprice-wishlist-card .smartprice-wishlist-add.added_to_cart::after {
    content: none !important;
    display: none !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-card a.added_to_cart {
    display: none !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-card.is-removing {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.98) !important;
}

body .smartprice-wishlist-page .smartprice-wishlist-remove.is-loading {
    opacity: 0.55 !important;
    pointer-events: none !important;
}

@media (max-width: 575px) {
    body .smartprice-wishlist-page .smartprice-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body .smartprice-wishlist-page .smartprice-wishlist-card {
        min-height: 300px !important;
    }

    body .smartprice-wishlist-page .smartprice-wishlist-content {
        padding: 0 !important;
    }

    body .smartprice-wishlist-page .smartprice-wishlist-image {
        height: 132px !important;
    }
}

@media (min-width: 1600px) {
    body .smartprice-wishlist-page .smartprice-wishlist-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    body .smartprice-wishlist-page .smartprice-wishlist-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
