/* Ivory, copper and forest-green flower interface, matching the supplied visual. */
.odvv-flower-view {
    overflow-x: clip;
    border-radius: 0;
    background: radial-gradient(ellipse at 50% 33%, #fffdf5 0, #faf5e9 52%, #f5eddb 100%);
    box-shadow: inset 0 0 0 1px #e9ddc6;
    color: #4e2618;
}
.odvv-flower-enabled #index #page {
    padding-top: 0 !important;
}
.odvv-flower-enabled #index #content > .odvv-flower-view {
    margin-top: 0 !important;
}
.odvv-flower-view.odvv-flower-fit:not(.odvv-category-mode) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0;
    height: auto;
    align-content: start;
    min-height: 0;
    padding: 5px 24px 14px;
}
.odvv-flower-view .odvv-flower-heading {
    min-width: 0;
    width: 100%;
    max-width: 850px;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    gap: 10px;
}
.odvv-flower-view .odvv-flower-heading-copy > span {
    display: block;
    width: 112px;
    height: 14px;
    margin: 0 auto 3px;
    background: url('../img/folk-flower/ivory-divider.svg') center/190% 100% no-repeat;
    font-size: 0;
    line-height: 0;
}
.odvv-flower-view .odvv-flower-heading h1 {
    margin: 0 0 3px;
    color: #4e2618;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.8px;
}
.odvv-flower-view .odvv-flower-heading h2 {
    margin: 0 0 3px;
    color: #4e2618;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.8px;
}
.odvv-flower-view .odvv-flower-heading p {
    color: #97836c;
    font-size: 14px;
    line-height: 1.25;
    margin: 0;
}
.odvv-flower-view .odvv-flower-heading-ornament {
    width: 72px;
    height: 72px;
    object-fit: contain;
    opacity: 0.9;
}
.odvv-flower-view .odvv-flower-layout {
    min-width: 0;
    min-height: 0;
    width: 100%;
    margin: 0;
    gap: 40px;
}
.odvv-flower-view .odvv-flower-stage {
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: grid;
    grid-template-rows: auto auto;
    gap: 10px;
}
.odvv-flower-view .odvv-flower-stage .ob-flower-menu__department-flower {
    width: var(--odvv-wheel-fit, 400px);
    height: var(--odvv-wheel-fit, 400px);
    max-width: none;
    max-height: none;
    aspect-ratio: 1;
    padding: 0 !important;
    margin: calc(var(--odvv-wheel-fit, 400px) * -0.02)
        calc((100% - var(--odvv-wheel-fit, 400px)) / 2) 0;
    justify-self: center;
    align-self: start;
    background: none;
    border: 0;
    box-shadow: none;
}
.odvv-flower-view .ob-flower-menu__department-flower > .ob-flower-menu__flower-embroidery {
    display: none;
}
.ob-flower-menu__flower-orbit-decoration {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
    transform: none;
}
.odvv-flower-view .ob-flower-menu__department-petal {
    display: block;
    z-index: 2;
    width: 25.5%;
    height: 21.5%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #4e2618;
    box-shadow: none;
    filter: none;
}
.odvv-flower-view .ob-flower-menu__department-petal.ob-flower-menu__department-petal--selected {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    filter: none;
}
.odvv-flower-view .ob-flower-menu__department-petal:hover {
    display: block;
    z-index: 2;
    width: 25.5%;
    height: 21.5%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #4e2618;
    box-shadow: none;
    filter: none;
}
.odvv-flower-view .ob-flower-menu__department-petal.ob-flower-menu__department-petal--selected {
    width: 34%;
    height: 24%;
    color: #fff8e9;
    z-index: 4;
}
.odvv-flower-view .ob-flower-menu__department-petal::before {
    display: none;
}
.odvv-flower-view .ob-flower-menu__department-petal .ob-flower-menu__petal-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 5px;
    box-sizing: border-box;
    border: 4px solid #fffefb;
    border-radius: 26% / 31%;
    background: radial-gradient(ellipse at 50% 58%, #fffdf7 26%, #fff1da 62%, #f3d5a6 100%);
    box-shadow:
        0 3px 6px #70421d26,
        inset 0 0 5px #ffffffb3;
}
/* A single recessed gold outline inside the white frame. */
.ob-flower-menu__department-petal:not(.ob-flower-menu__department-petal--selected)
    .ob-flower-menu__petal-content::after {
    content: '';
    position: absolute;
    inset: 2px;
    border: 1px solid #ce9e61;
    border-radius: 24% / 28%;
    pointer-events: none;
}
.ob-flower-menu__department-petal:not(.ob-flower-menu__department-petal--selected):hover .ob-flower-menu__petal-content {
    background: radial-gradient(ellipse at 50% 58%, #fffaf0 26%, #ffe7c0 62%, #e9bd7e 100%);
    box-shadow:
        0 4px 8px #70421d33,
        inset 0 0 5px #ffffffb3;
}
.ob-flower-menu__department-petal:focus-visible .ob-flower-menu__petal-content {
    outline: 2px solid #77512c;
    outline-offset: 3px;
}
.ob-flower-menu__department-petal:not(.ob-flower-menu__department-petal--selected):active .ob-flower-menu__petal-content {
    background: radial-gradient(ellipse at 50% 58%, #fff8eb 26%, #fcebd0 62%, #edcd9d 100%);
    box-shadow:
        0 1px 2px #70421d26,
        inset 0 0 5px #ffffff80;
}
.odvv-flower-view .ob-flower-menu__department-petal--selected .ob-flower-menu__petal-content {
    border: 0;
    border-radius: 0;
    padding: calc(var(--odvv-wheel-fit, 400px) * 0.045) 8px 9px;
    background: transparent url('../img/folk-flower/reference-petal-selected.svg') center/100% 100%
        no-repeat;
    color: #fff9e9;
    box-shadow: none;
    filter: drop-shadow(0 4px 6px #94794c40);
}
.odvv-flower-view .ob-flower-menu__petal-content > .ob-flower-menu__petal-mark {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    max-width: none;
    padding: 3px;
    border-radius: 50%;
    background: #fff9e9;
    box-shadow: inset 0 0 0 1px #e7d9be;
}
.odvv-flower-view
    .ob-flower-menu__department-petal--selected
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-mark {
    width: 44px;
    height: 44px;
    box-shadow: 0 0 0 2px #f5ebd5;
}
.ob-flower-menu__petal-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.odvv-flower-view .ob-flower-menu__petal-mark .icon {
    width: 31px;
    height: 31px;
    color: #603b28;
    stroke-width: 1.7;
}
.odvv-flower-view
    .ob-flower-menu__department-petal
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-label {
    flex: none;
    max-width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.45px;
    text-align: center;
    color: #4e2618;
}
.odvv-flower-view
    .ob-flower-menu__department-petal--selected
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-label {
    color: #fff9e9;
}
.odvv-flower-view .ob-flower-menu__petal-content > .ob-flower-menu__petal-stitch {
    display: block;
    flex: none;
    width: 48px;
    height: 8px;
    padding: 0;
    background: url('../img/folk-flower/ivory-petal-divider.svg') center/100% 100% no-repeat;
    font-size: 0;
    line-height: 0;
    letter-spacing: 0;
}
.odvv-flower-view
    .ob-flower-menu__department-petal--selected
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-stitch {
    width: 82px;
    height: 10px;
    filter: brightness(1.9) saturate(0.4);
}
.odvv-flower-view .ob-flower-menu__flower-center {
    z-index: 3;
    width: 44.5%;
    height: 44.5%;
    left: 27.75%;
    top: 27.75%;
    padding: 10px;
    border: 2px solid #76351f;
    border-radius: 50%;
    background: #fcf4df;
    box-shadow:
        0 0 0 4px #fff9eb,
        0 0 0 6px #b86d40,
        0 7px 20px #8c603b26;
}
.odvv-flower-view .ob-flower-menu__flower-center > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    background: #fbf2df;
}
.odvv-flower-view .ob-flower-menu__flower-center.has-photo {
    overflow: hidden;
    padding: 0;
}
.odvv-flower-view .ob-flower-menu__flower-center.has-photo::after {
    display: none;
}
.odvv-flower-view .ob-flower-menu__flower-center.has-photo > strong {
    display: none;
}
.odvv-flower-view .ob-flower-menu__flower-center.has-photo > .ob-flower-menu__center-stitch {
    display: none;
}
.odvv-flower-view .ob-flower-menu__flower-center > strong {
    color: #4e2618;
    font-size: 18px;
    line-height: 1.25;
}
.odvv-flower-view .ob-flower-menu__flower-center-icon .icon {
    color: #7d4b31;
    width: 28px;
    height: 28px;
}
.odvv-flower-view .ob-flower-menu__flower-center .ob-flower-menu__center-stitch {
    color: #b56d42;
}
.odvv-flower-view .odvv-flower-preview {
    min-width: 0;
    min-height: 0;
}
.odvv-flower-view .odvv-flower-selected {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    margin: 0;
    padding: 10px 44px 21px;
    border: 0;
    isolation: isolate;
    background: transparent;
    filter: none;
    color: #243e2d;
    font:
        800 30px/1.05 'ODVV Bitter',
        Georgia,
        serif;
    letter-spacing: -0.7px;
    text-align: center;
}
.ob-flower-selection__plaque {
    filter: drop-shadow(0 4px 8px #a58a5a25);
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.ob-flower-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
    margin-bottom: 12px;
}
@media (max-width: 767px) {
    .ob-flower-selection {
        grid-column: 1;
        grid-row: 2 / 4;
        margin: 0;
    }
}
.ob-flower-selection__divider {
    content: '';
    position: absolute;
    bottom: 13px;
    left: 20%;
    width: 60%;
    height: 13px;
    pointer-events: none;
}
.odvv-flower-carousel {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}
.odvv-flower-slides {
    justify-content: safe center;
    align-items: center;
    gap: 9px;
    border-radius: 10px;
    scroll-snap-type: none;
    cursor: grab;
    touch-action: pan-x pan-y;
}
.odvv-flower-slides.is-dragging {
    cursor: grabbing;
    user-select: none;
}
.odvv-flower-slide {
    flex: 0 0 125px;
    width: 125px;
    min-width: 0;
    border: 1px solid #e3dfd4;
    border-radius: 10px;
    overflow: hidden;
    background: #fffdf9;
    box-shadow: 0 2px 3px #7f5d2c0c;
}
.odvv-flower-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0;
}
.odvv-flower-carousel-controls {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.odvv-flower-carousel-controls:focus-within {
    position: static;
    width: auto;
    height: auto;
    margin: 8px 0 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}
.odvv-flower-view .odvv-flower-enter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    margin-top: 12px;
    padding: 12px 22px;
    border: 1px solid #426645;
    border-radius: 11px;
    background: linear-gradient(110deg, #436d46, #2f503b);
    box-shadow: 0 3px 5px #5b6e3d16;
    color: #fffdf0 !important;
    font:
        700 23px/1.1 'ODVV Bitter',
        Georgia,
        serif;
    letter-spacing: -0.35px;
    text-decoration: none;
}
.odvv-flower-enter .icon {
    display: block;
    width: 26px;
    height: 26px;
    flex: none;
    stroke-width: 1.6;
}
.odvv-flower-view .odvv-flower-enter[aria-disabled='true'] {
    background: #e7e2d4;
    color: #827561 !important;
    border-color: #d8ccb7;
}
.odvv-flower-view .odvv-flower-children:empty {
    display: none;
}
.odvv-flower-skeleton {
    position: relative;
    display: block;
    flex: 0 0 125px;
    width: 125px;
    height: 125px;
    border: 1px solid #e1d8c7;
    border-radius: 10px;
    overflow: hidden;
    background: #ebe3d3;
}
.odvv-flower-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 15%, #fff9ecb3 48%, transparent 80%);
    transform: translateX(-100%);
    animation: odvv-photo-shimmer 1.4s ease-in-out infinite;
}
.odvv-loading-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
@keyframes odvv-photo-shimmer {
    to {
        transform: translateX(100%);
    }
}
.odvv-flower-enabled .modal-backdrop {
    z-index: 2147483490 !important;
}
dialog.odvv-flower-dialog > [data-flower-mount].odvv-flower-fit:not(.odvv-category-mode) {
    height: auto;
    padding: 5px 24px 14px;
    overflow: visible;
}
dialog.odvv-flower-dialog > .odvv-flower-close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    box-sizing: border-box;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-color: #dcc5a0;
    background: #fffdf4;
    color: #365b40;
}
.odvv-flower-view.odvv-category-mode > .odvv-flower-heading {
    display: none !important;
}
.odvv-flower-view.odvv-category-mode > .odvv-flower-layout {
    display: none !important;
}
.odvv-flower-view
    .ob-flower-menu__department-flower--dragging
    .ob-flower-menu__flower-orbit-decoration {
    transition: none !important;
}
.odvv-flower-view .spinning .ob-flower-menu__flower-orbit-decoration {
    transition: none !important;
}
.odvv-flower-view .spinning .ob-flower-menu__department-petal {
    transition: none !important;
}
.odvv-flower-view .spinning .ob-flower-menu__petal-content {
    transition: none !important;
}
@media (max-width: 767px) {
    .odvv-flower-view.odvv-flower-fit:not(.odvv-category-mode) {
        padding: 5px 9px 12px;
        gap: 0;
    }
    .odvv-flower-view .odvv-flower-heading {
        grid-template-columns: 50px minmax(0, 1fr) 50px;
        gap: 2px;
    }
    .odvv-flower-view .odvv-flower-heading-ornament {
        width: 50px;
        height: 62px;
    }
    .odvv-flower-view .odvv-flower-heading h1 {
        font-size: clamp(26px, 7.5vw, 36px);
    }
    .odvv-flower-view .odvv-flower-heading h2 {
        font-size: clamp(26px, 7.5vw, 36px);
    }
    .odvv-flower-view .odvv-flower-heading p {
        font-size: clamp(11px, 3vw, 14px);
        white-space: nowrap;
    }
    .odvv-flower-view .odvv-flower-heading-copy > span {
        height: 12px;
        width: 112px;
        margin-bottom: 4px;
    }
    .odvv-flower-view .odvv-flower-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto 38px auto auto;
        gap: 8px;
        align-items: center;
    }
    .odvv-flower-view .odvv-flower-stage {
        display: contents;
    }
    .odvv-flower-view .odvv-flower-preview {
        display: contents;
    }
    .odvv-flower-view .odvv-flower-stage .ob-flower-menu__department-flower {
        grid-column: 1;
        grid-row: 1;
        max-height: none;
        margin-bottom: calc(var(--odvv-wheel-fit, 400px) * -0.08);
    }
    .odvv-flower-view .odvv-flower-selected {
        grid-column: 1;
        grid-row: 2;
        min-height: 66px;
        margin: 0;
        padding: 8px 36px 18px;
        font-size: clamp(20px, 6.7vw, 32px);
    }
    .ob-flower-selection__divider {
        height: 12px;
        bottom: 11px;
    }
    .odvv-flower-view .odvv-flower-rotation {
        grid-column: 1;
        grid-row: 3;
        gap: 28px;
    }
    .odvv-flower-view .odvv-flower-carousel {
        grid-column: 1;
        grid-row: 4;
        width: 100%;
    }
    .odvv-flower-view .odvv-flower-enter {
        grid-column: 1;
        grid-row: 5;
        min-height: 50px;
        margin: 0;
        padding: 11px 18px;
        font-size: clamp(18px, 5.1vw, 24px);
    }
    .odvv-flower-slide {
        flex: 0 0 19.6154%;
        width: 19.6154%;
    }
    .odvv-flower-slide img {
        height: auto;
        aspect-ratio: 1;
        object-fit: cover;
    }
    .odvv-flower-skeleton {
        flex: 0 0 19.6154%;
        width: 19.6154%;
        height: auto;
        aspect-ratio: 1;
        align-self: flex-start;
    }
    .odvv-flower-view .ob-flower-menu__petal-content > .ob-flower-menu__petal-mark {
        width: 34px;
        height: 34px;
    }
    .odvv-flower-view
        .ob-flower-menu__department-petal--selected
        .ob-flower-menu__petal-content
        > .ob-flower-menu__petal-mark {
        width: 42px;
        height: 42px;
    }
    .odvv-flower-view
        .ob-flower-menu__department-petal
        .ob-flower-menu__petal-content
        > .ob-flower-menu__petal-label {
        font-size: clamp(14px, 4.3vw, 20px);
    }
    .odvv-flower-view
        .ob-flower-menu__department-petal--selected
        .ob-flower-menu__petal-content
        > .ob-flower-menu__petal-label {
        color: #fff9e9;
    }
}
@media (prefers-reduced-motion: reduce) {
    .odvv-flower-skeleton::after {
        animation: none;
        transform: none;
        background: none;
    }
    .ob-flower-menu__flower-orbit-decoration {
        transition: none;
    }
}

