:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#f6f7fa;background:#111821;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}header{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - 1120px)/2));background:#1b2430;border-bottom:1px solid #303a48}.brand{color:#fff;text-decoration:none;font-weight:850;letter-spacing:.06em;font-size:1.3rem}.brand span{color:#dca672}nav{display:flex;gap:8px}nav button,.ghost{background:transparent;border:1px solid #526071;color:#f6f7fa;border-radius:12px;padding:10px 14px}main{max-width:1120px;margin:auto;padding:32px 20px 64px;min-height:calc(100vh - 130px)}footer{color:#a9b6c4;text-align:center;padding:24px;border-top:1px solid #303a48}.hero{padding:50px 0 35px;max-width:720px}.eyebrow{color:#dca672;text-transform:uppercase;letter-spacing:.15em;font-size:.82rem;font-weight:800}h1{font-size:clamp(2.2rem,5vw,4.5rem);line-height:1.06;margin:12px 0}h2{font-size:1.65rem;margin:12px 0 20px}h3{margin:0 0 10px}.muted{color:#b6c3d0;line-height:1.5}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}.card,.panel{background:#202b38;border:1px solid #374555;border-radius:20px;overflow:hidden}.card img{width:100%;height:220px;object-fit:cover;background:#2b3542}.card .body,.panel{padding:20px}.card h3{margin:0 0 8px}.price{color:#e7b881;font-weight:800}.primary{background:#e7b881;color:#17202b;border:0;border-radius:12px;padding:14px 18px;font-weight:800;min-height:48px}.primary:disabled{opacity:.45;cursor:not-allowed}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.column{display:grid;gap:14px}.layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:24px;align-items:start}.stage{background:#19232f;border:1px solid #435366;border-radius:20px;padding:16px;position:sticky;top:12px}.canvas-wrap{position:relative;aspect-ratio:1;touch-action:none;overflow:hidden;border-radius:14px;background:radial-gradient(circle,#42536a,#18212c)}.canvas-wrap img{width:100%;height:100%;object-fit:contain;pointer-events:none}.stage-hint{position:absolute;inset:0;display:grid;place-content:center;padding:24px;text-align:center;color:#d9e4ef;background:#19232fdd;line-height:1.5}.print-zone{position:absolute;border:2px dashed #ecb87d;background:#f8b96b22;touch-action:none;overflow:hidden}.print-zone.active{border-style:solid}.design-item{position:absolute;transform:translate(-50%,-50%);touch-action:none;white-space:pre-wrap;max-width:none;cursor:grab;user-select:none}.design-item.selected{outline:2px solid #fff;outline-offset:5px}.design-item img{width:100%;height:100%;object-fit:contain}.toolbar{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.toolbar button{flex:1;min-width:90px}label{display:grid;gap:7px;color:#d5dee7;font-weight:650}input,textarea,select{width:100%;background:#121a24;color:white;border:1px solid #526173;border-radius:10px;padding:12px;min-height:46px}input[type=file]{font-size:.86rem}input[type=range]{padding:4px}textarea{min-height:90px}.chip{background:#2d3b4b;border:1px solid #607188;border-radius:10px;padding:10px 13px;color:white}.chip.current{border-color:#e7b881;color:#e7b881}.note{border-left:3px solid #e7b881;padding:10px 14px;background:#293747;color:#d9e4ef}.error{color:#ffb5aa}.success{color:#9fe3bc}.separator{border:0;border-top:1px solid #4a5869;margin:20px 0}.zone-editor{position:absolute;border:2px solid #ffc58a;background:#e7b88144;touch-action:none;cursor:move}.zone-editor:after{content:'↘';position:absolute;right:-11px;bottom:-12px;background:#e7b881;color:#14202c;border-radius:5px;padding:2px 5px;cursor:nwse-resize}.list-item{padding:14px;border-bottom:1px solid #3d4b5b;display:flex;justify-content:space-between;gap:12px;align-items:center}.list-item:last-child{border:0}@media(max-width:720px){header{height:62px;padding:0 15px}.brand{font-size:1.1rem}main{padding:14px 14px 70px}.layout{display:flex;flex-direction:column;gap:12px}.stage{position:static;width:100%;padding:10px}.canvas-wrap{aspect-ratio:1.12}.panel{width:100%;padding:16px}.hero{padding:30px 5px}.toolbar{display:grid;grid-template-columns:repeat(2,1fr)}.toolbar button{min-width:0}.primary{width:100%}.row .primary{width:auto}nav button{padding:8px 10px}}
.product-detail{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:32px;align-items:start;margin-top:24px}.product-gallery{min-width:0}.product-main-photo{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:20px;background:#202b38;border:1px solid #374555}.product-thumbnails{display:flex;gap:10px;overflow:auto;padding:12px 2px}.thumbnail{flex:0 0 74px;width:74px;height:74px;padding:3px;border:1px solid #526071;border-radius:10px;background:#202b38}.thumbnail.current{border:2px solid #e7b881}.thumbnail img{width:100%;height:100%;object-fit:cover;border-radius:6px}.product-copy{position:sticky;top:18px}.product-copy h1{font-size:clamp(2rem,4vw,3.4rem)}.product-price{font-size:1.4rem}.admin-product-layout{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)}.admin-section{display:grid;gap:14px;padding-bottom:20px;border-bottom:1px solid #3d4b5b}.admin-section h2{margin:0}.admin-section:last-of-type{border:0;padding-bottom:0}.publish-toggle{display:flex;align-items:center;gap:10px}.publish-toggle input{width:20px;min-height:20px;accent-color:#e7b881}.image-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px}.admin-gallery-item{min-width:0;background:#19232f;border:1px solid #3d4b5b;border-radius:12px;padding:8px;display:grid;gap:8px}.admin-gallery-item>img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.admin-gallery-item .row{display:grid;grid-template-columns:1fr}.admin-gallery-item button{padding:8px 6px;font-size:.82rem}.admin-gallery-item button:disabled{opacity:.75;cursor:default}.admin-section small{margin-top:-8px}button:disabled,input:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:720px){.product-detail{display:flex;flex-direction:column;gap:18px;margin-top:16px}.product-copy{position:static;width:100%}.product-main-photo{aspect-ratio:1/1}.admin-product-layout{display:flex;flex-direction:column}.admin-product-layout>.panel{width:100%}.image-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}\n/* Mobile-first customizer workspace */
body.customizer-mode{height:100dvh;overflow:hidden}
body.customizer-mode #adminNav{display:none}
body.customizer-mode main{height:calc(100dvh - 70px);min-height:0;padding-top:10px;padding-bottom:10px;overflow:hidden}
body.customizer-mode footer{display:none}
.customizer-page{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;min-height:0}
.customizer-head{display:flex;align-items:center;gap:14px;min-width:0}
.customizer-head>.ghost{white-space:nowrap;min-height:42px}
.customizer-heading{min-width:0}
.customizer-heading .eyebrow{font-size:.7rem}
.customizer-title{font-size:1.35rem;line-height:1.15;margin:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customizer-workspace{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(310px,.9fr);gap:18px;min-height:0;align-items:stretch}
.customizer-stage{position:sticky;top:10px;display:flex;flex-direction:column;min-height:0;padding:12px}
.customizer-stage .canvas-wrap{aspect-ratio:1;flex:1;min-height:0;max-height:min(68vh,720px)}
.stage-help{font-size:.86rem;margin:8px 2px 0;color:#b6c3d0;line-height:1.35}
.customizer-panel{display:flex;flex-direction:column;gap:10px;min-height:0;overflow:hidden}
.customizer-price{margin:0}
.zone-choices{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:2px;scrollbar-width:thin}
.zone-choices .chip{flex:0 0 auto;white-space:nowrap}
.customizer-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tool-tab{min-height:44px;border:1px solid #526071;background:#18212c;color:#f6f7fa;border-radius:10px;font:inherit;font-weight:700}
.tool-tab.current{border-color:#e7b881;color:#e7b881;background:#2b3542}
.tool-content{display:grid;align-content:start;gap:10px;min-height:0;overflow:auto;overscroll-behavior:contain;padding:2px 1px}
.tool-hint{font-size:.82rem;line-height:1.35;color:#b6c3d0;margin:0}
.file-picker{min-height:48px;display:flex;align-items:center;justify-content:center;padding:8px 10px;border:1px solid #718198;border-radius:10px;background:#17212c;color:#f6f7fa}
.file-picker input[type=file]{width:auto;max-width:100%;min-height:36px;padding:4px;border:0;background:transparent;font-size:.82rem}
.tool-inline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.tool-inline .primary{width:auto;white-space:nowrap;min-height:46px;padding:10px 14px}
.tool-inline input{min-width:0}
.slider-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.slider-row label{font-size:.9rem}
.slider-row label span{float:right;color:#e7b881}
.tool-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tool-actions .ghost{padding:8px 10px;min-height:40px;white-space:nowrap}
.tool-actions .tool-hint{text-align:right}
.customizer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid #394757}
.customizer-footer .price{font-size:1.05rem;white-space:nowrap}
.customizer-footer .price small{font-size:.78rem;color:#b6c3d0;font-weight:500}
.customizer-footer .primary{width:auto;min-width:150px}
.order-dialog{position:fixed;z-index:20;inset:0;background:#070b10bb;display:grid;place-items:center;padding:18px}
.order-dialog[hidden]{display:none}
.order-card{width:min(100%,430px);display:grid;gap:14px;padding:20px;background:#202b38;border:1px solid #526071;border-radius:18px;box-shadow:0 20px 70px #0008}
.order-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.order-card-head h2{margin:0}
.order-card .primary{width:100%}
.design-item{display:flex;align-items:center;justify-content:center;transform-origin:center center;touch-action:none}
.design-item img{display:block;pointer-events:none}
.print-zone,.print-zone.active{border:0;background:transparent}
.print-zone{container-type:inline-size}
.design-item:not(:has(img)){width:max-content!important;height:auto!important;white-space:pre}
.design-item.selected{outline:0}
.design-item.selected:not(:has(img)){text-shadow:0 0 5px #e7b881,0 0 12px #e7b881}
.design-item.selected:has(img){outline:1px solid #e7b88199;outline-offset:1px}
@media(max-width:720px){
  body.customizer-mode header{height:55px;padding:0 12px}
  body.customizer-mode .brand{font-size:1rem}
  body.customizer-mode nav{gap:5px}
  body.customizer-mode nav button{padding:7px 9px}
  body.customizer-mode main{height:calc(100dvh - 55px);padding:8px 10px 10px}
  .customizer-page{gap:8px}
  .customizer-head{gap:8px;min-height:40px}
  .customizer-head>.ghost{min-height:38px;padding:7px 9px;font-size:.86rem}
  .customizer-heading .eyebrow{font-size:.62rem;letter-spacing:.12em}
  .customizer-title{font-size:1.08rem}
  .customizer-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(190px,44dvh) minmax(0,1fr);gap:8px}
  .customizer-stage{position:static;width:100%;padding:8px;border-radius:14px}
  .customizer-stage .canvas-wrap{width:100%;height:100%;aspect-ratio:auto;max-height:100%;flex:1}
  .stage-help{font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}
  .customizer-panel{width:100%;padding:8px 10px;gap:6px;border-radius:14px}
  .customizer-price{display:none}
  .zone-choices{gap:6px;scrollbar-width:none}
  .zone-choices::-webkit-scrollbar{display:none}
  .zone-choices .chip{padding:7px 9px;font-size:.83rem}
  .customizer-tabs{gap:6px}
  .tool-tab{min-height:38px;font-size:.92rem}
  .tool-content{gap:7px}
  .tool-hint{font-size:.76rem}
  .file-picker{min-height:42px;font-size:.9rem}
  .file-picker input[type=file]{min-height:32px;font-size:.74rem}
  .tool-inline{gap:6px}
  .tool-inline input{min-height:42px;padding:9px}
  .tool-inline .primary{min-height:42px;padding:8px 11px}
  .slider-row{gap:8px}
  .slider-row label{font-size:.82rem}
  .slider-row input{min-height:34px}
  .tool-actions .ghost{min-height:36px;padding:7px 8px;font-size:.85rem}
  .customizer-footer{gap:8px;padding-top:7px}
  .customizer-footer .primary{min-width:126px;min-height:44px;padding:10px 12px}
  .customizer-footer .price{font-size:.96rem}
}
@media(max-width:390px){
  body.customizer-mode main{padding-left:8px;padding-right:8px}
  .customizer-workspace{grid-template-rows:minmax(175px,42dvh) minmax(0,1fr)}
  .customizer-head>.ghost{font-size:.8rem;padding:6px 7px}
  .customizer-title{font-size:1rem}
  .tool-hint{font-size:.72rem}
  .customizer-footer .price small{font-size:.7rem}
}

@media(max-width:720px){.product-detail{align-items:stretch;width:100%;min-width:0}.product-gallery,.product-copy{width:100%;max-width:100%;min-width:0}.product-main-photo{width:100%;max-width:100%;min-width:0}}
/* Commercial photography: preserve the complete source image. */
.grid .card>img,.grid .card img{display:block;width:100%;height:260px;max-width:100%;object-fit:contain!important;object-position:center;background:#eef0f2;padding:10px}
.product-gallery{min-width:0;max-width:100%;overflow:hidden}
.product-carousel{position:relative;width:100%;max-width:100%;overflow:hidden;border-radius:20px;background:#eef0f2;border:1px solid #374555}
.product-slides{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;touch-action:pan-x pinch-zoom;scrollbar-width:none}
.product-slides::-webkit-scrollbar{display:none}
.product-slide{flex:0 0 100%;width:100%;min-width:100%;scroll-snap-align:center;scroll-snap-stop:always;display:grid;place-items:center;background:#eef0f2}
.product-slide img{display:block;width:100%;height:min(62vh,620px);max-width:100%;object-fit:contain;object-position:center;padding:10px;cursor:zoom-in}
.carousel-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:46px;height:46px;border:1px solid #ffffffaa;border-radius:50%;background:#111821c9;color:#fff;font-size:1.7rem;line-height:1;box-shadow:0 3px 16px #0005}
.carousel-arrow.prev{left:12px}.carousel-arrow.next{right:12px}.carousel-arrow:disabled{opacity:.28;cursor:default}
.carousel-dots{display:flex;justify-content:center;gap:8px;padding:11px;background:#202b38}
.carousel-dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#758294}
.carousel-dot.current{background:#e7b881;transform:scale(1.25)}
.product-thumbnails .thumbnail img{object-fit:contain!important;object-position:center;background:#eef0f2}
.product-photo-lightbox{position:fixed;z-index:50;inset:0;display:grid;place-items:center;padding:20px;background:#05080de8}
.product-photo-lightbox[hidden]{display:none}
.product-photo-lightbox img{display:block;max-width:min(96vw,1500px);max-height:90vh;width:auto;height:auto;object-fit:contain}
.lightbox-close{position:absolute;top:max(14px,env(safe-area-inset-top));right:14px;min-width:48px;min-height:48px;border:1px solid #fff8;border-radius:50%;background:#111821dd;color:#fff;font-size:1.6rem}
@media(max-width:720px){.grid .card>img,.grid .card img{height:240px;padding:8px}.product-carousel{border-radius:14px}.product-slide img{height:min(52vh,480px);padding:6px}.carousel-arrow{display:none}.carousel-dots{padding:9px}.product-thumbnails{display:none}.product-photo-lightbox{padding:8px}.product-photo-lightbox img{max-width:100%;max-height:92vh}}

/* The image plane is the actual visible image, shared by the editor and preview. */
.canvas-wrap .image-plane{position:absolute;inset:auto;overflow:visible}
.canvas-wrap .image-plane>img{display:block;width:100%;height:100%;object-fit:fill}
.grid .card .card-photo{width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;background:#eef0f2}
.grid .card .card-photo img{display:block;width:100%;height:100%;padding:0;object-fit:contain!important;object-position:center;background:transparent}
.grid .card>img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain!important;padding:0;background:#eef0f2}
@media(max-width:720px){.grid .card .card-photo img{height:100%;padding:0}}
@media(max-width:720px){.grid .card>img{height:auto;padding:0}}

/* Compact customer editor: controls remain in the viewport; long options scroll inside. */
.quick-tools{display:none}
@media(max-width:720px){
  body.customizer-mode header{display:none}
  body.customizer-mode main{height:100dvh;min-height:0;padding:6px 8px max(6px,env(safe-area-inset-bottom))}
  .customizer-page{grid-template-rows:38px minmax(0,1fr) auto;gap:5px}
  .customizer-head{min-height:38px;gap:8px}
  .customizer-head>.ghost{min-height:38px;min-width:46px;font-size:0;padding:5px}
  .customizer-head>.ghost:before{content:'‹';font-size:30px;line-height:1}
  .customizer-heading .eyebrow{display:none}
  .customizer-title{font-size:1.04rem;margin:0}
  .customizer-workspace{grid-template-rows:minmax(160px,min(39dvh,320px)) minmax(0,1fr);gap:5px}
  .customizer-stage{padding:3px;border-radius:10px}
  .customizer-stage .canvas-wrap{border-radius:7px}
  .stage-help{display:none}
  .customizer-panel{padding:5px 7px;gap:4px;border-radius:10px}
  .zone-choices .chip{min-height:30px;padding:3px 9px;font-size:.77rem}
  .customizer-tabs{display:none}
  .quick-tools{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
  .quick-tools button{min-width:0;min-height:46px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:3px 1px;border:1px solid #526071;border-radius:8px;background:#17212c;color:#f6f7fa;font-size:.67rem;font-weight:700}
  .quick-tools button span{font-size:1.1rem;line-height:1.1;color:#e7b881}
  .quick-tools button.current{border-color:#e7b881;background:#2b3542}
  .quick-tools button:disabled{opacity:.42}
  .tool-content{gap:5px;min-height:0;overflow-y:auto;scrollbar-width:thin;padding:1px 2px}
  .tool-content .tool-hint{display:none}
  .file-picker{min-height:42px;font-size:.82rem}
  .file-picker input[type=file]{display:none}
  .tool-inline input{min-height:40px}
  .tool-inline .primary{min-height:40px}
  .existing-text{min-height:34px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;padding:5px 9px;border:1px solid #e7b881;border-radius:7px;background:#293747;color:#fff;font-size:.8rem}
  .tool-content input[type=text],.tool-content input:not([type]){font-size:16px}
  .slider-row{gap:8px}
  .slider-row label{font-size:.75rem;gap:0}
  .slider-row input[type=range]{min-height:34px}
  .edit-text-label{font-size:.76rem;gap:1px}
  .edit-text-label input{min-height:38px;padding:6px 9px}
  .text-options{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1.5fr);gap:6px;align-items:end}
  .text-options>label{font-size:.74rem;gap:1px}
  .text-options select{min-height:38px;padding:5px}
  .color-tools{display:flex;align-items:center;gap:4px;min-width:0}
  .color-swatches{display:flex;gap:3px;min-width:0}
  .color-swatches button{flex:0 0 29px;width:29px;height:33px;border:2px solid #718198;border-radius:6px;padding:0}
  .color-swatches button.current{border-color:#fff;outline:2px solid #e7b881}
  .more-color{font-size:.68rem;display:flex;align-items:center;gap:2px}
  .more-color input{width:30px;min-height:33px;height:33px;padding:1px;border-radius:6px}
  .tool-actions .ghost{min-height:34px;padding:5px 10px}
  .customizer-footer{padding-top:4px;gap:6px}
  .customizer-footer .primary{min-height:44px}
}
@media(max-width:390px){
  .customizer-workspace{grid-template-rows:minmax(150px,min(37dvh,300px)) minmax(0,1fr)}
  .color-swatches button{flex-basis:25px;width:25px}
}

/* Back office: isolated styles that leave the storefront and customizer intact. */
.admin-shell{display:grid;grid-template-columns:230px minmax(0,1fr);gap:22px;align-items:start;max-width:1400px;margin:0 auto}
.admin-sidebar,.admin-main{min-width:0}
.admin-sidebar{position:sticky;top:16px;display:flex;flex-direction:column;gap:18px;padding:18px;background:#1b2430;border:1px solid #374555;border-radius:18px}
.admin-brand{display:grid;gap:5px;padding:4px 6px 12px;border-bottom:1px solid #374555}.admin-brand strong{font-size:1.05rem}
.admin-menu{display:grid;gap:5px}.admin-menu button{min-height:42px;padding:9px 11px;text-align:left;border:1px solid transparent;border-radius:10px;background:transparent;color:#e9eef4;font-weight:650}.admin-menu button:hover,.admin-menu button.current{border-color:#526071;background:#293747;color:#e7b881}
.admin-store-link{color:#e7b881;text-decoration:none;padding:8px 6px}.admin-topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px}.admin-topbar h1{font-size:clamp(1.7rem,3vw,2.5rem);margin:4px 0}.admin-topbar .eyebrow{font-size:.72rem}
.admin-panel{margin:0 0 16px;padding:18px;overflow:visible}.admin-panel h2{font-size:1.25rem;margin:0 0 10px}.admin-panel-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.admin-panel-head .muted{margin:0;max-width:680px}.admin-panel-head .primary{width:auto;flex:none}
.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.admin-metric{display:grid;gap:6px;padding:16px;background:#202b38;border:1px solid #374555;border-radius:14px}.admin-metric span,.admin-metric small{color:#b6c3d0}.admin-metric strong{font-size:1.35rem;color:#e7b881;overflow-wrap:anywhere}
.admin-table-wrap{width:100%;overflow:auto}.admin-table{width:100%;border-collapse:collapse;min-width:700px}.admin-table th,.admin-table td{padding:11px 10px;border-bottom:1px solid #3d4b5b;text-align:left;vertical-align:top}.admin-table th{color:#b6c3d0;font-size:.82rem}.admin-table td small{display:block;color:#b6c3d0;margin-top:3px;max-width:280px;overflow-wrap:anywhere}.admin-table select,.admin-table input{min-width:145px;min-height:38px;margin:0 0 6px;padding:7px}.admin-actions{display:flex;flex-wrap:wrap;gap:6px}.admin-actions .ghost,.admin-table .ghost{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 10px;text-decoration:none;white-space:nowrap}
.admin-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#493c31;color:#ffd9aa;font-size:.82rem}.admin-status.on{background:#1d4438;color:#a8efca}
.admin-form,.admin-form-grid{display:grid;gap:14px}.admin-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.admin-form-grid .primary{width:auto}.admin-checkbox{display:flex;align-items:center;gap:9px;min-height:44px}.admin-checkbox input{width:20px;min-height:20px;margin:0;flex:none}.admin-back-shop{display:inline-block;text-decoration:none}.admin-login{max-width:460px;margin:48px auto}.admin-login h1{font-size:2rem}.admin-login .primary{width:100%}
.admin-product-layout{max-width:none;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr)}.admin-section{display:grid;gap:12px;padding-bottom:16px;border-bottom:1px solid #3d4b5b}.admin-section h2{margin:0}.admin-product-layout .publish-toggle{display:flex;align-items:center;gap:9px}.admin-product-layout .publish-toggle input{width:20px;min-height:20px}.admin-product-layout .primary{width:auto}.admin-product-layout .row>label{flex:1;min-width:120px}
@media(max-width:900px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:static;gap:10px}.admin-brand{padding-bottom:8px}.admin-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:220px;overflow:auto}.admin-menu button{min-height:40px}.admin-store-link{padding:4px 6px}.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-product-layout{grid-template-columns:1fr}}
@media(max-width:560px){.admin-topbar{align-items:flex-start}.admin-topbar .ghost{min-height:42px}.admin-menu{grid-template-columns:1fr 1fr;gap:4px}.admin-menu button{padding:7px 8px;font-size:.82rem}.admin-panel{padding:14px}.admin-panel-head{align-items:stretch;flex-direction:column}.admin-panel-head .primary,.admin-form-grid .primary{width:100%}.admin-form-grid{grid-template-columns:1fr}.admin-metrics{grid-template-columns:1fr 1fr;gap:8px}.admin-metric{padding:12px}.admin-metric strong{font-size:1.12rem}.admin-login{margin:20px auto}.admin-table{min-width:680px}}
.product-variant-picker{margin:12px 0}.product-variant-picker select{max-width:100%}
.order-card{width:min(100%,520px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}
.checkout-fields{display:grid;gap:12px}.checkout-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.checkout-fields label{font-size:.92rem}.checkout-quote{display:grid;gap:6px;padding:12px;background:#17212c;border:1px solid #374555;border-radius:10px}.checkout-quote>div{display:flex;justify-content:space-between;gap:12px}.checkout-grand-total{padding-top:8px;border-top:1px solid #526071;color:#e7b881;font-size:1.08rem}
@media(max-width:560px){.order-dialog{padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom))}.order-card{width:min(100%,520px);max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));padding:15px}.checkout-fields-grid{grid-template-columns:1fr}}

/* Product variant editor */
.variant-admin{display:grid;gap:10px;margin:14px 0;padding:14px;border:1px solid #e6e2dc;border-radius:14px;background:#fffdfa}.variant-admin h3{margin:0}.variant-admin>small{display:block}.variant-row{display:grid;grid-template-columns:1fr 1fr 1fr .7fr auto;gap:10px;align-items:end;padding:10px 0;border-bottom:1px solid #eee}.variant-row label{min-width:0}.variant-row input{width:100%;min-width:0}@media(max-width:760px){.variant-row{grid-template-columns:1fr 1fr}.variant-row button{min-height:42px}}

/* Order artwork preview is scoped to the authenticated back office. */
.order-design-cell{display:flex;align-items:flex-start;gap:10px;min-width:205px}
.order-design-meta{min-width:0;overflow-wrap:anywhere}
.order-design-meta>strong{display:block}
.order-preview-thumb{display:block;flex:0 0 76px;width:76px;height:76px;padding:4px;border:1px solid #526071;border-radius:10px;background:#121923;cursor:zoom-in}
.order-preview-thumb img{display:block;width:100%;height:100%;object-fit:contain;border-radius:6px}
.order-preview-thumb:focus-visible{outline:3px solid #e7b881;outline-offset:2px}
.order-preview-empty{display:grid;place-items:center;flex:0 0 76px;width:76px;height:76px;padding:6px;border:1px dashed #526071;border-radius:10px;color:#b6c3d0;font-size:.75rem;text-align:center}

/* Optional interior dedication label, enabled only on compatible products. */
.customizer-page.has-inner-label{grid-template-rows:auto auto minmax(0,1fr) auto}
.customizer-page.has-inner-label .customizer-workspace,.customizer-page.has-inner-label .inner-label-step{grid-row:3}
.customizer-page.has-inner-label .customizer-footer{grid-row:4}
.customizer-steps{display:flex;gap:8px;grid-row:2;min-width:0}
.customizer-steps button{min-height:40px;padding:7px 12px;border:1px solid #526071;border-radius:10px;background:#18212c;color:#f6f7fa;font:inherit;font-weight:700}
.customizer-steps button.current{border-color:#e7b881;color:#e7b881;background:#2b3542}
.customizer-workspace.customizer-step-hidden{display:none!important}
.inner-label-step{min-height:0;overflow:auto;overscroll-behavior:contain;padding:clamp(14px,2vw,26px)}
.inner-label-step[hidden]{display:none!important}
.inner-label-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.72fr);gap:24px;align-items:center;min-height:100%}
.inner-label-form{display:grid;gap:10px;align-content:center;min-width:0}
.inner-label-form h2{margin:0}
.inner-label-form p{margin:0}
.inner-label-form textarea{min-height:110px;resize:vertical}
.inner-label-limits{display:flex;justify-content:flex-end;color:#b6c3d0;font-size:.82rem}
.inner-label-notice{min-height:1.25em;color:#ffd9aa;font-size:.84rem}
.inner-label-spec{font-size:.82rem}
.inner-label-preview-panel{display:grid;justify-items:center;gap:10px;padding:16px;border:1px solid #526071;border-radius:14px;background:#19232f;text-align:center}
.inner-label-preview-panel strong{color:#d5dee7}
.inner-label-preview-panel img{display:block;width:min(100%,420px);max-height:min(48vh,420px);object-fit:contain;border:1px solid #d5d5d5;border-radius:4px;background:#fff;box-shadow:0 4px 18px #0004}
.inner-label-admin-fields{display:grid;gap:10px}
.inner-label-admin-fields[hidden]{display:none!important}
.inner-label-admin-fields small{margin-top:0!important}
.order-inner-label{display:grid;grid-template-columns:62px minmax(0,1fr);gap:5px 9px;align-items:center;max-width:260px;margin-top:10px;padding-top:10px;border-top:1px solid #526071}
.order-inner-label strong,.order-inner-label small{grid-column:1/-1;overflow-wrap:anywhere}
.order-inner-label-preview{display:block;width:72px;height:42px;padding:2px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:zoom-in}
.order-inner-label-preview img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.order-inner-label a{white-space:normal!important;text-align:center}
@media(max-width:720px){.customizer-page.has-inner-label{grid-template-rows:38px 40px minmax(0,1fr) auto}.customizer-steps{gap:5px}.customizer-steps button{min-height:38px;padding:5px 8px;font-size:.76rem}.inner-label-step{padding:10px}.inner-label-layout{grid-template-columns:minmax(0,1fr);gap:10px;align-content:start}.inner-label-form{gap:6px}.inner-label-form .muted{font-size:.78rem}.inner-label-form textarea{min-height:88px}.inner-label-preview-panel{gap:5px;padding:7px}.inner-label-preview-panel img{width:min(100%,320px);max-height:18dvh}.inner-label-spec{font-size:.74rem}.order-inner-label{max-width:none}.order-inner-label a{grid-column:2}}
.order-preview-modal{width:min(980px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #526071;border-radius:16px;background:#141c26;color:#eff4fa;box-shadow:0 20px 70px #0009}
.order-preview-modal::backdrop{background:#02060bcc}
.order-preview-modal__inner{display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;padding:16px;max-height:calc(100dvh - 32px)}
.order-preview-modal__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.order-preview-modal__head h2{margin:2px 0 0;font-size:1.1rem}
.order-preview-modal__note{margin:0;padding:10px 12px;border-left:3px solid #e7b881;background:#2b3542;color:#f1dfc5;font-size:.9rem;line-height:1.45}
.order-preview-modal__image{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 112px);justify-self:center;object-fit:contain;border-radius:8px;background:#fff}
@media(max-width:560px){.order-preview-modal{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.order-preview-modal__inner{padding:12px;max-height:calc(100dvh - 20px)}.order-preview-modal__image{max-height:calc(100dvh - 104px)}}

/* Orders table: keep its width inside the back office and make every action reachable. */
main:has(.admin-table--orders){max-width:none;width:100%;padding-left:clamp(12px,2vw,28px);padding-right:clamp(12px,2vw,28px)}
.admin-shell:has(.admin-table--orders){width:100%;max-width:none;grid-template-columns:200px minmax(0,1fr);gap:14px}
.admin-main:has(.admin-table--orders),.admin-panel:has(.admin-table--orders),.admin-table-wrap--orders{min-width:0;max-width:100%}
.admin-panel:has(.admin-table--orders){overflow:visible}
.admin-table-wrap--orders{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
.admin-table--orders{width:100%;min-width:1040px;table-layout:fixed}
.admin-table--orders th:nth-child(1),.admin-table--orders td:nth-child(1){width:220px}
.admin-table--orders th:nth-child(2),.admin-table--orders td:nth-child(2){width:135px}
.admin-table--orders th:nth-child(3),.admin-table--orders td:nth-child(3){width:145px}
.admin-table--orders th:nth-child(4),.admin-table--orders td:nth-child(4){width:130px}
.admin-table--orders th:nth-child(5),.admin-table--orders td:nth-child(5){width:230px}
.admin-table--orders th:nth-child(6),.admin-table--orders td:nth-child(6){width:180px}
.admin-table--orders td{overflow-wrap:anywhere}
.admin-table--orders td:nth-child(5) select,.admin-table--orders td:nth-child(5) input{width:100%;min-width:0}
.admin-table--orders .admin-order-downloads{display:flex;flex-wrap:wrap;align-items:stretch;gap:7px;width:100%;min-width:0}
.admin-table--orders .admin-order-downloads .ghost{flex:1 1 92px;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.25}
@media(max-width:900px){.admin-shell:has(.admin-table--orders){grid-template-columns:minmax(0,1fr);gap:12px}}
@media(max-width:680px){
  main:has(.admin-table--orders){padding:12px 12px 64px}
  .admin-shell:has(.admin-table--orders){grid-template-columns:minmax(0,1fr);gap:12px}
  .admin-table-wrap--orders{overflow:visible;scrollbar-gutter:auto}
  .admin-table--orders{display:block;width:100%;min-width:0;table-layout:auto;border-collapse:separate}
  .admin-table--orders thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .admin-table--orders tbody{display:grid;gap:12px;width:100%}
  .admin-table--orders tbody tr{display:grid;grid-template-columns:minmax(0,1fr);width:100%;padding:7px 12px;border:1px solid #3d4b5b;border-radius:14px;background:#202b38}
  .admin-table--orders tbody td{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:6px;width:100%;min-width:0;padding:10px 0;border-bottom:1px solid #3d4b5b;overflow-wrap:anywhere}
  .admin-table--orders tbody td::before{content:attr(data-label);color:#b6c3d0;font-size:.78rem;font-weight:750;line-height:1.3}
  .admin-table--orders tbody td:last-child{border-bottom:0}
  .admin-table--orders .order-design-cell{min-width:0;gap:8px}
  .admin-table--orders .order-preview-thumb,.admin-table--orders .order-preview-empty{flex-basis:64px;width:64px;height:64px}
  .admin-table--orders .order-design-meta{font-size:.88rem}
  .admin-table--orders .order-design-meta small{max-width:none}
  .admin-table--orders td:nth-child(5) select,.admin-table--orders td:nth-child(5) input,.admin-table--orders td:nth-child(5) button{grid-column:1;min-width:0;width:100%;margin:0 0 7px}
  .admin-table--orders td:nth-child(5) button{width:auto;justify-self:start;min-height:42px}
  .admin-table--orders .admin-order-downloads{gap:7px}
  .admin-table--orders .admin-order-downloads .ghost{flex:1 1 90px;min-height:42px;padding:8px;white-space:normal;overflow-wrap:anywhere}
}

/* Product-specific interior-label mockup, kept separate from print output. */
.inner-label-preview-stack{display:grid;gap:12px;align-content:center;min-width:0}
.inner-label-mockup-panel{display:grid;justify-items:center;gap:8px;min-width:0;padding:12px;border:1px solid #526071;border-radius:14px;background:#19232f;text-align:center}
.inner-label-mockup-panel[hidden],.inner-label-admin-mockup[hidden]{display:none!important}
.inner-label-mockup-frame,.inner-label-admin-mockup{position:relative;width:min(100%,640px);overflow:hidden;border:1px solid #526071;border-radius:9px;background:#10151c}
.inner-label-mockup-frame>img,.inner-label-admin-mockup>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.inner-label-mockup-frame>#innerLabelMockupOverlay{z-index:1;object-fit:fill;pointer-events:none}
.inner-label-mockup-panel>small{max-width:60ch}
.inner-label-mockup-config{display:grid;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid #3d4b5b}
.inner-label-mockup-config h3,.inner-label-mockup-config p{margin:0}
.inner-label-admin-mockup{width:min(100%,720px);margin:0 auto;aspect-ratio:16/9}
.inner-label-admin-overlay{position:absolute;z-index:1;display:grid;place-items:center;overflow:hidden;padding:2%;border:1px solid #d7d7d7;border-radius:2px;background:#fff;color:#111;font-size:clamp(8px,1.5vw,18px);font-weight:700;line-height:1.1;pointer-events:none}
.inner-label-position-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.inner-label-position-controls label{display:grid;gap:5px}
.inner-label-position-controls input[type=range]{width:100%;padding:0}
.inner-label-position-controls output{color:#b6c3d0;font-size:.85rem}
.order-inner-mockup{display:grid;gap:5px;width:min(100%,230px);margin-top:8px}
.order-inner-mockup small{color:#b6c3d0}
.order-inner-mockup__frame{position:relative;width:100%;overflow:hidden;border:1px solid #526071;border-radius:6px;background:#10151c}
.order-inner-mockup__frame>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.order-inner-mockup__frame>img:last-child{z-index:1;object-fit:fill;pointer-events:none}
@media(max-width:720px){.inner-label-preview-stack{gap:8px}.inner-label-mockup-panel{padding:8px}.inner-label-mockup-frame{width:min(100%,420px)}.inner-label-position-controls{grid-template-columns:1fr}.order-inner-mockup{width:min(100%,320px)}}
.cart-nav{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:8px 12px;border:1px solid #526071;border-radius:10px;background:#202b38;color:#f3f5f7;font-weight:700;cursor:pointer}
.cart-count,.customizer-cart span{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#e87932;color:#fff;font-size:.78rem;font-weight:800}
body.admin-mode #cartNav{display:none}
.customizer-cart{display:inline-flex;align-items:center;gap:7px;min-height:40px;white-space:nowrap}
.cart-page{width:min(1180px,100%);margin:0 auto;padding:16px 0 max(28px,env(safe-area-inset-bottom))}
.cart-page-head{display:flex;align-items:center;gap:16px;margin-bottom:16px}.cart-page h1{display:flex;align-items:baseline;gap:12px;margin:0}.cart-unit-count{font-size:.9rem;color:#aab7c6;font-weight:600}
.cart-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);align-items:start;gap:16px}
.cart-lines-panel,.cart-checkout-panel{min-width:0}.cart-lines-panel h2,.cart-checkout-panel h2{margin-top:0}
.cart-line{display:grid;grid-template-columns:112px minmax(0,1fr) 92px auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #3d4b5b;min-width:0}
.cart-line>img{display:block;width:112px;height:92px;object-fit:contain;background:#121923;border-radius:8px}.cart-line-main{display:grid;gap:4px;min-width:0}.cart-line-main small{color:#b6c3d0;overflow-wrap:anywhere}.cart-line-main .cart-line-text{color:#f1dfc5}
.cart-line-quantity{font-size:.82rem}.cart-line-quantity input{width:100%;min-height:44px}.cart-line [data-remove-line]{min-height:44px}
.cart-checkout-panel{display:grid;gap:10px}.cart-checkout-panel label{margin:0}.cart-checkout-panel .checkout-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cart-checkout-panel .checkout-fields-grid label{min-width:0}
.cart-checkout-panel .checkout-quote{display:grid;gap:7px}.cart-checkout-panel .checkout-quote>div{display:flex;justify-content:space-between;gap:12px}.cart-checkout-panel #cartSubmit{width:100%;min-height:50px}
.cart-added-card{max-width:420px}.cart-added-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.cart-added-actions button{min-height:46px}
@media(max-width:850px){.cart-layout{grid-template-columns:minmax(0,1fr)}.cart-checkout-panel{order:2}}
@media(max-width:560px){
  .cart-page{padding:10px 0 max(22px,env(safe-area-inset-bottom))}.cart-page-head{align-items:flex-start;flex-direction:column;gap:8px}.cart-page h1{font-size:1.55rem}.cart-line{grid-template-columns:76px minmax(0,1fr) 76px;gap:8px}.cart-line>img{width:76px;height:72px}.cart-line-quantity{grid-column:3;grid-row:1}.cart-line [data-remove-line]{grid-column:2/4;justify-self:end}.cart-checkout-panel .checkout-fields-grid{grid-template-columns:minmax(0,1fr)}.cart-added-actions{justify-content:stretch}.cart-added-actions button{flex:1 1 140px}
}

.admin-order-item{display:grid;gap:8px;padding:10px 0;border-bottom:1px solid #526071}.admin-order-item:last-child{border-bottom:0}.admin-order-item .order-design-cell{min-width:0}.admin-order-item .order-preview-thumb,.admin-order-item .order-preview-empty{flex:0 0 72px;width:72px;height:64px}.admin-order-item [data-order-item-files]{min-width:0}.admin-order-item .order-inner-label{margin-left:0}


/* V16.6.8: clear, low-profile photo guidance. Does not alter the design canvas. */
.customizer-surface-note{display:flex;align-items:baseline;gap:6px;margin:0;padding:5px 8px;border-radius:7px;background:#293747;color:#dae4ee;font-size:.78rem;line-height:1.35}
.customizer-surface-note strong{color:#f5ddbd;font-weight:650}
.customizer-surface-note span{flex:none;color:#e7b881}
.customizer-photo-toast{position:fixed;left:50%;bottom:calc(78px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:90;max-width:min(500px,calc(100vw - 24px));width:max-content;padding:9px 13px;border:1px solid #e7b881;border-radius:10px;background:#1a2634;color:#fff;box-shadow:0 6px 20px #0006;text-align:center;font-size:.85rem;line-height:1.4;pointer-events:none}
.customizer-photo-toast[hidden]{display:none!important}
@media(max-width:720px){.customizer-surface-note{padding:3px 5px;gap:4px;font-size:.68rem;line-height:1.3}.customizer-photo-toast{bottom:calc(70px + env(safe-area-inset-bottom));font-size:.77rem;padding:8px 11px}}

/* MIALAND V16.7.0 — ONLY public storefront/landing. All admin/customizer geometry untouched. */
body.ml-landing-mode{background:#fbfaf8;color:#302924}
body.ml-landing-mode main#app{max-width:none;padding:0;min-height:60vh}
body:not(.admin-mode):not(.customizer-mode) #siteHeader{position:relative;z-index:15;height:auto;min-height:70px;padding:0 20px;background:#fff;border-bottom:1px solid #ede5df;color:#312925}
#siteHeader .ml-header-inner{width:min(1200px,100%);margin:0 auto;min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:26px}
#siteHeader .brand{display:flex;align-items:center;gap:9px;white-space:nowrap;text-decoration:none;font-size:1.28rem;font-weight:850;letter-spacing:-.03em}
body:not(.admin-mode):not(.customizer-mode) #siteHeader .brand{color:#2e2823}
#siteHeader .brand img{width:37px;height:37px;object-fit:contain;flex:0 0 37px}
#siteHeader .ml-desktop-nav{flex:1;display:flex;align-items:center;justify-content:center;gap:22px}
body:not(.admin-mode):not(.customizer-mode) #siteHeader .ml-desktop-nav button,body:not(.admin-mode):not(.customizer-mode) #siteHeader .ml-desktop-nav a,body:not(.admin-mode):not(.customizer-mode) #siteHeader .ml-category-dropdown>summary{color:#473b34;font-size:.86rem;font-weight:640;text-decoration:none;background:none;border:0;border-radius:8px;padding:8px 0;white-space:nowrap}
#siteHeader .ml-desktop-nav a:hover,#siteHeader .ml-category-dropdown>summary:hover{color:#c95736!important}
#siteHeader .ml-category-dropdown{position:relative}
#siteHeader .ml-category-dropdown summary{list-style:none;cursor:pointer}
#siteHeader .ml-category-dropdown summary::-webkit-details-marker{display:none}
#siteHeader .ml-category-dropdown-menu{position:absolute;top:calc(100% + 10px);left:-18px;min-width:220px;max-width:290px;max-height:350px;overflow:auto;display:grid;gap:5px;padding:12px;background:white;border:1px solid #eee3db;border-radius:14px;box-shadow:0 12px 35px #58362622}
#siteHeader .ml-category-dropdown-menu button{display:block;width:100%;text-align:left;padding:9px 10px!important;border-radius:8px!important}
#siteHeader .ml-category-dropdown-menu button:hover{background:#fcf1ec!important}
#siteHeader .ml-no-categories{font-size:.8rem;color:#806e63;padding:8px}
#siteHeader .ml-header-actions{display:flex;align-items:center;gap:8px}
#siteHeader .ml-header-actions .cart-nav{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;min-height:42px;border-radius:12px}
body:not(.admin-mode):not(.customizer-mode) #siteHeader .cart-nav{border:1px solid #eadbd2;color:#332722;background:#fff}
#siteHeader .ml-mobile-menu{display:none;position:relative}
#siteHeader .ml-mobile-menu summary{cursor:pointer;list-style:none;padding:10px;font-size:1.4rem}
#siteHeader .ml-mobile-menu summary::-webkit-details-marker{display:none}
#siteHeader .ml-mobile-menu>div{position:absolute;right:0;top:100%;display:grid;gap:6px;min-width:220px;background:#fff;padding:12px;border:1px solid #e8dad0;border-radius:13px;box-shadow:0 18px 36px #58362633}
#siteHeader .ml-mobile-menu a{color:#332722;text-decoration:none;min-height:42px;padding:10px;border-radius:8px}
#siteHeader .ml-mobile-menu a:focus-visible,#siteHeader .ml-mobile-menu a:hover{background:#f9eee8}
body:not(.customizer-mode):not(.admin-mode) .ml-promo-strip{padding:10px 20px;text-align:center;background:#fbe2cd;color:#3e271d;font-size:.92rem;font-weight:800;min-height:40px}
.ml-promo-strip[hidden]{display:none!important}.ml-promo-divider{margin:0 18px;color:#c95736}
body.ml-landing-mode .ml-landing{font-size:16px;line-height:1.5}
.ml-landing h1,.ml-landing h2,.ml-landing h3{letter-spacing:-.035em;color:#2e2723}
.ml-landing h2{font-size:clamp(1.65rem,2.4vw,2.35rem)}
.ml-landing .ml-hero{position:relative;display:grid;grid-template-columns:1.02fr .98fr;min-height:470px;max-width:none;background:#7d7169;overflow:hidden}
.ml-hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:64px max(35px,calc((100vw - 1200px)/2));padding-right:24px;color:#fff;z-index:1}
.ml-hero-copy h1{font-size:clamp(2.5rem,4.2vw,4.6rem);color:#fff;line-height:1.05;margin:12px 0 20px;max-width:680px}
.ml-hero-copy p{font-size:1.08rem;line-height:1.6;max-width:530px;margin:0 0 26px;color:#fff}
.ml-hero-kicker{text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;color:#f8e6d9;font-weight:800}
.ml-hero-buttons{display:flex;flex-wrap:wrap;gap:12px}
.ml-hero-media{position:relative;overflow:hidden;min-height:420px;isolation:isolate}
.ml-hero-media:before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#7d7169 0%,transparent 35%)}
.ml-hero-media img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center}
.ml-hero-label{position:absolute;z-index:2;bottom:30px;right:24px;background:#fffef0ed;color:#422d26;font-size:.81rem;font-weight:800;padding:11px 15px;border-radius:12px}
.ml-landing .ml-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:45px;padding:11px 18px;border-radius:10px;font-size:.91rem;line-height:1.1;font-weight:800;white-space:normal;cursor:pointer;text-decoration:none}
.ml-landing .ml-btn-primary{color:#fff;background:#f4690d;border:1px solid #f4690d;box-shadow:0 3px 8px #50251012}
.ml-landing .ml-btn-outline{color:#fff;background:#ffffff0d;border:1px solid #fff9}
.ml-landing .ml-btn:hover{filter:brightness(.95)}.ml-landing .ml-btn:focus-visible{outline:3px solid #a34a24;outline-offset:3px}
.ml-main-container{width:min(1200px,calc(100% - 48px));margin:0 auto}
.ml-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:26px auto 0}
.ml-benefits>div{min-width:0;background:#f6f1ec;border:1px solid #f4ede7;padding:23px 20px;border-radius:16px;display:grid;align-content:start;grid-template-columns:40px minmax(0,1fr);column-gap:13px}
.ml-benefit-symbol{grid-row:span 2;font-size:2rem;color:#cf5a32;line-height:1.1}
.ml-benefits h3{font-size:1.06rem;margin:0 0 7px;font-weight:800}
.ml-benefits p{grid-column:2;font-size:.89rem;line-height:1.4;color:#746760;margin:0}
.ml-section{padding:58px 0 12px;scroll-margin-top:85px}
.ml-section-heading{text-align:center;margin:0 auto 28px;max-width:700px}
.ml-section-heading>span,.ml-banner-kicker{display:block;color:#ce5932;text-transform:uppercase;letter-spacing:.11em;font-size:.75rem;font-weight:850}
.ml-section-heading h2{margin:5px 0 5px}
.ml-section-heading p{margin:0;color:#7a6a61;line-height:1.5}
.ml-category-pills{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:0 auto 24px}
.ml-category-pill{padding:7px 13px;border:1px solid #eaded6;color:#513c31;background:#fff;border-radius:100px;font-size:.82rem;font-weight:700;min-height:38px}
.ml-category-pill.is-active{background:#c95736;color:#fff;border-color:#c95736}
.ml-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ml-card{overflow:hidden;border:1px solid #eaddd4;border-radius:15px;background:#fff;display:grid;grid-template-columns:minmax(0,1fr);box-shadow:0 4px 14px #4d251608;min-width:0}
.ml-card-photo{display:block;position:relative;background:#f8f6f2;border:0;padding:0;margin:0;width:100%;min-height:215px;aspect-ratio:1.5;overflow:hidden}
.ml-card-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:contain;object-position:center;padding:8px;display:block}
.ml-card-copy{display:flex;flex-direction:column;align-items:stretch;padding:15px;min-width:0}
.ml-card h3{font-size:1.05rem;margin:0 0 6px;line-height:1.25;color:#302721}
.ml-card p{color:#80746b;font-size:.81rem;margin:0 0 13px;min-height:32px}
.ml-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}
.ml-card-bottom strong{font-size:1.25rem;color:#c84925}
.ml-card .ml-btn{min-height:38px;font-size:.8rem;padding:9px 13px}
.ml-catalog-note{background:#faeadd;color:#674331;border-radius:12px;margin:22px auto 0;padding:13px 15px;text-align:center;font-size:.91rem;font-weight:700;max-width:680px}
.ml-empty{padding:30px;color:#685d57;grid-column:1/-1;text-align:center;background:#fff;border:1px solid #eee2da;border-radius:12px}
.ml-ideas-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.ml-idea{position:relative;display:flex;align-items:center;flex-direction:column;gap:6px;text-align:center;background:#f8f0ea;border:1px solid #f2e7e0;border-radius:16px;min-height:165px;padding:15px 10px;color:#342a25}
.ml-idea-symbol{display:grid;place-items:center;border-radius:100%;width:48px;height:48px;background:white;color:#ca5834;font-size:1.7rem}
.ml-idea strong{font-size:.95rem}.ml-idea small{font-size:.76rem;line-height:1.3;color:#85726a}.ml-idea-arrow{position:absolute;right:8px;top:6px;font-size:1.4rem;color:#c95736}
.ml-points-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.ml-points-grid article{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:13px;align-content:start}
.ml-points-grid article>span{display:grid;place-items:center;grid-row:span 2;width:44px;height:44px;background:#fae9df;border-radius:13px;font-size:1.7rem;color:#cb5731}
.ml-points-grid h3{font-size:1.04rem;line-height:1.25;margin:1px 0 8px}
.ml-points-grid p{grid-column:2;margin:0;color:#736962;font-size:.88rem;line-height:1.45}
.ml-steps ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;list-style:none;padding:0;margin:0}
.ml-steps li{display:flex;align-items:flex-start;gap:16px;padding:12px 0}
.ml-steps li>b{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;background:#fae2cf;color:#c95736;border-radius:50%;font-size:1.15rem}
.ml-steps h3{font-size:1.02rem;line-height:1.3;margin:1px 0 5px}
.ml-steps p{color:#776c65;font-size:.88rem;margin:0}
.ml-gift-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:48px auto 55px;padding:28px 42px;border-radius:20px;background:linear-gradient(110deg,#7b6457 0%,#8d7567 62%,#ba9b7f 100%);color:white;overflow:hidden}
.ml-gift-banner h2{color:#fff;font-size:clamp(1.45rem,2.5vw,2.4rem);margin:6px 0}
.ml-gift-banner p{color:#fff4ea;margin:0 0 16px;max-width:680px}
.ml-gift-banner .ml-banner-kicker{color:#f9d6bd}
.ml-banner-illustration{font-size:5.5rem;line-height:1}
body:not(.admin-mode):not(.customizer-mode) .ml-footer{background:#fffaf6;color:#5d524b;border-top:1px solid #ede1d9;padding:30px max(20px,calc((100vw - 1200px)/2));text-align:left}
.ml-footer-top{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-bottom:16px}
.ml-footer-brand{font-weight:850;font-size:1.1rem;color:#2f2925;text-decoration:none}
.ml-footer-links{display:flex;flex-wrap:wrap;gap:10px 20px;margin-bottom:18px}
.ml-footer-links a,.ml-footer-links button{color:#5b4c42;text-decoration:none;font-size:.81rem;background:none;border:0;padding:0;min-height:26px}
.ml-footer-links a:hover,.ml-footer-links button:hover{text-decoration:underline;color:#bd4d2c}
.ml-footer small{font-size:.75rem;color:#8f8074}
/* Make existing public product/detail and cart surfaces readable on a light storefront, without altering layouts or interaction. */
body:not(.admin-mode):not(.customizer-mode):not(.ml-landing-mode){background:#fbfaf8;color:#342d28}
body:not(.admin-mode):not(.customizer-mode):not(.ml-landing-mode) .muted{color:#776e67}
body:not(.admin-mode):not(.customizer-mode):not(.ml-landing-mode) .panel,body:not(.admin-mode):not(.customizer-mode):not(.ml-landing-mode) .cart-line{background:#fff;color:#342d28;border-color:#eaded6}
body:not(.admin-mode):not(.customizer-mode):not(.ml-landing-mode) .ghost{color:#544336;background:#fff;border-color:#cdbdb3}
body:not(.admin-mode):not(.customizer-mode):not(.ml-landing-mode) .price{color:#c75231}
body:not(.admin-mode):not(.customizer-mode):not(.ml-landing-mode) .primary{background:#e96316;color:white}
body:not(.admin-mode):not(.customizer-mode):not(.ml-landing-mode) label{color:#56473f}
body:not(.admin-mode):not(.customizer-mode):not(.ml-landing-mode) input,body:not(.admin-mode):not(.customizer-mode):not(.ml-landing-mode) select,body:not(.admin-mode):not(.customizer-mode):not(.ml-landing-mode) textarea{background:#fff;color:#2f2925;border-color:#d6c6bd}
body:not(.admin-mode):not(.customizer-mode):not(.ml-landing-mode) .product-slide,body:not(.admin-mode):not(.customizer-mode):not(.ml-landing-mode) .product-carousel{background:#fff!important}
@media (max-width:1050px){#siteHeader .ml-desktop-nav{gap:12px}#siteHeader .ml-desktop-nav a,#siteHeader .ml-desktop-nav button,#siteHeader .ml-desktop-nav summary{font-size:.79rem!important}.ml-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.ml-ideas-track{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:720px){body:not(.admin-mode):not(.customizer-mode) #siteHeader{padding:0 14px}#siteHeader .ml-header-inner{min-height:58px;gap:10px}#siteHeader .brand{font-size:1.1rem}#siteHeader .brand img{width:31px;height:31px;flex-basis:31px}#siteHeader .ml-desktop-nav{display:none}#siteHeader .ml-mobile-menu{display:block}#siteHeader .ml-header-actions .cart-nav{padding:7px 8px}#siteHeader .ml-cart-label{display:none}body:not(.customizer-mode):not(.admin-mode) .ml-promo-strip{padding:8px 12px;min-height:36px;font-size:.85rem}
 .ml-landing .ml-hero{grid-template-columns:1fr;min-height:0;background:#7d7169}.ml-hero-copy{padding:28px 22px 18px}.ml-hero-copy h1{font-size:clamp(2rem,8vw,3rem);margin:8px 0 12px}.ml-hero-copy p{font-size:.98rem;line-height:1.5;margin:0 0 18px}.ml-hero-kicker{font-size:.72rem}.ml-hero-buttons{gap:8px}.ml-hero-buttons .ml-btn{flex:1 1 150px}.ml-hero-media{height:250px;min-height:250px}.ml-hero-media:before{background:linear-gradient(180deg,#7d7169 0%,transparent 30%)}.ml-hero-label{bottom:13px;right:12px;font-size:.73rem}
 .ml-main-container{width:calc(100% - 26px)}.ml-benefits{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.ml-benefits>div{display:block;text-align:center;padding:11px 5px;border-radius:11px}.ml-benefit-symbol{font-size:1.6rem}.ml-benefits h3{font-size:.72rem;margin:5px 0 0;letter-spacing:0}.ml-benefits p{display:none}.ml-benefits>div:nth-child(4){display:none}.ml-section{padding-top:35px}.ml-section-heading{margin:0 auto 17px}.ml-section-heading h2{font-size:1.54rem}.ml-section-heading p{font-size:.88rem}
 .ml-category-pills{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:3px 0 10px;margin-bottom:10px;scrollbar-width:thin}.ml-category-pill{flex:0 0 auto;min-height:36px;font-size:.78rem}.ml-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ml-card-photo{min-height:0;aspect-ratio:1.04}.ml-card-photo img{padding:4px}.ml-card-copy{padding:9px}.ml-card h3{font-size:.88rem;line-height:1.25}.ml-card p{font-size:.72rem;line-height:1.25;min-height:45px;margin-bottom:8px}.ml-card-bottom{display:block}.ml-card-bottom strong{display:block;font-size:1.05rem;margin-bottom:7px}.ml-card .ml-btn{width:100%;font-size:.77rem;min-height:38px}.ml-catalog-note{font-size:.8rem;padding:10px}
 .ml-ideas-track{display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 12px}.ml-idea{flex:0 0 138px;scroll-snap-align:start;min-height:142px}.ml-idea-symbol{width:39px;height:39px;font-size:1.35rem}.ml-idea strong{font-size:.88rem}.ml-idea small{font-size:.72rem}.ml-points-grid{grid-template-columns:1fr;gap:20px}.ml-points-grid article{grid-template-columns:42px 1fr}.ml-steps ol{grid-template-columns:1fr;gap:6px}.ml-steps li{padding:4px 0}.ml-gift-banner{margin:28px auto 30px;padding:23px 19px}.ml-gift-banner h2{font-size:1.5rem}.ml-banner-illustration{font-size:3rem}.ml-footer-links{gap:10px 14px}
}
@media(max-width:385px){.ml-hero-buttons{flex-direction:column;width:100%}.ml-hero-buttons .ml-btn{flex:auto;width:100%}.ml-products-grid{gap:7px}.ml-card .ml-btn{padding:8px 4px}.ml-gift-banner{gap:5px}.ml-banner-illustration{font-size:2.4rem}}

/* V16.7.1 - Contacto público; estilos limitados a la página de contacto. */
body.ml-contact-page{background:#fcf9f6;color:#342b25;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;min-height:100vh}
.ml-static-header{height:auto;min-height:72px;background:#fff;padding:0 22px;border-bottom:1px solid #eadbd2}
.ml-static-header-inner{max-width:1180px;width:100%;margin:auto;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ml-static-brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#332722;font-size:1.28rem}
.ml-static-brand img{width:37px;height:37px;object-fit:contain}.ml-back-link{color:#8e482f;text-decoration:none;font-weight:650;font-size:.92rem}
.ml-static-container{max-width:1180px;margin:auto;padding:44px 22px 65px;min-height:60vh}
.ml-contact-intro{max-width:760px;margin:0 auto 30px;text-align:center}.ml-contact-intro h1{font-size:clamp(2rem,4vw,3rem);margin:7px 0 12px;color:#332823}.ml-contact-intro p{line-height:1.65;color:#75685f;margin:0}
.ml-contact-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.9fr);gap:22px;align-items:start}
.ml-contact-panel,.ml-contact-aside{background:#fff;border:1px solid #eaded6;border-radius:20px;padding:27px;box-shadow:0 3px 18px #522d1b09}
.ml-contact-panel h2,.ml-contact-aside h2{color:#322720;margin:0 0 20px;font-size:1.5rem}
.ml-contact-panel form{display:grid;gap:17px}.ml-contact-panel label{color:#43352e;font-size:.92rem;line-height:1.4}
.ml-contact-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.ml-contact-panel input:not([type=checkbox]),.ml-contact-panel select,.ml-contact-panel textarea{width:100%;background:#fff;color:#342b25;border:1px solid #d5c6bc;border-radius:11px;padding:11px 12px;min-height:46px;font:inherit}
.ml-contact-panel textarea{min-height:142px;resize:vertical;line-height:1.5}
.ml-contact-panel input:focus,.ml-contact-panel select:focus,.ml-contact-panel textarea:focus{outline:2px solid #c95736;outline-offset:1px}
.ml-honeypot{position:absolute;width:1px;height:1px;left:-10000px;overflow:hidden}
.ml-contact-check{display:flex!important;flex-direction:row;align-items:start;gap:10px;font-weight:400!important;font-size:.84rem!important;color:#665a53!important}
.ml-contact-check input{width:18px!important;height:18px!important;min-height:18px!important;flex:0 0 18px;margin:1px 0;accent-color:#c95736}
.ml-contact-check a{color:#a84929}.ml-contact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.ml-contact-actions .ml-btn{background:#c95736;color:#fff;min-height:47px;font-weight:760;border:0;padding:13px 22px;border-radius:11px}
.ml-contact-status{font-size:.85rem;line-height:1.4;color:#74695f}.ml-contact-success{color:#1d6e43}.ml-contact-error{color:#9e332b}
.ml-contact-aside{background:#f9eee7}.ml-contact-icon{display:inline-grid;place-items:center;background:#fff;border-radius:12px;color:#c95736;font-size:1.6rem;width:46px;height:46px;margin-bottom:15px}.ml-contact-aside p{color:#6e5f55;line-height:1.55}.ml-contact-aside a{color:#ac4528;font-weight:800;overflow-wrap:anywhere}.ml-contact-aside hr{border:0;border-top:1px solid #e6d3c7;margin:24px 0}.ml-contact-aside h3{margin:0 0 8px;color:#332720}.ml-contact-muted{font-size:.83rem}
.ml-static-footer{background:#fff9f5;border-top:1px solid #eadbd2;padding:25px 22px;color:#695c53;text-align:center}.ml-static-footer>div{max-width:1180px;margin:auto;display:flex;flex-wrap:wrap;gap:12px 25px;align-items:center}.ml-static-footer a{color:#695c53;text-decoration:none;font-size:.87rem}
@media(max-width:720px){.ml-static-container{padding:27px 14px 36px}.ml-contact-intro{margin-bottom:20px}.ml-contact-layout{grid-template-columns:1fr;gap:12px}.ml-contact-panel,.ml-contact-aside{padding:19px;border-radius:15px}.ml-contact-row{grid-template-columns:1fr;gap:14px}.ml-contact-actions .ml-btn{width:100%}.ml-contact-panel h2{font-size:1.26rem;margin-bottom:15px}.ml-contact-intro h1{font-size:2rem}.ml-static-header{padding:0 14px}.ml-static-header-inner{min-height:60px}.ml-static-brand img{width:31px;height:31px}.ml-back-link{font-size:.8rem}}


/* MIALAND V16.7.3 — Lanzamiento y visualización móvil. Cambios acotados
   a la portada y al resumen comercial del carrito. No afecta al editor. */
body:not(.customizer-mode):not(.admin-mode) .ml-promo-strip{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  gap:4px 17px;padding:12px 18px;min-height:50px;
  color:#fff;background:#c95736;border-bottom:1px solid #a84222;
  font-size:.98rem;font-weight:850;letter-spacing:.01em;
  box-shadow:0 2px 6px #55231616;
}
body:not(.customizer-mode):not(.admin-mode) .ml-promo-strip[hidden]{display:none}
.ml-promo-strong{font-weight:900}
.ml-promo-shipping{font-weight:750;color:#fff4e9}
.ml-hero-offer{display:flex;align-items:center;flex-wrap:wrap;gap:4px 7px;
  max-width:540px;padding:10px 14px;margin:0 0 18px;border-radius:10px;
  border:1px solid #ffe6d2;background:#fff2e8;color:#8d361a;font-size:.88rem;
  box-shadow:0 2px 8px #2e100a13}
.ml-hero-offer strong{color:#9e3b1a;font-size:.95rem}
.ml-catalog-offer{display:flex;align-items:center;gap:12px;margin:0 0 20px;
  padding:13px 18px;border:1px solid #edd0bd;border-radius:12px;
  color:#7a3d25;background:#fff0e4;font-size:.95rem}
.ml-catalog-offer>span:first-child{font-size:1.55rem;flex:none}
.ml-catalog-offer strong{color:#a74421}
.ml-cart-launch-notice{display:flex;flex-direction:column;gap:4px;
  background:#fff0e4;border:1px solid #edc6ac;border-radius:12px;
  padding:12px 14px;margin:10px 0;color:#6b3422;font-size:.91rem}
.ml-cart-launch-notice strong{color:#a74220}
.ml-cart-discount{color:#a63d1d;font-weight:700}
.ml-cart-coupon-field[hidden]{display:none!important}
@media (max-width:720px){
  body:not(.customizer-mode):not(.admin-mode) .ml-promo-strip{
    padding:9px 10px;min-height:58px;gap:2px 8px;flex-direction:column;
    font-size:.84rem;line-height:1.3;text-align:center;
  }
  .ml-promo-strong{font-size:.92rem}
  .ml-promo-shipping{font-size:.80rem}
  .ml-landing .ml-hero{grid-template-columns:1fr;min-height:0;background:#7d7169}
  .ml-hero-copy{padding:21px 20px 16px}
  .ml-hero-copy h1{font-size:clamp(1.86rem,7.3vw,2.4rem);margin:7px 0 10px}
  .ml-hero-copy p{font-size:.93rem;line-height:1.42;margin:0 0 12px}
  .ml-hero-offer{padding:7px 10px;margin-bottom:12px;font-size:.75rem;line-height:1.25}
  .ml-hero-offer strong{font-size:.78rem}
  .ml-hero-buttons .ml-btn{min-height:43px}
  /* La fotografía original es cuadrada. En móvil se muestra completa, sin
     recorte ni etiqueta superpuesta sobre el artículo. */
  .ml-hero-media{height:auto;min-height:0;overflow:visible}
  .ml-hero-media img{position:relative;inset:auto;display:block;width:100%;height:auto;object-fit:contain;object-position:center}
  .ml-hero-media:before{display:none}
  .ml-hero-label{display:none!important}
  .ml-catalog-offer{font-size:.82rem;padding:10px 12px;gap:8px;margin:0 0 12px}
}
@media(max-width:385px){.ml-hero-offer{display:block}.ml-hero-offer>*{margin-right:4px}}

/* MIALAND V16.7.4 — Contraste legible del resumen comercial en cualquier pantalla. */
body:not(.admin-mode) .cart-checkout-panel .checkout-quote.ml-quote-readable,
body:not(.admin-mode) #cartQuote.ml-quote-readable{
  display:grid;gap:11px;background:#fffaf4!important;color:#272b31!important;
  border:2px solid #e8b99a!important;border-radius:16px;padding:17px 15px;
  box-shadow:0 2px 8px rgba(89,52,29,.07);
}
#cartQuote.ml-quote-readable>div{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0}
#cartQuote.ml-quote-readable>div>span{min-width:0;flex:1;overflow-wrap:anywhere;color:#28303a!important}
#cartQuote.ml-quote-readable>div>strong{flex:0 0 auto;color:#202933!important;font-weight:800;text-align:right;font-variant-numeric:tabular-nums}
#cartQuote.ml-quote-readable .ml-quote-line{font-size:.92rem;line-height:1.45}
#cartQuote.ml-quote-readable .ml-quote-tax{font-size:.84rem}
#cartQuote.ml-quote-readable .ml-cart-discount{color:#8f2f12!important;font-weight:800;border-top:1px dashed #e6b99b;padding-top:10px}
#cartQuote.ml-quote-readable .ml-cart-discount>span,
#cartQuote.ml-quote-readable .ml-cart-discount>strong{color:#8f2f12!important}
#cartQuote.ml-quote-readable .ml-quote-shipping>strong{color:#196940!important;font-weight:900}
#cartQuote.ml-quote-readable .ml-quote-savings{background:#ffead8;border:1px solid #eeb284;border-radius:12px;padding:12px 13px;align-items:center}
#cartQuote.ml-quote-readable .ml-quote-savings>span{font-size:.97rem;font-weight:850;color:#90350c!important}
#cartQuote.ml-quote-readable .ml-quote-savings small{display:block;font-size:.81rem;font-weight:600;color:#75452d;margin-top:3px}
#cartQuote.ml-quote-readable .ml-quote-savings>strong{font-size:1.34rem;color:#873000!important}
#cartQuote.ml-quote-readable .checkout-grand-total{border-top:2px solid #e6a16b;padding-top:14px;align-items:center}
#cartQuote.ml-quote-readable .checkout-grand-total>span{font-size:1.06rem;font-weight:850;color:#222831!important}
#cartQuote.ml-quote-readable .checkout-grand-total>strong{font-size:1.42rem;color:#b7450f!important;white-space:nowrap}
@media(max-width:480px){#cartQuote.ml-quote-readable{padding:14px 12px;gap:10px}#cartQuote.ml-quote-readable .ml-quote-line{font-size:.86rem}#cartQuote.ml-quote-readable .checkout-grand-total>strong{font-size:1.3rem}}


/* MIALAND V16.7.5 — Contraste del checkout y confirmación de pedido. */
body:not(.admin-mode) .cart-checkout-panel #cartQuote.ml-quote-readable,
body:not(.admin-mode) #cartQuote.ml-quote-readable{
 background:#fffaf4!important;color:#252a31!important;border-color:#dc915f!important;
}
body:not(.admin-mode) #cartQuote.ml-quote-readable .ml-quote-line span,
body:not(.admin-mode) #cartQuote.ml-quote-readable .ml-quote-line strong,
body:not(.admin-mode) #cartQuote.ml-quote-readable .ml-quote-tax span,
body:not(.admin-mode) #cartQuote.ml-quote-readable .ml-quote-tax strong{
 color:#28313b!important;opacity:1!important;text-shadow:none!important;
}
body:not(.admin-mode) #cartQuote.ml-quote-readable .ml-cart-discount{
 background:#ffeddc!important;padding:12px!important;border:1px solid #e6b38d!important;border-radius:10px;
}
body:not(.admin-mode) #cartQuote.ml-quote-readable .ml-cart-discount span,
body:not(.admin-mode) #cartQuote.ml-quote-readable .ml-cart-discount strong{color:#8f2f12!important;opacity:1!important}
body:not(.admin-mode) #cartQuote.ml-quote-readable .ml-quote-shipping strong{color:#17643e!important}
body:not(.admin-mode) #cartQuote.ml-quote-readable .checkout-grand-total span,
body:not(.admin-mode) #cartQuote.ml-quote-readable .checkout-grand-total strong{
 opacity:1!important;color:#222831!important;font-weight:900!important;
}
body:not(.admin-mode) #cartQuote.ml-quote-readable .checkout-grand-total strong{color:#9e3f17!important}
.ml-order-result{width:min(720px,100%);margin:clamp(28px,6vw,78px) auto;padding:0 12px;color:#292b30}
.ml-order-result-card{background:#fffaf5;border:1px solid #e6c6b0;border-radius:22px;padding:clamp(22px,5vw,42px);box-shadow:0 12px 40px rgba(77,44,21,.08);text-align:center}
.ml-order-result-icon{display:grid;place-items:center;margin:0 auto 15px;width:62px;height:62px;border-radius:50%;background:#e5f5e9;color:#176b3e;font-weight:900;font-size:2rem}
.ml-order-result-warning .ml-order-result-icon{background:#fff0d6;color:#994b1b}
.ml-order-result-eyebrow{font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.75rem;color:#94502e;margin:0 0 9px}
.ml-order-result h1{font-size:clamp(1.7rem,5vw,2.4rem);line-height:1.16;color:#282b2f;margin:6px 0 12px}
.ml-order-result-intro{font-size:1.03rem;line-height:1.55;color:#45484d;margin:0 auto 23px;max-width:510px}
.ml-order-result-number{display:grid;gap:6px;background:#fff;border:1px solid #e3c4af;border-radius:14px;padding:17px;margin:0 auto 20px;max-width:430px}
.ml-order-result-number span{font-size:.87rem;color:#5a5d61}.ml-order-result-number strong{font-size:1.2rem;color:#983b19;overflow-wrap:anywhere}
.ml-order-result-instructions{line-height:1.5;color:#363a3e;background:#f8eee5;border-radius:11px;padding:12px}
.ml-order-result-note{color:#635b56;font-size:.85rem;line-height:1.45}
.ml-order-result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:22px}
.ml-order-result-actions .primary{background:#ea6513;color:#fff;min-width:215px}
.ml-order-result-actions .ghost{color:#753b20;border-color:#be9176;min-width:170px}
@media(max-width:560px){
 #cartQuote.ml-quote-readable>div{align-items:flex-start;gap:9px}
 #cartQuote.ml-quote-readable .checkout-grand-total strong{font-size:1.32rem}
 .ml-order-result{margin:22px auto;padding:0 4px}.ml-order-result-card{padding:24px 18px}
 .ml-order-result-actions{display:grid}.ml-order-result-actions>*{width:100%}
}

/* V16.7.6 — Resultado del formulario de contacto, accesible y responsive. */
.ml-contact-page [hidden]{display:none!important}
.ml-contact-page .ml-contact-actions{align-items:stretch}
.ml-contact-page .ml-contact-status:not(:empty){display:block;flex-basis:100%;padding:13px 15px;border-radius:11px;font-size:.95rem;font-weight:650;line-height:1.55}
.ml-contact-page .ml-contact-error:not(:empty){background:#fff0eb;border:1px solid #d99079;color:#8a2f1e}
.ml-contact-page .ml-contact-actions .ml-btn:disabled{opacity:.68;cursor:progress}
.ml-contact-confirmation{background:#f3faf5;border:1px solid #95c6a5;border-radius:17px;padding:clamp(20px,4vw,36px);color:#243d2d;display:flex;flex-direction:column;align-items:flex-start;gap:12px;box-shadow:0 6px 24px #20573212}
.ml-contact-confirmation-icon{width:53px;height:53px;display:grid;place-items:center;background:#20764a;color:#fff;border-radius:50%;font-size:2rem;font-weight:800}
.ml-contact-confirmation h3{margin:2px 0 0;font-size:clamp(1.35rem,3vw,1.8rem);line-height:1.24;color:#195334}
.ml-contact-confirmation p{margin:0;line-height:1.55;color:#304536}
.ml-contact-reference{padding:10px 13px;background:#fff;border:1px solid #bdd9c4;border-radius:10px;overflow-wrap:anywhere;width:100%}
.ml-contact-reference strong{color:#155b37;letter-spacing:.04em}
.ml-contact-confirmation .ml-btn{background:#c95736;color:#fff;border:0;border-radius:11px;padding:13px 20px;font:inherit;font-weight:750;cursor:pointer;margin-top:8px;min-height:47px}
.ml-contact-back{color:#8e482f;text-decoration:underline;font-weight:650}
@media(max-width:720px){.ml-contact-confirmation{padding:20px 17px}.ml-contact-confirmation .ml-btn{width:100%;text-align:center}}

/* MIALAND V16.7.7 — Cupones visibles y validación postal sin aviso duplicado. */
body:not(.admin-mode) .ml-cart-coupon-field{display:block!important;background:#fff9f3;color:#302b27;border:1px solid #e8c4ac;border-radius:12px;padding:14px;margin:6px 0 10px}
body:not(.admin-mode) .ml-cart-coupon-field label{display:block;font-weight:800;color:#473225;margin-bottom:8px}
body:not(.admin-mode) .ml-coupon-controls{display:flex;gap:8px;align-items:stretch;flex-wrap:wrap}
body:not(.admin-mode) .ml-coupon-controls input{flex:1 1 175px;min-width:0;background:#fff;color:#302b27;border:1px solid #bbaaa0;border-radius:9px;padding:11px 12px;min-height:44px;text-transform:uppercase}
body:not(.admin-mode) .ml-coupon-controls button{border:1px solid #a84217;background:#a84217;color:#fff;min-height:44px;padding:10px 15px;border-radius:9px;font-weight:800}
body:not(.admin-mode) .ml-coupon-controls button#cartCouponRemove{background:#fff;color:#a84217}
body:not(.admin-mode) .ml-coupon-controls button[hidden]{display:none!important}
body:not(.admin-mode) .ml-coupon-status{color:#65574b;font-size:.85rem;line-height:1.45;margin:9px 0 0}
body:not(.admin-mode) .ml-coupon-status.applied{color:#17643e;font-weight:750}
body:not(.admin-mode) .ml-coupon-status.invalid{color:#962f21;font-weight:750}
body:not(.admin-mode) #cartQuote.ml-quote-pending{display:none!important}
body:not(.admin-mode) #cartQuote.ml-quote-error{background:#fff0eb;color:#862c1c;border:1px solid #e0a18a;padding:14px;border-radius:10px;font-weight:700;line-height:1.5}
body:not(.admin-mode) .cart-checkout-panel #cartMessage.ml-postal-validation{background:#fff2e8!important;border:1px solid #e5b29c!important;color:#843219!important;border-radius:11px;padding:12px 14px;line-height:1.45;font-weight:650}
@media(max-width:500px){body:not(.admin-mode) .ml-coupon-controls input{flex-basis:100%}body:not(.admin-mode) .ml-coupon-controls button{flex:1}}
body:not(.admin-mode) .ml-cart-launch-notice[hidden]{display:none!important}

/* V16.7.13 — mobile-only shopping and dedication improvements. Desktop unchanged. */
.mobile-cart-actions{display:none}
@media(max-width:720px){
  .inner-label-step.mobile-mockup-first .inner-label-layout{display:flex;flex-direction:column;align-items:stretch;gap:8px}
  .inner-label-step.mobile-mockup-first .inner-label-preview-stack{order:-1}
  .inner-label-step.mobile-mockup-first .inner-label-form{order:1}
  .inner-label-step.mobile-mockup-first .inner-label-preview-panel{display:none}
  .inner-label-step.mobile-mockup-first .inner-label-mockup-panel{padding:5px;gap:4px}
  .inner-label-step.mobile-mockup-first .inner-label-mockup-frame{width:min(100%,360px);max-height:34dvh}
  .inner-label-step.mobile-mockup-first .inner-label-mockup-panel>small{display:none}
  .mobile-cart-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}
  .mobile-cart-actions button{min-height:40px;padding:7px 9px;font-size:.81rem}
  .mobile-cart-preview-dialog{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:16px;background:#000b}
  .mobile-cart-preview-dialog section{display:grid;justify-items:center;gap:10px;width:min(100%,480px);max-height:90dvh;overflow:auto;padding:16px;border-radius:16px;background:#202b38;color:white}
  .mobile-cart-preview-dialog img{display:block;width:100%;max-height:65dvh;object-fit:contain}
  .mobile-cart-preview-dialog p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
}

/* V16.7.14: ver y editar desde el carrito en escritorio y móvil. */
@media (min-width:721px){
  .mobile-cart-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
  .mobile-cart-actions button{min-height:37px;padding:8px 11px;font-size:.86rem}
  .mobile-cart-preview-dialog{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:24px;background:#000b}
  .mobile-cart-preview-dialog section{display:grid;justify-items:center;gap:14px;width:min(100%,620px);max-height:90dvh;overflow:auto;padding:20px;border-radius:16px;background:#202b38;color:white}
  .mobile-cart-preview-dialog img{display:block;width:100%;max-height:65dvh;object-fit:contain}
  .mobile-cart-preview-dialog p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
}


/* MIALAND V16.7.15 — presentación comercial, carrusel táctil y hero Navidad. */
body:not(.customizer-mode):not(.admin-mode) .product-slides,
body:not(.customizer-mode):not(.admin-mode) .product-slide,
body:not(.customizer-mode):not(.admin-mode) .product-slide img {
  touch-action:pan-x pan-y pinch-zoom;
}
.ml-product-highlights{list-style:none;padding:0;margin:13px 0 16px;display:grid;gap:10px;font-size:.95rem;line-height:1.45;color:#43372e}
.ml-product-highlights li{position:relative;padding-left:23px}
.ml-product-highlights li:before{content:'✓';position:absolute;left:1px;top:0;color:#d35524;font-weight:900}
.ml-product-details{margin-top:19px;border-top:1px solid #e8d8ca;border-bottom:1px solid #e8d8ca;color:#443831}
.ml-product-details summary{cursor:pointer;list-style:none;padding:17px 30px 17px 0;font-weight:800;position:relative;line-height:1.4}
.ml-product-details summary::-webkit-details-marker{display:none}
.ml-product-details summary:after{content:'⌄';position:absolute;right:9px;top:12px;font-size:1.4rem;color:#c95736}
.ml-product-details[open] summary:after{content:'⌃'}
.ml-product-full-description{padding:0 3px 17px;font-size:.93rem;line-height:1.7;color:#665a52}
.ml-product-full-description p{margin:0 0 12px}.ml-product-full-description h3{margin:18px 0 8px;font-size:1.03rem;color:#3b2e26}
.ml-product-full-description ul{padding-left:22px;margin:6px 0 13px}.ml-product-full-description li{margin-bottom:5px}
.ml-product-instruction{font-size:.84rem;margin-top:12px}
.ml-landing .ml-hero{background:#77655c}
.ml-landing .ml-hero-copy{background:#77655c}
.ml-landing .ml-hero-media{background:#77655c}
.ml-landing .ml-hero-media:before{background:linear-gradient(90deg,#77655c 0%,transparent 25%)}
.ml-landing .ml-hero-kicker{color:#f9e3ce}
/* The original orange Mialand promo bar remains the sole launch/shipping strip. */
body:not(.customizer-mode):not(.admin-mode) .ml-promo-strip{font-size:clamp(.94rem,1.3vw,1.18rem);min-height:55px;gap:6px 24px}
@media(max-width:720px){
 .ml-landing .ml-hero{background:#77655c}
 .ml-landing .ml-hero-copy{background:#77655c}
 .ml-landing .ml-hero-media{background:#77655c}
 .ml-landing .ml-hero-media:before{display:none}
 .ml-product-highlights{gap:9px;font-size:.92rem;margin:10px 0 14px}
 .ml-product-details{margin-top:16px}
 body:not(.customizer-mode):not(.admin-mode) .ml-promo-strip{font-size:.9rem;min-height:60px}
}

/* V16.7.16 — Orden manual del catálogo (solo administración) */
.admin-sort-list{list-style:none;padding:0;margin:12px 0;display:grid;gap:7px}
.admin-sort-item{display:flex;align-items:center;gap:12px;min-height:58px;background:#15202e;border:1px solid #435369;border-radius:10px;padding:8px 12px;color:#f2f5fa;cursor:grab}
.admin-sort-item:active{cursor:grabbing}
.admin-sort-handle{font-size:21px;color:#9eb2c7;user-select:none}
.admin-sort-name{min-width:0;flex:1;font-weight:650;overflow-wrap:anywhere}
.admin-sort-name small{display:block;color:#aebfd0;font-weight:400;font-size:12px;margin-top:3px}
.admin-sort-controls{display:flex;gap:5px}
.admin-sort-controls .ghost{min-width:42px;min-height:42px;padding:6px 12px;font-size:20px}
@media(max-width:600px){.admin-sort-item{padding:8px;gap:7px}.admin-sort-controls{gap:3px}}
