/* Mobile ordering uses normal document flow; no image, canvas or model geometry changes. */
.mobile-actions .mobile-action-info { margin:16px 0 0; padding:0; border:0; border-top:1px solid #d8cabe; border-radius:0; background:transparent; box-shadow:none; }
.mobile-actions .mobile-action-info > summary { display:list-item; min-height:44px; padding:12px 0; cursor:pointer; color:#1c1714; font:500 14px/1.5 Manrope,system-ui,sans-serif; }
.mobile-actions .mobile-action-info-body { max-width:72ch; padding:0 0 12px; }
.mobile-actions .mobile-action-info-body p { color:#6f665e; font:400 14px/1.6 Manrope,system-ui,sans-serif; }
.mobile-actions .mobile-action-info > summary:focus-visible { outline:2px solid #a84a1a; outline-offset:3px; }
.mobile-actions [data-actions-duplicate="true"] { display:none; }
@media (max-width:880px) {
 body.mobile-actions.engraving-page.wizard-ready { padding-bottom:0; }
 .mobile-actions.compact-engraving.engraving-page.wizard-ready #engraving-main { padding-bottom:16px; }
 .mobile-actions.engraving-page.wizard-ready #engraving-main .wizard-bar,
 .mobile-actions.unified-preview.carousel-flow #engraving-main .wizard-bar { position:static; inset:auto; width:100%; margin:24px 0 0; padding:16px 0 0; border:0; border-top:1px solid #d8cabe; border-radius:0; background:#f4efe9; box-shadow:none; }
 .mobile-actions #engraving-main .wizard-bar .wizard-bar-inner { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:14px 12px; min-height:0; }
 .mobile-actions #engraving-main .wizard-bar .wizard-bar-price { grid-column:1 / -1; min-width:0; }
 .mobile-actions #engraving-main .wizard-bar .wizard-bar-quantity { grid-column:1; justify-self:start; }
 .mobile-actions #engraving-main .wizard-bar .wizard-bar-actions { grid-column:2; justify-content:flex-end; min-width:0; }
 .mobile-actions #engraving-main .wizard-bar-actions button { min-height:48px; }
 .mobile-actions #engraving-main .wizard-price-breakdown .wizard-price-panel { position:static; inset:auto; box-sizing:border-box; width:100%; max-width:none; margin-top:8px; }
 .mobile-actions #engraving-main #engraving-back-to-top:not([hidden]) { position:static; inset:auto; margin:16px 0 0 auto; }
 .mobile-actions .product-mobile-order { position:static; inset:auto; box-sizing:border-box; width:100%; max-width:none; margin:24px 0 0; padding:16px 0; border:0; border-top:1px solid #d8cabe; background:#f4efe9; box-shadow:none; }
 .mobile-actions .product-mobile-order a { min-height:48px; }
 .mobile-actions :is(input,select,textarea,[contenteditable="true"]) { scroll-margin-top:96px; scroll-margin-bottom:24px; }
 /* Native dialogs stay scrollable inside the actually visible viewport. */
 .mobile-actions dialog:is(#order-dialog,#approval-share-dialog)[open] { position:fixed; inset:auto; top:calc(var(--actions-vv-top,0px) + 12px); left:calc(var(--actions-vv-left,0px) + var(--actions-vv-width,100vw) / 2); right:auto; bottom:auto; box-sizing:border-box; margin:0; transform:translateX(-50%); max-width:calc(var(--actions-vv-width,100vw) - 24px); max-height:calc(var(--actions-vv-height,100dvh) - 24px); overflow-y:auto; overscroll-behavior:contain; }
 .mobile-actions dialog#order-dialog[open] > :is(.dialog-top,.dialog-heading) { position:sticky; top:0; z-index:4; box-sizing:border-box; min-height:68px; padding-right:68px; background:#f4efe9; }
 .mobile-actions dialog#order-dialog[open] :is(.icon-button[data-order-close],#close-order) { position:absolute; inset:auto; top:12px; right:12px; width:44px; min-width:44px; height:44px; min-height:44px; margin:0; transform:none; }
 .mobile-actions [data-actions-floating-hidden="true"] { visibility:hidden !important; pointer-events:none !important; }
}
@media (max-width:370px) {
 .mobile-actions #engraving-main .wizard-bar .wizard-bar-actions { grid-column:1 / -1; justify-content:space-between; }
}
