.product-gallery { padding-block: clamp(28px,4.8vw,60px); }
.product-gallery > .wrap { border-top: 1px solid var(--line); padding-top: 28px; }
.product-gallery h2 { font-size: clamp(29px,3.5vw,52px); max-width: 26ch; }
.product-gallery p { margin-top: 12px; max-width: 64ch; }
.product-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: start; margin-top: 24px; }
.product-gallery-grid figure, .storefront-example figure { margin: 0; min-width: 0; }
.product-gallery-image { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #eeeee8; }
.product-gallery-image img { display: block; width: 100%; height: auto; }
.product-gallery-grid .gallery-phone .product-gallery-image { max-width: 240px; }
.product-gallery-grid figcaption, .storefront-example figcaption { margin-top: 9px; font-weight: 600; font-size: 14px; }
.product-gallery a:not(.product-gallery-image), .team-link-row a { color: #285341; text-underline-offset: 4px; }
.product-gallery-footer { margin-top: 20px; }
.product-gallery-footer a { font-weight: 600; }
.storefront-example { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 24px; margin-top: 24px; align-items: start; }
.storefront-links, .team-link-row { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 20px; }
.storefront-links a, .team-link-row a { font-weight: 600; }
.team-product-hero { padding-block: clamp(44px,7vw,99px) 38px; }
.team-product-hero h1 { max-width: 16ch; }
.team-product-hero > p { max-width: 61ch; margin-top: 18px; }
.team-product-hero .team-link-row { margin-top: 24px; }
.team-product-main .product-tool-grid { grid-template-columns: 1fr; row-gap: 32px; }
.team-product-main .product-tool-grid article {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,320px);
  column-gap: 30px;
  border-left: 0;
  padding-inline: 0;
}
.team-product-main .product-tool-grid article > :not(figure, .product-capture) { grid-column: 1; }
.team-product-main .product-tool-grid article > :is(figure, .product-capture) {
  grid-column: 2;
  grid-row: 1 / span 5;
  margin-top: 0;
}
.team-product-main .product-tool-grid ul { margin: 12px 0 0; padding-left: 1.3em; color: var(--muted); }
.team-product-main .product-tool-grid li + li { margin-top: 6px; }
@media(max-width: 760px) {
  .product-gallery-grid, .storefront-example { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-gallery-grid { gap: 20px 12px; }
}
@media(max-width: 520px) {
  .product-gallery-grid:not(.all-phones), .storefront-example { grid-template-columns: minmax(0,1fr); }
  .team-product-main .product-tool-grid article { display: block; }
  .team-product-main .product-tool-grid article > :is(figure, .product-capture) { margin-top: 16px; }
}
.product-gallery-grid.all-phones {
  grid-template-columns: repeat(3,minmax(0,240px));
  gap: 24px;
}
#primery-menyu .gallery-phone .product-gallery-image { max-width: 176px; }
@media(max-width: 590px) {
  .product-gallery-grid.all-phones { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 12px; }
}
