.wishlist-page {
    max-width: 1280px;
    padding-top: 24px;
    padding-bottom: 88px;
    color: #173c35
}

.wishlist-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: #83918a;
    font-size: 14px
}

    .wishlist-breadcrumb a {
        color: #627a70;
        text-decoration: none
    }

        .wishlist-breadcrumb a:hover {
            color: #173c35
        }

.wishlist-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 220px;
    overflow: hidden;
    margin-bottom: 26px;
    padding: 38px 54px;
    border: 1px solid #e0e9df;
    border-radius: 22px;
    background: linear-gradient(115deg,#f6f8f4 0%,#edf4ed 100%)
}

    .wishlist-hero:after {
        position: absolute;
        right: 14%;
        bottom: -220px;
        width: 390px;
        height: 390px;
        border: 1px solid rgba(75,119,89,.12);
        border-radius: 50%;
        content: ""
    }

.wishlist-hero-copy {
    position: relative;
    z-index: 1
}

.wishlist-hero h1 {
    margin: 10px 0 8px;
    color: #173c35;
    font-family: Georgia,"Times New Roman",serif;
    font-size: clamp(38px,4.5vw,58px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -1.5px
}

.wishlist-hero p {
    max-width: 540px;
    margin: 0;
    color: #78877f;
    font-size: 16px;
    line-height: 1.6
}

.wishlist-hero-icon {
    position: relative;
    z-index: 1;
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border: 1px solid #d8e5d8;
    border-radius: 50%;
    background: rgba(255,255,255,.7);
    color: #719177;
    font-size: 43px
}

    .wishlist-hero-icon span {
        position: absolute;
        right: 14px;
        top: 22px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #cc9a50;
        box-shadow: 0 0 0 5px #f4f7ef
    }

.wishlist-state {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 38px 22px;
    border: 1px solid #e0e9df;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 16px 40px rgba(23,60,53,.045)
}

    .wishlist-state h2 {
        margin: 16px 0 8px;
        color: #173c35;
        font-family: Georgia,"Times New Roman",serif;
        font-size: 27px;
        font-weight: 500
    }

    .wishlist-state p {
        max-width: 520px;
        margin: 0 0 22px;
        color: #79877f;
        font-size: 15px;
        line-height: 1.65
    }

.wishlist-state-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf4ed;
    color: #527a60;
    font-size: 25px
}

.wishlist-spinner {
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    border: 3px solid #e2ebe2;
    border-top-color: #315f52;
    border-radius: 50%;
    animation: wishlist-spin .8s linear infinite
}

@keyframes wishlist-spin {
    to {
        transform: rotate(360deg)
    }
}

.wishlist-button-primary {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 21px;
    border: 1px solid #173c35;
    border-radius: 10px;
    background: #173c35;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer
}

    .wishlist-button-primary:hover {
        background: #28594f;
        color: #fff;
        text-decoration: none
    }

.wishlist-overview {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px
}

.wishlist-stat {
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 19px;
    border: 1px solid #e3ebe2;
    border-radius: 14px;
    background: #fff
}

.wishlist-stat-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eef5ee;
    color: #55805f;
    font-size: 20px
}

.wishlist-stat-price {
    background: #fbf3e7;
    color: #a17b3c
}

.wishlist-stat-value {
    background: #eef2f8;
    color: #617995
}

    .wishlist-stat-value + span strong {
        font-size: 16px
    }

.wishlist-stat strong, .wishlist-stat small {
    display: block
}

.wishlist-stat strong {
    color: #173c35;
    font-size: 20px;
    line-height: 1.1
}

.wishlist-stat small {
    margin-top: 4px;
    color: #87948d;
    font-size: 12px
}

.wishlist-overview-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 10px 14px;
    color: #78877f;
    font-size: 13px
}

    .wishlist-overview-note i {
        color: #789579;
        font-size: 18px
    }

.wishlist-price-changes {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding: 15px 18px;
    border: 1px solid #d9e7d8;
    border-radius: 13px;
    background: #f1f7ef;
    color: #315f43
}

.wishlist-change-icon {
    width: 42px;
    height: 42px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #e2efdf;
    color: #56805b;
    font-size: 20px
}

.wishlist-change-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px
}

    .wishlist-change-copy strong {
        color: #244d36;
        font-size: 14px
    }

    .wishlist-change-copy span {
        color: #718276;
        font-size: 13px;
        line-height: 1.5
    }

.wishlist-price-changes > button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-left: auto;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #6d8173;
    font-size: 19px;
    cursor: pointer
}

    .wishlist-price-changes > button:hover {
        background: #e3eee1
    }

