/* Designer Core 0.4.408 — zone-anchored quick add and responsive zone caption */
.fd-empty-side-add[hidden],.fd-empty-side-menu[hidden]{display:none!important}
/* Anchor to printArea itself (left/top 50%), not to the viewport. Compensate
   for CSS zoom and mobile fit so the touch target remains a stable size. */
.fd-empty-side-add{position:absolute;left:50%;top:50%;z-index:45;transform:translate(-50%,-50%) scale(var(--fd-empty-inverse-zoom,1));transform-origin:center; width:64px;height:64px;pointer-events:none;display:grid;place-items:center}
.fd-empty-side-trigger{width:56px;height:56px;display:grid;place-items:center;pointer-events:auto;padding:0;border:2.5px solid #ff653b;border-radius:50%;background:transparent;color:#ff653b;box-shadow:0 3px 13px #b84d2e1f,0 0 0 0 #ff653b80;cursor:pointer;touch-action:manipulation;animation:fd-empty-side-breathe 2.2s ease-out infinite;transition:border-color .2s,color .2s,transform .2s}
.fd-empty-side-trigger:hover,.fd-empty-side-add.is-open .fd-empty-side-trigger{animation-play-state:paused;background:transparent;border-color:#e9551e;color:#e9551e;transform:scale(1.065);box-shadow:0 4px 14px #b84d2e30,0 0 0 5px #ff653b18}
.fd-empty-side-trigger svg{width:27px;height:27px;stroke-width:2.5;flex:none}
.fd-empty-side-trigger:focus-visible,.fd-empty-side-option:focus-visible{outline:3px solid #202124;outline-offset:3px}
@keyframes fd-empty-side-breathe{0%{box-shadow:0 3px 13px #b84d2e1f,0 0 0 0 #ff653b80}75%,100%{box-shadow:0 3px 13px #b84d2e1f,0 0 0 20px #ff653b00}}
.fd-empty-side-menu{position:fixed;z-index:10000;box-sizing:border-box;border:1px solid #efe4dd;border-radius:17px;background:#fff;box-shadow:0 18px 52px #28231e2a;padding:12px;max-width:calc(100vw - 20px);pointer-events:auto;color:#292b32}
.fd-empty-side-heading{font-size:12px;font-weight:850;line-height:1.4;margin:1px 3px 10px;text-align:center}
.fd-empty-side-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.fd-empty-side-option{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:11px;padding:9px 2px 8px;background:#faf9f7;border:1px solid #efedeb;color:#3c414a;font-size:10px;font-weight:850;cursor:pointer;line-height:1.2;transition:background .16s,border-color .16s,color .16s}
.fd-empty-side-option:hover{border-color:#ff8a61;background:#fff2eb;color:#e95627}
.fd-empty-side-icon{width:34px;height:34px;border-radius:9px;background:#fff;display:grid;place-items:center;color:#e95a2b;box-shadow:0 1px 3px #00000008}
.fd-empty-side-icon svg{width:19px;height:19px}
.fd-empty-side-option:active .fd-empty-side-icon{background:#ff653b;color:white}
.stage.is-clean-preview .fd-empty-side-add{display:none!important}
@media(max-width:480px){.fd-empty-side-add{width:58px;height:58px}.fd-empty-side-trigger{width:51px;height:51px}.fd-empty-side-trigger svg{width:25px;height:25px}.fd-empty-side-menu{padding:10px}.fd-empty-side-icon{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.fd-empty-side-trigger{animation:none}}

/* 0.4.408 — the label must not wrap over narrow sleeve areas or grow enormous
   when the customer zooms the mockup. Only presentation is changed. */
#printArea.print-area::before{display:block;white-space:nowrap!important;width:max-content;max-width:none;line-height:1.05!important;letter-spacing:.08px!important;font-size:var(--fd-zone-caption-font,9px)!important;top:var(--fd-zone-caption-top,-19px)!important;pointer-events:none}
#printArea.print-area.fd-compact-zone-caption::before{left:50%!important;transform:translateX(-50%)}
.stage.is-clean-preview #printArea.print-area::before{display:none!important}

/* 0.4.418 — Mobile Safari safe viewport anchor for the empty-side + menu.
   Position in the same fixed coordinate system as the checkout dock, never
   based on the zoomed print-zone trigger's bounding rectangle. */
@media(max-width:880px){
  .fd-empty-side-menu:not([hidden]){
    position:fixed!important;
    z-index:620;
    box-sizing:border-box;
    left:50%!important;
    right:auto!important;
    top:auto!important;
    bottom:calc(var(--fdm-dock,68px) + var(--fdm-checkout,69px) + var(--fdm-safe,0px) + 12px)!important;
    transform:translateX(-50%);
    width:min(350px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
    max-height:calc(100dvh - var(--fdm-dock,68px) - var(--fdm-checkout,69px) - var(--fdm-safe,0px) - 32px);
    overflow-y:auto;
    overscroll-behavior:contain;
  }
}
