/* Approved Bloomly mobile wreath design. Canvas print geometry is never resized here. */
@media screen and (max-width:850px){
html body.mobile-wreath-289{background:#fff!important;color:#202a35!important;font-family:Inter,Arial,sans-serif!important}
html body.mobile-wreath-289 .firm-wreath-shell{width:calc(100% - 24px)!important;max-width:656px!important;margin:0 auto 20px!important}
html body.mobile-wreath-289 .firm-wreath-topbar{display:none!important}
html body.mobile-wreath-289 .firm-wreath-hero{height:auto!important;min-height:148px!important;border-radius:18px!important;background:#fff0f5!important;margin:12px 0 16px!important;isolation:isolate}
html body.mobile-wreath-289 .firm-wreath-hero>div:not(.firm-wreath-photo){width:64%!important;max-width:64%!important;padding:20px 16px!important}
html body.mobile-wreath-289 .firm-wreath-hero h1{font-size:23px!important;line-height:1.23!important;letter-spacing:-.7px!important;margin:0 0 10px!important;color:#202a35!important}
html body.mobile-wreath-289 .firm-wreath-hero em{color:#ed4387!important}
html body.mobile-wreath-289 .firm-wreath-hero p{font-size:11px!important;line-height:1.65!important;color:#748080!important;margin:0!important}
html body.mobile-wreath-289 .firm-wreath-photo{left:40%!important;right:0!important;top:0!important;bottom:0!important;background-size:auto 700%!important;background-position:94% 10.5%!important;mask-image:linear-gradient(90deg,transparent,#000 40%)!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 40%)!important;opacity:.93}
.mw289-steps{display:flex;gap:8px;margin:0 0 16px;border-bottom:1px solid #edf0ef;padding:0 2px 10px}
.mw289-steps button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:0;min-height:40px;padding:0 2px;border:0;background:#fff;color:#899197;font:500 11px Inter,Arial,sans-serif;position:relative}
.mw289-steps b{display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;border-radius:50%;background:#f0f2f3;color:#727d85;font-size:11px}
.mw289-steps [aria-current=step]{color:#009567}.mw289-steps [aria-current=step] b{background:#009567;color:#fff}.mw289-steps [aria-current=step]::after{content:'';position:absolute;bottom:-11px;left:8px;right:8px;height:3px;border-radius:4px;background:#009567}
html body.mobile-wreath-289 .firm-wreath-workspace{display:flex!important;flex-direction:column!important;gap:12px!important}
html body.mobile-wreath-289 .editor-panel{display:flex!important;flex-direction:column!important;gap:12px!important;border:0!important;padding:0!important;background:transparent!important;max-height:none!important;overflow:visible!important;box-shadow:none!important}
html body.mobile-wreath-289 .panel-section,html body.mobile-wreath-289 .preview-panel{padding:16px 14px!important;margin:0!important;border:1px solid #e7eaee!important;border-radius:16px!important;background:#fff!important;box-shadow:0 2px 7px #20302b03!important;scroll-margin-top:16px;min-width:0!important}
html body.mobile-wreath-289 .panel-section h2{font-size:16px!important;line-height:1.4!important;letter-spacing:-.3px!important;margin:0 0 12px!important}
html body.mobile-wreath-289 .editor-panel label{font-size:11px!important;line-height:1.5!important;gap:6px!important;font-weight:500!important;min-width:0!important}
html body.mobile-wreath-289 .editor-panel :is(input:not([type=checkbox]):not([type=color]):not([type=range]):not([type=hidden]),select,textarea){font-size:16px!important;line-height:1.4!important;min-height:42px!important;padding:9px 10px!important;border-radius:9px!important;border:1px solid #dde2e8!important;background:#fff!important;color:#263240!important;box-sizing:border-box!important;max-width:100%!important}
html body.mobile-wreath-289 #ribbonText{height:108px!important;min-height:108px!important;font-family:'Times New Roman',serif!important;font-size:21px!important;line-height:1.25!important;font-weight:700!important;resize:vertical!important}
html body.mobile-wreath-289 .two-col{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;margin-top:12px!important}
html body.mobile-wreath-289 .three-col{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-top:12px!important}
html body.mobile-wreath-289 .editor-panel button{font-size:11px!important;min-height:38px!important;padding:8px 6px!important;line-height:1.3!important;white-space:normal!important;box-shadow:none!important;border:1px solid #e1e5eb!important;border-radius:9px!important;background:#fff!important;color:#596771!important;min-width:0!important}
html body.mobile-wreath-289 .editor-panel button.active{border-color:#ed4387!important;background:#fff0f6!important;color:#ed4387!important}
html body.mobile-wreath-289 .preset-row{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
html body.mobile-wreath-289 #presetRow button{white-space:nowrap!important;padding:8px 2px!important;font-size:11px!important}
html body.mobile-wreath-289 #presetRow button.active{border-color:#009567!important;background:#e9f7f1!important;color:#009567!important}
html body.mobile-wreath-289 .format-row{display:flex!important;justify-content:space-between!important;gap:12px!important;margin:14px 0!important;flex-wrap:wrap!important}
html body.mobile-wreath-289 .color-control{font-size:11px!important;gap:8px!important}
html body.mobile-wreath-289 input[type=color]{width:38px!important;height:32px!important;min-height:32px!important;border-radius:6px!important;padding:3px!important}
html body.mobile-wreath-289 .alignment-row{display:grid!important;grid-template-columns:auto repeat(3,minmax(0,1fr))!important;gap:6px!important;font-size:11px!important}
html body.mobile-wreath-289 .alignment-row button{min-width:0!important}
html body.mobile-wreath-289 :is(.cut-style-grid,.style-grid){gap:7px!important}
html body.mobile-wreath-289 .style-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body.mobile-wreath-289 .style-grid button{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;font-size:10px!important}
html body.mobile-wreath-289 .style-grid i{width:15px!important;flex-shrink:0!important}
html body.mobile-wreath-289 .advanced-options{font-size:11px!important;margin-top:12px!important}
html body.mobile-wreath-289 .check-row{font-size:11px!important;margin-top:12px!important}
html body.mobile-wreath-289 .preview-panel{min-height:0!important;display:flex!important;flex-direction:column!important}
html body.mobile-wreath-289 .preview-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:12px!important}
html body.mobile-wreath-289 .preview-toolbar h2{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;font-size:15px!important;line-height:1.4!important;margin:0!important}
html body.mobile-wreath-289 #sizeLabel{font-size:10px!important;padding:5px 8px!important;line-height:1.3!important;background:#f3f5f6!important;border-radius:10px!important;white-space:nowrap!important}
html body.mobile-wreath-289 #resetBtn{min-height:34px!important;padding:8px 12px!important;border:0!important;border-radius:9px!important;background:#ed4387!important;color:#fff!important;font-size:11px!important;white-space:nowrap!important}
html body.mobile-wreath-289 .preview-stage{min-height:155px!important;flex:none!important;padding:22px 10px!important;border:0!important;border-radius:12px!important;background:radial-gradient(ellipse,#fff,#f5f5f5)!important}
html body.mobile-wreath-289 .ribbon-canvas-wrap{width:100%!important;max-width:100%!important}
html body.mobile-wreath-289 .text-transform-note{font-size:10px!important;line-height:1.6!important;text-align:center!important;margin:9px 0 12px!important}
html body.mobile-wreath-289 .text-handle{width:14px!important;height:14px!important}
html body.mobile-wreath-289 .action-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
html body.mobile-wreath-289 .action-grid button{min-height:44px!important;padding:11px 8px!important;border:0!important;border-radius:10px!important;box-shadow:none!important;font-size:13px!important;font-weight:600!important;line-height:1.4!important}
html body.mobile-wreath-289 #downloadPng{background:#009567!important;color:#fff!important}
html body.mobile-wreath-289 #returnToWreathOrder{grid-column:1/-1;background:#fff0f6!important;color:#d63274!important}
html body.mobile-wreath-289 .firm-wreath-info{display:flex!important;flex-direction:column!important;gap:8px!important;margin-top:12px!important;padding:12px 0 0!important;border:0!important;border-top:1px solid #edf0f2!important}
html body.mobile-wreath-289 #wreathOrderInfoButton{width:100%!important;text-align:left!important;padding:10px 0!important;border:0!important;background:#fff!important;color:#263240!important;font-size:12px!important;font-weight:600!important}
html body.mobile-wreath-289 .firm-wreath-info small{font-size:10px!important;line-height:1.6!important;color:#849197!important}
html body.mobile-wreath-289 .firm-wreath-save{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:14px!important;margin-top:12px!important;border:1px solid #e7eaee!important;border-radius:14px!important;background:#fff!important;font-size:12px!important}
html body.mobile-wreath-289 #templateName{width:100%!important;min-height:42px!important;border:1px solid #dde2e8!important;border-radius:9px!important;font-size:16px!important;padding:10px!important}
html body.mobile-wreath-289 #saveTemplate{min-height:42px!important;border:0!important;border-radius:9px!important;background:#009567!important;color:#fff!important;font-size:12px!important}
html body.mobile-wreath-289 .firm-wreath-save>span,html body.mobile-wreath-289 .legacy-templates{font-size:10px!important;line-height:1.6!important;color:#849197!important}
html body.mobile-wreath-289 .legacy-templates{margin:12px 0!important}
}

@media screen and (max-width:850px){
html body.mobile-wreath-289 .firm-wreath-hero{min-height:150px!important;background:#fff0f5!important}
html body.mobile-wreath-289 .firm-wreath-hero>div:not(.firm-wreath-photo){width:56%!important;max-width:56%!important;padding:18px 14px!important}
html body.mobile-wreath-289 .firm-wreath-hero h1{font-size:22px!important;line-height:1.23!important}
html body.mobile-wreath-289 .firm-wreath-photo{left:52%!important;right:0!important;top:0!important;bottom:0!important;background-image:url('/assets/firm-wreath-banner-v290.webp')!important;background-repeat:no-repeat!important;background-size:100% auto!important;background-position:center!important;mask-image:linear-gradient(90deg,transparent,#000 15%)!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 15%)!important;opacity:1!important}
}

/* V294: fill the photo area vertically, avoid a small pasted rectangle. */
@media screen and (max-width:850px){
html body.mobile-wreath-289 .firm-wreath-hero{min-height:160px!important}
html body.mobile-wreath-289 .firm-wreath-hero>div:not(.firm-wreath-photo){width:57%!important;max-width:57%!important;padding:18px 14px!important}
html body.mobile-wreath-289 .firm-wreath-photo{left:51%!important;right:0!important;top:0!important;bottom:0!important;background-size:auto 100%!important;background-position:60% center!important;mask-image:linear-gradient(90deg,transparent,#000 18%)!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 18%)!important}
}