/* Scoped to the Meilida packaging preview; navigation styles stay untouched. */
.hero.mld-diy-hero{background:#171d1b;min-height:0;isolation:isolate}
.hero.mld-diy-hero:before{content:"";position:absolute;pointer-events:none;inset:0;background:radial-gradient(ellipse at 78% 40%,rgba(128,154,115,.15),transparent 54%);z-index:-1}
.mld-diy-hero .hero-layout{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);align-items:center;gap:clamp(24px,4vw,64px);min-height:0;pointer-events:auto;padding-block:28px}
.mld-diy-hero .hero-copy{width:auto;padding:24px 0;min-width:0}
.mld-diy-hero h1{font-size:clamp(40px,4.25vw,60px);max-width:650px}
.mld-diy-hero .hero-copy>p:not(.eyebrow){max-width:465px}
.mld-diy-hero .hero-bottom{border-color:#3f4941}
.mld-brand-studio{position:relative;min-width:0;width:100%;max-width:640px;margin-inline:auto;color:#eef2eb;font-family:inherit;line-height:1.5;box-sizing:border-box;background:#171d1b;padding:24px;border-radius:6px}
.mld-diy-hero .mld-brand-studio{max-width:520px;background:transparent;padding:0;border-radius:0}
.mld-brand-studio *{box-sizing:border-box}
.mld-brand-studio [hidden]{display:none!important}
.mld-studio-heading{padding:8px 8px 0}
.mld-studio-eyebrow{display:block;font-size:10px;letter-spacing:.15em;color:#c8dc9d;font-weight:600;margin-bottom:8px}
.mld-brand-studio .mld-studio-heading h2{font-family:inherit;font-weight:600;font-size:clamp(24px,2.3vw,32px);line-height:1.2;letter-spacing:-.035em;color:#f1f5ec;margin:0 0 6px}
.mld-brand-studio .mld-studio-heading p{font-size:13px;color:#abb8ad;margin:0}
.mld-studio-visual{position:relative;margin-block:6px 6px;background:radial-gradient(ellipse at 50% 52%,rgba(185,202,161,.07),transparent 60%)}
.mld-studio-stage{width:100%;height:280px;position:relative;touch-action:pan-y;cursor:grab;overflow:hidden}
.mld-studio-stage:active{cursor:grabbing}
.mld-studio-stage canvas{position:absolute;inset:0;width:100%;height:100%;z-index:1;display:block}
.mld-studio-fallback{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;opacity:1;transition:opacity .15s}
.mld-brand-studio[data-state="ready"] .mld-studio-fallback{opacity:0;visibility:hidden}
.mld-brand-studio[data-state="fallback"] canvas{visibility:hidden}
.mld-studio-rotation{position:relative;width:max-content;margin:0 auto 10px;display:flex;align-items:center;gap:4px;z-index:3;border:1px solid #4f5c50;padding:4px;border-radius:999px;background:#202820}
.mld-brand-studio button,.mld-studio-upload-button{font-family:inherit;line-height:1.3;cursor:pointer;transition:background .15s,color .15s}
.mld-studio-rotation button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;border:0;background:transparent;border-radius:24px;color:#e9efdf;padding:8px;font-size:22px}
.mld-studio-rotation [data-mld-auto]{font-size:11px;white-space:nowrap;min-width:118px;padding:10px 8px}
.mld-studio-rotation button:hover:not(:disabled){background:#3a4737;color:#fff}
.mld-studio-drag{position:absolute;left:8px;bottom:18px;font-size:8px;letter-spacing:.1em;color:#a0b09e;pointer-events:none}
.mld-studio-upload{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding-top:16px;border-top:1px solid #39473e}
.mld-studio-upload-button{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 22px;background:#d7f27d;color:#182214;border:1px solid #d7f27d;border-radius:3px;font-size:13px;font-weight:600;margin:0}
.mld-studio-upload-button:hover{background:#e4ffa0}
.mld-studio-upload-button:has(input:disabled){opacity:.45;cursor:wait}
.mld-studio-upload-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
.mld-brand-studio .mld-studio-reset,.mld-brand-studio .mld-studio-retry{min-height:44px;border:0;border-bottom:1px solid #7a8977;background:transparent;color:#d7e0d0;font-size:11px;padding:8px 0;border-radius:0}
.mld-brand-studio button:disabled{opacity:.4;cursor:not-allowed}
.mld-brand-studio button:focus-visible,.mld-studio-upload-button:focus-within{outline:2px solid #d7f27d;outline-offset:4px}
.mld-brand-studio .mld-studio-status{font-size:12px;line-height:1.5;color:#e6ebdf;margin:12px 0 6px;min-height:18px;overflow-wrap:anywhere}
.mld-brand-studio .mld-studio-help{font-size:10px;line-height:1.65;color:#a5b2a5;margin:0}
.mld-brand-studio .mld-studio-note{font-size:10px;line-height:1.5;color:#96a493;margin:10px 0 0}
.mld-studio-noscript{font-size:12px;color:#e5eddd}
@media(min-width:1500px){.mld-studio-stage{height:300px}}
@media(max-width:1000px){.mld-diy-hero .hero-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;min-height:0}.mld-diy-hero h1{font-size:42px}.mld-studio-stage{height:260px}.mld-studio-drag{display:none}.mld-studio-upload{gap:12px}.mld-studio-upload-button{padding:12px 16px}}
@media(max-width:760px){.mld-diy-hero .hero-layout{grid-template-columns:1fr;gap:24px;min-height:0;padding-block:32px 28px}.mld-diy-hero .hero-copy{padding:0}.mld-diy-hero h1{font-size:clamp(36px,8.7vw,56px);max-width:600px}.mld-diy-hero .hero-copy>p:not(.eyebrow){max-width:520px;margin-block:20px}.mld-diy-hero .hero-notes{margin-top:24px}.mld-diy-hero .actions{flex-direction:row}.mld-brand-studio{max-width:540px}.mld-studio-heading{padding:16px 0 0}.mld-studio-stage{height:240px}.mld-brand-studio .mld-studio-heading h2{font-size:28px}.mld-brand-studio .mld-studio-help,.mld-brand-studio .mld-studio-note{font-size:11px}.mld-studio-upload-button{font-size:14px}.mld-diy-hero .hero-bottom{flex-wrap:wrap}}
@media(max-width:380px){.mld-studio-stage{height:220px}.mld-studio-upload{gap:12px}.mld-studio-upload-button{padding:12px}.mld-brand-studio .mld-studio-reset{font-size:10px}}
@media(prefers-reduced-motion:reduce){.mld-brand-studio *{transition:none!important}}

/* Explicit activation remains available for phones, reduced motion and data saving. */
.mld-brand-studio .mld-studio-enable{min-height:46px;padding:11px 16px;border:1px solid #849679;border-radius:3px;background:#253027;color:#e7efdc;font-size:12px;font-weight:600}
.mld-brand-studio .mld-studio-enable:hover{background:#374831}
.mld-brand-studio[data-state="idle"] .mld-studio-drag,.mld-brand-studio[data-state="loading"] .mld-studio-drag{visibility:hidden}

.mld-brand-studio[data-state="idle"] .mld-studio-stage,.mld-brand-studio[data-state="fallback"] .mld-studio-stage{cursor:pointer}

/* 1.2.9: Elementor's ".elementor img{height:auto}" overrode the static can's sizing, so only the top of the
   can showed before 3D started. Keep the whole can inside the stage on every page builder. */
.mld-brand-studio .mld-studio-stage img.mld-studio-fallback{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center center;margin:0}
