/* Native ordering surfaces, Il Portale identity. Ordering presentation module. */
body.lf-order-polish { --lf-order-green: #235a43; --lf-order-soft-green: #edf2ec; }
body.lf-order-polish.lf-order-has-cart .cmplz-manage-consent.cmplz-show {
    bottom: var(--lf-order-cookie-bottom, 88px) !important; right: 20px !important; min-height: 44px;
}
body.lf-order-polish .lf-order-menu .orderable-product__actions-price { line-height: 1.5; color: var(--ink); }
body.lf-order-polish .orderable-product__actions-price .amount { font-variant-numeric: tabular-nums; font-weight: 700; }
body.lf-order-polish .orderable-drawer .orderable-product__actions-price .amount { font-size: 20px; }
body.lf-order-polish .lf-order-menu .orderable-product__add-to-order { min-height: 48px; }
body.lf-order-polish .lf-order-formats { margin-bottom: 12px; }
body.lf-order-polish .lf-format-guidance { margin: 8px 0 20px; color: var(--ink); font-size: 14px; line-height: 1.55; }
body.lf-order-polish .lf-format-guidance[hidden] { display: none; }
body.lf-order-polish .lf-order-format__content { border-color: #b6aca1; border-radius: 4px; }
body.lf-order-polish .lf-order-format input:checked + .lf-order-format__content {
    border-color: var(--lf-order-green); background: var(--lf-order-soft-green); color: var(--lf-order-green);
}
body.lf-order-polish .orderable-product--options .orderable-product-fields-group {
    margin-block: 20px 16px; padding-top: 20px; border-top: 1px solid var(--line);
}
body.lf-order-polish .orderable-product--options .orderable-product-option[role="checkbox"] {
    min-height: 56px; border: 1px solid var(--line); border-radius: 4px; padding: 12px; margin-bottom: 8px; color: var(--ink);
}
body.lf-order-polish .orderable-product--options .orderable-product-option[aria-checked="true"] {
    border-color: var(--lf-order-green); background: var(--lf-order-soft-green); color: var(--lf-order-green);
}
body.lf-order-polish .orderable-product-option__label { display: flex; align-items: center; gap: 12px; margin: 0; }
body.lf-order-polish .orderable-product-option__label-text { flex: 1; min-width: 0; line-height: 1.45; }
body.lf-order-polish .orderable-product-option__label-data { flex-shrink: 0; font-variant-numeric: tabular-nums; }
body.lf-order-polish .orderable-drawer .orderable-product__actions { align-items: center; gap: 16px; }
body.lf-order-polish .orderable-product--options .orderable-product__actions-button { flex-shrink: 0; max-width: 55%; }
body.lf-order-polish .orderable-product--options .orderable-product__actions-button button { min-width: 148px; white-space: normal; line-height: 1.3; padding: 12px 16px; }
body.lf-order-polish .orderable-drawer .orderable-drawer__cart .orderable-mini-cart__buttons a.checkout {
    background: var(--accent) !important; color: #fff !important; border-radius: 4px; min-height: 52px;
}
body.lf-order-polish .orderable-mini-cart-item__remove { color: var(--ink) !important; opacity: 1 !important; }
body.lf-order-polish .orderable-mini-cart-item__remove svg,
body.lf-order-polish .orderable-mini-cart-item__remove svg path { fill: currentColor !important; opacity: 1; }
body.lf-order-polish .orderable-mini-cart-item__remove::before { color: var(--ink); opacity: 1; }
body.lf-order-polish .orderable-quantity-roller { min-height: 48px; }
body.lf-order-polish .orderable-quantity-roller__button { min-width: 44px; min-height: 44px; }
body.lf-order-polish :is(.orderable-button, .orderable-mini-cart-item__remove, .orderable-product-option, .orderable-mini-cart__buttons a):focus-visible {
    outline: 3px solid var(--lf-order-green); outline-offset: 3px;
}
body.lf-order-polish.lf-checkout-experience :is(.lf-pickup-stage, #customer_details, #order_review_heading) { scroll-margin-top: 24px; }
body.lf-order-polish.lf-checkout-experience .lf-pickup-selection:not(:empty) {
    padding: 12px 16px; background: var(--lf-order-soft-green); color: var(--lf-order-green); border-radius: 4px; font-weight: 600;
}
body.lf-order-polish.lf-checkout-experience .woocommerce-form-coupon-toggle { font-size: 13px; line-height: 1.6; }
body.lf-order-polish.lf-checkout-experience .lf-checkout-edit-cart { min-height: 44px; }
@media (max-width: 800px) {
    body.lf-order-polish .lf-order-menu { padding-bottom: 160px; }
    body.lf-order-polish .lf-menu-nav { scrollbar-color: var(--accent) #f1ece6; }
    body.lf-order-polish .lf-order-menu .orderable-product__actions { align-items: start; flex-direction: column; gap: 10px; }
    body.lf-order-polish .lf-order-menu .orderable-product__actions-price { font-size: 13px; }
    body.lf-order-polish .lf-order-menu .orderable-product__actions-price .amount { font-size: 16px; }
    body.lf-order-polish .lf-order-menu .orderable-product__actions-button { width: 100%; }
    body.lf-order-polish .lf-order-menu .orderable-product__actions-button .orderable-button { width: 100%; }
    body.lf-order-polish .orderable-product--options .orderable-product__actions-price { font-size: 13px; }
    body.lf-order-polish .orderable-product--options .orderable-product__actions-button button { min-width: 140px; }
    body.lf-order-polish .lf-cart-added { padding-top: 50px; margin-bottom: 20px; padding-bottom: 20px; }
    body.lf-order-polish .orderable-drawer__cart > h3 { text-align: left; }
}
@media (max-width: 350px) {
    body.lf-order-polish .lf-order-menu .orderable-product { gap: 12px; }
    body.lf-order-polish .lf-order-menu .orderable-product__hero { flex-basis: 88px; width: 88px; height: 104px; }
    body.lf-order-polish .lf-order-menu .orderable-product__title { font-size: 24px; }
    body.lf-order-polish .orderable-product--options .orderable-product__actions-button button { min-width: 126px; }
}

/* Editing has two actions: reserve a full row instead of the single-add column. */
body.lf-order-polish .orderable-product--options .orderable-product__actions:has(.orderable-product__update-cart-item) {
    flex-wrap: wrap;
    row-gap: 12px;
}
body.lf-order-polish .orderable-product--options .orderable-product__actions-button:has(> .orderable-product__update-cart-item) {
    flex: 1 0 100%;
    width: 100%;
    max-width: 100%;
    gap: 10px;
}
body.lf-order-polish .orderable-product--options .orderable-product__actions-button:has(> .orderable-product__update-cart-item) button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
}
