/* ==========================================================================
   ELKO - karta produktu (single product). Wzór: demo produkt.html.
   ========================================================================== */

.elko-pdp { padding-top: 24px; padding-bottom: 64px; }
.elko-pdp .elko-crumbs { font-size: 13.5px; margin-bottom: 24px; }
.elko-pdp .elko-crumbs span[aria-current] { color: var(--e-ink); font-weight: 600; }
@media (max-width: 767px) { .elko-pdp .elko-crumbs { font-size: 12.5px; } .elko-pdp .elko-crumbs span[aria-current], .elko-pdp .elko-crumbs a:nth-last-of-type(1) + .sep { display: none; } }

/* siatka: galeria + W skrócie | buybox (na desktopie buybox przyklejony) */
.elko-pdp-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	grid-template-areas: "gal sum" "facts sum";
	grid-template-rows: auto 1fr;
	column-gap: 64px;
	align-items: start;
}
.elko-pdp-gal { grid-area: gal; min-width: 0; }
.elko-pdp-facts { grid-area: facts; margin-top: 28px; }
.elko-pdp-sum { grid-area: sum; min-width: 0; position: sticky; top: calc(var(--e-header-h) + 24px); }
@media (max-width: 900px) {
	.elko-pdp-grid { display: flex; flex-direction: column; }
	.elko-pdp-sum { position: static; order: 2; margin-top: 20px; width: 100%; }
	.elko-pdp-facts { order: 3; margin-top: 28px; width: 100%; }
}