dialog.odvv-flower-dialog > .odvv-flower-close .icon {
    display: block;
    flex: none;
    margin: 0;
    width: 19px;
    height: 19px;
    stroke-width: 1.6;
}

.odvv-flower-empty {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    border: 1px solid #e1d8c7;
    border-radius: 10px;
    background: #f1eadb;
    color: #88735c;
}
.odvv-flower-empty::before {
    content: '';
    display: block;
    width: 150px;
    height: 150px;
}
.odvv-flower-empty > span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
}
@media (max-width: 767px) {
    .odvv-flower-empty::before {
        width: 25.5%;
        height: auto;
        aspect-ratio: 1;
    }
}

.ob-flower-menu__flower-orbit-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 50%;
    pointer-events: none;
}

.odvv-flower-selected[role='button'] {
    cursor: pointer;
}
.odvv-flower-selected[aria-disabled='true'] {
    cursor: default;
}

.odvv-flower-view .odvv-flower-selected {
    min-width: 0;
    white-space: nowrap;
    animation: none;
    transition: none;
}
.odvv-flower-title-text {
    display: block;
    color: #243e2d;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font: inherit;
}

/* Label sizes depend on viewport width, never on rotation or selection. */
/* Five badges arranged around the central photograph, as in the supplied reference. */
.odvv-flower-view .ob-flower-menu__department-petal {
    transform: translate(-50%, -50%) rotate(var(--theta)) translateY(calc(0px - var(--orbit)));
}
.odvv-flower-view
    .ob-flower-menu__department-petal
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-label {
    white-space: nowrap;
    font-size: clamp(12px, calc(var(--odvv-wheel-fit, 400px) * 0.045), 21px);
}
.odvv-flower-view
    .ob-flower-menu__department-petal.ob-flower-menu__department-petal--selected
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-label {
    color: #fff9e9;
}
.odvv-flower-view
    .ob-flower-menu__department-petal
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-mark {
    width: clamp(25px, calc(var(--odvv-wheel-fit, 400px) * 0.083), 38px);
    height: clamp(25px, calc(var(--odvv-wheel-fit, 400px) * 0.083), 38px);
}
.odvv-flower-view
    .ob-flower-menu__department-petal.ob-flower-menu__department-petal--selected
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-mark {
    width: clamp(32px, calc(var(--odvv-wheel-fit, 400px) * 0.11), 48px);
    height: clamp(32px, calc(var(--odvv-wheel-fit, 400px) * 0.11), 48px);
}
.odvv-flower-view
    .ob-flower-menu__department-petal[data-category='-11']
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-label {
    font-size: clamp(10px, calc(var(--odvv-wheel-fit, 400px) * 0.033), 15px);
}
.odvv-flower-view
    .ob-flower-menu__department-petal[data-category='-15']
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-label {
    font-size: clamp(10px, calc(var(--odvv-wheel-fit, 400px) * 0.036), 17px);
}
.odvv-flower-view
    .ob-flower-menu__department-petal[data-category='-12']
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-label {
    white-space: normal;
    font-size: clamp(11px, calc(var(--odvv-wheel-fit, 400px) * 0.04), 18px);
}
.odvv-flower-view
    .ob-flower-menu__department-petal.ob-flower-menu__department-petal--selected[data-category='-12']
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-label {
    color: #fff9e9;
}
.odvv-flower-view
    .ob-flower-menu__department-petal.ob-flower-menu__department-petal--selected[data-category='-12']
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-mark {
    width: 36px;
    height: 36px;
}
@media (max-width: 767px) {
    .odvv-flower-view.odvv-flower-fit:not(.odvv-flower-presentation):not(.odvv-category-mode) {
        padding-inline: 7px;
    }
}

