/* Mobil: nákup na produktu výš, nižší formulář pokladny, loga dopravců (Martin, 4. 11. 2026).
   PRODUKT do 640 px: štítky zón, znamení a účinků až pod nákupem (zůstávají v HTML), cena, varianta a tlačítko
   o 240 px výš. Bestseller nad názvem pryč, stejný štítek je na fotce; sleva, Novinka a Jedinečný kus zůstávají.
   POKLADNA do 980 px: formulář 1 310 → cca 700 px: jméno + příjmení a město + PSČ vedle sebe (ostatní pole v jednom
   sloupci), pole 46 px, poznámka pod tlačítkem (js: mk-pokladna-poznamka.js, bez JS zůstane otevřená).
   Mřížka je výš než flex z 34-pokladna-firma-v3.css; pořadí polí (order) platí i v gridu, width 100 % !important kvůli Divi.
   Testováno 360–1366 px včetně 780/980/981. Změna = nový soubor (min kopie Rocketu). */

/* ── Produkt ── */
@media (max-width:640px){
	body .product-info{display:flex;flex-direction:column;}
	body .product-info > *{order:5;}
	body .product-info > .product-badges,
	body .product-info > h1,
	body .product-info > .subtitle,
	body .product-info > .rating-line{order:1;}
	body .product-info > .price-row{order:2;}
	body .product-info > .mk-cart{order:3;}
	body .product-info > .trust{order:4;}
	body .product-info > .product-badges .p-badge.best{display:none;}
	body .product-info > .product-badges:has(> .p-badge.best:only-child){display:none;}
}

/* ── Pokladna: loga dopravců (skládá includes/checkout.php), jen do 980 px ── */
.mk-logo{display:none;}
@media (max-width:980px){
	body.woocommerce-checkout #order_review ul#shipping_method li label{justify-content:flex-start;gap:8px;align-items:center;}
	body.woocommerce-checkout #order_review ul#shipping_method li label .mk-dop-n{flex:1;}
	body.woocommerce-checkout #order_review ul#shipping_method li label .mk-logo{display:flex;flex:0 0 34px;height:18px;align-items:center;justify-content:center;}
	body.woocommerce-checkout #order_review ul#shipping_method li label .mk-logo img{display:block;width:auto;height:auto;max-width:34px;max-height:16px;}
	body.woocommerce-checkout #order_review ul#shipping_method li label .mk-logo img.mk-logo-mk{max-height:18px;max-width:18px;}
}

/* ── Pokladna: formulář ── */
.mk-poznamka-tl{display:none;}
@media (max-width:980px){
	body.woocommerce-checkout .woocommerce-billing-fields,
	body.woocommerce-checkout .woocommerce-additional-fields{padding:12px;margin-bottom:10px;}
	body.woocommerce-checkout h3{margin-bottom:10px;}
	body.woocommerce-checkout .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px;}
	body.woocommerce-checkout .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper > *{grid-column:1 / -1;width:100% !important;margin:0 0 8px !important;padding:0;}
	body.woocommerce-checkout #billing_first_name_field,
	body.woocommerce-checkout #billing_last_name_field,
	body.woocommerce-checkout #billing_city_field,
	body.woocommerce-checkout #billing_postcode_field{grid-column:auto !important;}
	body.woocommerce-checkout .form-row label{margin-bottom:2px;line-height:1.3;}
	body.woocommerce-checkout .form-row input.input-text,
	body.woocommerce-checkout.woocommerce-page .form-row input.input-text,
	body.woocommerce-checkout .form-row select,
	body.woocommerce-checkout .select2-container .select2-selection--single{min-height:46px !important;height:46px;}
	body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{line-height:44px;}
	body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow{height:44px;}
	body.woocommerce-checkout #billing_address_2_field{margin-top:-2px !important;}
	body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{padding:9px 12px;font-size:14px;margin-bottom:10px;}
	body.woocommerce-checkout .woocommerce-shipping-fields{padding:9px 12px;margin-bottom:8px;}
	body.woocommerce-checkout .woocommerce-shipping-fields h3,
	body.woocommerce-checkout #ship-to-different-address{margin:0;padding:0;font-size:14.5px;font-weight:600;line-height:1.3;}
	body.woocommerce-checkout #ship-to-different-address label{display:flex;align-items:center;gap:8px;margin:0;}
	body.woocommerce-checkout #ship-to-different-address input{margin:0;}
	body.woocommerce-checkout .shipping_address{margin-top:10px;}
	body.woocommerce-checkout #customer_details .col-1{margin-bottom:8px;}
	body.woocommerce-checkout .woocommerce-additional-fields.mk-sbalena{padding:9px 12px;}
	body.woocommerce-checkout .woocommerce-additional-fields.mk-sbalena h3,
	body.woocommerce-checkout .woocommerce-additional-fields.mk-sbalena .woocommerce-additional-fields__field-wrapper{display:none;}
	body.woocommerce-checkout .mk-sbalena .mk-poznamka-tl{display:block;width:100%;min-height:0;padding:0;border:0;background:none;text-align:left;font-family:inherit;font-weight:600;font-size:14.5px !important;line-height:1.3;color:var(--ink);cursor:pointer;}
	body.woocommerce-checkout #order_comments{min-height:72px !important;height:72px;padding-top:8px !important;}
}
