/* stock-first: reports/design/2026-11-26_mehanika-originala-katalog-i-tovar.md
   MR 29.11.2026 (David «да», cmsg_01WYRHmVarZKKK1ppxWdPA2gLq5d7txoA38LWgaYUEPvfY): product page — all photos at once, sticky right column.
   Образец markrydenusa.com (замер 26.11): 2 колонки квадратов с зазором 3 px, правая колонка 480 px прилипает; на телефоне листание с «1 / N». */
.mr-pg-on>.main-photo,.mr-pg-on>.thumbnails,.gallery:has(>.mr-pg)>.main-photo,.gallery:has(>.mr-pg)>.thumbnails{display:none}
.mr-pg-on,.gallery:has(>.mr-pg){display:flex;flex-direction:column;position:relative}
.mr-pg{order:1;display:grid;grid-template-columns:1fr 1fr;gap:3px}
.mr-pg-on>.gv-product-region,.gallery:has(>.mr-pg)>.gv-product-region{order:2;margin-top:12px}
.mr-pg-count{display:none}
.mr-pg-i[hidden]{display:none}
.mr-pg-i{position:relative;display:block;aspect-ratio:1;width:100%;margin:0;padding:0;border:0;background:var(--pale,#f4f4f4);cursor:zoom-in;overflow:hidden}
.mr-pg-i img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.mr-pg-i:focus-visible{outline:2px solid #171717;outline-offset:-2px}
.mr-pg-v{cursor:pointer;background:#171717}
.mr-pg-v img{object-fit:cover;mix-blend-mode:normal;opacity:.85}
.mr-pg-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:12px 22px;border-radius:999px;background:#fff;color:#171717;font-size:15px;font-weight:600;white-space:nowrap}
/* Computer: wide gallery, info column 480 px that stays on screen while the photos scroll */
@media (min-width:1101px){
  .product-detail.mr-pg-page,.product-detail:has(.mr-pg){grid-template-columns:minmax(0,1fr) 480px;gap:50px;align-items:start}
}
@media (min-width:761px){
  .product-detail.mr-pg-page>.product-info,.product-detail:has(.mr-pg)>.product-info{position:sticky;top:var(--mr-pg-top,110px);align-self:start}
}
/* Phone: one square photo across the screen, swipe, counter «1 / N» */
@media (max-width:760px){
  .mr-pg{display:flex;gap:0;margin-inline:-20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .mr-pg::-webkit-scrollbar{display:none}
  .mr-pg-i{flex:0 0 100%;scroll-snap-align:start}
  .mr-pg-count{display:block;order:1;position:absolute;right:0;top:12px;margin:0;padding:3px 10px;border-radius:999px;background:rgba(255,255,255,.9);font-size:13px;line-height:20px;color:#171717;font-variant-numeric:tabular-nums;pointer-events:none}
}
@media (prefers-reduced-motion:reduce){.mr-pg{scroll-behavior:auto}}

/* MR 29.11.2026 (review 22:56, coordinator: «Купить» back on the first 375×812 screen; market plate under the button).
   Phone only: tighter gaps above the button; «Успеем доставить…» (p.mr-ny-ship) is shown right under the buy row via flex order,
   DOM order unchanged (item.php not touched). Rollback: previous pdp-grid.css. */
@media (max-width:760px){
.mr-pg-page.product-detail{row-gap:16px}
.mr-pg-page .product-info{display:flex;flex-direction:column}
.mr-pg-page .product-info>*{order:3}
.mr-pg-page .product-info>h1,.mr-pg-page .product-info>.bp-h1-sub,.mr-pg-page .product-info>.g-pdp-price,.mr-pg-page .product-info>.g-stock-unknown{order:0}
.mr-pg-page .product-info>.g-pdp-buy{order:1}
.mr-pg-page .product-info>.mr-ny-ship{order:2;margin-top:4px;margin-bottom:16px}
.mr-pg-page .product-info>h1{margin-bottom:8px}
.mr-pg-page .product-info>.bp-h1-sub{margin-bottom:12px}
.mr-pg-page .product-info>.g-pdp-price{margin-bottom:8px}
.mr-pg-page .product-info>.g-stock-unknown{align-self:flex-start;padding:6px 12px;margin-bottom:14px}
}

/* MR 29.11.2026 (review item 4, coordinator: on 2360 px the US site shows photos edge to edge): from 1441 px the product block is no
   longer capped at 1440 px — same 36 px side gutters as at 1440, the photo grid takes the rest, the 480 px info column stays. */
@media (min-width:1441px){.mr-pg-page.product-detail{width:auto;max-width:none;margin-left:36px;margin-right:36px}}

/* 29.11 MR: caption of the video tile (row 'caption' of mr_pdp_media.php). */
.mr-pg-cap{position:absolute;left:12px;right:12px;bottom:12px;padding:8px 12px;background:rgba(255,255,255,.92);color:#171717;font-size:13px;line-height:1.35;text-align:center}

/* MR 30.11.2026 (David «реализуй эти конверсионные приемы, …», cmsg_01WYRHmVarZKKK1ppxWdPA2gQR3PrMmvgraDzEutBWnsL5; board g_des4;
   revisor's comparison with the US card, measured 30.11: heading 33.6 px, price 20 px there, 43 px and 32 px here):
   heading no larger than 34 px, price 24 px (22 px on a phone; the phone heading was 32 px already), the article line 15 px on a computer. Font family unchanged.
   Rollback: remove this block. */
@media (min-width:761px){
.mr-pg-page .product-info>h1,.product-detail:has(.mr-pg)>.product-info>h1{font-size:34px;line-height:1.12;letter-spacing:-.02em}
.mr-pg-page .product-info>h1 .mr-h1-func,.product-detail:has(.mr-pg)>.product-info>h1 .mr-h1-func{font-size:20px}
.mr-pg-page .product-info>.bp-h1-sub,.product-detail:has(.mr-pg)>.product-info>.bp-h1-sub{font-size:15px;line-height:22px;margin-bottom:18px}
}
.mr-pg-page .product-info>.g-pdp-price,.product-detail:has(.mr-pg)>.product-info>.g-pdp-price{font-size:24px;line-height:30px}
@media (max-width:760px){
.mr-pg-page .product-info>.g-pdp-price,.product-detail:has(.mr-pg)>.product-info>.g-pdp-price{font-size:22px;line-height:28px}
}

/* MR 30.11.2026 (same message of David, board g_des4; on the US card the video is a player inside the photo grid):
   a tap on the video tile plays the video in the tile itself (pdp-grid.js), not in the player under the photos. */
.mr-pg-vp{cursor:default;background:#000}
.mr-pg-vp video{display:block;width:100%;height:100%;object-fit:contain;background:#000}
.mr-pg-vp .mr-pg-cap{top:12px;bottom:auto}
@media (max-width:760px){.mr-pg-vp .mr-pg-cap{left:32px;right:88px}}
