/* Keep one mounted/unmounted pair per non-modular family in the catalog. */
#page:has([data-odvv-navigation], [data-odvv-catalog])
    #js-product-list:not(.odvv-favorites-only)
    > .products.grid
    > .odvv-family-group.ob-family.odvv-family-compact:not(.odvv-family-fullscreen) {
    display: flex !important;
    flex-direction: column;
    grid-column: span 2;
    min-width: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #ac7c56 !important;
    border-radius: 15px;
    background: transparent;
    box-shadow: none;
}
#js-product-list .odvv-family-compact-title {
    margin: 0 0 4px;
    padding: 6px 8px 0;
    font:
        700 21px/1.25 Georgia,
        serif;
}
#js-product-list .odvv-family-more {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 4px;
    padding: 3px 12px;
    border: 1px solid #ac7c56;
    border-radius: 15px;
    background: #f2ebe0;
    box-shadow: inset 0 0 0 5px rgba(255, 248, 236, 0.08);
    color: #754b32;
    font:
        600 14px/1.3 Arial,
        sans-serif;
    cursor: pointer;
}
#js-product-list .odvv-family-more:hover {
    background: #f2ebe0;
    border-color: #805332;
}
#js-product-list .odvv-family-more > .odvv-family-more-gif {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
}
#js-product-list:not(.odvv-favorites-only)
    .odvv-family-compact:not(.odvv-family-fullscreen)
    .ob-product-card:not(.odvv-family-preview-card) {
    display: none !important;
}
#js-product-list:not(.odvv-favorites-only)
    .odvv-family-compact
    :is(.odvv-pair-placeholder, .odvv-family-header) {
    display: none !important;
}
#page:has([data-odvv-navigation], [data-odvv-catalog])
    #js-product-list:not(.odvv-favorites-only)
    .odvv-family-compact
    .odvv-family-body {
    display: contents !important;
}
#page:has([data-odvv-navigation], [data-odvv-catalog])
    #js-product-list:not(.odvv-favorites-only)
    .odvv-family-compact
    .odvv-family-body-inner {
    display: contents !important;
}
#page:has([data-odvv-navigation], [data-odvv-catalog])
    #js-product-list:not(.odvv-favorites-only)
    .odvv-family-group.odvv-family-compact
    .odvv-family-body-inner
    > .products.grid.odvv-family-products {
    display: contents !important;
}
#page:has([data-odvv-navigation], [data-odvv-catalog])
    #js-product-list:not(.odvv-favorites-only)
    .odvv-family-group.odvv-family-compact
    .odvv-family-body {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--odvv-product-gap, 8px);
}
#page
    #js-product-list:not(.odvv-favorites-only)
    .odvv-family-compact
    .odvv-family-products
    > .ob-product-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}