.wishlist-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin: 34px 0 17px
}

    .wishlist-toolbar h2 {
        margin: 0 0 4px;
        color: #173c35;
        font-family: Georgia,"Times New Roman",serif;
        font-size: 27px;
        font-weight: 500
    }

    .wishlist-toolbar > div:first-child > span {
        color: #8a9690;
        font-size: 13px
    }

.wishlist-controls {
    display: flex;
    align-items: center;
    gap: 10px
}

.wishlist-filters {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 12px;
    padding: 4px;
    border: 1px solid #e4ebe3;
    border-radius: 11px;
    background: #f9fbf8
}

    .wishlist-filters button {
        padding: 8px 12px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #74847a;
        font: inherit;
        font-size: 12px;
        cursor: pointer
    }

        .wishlist-filters button.is-active {
            background: #fff;
            color: #315f43;
            box-shadow: 0 2px 8px rgba(23,60,53,.08)
        }

.wishlist-sort-label {
    color: #7f8d85;
    font-size: 13px
}

.wishlist-controls select {
    min-width: 150px;
    height: 42px;
    padding: 0 32px 0 12px;
    border: 1px solid #dce6dc;
    border-radius: 9px;
    background: #fff;
    color: #29463b;
    font: inherit;
    font-size: 13px
}

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

.wishlist-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e9df;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(23,60,53,.035);
    transition: transform .2s ease,box-shadow .2s ease
}

    .wishlist-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 32px rgba(23,60,53,.09)
    }

.wishlist-remove {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(224,233,223,.9);
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #a96869;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(23,60,53,.08);
    cursor: pointer
}

    .wishlist-remove:hover {
        border-color: #ebd0cd;
        background: #fff4f2;
        color: #9c4d53
    }

    .wishlist-remove:disabled, .wishlist-add-cart:disabled, .wishlist-cart-qty-stepper button:disabled {
        opacity: .55;
        cursor: wait
    }

.wishlist-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f4f6f3
}

    .wishlist-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        mix-blend-mode: multiply
    }

.wishlist-card-body {
    padding: 17px 18px 18px
}

.wishlist-category {
    display: block;
    overflow: hidden;
    margin-bottom: 7px;
    color: #8b9a8f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap
}

.wishlist-card h3 {
    min-height: 48px;
    margin: 0 0 7px;
    color: #173c35;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5
}

    .wishlist-card h3 a {
        color: inherit;
        text-decoration: none
    }

        .wishlist-card h3 a:hover {
            color: #58795c
        }

.wishlist-description {
    display: -webkit-box;
    min-height: 19px;
    overflow: hidden;
    margin: 0 0 9px;
    color: #849189;
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1
}

.wishlist-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 2px 0 8px;
    font-size: 12px
}

    .wishlist-stock.is-available {
        color: #54805a
    }

    .wishlist-stock.is-unavailable {
        color: #a76e61
    }

.wishlist-price-status {
    display: table;
    margin: 1px 0 8px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700
}

    .wishlist-price-status.is-down {
        background: #edf6eb;
        color: #4e8151
    }

    .wishlist-price-status.is-up {
        background: #fff2ec;
        color: #a76350
    }

.wishlist-price-row {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 1px 0 14px;
    color: #173c35
}

    .wishlist-price-row strong {
        font-size: 20px;
        font-weight: 800
    }

    .wishlist-price-row del {
        color: #99a39d;
        font-size: 13px
    }

.wishlist-card-actions {
    display: flex;
    align-items: center;
    gap: 9px
}

.wishlist-add-cart {
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #173c35;
    border-radius: 9px;
    background: #173c35;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer
}

    .wishlist-add-cart:hover:not(:disabled) {
        background: #28594f
    }

.wishlist-view-product {
    width: 44px;
    height: 44px;
    display: grid;
    flex: none;
    place-items: center;
    border: 1px solid #e0e9df;
    border-radius: 9px;
    color: #315f52;
    text-decoration: none
}

    .wishlist-view-product:hover {
        background: #f1f6ef;
        color: #173c35
    }

.wishlist-card-actions > .wishlist-cart-qty-stepper {
    flex: 1;
    justify-content: space-between;
    min-width: 0
}

    .wishlist-card-actions > .wishlist-cart-qty-stepper .cart-qty-value {
        min-width: 35px
    }

.wishlist-footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 24px 0 0;
    color: #8a9690;
    font-size: 12px;
    text-align: center
}

    .wishlist-footnote i {
        font-size: 16px;
        color: #8c9d8d
    }

@media(max-width:991px) {
    .wishlist-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .wishlist-hero {
        padding: 34px
    }

    .wishlist-toolbar {
        align-items: flex-start;
        flex-direction: column
    }

    .wishlist-controls {
        width: 100%;
        flex-wrap: wrap
    }

    .wishlist-filters {
        margin-right: auto
    }
}