.odvv-flower-view .odvv-flower-layout {
    align-content: start;
}

.odvv-flower-view
    .ob-flower-menu__department-petal:not(
        .ob-flower-menu__department-petal--selected
    )[data-category='-12']
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-mark {
    width: 28px;
    height: 28px;
}

.odvv-flower-view .ob-flower-menu__department-petal .ob-flower-menu__petal-content {
    transform: rotate(calc(0deg - var(--theta)));
}

.odvv-flower-initializing .ob-flower-menu__department-petal {
    transition: none !important;
}

.odvv-flower-initializing .ob-flower-menu__petal-content {
    transition: none !important;
}
.odvv-flower-enabled #index #page {
    background: #faf5e9;
}
html.odvv-flower-enabled body#index {
    background: #faf5e9;
}

/* Keep the flower canvas identical in the homepage and fullscreen menu. */
dialog.odvv-flower-dialog:has(> [data-flower-mount].odvv-flower-fit:not(.odvv-category-mode)) {
    overflow-y: auto !important;
    background: #faf5e9;
}
@media (max-width: 767px) {
    dialog.odvv-flower-dialog > [data-flower-mount].odvv-flower-fit:not(.odvv-category-mode) {
        width: calc(100% - 10px);
        padding: 5px 7px 12px;
    }
}

