/* NAVISAN 49.4: mobile catalog and saved backsplashes. Desktop rules stay native. */
.nv494-backsplash-cards{display:none}
@media(max-width:980px){
 html:root body #catalog31-app{min-width:0;max-width:100%}
 html:root body #catalog31-app .dc-tabs{display:flex;flex-wrap:nowrap;max-width:100%;overflow-x:auto;gap:6px;margin:12px 0;padding:2px 2px 6px;overscroll-behavior-x:contain}
 html:root body #catalog31-app .dc-tabs button{flex:none;white-space:nowrap!important}
 html:root body #catalog31-app .design-search{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
 html:root body #catalog31-app .design-search :is(input,select){box-sizing:border-box;width:100%;min-width:0;max-width:100%;font-size:16px;padding:9px;border:1px solid #E2E3E6;border-radius:10px;background:#FFFFFF;color:#000000}
 html:root body #catalog31-app button:not(.dc-main-image):not(.dc-cart-preview){box-sizing:border-box;min-width:0;max-width:100%;min-height:44px!important;height:auto!important;padding:8px!important;font-size:12px!important;font-weight:400!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.3!important;background:#FFFFFF!important;color:#000000!important;border:1px solid #8E1A6E!important;border-radius:10px!important;box-shadow:none!important}
 html:root body #catalog31-app button:not(.dc-main-image):not(.dc-cart-preview):hover{background:#E2E3E6!important}
 html:root body #catalog31-app button:focus-visible{outline:2px solid #8E1A6E;outline-offset:2px}
 html:root body #catalog31-app :is(.dc-tabs,.dc-variants) :is(button.active,button[aria-pressed=true]){background:#E2E3E6!important}
 html:root body #catalog31-app .dc-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0;align-items:start}
 html:root body #catalog31-app .dc-card{display:flex;flex-direction:column;min-width:0;height:auto;padding:0;overflow:hidden;background:#FFFFFF;border-color:#E2E3E6;border-radius:12px}
 /* An image button must not inherit the fixed height of regular action buttons. */
 html:root body #catalog31-app .dc-card .dc-main-image{position:relative;display:block;box-sizing:border-box;flex:none;width:100%;height:clamp(140px,42vw,250px)!important;min-height:0!important;max-height:none!important;margin:0!important;padding:6px!important;border:0!important;border-radius:0!important;background:#FFFFFF!important;overflow:hidden}
 html:root body #catalog31-app .dc-card .dc-main-image img{position:static;display:block;width:100%;height:100%;max-width:100%;object-fit:contain;transform:none;inset:auto}
 html:root body #catalog31-app .dc-card-body{display:flex;flex-direction:column;position:static;min-width:0;padding:10px;gap:5px;color:#000000}
 html:root body #catalog31-app .dc-card-body h2{font-size:14px;line-height:1.3;margin:0;overflow-wrap:anywhere}
 html:root body #catalog31-app .dc-card-body p{font-size:11px;line-height:1.4;margin:0;overflow-wrap:anywhere;color:#62646b}
 html:root body #catalog31-app .dc-card .bs-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:5px}
 html:root body #catalog31-app .dc-card .bs-actions button{width:100%;padding:7px 4px!important}
 html:root body #catalog31-app .dc-variants{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 html:root body #catalog31-app .dc-card .dc-variants button{display:flex!important;flex-direction:column;gap:4px!important;height:auto!important;min-height:95px!important;padding:4px!important}
 html:root body #catalog31-app .dc-variants img{display:block;width:100%;height:54px;object-fit:contain;flex:none}
 html:root body #catalog31-app .dc-variants span{font-size:11px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;min-width:0}
 html:root body #catalog31-app .dc-dialog{box-sizing:border-box;width:calc(100vw - 24px);max-width:600px;max-height:calc(100dvh - 24px);overflow:auto;padding:14px;border-radius:12px;color:#000000}
 html:root body #catalog31-app .dc-dialog-head{gap:8px;min-width:0}
 html:root body #catalog31-app .dc-dialog-head h2{font-size:16px;line-height:1.35;min-width:0;overflow-wrap:anywhere}
 html:root body #catalog31-app .dc-dialog .dc-dialog-head button{flex:none;width:44px;height:44px!important;font-size:22px!important}
 html:root body #catalog31-app .dc-modal-layout{display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px}
 html:root body #catalog31-app .dc-modal-layout>div{min-width:0}
 html:root body #catalog31-app .dc-modal-layout>div:last-child{order:-1}
 html:root body #catalog31-app .dc-dialog .bs-canvas{display:block;width:100%;height:clamp(150px,30dvh,260px);object-fit:contain}
 html:root body #catalog31-app .dc-modal-layout [data-action=png]{width:100%}
 html:root body #catalog31-app .dc-fields{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;gap:8px}
 html:root body #catalog31-app .dc-fields label{min-width:0;font-size:13px;overflow-wrap:anywhere}
 html:root body #catalog31-app :is(.dc-fields,.dc-modal-layout) :is(input:not([type=checkbox]),select){min-width:0;max-width:100%}
 html:root body #catalog31-app .dc-cart{min-width:0;padding:12px;margin:16px 0}
 html:root body #catalog31-app .dc-cart h2{font-size:18px;margin-top:0}
 html:root body #catalog31-app .dc-cart-row{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;padding:12px 0;font-size:13px}
 html:root body #catalog31-app .dc-cart-row>div{min-width:0;overflow-wrap:anywhere}
 html:root body #catalog31-app .dc-cart-preview{display:block;box-sizing:border-box;width:64px;min-height:0!important;height:96px!important;padding:4px!important;overflow:hidden;background:#FFFFFF!important;border:1px solid #E2E3E6!important;border-radius:8px!important}
 html:root body #catalog31-app .dc-cart-preview img{display:block;width:100%;height:100%;object-fit:contain}
 html:root body #catalog31-app .dc-cart>.bs-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 html:root body.partner-ui33 .nv494-backsplash-drafts{min-width:0;max-width:100%}
 html:root body.partner-ui33 .nv494-backsplash-cards{display:block}
 html:root body.partner-ui33 .nv494-backsplash-drafts>h1{font-size:22px;line-height:1.3;margin:12px 0}
 html:root body.partner-ui33 .nv494-backsplash-drafts>p{display:flex;flex-wrap:wrap;gap:8px}
 html:root body.partner-ui33 .nv494-backsplash-drafts .nv49-draft-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;min-width:0}
 html:root body.partner-ui33 .nv494-backsplash-drafts .nv49-draft-row>b{min-width:0;font-size:15px;overflow-wrap:anywhere;color:#000000}
 html:root body.partner-ui33 .nv494-backsplash-drafts .nv49-draft-row>.button{min-height:44px!important;height:auto!important;font-size:13px!important;padding:9px!important;white-space:normal}
 html:root body.partner-ui33 .nv494-backsplash-drafts .nv49-draft-card{box-sizing:border-box;min-width:0}
 html:root body.partner-ui33 .nv494-backsplash-drafts .nv49-popover{min-width:min(220px,calc(100vw - 48px));max-width:calc(100vw - 48px)}
}
@media(max-width:420px){
 html:root body #catalog31-app .dc-cart>.dc-fields{grid-template-columns:minmax(0,1fr)}
}
