/*
Theme Name:   Aerogogo Polska (Kadence Child)
Theme URI:    https://aerogogo.pl
Description:  Motyw potomny Kadence dla sklepu Aerogogo Polska (Aktro sp. z o.o.). Wymaga motywu Kadence i WooCommerce.
Author:       Aktro sp. z o.o.
Template:     kadence
Version:      1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain:  aerogogo-child
License:      GNU General Public License v2 or later
*/

/* =========================================================
   1. Tokeny marki
   ========================================================= */
html:root {
	/* Paleta Kadence – nadpisuje ustawienia z Customizera */
	--global-palette1: #0E0F11; /* przyciski, akcent */
	--global-palette2: #2A2E34; /* hover przycisków */
	--global-palette3: #0E0F11; /* nagłówki */
	--global-palette4: #262A30; /* tekst mocny */
	--global-palette5: #4A5058; /* tekst */
	--global-palette6: #5F6670; /* tekst pomocniczy */
	--global-palette7: #E3E6EA; /* linie */
	--global-palette8: #F2F4F7; /* tła sekcji */
	--global-palette9: #FFFFFF; /* tło */

	--ag-ink: #0E0F11;
	--ag-text: #4A5058;
	--ag-muted: #5F6670;
	--ag-line: #E3E6EA;
	--ag-line-strong: #C7CDD5;
	--ag-steel: #F2F4F7;
	--ag-white: #FFFFFF;
	--ag-orange: #F2661E;      /* tylko próbka koloru / znaczniki */
	--ag-orange-text: #B93D0B; /* pomarańcz do tekstu (kontrast 5:1) */

	--ag-radius: 2px;
	--ag-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ag-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--ag-max: 1280px;
}

/* =========================================================
   2. Typografia i podstawy
   ========================================================= */
body {
	font-family: var(--ag-sans);
	color: var(--ag-ink);
	background: var(--ag-white);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.entry-title, .product_title {
	font-family: var(--ag-sans);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--ag-ink);
}
a { color: var(--ag-ink); }
a:hover, a:focus { color: var(--ag-orange-text); }
.ag-mono, .ag-mono * { font-family: var(--ag-mono); }

/* =========================================================
   3. Pasek informacyjny (functions.php → wp_body_open)
   ========================================================= */
.ag-topbar {
	background: var(--ag-ink);
	color: #E4E7EC;
	font-family: var(--ag-mono);
	font-size: 12px;
	letter-spacing: 0.02em;
}
.ag-topbar__inner {
	max-width: var(--ag-max);
	margin: 0 auto;
	padding: 9px 24px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 32px;
}
.ag-topbar a { color: #FFFFFF; text-decoration: none; }

/* =========================================================
   4. Przyciski i pola – ostre krawędzie, bez cieni
   ========================================================= */
.button, button, input[type="submit"], input[type="button"],
.wp-block-button__link, .wp-element-button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .wc-block-components-button {
	border-radius: var(--ag-radius) !important;
	box-shadow: none !important;
	font-family: var(--ag-sans);
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}
.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid var(--ag-ink);
	color: var(--ag-ink);
	background: transparent;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
input[type="number"], input[type="password"], select, textarea,
.wc-block-components-text-input input {
	border-radius: var(--ag-radius) !important;
	border-color: var(--ag-line-strong);
	box-shadow: none;
}

/* =========================================================
   5. Karty produktów (sklep, kategorie, shortcode [products])
   ========================================================= */
.woocommerce ul.products li.product,
.wc-block-grid__product {
	text-align: left;
}
.woocommerce ul.products li.product .woocommerce-loop-image-link,
.woocommerce ul.products li.product a img,
.wc-block-grid__product-image img {
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: var(--ag-white);
	box-shadow: none !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.wc-block-components-product-price,
.woocommerce-Price-amount {
	font-family: var(--ag-mono);
	color: var(--ag-ink) !important;
	font-weight: 500;
}
.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del {
	color: var(--ag-muted) !important;
	opacity: 1;
}
.woocommerce ul.products li.product .button {
	background: var(--ag-white);
	color: var(--ag-ink);
	border: 1px solid var(--ag-ink);
	min-height: 44px;
}
.woocommerce ul.products li.product .button:hover {
	background: var(--ag-ink);
	color: var(--ag-white);
}
/* Odznaka promocji – płaska, czarna */
.woocommerce span.onsale {
	background: var(--ag-ink);
	color: var(--ag-white);
	border-radius: var(--ag-radius);
	min-height: 0;
	min-width: 0;
	line-height: 1;
	padding: 6px 8px;
	font-family: var(--ag-mono);
	font-size: 12px;
	font-weight: 500;
}

/* =========================================================
   6. Karta produktu
   ========================================================= */
.woocommerce div.product .product_title {
	font-size: clamp(36px, 4vw, 56px);
	line-height: 1;
	letter-spacing: -0.025em;
}
.woocommerce div.product p.price { font-size: 28px; }
.woocommerce div.product form.cart .button {
	min-height: 56px;
	padding: 0 32px;
	background: var(--ag-ink);
}
.woocommerce div.product .woocommerce-product-gallery img,
.woocommerce div.product .flex-control-thumbs img {
	border-radius: var(--ag-radius);
}
.woocommerce div.product .flex-control-thumbs img { border: 1px solid var(--ag-line); }
.woocommerce div.product .flex-control-thumbs img.flex-active { border-color: var(--ag-ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 0; }
/* Tabela parametrów (Dodatkowe informacje) */
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	border-bottom: 1px solid var(--ag-line);
	padding: 12px 0;
	font-style: normal;
}
.woocommerce table.shop_attributes td { font-family: var(--ag-mono); }
.woocommerce table.shop_attributes th { color: var(--ag-text); font-weight: 400; width: 40%; }

/* =========================================================
   7. Bloki strony głównej (wzorzec "Aerogogo – strona główna")
   ========================================================= */
.ag-section { max-width: var(--ag-max); margin-left: auto; margin-right: auto; }
.ag-eyebrow {
	font-family: var(--ag-mono);
	font-size: 13px;
	color: var(--ag-muted);
	margin: 0;
}
.ag-price { font-family: var(--ag-mono); font-size: 30px; font-weight: 500; margin: 0; }
.ag-lead { font-size: 18px; line-height: 1.5; color: var(--ag-text); }

/* Tabela parametrów w hero */
.ag-specs table { border-collapse: collapse; width: 100%; font-size: 15px; }
.ag-specs table td {
	border: 0;
	border-bottom: 1px solid var(--ag-line);
	padding: 13px 0;
}
.ag-specs table tr:first-child td { border-top: 1px solid var(--ag-line); }
.ag-specs table td:first-child { color: var(--ag-text); }
.ag-specs table td:last-child { font-family: var(--ag-mono); text-align: right; }

/* Kafelki kategorii */
.ag-cat figure { margin: 0 0 12px; }
.ag-cat img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--ag-radius); }
.ag-cat p { margin: 0; font-weight: 600; font-size: 16px; }
.ag-cat a { text-decoration: none; }
.ag-cat--top img { object-position: center top; }