#page #js-product-list .odvv-family-compact::before {
    content: none !important;
}
#page #js-product-list .odvv-family-compact .odvv-family-body::after {
    content: none !important;
}
#page #js-product-list .odvv-family-compact .ob-product-card::before {
    content: none !important;
}
#page #js-product-list .odvv-family-compact .ob-product-card::after {
    content: none !important;
}
#js-product-list .odvv-family-close {
    display: none;
}
#page:has([data-odvv-navigation], [data-odvv-catalog])
    #js-product-list:not(.odvv-favorites-only)
    > .products.grid
    > .odvv-family-group.odvv-family-compact.odvv-family-fullscreen {
    box-sizing: border-box;
    position: fixed;
    inset: 8px 0;
    z-index: 2147482000;
    width: min(980px, calc(100vw - 26px));
    max-width: none;
    height: min(880px, calc(100dvh - 16px));
    max-height: calc(100dvh - 24px);
    margin: auto !important;
    padding: 20px !important;
    border: 1px solid #d6c7b5;
    border-radius: 16px;
    overflow: auto;
    overscroll-behavior: contain;
    background: #fcf5ec !important;
    color: #574a3d;
    display: block !important;
}
#js-product-list .odvv-family-fullscreen .odvv-family-compact-title {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 52px;
    margin: -20px -20px 10px;
    padding: 4px 60px 4px 14px;
    background: #fcf5ec;
    font:
        700 26px/1.1 Georgia,
        serif;
    letter-spacing: -0.025em;
}
#js-product-list .odvv-family-fullscreen .odvv-family-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #d6c7b5;
    border-radius: 8px;
    background: #f6efe7;
    color: #574a3d;
    font:
        24px/1 Arial,
        sans-serif;
    cursor: pointer;
}
#js-product-list .odvv-family-fullscreen .odvv-family-more {
    display: none;
}
#js-product-list.odvv-favorites-only
    :is(
        .odvv-family-compact-title,
        .odvv-family-more,
        .odvv-family-close,
        .odvv-family-popup-finishes
    ) {
    display: none !important;
}
@media (min-width: 768px) {
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        .odvv-family-group.odvv-family-compact.odvv-family-fullscreen
        .odvv-family-body {
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    }
}
@media (max-width: 500px) {
    #js-product-list .odvv-family-compact-title {
        font-size: 19px;
    }
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        > .products.grid
        > .odvv-family-group.odvv-family-compact.odvv-family-fullscreen {
        padding: 12px !important;
    }
}

#js-product-list .odvv-family-popup-finishes {
    display: none;
}
#js-product-list .odvv-family-fullscreen .odvv-family-popup-finishes {
    display: flex;
    gap: 4px;
    margin: 0 0 10px;
    padding: 3px;
    border: 1px solid #c7b6a5;
    border-radius: 16px;
    background: #e4d2c1;
    box-shadow:
        0 3px 10px #57412b20,
        inset 0 1px 1px #fff8ee90;
}
#js-product-list .odvv-family-popup-finishes button {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #ac7c56;
    border-radius: 12px;
    background: linear-gradient(135deg, #fffaf2, #f8eadb);
    color: #754b32;
    font:
        600 13px/1.3 Arial,
        sans-serif;
    cursor: pointer;
}
#page:has([data-odvv-navigation], [data-odvv-catalog])
    #js-product-list:not(.odvv-favorites-only)
    .odvv-family-group.odvv-family-compact.odvv-family-fullscreen
    .odvv-family-body-inner
    > .products.grid.odvv-family-products.odvv-popup-panel-hidden {
    display: none !important;
}

@media (max-width: 500px) {
    #js-product-list .odvv-family-fullscreen .odvv-family-compact-title {
        margin: -12px -12px 10px;
        padding-left: 10px;
        font-size: 22px;
    }
}

.odvv-family-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147481999;
    background: #574a3d66;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