.odvv-flower-swipe-hint {
    position: absolute;
    right: 1.25%;
    top: 56%;
    width: 32px;
    height: 90px;
    transform: translateY(-50%);
    z-index: 6;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}
.odvv-flower-swipe-hint.is-visible {
    visibility: visible;
    animation: odvv-swipe-hint-visible 3.5s linear forwards;
}
.odvv-swipe-track {
    position: absolute;
    inset: 0;
    width: 32px;
    height: 90px;
    stroke: #365b40;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.65;
}
.odvv-swipe-cursor {
    position: absolute;
    top: 27px;
    left: 0;
    width: 29px;
    height: 32px;
    fill: #fffaf0;
    stroke: #365b40;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 3px #624a3140);
}
.odvv-flower-swipe-hint.is-visible .odvv-swipe-cursor {
    animation: odvv-swipe-cursor-move 1.7s ease-in-out 2;
}
@keyframes odvv-swipe-hint-visible {
    0% {
        opacity: 0;
    }
    8%,
    88% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}
@keyframes odvv-swipe-cursor-move {
    0%,
    100% {
        transform: translateY(21px);
    }
    50% {
        transform: translateY(-21px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .odvv-flower-swipe-hint.is-visible {
        animation: none;
        display: none;
    }
}

.odvv-flower-view .odvv-flower-rotation {
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 2px 12px 4px;
    gap: 20px;
    border-radius: 0 0 12px 12px;
    background: transparent;
    color: #800020;
}
.ob-flower-rotation__button {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    min-height: 0;
    padding: 0;
    border: 1px solid #d5b88e;
    border-radius: 50%;
    background: #fffdf5;
    color: #365b40;
    box-shadow: 0 2px 4px #a58a5a0a;
}
.ob-flower-rotation__button:hover {
    background: #fff0d4;
    border-color: #b9874c;
    color: #244833;
}
.ob-flower-rotation__button:focus-visible {
    outline: 2px solid #fffdf5;
    outline-offset: 2px;
}
.ob-flower-rotation__button:active {
    background: #f3d5a6;
    border-color: #a87438;
    color: #244833;
}
.ob-flower-rotation__label {
    font-size: 14px;
    color: #800020;
}

/* Full-width desktop background with centered content at its original width. */
@media (min-width: 768px) {
    .odvv-flower-view.odvv-flower-fit {
        width: 100%;
        max-width: none;
    }
    dialog.odvv-flower-dialog > [data-flower-mount].odvv-flower-fit {
        width: 100%;
        max-width: none;
    }
    .odvv-flower-view.odvv-flower-fit > .odvv-flower-layout {
        max-width: 1072px;
        margin-inline: auto;
    }
    .odvv-flower-fit .odvv-category-explorer > .odvv-explorer-header {
        width: 100%;
        max-width: 1120px;
        margin-inline: auto;
    }
    .odvv-flower-fit .odvv-category-explorer > .odvv-explorer-content {
        width: calc(100% - 32px);
        max-width: 1088px;
        margin-inline: auto;
    }
    .odvv-flower-enabled #index #page-container > .container {
        width: 100%;
        max-width: none;
        padding-inline: 0;
    }
    .odvv-flower-enabled #index #page {
        padding-inline: 0 !important;
    }
    .odvv-flower-enabled #index #columns {
        margin-inline: 0;
    }
    .odvv-flower-enabled #index #columns > .center-column {
        flex: 0 0 100%;
        max-width: 100%;
        padding-inline: 0 !important;
    }
}

