/* Wspolny widok dla wszystkich produktow z wariantami. */
.product-group-page .product-group-layout{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:clamp(20px,4vw,48px);align-items:start;margin:20px 0 30px}
.product-group-page .product-group-media{min-width:0}
.product-group-page .product-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.product-group-page .product-gallery a:first-child{grid-column:1/-1}
.product-group-page .product-gallery img{display:block;width:100%;height:auto;max-height:450px;object-fit:contain;border:1px solid #e0e8e2;border-radius:14px;background:white}
.product-group-page .product-group-overline{margin:0 0 8px;color:#607269;font-size:.9rem}
.product-group-page .product-group-purchase h2{font-size:1.3rem;margin:0 0 16px}
.product-group-flavors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.product-group-flavor{display:flex;align-items:center;gap:10px;position:relative;min-height:64px;padding:10px 12px;border:1px solid #d5e1d8;border-radius:13px;background:white;color:#214b39;text-decoration:none;font-weight:600;line-height:1.25;transition:border-color .15s ease,background .15s ease}
.product-group-flavor span:not(.product-group-flavor-mark){min-width:0;overflow-wrap:anywhere}
.product-group-flavor img{width:46px;height:46px;flex-shrink:0;object-fit:contain;border-radius:8px}
.product-group-flavor:hover,.product-group-flavor:focus-visible{border-color:#2c8057;background:#f4faf5}
.product-group-flavor.is-selected{border:2px solid #24784e;background:#eaf6ed;padding:9px 11px}
.product-group-flavor-mark{margin-left:auto;font-weight:800;color:#1f7845}
.product-group-selected{margin-top:20px;padding:18px;border:1px solid #d5e1d8;border-radius:16px;background:#f8faf8}
.product-group-selected>p:first-child{margin:0 0 12px}
.product-group-price{font-size:1.7rem;font-weight:800;color:#20553b}
.product-group-stock{margin:12px 0}
.product-group-identifiers{font-size:.83rem;color:#596b62;overflow-wrap:anywhere}
.product-group-selected .quantity-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 0}
.product-group-selected .quantity-form input{width:72px;max-width:100px}
.product-group-selected .quantity-form button{min-height:44px}
.product-group-page>.checkout-card{margin:12px 0;padding:15px 18px}
@media(max-width:760px){.product-group-page .product-group-layout{grid-template-columns:1fr;gap:20px}.product-group-flavors{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:390px){.product-group-flavor{padding:8px;font-size:.88rem}.product-group-flavor.is-selected{padding:7px}.product-group-flavor img{width:34px;height:34px}.product-group-selected{padding:14px}}

/* Layout shared with single-variant products and mobile cards. */
.product-group-page .product-group-layout{margin-top:18px}
.product-group-page .product-group-purchase{min-width:0}
.product-group-page .product-group-selected{margin-top:0}
.product-group-page .product-group-flavors + .product-group-selected{margin-top:18px}
.product-group-page .product-group-media .product-gallery a{min-width:0}
.product-group-page .product-group-selected .quantity-form{align-items:center}
@media(max-width:390px){.product-group-page .product-group-flavors{grid-template-columns:1fr}}