#js-product-list .odvv-family-more {
    transition:
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}
#js-product-list .odvv-family-more > .odvv-family-more-gif {
    transition: transform 220ms ease;
}
#js-product-list .odvv-family-more:hover {
    box-shadow:
        inset 0 0 0 5px rgba(255, 248, 236, 0.08),
        0 3px 8px #754b321a;
}
#js-product-list .odvv-family-more:hover > span:last-child {
    transform: translateY(2px);
}
#js-product-list .odvv-family-more:active {
    transform: scale(0.985);
}
#js-product-list .odvv-family-popup-finishes {
    position: relative;
    isolation: isolate;
}
#js-product-list .odvv-family-popup-finishes button {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    transition:
        color 220ms ease,
        border-color 220ms ease;
}
#js-product-list .odvv-family-popup-finishes button[aria-pressed='true'] {
    border-color: transparent;
    background: transparent;
    color: #fffaf4;
}
#js-product-list .odvv-family-finish-icon {
    display: flex;
    flex: none;
}
#js-product-list .odvv-family-finish-indicator {
    position: absolute;
    z-index: 0;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc((100% - 10px) / 2);
    border-radius: 12px;
    background: linear-gradient(135deg, #9b653e, #82502f);
    box-shadow:
        0 2px 7px #6b432a38,
        inset 0 1px 1px #ffffff30;
    transition: transform 280ms cubic-bezier(0.22, 0.8, 0.25, 1);
    pointer-events: none;
}
#js-product-list .odvv-family-popup-finishes.odvv-finish-white .odvv-family-finish-indicator {
    transform: translateX(calc(100% + 4px));
}
#js-product-list
    .odvv-family-popup-finishes:not(:has([data-odvv-popup-finish='incolor']))
    .odvv-family-finish-indicator {
    width: calc(100% - 6px);
}
@media (min-width: 761px) {
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        > .products.grid
        > .odvv-family-group.odvv-family-compact.odvv-family-fullscreen {
        width: min(560px, calc(100vw - 26px));
    }
}
@media (prefers-reduced-motion: reduce) {
    #js-product-list .odvv-family-more {
        transition: none;
    }
    #js-product-list .odvv-family-more > .odvv-family-more-gif {
        transition: none;
    }
    #js-product-list .odvv-family-popup-finishes button {
        transition: none;
    }
    #js-product-list .odvv-family-finish-indicator {
        transition: none;
    }
}

#js-product-list
    .odvv-family-popup-finishes:not(:has([data-odvv-popup-finish='color']))
    .odvv-family-finish-indicator {
    width: calc(100% - 6px);
    transform: none;
}

/* The family title, real product pair and action belong to one outlined card. */
#js-product-list:not(.odvv-favorites-only)
    .odvv-family-compact:not(.odvv-family-fullscreen)
    > .odvv-family-compact-title {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 calc(4px - var(--odvv-family-title-underlap, 0px));
    padding: calc(8px + var(--odvv-family-title-underlap, 0px)) 8px 8px;
    border-bottom: 1px solid #ac7c56;
    border-radius: var(--odvv-family-title-radius, 14px 14px 0 0);
    background: #f8eadb;
}
#js-product-list .odvv-family-more > .odvv-family-more-gif img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

#js-product-list .odvv-family-more {
    justify-content: center;
}

#js-product-list .odvv-family-more-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #fff8ec;
    font: inherit;
    cursor: pointer;
}

#js-product-list .odvv-family-more-gif {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
#js-product-list .odvv-family-more-open {
    flex: 0 1 auto;
    min-width: 0;
    text-align: left;
}
#js-product-list .odvv-family-more-open:focus-visible {
    outline: 2px solid #805332;
    outline-offset: 2px;
    border-radius: 4px;
}
#js-product-list .odvv-family-more-gif:focus-visible {
    outline: 2px solid #805332;
    outline-offset: 2px;
    border-radius: 4px;
}
#js-product-list .odvv-family-colors {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: none;
}
#js-product-list .odvv-family-color {
    box-sizing: border-box;
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid #805332;
    border-radius: 50%;
    cursor: pointer;
    transition:
        box-shadow 180ms ease,
        transform 180ms ease;
}
#js-product-list .odvv-family-color[data-odvv-family-color='gri-maro'] {
    background: linear-gradient(135deg, #86817c 50%, #795237 50%);
}
#js-product-list .odvv-family-color[data-odvv-family-color='maro'] {
    background: #795237;
}
#js-product-list .odvv-family-color[data-odvv-family-color='negru'] {
    background: #262421;
}
#js-product-list .odvv-family-color:focus-visible {
    outline: 2px solid #805332;
    outline-offset: 3px;
}
@media (max-width: 430px) {
    #js-product-list .odvv-family-more {
        padding-inline: 7px;
    }
}
@media (prefers-reduced-motion: reduce) {
    #js-product-list .odvv-family-color {
        transition: none;
    }
}