/* Preserve the flower height when opening categories on every screen size. */
.odvv-flower-view.odvv-flower-fit.odvv-category-mode {
    display: block;
    height: var(--odvv-flower-view-height, auto);
    min-height: 0 !important;
    flex: 0 0 auto;
    overflow: hidden;
}
dialog.odvv-flower-dialog > [data-flower-mount].odvv-flower-fit.odvv-category-mode {
    display: block;
    min-height: 0 !important;
    flex: 0 0 auto;
    overflow: hidden;
}
.odvv-flower-fit.odvv-category-mode > .odvv-category-explorer {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}
dialog.odvv-flower-dialog > [data-flower-mount].odvv-flower-fit.odvv-category-mode {
    height: min(
        var(--odvv-flower-view-height, 100dvh),
        calc(100dvh - var(--odvv-header-height, 44px))
    );
}

.odvv-leave-store-dialog {
    position: fixed;
    inset: var(--odvv-header-height, 44px) 0 0;
    width: min(440px, calc(100vw - 32px));
    height: max-content;
    max-width: none;
    margin: auto;
    padding: 24px;
    border: 1px solid #d8c8ae;
    border-radius: 16px;
    background: #faf5e9;
    color: #4e3224;
    box-shadow: 0 16px 55px #23180f50;
    font:
        16px/1.6 'ODVV Bitter',
        Georgia,
        serif;
}
.odvv-leave-store-dialog::backdrop {
    background: #20180f80;
    backdrop-filter: blur(3px);
}
.odvv-leave-store-dialog p {
    margin: 0 0 20px;
}
.odvv-leave-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
    white-space: nowrap;
}
.odvv-leave-brand img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}
.odvv-leave-store-dialog footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.odvv-leave-store-dialog footer > :is(button, a) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #bca487;
    border-radius: 8px;
    background: #fffdf8;
    color: #365b40;
    font:
        600 14px/1.2 'ODVV Bitter',
        Georgia,
        serif;
    text-decoration: none;
    cursor: pointer;
}
.odvv-leave-store-dialog [data-leave-continue] {
    background: #365b40;
    border-color: #365b40;
    color: #fffaf0;
}

/* Keep the Puzzlecraft logo size stable when its button becomes active. */
.odvv-flower-view
    .ob-flower-menu__department-petal[data-category='-13']
    .ob-flower-menu__petal-mark:has(img[src*='puzzlecraft-logo']) {
    width: clamp(40px, calc(var(--odvv-wheel-fit, 400px) * 0.15), 76px);
    max-width: 76px;
    height: auto;
    aspect-ratio: 293/187;
    padding: 2px;
    border-radius: 5px;
}

.odvv-flower-view
    .ob-flower-menu__department-petal
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-mark:has(img[src*='puzzlecraft-logo']) {
    background: transparent;
    box-shadow: none;
    border: 0;
}
html body .header-nav {
    background:
        linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
        linear-gradient(135deg, #6d8c65 0%, #345b40 65%, #244833 100%) !important;
}
html.odvv-flower-enabled #header-container .header-nav {
    background:
        linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
        linear-gradient(135deg, #6d8c65 0%, #345b40 65%, #244833 100%) !important;
}

/* Fullscreen flower menu: compact controls and larger product previews. */
.page-home:has(> .odvv-flower-presentation:not(.odvv-category-mode)) {
    background: linear-gradient(
        180deg,
        #694b31 0%,
        #6d4c2b 6.25%,
        #785535 12.5%,
        #826346 18.75%,
        #8f7459 25%,
        #9e8873 31.25%,
        #ae9e8f 37.5%,
        #bcb3ac 43.75%,
        #cac6c3 50%,
        #dfdfdf 62.5%,
        #ededed 75%,
        #f7f7f7 87.5%,
        #fdfdfd 100%
    );
}
html.odvv-flower-enabled
    body
    dialog.odvv-flower-dialog:has(> .odvv-flower-presentation:not(.odvv-category-mode)) {
    padding: 0 !important;
    overflow-y: auto !important;
}
html.odvv-flower-enabled
    body
    :is(
        dialog.odvv-flower-dialog > [data-flower-mount],
        #index #content > .odvv-flower-presentation
    ).odvv-flower-presentation:not(.odvv-category-mode) {
    width: 100% !important;
    max-width: none;
    min-height: 0 !important;
    padding: 6px 20px 12px;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
    --odvv-modal-product-size: clamp(70px, 10svh, 90px);
}
.odvv-flower-presentation:not(.odvv-category-mode) > .odvv-flower-layout {
    max-width: none !important;
    height: 100%;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
}
.odvv-flower-presentation .odvv-flower-stage {
    height: 100%;
    grid-template-rows: minmax(0, 1fr);
    gap: 2px;
    align-content: center;
}
.odvv-flower-presentation .odvv-flower-stage .ob-flower-menu__department-flower {
    align-self: center;
    margin-block: 0;
}
.odvv-flower-presentation .odvv-flower-rotation {
    margin: 0;
    padding: 0 12px 2px;
    min-height: 34px;
}
.odvv-flower-presentation .ob-flower-rotation__button {
    width: 32px;
    height: 32px;
}
.odvv-flower-presentation .odvv-flower-preview {
    width: 100%;
}
.odvv-flower-presentation :is(.odvv-flower-slide, .odvv-flower-skeleton) {
    flex: 0 0 var(--odvv-modal-product-size);
    width: var(--odvv-modal-product-size);
    height: var(--odvv-modal-product-size);
}
.odvv-flower-presentation .odvv-flower-slide img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
@media (max-width: 767px) {
    html.odvv-flower-enabled
        body
        :is(
            dialog.odvv-flower-dialog > [data-flower-mount],
            #index #content > .odvv-flower-presentation
        ).odvv-flower-presentation:not(.odvv-category-mode) {
        padding: 4px 8px 8px;
        --odvv-modal-product-size: clamp(
            115px,
            calc(var(--ob-flower-mobile-viewport-height, 100svh) * 0.16),
            150px
        );
    }
    .odvv-flower-presentation:not(.odvv-category-mode) > .odvv-flower-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }
    .odvv-flower-presentation .odvv-flower-stage .ob-flower-menu__department-flower {
        align-self: center;
        margin-top: 0;
        margin-bottom: calc(var(--odvv-wheel-fit, 400px) * -0.04);
    }
    .odvv-flower-presentation .odvv-flower-selected {
        height: 42px;
        min-height: 42px;
        box-sizing: border-box;
        padding: 2px 44px 8px;
    }
    .odvv-flower-presentation .ob-flower-selection__divider {
        height: 7px;
        bottom: 3px;
    }
    .odvv-flower-presentation .odvv-flower-enter {
        margin: 0;
    }
}