/* Lista numerowana z liniami */
ol.ag-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ag-line-strong); counter-reset: ag; }
ol.ag-steps li {
	counter-increment: ag;
	display: flex;
	gap: 20px;
	padding: 16px 0;
	border-bottom: 1px solid var(--ag-line-strong);
	font-size: 16px;
	line-height: 1.5;
}
ol.ag-steps li::before {
	content: counter(ag, decimal-leading-zero);
	font-family: var(--ag-mono);
	font-size: 13px;
	color: var(--ag-muted);
	padding-top: 3px;
}

/* Lista partnerów */
.ag-partners { border-top: 1px solid var(--ag-line); }
.ag-partners p { margin: 0; }
.ag-partners a {
	display: flex;
	justify-content: space-between;
	padding: 20px 0;
	border-bottom: 1px solid var(--ag-line);
	font-size: 20px;
	font-weight: 600;
	text-decoration: none;
}
.ag-partners a::after { content: "↗"; }

/* Pasek obsługi */
.ag-service h3 { font-size: 16px; margin: 0 0 6px; letter-spacing: 0; }
.ag-service p { font-size: 14px; line-height: 1.5; color: var(--ag-text); margin: 0; }

/* Obrazy w sekcjach – bez zaokrągleń i cieni */
.ag-home .wp-block-image img,
.ag-home .wp-block-media-text__media img { border-radius: var(--ag-radius); }

/* =========================================================
   8. Koszyk i kasa (bloki WooCommerce)
   ========================================================= */
.wc-block-components-panel, .wc-block-components-totals-wrapper { border-color: var(--ag-line); }
.wc-block-components-totals-item__value,
.wc-block-formatted-money-amount { font-family: var(--ag-mono); }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-radius: var(--ag-radius);
	border-top-color: var(--ag-ink);
}

/* =========================================================
   9. Stopka
   ========================================================= */
