/* Product detail composition: readable copy and in-flow official images. */
.product-hero-layout{
  grid-template-columns:minmax(0,1fr) clamp(124px,17vw,180px);
  grid-template-areas:"intro visual" "summary visual" "actions visual";
  align-items:start;gap:18px clamp(24px,4vw,56px);
}
.product-hero-copy{grid-area:intro;display:block;min-width:0}
.product-hero h2{margin-bottom:0}
.product-hero-summary{grid-area:summary;min-width:0;max-width:720px;margin:0;font-size:1rem;line-height:1.8;color:#50637e}
.product-hero-screen{grid-area:visual;position:static;align-self:center;width:100%;min-width:0;padding:0;margin:0}
.product-hero-screen img{position:static;inset:auto;width:auto;height:auto;max-width:100%;max-height:380px;object-fit:contain;display:block;margin:0 auto}
.product-hero-actions{grid-area:actions}
.product-hero .buttons .btn{white-space:normal;overflow-wrap:anywhere;text-align:center}

/* The guide is a single editorial band; the portrait never sets text line height. */
.product-body .sam-product-chapter{
  --guide-bg:#f1f5fc;--guide-line:#dce5f2;
  display:grid;grid-template-columns:minmax(0,1fr) clamp(116px,15vw,158px);
  grid-template-areas:"heading portrait" "voice portrait";
  gap:14px clamp(20px,3vw,36px);align-items:start;
  padding:clamp(20px,2.5vw,30px);margin:0 0 24px;
  background:var(--guide-bg);border:1px solid var(--guide-line);border-radius:14px;
}
.product-body .sam-product-chapter--seren{--guide-bg:#f0f7f4;--guide-line:#d9e8e1}
.product-body .sam-product-copy{display:contents}
.product-body .sam-product-copy>.section-heading{grid-area:heading;display:block;min-width:0;margin:0}
.product-body .sam-product-copy h2{font-size:clamp(24px,2.7vw,32px);line-height:1.45;margin:0;max-width:760px}
.product-body .sam-product-copy h2 br{display:none}
.product-body .sam-product-copy>.sam-voice{grid-area:voice;display:block;min-width:0;margin:0;max-width:700px}
.product-body .sam-product-copy .sam-voice p{margin:5px 0 0;font-size:1rem;line-height:1.75}
.product-body .sam-product-portrait{grid-area:portrait;position:static;align-self:center;justify-self:end;width:100%;height:clamp(156px,19vw,190px);aspect-ratio:auto;overflow:visible;margin:0}
.product-body .sam-product-portrait>.sam-art{position:static;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;margin:0;filter:none}

/* Screens remain complete and share a stable visual scale, with no bottom-push spacer. */
.product-body .sq-app-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.product-body .sq-app-grid article{display:grid;grid-template-rows:auto 1fr;gap:20px;padding:24px;min-width:0;overflow:visible}
.product-body .sq-app-copy{min-width:0}
.product-body .sq-app-copy .eyebrow{font-size:.875rem;line-height:1.65;letter-spacing:.025em;margin:0}
.product-body .sq-app-copy h3{font-size:1.25rem;line-height:1.5;margin:10px 0}
.product-body .sq-app-copy p{font-size:1rem;line-height:1.75;margin:0}
.product-body .sq-app-grid figure{margin:0;padding:0;min-width:0;align-self:start;display:flex;justify-content:center}
.product-body .sq-app-grid img,.product-body .sq-app-grid .screen-zoom img{display:block;width:auto;height:auto;max-width:100%;max-height:280px;object-fit:contain;object-position:center;margin:auto}
.product-body .sq-app-grid .screen-zoom{width:100%;min-width:0}
.product-body .sq-app-grid .screen-zoom>span{font-size:.875rem;line-height:1.5;margin-top:12px}

@media(max-width:1000px){
  .product-body .sq-app-grid{grid-template-columns:1fr;gap:16px}
  .product-body .sq-app-grid article{grid-template-columns:minmax(0,1fr) clamp(144px,25vw,210px);grid-template-rows:auto;gap:clamp(20px,4vw,36px);align-items:center;padding:24px}
  .product-body .sq-app-grid figure{align-self:center}
  .product-body .sq-app-grid img,.product-body .sq-app-grid .screen-zoom img{max-height:260px}
}
@media(max-width:760px){
  .product-hero-layout{grid-template-columns:minmax(0,1fr) clamp(88px,19vw,140px);grid-template-areas:"intro visual" "summary summary" "actions actions";gap:18px 20px}
  .product-hero-screen img{max-height:280px}
  .product-hero h1{font-size:clamp(36px,5.5vw,44px)}
  .product-hero h2{font-size:clamp(21px,3.2vw,25px);line-height:1.45}
}
@media(max-width:560px){
  .product-hero-layout{grid-template-columns:minmax(0,1fr) clamp(80px,23vw,114px);gap:16px}
  .product-hero-screen img{max-height:230px}
  .product-hero .buttons .btn{flex:1 1 190px}
  .product-body .sam-product-chapter{grid-template-columns:clamp(76px,18vw,100px) minmax(0,1fr);grid-template-areas:"heading heading" "portrait voice";gap:18px 16px;padding:20px}
  .product-body .sam-product-portrait{align-self:center;justify-self:start;height:clamp(132px,30vw,152px)}
  .product-body .sam-product-copy h2{font-size:1.5rem}
  .product-body .sam-product-copy>.sam-voice{align-self:center}
  .product-body .sq-app-grid article{grid-template-columns:minmax(0,1fr) clamp(92px,26vw,144px);grid-template-rows:auto auto auto;grid-template-areas:"eyebrow eyebrow" "title title" "description screen";gap:10px 18px;padding:20px}
  .product-body .sq-app-copy{display:contents}
  .product-body .sq-app-copy .eyebrow{grid-area:eyebrow}
  .product-body .sq-app-copy h3{grid-area:title;margin:0 0 4px}
  .product-body .sq-app-copy p{grid-area:description;align-self:center}
  .product-body .sq-app-grid figure{grid-area:screen;align-self:center}
  .product-body .sq-app-grid img,.product-body .sq-app-grid .screen-zoom img{max-height:220px}
}
@media(max-width:340px){
  .product-hero-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "visual" "summary" "actions"}
  .product-hero-screen{max-width:130px;justify-self:center}
  .product-body .sam-product-chapter{padding:16px;column-gap:12px}
  .product-body .sq-app-grid article{grid-template-columns:minmax(0,1fr);grid-template-areas:"eyebrow" "title" "description" "screen"}
}