.odvv-flower-presentation .odvv-flower-enter {
    min-height: 42px;
    height: 42px;
    padding: 7px 16px;
    font-size: clamp(17px, 1.6vw, 21px);
    box-sizing: border-box;
}
@media (max-width: 767px) {
    .odvv-flower-presentation:not(.odvv-category-mode) > .odvv-flower-layout {
        height: auto;
        grid-template-rows: auto 42px 32px auto 42px;
    }
    .odvv-flower-presentation .odvv-flower-enter {
        min-height: 42px;
        height: 42px;
        padding: 7px 14px;
        font-size: 18px;
    }
}

@media (min-width: 768px) and (max-height: 550px) {
    html.odvv-flower-enabled
        body
        :is(
            dialog.odvv-flower-dialog > [data-flower-mount],
            #index #content > .odvv-flower-presentation
        ).odvv-flower-presentation:not(.odvv-category-mode) {
        --odvv-modal-product-size: clamp(54px, 15.3svh, 81px);
        padding-block: 4px;
    }
    .odvv-flower-presentation .odvv-flower-heading-ornament {
        height: 44px;
    }
    .odvv-flower-presentation .odvv-flower-heading :is(h1, h2) {
        font-size: 26px;
    }
    .odvv-flower-presentation .odvv-flower-heading-copy > span {
        display: none;
    }
    .odvv-flower-presentation .odvv-flower-selected {
        min-height: 32px;
        margin: 0;
        padding-block: 0;
    }
    .odvv-flower-presentation .odvv-flower-enter {
        margin-top: 5px;
    }
}

html.odvv-flower-enabled
    body
    dialog.odvv-flower-dialog:has(> .odvv-flower-presentation:not(.odvv-category-mode)) {
    overflow-x: hidden !important;
}
@media (min-width: 768px) {
    .odvv-flower-presentation .odvv-flower-stage {
        width: 100%;
        max-width: 560px;
        justify-self: center;
    }
}

/* Show complete photographs inside square carousel tiles, without cropping. */
.odvv-flower-view .odvv-flower-slide[data-flower-photo] {
    aspect-ratio: 1;
}
.odvv-flower-view .odvv-flower-slide[data-flower-photo] > img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover !important;
    object-position: center;
    background: #fffdf9;
}

/* The homepage stays in a centred desktop container; only the dialog is fullscreen. */
@media (min-width: 768px) {
    html.odvv-flower-enabled #index #page-container > .container {
        max-width: 1184px;
        margin-inline: auto;
        padding-inline: 16px;
        box-sizing: border-box;
    }
    html.odvv-flower-enabled body #index #content > .odvv-flower-presentation {
        width: 100% !important;
        max-width: 1120px !important;
        margin-inline: auto;
    }
    html.odvv-flower-enabled body#index #content > .odvv-flower-presentation {
        width: 100% !important;
        max-width: 1120px !important;
        margin-inline: auto;
    }
}

/* Full-width homepage backdrop behind the centred flower content. */
html.odvv-flower-enabled
    body#index
    #page-container:has(#content > .odvv-flower-presentation:not(.odvv-category-mode)) {
    background: radial-gradient(ellipse at 50% 33%, #fffdf5 0, #faf5e9 52%, #f5eddb 100%);
}
html.odvv-flower-enabled
    body#index
    #page-container:has(#content > .odvv-flower-presentation:not(.odvv-category-mode))
    #page {
    background: transparent;
    box-shadow: none;
}
html.odvv-flower-enabled body#index #content > .odvv-flower-presentation:not(.odvv-category-mode) {
    background: transparent;
    box-shadow: none;
}

/* Keep the heading readable using only text color and a light text shadow. */
.odvv-flower-view .odvv-flower-heading-copy :is(h1, h2) {
    color: #3c1c10;
    text-shadow:
        0 1px 2px #fffaf0,
        0 0 6px #fffaf0;
}
.odvv-flower-view .odvv-flower-heading-copy p {
    color: #fff;
    text-shadow: none;
}
html.odvv-flower-enabled
    body
    dialog.odvv-flower-dialog:has(> .odvv-flower-presentation:not(.odvv-category-mode)) {
    background: linear-gradient(
        180deg,
        #694b31 0%,
        #6d4c2b 6.25%,
        #785535 12.5%,
        #826346 18.75%,
        #8f7459 25%,
        #9e8873 31.25%,
        #ae9e8f 37.5%,
        #bcb3ac 43.75%,
        #cac6c3 50%,
        #dfdfdf 62.5%,
        #ededed 75%,
        #f7f7f7 87.5%,
        #fdfdfd 100%
    );
}
html.odvv-flower-enabled
    body
    dialog.odvv-flower-dialog
    > [data-flower-mount].odvv-flower-presentation:not(.odvv-category-mode) {
    background: transparent;
    box-shadow: none;
}

/* Same complete backdrop on both layouts; no image request is needed. */
.page-home:has(> .odvv-flower-presentation:not(.odvv-category-mode)) {
    position: relative;
    isolation: isolate;
}
.page-home:has(> .odvv-flower-presentation:not(.odvv-category-mode))::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        #694b31 0%,
        #6d4c2b 6.25%,
        #785535 12.5%,
        #826346 18.75%,
        #8f7459 25%,
        #9e8873 31.25%,
        #ae9e8f 37.5%,
        #bcb3ac 43.75%,
        #cac6c3 50%,
        #dfdfdf 62.5%,
        #ededed 75%,
        #f7f7f7 87.5%,
        #fdfdfd 100%
    );
    pointer-events: none;
}
@media (min-width: 768px) {
    html.odvv-flower-enabled
        body
        dialog.odvv-flower-dialog:has(> .odvv-flower-presentation:not(.odvv-category-mode)) {
        background-size: 100% 100%;
        background-position: center;
    }
}

/* Position ornaments below the close button without changing the heading or flower layout. */
.odvv-flower-view.odvv-flower-presentation .odvv-flower-heading {
    position: relative;
}
.odvv-flower-view.odvv-flower-presentation .odvv-flower-heading-copy {
    grid-column: 2;
}
.odvv-flower-view.odvv-flower-presentation .odvv-flower-heading-ornament {
    position: var(--ob-home-popup-ornament-position, absolute);
    top: var(--ob-home-popup-ornament-top, 0);
    margin: 0;
    pointer-events: none;
}
.odvv-flower-view.odvv-flower-presentation .odvv-flower-heading-ornament:first-child {
    left: 0;
}
.odvv-flower-view.odvv-flower-presentation .odvv-flower-heading-ornament:last-child {
    right: 0;
}

