/* v252: DESKTOP VIEW. Everything here is inside @media(min-width:1024px), so phones and tablets are exactly as before.
   Layout only (widths, columns, spacing, sizes); colours and themes still come from the normal stylesheets. */
@media(min-width:1024px){
  /* ----- guest home ----- */
  html body.guest-mode .wrap{max-width:1180px}
  html body.guest-mode .gx-header{max-width:1180px;height:72px;padding:0 32px;border-radius:0 0 20px 20px}
  html body.guest-mode .gx-brand img{width:42px;height:42px}
  html body.guest-mode .gx-hero{padding:68px 48px 78px;border-radius:0 0 46px 46px}
  html body.guest-mode .gx-hero h1{margin:26px 0 16px;font-size:58px;letter-spacing:-1.8px}
  html body.guest-mode .gx-hero p{max-width:640px;font-size:19px;line-height:1.65}
  html body.guest-mode .gx-hero-pill{font-size:14.5px;padding:10px 22px}
  html body.guest-mode .gx-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;align-items:start;padding:0 32px}
  html body.guest-mode .gx-body>*{min-width:0}
  html body.guest-mode .gx-body>.pp-box,html body.guest-mode .gx-body>.gx-label,html body.guest-mode .gx-body>#gxNets,
  html body.guest-mode .gx-body>#numToolsGuest,html body.guest-mode .gx-body>.gx-trust,html body.guest-mode .gx-body>.gx-foot{grid-column:1/-1}
  html body.guest-mode .gx-body>.qd-service-grid>[data-boost-slot]:empty,html body.guest-mode .gx-body>.qd-service-grid>[data-voucher-slot]:empty,
  html body.guest-mode .gx-body>.qd-service-grid>[data-mashup-slot]:empty,html body.guest-mode .gx-body>[data-agent-slot]:empty{display:none}
  html body.guest-mode .gx-body>[data-boost-top]{grid-column:1/-1}
  html body.guest-mode .gx-body>[data-boost-top]:empty{display:none}
  html body.guest-mode .gx-label{margin:38px 4px 16px;font-size:20px}
  /* networks side by side; an opened network takes the full row so its bundles have room */
  html body.guest-mode #gxNets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
  html body.guest-mode #gxNets .gx-acc{margin-bottom:0}
  html body.guest-mode #gxNets .gx-acc.open{grid-column:1/-1}
  html body.guest-mode .gx-acc-head{padding:24px 22px}
  html body.guest-mode .gx-acc-info b{font-size:21px}
  html body.guest-mode .gx-acc-info small{font-size:15px}
  html body.guest-mode .gx-acc-pad{padding:8px 22px 22px}
  /* network cards: name + bundle count + arrow (the "View Bundles" words are dropped while closed, so nothing wraps); open = "Hide" */
  html body.guest-mode .gx-acc:not(.open) .gx-acc-cta>span:first-child{display:none}
  html body.guest-mode .gx-acc.open .gx-acc-cta>span:first-child{max-width:none;white-space:nowrap}
  html body.guest-mode .gx-acc-head{gap:16px}
  html body.guest-mode .gx-bundles{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding-top:18px}
  html body.guest-mode .gx-bundle{padding:18px}
  html body.guest-mode .gx-bundle b{font-size:21px}
  html body.guest-mode .gx-bundle strong{font-size:17px}
  /* Results checkers + Agent program side by side, same height */
  html body.guest-mode .gx-body>.qd-service-grid>[data-voucher-slot]:not(:empty),html body.guest-mode .gx-body>[data-agent-slot]:not(:empty){align-self:stretch;display:flex;flex-direction:column}
  html body.guest-mode .gx-body>.qd-service-grid>[data-voucher-slot] .vc{flex:1;display:flex;flex-direction:column}
  html body.guest-mode .gx-body>.qd-service-grid>[data-voucher-slot] .vc-tcard{flex:1}
  html body.guest-mode .gx-body>[data-agent-slot]>*{flex:1}
  html body.guest-mode .vc-teaser{margin:26px 0 0}
  html body.guest-mode .ag-wrap{margin:26px 0 0}
  html body.guest-mode .gx-body>.qd-service-grid>[data-voucher-slot]:not(:empty){margin-right:0}
  html[data-cards="grid"] body.guest-mode .gx-body>.qd-service-grid{grid-column:1/-1;width:100%}
  /* trust cards in one row */
  html body.guest-mode .gx-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:34px 0 0;padding:0}
  html body.guest-mode .gx-feat{margin:0;padding:34px 26px 30px}
  html body.guest-mode .gx-feat h3{font-size:20px}
  html body.guest-mode .gx-feat p{font-size:15.5px;line-height:1.6}
  html body.guest-mode .gx-foot{margin:40px -32px 0;padding:36px 40px 22px;font-size:15.5px}
  html body.guest-mode .gx-foot .gx-about{max-width:760px;margin-left:auto;margin-right:auto}
  html body.guest-mode #numToolsGuest .nt-wrap{margin-top:0}
  /* other guest pages: comfortable reading width, centred */
  html body.guest-mode #v-offers,html body.guest-mode #v-orders,html body.guest-mode #v-track,html body.guest-mode #v-profile{padding:30px 32px 0}

  /* ----- pages with long lists: readable width, centred (guest and member) ----- */
  #v-orders,#v-track,#v-profile{max-width:880px;margin-left:auto;margin-right:auto}
  #v-vouchers{max-width:980px;margin-left:auto;margin-right:auto}
  .recent{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat-grid{gap:18px}
  .net-grid{gap:18px}

  /* ----- checkout / voucher dialogs: a little roomier where the screen is tall enough ----- */
  .co-overlay{padding:24px}
  .co-modal{max-width:500px}
}
@media(min-width:1024px) and (min-height:760px){
  html body .co-modal.co-s3m{padding:26px 30px 20px;max-height:calc(100dvh - 48px)}
  .co-s3 h2{font-size:23px}
  .co-s3 .co-sum{padding:4px 18px}
  .co-s3 .co-sum div{padding:11px 0;font-size:14px}
  .co-s3 .co-sum .total b{font-size:20px}
  .co-s3 .co-wallet-row{padding:11px 14px}
  .co-s3 .co-pay{padding:12px 14px}
  .co-s3 .co-btn{padding:15px}
  .co-s3 .co-line{padding-top:8px;font-size:13px}
  .co-s3.vc-s .co-chip{padding:12px 16px;margin-top:26px}
  .co-s3.vc-s .co-chip b{font-size:14.5px}
  .co-s3.vc-s .co-sum .vc-qrow{padding:7px 0}
  .co-s3.vc-s .vc-qty-box button{width:40px;height:38px}
  .co-s3.vc-s .co-field input{padding:12px 15px;font-size:18px}
  .co-s3.vc-s .co-sub{font-size:13px;margin-bottom:10px}
  .co-sec{font-size:12px;margin-top:12px}
  .co-tag{margin-top:12px}
}
