/* Marcou Casou v0.2.6 - correções prioritárias de UX responsivo */
html,body{max-width:100%;overflow-x:clip}*,*::before,*::after{box-sizing:border-box}img,video,iframe{max-width:100%} .wedding,.shop,.mc-gallery-section,.shop-layout,.shop-main,.shop-side,.editor-shell,.editor-stage,.dashmain,.panel,.mc-hero,.mc-section{min-width:0;max-width:100%}
.mc-gallery-manager{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;margin:16px 0 22px!important}
.mc-photo-tile{background:#fff;border:1px solid #e6d5e1;border-radius:12px;overflow:hidden;min-width:0;box-shadow:0 4px 12px #714f7014;cursor:grab}
.mc-photo-image{height:110px;position:relative;background:#f5edf4}.mc-gallery-manager .mc-photo-image img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}.mc-photo-number{position:absolute;left:6px;top:6px;background:#fff;color:#754269;border-radius:7px;padding:2px 7px;font-size:11px;font-weight:700}.mc-photo-actions{display:flex;gap:3px;align-items:center;justify-content:space-between;padding:7px 4px;flex-wrap:wrap}.mc-photo-actions button{position:static!important;background:#f5eaf3!important;color:#714166!important;border:0!important;border-radius:7px!important;font-size:12px!important;padding:7px!important;min-height:35px;flex:1 0 auto}.mc-photo-actions button:disabled{opacity:.35}.mc-photo-help{font-size:12px;color:#715d70;line-height:1.5}.edit-side textarea[data-field="story"]{min-height:180px;resize:vertical}.edit-side label{line-height:1.5}
@media (min-width:1100px){.editor-shell{grid-template-columns:minmax(345px,390px) minmax(0,1fr) 225px!important}.edit-side{padding:22px!important}}
@media (max-width:760px){
html,body{width:100%;overflow-x:clip!important}.topbar{width:100%!important;min-width:0!important;padding:10px 14px!important;gap:8px!important}.logolink{display:flex;justify-content:center;flex:1 1 100%}.topbar .logolink img{height:53px!important;width:auto!important;max-width:70vw}.topbar nav{width:100%;justify-content:flex-start;overflow-x:auto!important;overscroll-behavior-x:contain;gap:5px!important;-webkit-overflow-scrolling:touch}.topbar nav a{font-size:12px!important;padding:8px 9px!important;flex:0 0 auto;white-space:nowrap}
.shop-layout{display:block!important;max-width:100%;padding:12px 12px 70px!important}.shop-side{width:100%!important;margin:0 0 15px!important;border:0!important;background:#faf4f9;border-radius:14px;padding:12px!important;overflow:hidden!important}.shop-side #giftSearch{width:100%!important;min-width:0!important;margin:0 0 10px!important}.shop-side #giftCategories{display:flex!important;width:100%!important;max-width:100%;flex-wrap:nowrap!important;gap:7px;overflow-x:auto!important;overflow-y:hidden!important;padding:3px 0 8px!important;-webkit-overflow-scrolling:touch}.shop-side #giftCategories button{display:inline-flex!important;flex:0 0 auto!important;white-space:nowrap!important;padding:10px 13px!important;width:auto!important;min-width:max-content!important;margin:0!important;line-height:1.2!important;border-radius:999px!important}.shop-main{width:100%!important;margin:0!important;min-width:0}.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.product{min-width:0!important}.product-photo{height:auto!important;aspect-ratio:4/3!important}.product-photo img{width:100%!important;height:100%!important;object-fit:cover}.product-body{padding:9px!important}.shop-heading{max-width:100%;overflow:hidden}.shop-heading h2{font-size:clamp(25px,7vw,36px)!important}.shop-title{align-items:flex-start!important;flex-wrap:wrap!important}.shop-title select{max-width:100%;width:auto!important}.cart-panel{width:min(100vw,430px)!important}.cart-toggle{bottom:22px!important;right:13px!important}.pwa-install{max-width:calc(100vw - 22px)!important;left:11px!important;right:11px!important;bottom:7px!important}.pwa-install button,.pwa-install a{max-width:100%}
.editor-shell{display:flex!important;flex-direction:column!important;width:100%!important;height:auto!important;overflow:visible!important}.edit-side{width:100%!important;max-height:none!important;overflow:visible!important;padding:16px!important}.edit-right{display:none!important}.edit-side textarea[data-field="story"]{height:190px!important;min-height:190px!important}.edit-side label{font-size:14px!important}.edit-side input,.edit-side textarea,.edit-side select{width:100%!important;max-width:100%!important;min-width:0!important;font-size:16px!important;min-height:47px}.mc-gallery-manager{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.mc-photo-image{height:95px!important}.mc-photo-actions{gap:2px!important}.mc-photo-actions button{min-height:35px!important;padding:5px!important;font-size:11px!important}.editor-stage{width:100%!important;min-width:0!important;max-width:100%!important;padding:8px!important;overflow:hidden!important;min-height:0!important}.editor-stage #previewFrame{width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;box-shadow:none!important}.editor-stage #previewFrame .wedding{max-width:100%!important}.editbar{height:auto!important;padding:12px!important;flex-wrap:wrap!important;gap:8px!important}.editbar .actions{width:100%;justify-content:center;gap:5px!important}.editbar .actions button{min-height:40px}.editbar>span{max-width:50%}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}.gallery img{height:125px!important}.wedhero{min-height:320px!important}.wedhero h1{font-size:clamp(29px,8vw,44px)!important}.wedsection{padding:32px 15px!important}.wedcols{grid-template-columns:1fr!important}.wedbar{gap:10px;font-size:13px}.gm-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.gm-card{min-width:0!important}
}
@media(max-width:380px){.mc-gallery-manager{grid-template-columns:repeat(2,minmax(0,1fr))!important}.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.product-body h4{font-size:12px!important}}
