/* ===== MaisonPlus — MOBILE-ONLY overrides (loaded LAST to win the cascade) ===== */
@media(max-width:600px){
  /* consistent side spacing everywhere */
  .wrap{padding-left:20px;padding-right:20px}

  /* tabs everywhere: one scrollable row, never wrap or crop */
  .tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:0}
  .tabs::-webkit-scrollbar{display:none}
  .tab{flex:0 0 auto;white-space:nowrap;margin-right:22px}
  .tab:last-child{margin-right:0}

  /* swipers: cards align flush with section headings (20px), comfy peek */
  .swiper-rail{padding-left:0;padding-right:0;gap:14px}
  .swiper-rail>.pcard{flex-basis:80%}
  .flash2-railwrap{padding:18px 14px}
  .flash2-railwrap .swiper-rail>.pcard{flex-basis:74%}

  /* section heading + link never overflow */
  .sec-head{flex-wrap:wrap;gap:4px 14px;margin-bottom:18px}
  .sec-head h2{font-size:24px}
  .sec-link{font-size:13px}

  /* tighter, even vertical rhythm */
  .section{padding-top:36px;padding-bottom:36px}
  .section-tight{padding-top:24px;padding-bottom:24px}

  /* listing toolbar: stacked, sort on its own row */
  .toolbar{flex-direction:column;align-items:stretch;gap:12px;padding:14px}
  .toolbar>div{width:100%}
  .toolbar>div:first-child{display:flex;justify-content:space-between;align-items:center}
  .toolbar>div:last-child{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
  .toolbar>div:last-child>label{flex:1 1 100%;display:flex;align-items:center;gap:8px;min-width:0}
  .toolbar>div:last-child>label .inp{flex:1;min-width:0;width:auto}
  .toolbar-views,.cmp-btn{flex-shrink:0}
  .cmp-btn{padding:9px 12px}

  /* category tiles + rooms: comfy single/duo */
  .cat-grid{gap:12px}
  .room-grid{gap:12px}

  /* footer features: clean 2x2 grid */
  .ftr-features .wrap{display:grid;grid-template-columns:1fr 1fr;gap:18px 14px;padding:22px 20px;justify-content:initial}
  .ftr-feat{min-width:0}

  /* trust strip even spacing */
  .trust{padding:22px 0;gap:16px}
}
@media(max-width:380px){
  .swiper-rail>.pcard{flex-basis:86%}
}

/* PDP: icon-only add-to-cart, nowrap savings badge, newsletter fit */
.pdp-save{white-space:nowrap}
@media(max-width:600px){
  .pdp-addbtn-label{display:none}
  .pdp-save{font-size:11.5px!important;padding:6px 9px!important}
  .ftr-news{width:100%}
  .ftr-news input{min-width:0}
  .ftr-news .btn{flex-shrink:0}
}
