/* Xemry 3.9.31: purchase layout invariant after delayed third-party page scripts.
   This stylesheet replaces 3.9.30 styling without touching the working 3.9.28 seat cards. */
body.xm-product-responsive form.cart .woocommerce-variation-add-to-cart:has(> .xm-purchase-layout-3931),
body.xm-product-responsive form.cart:not(.variations_form):has(> .xm-purchase-layout-3931) {
 display:flex!important; flex-direction:column!important; align-items:stretch!important;
 width:100%!important; min-width:0!important; max-width:100%!important; gap:10px!important;
}
body.xm-product-responsive form.cart .xm-purchase-layout-3931,
body.xm-product-responsive form.cart .xm-purchase-layout-3931 .xm-purchase-buy-row{
 display:flex!important; flex-direction:column!important; gap:10px!important;
 flex:0 0 auto!important; grid-column:1/-1!important; grid-row:auto!important;
 margin:0!important; padding:0!important; width:100%!important; min-width:0!important; max-width:100%!important;
}
body.xm-product-responsive form.cart .xm-purchase-layout-3931 .xm-purchase-first-row {
 display:grid!important; grid-template-columns:minmax(92px,104px) minmax(0,1fr)!important;
 grid-template-rows:56px!important; gap:10px!important; align-items:stretch!important;
 width:100%!important; max-width:100%!important; min-width:0!important;
 margin:0!important; padding:0!important;
}
body.xm-product-responsive form.cart .xm-purchase-layout-3931 .xm-purchase-first-row > .quantity:not(.hidden){
 grid-column:1!important; grid-row:1!important; width:100%!important;
 height:56px!important; min-height:56px!important; max-height:56px!important;
}
body.xm-product-responsive form.cart .xm-purchase-layout-3931 .xm-purchase-first-row > .xm-3931-cart-btn{
 grid-column:2!important; grid-row:1!important; display:flex!important;
 align-items:center!important; justify-content:center!important;
 width:100%!important; min-width:0!important; height:56px!important;
 background:#911539!important; color:#fff!important; border-radius:12px!important;
}
body.xm-product-responsive form.cart .xm-purchase-layout-3931 .xm-purchase-buy-row > .xm-3931-buy-btn{
 display:flex!important; align-items:center!important; justify-content:center!important;
 width:100%!important; min-width:0!important; height:56px!important;
 background:linear-gradient(105deg,#ffdfa9,#efba75)!important; color:#67303b!important;
 border-radius:12px!important;
}
body.xm-product-responsive form.cart .xm-purchase-layout-3931 + :is(.xm-purchase-assurances-slot,.xm-purchase-assurances) {
 width:100%!important; max-width:100%!important; min-width:0!important;
 grid-column:1/-1!important; grid-row:auto!important;
 margin:4px 0 0!important;
}
body.xm-product-responsive [data-xm-hide-card-badge="1"]{display:none!important;}
@media(max-width:359px){
 body.xm-product-responsive form.cart .xm-purchase-layout-3931 .xm-purchase-first-row{
 grid-template-columns:92px minmax(0,1fr)!important; gap:8px!important;}
}
