/* Shared CF7/booking select: use the field width, typography and Moomi palette. */
body .mm-select { min-width: 0; }
body .mm-select-list {
    box-sizing: border-box;
    top: calc(100% + 6px);
    bottom: auto;
    left: var(--mm-select-left, 0px);
    right: auto;
    width: var(--mm-select-width, 100%);
    max-width: none;
    max-height: none;
    padding: 5px;
    border: 1px solid var(--mm-brand-line, #e4d7df);
    border-radius: 10px;
    background: var(--mm-brand-paper, #fbfaf7);
    color: var(--mm-brand-ink, #342d33);
    box-shadow: 0 10px 28px rgba(var(--mm-brand-ink-rgb, 52, 45, 51), .1);
    overflow: visible;
    font-family: var(--mm-font-body, inherit);
    font-size: 14px;
    line-height: 1.5;
    z-index: 100;
}
body .mm-select-opens-up .mm-select-list {
    top: auto;
    bottom: calc(100% + 6px);
}
body .mm-select-list button {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 34px;
    margin: 0;
    padding: 5px 28px 5px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    white-space: nowrap;
    overflow-wrap: normal;
    cursor: pointer;
    box-shadow: none;
}
body .mm-select-list button:is(:hover, :focus, [aria-selected="true"]) {
    background: var(--mm-brand-soft, #faf5f8);
    color: var(--mm-brand-accent, #8d5e79);
}
body .mm-select-list button[aria-selected="true"] { font-weight: 500; }
body .mm-select-list button[aria-selected="true"]::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 11px;
    width: 6px;
    height: 10px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-65%) rotate(45deg);
}
body .mm-select-list button:disabled { opacity: .5; cursor: default; }

/* The contact card stays narrow beside its photo on tablets. */
@media (min-width: 701px) and (max-width: 1100px) {
    body .mc-form .mm-contact-fields { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Compact one-column dropdown, with full labels and ordinary page scrolling. */
body .mm-select-list[hidden] { display: none !important; }
body .mm-select-list:not([hidden]) { display: block; }
body .mm-select-list button:focus:not(:focus-visible):not([aria-selected="true"]) { background: transparent; color: inherit; }
body .mm-select-list button:focus-visible { outline: 2px solid var(--mm-brand-accent, #8d5e79); outline-offset: -2px; }
@media (max-width: 600px) {
    body .mm-select-list { font-size: 14px; }
    body .mm-select-list button { min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
}
