.favorite-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #dce3ef;
    border-radius: 50%;
    color: #182b4d;
    background: #fffefa;
    font-size: 1.05rem;
    cursor: pointer;
}
.favorite-toggle:hover { background: #f4e7cc; }
.favorite-toggle[aria-pressed=true] { color: #832741; border-color: #e8bcc7; background: #fff1f4; }
.favorite-toggle:focus-visible { outline: 2px solid #9b7332; outline-offset: 2px; }
.favorite-toggle:disabled { opacity: .6; cursor: wait; }
.product-card { position: relative; }
.product-card > .favorite-slot { position: absolute; z-index: 3; top: .55rem; right: .55rem; }
.product-page-info > .favorite-slot, .modal-info > .favorite-slot { margin-block: .5rem; }
.favorite-nav-link { min-height: 40px; }
.favorite-shell {
    --favorite-ink: #182b4d;
    --favorite-muted: #51627c;
    --favorite-gold: #e6ca92;
    container-type: inline-size;
    min-width: 0;
}
.favorite-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.15rem;
    padding: clamp(1rem, 4vw, 2rem);
    border: 1px solid #3b5075;
    border-top-color: #c3a16b;
    border-radius: 1.05rem;
    color: #fff9ed;
    background: radial-gradient(ellipse at 5% 100%, #354d74 0%, transparent 65%), linear-gradient(115deg, #172946, #101c33);
    box-shadow: 0 9px 24px #1527431f;
}
.favorite-hero-main { display: flex; gap: .85rem; align-items: center; min-width: 0; }
.favorite-hero-icon,
.favorite-empty-icon {
    display: grid;
    flex: 0 0 auto;
    width: clamp(2.8rem, 7vw, 4.15rem);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid #e6ca9266;
    border-radius: .85rem;
    color: var(--favorite-gold);
    background: #ffffff10;
    font-size: clamp(1.2rem, 3vw, 1.75rem);
}
.favorite-hero h2 { margin: 0; color: inherit; font: 700 clamp(1.45rem, 4vw, 2.5rem)/1.16 var(--font-heading); letter-spacing: -.035em; }
.favorite-hero p { margin: .25rem 0 0; color: #e0e7f5; font-size: .87rem; }
.favorite-explore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 44px;
    padding: .55rem .9rem;
    border: 1px solid var(--favorite-gold);
    border-radius: .55rem;
    color: #192843;
    background: var(--favorite-gold);
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
}
.favorite-explore:hover { background: #f1dbad; }
.favorite-explore:focus-visible { outline: 2px solid #fff9ed; outline-offset: 3px; }
.favorite-panel-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(.65rem, 2vw, 1rem);
    margin-top: 1rem;
}
.favorite-panel-list:empty { display: none; }
@container (min-width: 19.5rem) {
    .favorite-panel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (min-width: 41rem) {
    .favorite-panel-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.favorite-entry {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5ded0;
    border-radius: .85rem;
    background: #fffdf8;
    box-shadow: 0 4px 15px #1527430c;
}
.favorite-entry a { display: grid; color: var(--favorite-ink); text-decoration: none; }
.favorite-entry a:focus-visible { outline: 2px solid #9b7332; outline-offset: -2px; }
.favorite-entry a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.favorite-entry img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; background: #e8edf4; }
.favorite-entry-details { display: grid; gap: .35rem; padding: clamp(.7rem, 2vw, .95rem); overflow-wrap: anywhere; }
.favorite-entry-details small { color: var(--favorite-muted); font-size: .76rem; }
.favorite-entry-details h3 { margin: 0; color: var(--favorite-ink); font-size: clamp(.95rem, 2vw, 1.12rem); line-height: 1.3; }
.favorite-entry-price { color: #253d65; font-size: .86rem; }
.favorite-entry .favorite-toggle { position: absolute; top: .55rem; right: .55rem; }
.favorite-feedback {
    margin: 1rem 0 0;
    padding: .8rem 1rem;
    border: 1px solid #e1e5ed;
    border-radius: .7rem;
    color: var(--favorite-muted);
    background: #fffdfa;
}
.favorite-feedback:empty { display: none; }
.favorite-empty {
    margin-top: 1rem;
    padding: clamp(1.6rem, 6vw, 3.75rem) 1rem;
    border: 1px solid #e5ded0;
    border-radius: .9rem;
    color: var(--favorite-ink);
    background: radial-gradient(ellipse at top center, #f5ecda, #fffdf8 70%);
    text-align: center;
}
.favorite-empty-icon { margin: 0 auto .9rem; color: #825d28; border-color: #d5b77e; background: #f3e7ce; }
.favorite-empty h3 { margin: 0 0 .35rem; font: 700 clamp(1.05rem, 2.5vw, 1.35rem) var(--font-heading); }
.favorite-empty p { margin: 0; color: var(--favorite-muted); font-size: .88rem; }
.favorite-pagination { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .6rem; margin-top: .9rem; }
.favorite-pagination:empty { display: none; }
.favorite-pagination span { margin-right: auto; color: var(--favorite-muted); font-size: .84rem; }
.favorite-pagination button { min-height: 44px; }
@container (max-width: 27rem) {
    .favorite-explore { width: 100%; }
}

.favorite-compact-link { display: none; }
@media (max-width: 440px) {
    .nav-actions > a.favorite-nav-link { display: none; }
    .favorite-compact-link {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        gap: .4rem;
        color: #182b4d;
        font-weight: 650;
    }
}
