/* GM Collin — karta produktu (własny szablon; projekt klienta 09.2026). Lato, szeroki kontener 1600 jak strona główna, hover .25 s, bez zaokrągleń. */
body .site-main.gmc-product { max-width: none !important; width: auto; margin: 0; padding: 0; }
.gmc-product { --gmc-max: 1600px; --gmc-line: #EBEBEB; --gmc-dark: #090A0C; --gmc-text: #333333; --gmc-muted: #8a8a8a; --gmc-accent: #9B274E; --gmc-hover-time: .25s; font-family: "Lato", sans-serif; color: var(--gmc-text); }
.gmc-product__breadcrumb, .gmc-product__top, .gmc-product .gmc-feat, .gmc-product__upsells { max-width: var(--gmc-max); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.gmc-product__breadcrumb, .gmc-product__top { max-width: calc(var(--gmc-narrow, 1160px) + 48px); } /* góra karty: 1160 px od ramki do ramki (projekt), boki 24 px */
.gmc-product .gmc-ingredients { max-width: calc(var(--gmc-narrow, 1160px) + 112px); padding-left: 56px; padding-right: 56px; } /* składniki: 1160 px kafelków + po 56 px na strzałki karuzeli (strzałki są 48 px poza sliderem — przy 24 px wystawały i robiły poziomy scroll na tabletach) */
.gmc-product { overflow-x: clip; } /* zabezpieczenie: nic z karty nie może wywołać poziomego przewijania strony */

/* okruszki jak na listingu */
.gmc-product__breadcrumb { padding-top: 48px; padding-bottom: 28px; text-align: left; } /* wyrównane do lewej krawędzi ramki zdjęcia */

/* góra: galeria | informacje */
.gmc-product__top { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 44fr); gap: 56px; align-items: start; padding-bottom: 40px; }
.gmc-product__password { display: block; padding-top: 32px; } /* produkt chroniony hasłem: formularz WP w kontenerze karty */
.gmc-product__password .post-password-form input[type="password"] { height: 44px; padding: 0 12px; border: 1px solid #EBEBEB; border-radius: 0; font-family: "Lato", sans-serif; font-size: 14px; }
.gmc-product__summary { padding-top: 8px; }
.gmc-product .gmc-product__title { margin: 0 0 8px; font-family: "Lato", sans-serif; font-size: 28px; font-weight: 400; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; color: var(--gmc-dark); } /* nazwy w bazie w Title Case (2026-09-25); karta i listing wielkimi tylko przez CSS, koszyk/kasa/maile — jak w bazie */
.gmc-product__subtitle { margin: 0 0 18px; font-family: "Lato", sans-serif; font-size: 14px; font-weight: 400; font-style: normal; line-height: 1.5; color: #945C26; }
.gmc-product__short { margin: 0 0 28px; font-family: "Lato", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.7; color: #333333; }
.gmc-product__short p { margin: 0 0 10px; }
.gmc-product__short p:last-child { margin-bottom: 0; }
.gmc-product__sizes { margin: 0 0 24px; }
.gmc-product__sizes-label { display: block; margin: 0 0 10px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gmc-dark); }
.gmc-product__sizes-list { display: flex; flex-wrap: wrap; gap: 10px; }
.gmc-product__size, .gmc-product__size:hover, .gmc-product__size:focus { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 40px; padding: 0 16px; box-sizing: border-box; border: 1px solid var(--gmc-line); background: #fff; font-size: 12px; font-weight: 400; letter-spacing: .06em; color: var(--gmc-muted); text-decoration: none; transition: color var(--gmc-hover-time), border-color var(--gmc-hover-time); }
.gmc-product__size:hover, .gmc-product__size:focus-visible { color: #2C2C2C; border-color: #2C2C2C; }
.gmc-product__size.is-current { color: #2C2C2C; border-color: #2C2C2C; font-weight: 500; cursor: default; }
.gmc-product__price { margin: 0 0 6px; font-size: 22px; font-weight: 700; color: var(--gmc-dark); }
.gmc-product__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; margin-bottom: 0; } /* bez odstępu między wierszami — Omnibus tuż pod ceną */
.gmc-product__price .wc-price-history, .gmc-product__price .gmc-omnibus { flex: 0 0 100%; margin: 2px 0 0 !important; padding: 0; font-size: 12px; font-weight: 300; line-height: 1.5; color: var(--gmc-muted); } /* Omnibus tuż pod ceną (wtyczka daje własne marginesy) */
.gmc-product__price .wc-price-history p, .gmc-product__price .wc-price-history .wc-price-history-lowest-inner { margin: 0 !important; }
.gmc-product__price del { font-size: 15px; font-weight: 400; color: var(--gmc-muted); text-decoration: line-through; }
.gmc-product__price del .amount { font-size: inherit; font-weight: inherit; color: inherit; }
.gmc-product__price ins { text-decoration: none; color: var(--gmc-accent); }
.gmc-product__cart { margin: 24px 0 28px; }
.gmc-product__cart form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 0; } /* ilość −/+ w linii z przyciskiem (2026-10-01); notka o limicie stanu w osobnym wierszu */
.gmc-product__cart form.cart.grouped_form { display: block; }
/* kontroler ilości: karta produktu i przyklejony pasek zakupu (znaczniki: woocommerce/global/quantity-input.php, logika +/−: GM Collin Core quantity-buttons.js) */
.theme-gmcollin .gmc-product__cart form.cart .quantity, .theme-gmcollin .gmc-sticky-atc .quantity { display: inline-flex; align-items: center; justify-content: space-between; flex: 0 0 124px; width: 124px; height: 56px; margin: 0; padding: 0 6px; float: none; box-sizing: border-box; border: 1px solid #b2b2b2; background: #fff; transition: border-color var(--gmc-hover-time, .25s); }
.theme-gmcollin .gmc-product__cart form.cart .quantity:focus-within, .theme-gmcollin .gmc-sticky-atc .quantity:focus-within { border-color: #333; }
.theme-gmcollin .gmc-product__cart form.cart .quantity input.qty, .theme-gmcollin .gmc-sticky-atc .quantity input.qty { flex: 1 1 auto; width: 40px; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; outline: none; text-align: center; font-family: "Lato", sans-serif; font-size: 16px; font-weight: 700; color: #090A0C; -moz-appearance: textfield; appearance: textfield; }
.theme-gmcollin .gmc-product__cart form.cart .quantity input.qty::-webkit-outer-spin-button, .theme-gmcollin .gmc-product__cart form.cart .quantity input.qty::-webkit-inner-spin-button, .theme-gmcollin .gmc-sticky-atc .quantity input.qty::-webkit-outer-spin-button, .theme-gmcollin .gmc-sticky-atc .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-gmcollin .gmc-product__cart form.cart .quantity .quantity-decrease, .theme-gmcollin .gmc-sticky-atc .quantity .quantity-decrease { order: -1; } /* szablon ma oba przyciski po polu — układ: − 1 + */
.theme-gmcollin .gmc-product__cart form.cart .quantity button, .theme-gmcollin .gmc-product__cart form.cart .quantity button:hover, .theme-gmcollin .gmc-product__cart form.cart .quantity button:focus,
.theme-gmcollin .gmc-sticky-atc .quantity button, .theme-gmcollin .gmc-sticky-atc .quantity button:hover, .theme-gmcollin .gmc-sticky-atc .quantity button:focus { flex: 0 0 32px; width: 32px; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-family: "Lato", sans-serif; font-size: 20px; font-weight: 400; line-height: 1; color: #333; cursor: pointer; transition: color var(--gmc-hover-time, .25s), opacity var(--gmc-hover-time, .25s); }
.theme-gmcollin .gmc-product__cart form.cart .quantity button:hover:not(:disabled), .theme-gmcollin .gmc-sticky-atc .quantity button:hover:not(:disabled) { color: #8a8a8a; }
.theme-gmcollin .gmc-product__cart form.cart .quantity button:focus-visible, .theme-gmcollin .gmc-sticky-atc .quantity button:focus-visible { outline: 2px solid #333; outline-offset: -4px; }
.theme-gmcollin .gmc-product__cart form.cart .quantity button:disabled, .theme-gmcollin .gmc-sticky-atc .quantity button:disabled { opacity: .3; cursor: default; }
/* notka o limicie stanu — jak „Dostępne: N szt.” w koszyku */
.theme-gmcollin .gmc-qty-limit { flex: 0 0 100%; margin: 0; font-family: "Lato", sans-serif; font-size: 12px; font-weight: 400; line-height: 1.4; color: #6f6f6f; }
.theme-gmcollin .gmc-qty-limit[hidden] { display: none; }
/* wszystkie dostępne sztuki są już w koszyku: przycisk i ilość wygaszone (klik tylko przypomina komunikat) */
.gmc-product__cart.is-out form.cart .quantity, .gmc-sticky-atc.is-out .quantity { opacity: .5; pointer-events: none; }
.woocommerce .gmc-product .gmc-product__cart.is-out form.cart .single_add_to_cart_button, .woocommerce .gmc-product .gmc-product__cart.is-out form.cart .single_add_to_cart_button:hover { border-color: #b2b2b2 !important; background: #b2b2b2 !important; color: #fff !important; cursor: default; }
/* przycisk jak na kafelku listingu (Lato 14 px / 700), bez zmiany kroju na hover — selektor mocniejszy niż .woocommerce button.button z WooCommerce i button:hover z Hello */
.woocommerce .gmc-product .gmc-product__cart form.cart .single_add_to_cart_button,
.woocommerce .gmc-product .gmc-product__cart form.cart .single_add_to_cart_button:hover,
.woocommerce .gmc-product .gmc-product__cart form.cart .single_add_to_cart_button:focus,
.woocommerce .gmc-product .gmc-product__cart form.cart .single_add_to_cart_button:active { display: flex; align-items: center; justify-content: center; flex: 1 1 0; width: auto; min-width: 0; min-height: 56px; margin: 0; padding: 0 24px; box-sizing: border-box; border: 1px solid #333333 !important; border-radius: 0 !important; background: #333333 !important; color: #fff !important; font-family: "Lato", sans-serif !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: .08em !important; text-transform: uppercase !important; /* wszystkie CTA „Dodaj do koszyka” wersalikami (uwaga klienta 2026-10-07) */ box-shadow: none !important; cursor: pointer; transition: background-color var(--gmc-hover-time), color var(--gmc-hover-time); }
.woocommerce .gmc-product .gmc-product__cart form.cart .single_add_to_cart_button:hover { background: #fff !important; color: #333333 !important; }
.woocommerce .gmc-product .gmc-product__cart form.cart .single_add_to_cart_button:focus-visible { outline: 2px solid #333333; outline-offset: 3px; }
.gmc-product__cart .stock { margin: 0 0 10px; font-size: 12px; font-weight: 300; color: var(--gmc-muted); }
.gmc-product__cart .stock.in-stock { display: none; }
.gmc-product__cart .added_to_cart { display: none !important; } /* WooCommerce dokleja link „Zobacz koszyk” po dodaniu AJAX — mamy popup i mini-koszyk */ /* projekt nie pokazuje „Na stanie”; „Brak w magazynie” zostaje */
.gmc-product__cart .stock.out-of-stock { color: var(--gmc-accent); }
.gmc-product__promo { margin: 0; font-family: "Lato", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.7; color: #333333; }
.gmc-product__promo p { margin: 0; }
.gmc-product__promo strong { font-weight: 700; color: var(--gmc-dark); }
.gmc-product__promo a { color: var(--gmc-dark); text-decoration: underline; text-underline-offset: 3px; transition: color var(--gmc-hover-time); }
.gmc-product__promo a:hover { color: var(--gmc-muted); }

/* „Powiadom o dostępności” (Back In Stock Notifier) — wtyczka daje niebieski panel Bootstrapa; tu w stylu karty (ramka, Lato, ciemny przycisk) */
.gmc-product .cwginstock-panel-primary, .gmc-product .cwginstock-panel-primary .cwginstock-panel-heading, .gmc-product .cwginstock-panel-primary .cwginstock-panel-body { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; color: var(--gmc-text) !important; }
.gmc-product .cwginstock-panel-primary { margin: 8px 0 28px !important; padding: 24px !important; border: 1px solid var(--gmc-line) !important; background: #fff !important; }
.gmc-product .cwginstock-panel-heading h4 { margin: 0 0 16px !important; padding: 0 !important; font-family: "Lato", sans-serif !important; font-size: 13px !important; font-weight: 500 !important; letter-spacing: .12em !important; text-transform: uppercase !important; text-align: left !important; color: var(--gmc-dark) !important; background: none !important; }
.gmc-product .cwginstock-panel-body .row, .gmc-product .cwginstock-panel-body .col-md-12 { margin: 0 !important; padding: 0 !important; width: auto !important; float: none !important; }
.gmc-product .cwginstock-subscribe-form__form .form-group { margin: 0 0 14px !important; text-align: left !important; }
.gmc-product .cwginstock-subscribe-form__form .form-group:last-of-type { margin-bottom: 0 !important; }
.gmc-product .cwginstock-subscribe-form__form input.cwgstock_email, .gmc-product .cwginstock-subscribe-form__form input.cwgstock_email:focus { display: block !important; width: 100% !important; max-width: none !important; height: 48px !important; margin: 0 !important; padding: 0 16px !important; box-sizing: border-box !important; border: 1px solid #2b2b2b !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; outline: none !important; font: 400 14px/1.4 "Lato", sans-serif !important; color: var(--gmc-dark) !important; text-align: left !important; }
.gmc-product .cwginstock-subscribe-form__form input.cwgstock_email:focus-visible { outline: 2px solid var(--gmc-dark) !important; outline-offset: 2px !important; }
.gmc-product .cwg_iagree_checkbox { margin: 0 0 16px !important; }
.gmc-product .cwg_iagree_checkbox label { display: flex !important; align-items: flex-start !important; gap: 10px !important; margin: 0 !important; font: 300 13px/1.6 "Lato", sans-serif !important; color: var(--gmc-text) !important; text-align: left !important; cursor: pointer; }
.gmc-product .cwg_iagree_checkbox input[type="checkbox"] { flex: none !important; width: 16px !important; height: 16px !important; margin: 3px 0 0 !important; accent-color: var(--gmc-dark); }
.gmc-product .cwg_iagree_checkbox a { color: var(--gmc-dark) !important; text-decoration: underline; text-underline-offset: 3px; }
.gmc-product .cwginstock-subscribe-form__form button.cwgstock_button, .gmc-product .cwginstock-subscribe-form__form button.cwgstock_button:hover, .gmc-product .cwginstock-subscribe-form__form button.cwgstock_button:focus { display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; min-height: 48px !important; margin: 0 !important; padding: 0 24px !important; box-sizing: border-box !important; border: 1px solid #333333 !important; border-radius: 0 !important; background: #333333 !important; color: #fff !important; font: 700 14px/1.2 "Lato", sans-serif !important; letter-spacing: .02em !important; text-transform: none !important; box-shadow: none !important; cursor: pointer; transition: background-color var(--gmc-hover-time), color var(--gmc-hover-time); }
.gmc-product .cwginstock-subscribe-form__form button.cwgstock_button:hover { background: #fff !important; color: #333333 !important; }
.gmc-product .cwgstock_output { margin: 12px 0 0 !important; font: 400 13px/1.5 "Lato", sans-serif !important; color: var(--gmc-text) !important; text-align: left !important; }
.gmc-product .cwgstock_output:empty { display: none; }
.gmc-product .cwginstock-subscribe-form { margin: 0 !important; }

/* galeria */
.gmc-gallery { position: relative; }
.gmc-gallery__main { position: relative; overflow: hidden; border: 1px solid var(--gmc-line); background: #fff; }
.gmc-gallery__main .swiper-wrapper { will-change: transform; }
/* tagi na zdjęciu głównym — ten sam styl co „Sold out” na kafelku listingu (.gmc-card__badge) */
.gmc-gallery__badges { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; }
.gmc-gallery__badge { display: block; padding: 5px 10px; border: 1px solid var(--gmc-line, #ebebeb); background: #fff; font-family: "Lato", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; color: #1a1a1a; }
.gmc-gallery__main .gmc-gallery__slide { background: #fff; } /* roundLengths w Swiperze + białe tło slajdu: brak 1–2 px kolejnego zdjęcia na krawędzi przy ułamkowych szerokościach */
.gmc-gallery__main .swiper-wrapper { display: flex; }
.gmc-gallery__main .gmc-gallery__slide { flex-shrink: 0; width: 100%; height: auto; box-sizing: border-box; padding: 0; aspect-ratio: 1 / 1; display: block; } /* każde zdjęcie wypełnia ten sam kwadrat, bez paddingu (zdjęcia produktowe są kwadratowe 1500×1500) */
.gmc-gallery__img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; margin: 0; }
.gmc-gallery__arrow, .gmc-gallery__arrow:hover, .gmc-gallery__arrow:focus { position: absolute; z-index: 5; top: 50%; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0; padding: 0; transform: translateY(-50%); background: transparent !important; border: 0 !important; border-radius: 0; box-shadow: none !important; outline: none; color: #3c3c3c; cursor: pointer; opacity: 0; transition: color var(--gmc-hover-time), opacity var(--gmc-hover-time); }
.gmc-gallery--multi .gmc-gallery__arrow { top: calc((100% - var(--gmc-thumbs-h, 112px)) / 2); } /* środek zdjęcia głównego, nie całej galerii */
.gmc-gallery__arrow--prev { left: 8px; }
.gmc-gallery__arrow--next { right: 8px; }
.gmc-gallery.is-ready:hover .gmc-gallery__arrow, .gmc-gallery.is-ready .gmc-gallery__arrow:focus-visible { opacity: 1; } /* strzałki dopiero po inicjalizacji Swipera (bez JS nic by nie robiły) */
.gmc-gallery__arrow:hover, .gmc-gallery__arrow:focus-visible { color: var(--gmc-muted); }
.gmc-gallery__arrow.swiper-button-disabled { opacity: 0 !important; pointer-events: none; }
.gmc-gallery__arrow svg { width: 28px; height: 28px; }
@media (hover: none) { .gmc-gallery__arrow { display: none; } }
.gmc-gallery__thumbs { overflow: hidden; margin-top: 16px; }
.gmc-gallery__thumbs .swiper-wrapper { display: flex; }
.gmc-gallery__thumbs .gmc-gallery__thumb { flex-shrink: 0; width: calc((100% - 3 * 16px) / 4); height: auto; box-sizing: border-box; border: 1px solid var(--gmc-line); background: #fff; cursor: pointer; opacity: .6; transition: opacity var(--gmc-hover-time), border-color var(--gmc-hover-time); }
.gmc-gallery__thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.gmc-gallery__thumb:hover, .gmc-gallery__thumb.swiper-slide-thumb-active { opacity: 1; border-color: var(--gmc-dark); }
.gmc-gallery__thumb:focus-visible { outline: 2px solid var(--gmc-dark); outline-offset: 2px; }
.gmc-gallery .swiper-wrapper { transition-property: transform; }
.gmc-gallery .swiper { touch-action: pan-y; }

/* sekcje wiersze + obrazek (cechy, szczegóły) */
.gmc-product .gmc-feat { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: 64px; align-items: stretch; padding-top: 72px; padding-bottom: 72px; } /* obrazek na całą wysokość sekcji (desktop) */
.gmc-product .gmc-feat--details { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
.gmc-product .gmc-feat--details .gmc-feat__stack { order: -1; }
.gmc-product .gmc-feat:not(.gmc-feat--has-images) { grid-template-columns: minmax(0, 1fr); }
.gmc-feat__rows { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.gmc-feat__item { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; align-items: start; cursor: default; }
.gmc-feat__item-img { display: none; }
.gmc-feat__heading { margin: 0; font-family: "Lato", sans-serif; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--gmc-muted); transition: color var(--gmc-hover-time); }
.gmc-feat__text { font-size: 13px; font-weight: 300; line-height: 1.75; color: var(--gmc-muted); transition: color var(--gmc-hover-time); }
.gmc-feat__text p { margin: 0 0 10px; }
.gmc-feat__text p:last-child { margin-bottom: 0; }
.gmc-feat__text ul, .gmc-feat__text ol { margin: 0 0 10px; padding-left: 18px; }
.gmc-feat__text .gmc-feat__note { margin: 16px 0 0; font-size: 12px; line-height: 1.6; font-style: italic; } /* stała formuła pod składem INCI */
.gmc-feat__item.is-active .gmc-feat__heading, .gmc-feat__item.is-active .gmc-feat__text, .gmc-feat__item:hover .gmc-feat__heading, .gmc-feat__item:hover .gmc-feat__text { color: var(--gmc-dark); }
.gmc-feat__stack { position: relative; min-height: 360px; overflow: hidden; background: #f7f7f7; } /* wysokość = wysokość kolumny tekstów; zdjęcie przycinane do środka */
.gmc-feat__stack-item { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.gmc-feat__stack-item.is-active { opacity: 1; }
.gmc-product .gmc-feat__stack .gmc-feat__img { display: block; width: 100%; height: 100% !important; max-width: none; object-fit: cover; object-position: center; } /* WooCommerce narzuca img { height: auto } — tu zdjęcie ma wypełnić cały kontener (cover, środek) */

/* uzupełniające — jak na stronie głównej (style .gmc-pc/.gmc-slider z GM Collin Elementor) */
.gmc-product__upsells { padding-top: 32px; padding-bottom: 24px; } /* kolejność: galeria → uzupełniające → składniki → cechy → szczegóły; odstępy 72 px między sekcjami (40+32, 24+48) */
.gmc-product .gmc-feat--details { padding-bottom: 96px; } /* ostatnia sekcja przed stopką */
.woocommerce .gmc-product .gmc-card__media img, .theme-gmcollin .upsell-popup .gmc-card__media img { height: 100% !important; object-fit: contain; object-position: center; }
.theme-gmcollin .upsell-popup .gmc-card__media { padding: 0; } /* popup: zdjęcie na cały kwadrat, bez wewnętrznego paddingu — jak w galerii */
.theme-gmcollin .upsell-popup .gmc-card__media img { object-fit: cover; } /* WooCommerce narzuca img { height: auto } — zdjęcie na kafelku (karuzela i popup) ma wypełnić kwadrat i być wyśrodkowane */
.gmc-product .gmc-pc__title { margin-bottom: 40px; font-family: "Lato", sans-serif; font-size: 18px; font-weight: 500; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; color: var(--gmc-dark); }

/* składniki aktywne mają własny kontener (moduł Core) — tylko odstęp */
.gmc-product .gmc-ingredients { margin-top: 48px; margin-bottom: 24px; } /* obrazki cech/szczegółów: desktop — cała wysokość sekcji (cover), telefon — 4:3 (cover); różne rozmiary źródeł wyglądają identycznie */

/* Przyklejony pasek zakupu (gmcollin_product_sticky_bar): widoczny, gdy główny przycisk „Dodaj do koszyka” jest poza ekranem.
   Stylistyka sklepu: białe tło, cienka linia, szarości, ciemny przycisk; poniżej nagłówka (990), mini-koszyka i okien (1000+). */
.gmc-sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 980; border-top: 1px solid #EBEBEB; background: #fff; font-family: "Lato", sans-serif; color: #333; transform: translateY(101%); visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; }
.gmc-sticky-atc.is-visible { transform: none; visibility: visible; transition: transform .35s ease, visibility 0s; }
.gmc-sticky-atc *, .gmc-sticky-atc *::before, .gmc-sticky-atc *::after { box-sizing: border-box; }
.gmc-sticky-atc__inner { display: flex; align-items: center; gap: 16px 32px; max-width: calc(1160px + 48px); margin: 0 auto; padding: 12px 24px; }
.gmc-sticky-atc__info { display: flex; align-items: center; flex: 1 1 0; gap: 14px; min-width: 0; }
.gmc-sticky-atc img.gmc-sticky-atc__thumb { display: block; flex: 0 0 56px; width: 56px; height: 56px; margin: 0; border: 1px solid #EBEBEB; object-fit: cover; }
.gmc-sticky-atc__titles { min-width: 0; }
.gmc-sticky-atc__name { display: block; overflow: hidden; font-size: 14px; font-weight: 400; line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; color: #090A0C; }
.gmc-sticky-atc__meta { display: block; margin-top: 3px; font-size: 12px; line-height: 1.3; color: #8a8a8a; }
.gmc-sticky-atc__pricing { flex: 0 0 auto; text-align: right; }
.gmc-sticky-atc__price { font-size: 16px; font-weight: 700; line-height: 1.3; color: #090A0C; white-space: nowrap; }
.gmc-sticky-atc__price del { margin-right: 8px; font-size: 13px; font-weight: 400; color: #8a8a8a; text-decoration: line-through; }
.gmc-sticky-atc__price del .amount { font-weight: inherit; color: inherit; }
.gmc-sticky-atc__price ins { text-decoration: none; color: #9B274E; }
.gmc-sticky-atc__omnibus, .gmc-sticky-atc__omnibus .gmc-omnibus, .gmc-sticky-atc__price .wc-price-history { margin: 2px 0 0 !important; padding: 0; font-size: 11px; font-weight: 300; line-height: 1.4; color: #8a8a8a; white-space: nowrap; }
.gmc-sticky-atc__omnibus .gmc-omnibus { margin: 0 !important; }
.gmc-sticky-atc__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; flex: 0 0 auto; gap: 4px 12px; }
.theme-gmcollin .gmc-sticky-atc .quantity { flex-basis: 112px; width: 112px; height: 48px; }
.theme-gmcollin .gmc-sticky-atc .gmc-sticky-atc__add, .theme-gmcollin .gmc-sticky-atc .gmc-sticky-atc__add:hover, .theme-gmcollin .gmc-sticky-atc .gmc-sticky-atc__add:focus { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; height: 48px; margin: 0; padding: 0 28px; border: 1px solid #333; border-radius: 0; background: #333; box-shadow: none; color: #fff; font-family: "Lato", sans-serif; font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
@media (hover: hover) { .theme-gmcollin .gmc-sticky-atc .gmc-sticky-atc__add:hover { background: #fff; color: #333; } } /* na ekranach dotykowych stan „hover” zostawał po dotknięciu */
.theme-gmcollin .gmc-sticky-atc .gmc-sticky-atc__add:focus-visible { outline: 2px solid #333; outline-offset: 3px; }
.theme-gmcollin .gmc-sticky-atc .gmc-sticky-atc__add.is-loading { opacity: .6; pointer-events: none; }
.theme-gmcollin .gmc-sticky-atc.is-out .gmc-sticky-atc__add, .theme-gmcollin .gmc-sticky-atc.is-out .gmc-sticky-atc__add:hover { border-color: #b2b2b2; background: #b2b2b2; color: #fff; cursor: default; }
.theme-gmcollin .gmc-sticky-atc .gmc-sticky-atc__limit { text-align: right; font-size: 11px; }
body.gmc-has-sticky-atc { padding-bottom: var(--gmc-sticky-h, 0px); } /* stopka nie chowa się pod paskiem na końcu strony */
body.gmc-sticky-atc-on .grecaptcha-badge { bottom: calc(var(--gmc-sticky-h, 0px) + 10px) !important; } /* znaczek reCAPTCHA ponad paskiem */
@media (prefers-reduced-motion: reduce) { .gmc-sticky-atc, .gmc-sticky-atc.is-visible { transition: none; } }
@media print { .gmc-sticky-atc { display: none; } body.gmc-has-sticky-atc { padding-bottom: 0; } }

@media (max-width: 1024px) {
	.gmc-product__top { gap: 40px; }
	.gmc-sticky-atc__inner { gap: 16px 20px; }
	.gmc-sticky-atc__omnibus, .gmc-sticky-atc__omnibus .gmc-omnibus { max-width: 190px; margin-left: auto !important; white-space: normal; } /* tablet: Omnibus w dwóch wierszach, żeby nazwa produktu miała miejsce */
	.theme-gmcollin .gmc-sticky-atc .gmc-sticky-atc__add { min-width: 180px; }
	.gmc-product .gmc-feat { gap: 40px; padding-top: 56px; padding-bottom: 56px; }
	.gmc-feat__item { grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 767px) {
	.gmc-product__breadcrumb, .gmc-product__top, .gmc-product .gmc-feat, .gmc-product__upsells { padding-left: 16px; padding-right: 16px; }
	.gmc-product .gmc-ingredients { padding-left: 16px; padding-right: 16px; } /* telefon: siatka bez strzałek */
	.gmc-product__breadcrumb { padding-top: 24px; padding-bottom: 24px; }
	.gmc-product__top { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 24px; }
	.gmc-product .gmc-product__title { font-size: 24px; }
	.gmc-gallery__thumbs { margin-top: 12px; }
	.gmc-gallery__thumbs .gmc-gallery__thumb { width: calc((100% - 3 * 10px) / 4); }
	.gmc-product .gmc-feat, .gmc-product .gmc-feat--details { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 40px; padding-bottom: 40px; }
	.gmc-feat__stack { display: none; } /* telefon: obrazek nad każdym nagłówkiem (cechy i szczegóły) */
	.gmc-feat__rows { gap: 32px; }
	.gmc-feat__item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.gmc-feat__item-img { display: block; margin: 0 0 6px; }
	.gmc-feat__item-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
	.gmc-feat__heading, .gmc-feat__text { color: var(--gmc-dark); } /* na telefonie bez „wygaszania” — brak hovera */
	.gmc-product__upsells { padding-top: 16px; padding-bottom: 8px; } /* telefon: 24+16 i 8+32 = 40 px jak między pozostałymi sekcjami */
	.gmc-product .gmc-feat--details { padding-bottom: 64px; }
	.gmc-product .gmc-pc__title { margin-bottom: 28px; }
	.gmc-product .gmc-ingredients { margin-top: 32px; }
	/* pasek zakupu na telefonie: wiersz 1 — miniatura, nazwa, cena; (wiersz 2 — Omnibus przy promocji); ostatni wiersz — ilość + przycisk */
	.gmc-sticky-atc__inner { flex-wrap: wrap; gap: 8px 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
	.gmc-sticky-atc__info { order: 1; gap: 10px; }
	.gmc-sticky-atc img.gmc-sticky-atc__thumb { flex-basis: 40px; width: 40px; height: 40px; }
	.gmc-sticky-atc__name { font-size: 13px; }
	.gmc-sticky-atc__meta { margin-top: 1px; font-size: 11px; }
	.gmc-sticky-atc__pricing { display: contents; }
	.gmc-sticky-atc__price { order: 2; font-size: 15px; text-align: right; }
	.gmc-sticky-atc__price del { display: block; margin: 0; font-size: 12px; }
	.gmc-sticky-atc__omnibus { order: 3; flex: 0 0 100%; margin: -2px 0 0 !important; white-space: normal; }
	.gmc-sticky-atc__actions { order: 4; flex: 0 0 100%; flex-wrap: wrap; gap: 4px 10px; }
	.theme-gmcollin .gmc-sticky-atc .quantity { flex: 0 0 108px; width: 108px; height: 44px; }
	.theme-gmcollin .gmc-sticky-atc .gmc-sticky-atc__add, .theme-gmcollin .gmc-sticky-atc .gmc-sticky-atc__add:hover, .theme-gmcollin .gmc-sticky-atc .gmc-sticky-atc__add:focus { flex: 1 1 0; min-width: 0; height: 44px; padding: 0 16px; }
	.theme-gmcollin .gmc-sticky-atc .gmc-sticky-atc__limit { text-align: left; }
	.theme-gmcollin .gmc-product__cart form.cart .quantity { flex-basis: 112px; width: 112px; }
}
@media (max-width: 359px) { /* bardzo wąskie ekrany: przycisk karty pod kontrolerem ilości, na całą szerokość */
	.theme-gmcollin .gmc-product__cart form.cart .quantity { flex: 0 0 100%; width: 100%; }
	.woocommerce .gmc-product .gmc-product__cart form.cart .single_add_to_cart_button { flex: 0 0 100%; }
}
