#js-product-list .odvv-cutting-board-duplicate {
    display: none !important;
}
.odvv-size-picker {
    position: relative;
    cursor: pointer;
}
.odvv-size-picker .ob-size-value {
    padding-right: 16px;
}
.odvv-size-picker button[data-odvv-size] {
    position: absolute;
    z-index: 3;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}
.odvv-size-picker button:focus-visible {
    outline: 2px solid #805332;
    outline-offset: 3px;
}
.odvv-size-chevron {
    position: absolute;
    color: #805332;
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
}
.odvv-size-menu {
    position: fixed;
    z-index: 2147483647;
    box-sizing: border-box;
    width: 160px;
    max-width: calc(100vw - 16px);
    padding: 3px;
    border: 1px solid #d8b992;
    border-radius: 6px;
    background-color: #fffaf3;
    box-shadow: 0 5px 14px #47382d30;
    max-height: calc(100dvh - 16px);
    overflow: auto;
}
.ob-board-size-menu__header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 4px 8px 5px 20px;
    border-bottom: 1px solid #ead7bf;
    background-color: #f6e8d6;
}
.ob-board-size-menu__size-heading {
    color: #795638;
    font: 400 13.2px/1.3 Arial, sans-serif;
}
.ob-board-size-menu__price-heading {
    color: #795638;
    font: 400 13.2px/1.3 Arial, sans-serif;
    text-align: right;
}
.ob-board-size-menu__option {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px;
    box-sizing: border-box;
    width: 100%;
    min-height: 26px;
    border: 0;
    border-radius: 2px;
    padding: 5px 6px 5px 2px;
    background-color: #fffaf3;
    color: #704729;
    text-align: left;
    cursor: pointer;
}
.ob-board-size-menu__option::before {
    content: '';
    color: #98673f;
    font: 400 14.4px/1 Arial, sans-serif;
}
.ob-board-size-menu__option[aria-selected='true'] {
    background-color: #f1dfc8;
    color: #704729;
}
.ob-board-size-menu__option[aria-selected='true']::before {
    content: '✓';
}
.ob-board-size-menu__option:hover {
    background-color: #f6e8d6;
    color: #704729;
}
.ob-board-size-menu__option:focus-visible {
    background-color: #f6e8d6;
    color: #704729;
    outline: 1px solid #b68b68;
    outline-offset: -1px;
}
.ob-board-size-menu__option:active {
    background-color: #e8d1b4;
    color: #704729;
}
.ob-board-size-menu__option:disabled {
    background-color: #fffaf3;
    color: #a28d79;
    opacity: 0.5;
    cursor: default;
}
.ob-board-size-menu__size {
    min-width: 0;
    color: #704729;
    font: 400 14.4px/1.3 Arial, sans-serif;
    white-space: nowrap;
}
.ob-board-size-menu__price {
    color: #704729;
    font: 400 14.4px/1.3 Arial, sans-serif;
    white-space: nowrap;
    text-align: right;
}
.ob-board-size-menu__dimensions {
    padding: 5px 3px 3px;
    border-top: 1px solid #ead7bf;
    color: #795638;
    font: 400 13.2px/1.3 Arial, sans-serif;
    text-align: center;
    white-space: nowrap;
}
#page .ob-product-card .ob-card-actions .odvv-box-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2c39e;
    border-radius: 7px;
    background: #ffe3c2;
    color: #47382d;
    cursor: pointer;
}
.ob-product-card .ob-card-actions .odvv-box-toggle {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2c39e;
    border-radius: 7px;
    background: #ffe3c2;
    color: #47382d;
    cursor: pointer;
}
.ob-product-card .ob-card-actions .odvv-box-toggle[aria-pressed='true'] {
    background: #719ba0;
    color: #fff;
    border-color: #719ba0;
}
.odvv-box-icon {
    display: block;
    width: 24px;
    height: 22px;
    background: currentColor;
    mask: url('https://personalizare.odaiabunicii.ro/preview-controls/unpackaged-crossed-v2.webp')
        center/contain no-repeat;
    -webkit-mask: url('https://personalizare.odaiabunicii.ro/preview-controls/unpackaged-crossed-v2.webp')
        center/contain no-repeat;
}
.odvv-box-toggle[aria-pressed='true'] .odvv-box-icon {
    mask-image: url('https://personalizare.odaiabunicii.ro/preview-controls/packaged-v2.webp');
    -webkit-mask-image: url('https://personalizare.odaiabunicii.ro/preview-controls/packaged-v2.webp');
}
.ob-product-card[aria-busy='true'] .ob-card-size {
    opacity: 0.55;
}
.ob-product-card[aria-busy='true'] .odvv-box-toggle {
    opacity: 0.55;
}
.odvv-size-error {
    display: block;
    color: #9e372c;
    font-size: 12px;
    padding: 6px;
}
@media (prefers-reduced-motion: no-preference) {
    .odvv-size-picker {
        transition:
            opacity 160ms ease,
            background 160ms ease;
    }
    .odvv-box-toggle {
        transition:
            opacity 160ms ease,
            background 160ms ease;
    }
}