#js-product-list .odvv-family-compact-title {
    color: #a83277 !important;
}
#js-product-list .odvv-family-more {
    padding-block: 5px;
    font-size: 16px;
    gap: 9px;
}
#js-product-list .odvv-family-more-separator {
    flex: none;
    align-self: center;
    width: 1px;
    height: 30px;
    margin-inline: 3px;
    background: #ac7c56;
    transform: rotate(18deg);
}
#js-product-list .odvv-family-color[data-odvv-family-color='verde'] {
    background: #507143;
}
#js-product-list .odvv-family-color[aria-pressed='true'] {
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #805332;
    transform: scale(1.2);
}
#js-product-list .odvv-family-color[aria-pressed='true']::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: translate(-50%, -60%) rotate(40deg);
}
@media (max-width: 430px) {
    #js-product-list .odvv-family-more {
        font-size: 14px;
        gap: 7px;
    }
}

/* Three separate Voronet cards, linked by their complexity selector. */
#js-product-list .odvv-family-complexities > :is(.odvv-family-more-gif, .odvv-family-colors) {
    display: none;
}
#js-product-list .odvv-family-more.odvv-family-complexities {
    gap: 4px;
    padding: 7px;
    cursor: default;
}
#js-product-list .odvv-family-complexity {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 9px 3px;
    border: 1px solid #c8b098;
    border-radius: 10px;
    background: #fffdf9;
    color: #754b32;
    cursor: pointer;
    transition:
        background 220ms ease,
        color 220ms ease,
        border-color 220ms ease,
        transform 220ms ease;
}
#js-product-list .odvv-family-complexity strong {
    font:
        700 13px/1.2 Arial,
        sans-serif;
    letter-spacing: 0.035em;
}
#js-product-list .odvv-family-complexity small {
    font:
        400 11px/1.3 Arial,
        sans-serif;
}
#js-product-list .odvv-family-complexity[aria-pressed='true'] {
    background: #dbc6a5;
    color: #685440;
    border-color: #b9a07d;
}
#js-product-list .odvv-family-complexity:hover {
    border-color: #805332;
}
#js-product-list .odvv-family-complexity:focus-visible {
    outline: 2px solid #a83277;
    outline-offset: 2px;
}
#js-product-list .odvv-family-compact-title[tabindex='-1']:focus {
    outline: none;
}
@media (prefers-reduced-motion: reduce) {
    #js-product-list .odvv-family-complexity {
        transition: none;
    }
}

#js-product-list .odvv-family-complexities > .odvv-family-more-open {
    display: inline-flex;
    opacity: 1;
    color: inherit;
    cursor: default;
    font-size: 14px;
}
#js-product-list .odvv-family-complexities > .odvv-family-more-separator {
    display: block;
}
#page #js-product-list .odvv-family-compact .odvv-family-body[hidden] {
    display: none !important;
}
#js-product-list .odvv-family-popup-finishes button[hidden] {
    display: none !important;
}
#js-product-list .odvv-family-complexities:active {
    transform: none;
}

#page
    #js-product-list.odvv-favorites-only
    .odvv-family-compact[data-odvv-complexity]
    .odvv-family-body[data-odvv-level-body] {
    display: none !important;
}
#page
    #js-product-list.odvv-favorites-only
    .odvv-family-compact[data-odvv-complexity='0']
    .odvv-family-body[data-odvv-level-body='0'] {
    display: contents !important;
}
#page
    #js-product-list.odvv-favorites-only
    .odvv-family-compact[data-odvv-complexity='1']
    .odvv-family-body[data-odvv-level-body='1'] {
    display: contents !important;
}
#page
    #js-product-list.odvv-favorites-only
    .odvv-family-compact[data-odvv-complexity='2']
    .odvv-family-body[data-odvv-level-body='2'] {
    display: contents !important;
}
#js-product-list
    .odvv-family-popup-finishes:not(:has([data-odvv-popup-finish='incolor']:not([hidden])))
    .odvv-family-finish-indicator {
    width: calc(100% - 6px);
    transform: none;
}
#js-product-list .odvv-family-complexity:disabled {
    opacity: 0.45;
    cursor: default;
}
#js-product-list .odvv-family-more.odvv-family-complexities {
    padding-inline: 12px;
}

