.favorite-button{display:inline-grid;place-items:center;width:38px;height:38px;flex:0 0 38px;padding:0;border:1px solid #e3eaf1;border-radius:50%;background:#fff;color:#7790a6;cursor:pointer;transition:color .18s,background .18s,transform .18s;position:relative;z-index:3;box-shadow:0 3px 10px #17345308}.favorite-button svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}.favorite-button[aria-pressed=true]{color:#df4865;background:#fff5f7;border-color:#f7d9e0}.favorite-button[aria-pressed=true] svg{fill:currentColor}.favorite-button:hover{transform:scale(1.07);color:#df4865}.favorite-button:focus-visible{outline:3px solid #9ab8d3;outline-offset:3px}.favorite-button:disabled{cursor:wait;opacity:.65}.catalog-card>.favorite-button,.home-product>.favorite-button{position:absolute;right:12px;top:12px}.home-product{position:relative}.shop-list-item>.favorite-button{margin:8px}.product-detail-info>.favorite-button{float:right;margin:10px 0 10px 12px}.favorites-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 26px}.favorites-heading h1{font-size:32px;color:#183b56;letter-spacing:-1px;margin:8px 0}.favorites-heading p{font-size:13px;color:#8192a6;margin:0}.favorites-count{padding:10px 16px;background:#eaf0f6;border-radius:24px;font-size:12px;white-space:nowrap}.favorites-toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:20px;font-size:12px;color:#7890a6}.favorites-toolbar a{color:#183b56}.favorites-empty{padding:65px 24px;text-align:center;background:#fff;border:1px solid #e3eaf1;border-radius:18px}.favorites-empty h2{font-size:23px;color:#193d58}.favorites-empty p{color:#8192a6;font-size:13px;margin:14px 0 24px}.favorites-empty>a{display:inline-block;background:#183b56;color:#fff;border-radius:9px;padding:13px 24px;font-size:13px}.favorites-pagination{display:flex;justify-content:center;gap:24px;align-items:center;margin-top:28px;font-size:13px}.favorites-grid .catalog-card{transition:opacity .2s}.favorites-grid .catalog-card.favorite-removed{opacity:.6}.favorites-grid .catalog-card.favorite-removed .favorite-button{opacity:1}.favorites-page .favorites-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.favorites-grid .catalog-card-image{height:180px;padding:24px}@media(max-width:1100px){.favorites-page .favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.favorites-heading h1{font-size:27px}.favorites-toolbar{flex-wrap:wrap}.favorites-page .favorites-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.favorite-button{animation:none;transition:none}}
.favorites-filters{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;padding:18px;margin:0 0 20px;background:#fff;border:1px solid #e3eaf1;border-radius:12px}.favorites-filters>label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#647d94;min-width:150px}.favorites-filters .favorites-search{flex:1;min-width:220px}.favorites-filters input[type=search],.favorites-filters select{width:100%;height:42px;border:1px solid #e0e8f0;border-radius:8px;padding:0 12px;background:#f9fbfd;font-size:12px;color:#203e57}.favorites-filters .favorites-stock{flex-direction:row;align-items:center;min-height:42px;min-width:0;font-size:12px;cursor:pointer}.favorites-stock input{accent-color:#287e71;width:16px;height:16px}.favorites-filters button{height:42px;border:0;border-radius:8px;padding:0 17px;background:#1b405e;color:white;font-size:12px;cursor:pointer}.favorites-clear{align-self:center;color:#627d94;font-size:12px}.favorites-filters :focus-visible{outline:2px solid #87abc7;outline-offset:2px}@media(max-width:600px){.favorites-filters{gap:12px;padding:15px}.favorites-filters>label{width:100%;min-width:0}.favorites-filters .favorites-stock{width:auto;flex:1}.favorites-filters .favorites-search{min-width:0}.favorites-clear{width:100%}}

/* The empty favorites illustration is decorative and reserves its layout space. */
.favorites-empty > .favorites-discover { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 10px 14px 10px 20px; font-size: 12px; font-weight: 500; }
.favorites-discover .store-link-arrow { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #ffffff16; color: #fff; }
.favorites-discover .store-link-arrow svg { display: block; width: 13px; height: 13px; }
.favorites-empty > .favorites-discover:hover { background: #254d6b; }
.favorites-empty > .favorites-discover:focus-visible { outline: 3px solid #91b1ca; outline-offset: 3px; }
.favorites-empty--illustrated { padding: 40px 24px 48px; }
.favorites-empty-heart { position: relative; display: grid; place-items: center; width: 176px; height: 160px; margin: 0 auto 16px; isolation: isolate; }
.favorites-empty-heart::before { content: ""; position: absolute; inset: 14px 18px 4px; border-radius: 50%; background: radial-gradient(ellipse, #fff0f3 0%, #fff8f9 65%, #fff 100%); z-index: -1; }
.favorites-empty-heart img { display: block; width: 160px; height: 160px; object-fit: contain; }
@media(max-width:600px) {
    .favorites-empty--illustrated { padding: 32px 20px 38px; }
    .favorites-empty-heart { width: 156px; height: 140px; margin-bottom: 16px; }
    .favorites-empty-heart img { width: 140px; height: 140px; }
}

/* Compact feedback shared by every favorite button. */
.favorite-feedback {
    --favorite-accent: #b83b5c;
    --favorite-tint: #fff1f5;
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10050;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    width: 326px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    padding: 15px 32px 13px 14px;
    border: 1px solid #e7e8ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px #1734531a, 0 2px 5px #17345305;
    color: #193d58;
    overflow: hidden;
    animation: favorite-feedback-enter .24s ease-out;
}
.favorite-feedback[hidden], .favorite-feedback [hidden] { display: none !important; }
.favorite-feedback-icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 12px; background: var(--favorite-tint); color: var(--favorite-accent); }
.favorite-feedback-icon svg { display: block; }
.favorite-feedback[data-state=added] .favorite-feedback-heart { fill: currentColor; }
.favorite-feedback-warning { display: none; }
.favorite-feedback-copy { flex: 1; min-width: 0; }
.favorite-feedback-title { display: block; margin: 0; color: #193d58; font-size: 13px; font-weight: 650; line-height: 1.5; letter-spacing: -.1px; }
.favorite-feedback-message { margin: 3px 0 0; color: #687e90; font-size: 11px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.favorite-feedback-link { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; margin-top: 5px; color: var(--favorite-accent); font-size: 11px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.favorite-feedback-link:hover { color: #193d58; text-decoration: none; }
.favorite-feedback-close { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8a9aaa; cursor: pointer; }
.favorite-feedback-close:hover { color: #193d58; background: #f1f5f8; }
.favorite-feedback :is(button,a):focus-visible { outline: 2px solid #7c9bb8; outline-offset: 2px; }
.favorite-feedback-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--favorite-accent); opacity: .45; transform-origin: left; animation: favorite-feedback-countdown 4s linear forwards; }
.favorite-feedback[data-state=removed] { --favorite-accent: #577b97; --favorite-tint: #eef4f8; }
.favorite-feedback[data-state=error] { --favorite-accent: #ac5a2b; --favorite-tint: #fff2e8; }
.favorite-feedback[data-state=error] .favorite-feedback-heart { display: none; }
.favorite-feedback[data-state=error] .favorite-feedback-warning { display: block; }
.favorite-feedback[data-state=error] .favorite-feedback-message { white-space: normal; overflow-wrap: anywhere; }
@keyframes favorite-feedback-enter { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes favorite-feedback-countdown { to { transform: scaleX(0); } }
@media(max-width:550px) {
    .favorite-feedback { top: max(12px, env(safe-area-inset-top)); right: 12px; max-width: calc(100vw - 24px); }
}
@media(prefers-reduced-motion:reduce) { .favorite-feedback, .favorite-feedback-progress { animation: none; } }
