/* PrintPazo — wide storefront pass (2026-11-17, owner: "I'm talking about the wide").
   Loaded by storefront pages only — editor.html (the Studio) does NOT load it.
   Every rule sits inside a min-width media query, so at phone widths
   (<=760px) rendering is exactly the approved layout. Wider screens grow the
   content column to a 1220px storefront cap and the space is used: more grid
   columns, a two-column configurator, cart items + summary side by side,
   while long text keeps a readable measure inside the wide frame. */

@media (min-width:761px){
  .wrap{max-width:1220px}

  /* hero / header furniture stretches with the column, text stays readable */
  .hero h1{max-width:820px}
  .hero p{max-width:68ch}
  .hero .search{max-width:820px}

  /* panels: long copy keeps a reading measure inside the wide frame */
  .panel p,.panel li{max-width:78ch}
  .policy .panel p,.policy .panel ul{max-width:78ch}

  /* footer uses the full frame instead of stacking in a narrow column */
  .foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:14px 34px;align-items:start}
  .foot-grid section{min-width:0}

  /* product pages (v2): tab bar and family chips sized for the wide frame */
  body .v2 .tabbar{max-width:720px}
  body .v2 .fam-row{flex-wrap:wrap;overflow-x:visible}

  /* configurator: options flow in two columns; price + actions span full */
  body .v2 .v2config{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;align-items:start}
  body .v2 .v2config > h2,
  body .v2 .v2config > .pricepanel,
  body .v2 .v2config > .readyline,
  body .v2 .v2config > .readysub,
  body .v2 .v2config > .estimate-note,
  body .v2 .v2config > .studio-link,
  body .v2 .v2config > #gate,
  body .v2 .v2config > .studio-attach,
  body .v2 .v2config > .ci-warn,
  body .v2 .v2config > .btn-cart,
  body .v2 .v2config > .cart-note,
  body .v2 .v2config > .btn-save,
  body .v2 .v2config > .save-note{grid-column:1 / -1}
  body .v2 .v2config > .field{margin-bottom:0}

  /* details tab: readable text measure, spec table and template stay tidy */
  body .v2 .details p{max-width:78ch}
  body .v2 .details .spectable{max-width:980px}
  body .v2 .details .tpl{max-width:560px}
}

@media (min-width:900px){
  body .v2 h1{font-size:36px}
  body .v2 .benefits{display:grid;grid-template-columns:1fr 1fr;column-gap:30px}
}

@media (min-width:1000px){
  /* category grids gain a fourth column */
  .grid{grid-template-columns:repeat(4,1fr)}

  /* cart: items on the left, totals + checkout on the right */
  .panel:has(> #cartList){display:grid;grid-template-columns:minmax(0,1.5fr) minmax(330px,.9fr);gap:6px 30px;align-items:start}
  .panel:has(> #cartList) > .matchstrip{grid-column:1 / -1}
  #cartFoot{align-self:start}

  /* readable-measure content pages (about / how ordering works / design)
     widen their frame; the text itself stays capped by the rules above */
  .wrap[style*="max-width:820px"]{max-width:1040px !important}
}

@media (min-width:1260px){
  /* product order bar + legacy sticky bar align to the 1220px frame */
  body .orderbar{padding-left:calc((100vw - 1220px)/2 + 20px);padding-right:calc((100vw - 1220px)/2 + 20px)}
  body .stickybar{padding-left:calc((100vw - 1220px)/2 + 20px);padding-right:calc((100vw - 1220px)/2 + 20px)}
}
