/* Match DOM reading order to mobile visual order. Scope is the three approved vendor pages. */
@media(max-width:768px){
 body.dokan-store .dokan-store-wrap{display:flex!important;flex-direction:column!important;gap:20px;}
 body.dokan-store .dokan-store-wrap>#dokan-primary{order:0;width:100%!important;min-width:0;float:none!important;}
 body.dokan-store .dokan-store-wrap>.dokan-store-sidebar{order:1;width:100%!important;float:none!important;}
 .rtwpvs-terms-wrapper{display:flex;flex-wrap:wrap;gap:8px;}
 .rtwpvs-terms-wrapper .rtwpvs-term{min-height:44px;min-width:44px;height:auto;white-space:normal;}
 .menu-bar.menu-toggle,.ovic-menu-close-btn{min-width:44px;min-height:44px;}
}
.rtwpvs-term[role=radio]:focus-visible,.menu-bar.menu-toggle:focus-visible,.ovic-menu-close-btn:focus-visible{outline:3px solid #246b24;outline-offset:3px;}

/* 2026-10-28: plugin/theme selectors override the earlier touch minimum. */
@media(max-width:768px){
 body.single-product .rtwpvs-terms-wrapper .rtwpvs-term[role=radio],
 body.single-product .single_add_to_cart_button,
 body.single-product .quantity input.qty{min-height:44px!important;}
}

@media(max-width:768px){body.dokan-store .mode-button{min-width:44px!important;min-height:44px!important;}}

/* Selected button swatches must retain a readable label under the theme's dark background. */
.rtwpvs-terms-wrapper .rtwpvs-term.rtwpvs-button-term[role=radio][aria-checked=true]{background-color:#222!important;color:#fff!important;}
.rtwpvs-terms-wrapper .rtwpvs-term.rtwpvs-button-term[role=radio][aria-checked=true] span{color:#fff!important;}