.odvv-flower-view
    .ob-flower-menu__department-petal
    .ob-flower-menu__petal-label
    > .ob-flower-menu__petal-subtitle {
    font-size: 0.72em;
    line-height: 1.1;
    letter-spacing: 0;
}

/* Keep the two-line Artizanat label compact and the divider inside its petal. */
.odvv-flower-view
    .ob-flower-menu__department-petal[data-category='-14']
    .ob-flower-menu__petal-content:has(.ob-flower-menu__petal-subtitle) {
    gap: 1px;
}
.odvv-flower-view
    .ob-flower-menu__department-petal[data-category='-14']
    .ob-flower-menu__petal-content
    > .ob-flower-menu__petal-label:has(.ob-flower-menu__petal-subtitle) {
    line-height: 1;
}
.odvv-flower-view
    .ob-flower-menu__department-petal[data-category='-14']
    .ob-flower-menu__petal-label:has(.ob-flower-menu__petal-subtitle)
    > br {
    display: none;
}
.odvv-flower-view
    .ob-flower-menu__department-petal[data-category='-14']
    .ob-flower-menu__petal-label
    > .ob-flower-menu__petal-subtitle {
    display: block;
    margin-top: 0;
    line-height: 1;
}
.odvv-flower-view
    .ob-flower-menu__department-petal[data-category='-14']
    .ob-flower-menu__petal-content:has(.ob-flower-menu__petal-subtitle)
    > .ob-flower-menu__petal-mark {
    height: 30%;
    width: auto;
    max-height: 38px;
    aspect-ratio: 1;
}
.odvv-flower-view
    .ob-flower-menu__department-petal[data-category='-14']
    .ob-flower-menu__petal-content:has(.ob-flower-menu__petal-subtitle)
    > .ob-flower-menu__petal-stitch {
    height: 5px;
    width: 60%;
    max-width: 65px;
}

/* Keep the heading copy at its original height, independently of lowered ornaments. */
.odvv-flower-view.odvv-flower-presentation .odvv-flower-heading-copy {
    align-self: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 72px;
}
@media (max-width: 767px) {
    .odvv-flower-view.odvv-flower-presentation .odvv-flower-heading-copy {
        min-height: 62px;
    }
}
@media (min-width: 768px) and (max-height: 550px) {
    .odvv-flower-view.odvv-flower-presentation .odvv-flower-heading-copy {
        min-height: 44px;
    }
}

/* Desktop home and popup share their natural content height and column proportions. */
@media (min-width: 768px) {
    .odvv-flower-view.odvv-flower-presentation:not(.odvv-category-mode) {
        grid-template-rows: auto auto;
        align-content: start;
    }
    .odvv-flower-presentation:not(.odvv-category-mode) > .odvv-flower-layout {
        height: auto;
        align-content: start;
    }
    .odvv-flower-presentation:not(.odvv-category-mode) .odvv-flower-stage {
        height: auto;
        grid-template-rows: auto;
    }
}

/* Let desktop ornaments reach the viewport edges without widening the content grid. */
@media (min-width: 768px) {
    .odvv-flower-view.odvv-flower-presentation:not(.odvv-category-mode) {
        overflow: visible;
    }
    .odvv-flower-view.odvv-flower-presentation .odvv-flower-heading-ornament:first-child {
        left: var(--ob-home-popup-ornament-inset, calc(50% - 50vw + 32px));
    }
    .odvv-flower-view.odvv-flower-presentation .odvv-flower-heading-ornament:last-child {
        right: var(--ob-home-popup-ornament-inset, calc(50% - 50vw + 32px));
    }
}

/* The flower close control sits directly below the upper-right ornament. */
dialog.odvv-flower-dialog:has(> .odvv-flower-presentation:not(.odvv-category-mode))
    > .odvv-flower-close {
    top: 136px;
    right: 51px;
    bottom: auto;
}
@media (max-width: 767px) {
    dialog.odvv-flower-dialog:has(> .odvv-flower-presentation:not(.odvv-category-mode))
        > .odvv-flower-close {
        top: 72px;
        right: 16px;
    }
}
@media (min-width: 768px) and (max-height: 550px) {
    dialog.odvv-flower-dialog:has(> .odvv-flower-presentation:not(.odvv-category-mode))
        > .odvv-flower-close {
        top: 54px;
    }
}

/* Promote moving petals only during gestures; avoid competing CSS transitions. */
.odvv-flower-view
    .ob-flower-menu__department-flower:is(.ob-flower-menu__department-flower--dragging, .spinning)
    .ob-flower-menu__department-petal {
    will-change: transform;
    transition: none !important;
}
.odvv-flower-view
    .ob-flower-menu__department-flower:is(.ob-flower-menu__department-flower--dragging, .spinning)
    .ob-flower-menu__petal-content {
    will-change: transform;
    transition: none !important;
}

/* Bring the wheel closer to the section heading. */
.odvv-flower-view.odvv-flower-presentation:not(.odvv-category-mode)
    .odvv-flower-stage
    .ob-flower-menu__department-flower {
    align-self: start;
    margin-top: -12px;
}
.ob-flower-menu__petal-content {
    color: #4e2618;
}
.ob-flower-menu__petal-mark {
    color: #4e2618;
}
.ob-flower-menu__department-petal--selected .ob-flower-menu__petal-mark {
    color: #fff9e9;
}

/* CSS establishes the same initial geometry that JavaScript subsequently measures. */
.odvv-flower-presentation {
    container-type: inline-size;
}
.odvv-flower-stage {
    container-type: inline-size;
}
.ob-flower-menu__department-flower {
    --odvv-wheel-fit: calc(100cqw / 0.975);
    --orbit: calc(var(--odvv-wheel-fit) * 0.36);
}
.ob-flower-menu__department-petal--initial-0 {
    --theta: 144deg;
}
.ob-flower-menu__department-petal--initial-1 {
    --theta: 216deg;
}
.ob-flower-menu__department-petal--initial-2 {
    --theta: 288deg;
}
.ob-flower-menu__department-petal--initial-3 {
    --theta: 360deg;
}
.ob-flower-menu__department-petal--initial-4 {
    --theta: 432deg;
}

