/* Карточка товара: верх из двух колонок одной высоты (фото + миниатюры | покупка + доставка и оплата), далее блоки подряд */
.g-prod{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px;align-items:stretch}
.g-prod-gallery.row{display:flex!important;flex-direction:column;gap:14px;margin:0!important;grid-template-columns:none}
.g-prod-gallery .product-image{order:1;flex:1;display:flex!important;width:100%!important;margin:0!important}
.g-prod-gallery .product-image .image{flex:1;height:auto!important;min-height:380px;width:100%!important}
.g-prod-gallery .product-gallery{order:2;display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:10px;margin:0!important;width:auto!important}
.g-prod-gallery .product-gallery .image{width:84px!important;height:72px!important;flex:none}
.g-buy{display:flex;flex-direction:column;gap:16px;position:static;top:auto}
.g-buy-card{padding:24px 26px}
.g-perks2{flex:1;background:#fff;border:1px solid var(--line);border-radius:24px;padding:6px 26px 14px;display:flex;flex-direction:column;justify-content:space-evenly}
.g-dr{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;align-items:start;padding:16px 0}
.g-dr+.g-dr{border-top:1px solid var(--line)}
.g-dr>i{width:44px;height:44px;border-radius:14px;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-style:normal}
.g-dr b{display:block;font-family:var(--head);font-weight:700;font-size:14.5px;margin-bottom:2px}
.g-dr span{display:block;color:var(--muted);font-size:13px;line-height:1.45}
.g-tg{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.g-tg em{font-style:normal;background:var(--soft);color:var(--navy);border-radius:8px;padding:4px 10px;font-size:12px;font-weight:600}
.g-tg2{display:grid;grid-template-columns:1fr 1fr}.g-tg2 em{text-align:center}
.g-perks2 .g-link-ext{padding-top:6px}
/* описание и характеристики друг под другом на всю ширину */
.g-prod-info{grid-template-columns:1fr!important;gap:22px;margin-top:22px}
.g-related{grid-template-columns:repeat(5,minmax(0,1fr))!important}
@media (max-width:1199px){.g-related{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:991px){
  .g-prod{grid-template-columns:1fr}
  .g-prod-gallery .product-image .image{min-height:300px}
}
@media (max-width:640px){
  .g-prod-gallery .product-gallery{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .g-prod-gallery .product-gallery .image{width:68px!important;height:60px!important}
  .g-buy-card{padding:18px}.g-perks2{padding:4px 18px 12px}
  .g-tg2{grid-template-columns:1fr 1fr}
  .g-related{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
.g-prod-gallery .product-image{flex-direction:column;align-self:stretch}
.g-prod-gallery .product-image .image{flex:1 1 auto;min-height:380px}
.g-buy-actions .favorite-icon{font-size:24px!important;--ionicon-stroke-width:36px}
.g-tg em{padding:4px 8px;font-size:11.5px}
.g-tg3{flex-wrap:nowrap}
.g-buy-actions .favorite-icon{padding:15px;box-sizing:border-box}
.g-buy-actions .favorite-icon{width:56px;height:56px;align-self:center}
.g-buy-actions .favorite-icon{box-sizing:content-box!important;width:24px!important;height:24px!important;padding:15px!important;font-size:24px!important;flex:none}
