/* ==========================================================================
   WISHLIST / MY SELECTION
   ========================================================================== */

.ns-header__wishlist-link{
    display: inline-flex !important;
    align-items: baseline;
    gap: 6px;
}

.ns-wishlist-count {
    font-size: 0.85em;
    line-height: 1;
}

/* Heart buttons */
.ns-product-card {
    position: relative;
}

.ns-wishlist-button {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ns-black);
    font-family: var(--ns-font-main);
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.ns-wishlist-button__icon {
    display: block;
    width: 20px;
    height: 18px;
    overflow: clip;
}

.ns-wishlist-button__icon path {
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.7;
    transition: fill 0.18s ease, stroke 0.18s ease;
}

.ns-wishlist-button.is-active .ns-wishlist-button__icon path,
.ns-wishlist-button[aria-pressed="true"] .ns-wishlist-button__icon path,
.ns-wishlist-button[data-wishlist-active="true"] .ns-wishlist-button__icon path {
    fill: currentColor !important;
    stroke: currentColor !important;
}

.ns-wishlist-button--card {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 34px;
    height: 34px;
    color: var(--ns-black);
}

.ns-wishlist-button--card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.ns-wishlist-button--card svg {
    position: relative;
    z-index: 1;
}

.ns-wishlist-button--card:hover::before,
.ns-wishlist-button--card.is-active::before {
    opacity: 1;
}

.ns-wishlist-button--single {
    width: 100%;
    min-height: 42px;
    margin-top: 18px;
    padding: 13px 18px 12px;
    border: 1px solid var(--ns-black);
    gap: 10px;
    color: var(--ns-black);
    background: transparent;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: var(--ns-bold-shadow);
}

.ns-wishlist-button--single.is-active {
    background: var(--ns-black);
    color: var(--ns-white);
}

/* Wishlist page */
.ns-wishlist-page {
    width: 100%;
    min-height: 100vh;
    padding: clamp(170px, 15vh, 230px) var(--ns-side-space) clamp(86px, 8vw, 140px);
    background: var(--ns-white);
    color: var(--ns-black);
}

.ns-wishlist-page__header {
    width: min(100%, 1180px);
    margin: 0 auto clamp(54px, 5vw, 86px);
    text-align: center;
}

.ns-wishlist-page__kicker {
    display: block;
    margin: 0 0 12px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: var(--ns-bold-shadow);
}

.ns-wishlist-page__title {
    margin: 0 0 16px;
    font-size: clamp(26px, 3vw, 52px);
    line-height: 0.95;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: var(--ns-bold-shadow);
}

.ns-wishlist-page__intro,
.ns-wishlist-page__empty,
.ns-wishlist-page__loading {
    width: min(100%, 620px);
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.ns-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(42px, 5vw, 92px) clamp(24px, 3.2vw, 58px);
    width: min(100%, 1480px);
    margin: 0 auto;
}

.ns-wishlist-card {
    position: relative;
}

.ns-wishlist-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ns-wishlist-card__image {
    width: 100%;
    margin: 0 0 16px;
    background: var(--ns-grey);
    overflow: hidden;
}

.ns-wishlist-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
}

.ns-wishlist-card__title {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 700;
    text-shadow: var(--ns-bold-shadow);
}

.ns-wishlist-card__price {
    font-size: 12px;
    line-height: 1.2;
}

.ns-wishlist-card__remove {
    display: inline-block;
    margin: 14px 0 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--ns-black);
    font-size: 10px;
    line-height: 1.1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 960px) {
    .ns-wishlist-button--card {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    .ns-wishlist-page {
        padding: 132px 20px 80px;
    }

    .ns-wishlist-page__header {
        text-align: left;
        margin-bottom: 42px;
    }

    .ns-wishlist-page__intro,
    .ns-wishlist-page__empty,
    .ns-wishlist-page__loading {
        margin-left: 0;
        text-align: left;
    }

    .ns-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 16px;
    }
}

@media (max-width: 520px) {
    .ns-wishlist-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   My Selection — remove duplicate small title
   Keeps the main title and removes only the first/smaller label.
   ========================================================================== */

.ns-wishlist-page__kicker {
    display: none !important;
}


/* v1.1.62 — Selected state uses a fully black heart without changing the card layout. */
.ns-wishlist-button--card.is-active::before,
.ns-wishlist-button--card[aria-pressed="true"]::before,
.ns-wishlist-button--card[data-wishlist-active="true"]::before{
    opacity: 0 !important;
    background: transparent !important;
}

.ns-wishlist-button--card.is-active .ns-wishlist-button__icon path,
.ns-wishlist-button--card[aria-pressed="true"] .ns-wishlist-button__icon path,
.ns-wishlist-button--card[data-wishlist-active="true"] .ns-wishlist-button__icon path{
    fill: var(--ns-black, #231f20) !important;
    stroke: var(--ns-black, #231f20) !important;
}

.ns-wishlist-button--single.is-active,
.ns-wishlist-button--single[aria-pressed="true"],
.ns-wishlist-button--single[data-wishlist-active="true"]{
    background: var(--ns-black, #231f20) !important;
    color: var(--ns-white, #fff) !important;
}

.ns-wishlist-button--single.is-active .ns-wishlist-button__icon path,
.ns-wishlist-button--single[aria-pressed="true"] .ns-wishlist-button__icon path,
.ns-wishlist-button--single[data-wishlist-active="true"] .ns-wishlist-button__icon path{
    fill: currentColor !important;
    stroke: currentColor !important;
}