#js-product-list .odvv-family-complexity:is(:hover, :active, [aria-pressed='true']) {
    transform: none;
}

#page:has([data-odvv-navigation], [data-odvv-catalog])
    #js-product-list:not(.odvv-favorites-only)
    .odvv-family-group.odvv-family-compact
    .odvv-family-body-inner
    > .products.grid.odvv-family-products[hidden] {
    display: none !important;
}

#js-product-list:not(.odvv-favorites-only) .odvv-family-modular .odvv-pair-placeholder {
    display: block !important;
}

/* Keep a modular product and all its modules together without narrowing their cards. */
#page:has([data-odvv-navigation], [data-odvv-catalog])
    #js-product-list:not(.odvv-favorites-only)
    > .products.grid
    > .odvv-family-group.odvv-family-compact.odvv-family-modular {
    grid-column: 1 / -1;
}
@media (min-width: 768px) {
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        .odvv-family-modular
        > .odvv-family-body {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (min-width: 1440px) {
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        .odvv-family-modular
        > .odvv-family-body {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* Product-form tabs share the existing family title's vertical space. */
#js-product-list:not(.odvv-favorites-only)
    .odvv-family-compact:not(.odvv-family-fullscreen)
    > .odvv-family-compact-title[data-odvv-forms] {
    padding: var(--odvv-family-title-underlap, 0px) 8px 0;
}
#js-product-list .odvv-family-title-text {
    display: block;
    font: inherit;
}
#js-product-list .odvv-family-form-headings {
    display: grid;
    grid-template-columns: repeat(var(--odvv-form-columns, 2), minmax(0, 1fr));
    gap: var(--odvv-product-gap, 8px);
    width: calc(100% + 16px);
    margin: 0 -8px;
    height: 16px;
}
#js-product-list .odvv-family-form-slot {
    display: flex;
    justify-content: center;
    min-width: 0;
}
#js-product-list .odvv-product-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 16px;
    padding: 0 7px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(135deg, #c58b68, #a65e3c);
    color: #fff;
    font:
        600 10px/1 Arial,
        sans-serif;
    white-space: nowrap;
}
#js-product-list .odvv-product-form[data-odvv-form='puzzle'] {
    background: #6c0260;
}
#js-product-list .odvv-product-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
}
#js-product-list .odvv-product-form-icon svg {
    display: block;
    width: 12px;
    height: 12px;
}
#js-product-list .odvv-family-fullscreen .odvv-family-form-headings {
    display: none;
}

/* Server-render all modular column badges; CSS selects the viewport's column count. */
#js-product-list .odvv-family-modular .odvv-family-form-headings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
#js-product-list .odvv-family-modular .odvv-family-form-slot:nth-child(n + 3) {
    display: none;
}
@media (min-width: 768px) {
    #js-product-list .odvv-family-modular .odvv-family-form-headings {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    #js-product-list .odvv-family-modular .odvv-family-form-slot:nth-child(-n + 4) {
        display: flex;
    }
}
@media (min-width: 1440px) {
    #js-product-list .odvv-family-modular .odvv-family-form-headings {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    #js-product-list .odvv-family-modular .odvv-family-form-slot:nth-child(-n + 6) {
        display: flex;
    }
}

#js-product-list .odvv-family-compact-title {
    text-align: center;
}
#js-product-list .odvv-family-fullscreen .odvv-family-compact-title {
    justify-content: center;
}

