.sfc-wishlist-page {
    min-height: 60vh;
    padding-bottom: 80px;
}

.sfc-wishlist-page__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.sfc-wishlist-page__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sfc-wishlist-page h1 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(38px, 5vw, 68px);
    line-height: .95;
    letter-spacing: -.05em;
}

.sfc-wishlist-page__header p {
    max-width: 620px;
    margin: 16px 0 0;
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.7;
}

.sfc-wishlist-page__count {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    padding: 11px 17px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-surface);
    color: var(--color-text-light);
    font-size: 12px;
}

.sfc-wishlist-page__count strong {
    color: var(--color-primary);
    font-size: 15px;
}

.sfc-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.sfc-wishlist-item {
    min-width: 0;
}

.sfc-wishlist-item .product-card {
    height: 100%;
}

.sfc-wishlist-empty {
    display: flex;
    min-height: 430px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    background: var(--color-surface);
    text-align: center;
}

.sfc-wishlist-empty[hidden],
.sfc-wishlist-grid[hidden] {
    display: none !important;
}

.sfc-wishlist-empty__icon {
    display: grid;
    width: 88px;
    height: 88px;
    padding: 23px;
    border-radius: 28px;
    background: rgba(8, 168, 181, .1);
    color: var(--color-primary);
    place-items: center;
}

.sfc-wishlist-empty__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sfc-wishlist-empty h2 {
    margin: 24px 0 9px;
    color: var(--color-text);
    font-size: 28px;
    letter-spacing: -.035em;
}

.sfc-wishlist-empty p {
    max-width: 460px;
    margin: 0;
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.65;
}

.sfc-wishlist-empty__button {
    display: inline-flex;
    min-width: 170px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    padding-inline: 24px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.sfc-wishlist-empty__button:hover {
    color: #fff;
    filter: brightness(1.05);
}

.product-card__wishlist.is-loading {
    cursor: wait;
    opacity: .55;
}

.product-card__wishlist.is-active,
.product-card__wishlist[aria-pressed="true"] {
    background: var(--color-primary);
    color: #fff;
}

.product-card__wishlist.is-active svg,
.product-card__wishlist[aria-pressed="true"] svg {
    fill: currentColor;
}

@media (max-width: 1100px) {
    .sfc-wishlist-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .sfc-wishlist-page {
        padding-bottom: 50px;
    }

    .sfc-wishlist-page__header {
        align-items: flex-start;
        margin-bottom: 28px;
    }

    .sfc-wishlist-page h1 {
        font-size: 38px;
    }

    .sfc-wishlist-page__header p {
        max-width: 280px;
        margin-top: 11px;
        font-size: 12px;
    }

    .sfc-wishlist-page__count {
        padding: 8px 12px;
        font-size: 10px;
    }

    .sfc-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px 10px;
    }

    .sfc-wishlist-empty {
        min-height: 380px;
        border-radius: 20px;
    }

    .sfc-wishlist-empty__icon {
        width: 72px;
        height: 72px;
        padding: 19px;
        border-radius: 22px;
    }

    .sfc-wishlist-empty h2 {
        font-size: 24px;
    }
}

@media (max-width: 390px) {
    .sfc-wishlist-page__header {
        gap: 12px;
    }

    .sfc-wishlist-page__header p {
        display: none;
    }

    .sfc-wishlist-grid {
        gap: 13px 8px;
    }
}

body.page-wishlist .site-main,
body.page-id-77 .site-main {
    padding-top: 34px;
}

body.page-wishlist .page-content,
body.page-id-77 .page-content {
    width: 100%;
}

body.page-wishlist .entry-content,
body.page-id-77 .entry-content {
    width: 100%;
}

@media (max-width: 767px) {
    body.page-wishlist .site-main > .container,
    body.page-id-77 .site-main > .container {
        padding-inline: 18px;
    }

    .sfc-wishlist-page__header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .sfc-wishlist-page__eyebrow {
        font-size: 10px;
    }

    .sfc-wishlist-page h1 {
        font-size: 34px;
    }

    .sfc-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* PRODUCT CARD FINAL INTERACTIONS START */

/* Product card hover */
.product-card {
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.product-card:hover {
    border-color: rgba(8, 168, 181, .28);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

/* Wishlist button base */
.product-card__wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;

    display: grid;
    width: 32px;
    height: 32px;
    padding: 6px;

    border: 1px solid transparent;
    border-radius: 50%;

    background: rgba(255, 255, 255, .72);
    color: #182126;

    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    cursor: pointer;
    place-items: center;

    transition:
        color .18s ease,
        border-color .18s ease,
        background-color .18s ease,
        transform .18s ease,
        opacity .18s ease;
}

.product-card__wishlist svg {
    display: block;
    width: 100%;
    height: 100%;

    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        fill .18s ease,
        stroke .18s ease,
        transform .18s ease;
}

/* Hover stays transparent and subtle */
.product-card__wishlist:hover {
    border-color: rgba(8, 168, 181, .38);
    background: rgba(255, 255, 255, .82);
    color: var(--color-primary);
    transform: scale(1.04);
}

.product-card__wishlist:hover svg {
    transform: scale(1.04);
}

/* Saved state: teal heart only, no solid teal circle */
.product-card__wishlist.is-active,
.product-card__wishlist[aria-pressed="true"] {
    border-color: rgba(8, 168, 181, .3);
    background: rgba(255, 255, 255, .82);
    color: var(--color-primary);
}

.product-card__wishlist.is-active svg,
.product-card__wishlist[aria-pressed="true"] svg {
    fill: currentColor;
    stroke: currentColor;
}

/* Loading state */
.product-card__wishlist.is-loading,
.product-card__wishlist:disabled {
    cursor: wait;
    opacity: .55;
    transform: none;
}

/* Dark mode */
html[data-theme="dark"] .product-card:hover {
    border-color: rgba(8, 168, 181, .34);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .product-card__wishlist {
    border-color: rgba(255, 255, 255, .08);
    background: rgba(5, 11, 14, .68);
    color: #f5f7f8;
}

html[data-theme="dark"] .product-card__wishlist:hover {
    border-color: rgba(8, 168, 181, .48);
    background: rgba(5, 11, 14, .82);
    color: var(--color-primary);
}

html[data-theme="dark"] .product-card__wishlist.is-active,
html[data-theme="dark"] .product-card__wishlist[aria-pressed="true"] {
    border-color: rgba(8, 168, 181, .42);
    background: rgba(5, 11, 14, .82);
    color: var(--color-primary);
}

/* Light mode */
html[data-theme="light"] .product-card:hover {
    border-color: rgba(8, 168, 181, .26);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

html[data-theme="light"] .product-card__wishlist {
    border-color: rgba(17, 24, 28, .07);
    background: rgba(255, 255, 255, .78);
    color: #182126;
}

html[data-theme="light"] .product-card__wishlist:hover,
html[data-theme="light"] .product-card__wishlist.is-active,
html[data-theme="light"] .product-card__wishlist[aria-pressed="true"] {
    border-color: rgba(8, 168, 181, .34);
    background: rgba(255, 255, 255, .9);
    color: var(--color-primary);
}

/* Mobile */
@media (max-width: 767px) {
    .product-card__wishlist {
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
        padding: 6px;
    }

    .product-card:hover {
        transform: none;
    }
}

@media (hover: none) {
    .product-card:hover {
        transform: none;
    }

    .product-card__wishlist:hover {
        transform: none;
    }
}

/* PRODUCT CARD FINAL INTERACTIONS END */
