.odvv-header-favorites {
    position: relative;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    gap: 3px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    vertical-align: middle;
}
.odvv-header-favorites:has(.odvv-favorites-count[hidden]) {
    width: 32px;
}
.odvv-header-favorites svg {
    flex: none;
    width: 23px;
    height: 23px;
    overflow: visible;
}
.odvv-header-favorites[aria-pressed='true'] {
    color: #b53636;
}
.odvv-header-favorites[aria-pressed='true'] svg {
    fill: currentColor;
}
.odvv-header-favorites:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}
.odvv-header-favorites:focus-visible {
    outline: 2px solid #b53636;
    outline-offset: 2px;
    border-radius: 5px;
}
#js-product-list .odvv-favorite-excluded {
    display: none !important;
}
/* Favorites share one grid; keep the original DOM and finish selection for restoring the catalog. */
#js-product-list.odvv-favorites-only {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--odvv-product-gap, 8px);
}
#js-product-list.odvv-favorites-only
    :is(
        .odvv-pair-placeholder,
        .odvv-list-category-header,
        [data-odvv-list-category],
        .odvv-family-header
    ) {
    display: none !important;
}
#js-product-list.odvv-favorites-only
    :is(
        .products,
        [data-odvv-category-group],
        .odvv-family-group,
        .odvv-family-body,
        .odvv-family-body-inner
    ):not(.odvv-favorite-excluded) {
    display: contents !important;
}
#page:has([data-odvv-navigation], [data-odvv-catalog])
    #js-product-list.odvv-favorites-only
    > .products.grid:not(.odvv-favorite-excluded) {
    display: contents !important;
}
#page:has([data-odvv-navigation], [data-odvv-catalog])
    #js-product-list.odvv-favorites-only
    > .products.grid
    > .odvv-family-group.ob-family:not(.odvv-favorite-excluded) {
    display: contents !important;
}
#page:has([data-odvv-navigation], [data-odvv-catalog])
    #js-product-list.odvv-favorites-only
    .odvv-family-group
    .odvv-family-body-inner
    > .products.grid.odvv-family-products {
    display: contents !important;
}
#page #js-product-list.odvv-favorites-only .ob-product-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    grid-column: auto !important;
}
#js-product-list.odvv-favorites-only .js-product-miniature {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    grid-column: auto !important;
}
#page
    #js-product-list.odvv-favorites-only
    :is(.odvv-family-group, .odvv-family-body, .ob-product-card)::before {
    content: none !important;
}
#page
    #js-product-list.odvv-favorites-only
    :is(.odvv-family-group, .odvv-family-body, .ob-product-card)::after {
    content: none !important;
}
#js-product-list.odvv-favorites-only .pagination {
    grid-column: 1 / -1;
}
@media (min-width: 1000px) {
    #js-product-list.odvv-favorites-only {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
.odvv-favorite-flight {
    position: fixed;
    z-index: 2147483646;
    pointer-events: none;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 20px #0003;
    will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
    .odvv-favorite-flight {
        display: none;
    }
}

.odvv-header-favorites .odvv-favorites-count {
    position: static;
    flex: none;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    pointer-events: none;
}
.odvv-header-favorites .odvv-favorites-count[hidden] {
    display: none;
}
.odvv-header-favorites.odvv-favorite-added svg {
    fill: currentColor;
    color: #b53636;
    animation: odvv-favorite-blink 1s ease-in-out;
}
@keyframes odvv-favorite-blink {
    0%,
    40%,
    80%,
    100% {
        opacity: 1;
    }
    20%,
    60% {
        opacity: 0.25;
    }
}
@media (prefers-reduced-motion: reduce) {
    .odvv-header-favorites.odvv-favorite-added svg {
        animation: none;
    }
}

/* Flatten every category/family wrapper, including Bootstrap row clearfix cells. */
#js-product-list.odvv-favorites-only
    :is(
        .products,
        [data-odvv-category-group],
        .odvv-family-group,
        .odvv-family-body,
        .odvv-family-body-inner
    )::before {
    content: none !important;
    display: none !important;
}
#js-product-list.odvv-favorites-only
    :is(
        .products,
        [data-odvv-category-group],
        .odvv-family-group,
        .odvv-family-body,
        .odvv-family-body-inner
    )::after {
    content: none !important;
    display: none !important;
}
#js-product-list.odvv-favorites-only .odvv-family-compact-title {
    display: none !important;
}
#js-product-list.odvv-favorites-only .odvv-family-more {
    display: none !important;
}
#js-product-list.odvv-favorites-only .odvv-family-close {
    display: none !important;
}
#js-product-list.odvv-favorites-only .odvv-family-popup-finishes {
    display: none !important;
}
#js-product-list.odvv-favorites-only .ob-product-card {
    grid-row: auto !important;
    order: 0 !important;
    align-self: start;
}
#js-product-list.odvv-favorites-only {
    grid-auto-flow: row dense;
    align-items: start;
}
#js-product-list:not(.odvv-favorites-only) .odvv-favorites-imported {
    display: none !important;
}
#js-product-list.odvv-favorites-only .odvv-favorites-imported {
    display: contents !important;
}
#products:has(.odvv-favorites-only) > .odvv-progressive-control {
    display: none !important;
}
#products:has(.odvv-favorites-only) > .odvv-progressive-skeleton {
    display: none !important;
}
.odvv-favorites-loader {
    padding: 12px;
    text-align: center;
    color: #795034;
    font:
        13px/1.4 Arial,
        sans-serif;
}
.odvv-favorites-loader[hidden] {
    display: none;
}
.odvv-favorites-loader button {
    margin-left: 8px;
    padding: 6px 10px;
    border: 1px solid #bca487;
    border-radius: 7px;
    background: #faf6ee;
    color: #795034;
}