/* Desktop lists keep source order and show every variant in a shared category grid. */
@media (min-width: 768px) {
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        > .products.grid {
        display: grid !important;
        grid-template-columns: repeat(
            auto-fill,
            minmax(max(180px, calc((100% - 5 * var(--odvv-product-gap, 8px)) / 6)), 1fr)
        ) !important;
        grid-auto-flow: row;
        gap: var(--odvv-product-gap, 8px);
        align-items: stretch;
    }
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        > .products.grid
        > .odvv-family-group.ob-family.odvv-family-compact:not(.odvv-family-fullscreen) {
        display: contents !important;
    }
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        .odvv-family-group.ob-family.odvv-family-compact:not(.odvv-family-fullscreen)
        :is(.odvv-family-body, .odvv-family-body-inner, .products.grid.odvv-family-products) {
        display: contents !important;
    }
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        .odvv-family-group.ob-family.odvv-family-compact:not(.odvv-family-fullscreen)
        :is(
            .odvv-family-compact-title,
            .odvv-family-header,
            .odvv-family-more,
            .odvv-family-close,
            .odvv-family-popup-finishes,
            .odvv-pair-placeholder
        ) {
        display: none !important;
    }
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        .odvv-family-group.ob-family.odvv-family-compact:not(.odvv-family-fullscreen)
        .ob-product-card {
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
        grid-column: auto !important;
        grid-row: auto !important;
        order: 0 !important;
    }
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        > .products.grid
        > .ob-product-card {
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
        grid-column: auto !important;
        grid-row: auto !important;
        order: 0 !important;
    }
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        > .products.grid::before {
        content: none !important;
        display: none !important;
    }
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        > .products.grid::after {
        content: none !important;
        display: none !important;
    }
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        .odvv-family-group.ob-family.odvv-family-compact
        :is(
            .odvv-family-body,
            .odvv-family-body-inner,
            .odvv-family-products,
            .ob-product-card
        )::before {
        content: none !important;
        display: none !important;
    }
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        .odvv-family-group.ob-family.odvv-family-compact
        :is(
            .odvv-family-body,
            .odvv-family-body-inner,
            .odvv-family-products,
            .ob-product-card
        )::after {
        content: none !important;
        display: none !important;
    }
}

/* Prefer colored variants within each choice; retain white-only choices. */
@media (min-width: 768px) {
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        .odvv-family-group.ob-family.odvv-family-compact:not(.odvv-family-fullscreen)
        .odvv-family-body-inner:has(> .products[data-odvv-finish-panel='color'] .ob-product-card)
        > .products.grid.odvv-family-products[data-odvv-finish-panel='incolor'] {
        display: none !important;
    }
}

.odvv-family-placeholder {
    min-width: 0;
    pointer-events: none;
}

/* Shared family copies remain available in popups, with one listing entry on desktop. */
@media (min-width: 768px) {
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        .odvv-family-group.ob-family.odvv-family-compact:not(.odvv-family-fullscreen)
        .ob-product-card[data-odvv-shared='true'] {
        display: none !important;
    }
}

/* Keep the family heading visible while its products scroll beneath it. */
#js-product-list .odvv-family-compact-title {
    position: sticky;
    top: calc(var(--odvv-family-sticky-top, var(--odvv-sticky-top, 0px)) - var(--odvv-family-title-underlap, 0px));
    transition: border-radius var(--odvv-family-sticky-duration, 180ms) ease;
    z-index: 2;
}
#js-product-list .odvv-family-fullscreen .odvv-family-compact-title {
    top: -20px;
}
@media (max-width: 500px) {
    #js-product-list .odvv-family-fullscreen .odvv-family-compact-title {
        top: -12px;
    }
}

.odvv-family-compact-title--stuck {
    --odvv-family-title-underlap: 12px;
    --odvv-family-title-radius: 0 0 14px 14px;
    --odvv-family-sticky-duration: 0ms;
    overflow: hidden;
}
.odvv-family-compact-title--stuck::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 7px;
    background: linear-gradient(to bottom, rgba(96, 69, 45, 0.18), rgba(96, 69, 45, 0));
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .odvv-family-compact-title {
        --odvv-family-sticky-duration: 0ms;
    }
}