.site-footer { font-size: 14px; }
.site-footer .footer-widget-area h2,
.site-footer .widget-title {
	font-family: var(--ag-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* =========================================================
   10. Poprawki po wdrożeniu
   ========================================================= */
.ag-home .wp-block-image img,
.ag-home .wp-block-image.has-custom-border img { border: 0 !important; }
.site-footer .site-top-footer-wrap,
.site-footer .site-middle-footer-wrap,
.site-footer .site-bottom-footer-wrap { background: var(--ag-ink); color: #C3C9D1; }
.site-footer a { color: #FFFFFF; }
.site-footer a:hover { color: #C3C9D1; }
.ag-wide img { width: 100%; height: 560px; object-fit: cover; object-position: center 35%; }
@media (max-width: 767px) { .ag-wide img { height: 360px; } }
.ag-home .wp-block-group.is-vertical > p { margin: 0; }

/* Baner główny */
.ag-banner { min-height: 440px; }
.ag-banner .wp-block-media-text__content { padding: 40px max(24px, calc((100vw - 1280px) / 2 + 24px)) 40px max(24px, calc((100vw - 1280px) / 2 + 24px)); padding-right: 56px; }
.ag-banner .wp-block-buttons { margin-top: 20px; }
.ag-banner .wp-block-media-text__content > * { margin-block: 0 12px; }
.ag-banner { max-height: calc(100vh - 140px); }
.ag-awards { margin-top: 20px; font-family: var(--ag-mono); font-size: 12px; color: var(--ag-muted); }
@media (max-width: 781px) {
	.ag-banner { min-height: 0; }
	.ag-banner .wp-block-media-text__media { min-height: 300px; }
	.ag-banner .wp-block-media-text__content { padding: 32px 24px 40px; }
}

/* Zdjecie GIGA PUMP Air - przyciete */
img[src*="hero-gpa"] { aspect-ratio: 1 / 1; height: auto; object-fit: cover; object-position: center 52%; }

/* Pole ilosci rowne z przyciskiem Do koszyka */
.woocommerce div.product form.cart .quantity .qty { height: 56px; min-height: 56px; padding-top: 0; padding-bottom: 0; }
.woocommerce div.product .product_meta > span { display: block; }

/* Opisy produktow - spokojne naglowki */
.woocommerce div.product .woocommerce-Tabs-panel--description h2 { font-size: 22px; margin: 32px 0 12px; }
.woocommerce div.product .woocommerce-Tabs-panel--description > h2:first-child { font-size: 26px; margin-top: 0; }
.woocommerce div.product .woocommerce-Tabs-panel--description h3 { font-size: 17px; margin: 20px 0 6px; letter-spacing: 0; }
.woocommerce div.product .woocommerce-Tabs-panel--description { max-width: 760px; }
.woocommerce div.product .woocommerce-product-details__short-description ul { margin: 0 0 20px 1.1em; }

/* Sekcja Dlaczego Aerogogo */
.ag-why-grid { gap: 0 40px; }
.ag-why-item { border-top: 1px solid var(--ag-line-strong); padding: 20px 0 24px; }
.ag-why-item h3 { font-size: 17px; margin: 0 0 6px; letter-spacing: 0; }
.ag-why-item p { font-size: 15px; line-height: 1.5; color: var(--ag-text); margin: 0; }
@media (max-width: 781px) { .ag-why-grid { grid-template-columns: 1fr !important; } }

/* Formularz B2B */
.ag-b2b { max-width: 760px; }
.ag-b2b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.ag-b2b p { margin: 0 0 16px; }
.ag-b2b label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.ag-b2b input[type="text"], .ag-b2b input[type="email"], .ag-b2b input[type="tel"], .ag-b2b select, .ag-b2b textarea { width: 100%; min-height: 48px; padding: 10px 12px; background: var(--ag-white); border: 1px solid var(--ag-line-strong); font: inherit; }
.ag-b2b textarea { min-height: 110px; }
.ag-b2b-consent label { font-weight: 400; display: block; position: relative; padding-left: 28px; font-size: 14px; line-height: 1.5; color: var(--ag-text); }
.ag-b2b-consent input { position: absolute; left: 0; top: 3px; margin: 0; }
.ag-b2b-hp { position: absolute !important; left: -9999px; }
.ag-b2b-msg { padding: 14px 16px; margin: 0 0 20px; border-left: 3px solid var(--ag-ink); background: var(--ag-white); font-size: 15px; }
.ag-b2b-msg--err { border-left-color: var(--ag-orange-text); }
.ag-b2b-msg--ok { border-left-color: #1E7B3C; background: #E8F5EC; color: #145A2B; }
@media (max-width: 781px) { .ag-b2b-grid { grid-template-columns: 1fr; } }

/* Poziom zatowarowania */
.woocommerce div.product .stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.woocommerce div.product .stock::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.woocommerce div.product .stock.ag-stock-high { color: #1E7B3C; }
.woocommerce div.product .stock.ag-stock-mid { color: #B26A00; }
.woocommerce div.product .stock.ag-stock-low { color: #C2410C; }
.woocommerce div.product .stock.out-of-stock { color: #B42318; }

/* Zdjęcie lifestyle po najechaniu */
.woocommerce ul.products li.product .woocommerce-loop-image-link { position: relative; display: block; overflow: hidden; }
.woocommerce ul.products li.product .ag-hover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
@media (hover: hover) {
	.woocommerce ul.products li.product:hover .ag-hover-img { opacity: 1; }
}

/* Jednolite szare tło zdjęć produktów (białe tło packshotów -> szare) */
.woocommerce ul.products li.product .woocommerce-loop-image-link,
.woocommerce div.product div.images .woocommerce-product-gallery__image { background: #F4F4F4; }
.woocommerce ul.products li.product .woocommerce-loop-image-link img:not(.ag-hover-img),
.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product .flex-control-thumbs img { mix-blend-mode: multiply; }
.woocommerce div.product .flex-control-thumbs li { background: #F4F4F4; }
.woocommerce ul.products li.product.ag-bg-grey .woocommerce-loop-image-link img,
.woocommerce div.product.ag-bg-grey div.images img { mix-blend-mode: normal; }

/* Baner kategorii (jak baner Współpraca B2B) */
.tax-product_cat .product-archive-hero-section { background-color: #0E0F11; background-size: cover; background-position: center 62%; margin-bottom: 40px; }
.tax-product_cat .product-archive-hero-section .entry-hero-container-inner { background: transparent; }
.tax-product_cat .product-archive-hero-section .hero-container { min-height: 380px; display: flex; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.tax-product_cat .product-archive-title { text-align: left; align-items: flex-start; max-width: 680px; }
.tax-product_cat .product-archive-title h1 { text-align: left; color: #fff; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; margin: 0 0 16px; }
.tax-product_cat .product-archive-title .archive-description,
.tax-product_cat .product-archive-title .archive-description p { color: rgba(255,255,255,.92); font-size: 18px; line-height: 1.55; margin: 0; }
.tax-product_cat .product-archive-title .kadence-breadcrumbs,
.tax-product_cat .product-archive-title .kadence-breadcrumbs a,
.tax-product_cat .product-archive-title .woocommerce-breadcrumb,
.tax-product_cat .product-archive-title .woocommerce-breadcrumb a { color: rgba(255,255,255,.75); }
@media (max-width: 767px) {
	.tax-product_cat .product-archive-hero-section .hero-container { min-height: 320px; padding-top: 36px; padding-bottom: 36px; }
	.tax-product_cat .product-archive-title .archive-description,
	.tax-product_cat .product-archive-title .archive-description p { font-size: 16px; }
}

/* Baner koszyka, zamówienia i konta */
.woocommerce-cart .page-hero-section .entry-hero-container-inner,
.woocommerce-checkout .page-hero-section .entry-hero-container-inner,
.woocommerce-account .page-hero-section .entry-hero-container-inner { background: transparent; }
.woocommerce-cart .page-hero-section .hero-container,
.woocommerce-checkout .page-hero-section .hero-container,
.woocommerce-account .page-hero-section .hero-container { min-height: 280px; display: flex; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.woocommerce-cart .page-hero-section .entry-header,
.woocommerce-checkout .page-hero-section .entry-header,
.woocommerce-account .page-hero-section .entry-header { text-align: left; align-items: flex-start; width: 100%; }
.woocommerce-cart .page-hero-section .entry-title,
.woocommerce-checkout .page-hero-section .entry-title,
.woocommerce-account .page-hero-section .entry-title { color: #fff; text-align: left; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; margin: 0; }
.page-hero-section .entry-header .entry-title::after { display: block; margin-top: 14px; font-size: 18px; line-height: 1.5; font-weight: 400; letter-spacing: 0; color: rgba(255,255,255,.9); }
@media (max-width: 767px) {
	.woocommerce-cart .page-hero-section .hero-container,
	.woocommerce-checkout .page-hero-section .hero-container,
	.woocommerce-account .page-hero-section .hero-container { min-height: 220px; padding-top: 28px; padding-bottom: 28px; }
	.page-hero-section .entry-header .entry-title::after { font-size: 16px; }
}

/* Galeria produktu: kwadratowe slajdy o stałej wysokości */
.woocommerce div.product div.images .woocommerce-product-gallery__image a { display: block; aspect-ratio: 1 / 1; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { width: 100%; height: 100% !important; object-fit: contain; }
.woocommerce div.product div.images .flex-viewport { height: auto !important; }
.woocommerce div.product .flex-control-thumbs li img { aspect-ratio: 1 / 1; object-fit: cover; }

/* Karta produktu: W skrócie + korzyści */
.ag-keyspecs { margin: 28px 0 20px; border: 1px solid #E4E6EA; border-radius: 10px; overflow: hidden; max-width: 560px; }
.ag-keyspecs__title { padding: 12px 16px; font-weight: 700; font-size: 15px; letter-spacing: .02em; background: #0E0F11; color: #fff; }
.ag-keyspecs__table { width: 100%; border-collapse: collapse; margin: 0; border: 0; }
.ag-keyspecs__table tr:nth-child(even) { background: #F6F7F9; }
.ag-keyspecs__table th, .ag-keyspecs__table td { padding: 10px 16px; border: 0; font-size: 15px; line-height: 1.4; vertical-align: top; text-align: left; }
.ag-keyspecs__table th { width: 42%; color: #5B616B; font-weight: 500; }
.ag-keyspecs__table td { color: #0E0F11; font-weight: 600; }
.ag-perks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.ag-perks li { margin: 0; padding: 12px 14px 12px 38px; position: relative; background: #F6F7F9; border-radius: 10px; font-size: 14px; line-height: 1.3; }
.ag-perks li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 14px; height: 14px; border-radius: 50%; background: var(--ag-orange); box-shadow: inset 0 0 0 4px #F6F7F9, 0 0 0 1px var(--ag-orange); }
.ag-perks strong { display: block; color: #0E0F11; }
.ag-perks span { color: #5B616B; font-size: 13px; }
@media (max-width: 480px) { .ag-perks { grid-template-columns: 1fr; } }

/* Pasek promocyjny */
.ag-promo-bar { background: #0E0F11; color: #fff; font-size: 14px; line-height: 1.4; }
.ag-promo-bar__in { max-width: 1280px; margin: 0 auto; padding: 10px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; }
.ag-promo-bar strong { background: var(--ag-orange); color: #0E0F11; padding: 3px 10px; border-radius: 4px; letter-spacing: .06em; font-size: 13px; }
.ag-promo-bar span { font-weight: 600; }
.ag-promo-bar em { font-style: normal; color: rgba(255,255,255,.7); }
.ag-promo-bar a { color: #fff; text-decoration: underline; font-weight: 600; }

/* Baner zgód cookies */
.ag-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99999; display: flex; justify-content: center; pointer-events: none; }
.ag-cookies[hidden] { display: none; }
.ag-cookies__box { pointer-events: auto; width: 100%; max-width: 760px; background: #fff; color: #0E0F11; border: 1px solid #E3E6EA; border-radius: 12px; box-shadow: 0 12px 40px rgba(14,15,17,.18); padding: 20px 22px; }
.ag-cookies__title { font-weight: 700; font-size: 17px; margin: 0 0 6px; }
.ag-cookies__text { font-size: 14px; line-height: 1.5; color: #4A5058; margin: 0 0 14px; }
.ag-cookies__text a { color: #0E0F11; text-decoration: underline; }
.ag-cookies__prefs { display: grid; gap: 8px; margin: 0 0 14px; }
.ag-cookies__prefs[hidden] { display: none; }
.ag-cookies__opt { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; padding: 10px 12px; background: #F6F7F9; border-radius: 8px; cursor: pointer; }
.ag-cookies__opt input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: #0E0F11; }
.ag-cookies__btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.ag-cookies__btn { font: inherit; font-size: 14px; font-weight: 600; padding: 11px 18px; border-radius: 6px; border: 1px solid #0E0F11; background: #0E0F11; color: #fff; cursor: pointer; min-height: 44px; }
.ag-cookies__btn--ghost { background: #fff; color: #0E0F11; }
.ag-cookies__btn[hidden] { display: none; }
@media (max-width: 560px) { .ag-cookies { left: 8px; right: 8px; bottom: 8px; } .ag-cookies__btns { justify-content: stretch; } .ag-cookies__btn { flex: 1 1 45%; } }

/* Ikony social w stopce */
.ag-social { display: flex; justify-content: center; gap: 14px; margin: 0 0 18px; }
.ag-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.ag-social a:hover, .ag-social a:focus-visible { background: #F2661E; border-color: #F2661E; color: #0E0F11; }

/* Sekcja Instagram na stronie głównej */
.ag-ig { padding: 72px 0 24px; }
.ag-ig__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.ag-ig__eyebrow { margin: 0 0 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ag-orange, #F2661E); font-weight: 600; }
.ag-ig__title { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.ag-ig__follow { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid currentColor; border-radius: 6px; font-weight: 600; text-decoration: none; }
.ag-ig__follow:hover, .ag-ig__follow:focus-visible { background: #0E0F11; color: #fff; border-color: #0E0F11; }
.ag-ig #sb_instagram { padding-bottom: 0 !important; }
.ag-ig #sb_instagram .sbi_photo { border-radius: 8px; overflow: hidden; }
.ag-ig .sb_instagram_header, .ag-ig #sbi_load { display: none !important; }
.ag-ig #sbi_images { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 8px !important; padding: 0 !important; }
.ag-ig #sbi_images .sbi_item { width: auto !important; padding: 0 !important; }
@media (max-width: 767px) { .ag-ig #sbi_images { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px !important; } }
.ag-ig__tag { color: var(--ag-orange, #F2661E); white-space: nowrap; }

/* =========================================================
   Black Week – landing page (/black-week/)
   ========================================================= */
.ag-bw-lp .entry-hero, .ag-bw-lp .page-hero-section, .ag-bw-lp .entry-header { display: none !important; }
.ag-bw-lp .content-area { margin-top: 0 !important; margin-bottom: 0 !important; }
.ag-bw-lp .entry-content-wrap { padding: 0 !important; }
.ag-bw-lp .content-container.site-container { max-width: none; padding: 0; }
.ag-bw-lp .entry.single-entry { box-shadow: none; }
.ag-bw-lp .ag-promo-bar { display: none; }

.agbw { --bw-ink: #0E0F11; --bw-or: #F2661E; color: var(--ag-ink, #0E0F11); }
.agbw-wrap { max-width: var(--ag-max, 1280px); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.agbw-h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -.01em; }
.agbw-sub { color: var(--ag-muted, #5F6670); margin: 0 0 24px; }

.agbw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; background: var(--bw-or); color: #0E0F11 !important; font-weight: 700; text-decoration: none !important; border: 2px solid var(--bw-or); border-radius: 2px; transition: background .15s, color .15s; }
.agbw-btn:hover, .agbw-btn:focus-visible { background: #fff; border-color: #fff; }
.agbw-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
.agbw-btn--ghost:hover, .agbw-btn--ghost:focus-visible { background: #fff; color: #0E0F11 !important; }
.agbw-btn--full { width: 100%; }

/* hero */
.agbw-hero { background-color: var(--bw-ink); background-image: linear-gradient(90deg,rgba(14,15,17,.96) 0%,rgba(14,15,17,.88) 38%,rgba(14,15,17,.35) 75%,rgba(14,15,17,.15) 100%), var(--bw-hero, none); background-size: cover; background-position: center; color: #fff; padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); }
.agbw-eyebrow { font-family: var(--ag-mono, monospace); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bw-or); margin: 0 0 14px; }
.agbw-title { font-size: clamp(56px, 10vw, 128px); line-height: .9; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 18px; color: #fff; }
.agbw-lead { font-size: clamp(18px, 2vw, 22px); max-width: 520px; margin: 0 0 26px; color: rgba(255,255,255,.88); }
.agbw-lead strong { color: #fff; }
.agbw-tiers { list-style: none; margin: 0 0 24px; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.agbw-tiers li { display: flex; flex-direction: column; min-width: 112px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.28); background: rgba(14,15,17,.55); }
.agbw-tiers li.is-top { border-color: var(--bw-or); background: var(--bw-or); color: #0E0F11; }
.agbw-tiers__n { font-family: var(--ag-mono, monospace); font-size: 13px; opacity: .85; }
.agbw-tiers__p { font-size: 36px; font-weight: 800; line-height: 1.05; }
.agbw-count { display: flex; align-items: baseline; gap: 10px; margin: 0 0 26px; font-family: var(--ag-mono, monospace); }
.agbw-count__label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.agbw-count__time { font-size: 20px; color: #fff; }
.agbw-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.agbw-note { font-size: 14px; color: rgba(255,255,255,.7); margin: 0; }
.agbw-note a { color: #fff; }

/* perks */
.agbw-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 1px solid var(--ag-line, #E3E6EA); padding-top: 22px; padding-bottom: 22px; }
.agbw-perks p { margin: 0; padding: 0 16px; display: flex; flex-direction: column; border-left: 1px solid var(--ag-line, #E3E6EA); }
.agbw-perks p:first-child { border-left: 0; padding-left: 0; }
.agbw-perks span { color: var(--ag-muted, #5F6670); font-size: 14px; }

/* sets */
.agbw-sets { padding-top: 64px; padding-bottom: 24px; }
.agbw-sets__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.agbw-set { border: 1px solid var(--ag-line, #E3E6EA); display: flex; flex-direction: column; background: #fff; }
.agbw-set__imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ag-steel, #F2F4F7); }
.agbw-set__imgs a { display: block; aspect-ratio: 1; overflow: hidden; background: #fff; }
.agbw-set__imgs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agbw-set__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.agbw-set__badge { align-self: flex-start; font-family: var(--ag-mono, monospace); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; background: #0E0F11; color: #fff; padding: 4px 8px; margin: 0 0 12px; }
.agbw-set h3 { font-size: 22px; margin: 0 0 6px; }
.agbw-set__desc { color: var(--ag-text, #4A5058); margin: 0 0 14px; font-size: 15px; }
.agbw-set__list { list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; }
.agbw-set__list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--ag-line, #E3E6EA); }
.agbw-set__list a { color: inherit; text-decoration: none; }
.agbw-set__list a:hover { text-decoration: underline; }
.agbw-set__list span { white-space: nowrap; color: var(--ag-muted, #5F6670); }
.agbw-set__price { margin: auto 0 2px; font-size: 15px; }
.agbw-set__price del { color: var(--ag-muted, #5F6670); }
.agbw-set__price strong { font-size: 28px; margin-left: 6px; }
.agbw-set__save { margin: 0 0 14px; color: var(--ag-orange-text, #B93D0B); font-weight: 700; }

/* how */
.agbw-how { background: var(--ag-steel, #F2F4F7); padding: 56px 0; margin: 40px 0 16px; }
.agbw-how__steps { margin: 18px 0 16px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.agbw-how__steps li { counter-increment: s; background: #fff; padding: 20px; border: 1px solid var(--ag-line, #E3E6EA); }
.agbw-how__steps li::before { content: "0" counter(s); display: block; font-family: var(--ag-mono, monospace); color: var(--ag-orange-text, #B93D0B); margin-bottom: 8px; }
.agbw-how__steps strong { display: block; margin-bottom: 4px; }
.agbw-how__ex { margin: 0; }

/* rows */
.agbw-row { padding-top: 40px; }
.agbw-row .woocommerce { margin-top: 16px; }

/* faq */
.agbw-faq { padding-top: 56px; padding-bottom: 56px; max-width: 860px; }
.agbw-faq details { border-top: 1px solid var(--ag-line, #E3E6EA); }
.agbw-faq details:last-of-type { border-bottom: 1px solid var(--ag-line, #E3E6EA); }
.agbw-faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.agbw-faq summary::-webkit-details-marker { display: none; }
.agbw-faq summary::after { content: "+"; font-family: var(--ag-mono, monospace); color: var(--ag-orange-text, #B93D0B); }
.agbw-faq details[open] summary::after { content: "−"; }
.agbw-faq details p { margin: 0 0 16px; color: var(--ag-text, #4A5058); }

/* final */
.agbw-final { background: #0E0F11; color: #fff; padding: 56px 0; text-align: center; }
.agbw-final h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 20px; }

@media (max-width: 1024px) {
	.agbw-sets__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
	.agbw-wrap { padding: 0 16px; }
	.agbw-hero { background-position: 70% center; background-image: linear-gradient(180deg, rgba(14,15,17,.72), rgba(14,15,17,.92)), var(--bw-hero, none); }
	.agbw-tiers li { min-width: 0; flex: 1; padding: 10px 12px; }
	.agbw-tiers__p { font-size: 28px; }
	.agbw-count__time { font-size: 16px; }
	.agbw-cta .agbw-btn { flex: 1; }
	.agbw-perks { grid-template-columns: 1fr 1fr; row-gap: 16px; }
	.agbw-perks p { border-left: 0; padding: 0; }
	.agbw-sets__grid, .agbw-how__steps { grid-template-columns: 1fr; }
}
.agbw-set__list, .agbw-how__steps { padding-left: 0 !important; margin-left: 0 !important; }
.agbw-set__imgs { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); aspect-ratio: 3 / 1; overflow: hidden; }
.agbw-set__imgs a { aspect-ratio: auto !important; height: 100%; min-height: 0; }
.agbw-set__imgs img { object-fit: contain !important; }
.agbw-set__price { margin-top: auto !important; margin-bottom: 4px !important; }
.agbw-set__save { margin-top: 0 !important; }
/* Baner strony „Zasady promocji Black Week” */
.page-id-655 .page-hero-section .entry-hero-container-inner { background: transparent; }
.page-id-655 .page-hero-section .hero-container { min-height: 280px; display: flex; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.page-id-655 .page-hero-section .entry-header { text-align: left; align-items: flex-start; width: 100%; }
.page-id-655 .page-hero-section .entry-title { color: #fff; text-align: left; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; margin: 0; }
@media (max-width: 767px) { .page-id-655 .page-hero-section .hero-container { min-height: 220px; padding-top: 28px; padding-bottom: 28px; } }
.agbw-tiers { padding-left: 0 !important; margin-left: 0 !important; }
.agbw-tiers__p, .agbw-btn { white-space: nowrap; }
@media (max-width: 767px) { .agbw-tiers__p { font-size: 24px; } .agbw-btn { padding: 0 14px; } }
@media (max-width: 767px) { .agbw-perks { padding-top: 20px; padding-bottom: 20px; } .agbw-sets { padding-top: 44px; padding-bottom: 16px; } .agbw-row { padding-top: 32px; } .agbw-faq { padding-top: 44px; padding-bottom: 44px; } }
/* Black Week LP – niższy hero */
.agbw-hero { padding: clamp(28px, 3.5vw, 48px) 0 clamp(28px, 3vw, 40px); }
.agbw-eyebrow { margin-bottom: 8px !important; }
.agbw-title { font-size: clamp(44px, 6vw, 80px); margin-bottom: 10px !important; }
.agbw-lead { margin-bottom: 16px !important; }
.agbw-tiers { margin-bottom: 14px !important; }
.agbw-tiers li { padding: 8px 14px; }
.agbw-tiers__p { font-size: 28px; }
.agbw-count { margin-bottom: 16px; }
.agbw-cta { margin-bottom: 10px; }
@media (max-width: 767px) { .agbw-tiers__p { font-size: 24px; } .agbw-tiers li { padding: 8px 10px; } }
/* Zestawy BW: jednolite szare tło zdjęć jak w kartach produktów */
.agbw-set__imgs { background: #fff; }
.agbw-set__imgs a { background: #F4F4F4 !important; }
.agbw-set__imgs img { mix-blend-mode: multiply; }
.agbw-set__imgs { aspect-ratio: auto; grid-auto-columns: calc((100% - 4px) / 3); justify-content: center; }
.agbw-set__imgs a { aspect-ratio: 1 / 1 !important; height: auto; }
.agbw-set__imgs img { object-fit: cover !important; }
.agbw-set__imgs a.is-grey img { mix-blend-mode: normal; }
/* Newsletter – sekcja [ag_newsletter] */
.ag-nl { margin: 56px 0 24px; background: #0E0F11; color: #fff; border-radius: 2px; overflow: hidden; position: relative; }
.ag-nl::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--ag-orange, #F2661E); }
.ag-nl__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 48px; align-items: center; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); }
.ag-nl__eyebrow { margin: 0 0 8px !important; font-family: var(--ag-mono, monospace); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ag-orange, #F2661E); }
.ag-nl__title { margin: 0 0 10px !important; color: #fff !important; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; }
.ag-nl__lead { margin: 0 !important; color: rgba(255,255,255,.82); font-size: 17px; max-width: 520px; }
.ag-nl__row { display: flex; gap: 8px; }
.ag-nl__row input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; border-radius: 2px; font-size: 16px; }
.ag-nl__row input::placeholder { color: rgba(255,255,255,.55); }
.ag-nl__row input:focus { outline: 2px solid var(--ag-orange, #F2661E); outline-offset: 1px; border-color: transparent; }
.ag-nl__row button { height: 52px; padding: 0 22px; background: var(--ag-orange, #F2661E); color: #0E0F11; border: 0; border-radius: 2px; font-weight: 700; font-size: 16px; white-space: nowrap; cursor: pointer; }
.ag-nl__row button:hover, .ag-nl__row button:focus-visible { background: #fff; }
.ag-nl__row button[disabled] { opacity: .6; cursor: wait; }
.ag-nl__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ag-nl__msg { margin: 10px 0 0 !important; min-height: 1.2em; font-size: 15px; }
.ag-nl__msg.is-ok { color: #9BE3A8; font-weight: 600; font-size: 16px; }
.ag-nl__msg.is-err { color: #FFB38A; }
.ag-nl__legal { margin: 6px 0 0 !important; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.6); }
.ag-nl__legal a { color: rgba(255,255,255,.85); }
@media (max-width: 860px) {
	.ag-nl__in { grid-template-columns: 1fr; gap: 20px; }
	.ag-nl__row { flex-direction: column; }
	.ag-nl__row button { width: 100%; }
}
.ag-nl .ag-nl__row input[type="email"] { color: #fff !important; -webkit-text-fill-color: #fff; caret-color: #F2661E; background: #1C1D20 !important; }
.ag-nl .ag-nl__row input[type="email"]:-webkit-autofill,
.ag-nl .ag-nl__row input[type="email"]:-webkit-autofill:hover,
.ag-nl .ag-nl__row input[type="email"]:-webkit-autofill:focus { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #1C1D20 inset; box-shadow: 0 0 0 1000px #1C1D20 inset; transition: background-color 9999s; }
/* Baner strony „Newsletter – zapis potwierdzony” */
.page-id-660 .page-hero-section .entry-hero-container-inner { background: transparent; }
.page-id-660 .page-hero-section .hero-container { min-height: 280px; display: flex; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.page-id-660 .page-hero-section .entry-header { text-align: left; align-items: flex-start; width: 100%; }
.page-id-660 .page-hero-section .entry-title { color: #fff; text-align: left; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; margin: 0; }
@media (max-width: 767px) { .page-id-660 .page-hero-section .hero-container { min-height: 220px; padding-top: 28px; padding-bottom: 28px; } }
/* Baner ze zdjęciem – wspólne style dla wszystkich stron z aerogogo_page_hero() */
.ag-photo-hero .page-hero-section .entry-hero-container-inner { background: transparent; }
.ag-photo-hero .page-hero-section .hero-container { min-height: 280px; display: flex; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.ag-photo-hero .page-hero-section .entry-header { text-align: left; align-items: flex-start; width: 100%; }
.ag-photo-hero .page-hero-section .entry-title { color: #fff; text-align: left; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; margin: 0; }
@media (max-width: 767px) { .ag-photo-hero .page-hero-section .hero-container { min-height: 220px; padding-top: 28px; padding-bottom: 28px; } }
/* Baner strony Sklep */
.post-type-archive-product .product-archive-hero-section { background-color: #0E0F11; background-size: cover; background-position: center; margin-bottom: 40px; }
.post-type-archive-product .product-archive-hero-section .entry-hero-container-inner { background: transparent; }
.post-type-archive-product .product-archive-hero-section .hero-container { min-height: 340px; display: flex; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.post-type-archive-product .product-archive-title { text-align: left; align-items: flex-start; max-width: 680px; }
.post-type-archive-product .product-archive-title h1 { text-align: left; color: #fff; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; margin: 0; }
.post-type-archive-product .product-archive-title .kadence-breadcrumbs,
.post-type-archive-product .product-archive-title .kadence-breadcrumbs a,
.post-type-archive-product .product-archive-title .woocommerce-breadcrumb,
.post-type-archive-product .product-archive-title .woocommerce-breadcrumb a { color: rgba(255,255,255,.75); }
@media (max-width: 767px) { .post-type-archive-product .product-archive-hero-section .hero-container { min-height: 260px; padding-top: 32px; padding-bottom: 32px; } .post-type-archive-product .product-archive-title h1::after { font-size: 16px !important; } }
/* Zapisany do newslettera – bez checkboxa zapisu w kasie */
.ag-nl-sub .wc-block-components-checkbox:has(#woo_ml_subscribe),
.ag-nl-sub .woo-ml-subscribe,
.ag-nl-sub #woo_ml_subscribe_field { display: none !important; }
.ag-nl-sub .woo-ml-subscribe-wrapper { display: none !important; }
