.wmo-order-form { --wmo-gap: 1rem; --wmo-radius: .35rem; width: 100%; max-width: none; }
.wmo-order-form .wmo-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--wmo-gap); align-items: stretch; }
.wmo-order-form .wmo-days > .wmo-day { margin: 0; box-sizing: border-box; }
.wmo-order-form .wmo-fields { display: grid; gap: var(--wmo-gap); }
.wmo-order-form label { display: block; margin-block: .35rem; }
.wmo-order-form select { width: 100%; min-height: 2.75rem; font: inherit; }
.wmo-order-form .wmo-day { border: 1px solid currentColor; border-radius: var(--wmo-radius); padding: var(--wmo-gap); min-width: 0; }
.wmo-order-form .wmo-day fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wmo-order-form legend label { display: inline; }
.wmo-order-form input[type=checkbox] { width: 1.3rem; height: 1.3rem; margin-inline-end: .6rem; vertical-align: middle; }
.wmo-order-form .wmo-extra { padding-block: .45rem; }
.wmo-order-form button { min-height: 2.75rem; white-space: normal; }
.wmo-order-form :focus-visible { outline: 3px solid var(--wmo-accent, currentColor); outline-offset: 3px; }
.wmo-order-form .wmo-error:not(:empty) { border: 2px solid currentColor; padding: var(--wmo-gap); margin-block: var(--wmo-gap); }
.wmo-order-form [aria-invalid=true] { border: 2px solid currentColor; }
.wmo-order-form .wmo-totals { font-variant-numeric: tabular-nums; font-weight: 600; }
.wmo-order-form .wmo-closed { font-weight: 600; }
.wmo-order-form .wmo-component { white-space: pre-line; }
.wmo-product-menu { clear: both; width: 100%; max-width: var(--wp--style--global--wide-size, 100%); margin-block: 2rem; }
.wmo-product-image-bottom { clear: both; width: 100%; margin-block: 2rem; }
body.wmo-menu-product.wmo-image-small div.product div.woocommerce-product-gallery { width: 25%; max-width: 16rem; }
body.wmo-menu-product.wmo-image-small div.product div.summary { width: calc(100% - 18rem); }
body.wmo-menu-product.wmo-image-small .wp-block-column:has(.woocommerce-product-gallery) { flex-basis: 16rem !important; flex-grow: 0; }
body.wmo-menu-product.wmo-image-small div.product .wp-block-column div.woocommerce-product-gallery { width: 100%; }
body.wmo-menu-product.wmo-image-bottom div.product .wp-block-column:not(:has(*)) { display: none; }
body.wmo-menu-product.wmo-image-bottom div.product div.summary { width: 100%; float: none; }
body.wmo-menu-product .wmo-product-image-bottom div.woocommerce-product-gallery { width: 100%; max-width: 24rem; float: none; margin-inline: auto; }
@media (max-width: 40rem) {
    body.wmo-menu-product.wmo-image-small div.product div.woocommerce-product-gallery { width: 100%; float: none; margin-inline: auto; }
    body.wmo-menu-product.wmo-image-small div.product div.summary { width: 100%; float: none; }
}

.wmo-day { overflow-wrap: anywhere; }
.wmo-product-details-bottom { clear: both; width: 100%; margin-block: 2rem; }
@media (max-width: 64rem) { .wmo-order-form .wmo-days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .wmo-order-form .wmo-days { grid-template-columns: 1fr; } }

.wmo-order-form input[type=number] { box-sizing: border-box; width: 100%; min-height: 2.75rem; font: inherit; }
.wmo-order-form .wmo-defaults { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--wmo-gap); }
.wmo-order-form .wmo-defaults > div { flex: 1 1 16rem; min-width: 0; }
.wmo-order-form .wmo-defaults > button { flex: 0 1 auto; margin: 0; }
.wmo-order-form button.wmo-remove { justify-self: start; background: #b32d2e; border: 1px solid #b32d2e; color: #fff; }
.wmo-order-form button.wmo-remove:hover { background: #8a2424; border-color: #8a2424; color: #fff; }
.wmo-order-form button.wmo-remove:disabled { opacity: .65; cursor: wait; }
