/* Favorites use the theme's indigo, pale blue and Montserrat palette. */
.bs-favorites-nav {
    align-items: center;
    color: #4f46e5;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 5px;
    margin-right: 13px;
    min-height: 44px;
    text-decoration: none;
    white-space: nowrap;
}
.bs-favorites-nav:hover, .bs-favorites-nav:focus { color: #3730a3; text-decoration: none; }
.bs-favorites-nav__icon { display: inline-flex; }
.bs-favorites-nav__icon svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; width: 23px; height: 23px; }
.bs-favorites-nav__label { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; }
.bs-favorites-count { align-items: center; background: #e9e7ff; border-radius: 100px; color: #4338ca; display: inline-flex; font-size: 11px; font-weight: 700; justify-content: center; min-height: 20px; min-width: 20px; padding: 0 5px; }
.top-head .bs-favorites-nav__label { display: none; }
.menu_container { display: flex; align-items: center; }
.bs-favorites-nav--mobile { margin: 0 10px 0 0; }

.woocommerce ul.products li.product { position: relative; }
.bs-favorite-button {
    align-items: center;
    appearance: none;
    background: #fff;
    border: 1px solid #e1e5f0;
    border-radius: 100px;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    gap: 9px;
    justify-content: center;
    line-height: 1.2;
    min-height: 42px;
    padding: 9px 14px;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.bs-favorite-button svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; flex: 0 0 auto; }
.bs-favorite-button:hover { background: #f6f5ff; border-color: #c7c3ff; color: #4f46e5; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(79,70,229,.12); }
.bs-favorite-button:focus-visible, .bs-favorites-nav:focus-visible, .bs-favorites-pagination button:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 3px; }
.bs-favorite-button.is-active { background: #fdf1f5; border-color: #f7cbd8; color: #d73955; }
.bs-favorite-button.is-active svg { fill: currentColor; }
.bs-favorite-button:disabled { cursor: wait; opacity: .65; }
.bs-favorite-button--loop { border: 0; box-shadow: 0 3px 14px rgba(30,41,59,.13); height: 42px; padding: 0; position: absolute; right: 24px; top: 24px; width: 42px; z-index: 3; }
.bs-favorite-button--loop .bs-favorite-button__text { border: 0; clip: rect(0,0,0,0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; }
.bs-favorite-button--single { margin: 8px 0 20px; }

.bs-favorites-page { font-family: 'Montserrat', sans-serif; margin: 12px 0 70px; }
.bs-favorites-intro { align-items: center; background: linear-gradient(115deg, #f2f1ff 0%, #f5f9ff 100%); border: 1px solid #e6e7fa; border-radius: 18px; display: flex; gap: 20px; margin-bottom: 30px; padding: 24px 30px; }
.bs-favorites-intro__icon { align-items: center; background: #fff; border-radius: 16px; box-shadow: 0 8px 24px rgba(79,70,229,.1); color: #4f46e5; display: flex; flex: 0 0 58px; height: 58px; justify-content: center; }
.bs-favorites-intro__icon svg { fill: none; height: 29px; stroke: currentColor; stroke-width: 1.7; width: 29px; }
.bs-favorites-intro__eyebrow { color: #4338ca; font-size: 12px; font-weight: 700; letter-spacing: .08em; margin: 0 0 4px; text-transform: uppercase; }
.bs-favorites-intro__text { color: #334155; font-size: 15px; line-height: 1.5; margin: 0; }
.bs-favorites-intro__count { background: #fff; border-radius: 100px; color: #4338ca; font-size: 13px; font-weight: 700; margin-left: auto; padding: 10px 16px; white-space: nowrap; }
.bs-favorites-page .bs-favorites-results ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bs-favorites-page .bs-favorites-results ul.products::before,
.bs-favorites-page .bs-favorites-results ul.products::after { display: none; }
.bs-favorites-page .bs-favorites-results ul.products li.product {
    background: #fff;
    border: 1px solid #e8eaf3;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(30, 41, 59, .055);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    float: none !important;
    list-style: none;
    margin: 0 !important;
    min-width: 0;
    overflow: hidden;
    padding: 14px !important;
    position: relative;
    width: auto !important;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.bs-favorites-page .bs-favorites-results ul.products li.product:hover {
    border-color: #d7d5f9;
    box-shadow: 0 12px 32px rgba(79, 70, 229, .12);
    transform: translateY(-3px);
}
.bs-favorites-page .bs-favorites-results li.product > a.woocommerce-loop-product__link {
    color: #1e293b;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    text-decoration: none;
}
.bs-favorites-page .bs-favorites-results li.product > a.woocommerce-loop-product__link:hover { color: #1e293b; }
.bs-favorites-page .bs-favorites-results li.product > a img {
    aspect-ratio: 1;
    background: #f6f8fc;
    border-radius: 9px;
    display: block;
    height: auto;
    margin: 0 0 15px;
    object-fit: cover;
    width: 100%;
}
.bs-favorites-page .bs-favorites-results li.product .woocommerce-loop-product__title {
    color: #1e293b;
    display: -webkit-box;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    height: auto;
    line-height: 1.45;
    margin: 0 0 14px;
    min-height: 65px;
    overflow: hidden;
    padding: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.bs-favorites-page .bs-favorites-results li.product .price {
    align-items: baseline;
    color: #4f46e5;
    display: flex;
    flex-wrap: wrap;
    font-size: 17px;
    font-weight: 700;
    gap: 4px;
    line-height: 1.3;
    margin: auto 0 8px;
}
.bs-favorites-page .bs-favorites-results li.product .price .from { color: #64748b; font-size: 12px; font-weight: 500; }
.bs-favorites-page .bs-favorites-results li.product .price bdi { color: #4f46e5; font-size: 18px; font-weight: 700; }
.bs-favorites-page .bs-favorites-results li.product .stock {
    align-self: flex-start;
    background: #edf8f0;
    border-radius: 100px;
    color: #287a45;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    padding: 5px 9px;
}
.bs-favorites-page .bs-favorites-results li.product .stock.out-of-stock { background: #fff0f1; color: #be3d50; }
.bs-favorites-page .bs-favorites-results li.product .bs-favorite-button--loop { right: 24px; top: 24px; }
.bs-favorites-loading, .bs-favorites-error { color: #64748b; padding: 35px 0; text-align: center; }
.bs-favorites-empty { background: #fff; border: 1px dashed #cbd2e7; border-radius: 18px; margin: 6px 0; padding: 55px 20px; text-align: center; }
.bs-favorites-empty__heart { align-items: center; background: #f2f1ff; border-radius: 50%; color: #4f46e5; display: inline-flex; font-size: 45px; height: 78px; justify-content: center; line-height: 1; margin-bottom: 20px; width: 78px; }
.bs-favorites-empty h2 { color: #1e293b; font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 700; margin: 0 0 10px; }
.bs-favorites-empty p { color: #64748b; margin-bottom: 25px; }
.bs-favorites-shop-link { background: #4f46e5; border-radius: 9px; color: #fff !important; display: inline-flex; font-weight: 700; gap: 10px; padding: 13px 20px; text-decoration: none !important; transition: background .18s ease, transform .18s ease; }
.bs-favorites-shop-link:hover { background: #3730a3; transform: translateY(-2px); }
.bs-favorites-pagination { align-items: center; display: flex; gap: 15px; justify-content: center; margin: 28px 0; }
.bs-favorites-pagination button { background: #fff; border: 1px solid #dddff0; border-radius: 8px; color: #4338ca; cursor: pointer; font-weight: 700; padding: 10px 14px; }
.bs-favorites-pagination button:hover:not(:disabled) { background: #f2f1ff; }
.bs-favorites-pagination button:disabled { color: #94a3b8; cursor: default; }
.bs-favorites-notice { background: #1e293b; border-radius: 10px; bottom: 24px; box-shadow: 0 12px 32px rgba(15,23,42,.2); color: #fff; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; left: 50%; opacity: 0; padding: 13px 20px; pointer-events: none; position: fixed; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; z-index: 11000; }
.bs-favorites-notice.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 767px) {
    .bs-favorite-button--loop { right: 20px; top: 20px; }
    .bs-favorites-intro { align-items: flex-start; flex-wrap: wrap; gap: 13px; padding: 18px; }
    .bs-favorites-intro__icon { flex-basis: 46px; height: 46px; border-radius: 12px; }
    .bs-favorites-intro__icon svg { width: 23px; height: 23px; }
    .bs-favorites-intro > div { flex: 1 1 calc(100% - 62px); }
    .bs-favorites-intro__count { margin: 0 0 0 59px; }
    .bs-favorites-empty { padding: 40px 16px; }
    .bs-favorites-empty h2 { font-size: 21px; }
}

@media (max-width: 1100px) {
    .bs-favorites-page .bs-favorites-results ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .bs-favorites-page .bs-favorites-results ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 560px) {
    .bs-favorites-page .bs-favorites-results ul.products { grid-template-columns: minmax(0, 1fr); }
    .bs-favorites-page .bs-favorites-results ul.products li.product { padding: 12px !important; }
    .bs-favorites-page .bs-favorites-results li.product .bs-favorite-button--loop { right: 22px; top: 22px; }
}