@media (max-width: 767px) {
    .ob-flower-menu__department-flower {
        --odvv-wheel-fit: calc((100cqw + 16px) / 0.975);
    }
}

/* Tablets keep the flower above the selection and product previews. */
@media (min-width: 768px) and (max-width: 1199px) {
    .odvv-flower-presentation:not(.odvv-category-mode):not(.odvv-flower-modal-view) > .odvv-flower-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        height: auto;
        gap: 8px;
        align-items: start;
    }

    .odvv-flower-presentation:not(.odvv-category-mode):not(.odvv-flower-modal-view) .odvv-flower-stage {
        grid-column: 1;
        grid-row: 1;
        height: auto;
        width: 100%;
        max-width: 560px;
        justify-self: center;
    }

    .odvv-flower-presentation:not(.odvv-category-mode):not(.odvv-flower-modal-view) .odvv-flower-preview {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
    }
}

/* Scale the complete original mobile composition, without reflowing its contents. */
@media (max-width: 767px) {
    .odvv-flower-presentation:not(.odvv-category-mode) {
        --ob-flower-natural-height: calc(
            100vw / 0.975 * 0.96 + 186px +
            clamp(115px, var(--ob-flower-mobile-viewport-height, 100svh) * 0.16, 150px)
        );
        --ob-flower-mobile-scale: min(
            1,
            (var(--ob-flower-mobile-viewport-height, 100svh) -
            var(--odvv-header-height, 44px) - 4px) / var(--ob-flower-natural-height)
        );
        zoom: var(--ob-flower-mobile-scale);
    }
    .odvv-flower-presentation:not(.odvv-category-mode) .ob-flower-menu__department-flower {
        --odvv-wheel-fit: calc(100vw / 0.975);
    }
}

.ob-flower-viewport-measure {
    position: fixed;
    width: 0;
    height: 100svh;
    visibility: hidden;
    pointer-events: none;
    contain: strict;
}

/* Keep title ornaments independent of the stretched plaque mask and text fitting. */
.ob-flower-selection__ornament {
    position: absolute;
    top: calc(50% - 5.5px);
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    pointer-events: none;
}
.ob-flower-selection__ornament--left {
    left: 14px;
}
.ob-flower-selection__ornament--right {
    right: 14px;
}
@media (max-width: 767px) {
    .ob-flower-selection__ornament {
        top: calc(50% - 3px);
    }
}

/* Fit the icon, label and divider together, keeping their original proportions. */
.ob-flower-menu__petal-mark {
    zoom: var(--ob-petal-content-fit, 1);
}
.ob-flower-menu__petal-label {
    zoom: var(--ob-petal-content-fit, 1);
}
.ob-flower-menu__petal-stitch {
    zoom: var(--ob-petal-content-fit, 1);
}

.ob-flower-center-access__fade {
    display: none;
    position: absolute;
    inset: 50% 0 0;
    background: linear-gradient(180deg, #ffffff00 0%, #ffffffb8 52%, #ffffff 100%);
    pointer-events: none;
    z-index: 1;
}
.ob-flower-menu__flower-center.has-photo > .ob-flower-center-access__fade {
    display: block;
}
.ob-flower-center-access__button {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 8px 8px 10px;
    border: 0;
    border-radius: 0;
    background-color: #2b5b40;
    background-image: linear-gradient(110deg, #2b5b40 34%, #376a49 40%, #46784f 44%, #4d8157 47%, #376a49 50%, #4d8157 53%, #2b5b40 60%);
    background-size: 300% 100%;
    background-repeat: no-repeat;
    color: #ffffff;
    box-shadow: none;
    font-family: Georgia, serif;
    font-size: clamp(14px, calc(var(--odvv-wheel-fit, 400px) * 0.046), 20px);
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
    z-index: 2;
    animation: ob-flower-center-access-shimmer 2.2s ease-in-out infinite alternate;
}
.ob-flower-menu__flower-center.has-photo > .ob-flower-center-access__button {
    display: flex;
}
.ob-flower-center-access__button:hover {
    background-color: #376a49;
    border-color: #173d28;
    box-shadow: 0 3px 7px #2448334d;
    color: #ffffff;
}
.ob-flower-center-access__button:focus-visible {
    outline: 2px solid #fffdf5;
    outline-offset: 2px;
}
.ob-flower-center-access__button:active {
    background-color: #244833;
    background-image: none;
    color: #ffffff;
    box-shadow: inset 0 1px 3px #173d284d;
}
.ob-flower-center-access__button:disabled {
    background-color: #758776;
    background-image: none;
    border-color: #667768;
    color: #ffffff;
    box-shadow: none;
    cursor: default;
    animation: none;
}
.ob-flower-center-access__label {
    color: #ffffff;
}
.ob-flower-center-access__icon {
    width: 1em;
    height: 1em;
    flex: none;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@keyframes ob-flower-center-access-shimmer {
    from {
        background-position: 100% 50%;
    }
    to {
        background-position: 0% 50%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ob-flower-center-access__button {
        animation: none;
    }
}

.ob-flower-center-access__image-button {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff00;
    color: #ffffff;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1;
}
.ob-flower-menu__flower-center.has-photo > .ob-flower-center-access__image-button {
    display: block;
}
.ob-flower-center-access__image-button:hover {
    background: #ffffff00;
}
.ob-flower-center-access__image-button:active {
    background: #ffffff0d;
}
.ob-flower-center-access__image-button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: -5px;
}
.ob-flower-center-access__image-button:disabled {
    cursor: default;
    background: #ffffff00;
}

.ob-flower-explorer-transition-source {
    view-transition-name: ob-flower-explorer-opening;
}
.ob-flower-explorer-transition-target {
    view-transition-name: ob-flower-explorer-opening;
}
::view-transition-group(ob-flower-explorer-opening) {
    animation-duration: 380ms;
    animation-timing-function: cubic-bezier(0.22, 0.68, 0.25, 1);
}
::view-transition-image-pair(ob-flower-explorer-opening) {
    isolation: isolate;
    overflow: hidden;
}
::view-transition-old(ob-flower-explorer-opening) {
    animation-duration: 180ms;
    mix-blend-mode: normal;
}
::view-transition-new(ob-flower-explorer-opening) {
    animation-duration: 220ms;
    animation-delay: 80ms;
    mix-blend-mode: normal;
}