/* Presentation bars belong to the explorer header; source headings retain layout. */
.odvv-family-compact-title--in-header {
    opacity: 0;
    pointer-events: none;
}
.odvv-list-category-header--in-header {
    opacity: 0;
    pointer-events: none;
}
.odvv-explorer-header--docked-titles {
    --odvv-header-dock-position: relative;
    isolation: isolate;
}
.ob-explorer-docked-titles {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.ob-explorer-docked-family {
    position: absolute;
    pointer-events: auto;
    box-sizing: border-box;
    padding: 20px 8px 8px;
    overflow: hidden;
    border-bottom: 1px solid #c6ad8e;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(135deg, #70464b 0%, #94675f 52%, #b78b76 100%);
    color: #fff8ec;
    text-align: center;
}
.ob-explorer-docked-family::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 7px;
    background: linear-gradient(to bottom, rgba(96, 69, 45, 0.18), rgba(96, 69, 45, 0));
    pointer-events: none;
}
.ob-explorer-docked-family--with-forms {
    padding: 12px 8px 0;
}
.ob-explorer-docked-family__title {
    display: block;
    color: #fff8ec;
    font: 700 21px/1.25 Georgia, serif;
}
.ob-explorer-docked-family__forms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: calc(100% + 16px);
    margin: 0 -8px;
    height: 16px;
}
.ob-explorer-docked-family__form-slot {
    display: flex;
    justify-content: center;
    min-width: 0;
}
.ob-explorer-docked-family__form-slot:nth-child(n + 3) {
    display: none;
}
.ob-explorer-docked-family__mounted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 16px;
    padding: 0 7px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(135deg, #f5d4a2, #d7a66c);
    color: #3d2415;
    font: 600 10px/1 Arial, sans-serif;
    white-space: nowrap;
}
.ob-explorer-docked-family__puzzle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 16px;
    padding: 0 7px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(135deg, #c8d8b5, #8eaa80);
    color: #214b35;
    font: 600 10px/1 Arial, sans-serif;
    white-space: nowrap;
}
.ob-explorer-docked-family__form-icon {
    color: #3d2415;
    display: block;
    width: 12px;
    height: 12px;
}
.ob-explorer-docked-family__form-icon--puzzle {
    color: #214b35;
}
.ob-explorer-docked-category {
    cursor: pointer;
    position: absolute;
    pointer-events: auto;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-items: center;
    gap: 3px;
    padding: 20px 8px 8px;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
    background: linear-gradient(135deg, #963e50 0%, #b85858 52%, #ce795d 100%);
    color: #fff8ec;
}
.ob-explorer-docked-category__title {
    width: 100%;
    color: #fff8ec;
    font: 700 21px/1.25 Georgia, serif;
    text-transform: uppercase;
    text-align: center;
}
.ob-explorer-docked-category__subtitle {
    justify-self: center;
    margin-right: auto;
    color: #fff8ec;
    font: 400 11px/1.35 Arial, sans-serif;
}
@media (max-width: 500px) {
    .ob-explorer-docked-family__title {
        font-size: 19px;
    }
    .ob-explorer-docked-category__title {
        font-size: 19px;
    }
}
@media (min-width: 768px) {
    .ob-explorer-docked-family__forms {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .ob-explorer-docked-family__form-slot:nth-child(-n + 4) {
        display: flex;
    }
}
@media (min-width: 1440px) {
    .ob-explorer-docked-family__forms {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .ob-explorer-docked-family__form-slot:nth-child(-n + 6) {
        display: flex;
    }
}
.ob-explorer-docked-family__forms--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ob-explorer-docked-family--following {
    padding-top: 8px;
}
.ob-explorer-docked-family--with-forms.ob-explorer-docked-family--following {
    padding-top: 0;
}
.ob-explorer-docked-family--following::after {
    top: 0;
}