/* ---------- galeria WooCommerce (flexslider + zoom + photoswipe) ---------- */
.elko-pdp .woocommerce-product-gallery { position: relative; margin: 0; }
.elko-pdp .woocommerce-product-gallery__wrapper { margin: 0; padding: 0; }
.elko-pdp .woocommerce-product-gallery__image {
	border-radius: var(--e-r-l);
	overflow: hidden;
	background: var(--e-photo);
}
.elko-pdp .woocommerce-product-gallery__image a { display: block; }
.elko-pdp .woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.elko-pdp .woocommerce-product-gallery__trigger {
	display: grid; place-items: center; cursor: zoom-in;
	position: absolute; top: 14px; right: 14px; z-index: 5;
	width: 42px; height: 42px;
	border-radius: var(--e-r-m); background: rgba(255, 255, 255, .92); font-size: 0; text-decoration: none;
	box-shadow: 0 1px 6px rgba(0, 0, 0, .15);
}
.elko-pdp .woocommerce-product-gallery__trigger:focus-visible { outline: 2px solid var(--e-red); outline-offset: 2px; }
.elko-pdp .woocommerce-product-gallery__image img, .elko-pdp .zoomImg { cursor: zoom-in; }
.elko-pdp .woocommerce-product-gallery__trigger::before {
	content: ""; width: 16px; height: 16px; border: 2px solid var(--e-ink); border-radius: 50%; position: relative; left: -2px; top: -2px;
}
.elko-pdp .woocommerce-product-gallery__trigger::after {
	content: ""; position: absolute; width: 7px; height: 2px; background: var(--e-ink); transform: rotate(45deg); right: 11px; bottom: 11px;
}
.elko-pdp .flex-viewport { border-radius: var(--e-r-l); overflow: hidden; background: var(--e-photo); }
.elko-pdp .flex-control-thumbs {
	display: flex; gap: 8px; margin: 8px 0 0; padding: 0 0 4px; list-style: none;
	overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin;
}
.elko-pdp .flex-control-thumbs li { flex: 0 0 calc((100% - 48px) / 7); margin: 0; scroll-snap-align: start; }
.elko-pdp .flex-control-thumbs img {
	display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; cursor: pointer;
	border-radius: var(--e-r-s); opacity: .6; border: 2px solid transparent; transition: opacity .15s, border-color .15s;
}
.elko-pdp .flex-control-thumbs img:hover { opacity: 1; }
.elko-pdp .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--e-red); }
.elko-pdp .zoomImg { background: #fff; }

/* ---------- W skrócie ---------- */
.elko-facts { background: var(--e-soft); border-radius: var(--e-r-xl); padding: 28px; }
.elko-facts h2, .elko-facts .h3 { font-size: 18px; margin: 0 0 14px; }
.elko-facts ul { list-style: none; margin: 0; padding: 0; }
.elko-facts li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--e-line); }
.elko-facts li:first-child { border-top: 0; }
.elko-facts li svg { box-sizing: content-box; width: 18px; height: 18px; padding: 10px; border-radius: 11px; background: #fff; color: var(--e-red); }
.elko-facts li span { font-size: 14.5px; color: var(--e-muted); }
.elko-facts li b { font-size: 14.5px; color: var(--e-ink); text-align: right; }
@media (max-width: 767px) {
	.elko-facts { padding: 20px; }
	.elko-facts li { grid-template-columns: 36px 1fr auto; gap: 10px; }
}

/* ---------- buybox: tytuł, cena, odznaki ---------- */
.elko-pdp-sum h1 { font-size: 34px; line-height: 1.18; margin: 0 0 22px; }
@media (max-width: 767px) { .elko-pdp-sum h1 { font-size: 25px; } }
.elko-pprice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 20px; }
.elko-pprice .big { font-size: 36px; font-weight: 700; color: var(--e-ink); letter-spacing: -.02em; line-height: 1; }
.elko-pprice .unit { font-size: 15px; color: var(--e-muted); }
.elko-pprice .unit:empty { display: none; }
.elko-pprice .chip { flex: 0 0 auto; width: fit-content; max-width: 100%; margin-top: 6px; padding: 6px 12px; border-radius: var(--e-pill); background: #ecfdf3; color: var(--e-green); font-size: 13.5px; font-weight: 600; }
.elko-pprice .chip[hidden] { display: none; }
.elko-pprice del { color: var(--e-muted); font-weight: 400; font-size: .6em; margin-right: 6px; }
.elko-badges { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.elko-badges li { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 7px 12px 7px 10px; border: 1px solid var(--e-line); border-radius: var(--e-pill); font-size: 13.5px; font-weight: 500; color: var(--e-ink); background: #fff; }
.elko-badges li svg { width: 16px; height: 16px; color: var(--e-red); }
.elko-badges li.ok { border-color: #bbe5c8; background: #f0fbf4; }
.elko-badges li.ok svg { color: var(--e-green); }
.elko-gift { display: flex; gap: 16px; align-items: flex-start; background: #fff5f5; border: 1px solid #fbd5d9; border-radius: var(--e-r-l); padding: 22px 24px; }
.elko-gift > svg { flex: 0 0 auto; box-sizing: content-box; width: 24px; height: 24px; padding: 12px; border-radius: 14px; background: var(--e-red); color: #fff; }
.elko-gift b { display: block; font-size: 18px; color: var(--e-ink); }
.elko-gift.sm { padding: 14px 16px; gap: 12px; align-items: center; margin: 0 0 20px; border-radius: 14px; }
.elko-gift.sm > svg { width: 20px; height: 20px; padding: 9px; border-radius: 11px; }
.elko-gift.sm b { font-size: 15px; }
.elko-pdp-lead { margin: 0 0 32px; padding: 0 0 28px; border-bottom: 1px solid var(--e-line); font-size: 15.5px; line-height: 1.7; color: var(--e-text); }
.elko-pdp-buy { padding-top: 0; }

/* ---------- warianty (przyciski) ---------- */
.elko-var-row { margin: 0 0 16px; }
.elko-var-row .lbl { margin: 0 0 10px; font-size: 14.5px; font-weight: 600; color: var(--e-ink); }
.elko-var-row .lbl label { font-weight: 600; }
.elko-var-row .lbl .cur { font-weight: 500; color: var(--e-text); }
.elko-var-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.elko-var-select { display: none; }
.elko-var-btn {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	min-width: 100px; min-height: 73px; margin: 0; padding: 10px 16px;
	border: 1px solid var(--e-line); border-radius: var(--e-r-m); background: #fff; color: var(--e-ink);
	box-shadow: 0 0 0 0 var(--e-red); text-align: center; line-height: 1.25;
	transition: border-color .15s, box-shadow .15s;
}
.elko-var-btn:hover { border-color: var(--e-line-2); }
.elko-var-btn.on { border-color: var(--e-red); box-shadow: 0 0 0 1px var(--e-red); }
.elko-var-btn .n { font-size: 14.5px; font-weight: 600; }
.elko-unit { display: block; margin-top: 3px; line-height: 1.2; font-size: 12px; color: var(--e-muted); font-weight: 400; white-space: nowrap; }
.elko-unit em { font-style: normal; color: var(--e-green); font-weight: 700; }
@media (max-width: 767px) {
	.elko-var-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.elko-var-btn { min-width: 0; min-height: 58px; padding: 8px 6px; }
	.elko-var-btn .n { font-size: 13.5px; }
	.elko-unit { font-size: 11px; }
}

/* ---------- kolory ---------- */
.elko-colors { margin: 20px 0 4px; }
.elko-colors .lbl { margin-bottom: 10px; font-size: 14.5px; font-weight: 600; color: var(--e-ink); }
.elko-colors .lbl b { font-weight: 500; color: var(--e-text); }
.elko-colors .sw { display: flex; flex-wrap: wrap; gap: 6px; }
.elko-colors button {
	display: inline-flex; align-items: center; gap: 8px; height: 44px; margin: 0; padding: 0 12px;
	border: 1px solid var(--e-line); border-radius: var(--e-r-m); background: #fff; color: var(--e-ink);
	font-size: 14px; font-weight: 600; transition: border-color .15s;
}
.elko-colors button:hover { border-color: var(--e-line-2); }
.elko-colors button.on { border-color: var(--e-red); box-shadow: 0 0 0 1px var(--e-red); }
.elko-colors i { display: block; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.elko-colors i.mix { background: conic-gradient(#d32f2f 0 25%, #2e8b3a 0 50%, #1f5fbf 0 75%, #7a4b2a 0); }

/* ---------- ilość + przycisk ---------- */
.elko-addrow, .woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: stretch; margin-top: 20px; }
.woocommerce-variation-add-to-cart { margin-top: 20px; }
.elko-pdp .quantity { display: flex; align-items: center; flex: 0 0 auto; border: 1px solid var(--e-line); border-radius: var(--e-r-m); background: #fff; }
.elko-pdp .quantity input.qty {
	width: 44px; min-height: 0; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent;
	text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield; box-shadow: none;
}
.elko-pdp .quantity input.qty::-webkit-outer-spin-button, .elko-pdp .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.elko-qty-btn { display: grid; place-items: center; width: 40px; height: 100%; min-height: 54px; padding: 0; border: 0; background: transparent; color: var(--e-ink); font-size: 20px; font-weight: 600; line-height: 1; }
.elko-qty-btn:hover { color: var(--e-red); }
.elko-pdp .single_add_to_cart_button { flex: 1; min-height: 56px; padding: 0 28px; border: 0; border-radius: var(--e-r-m); font-size: 16.5px; background: #ed1b2f; color: #fff; }
.elko-pdp .single_add_to_cart_button:hover { background: var(--e-red-d); }
.elko-pdp .single_add_to_cart_button.disabled, .elko-pdp .single_add_to_cart_button:disabled { opacity: .45; cursor: not-allowed; }
.elko-pdp .single_add_to_cart_button.is-loading { opacity: .7; pointer-events: none; }
.woocommerce-variation-price { display: none; }
.woocommerce-variation-description { display: none; }
.woocommerce-variation-availability .stock, .elko-pdp .stock { margin: 14px 0 0; font-size: 14px; color: var(--e-text); }
.woocommerce-variation-availability .out-of-stock, .elko-pdp .out-of-stock { color: #a16207; font-weight: 600; }
.woocommerce-variation.single_variation:empty { display: none; }

/* ---------- niedostępny ---------- */
.elko-pill--warn { background: #fef3c7; color: #a16207; }
.elko-unavail { padding: 18px; border: 1px solid #f3e1a6; border-radius: var(--e-r-m); background: #fffbeb; }
.elko-unavail p { margin: 12px 0 16px; font-size: 14.5px; color: var(--e-text); }
.elko-unavail .elko-btn svg { width: 18px; height: 18px; }

/* ---------- ramka pod przyciskiem ---------- */
.elko-buybox { margin: 32px 0 8px; border: 1px solid var(--e-line); border-radius: var(--e-r); background: #fff; font-size: 13.5px; line-height: 1.45; }
.elko-buybox > div { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--e-line); }
.elko-buybox > div:last-child { border-bottom: 0; }
.elko-buybox > div > svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; color: var(--e-red); }
.elko-buybox b { color: var(--e-ink); }
.elko-buybox a { color: var(--e-red); text-decoration: underline; text-underline-offset: 2px; }
.elko-buybox a:has(b) { color: var(--e-ink); }
.elko-pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.elko-pay span { padding: 3px 9px; border-radius: 6px; background: var(--e-soft); font-size: 11.5px; font-weight: 600; color: var(--e-ink); }

/* ---------- opis w sekcjach ---------- */
.elko-pdp-desc, .elko-pdp-legacy { border-top: 1px solid var(--e-line); padding-top: 72px; padding-bottom: 24px; }
.elko-desc > * + * { margin-top: 96px; }
.elko-desc-h { font-size: 24px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -.015em; }
.elko-faq h2 { font-size: 30px; margin: 0 0 24px; letter-spacing: -.015em; }
.elko-pros .elko-desc-h, .elko-params .elko-desc-h, .elko-pack .elko-desc-h { margin-bottom: 16px; }
.elko-pprice .br { flex-basis: 100%; height: 0; }
.elko-intro .lead { max-width: 820px; font-size: 16.5px; line-height: 1.75; }
.elko-intro .lead .elko-desc-h { font-size: 30px; margin-bottom: 24px; }
@media (max-width: 767px) { .elko-intro .lead .elko-desc-h { font-size: 23px; } }
.elko-intro .lead p:last-child { margin-bottom: 0; }
.elko-pros ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.elko-pros li { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 16px 0; border-top: 1px solid var(--e-line); font-size: 15.5px; line-height: 1.6; color: var(--e-text); }
.elko-pros li svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; color: var(--e-green); }
.elko-pros b { color: var(--e-ink); font-weight: 600; }
.elko-use2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.elko-use2.no-img { grid-template-columns: 1fr; }
.elko-use2 .ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--e-r-l); }
.elko-use2 p { margin: 0 0 10px; font-size: 16px; line-height: 1.7; }
.elko-use2 ul { margin: 18px 0 0; padding: 0 0 0 20px; }
.elko-use2 li { margin: 0 0 10px; font-size: 15.5px; line-height: 1.6; }
.elko-use2 li::marker { color: var(--e-red); }
.elko-use2 li b { color: var(--e-ink); font-weight: 600; }
.elko-use2 li.has-ic { display: flex; gap: 10px; list-style: none; margin-left: -20px; }
.elko-use2 li.has-ic svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; color: var(--e-red); }
.elko-params dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin: 0; border-top: 1px solid var(--e-line); }
.elko-params dl > div { display: grid; grid-template-columns: 42% 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--e-line); }
.elko-params dt { font-size: 14.5px; color: var(--e-muted); }
.elko-params dd { margin: 0; font-size: 14.5px; font-weight: 500; color: var(--e-ink); }
.elko-faq { max-width: 1000px; margin-inline: auto; }
.elko-faq details { margin-bottom: 10px; border: 1px solid var(--e-sand); border-radius: var(--e-r-l); overflow: hidden; background: var(--e-cream); }
.elko-faq summary { background: var(--e-cream); }
.elko-faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 22px 26px; list-style: none; cursor: pointer; font-size: 18px; font-weight: 600; color: var(--e-ink); }
.elko-faq summary::-webkit-details-marker { display: none; }
.elko-faq summary::after { content: "+"; font-size: 26px; line-height: 1; font-weight: 400; color: var(--e-red); }
.elko-faq details[open] summary::after { content: "-"; }
.elko-faq summary:hover { background: #f5efe3; }
.elko-faq details > div { padding: 0 26px 24px; font-size: 16.5px; line-height: 1.7; }
.elko-faq details > div p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
	.elko-pros ul, .elko-use2 { grid-template-columns: 1fr; gap: 28px; }
	.elko-params dl { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.elko-pdp-desc, .elko-pdp-legacy { padding-top: 48px; }
	.elko-desc > * + * { margin-top: 64px; }
	.elko-desc-h { font-size: 21px; }
	.elko-faq h2 { font-size: 23px; }
	.elko-faq summary { padding: 18px; font-size: 16px; }
	.elko-faq details > div { padding: 0 18px 20px; font-size: 15.5px; }
	.elko-pprice .big { font-size: 30px; }
	.elko-addrow, .woocommerce-variation-add-to-cart { gap: 10px; }
}
.elko-pdp-legacy .elko-prose { max-width: 860px; }
.elko-pdp-legacy .elko-params { margin-top: 56px; }

/* ---------- zobacz też ---------- */
.elko-related.elko-sec { padding-block: 96px; }
@media (max-width: 767px) { .elko-related.elko-sec { padding-block: 56px; } }
.elko-related .elko-related-2 { margin-top: 56px; }
.elko-related-more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; border: 1px dashed var(--e-line-2); border-radius: var(--e-r-l); background: #fff; color: var(--e-ink); text-decoration: none; transition: border-color .2s, color .2s; }
.elko-related-more svg { width: 28px; height: 28px; margin-bottom: 6px; color: var(--e-red); }
.elko-related-more b { font-size: 17px; }
.elko-related-more span { font-size: 13.5px; color: var(--e-muted); }
.elko-related-more:hover { border-color: var(--e-red); color: var(--e-red); }
@media (max-width: 767px) { .elko-related-more { grid-column: 1 / -1; } }

/* ---------- toast „Dodano do koszyka” ---------- */
.elko-toast {
	position: fixed; z-index: 9000; top: calc(var(--e-header-h) + 16px); right: 20px; width: min(380px, calc(100vw - 28px));
	display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px;
	border: 1px solid var(--e-line); border-left: 4px solid var(--e-green); border-radius: var(--e-r-m); background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .16);
	opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.elko-toast.show { opacity: 1; transform: none; pointer-events: auto; }
.elko-toast.err { border-left-color: var(--e-red); }
.elko-toast > svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--e-green); margin-top: 1px; }
.elko-toast.err > svg { color: var(--e-red); }
.elko-toast .tx { flex: 1; min-width: 0; font-size: 14px; line-height: 1.45; }
.elko-toast .tx b { display: block; font-size: 15px; color: var(--e-ink); }
.elko-toast .tx span { display: block; color: var(--e-muted); overflow: hidden; text-overflow: ellipsis; }
.elko-toast .tx a { display: inline-block; margin-top: 8px; font-weight: 600; }
.elko-toast .x { flex: 0 0 auto; padding: 2px; border: 0; background: none; color: var(--e-muted); }
.elko-toast .x svg { width: 18px; height: 18px; }
@media (max-width: 767px) {
	.elko-toast { right: 14px; left: 14px; width: auto; }
}

/* ---------- przyklejony pasek na telefonie ---------- */
.elko-sticky { display: none; }
@media (max-width: 767px) {
	.elko-sticky:not([hidden]) {
		display: block; position: fixed; z-index: 800; left: 0; right: 0; bottom: 0;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--e-line);
		box-shadow: 0 -6px 24px rgba(0, 0, 0, .08);
	}
	.elko-sticky .in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
	.elko-sticky .pr { min-width: 0; line-height: 1.2; }
	.elko-sticky .pr small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--e-muted); }
	.elko-sticky .pr b { font-size: 19px; color: var(--e-ink); }
	.elko-sticky .elko-btn { flex: 0 0 auto; min-height: 46px; padding: 10px 20px; }
	body.single-product { padding-bottom: 72px; }
}

/* W skrócie: na telefonie w opisie (jak w demo), nie pod buyboxem */
.elko-facts-m { display: none; }
@media (max-width: 900px) { .elko-pdp-facts { display: none; } .elko-facts-m { display: block; margin-top: 28px; } }
.elko-intro.solo { display: block; }
/* Dobrze wiedzieć */
.elko-mini { display: grid; grid-template-columns: minmax(0, 1fr); }
.elko-box { max-width: 560px; padding: 24px 28px; border: 1px solid var(--e-line); border-radius: var(--e-r-l); background: #fff; }
.elko-box h3 { margin: 0 0 14px; font-size: 18px; }
.elko-box p { margin: 0 0 12px; font-size: 14px; line-height: 1.65; color: var(--e-text); }
.elko-box p:last-child { margin-bottom: 0; }

/* atrybuty przy cenie */
.elko-pdp-attrs { display: grid; gap: 0; margin: 0 0 22px; padding: 4px 0; border-top: 1px solid var(--e-line); border-bottom: 1px solid var(--e-line); font-size: 14px; }
.elko-pdp-attrs > div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 9px 0; }
.elko-pdp-attrs > div + div { border-top: 1px dashed var(--e-line); }
.elko-pdp-attrs dt { color: var(--e-muted); }
.elko-pdp-attrs dd { margin: 0; color: var(--e-ink); font-weight: 500; }

/* dopasowanie: „Pasuje do” / „Pasujące nakrętki i akcesoria” pod przyciskiem zakupu */
.elko-fit { margin: 0 0 22px; padding: 16px 18px; border: 1px solid var(--e-line); border-radius: var(--e-r-l); background: var(--e-cream); }
.elko-fit-h { margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--e-ink); }
.elko-fit ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.elko-fit-item { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 12px; padding: 6px 8px 6px 6px; border-radius: var(--e-r-m); background: #fff; }
.elko-fit-item .ph img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.elko-fit-item .nm { font-size: 13.5px; font-weight: 500; line-height: 1.3; color: var(--e-ink); }
.elko-fit-item .nm:hover { color: var(--e-red); }
.elko-fit-item .pr { font-size: 14px; font-weight: 700; color: var(--e-ink); white-space: nowrap; }
.elko-fit-item .pr small { font-weight: 400; color: var(--e-muted); }
.elko-fit-add { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 6px 11px; border: 1.5px solid var(--e-red); border-radius: var(--e-r-s); background: #fff; color: var(--e-red); font-size: 13px; font-weight: 600; }
.elko-fit-add:hover { background: var(--e-red); color: #fff; }
.elko-fit-add svg { width: 15px; height: 15px; }
.elko-fit-go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--e-r-s); background: var(--e-soft); color: var(--e-ink); }
.elko-fit-go svg { width: 16px; height: 16px; }
@media (max-width: 767px) {
	.elko-fit-item { grid-template-columns: 40px 1fr auto; }
	.elko-fit-item .pr { grid-column: 2; grid-row: 2; }
	.elko-fit-add, .elko-fit-go { grid-row: 1 / span 2; grid-column: 3; }
}

/* Po dodaniu do koszyka WooCommerce dokleja link „Zobacz koszyk” obok przycisku i zwęża go - link jest już w komunikacie (toast). */
.elko-pdp-buy a.added_to_cart { display: none; }