.odvv-size-chevron {
    right: 5px;
    bottom: 3px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.odvv-size-chevron svg {
    width: 18px;
    height: 18px;
}
.odvv-size-picker:has([aria-expanded='true']) .odvv-size-chevron {
    transform: rotate(180deg);
}
#page .ob-product-card .ob-card-actions .odvv-box-toggle {
    position: relative !important;
    order: 3 !important;
    margin-left: auto !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 32px !important;
}
#page .ob-product-card .ob-card-actions:has(.odvv-box-toggle) .ob-card-cart {
    order: 4 !important;
    margin-left: 0 !important;
}
#page #js-product-list .ob-product-card .ob-card-actions .odvv-box-toggle[aria-pressed='true'] {
    background: #719ba0 !important;
    color: #fff !important;
    border-color: #719ba0 !important;
    box-shadow: 0 1px 4px #365f6430 !important;
}
#page .ob-product-card .ob-card-actions .odvv-box-toggle[aria-pressed='true'] {
    background: #719ba0 !important;
    color: #fff !important;
    border-color: #719ba0 !important;
    box-shadow: 0 1px 4px #365f6430 !important;
}
#js-product-list .odvv-native-choice-family .odvv-card-label {
    white-space: normal;
    font-size: 11px;
    line-height: 1.3;
}

#page #js-product-list .odvv-native-choice-family[data-odvv-native-family='tocator-nervi'] {
    grid-column: 1/-1;
    width: 100% !important;
    max-width: none !important;
}
#page
    #js-product-list
    .odvv-native-choice-family[data-odvv-native-family='tocator-nervi']
    .odvv-family-body {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
@media (max-width: 767px) {
    #page
        #js-product-list
        .odvv-native-choice-family[data-odvv-native-family='tocator-nervi']
        .odvv-family-body {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Native families retain their frame and sticky heading at desktop widths too. */
#page
    #js-product-list:not(.odvv-favorites-only)
    > .products.grid
    > .odvv-native-choice-family.odvv-family-group.ob-family.odvv-family-compact:not(
        .odvv-family-fullscreen
    ) {
    display: block !important;
    align-self: start;
}
#page
    #js-product-list:not(.odvv-favorites-only)
    .odvv-native-choice-family.odvv-family-group.ob-family.odvv-family-compact:not(
        .odvv-family-fullscreen
    )
    > .odvv-family-compact-title {
    display: block !important;
}
#page
    #js-product-list:not(.odvv-favorites-only)
    .odvv-native-choice-family.odvv-family-group.ob-family.odvv-family-compact:not(
        .odvv-family-fullscreen
    )
    .odvv-family-body {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
#page
    #js-product-list:not(.odvv-favorites-only)
    .odvv-native-choice-family[data-odvv-native-family='tocator-nervi'].odvv-family-group.ob-family.odvv-family-compact:not(
        .odvv-family-fullscreen
    )
    .odvv-family-body {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 767px) {
    #page
        #js-product-list:not(.odvv-favorites-only)
        .odvv-native-choice-family[data-odvv-native-family='tocator-nervi'].odvv-family-group.ob-family.odvv-family-compact:not(
            .odvv-family-fullscreen
        )
        .odvv-family-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
#js-product-list .odvv-pair-unpacked .ob-card-size {
    cursor: default;
}
#js-product-list .odvv-pair-unpacked .ob-card-size .ob-price-caption {
    visibility: hidden;
}

#js-product-list [data-odvv-packaging-heading] .odvv-product-form[data-odvv-form='unpacked'] {
    background: linear-gradient(135deg, #fffbf1, #f3e7d1);
    color: #54351f;
    box-shadow: inset 0 0 0 1px #d5bc95;
}
#js-product-list [data-odvv-packaging-heading] .odvv-product-form[data-odvv-form='packed'] {
    background: #719ba0;
    color: #fff;
}
#js-product-list .odvv-packaging-badge-icon {
    background: currentColor;
    mask: url('https://personalizare.odaiabunicii.ro/preview-controls/unpackaged-crossed-v2.webp')
        center/contain no-repeat;
    -webkit-mask: url('https://personalizare.odaiabunicii.ro/preview-controls/unpackaged-crossed-v2.webp')
        center/contain no-repeat;
}
#js-product-list [data-odvv-form='packed'] .odvv-packaging-badge-icon {
    mask-image: url('https://personalizare.odaiabunicii.ro/preview-controls/packaged-v2.webp');
    -webkit-mask-image: url('https://personalizare.odaiabunicii.ro/preview-controls/packaged-v2.webp');
}
#js-product-list [data-odvv-packaging-heading='4'] .odvv-family-form-headings {
    --odvv-form-columns: 4;
}
@media (max-width: 767px) {
    #js-product-list [data-odvv-packaging-heading='4'] .odvv-family-form-headings {
        --odvv-form-columns: 2;
    }
    #js-product-list [data-odvv-packaging-heading='4'] .odvv-family-form-slot:nth-child(n + 3) {
        display: none;
    }
}

#page .ob-product-card .ob-card-actions .odvv-box-info {
    opacity: 1 !important;
    cursor: default;
}

/* Keep native packaging pairs in their own grid, including the desktop catalog. */
#page:has([data-odvv-navigation], [data-odvv-catalog])
    #js-product-list:not(.odvv-favorites-only)
    .odvv-native-choice-family.odvv-family-group.ob-family.odvv-family-compact[data-odvv-native-family]:not(
        .odvv-family-fullscreen
    )
    > .odvv-family-body {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (min-width: 768px) {
    #page:has([data-odvv-navigation], [data-odvv-catalog])
        #js-product-list:not(.odvv-favorites-only)
        .odvv-native-choice-family.odvv-family-group.ob-family.odvv-family-compact[data-odvv-native-family='tocator-nervi']:not(
            .odvv-family-fullscreen
        )
        > .odvv-family-body {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}