@media(max-width:575px) {
    .wishlist-page {
        padding-top: 18px;
        padding-bottom: 55px
    }

    .wishlist-breadcrumb {
        margin-bottom: 20px
    }

    .wishlist-hero {
        min-height: 190px;
        margin-bottom: 18px;
        padding: 25px 22px;
        border-radius: 17px
    }

        .wishlist-hero h1 {
            font-size: 39px
        }

        .wishlist-hero p {
            max-width: 270px;
            font-size: 14px
        }

    .wishlist-hero-icon {
        width: 70px;
        height: 70px;
        font-size: 27px
    }

        .wishlist-hero-icon span {
            right: 7px;
            top: 11px;
            width: 9px;
            height: 9px
        }

    .wishlist-overview {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .wishlist-stat {
        min-width: 0;
        padding: 12px
    }

    .wishlist-stat-icon {
        width: 36px;
        height: 36px;
        font-size: 17px
    }

    .wishlist-stat strong {
        font-size: 18px
    }

    .wishlist-overview-note {
        grid-column: 1/-1;
        margin: 0;
        padding: 4px 2px
    }

    .wishlist-toolbar {
        margin: 27px 0 15px
    }

        .wishlist-toolbar h2 {
            font-size: 24px
        }

    .wishlist-controls {
        gap: 8px
    }

    .wishlist-filters {
        width: 100%;
        justify-content: space-between;
        margin: 0
    }

        .wishlist-filters button {
            flex: 1;
            padding: 8px 7px
        }

    .wishlist-sort-label {
        margin-left: 2px
    }

    .wishlist-controls select {
        flex: 1;
        min-width: 0
    }

    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .wishlist-card {
        display: grid;
        grid-template-columns: 116px minmax(0,1fr);
        align-items: stretch;
        border-radius: 13px
    }

    .wishlist-image {
        grid-row: 1;
        grid-column: 1;
        height: auto;
        min-height: 205px;
        padding: 11px
    }

    .wishlist-card-body {
        grid-row: 1;
        grid-column: 2;
        padding: 15px 13px 13px
    }

    .wishlist-card h3 {
        min-height: unset;
        margin-bottom: 6px;
        font-size: 14px;
        line-height: 1.4
    }

    .wishlist-description {
        display: none
    }

    .wishlist-stock {
        margin: 1px 0 7px;
        font-size: 11px
    }

    .wishlist-price-row {
        gap: 6px;
        margin-bottom: 10px
    }

        .wishlist-price-row strong {
            font-size: 17px
        }

        .wishlist-price-row del {
            font-size: 11px
        }

    .wishlist-add-cart {
        min-height: 40px;
        font-size: 12px
    }

    .wishlist-view-product {
        width: 40px;
        height: 40px
    }

    .wishlist-remove {
        top: 8px;
        right: 8px;
        width: 31px;
        height: 31px;
        font-size: 15px
    }

    .wishlist-card-actions > .cart-qty-stepper {
        gap: 4px
    }

        .wishlist-card-actions > .cart-qty-stepper button {
            width: 27px;
            height: 28px
        }

        .wishlist-card-actions > .cart-qty-stepper .cart-qty-value {
            min-width: 26px;
            font-size: 13px
        }

    .wishlist-price-changes {
        align-items: flex-start;
        padding: 12px;
        gap: 10px
    }

    .wishlist-change-icon {
        width: 36px;
        height: 36px
    }

    .wishlist-change-copy span {
        font-size: 12px
    }
}

@media(prefers-reduced-motion:reduce) {
    .wishlist-spinner {
        animation: none
    }

    .wishlist-card {
        transition: none
    }
}

/* Keep the saved-product cards compact so more of the wishlist fits on screen. */
.wishlist-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px
}

.wishlist-image {
    height: 180px;
    padding: 14px
}

.wishlist-card-body {
    padding: 14px 16px 15px
}

.wishlist-category {
    margin-bottom: 5px
}

.wishlist-card h3 {
    min-height: 0;
    margin-bottom: 5px;
    line-height: 1.35
}

.wishlist-description {
    margin-bottom: 5px
}

.wishlist-stock {
    margin: 1px 0 5px
}

.wishlist-price-status {
    margin: 0 0 5px;
    padding: 3px 7px
}

.wishlist-price-row {
    margin: 0 0 9px
}

.wishlist-add-cart, .wishlist-view-product {
    min-height: 40px;
    height: 40px
}

.wishlist-view-product {
    width: 40px
}

@media(max-width:767px) {
    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .wishlist-image {
        height: 160px
    }
}
