/* All selectors are scoped to the module; removing its assets restores the theme menu. */
html.odvv-flower-enabled {
    --odvv-page-navigation-height: 72px;
    scroll-padding-bottom: calc(var(--odvv-page-navigation-height) + 20px);
}
.odvv-flower-enabled body {
    padding-bottom: var(--odvv-page-navigation-height) !important;
}
.odvv-flower-enabled #menu-icon {
    display: none !important;
}
.odvv-flower-enabled .header-menu {
    display: none !important;
}
.odvv-flower-enabled #mobile_top_menu_wrapper {
    display: none !important;
}
.odvv-flower-open {
    overflow: hidden;
}
.odvv-flower-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-right: 18px;
    padding: 3px 0;
    border: 0;
    background: transparent;
    color: #385b46;
    font:
        600 14px/1.3 Georgia,
        serif;
    cursor: pointer;
}
.odvv-flower-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: block;
}
.odvv-flower-trigger .odvv-flower-icon {
    animation: odvv-flower-pulse 2.8s ease-in-out infinite;
}
.odvv-flower-trigger:hover .odvv-flower-icon {
    animation-play-state: paused;
}
@keyframes odvv-flower-pulse {
    0%,
    100% {
        transform: scale(0.9) rotate(-5deg);
    }
    50% {
        transform: scale(1.06) rotate(5deg);
    }
}
.odvv-flower-view {
    box-sizing: border-box;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 30px 36px;
    color: #624a31;
    font-family: Georgia, 'Times New Roman', serif;
    background: radial-gradient(ellipse at 25% 40%, #f0e5d1 0%, #fcf9f1 65%);
    border-radius: 20px;
}
.odvv-flower-view * {
    box-sizing: border-box;
}
.odvv-flower-view button {
    -webkit-tap-highlight-color: transparent;
}
.odvv-flower-view a {
    -webkit-tap-highlight-color: transparent;
}
.odvv-flower-heading {
    text-align: center;
}
.odvv-flower-heading > span {
    color: #987554;
    letter-spacing: 8px;
    font-size: 15px;
}
.odvv-flower-heading h1 {
    margin: 8px 0;
    font:
        500 clamp(27px, 3vw, 38px)/1.2 Georgia,
        serif;
    color: #624a31;
}
.odvv-flower-heading h2 {
    margin: 8px 0;
    font:
        500 clamp(27px, 3vw, 38px)/1.2 Georgia,
        serif;
    color: #624a31;
}
.odvv-flower-heading p {
    margin: 0;
    color: #89765e;
    font-size: 15px;
}
.odvv-flower-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 44px;
    margin: 18px auto 0;
}
.odvv-flower-stage {
    min-width: 0;
}
.odvv-flower-view .ob-flower-menu__department-flower {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 470px;
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    touch-action: pan-y;
    cursor: grab;
    background: repeating-conic-gradient(from 0deg, #bca48738 0deg 1deg, transparent 1deg 12deg);
    border: 1px dashed #cbb897;
    box-shadow: inset 0 0 0 15px #fcf9f1;
}
.odvv-flower-view .ob-flower-menu__department-flower::before {
    content: '';
    position: absolute;
    inset: 8%;
    border: 1px solid #cbb897;
    border-radius: 50%;
    pointer-events: none;
}
.odvv-flower-view .ob-flower-menu__department-petal {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--petal-width, 29%);
    height: 37%;
    padding: 8px;
    border: 1px solid #bca487;
    border-radius: 51% 51% 40% 40% / 43% 43% 58% 58%;
    background: linear-gradient(165deg, #fffdf8 4%, #f0e6d4 75%, #e8d5b9);
    box-shadow:
        inset 0 0 0 5px #fffdf85c,
        0 4px 10px #624a3110;
    transform: translate(-50%, -50%) rotate(var(--theta)) translateY(-73%);
    color: #624a31;
    cursor: pointer;
    transition:
        background 0.3s,
        box-shadow 0.3s;
}
.odvv-flower-view .ob-flower-menu__department-petal::before {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px dashed #bca487;
    border-radius: inherit;
    pointer-events: none;
}
.odvv-flower-view .ob-flower-menu__department-petal.ob-flower-menu__department-petal--selected {
    color: #fffdf8;
    background: linear-gradient(150deg, #6f8960, #385b46);
    border-color: #385b46;
    box-shadow:
        inset 0 0 0 5px #fffdf819,
        0 5px 18px #624a3124;
}
.odvv-flower-view
    .ob-flower-menu__department-petal.ob-flower-menu__department-petal--selected::before {
    border-color: #d1ddbf;
}
.odvv-flower-view .ob-flower-menu__petal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font:
        600 clamp(12px, 1.2vw, 16px)/1.22 Georgia,
        serif;
    pointer-events: none;
}
.odvv-flower-view .ob-flower-menu__petal-content small {
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.6;
}
.odvv-flower-view .ob-flower-menu__flower-center {
    position: absolute;
    left: 30%;
    top: 30%;
    width: 40%;
    height: 40%;
    overflow: hidden;
    border: 1px solid #987554;
    border-radius: 50%;
    background: #f0e6d4;
    box-shadow:
        0 0 0 5px #fcf9f1,
        0 0 0 6px #cbb897,
        0 8px 25px #624a311b;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}
.odvv-flower-view .ob-flower-menu__flower-center > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.odvv-flower-view .ob-flower-menu__flower-center > .odvv-flower-icon {
    position: absolute;
    inset: 20%;
    width: 60%;
    height: 60%;
    color: #7e9467;
}
.odvv-flower-view .ob-flower-menu__flower-center > strong {
    z-index: 1;
    position: relative;
    width: 100%;
    padding: 26px 12px 20px;
    color: #fffdf8;
    background: linear-gradient(transparent, #253d2be6);
    font:
        600 clamp(13px, 1.5vw, 18px)/1.3 Georgia,
        serif;
    text-shadow: 0 1px 3px #0006;
}
.odvv-flower-rotation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 16px 0 0;
    font-size: 14px;
    color: #89765e;
}
.ob-flower-rotation__button {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 1px solid #bca487;
    border-radius: 50%;
    background: #fffdf8;
    color: #385b46;
    font:
        500 28px/1 Georgia,
        serif;
    cursor: pointer;
}
.odvv-flower-carousel-controls button {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid #bca487;
    border-radius: 50%;
    background: #fffdf8;
    color: #385b46;
    font:
        500 28px/1 Georgia,
        serif;
    cursor: pointer;
}
.odvv-flower-preview {
    min-width: 0;
}
.odvv-flower-selected {
    font:
        500 clamp(22px, 2vw, 29px)/1.25 Georgia,
        serif;
    color: #624a31;
    margin: 0 0 15px;
}
.odvv-flower-carousel {
    border: 1px solid #dac9ad;
    border-radius: 18px;
    padding: 10px;
    background: #fffdf8;
    overflow: hidden;
}
.odvv-flower-slides {
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    border-radius: 12px;
}
.odvv-flower-slides::-webkit-scrollbar {
    display: none;
}
.odvv-flower-slide {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: center;
    scroll-snap-align: start;
    min-width: 0;
    text-decoration: none !important;
    color: #624a31 !important;
}
.odvv-flower-slide img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    background: white;
    border-radius: 12px;
}
.odvv-flower-slide > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    text-align: center;
    padding: 7px 6px 3px;
    font:
        500 14px/1.35 Georgia,
        serif;
}
.odvv-flower-message {
    flex: 0 0 100%;
    display: grid;
    place-content: center;
    min-height: 212px;
    padding: 24px;
    text-align: center;
    color: #89765e;
    font-size: 15px;
}
.odvv-flower-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}
.odvv-flower-carousel-controls button {
    width: 34px;
    height: 34px;
    font-size: 24px;
}
.odvv-flower-carousel-controls button[data-autoplay] {
    width: 30px;
    height: 30px;
    font-size: 13px;
    margin-left: 8px;
}
.odvv-flower-carousel-controls button:disabled {
    opacity: 0.35;
    cursor: default;
}
.odvv-flower-counter {
    font:
        500 13px/1.3 Georgia,
        serif;
    min-width: 42px;
    text-align: center;
}
.odvv-flower-enter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    margin-top: 14px;
    padding: 12px 20px;
    border: 1px solid #385b46;
    border-radius: 12px;
    background: linear-gradient(135deg, #5d7652, #385b46);
    color: #fffdf8 !important;
    font:
        600 17px/1.3 Georgia,
        serif;
    text-decoration: none !important;
}
.odvv-flower-enter:hover {
    filter: brightness(1.1);
}
.odvv-flower-children {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
    max-height: 160px;
    overflow: auto;
}
.odvv-flower-children p {
    flex-basis: 100%;
    margin: 0 0 2px;
    font-size: 13px;
    color: #89765e;
}
.odvv-flower-children button {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #b2c19d;
    border-radius: 8px;
    padding: 8px 10px;
    background: #d1ddbf;
    color: #354b32;
    font:
        500 13px/1.3 Georgia,
        serif;
    cursor: pointer;
}
.odvv-flower-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    border: 0;
    padding: 54px 24px 24px;
    background: #fcf9f1;
    color: #624a31;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 2147483647;
}
.odvv-flower-dialog:not([open]) {
    display: none;
}
.odvv-flower-dialog::backdrop {
    background: #fcf9f1;
}
.odvv-flower-close {
    position: fixed;
    top: 12px;
    right: 18px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 1px solid #cbb897;
    border-radius: 50%;
    background: #fffdf8;
    color: #385b46;
    font:
        400 30px/1 Georgia,
        serif;
    cursor: pointer;
}
.odvv-flower-modal-view {
    min-height: calc(100% - 24px);
}
.odvv-page-navigation {
    position: fixed !important;
    inset: auto 0 0 !important;
    z-index: 2147483000 !important;
    padding: 8px 18px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #c7d1ba;
    background: #fcf9f1f5;
    box-shadow: 0 -3px 16px #273e2514;
    backdrop-filter: blur(8px);
}
.odvv-page-navigation > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1120px;
    margin: auto;
}
.odvv-page-navigation button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 150px;
    min-height: 44px;
    padding: 9px 18px;
    border: 1px solid #385b46;
    border-radius: 11px;
    background: #385b46;
    color: #fffdf8;
    font:
        600 16px/1.2 Georgia,
        serif;
    cursor: pointer;
}
.odvv-page-navigation [data-page-forward] {
    background: #d1ddbf;
    border-color: #b2c19d;
    color: #354b32;
}
.odvv-page-navigation button:disabled {
    opacity: 0.38;
    cursor: default;
}
.odvv-page-navigation > a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5d7652;
    text-decoration: none;
}
.odvv-page-navigation .odvv-flower-icon {
    width: 34px;
    height: 34px;
}
.odvv-flower-enabled .modal {
    z-index: 2147483500 !important;
}
.odvv-flower-enabled [role='dialog']:not(dialog) {
    z-index: 2147483500 !important;
}
.odvv-flower-view :is(a, button, [tabindex]):focus-visible {
    outline: 3px solid #a58550;
    outline-offset: 3px;
}
.odvv-flower-trigger:focus-visible {
    outline: 3px solid #a58550;
    outline-offset: 3px;
}
.odvv-page-navigation :is(a, button):focus-visible {
    outline: 3px solid #a58550;
    outline-offset: 3px;
}
.odvv-flower-close:focus-visible {
    outline: 3px solid #a58550;
    outline-offset: 3px;
}
@media (max-width: 767px) {
    .odvv-flower-view {
        padding: 22px 12px 26px;
        border-radius: 12px;
    }
    .odvv-flower-heading p {
        font-size: 13px;
    }
    .odvv-flower-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 20px;
    }
    .odvv-flower-view .ob-flower-menu__department-flower {
        max-width: 380px;
        width: 94%;
    }
    .odvv-flower-view .ob-flower-menu__flower-center > strong {
        font-size: 14px;
        padding: 24px 8px 15px;
    }
    .odvv-flower-preview {
        width: 100%;
        max-width: 430px;
        margin: auto;
    }
    .odvv-flower-selected {
        text-align: center;
        font-size: 24px;
        margin-bottom: 12px;
    }
    .odvv-flower-slide img {
        height: 140px;
    }
    .odvv-flower-dialog {
        padding: 52px 6px 15px;
    }
    .odvv-flower-trigger {
        margin-right: 12px;
        gap: 5px;
        font-size: 12px;
    }
    .odvv-flower-trigger .odvv-flower-icon {
        width: 34px;
        height: 34px;
    }
    .odvv-page-navigation {
        padding-inline: 12px;
    }
    .odvv-page-navigation > div {
        gap: 12px;
    }
    .odvv-page-navigation button {
        min-width: 0;
        flex: 1;
        font-size: 14px;
        gap: 8px;
        padding: 9px 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .odvv-flower-trigger .odvv-flower-icon {
        animation: none;
    }
    .odvv-flower-view * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
/* The theme normally hides this header row on desktop. */
.odvv-flower-enabled #header-container .header-nav {
    display: block !important;
    min-height: 0;
    height: 35px !important;
    background: #fcf9f1;
}
.odvv-flower-enabled #header-container .header-nav > .container {
    min-height: 0;
    height: 100% !important;
}
.odvv-flower-enabled #index #top-column-container {
    display: none !important;
}
.odvv-flower-enabled #index #alt-column-container {
    display: none !important;
}
.odvv-flower-enabled #index #columns > .side-column {
    display: none !important;
}
.odvv-flower-enabled #index #columns > .center-column {
    flex: 0 0 100%;
    max-width: 100%;
}
.odvv-flower-enabled #index #content > .odvv-flower-view {
    margin-top: 16px;
}
.odvv-flower-enabled #header-container .header-nav > .container {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap;
    gap: 10px;
    padding-block: 0;
}
.odvv-flower-enabled #header-container .header-nav a {
    color: #385b46;
}
.odvv-flower-enabled #header-container .header-nav .header-nav-links {
    margin-left: auto;
}
.odvv-flower-view .ob-flower-menu__petal-content > span {
    max-width: 100%;
}
.odvv-flower-view .ob-flower-menu__petal-content {
    max-width: 96px;
    margin: auto;
    overflow-wrap: anywhere;
    font-size: 14px;
}
@media (max-width: 767px) {
    .odvv-flower-view .ob-flower-menu__petal-content {
        max-width: 76px;
        font-size: 12px;
    }
}
.odvv-flower-view .ob-flower-menu__petal-content {
    position: absolute;
    left: 50%;
    top: 35%;
    width: 85%;
    transform: translate(-50%, -50%) rotate(calc(0deg - var(--theta)));
}

.odvv-flower-trigger {
    height: 35px;
    min-height: 0;
    padding-block: 0;
}
@media (max-width: 767px) {
    .odvv-flower-message {
        min-height: 182px;
    }
}