/* Give favorites their own grid; family controls and clearfixes cannot occupy cells. */
#page #js-product-list.odvv-favorites-only {
    display: block !important;
}
#page #js-product-list.odvv-favorites-only > :not(.odvv-favorites-grid) {
    display: none !important;
}
#page #js-product-list.odvv-favorites-only::before {
    content: none !important;
    display: none !important;
}
#page #js-product-list.odvv-favorites-only::after {
    content: none !important;
    display: none !important;
}
#page #js-product-list.odvv-favorites-only > .odvv-favorites-grid::before {
    content: none !important;
    display: none !important;
}
#page #js-product-list.odvv-favorites-only > .odvv-favorites-grid::after {
    content: none !important;
    display: none !important;
}
#page #js-product-list.odvv-favorites-only > .odvv-favorites-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row dense;
    gap: var(--odvv-product-gap, 8px);
    align-items: start;
}
@media (min-width: 1000px) {
    #page #js-product-list.odvv-favorites-only > .odvv-favorites-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (min-width: 768px) {
    #shopping-cart:has(> .blockcart > .odvv-header-favorites-desktop) {
        --odvv-header-action-gap: 24px;
        margin-left: var(--odvv-header-action-gap);
        flex-shrink: 0;
    }
    #shopping-cart .blockcart:has(> .odvv-header-favorites-desktop) {
        display: flex;
        align-items: center;
        gap: var(--odvv-header-action-gap);
    }
    #shopping-cart .odvv-header-favorites-desktop + .shopping-cart-block {
        margin-left: 0 !important;
    }
    #shopping-cart .odvv-header-favorites-desktop {
        display: grid;
        grid-template-columns: 35px max-content;
        align-items: center;
        column-gap: 10px;
        width: auto;
        height: auto;
        min-height: 40px;
        padding: 0;
        color: inherit;
        font: inherit;
        text-align: left;
    }
    #shopping-cart .odvv-header-favorites-desktop svg {
        grid-column: 1;
        width: 35px;
        height: 35px;
        color: #6e4c30;
        fill: currentColor;
        stroke-width: 1.25;
    }
    #shopping-cart .odvv-header-favorites-desktop[aria-pressed='true'] svg {
        color: #b53636;
    }
    #shopping-cart .odvv-favorites-copy {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    #shopping-cart .odvv-favorites-title {
        color: inherit;
    }
    #shopping-cart .odvv-favorites-summary {
        font-size: 14px;
        line-height: 1.2;
        white-space: nowrap;
    }
    #shopping-cart .odvv-header-favorites-desktop .odvv-favorites-count {
        position: absolute;
        top: -3px;
        left: -5px;
        right: auto;
        height: 18px;
        min-width: 18px;
        padding: 0 4px;
        font-size: 11px;
        line-height: 18px;
    }
    #shopping-cart .odvv-header-favorites-desktop:hover .odvv-favorites-title {
        color: #6e4c30;
    }
}
@media (min-width: 768px) and (max-width: 999px) {
    #shopping-cart:has(> .blockcart > .odvv-header-favorites-desktop) {
        --odvv-header-action-gap: 14px;
    }
    #shopping-cart .odvv-header-favorites-desktop {
        grid-template-columns: 35px;
    }
    #shopping-cart .odvv-favorites-copy {
        display: none;
    }
}
