/**
 * Strona pojedynczego produktu (kurs).
 */

.eureka-product-page .eureka-wc {
	background: #f8f9fb;
}

/* Nadpisanie siatki z woocommerce-eureka.css (inaczej sekcje lądują w 2 kolumnach obok siebie). */
body.single-product .eureka-product-single.product,
body.single-product .eureka-product-single.woocommerce {
	display: block !important;
	grid-template-columns: none !important;
	gap: 0 !important;
	margin-bottom: 0;
}

.eureka-product-single {
	max-width: 100%;
}

.eureka-product-hero > .row > [class*="col-"] {
	min-width: 0;
}

/* Breadcrumb */
.eureka-product-breadcrumb .woocommerce-breadcrumb {
	font-size: 0.8125rem;
	color: var(--bs-secondary-color);
	margin: 0;
}

.eureka-product-breadcrumb .woocommerce-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.eureka-product-breadcrumb .woocommerce-breadcrumb a:hover {
	color: var(--eureka-primary);
}

/* Kolumna galerii — sticky zdjęcie + panel kontaktu pod spodem */
.eureka-product-gallery-column {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media (min-width: 992px) {
	.eureka-product-gallery-sticky {
		position: sticky;
		top: calc(var(--eureka-header-offset, 5.5rem) + 1rem);
		z-index: 2;
	}
}

.eureka-product-gallery-aside {
	background: #fff;
}

.eureka-product-gallery-aside__kicker {
	letter-spacing: 0.06em;
	font-size: 0.6875rem;
}

.eureka-product-gallery-aside__phone {
	color: #111827;
	font-size: 0.9375rem;
}

.eureka-product-gallery-aside__phone:hover {
	color: var(--eureka-primary, #b80f35);
}

.eureka-product-gallery-aside__phone-icon {
	width: 2rem;
	height: 2rem;
	font-size: 0.875rem;
	color: var(--eureka-primary, #b80f35);
	background: rgba(184, 15, 53, 0.08);
}

/* Galeria produktu */
.eureka-product-gallery-wrap {
	position: relative;
	background: #fff;
	box-shadow: none;
	line-height: 0;
	overflow: hidden;
}

.eureka-product-single .woocommerce-product-gallery {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	opacity: 1 !important;
	position: relative;
}

.eureka-product-single .woocommerce-product-gallery.images {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

.eureka-product-single .woocommerce-product-gallery .flex-viewport {
	overflow: hidden !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
}

/* Flexslider przesuwa wrapper przez transform — nie nadpisuj */
.eureka-product-single .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper {
	margin: 0 !important;
	padding: 0 !important;
	border: none;
	box-shadow: none;
	border-radius: 0;
	overflow: hidden;
}

.eureka-product-single .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image {
	margin: 0 !important;
}

.eureka-product-single .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image a {
	display: block;
	position: relative;
	line-height: 0;
}

.eureka-product-single .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	max-height: min(28rem, 65vh);
	object-fit: contain;
	object-position: center;
	display: block;
	margin: 0;
}

/* Jedno zdjęcie — bez .flex-viewport */
.eureka-product-single .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
	margin: 0 !important;
	padding: 0 !important;
	border: none;
	box-shadow: none;
	border-radius: 0;
	overflow: hidden;
}

.eureka-product-single .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.eureka-product-single .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a {
	display: block;
	position: relative;
	line-height: 0;
}

.eureka-product-single .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	max-height: min(28rem, 65vh);
	object-fit: contain;
	object-position: center;
	display: block;
	margin: 0;
}

/* Lupa zoom — w rogu zdjęcia, nie w pustej przestrzeni */
.eureka-product-single .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 1rem;
	left: 1rem;
	right: auto;
	bottom: auto;
	z-index: 8;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92) !important;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12);
	text-indent: -9999px;
	overflow: hidden;
	border: none;
}

.eureka-product-single .woocommerce-product-gallery__trigger::before {
	content: '';
	position: absolute;
	inset: 0;
	margin: auto;
	width: 1.125rem;
	height: 1.125rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b80f35' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.1a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eureka-product-single .woocommerce-product-gallery__trigger img {
	display: none !important;
}

.eureka-product-single .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0.75rem 1rem 1rem;
	margin: 0;
	list-style: none;
	line-height: normal;
	background: #fff;
}

.eureka-product-single .woocommerce-product-gallery .flex-control-thumbs:empty {
	display: none;
	padding: 0;
}

.eureka-product-single .woocommerce-product-gallery .flex-control-thumbs li {
	width: 4.5rem;
	flex: 0 0 auto;
	float: none;
	margin: 0;
}

.eureka-product-single .woocommerce-product-gallery .flex-control-thumbs img {
	border-radius: 0.5rem;
	opacity: 0.65;
	width: 100%;
	height: auto;
}

.eureka-product-single .woocommerce-product-gallery .flex-control-thumbs li.flex-active-slide img,
.eureka-product-single .woocommerce-product-gallery .flex-control-thumbs li:hover img {
	opacity: 1;
	outline: 2px solid var(--eureka-primary);
}

/* Nadpisanie globalnych styli WC wewnątrz wrapera */
.eureka-product-gallery-wrap .woocommerce-product-gallery__wrapper {
	border: none;
	box-shadow: none;
}

/* Summary card — sekcje jak w mockupie */
.eureka-product-summary {
	background: #fff;
	align-self: flex-start;
}

.eureka-product-summary__section--head {
	border-bottom: none;
}

.eureka-product-summary__section--purchase {
	border-top: 0;
}

.eureka-product-summary .eureka-product-edu-points,
.eureka-product-edu-points {
	color: var(--eureka-navy);
	line-height: 1.45;
	font-weight: 400;
}

.eureka-product-edu-points__link {
	color: var(--eureka-red);
	text-decoration: none;
}

.eureka-product-edu-points__link:hover,
.eureka-product-edu-points__link:focus-visible {
	color: var(--eureka-red-deep);
	text-decoration: underline;
}

.eureka-product-edu-points__label,
.eureka-product-edu-points__text,
.eureka-product-edu-points__link,
.eureka-product-edu-points .fw-bold {
	font-weight: 400 !important;
}

.eureka-product-edu-points__link + .eureka-product-edu-points__text::before {
	content: ' ';
}

/* Galeria: naturalna wysokość (bez rozciągania pod kartę summary) */
@media (min-width: 992px) {
	.eureka-product-hero > .row > .col-lg-5,
	.eureka-product-hero > .row > .col-lg-7 {
		align-self: flex-start;
	}

	.eureka-product-gallery-wrap .woocommerce-product-gallery .flex-viewport {
		max-height: min(32rem, 70vh);
	}

	.eureka-product-gallery-wrap .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
		height: auto !important;
	}

	.eureka-product-gallery-wrap .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image,
	.eureka-product-gallery-wrap .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image a,
	.eureka-product-gallery-wrap .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
	.eureka-product-gallery-wrap .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a {
		height: auto !important;
	}
}

.eureka-product-badge {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	line-height: 1.2;
}

.eureka-product-badge--primary {
	background: var(--eureka-primary);
	color: #fff;
}

.eureka-product-badge--dark {
	background: #1a1f36;
	color: #fff;
}

.eureka-product-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.2;
	color: #111827;
}

.eureka-product-price-wrap .price {
	font-size: clamp(1.375rem, 2.5vw, 1.75rem);
	font-weight: 800;
	color: #111827;
	margin: 0;
	line-height: 1.2;
	display: block;
	width: 100%;
}

.eureka-product-price-wrap .price del {
	font-size: 1rem;
	font-weight: 500;
	color: var(--bs-secondary-color);
	margin-right: 0.5rem;
}

.eureka-product-price-wrap .price ins {
	text-decoration: none;
}

.eureka-product-price-wrap .price .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.eureka-product-price-wrap .iworks-omnibus {
	display: block !important;
	width: 100% !important;
	max-width: 100%;
	margin: 0.25rem 0 0 !important;
	padding: 0 !important;
	font-size: 0.6875rem;
	font-weight: 400;
	line-height: 1.35;
	color: var(--bs-secondary-color);
}

.eureka-product-price-wrap .iworks-omnibus .woocommerce-Price-amount,
.eureka-product-price-wrap .iworks-omnibus .woocommerce-Price-amount bdi,
.eureka-product-price-wrap .iworks-omnibus bdi {
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
}

/* Termin picker */
.eureka-product-termin-picker {
	width: 100%;
}

.eureka-product-termin-picker legend {
	font-size: 0.9375rem;
}

.eureka-product-termin-list {
	width: 100%;
}

.eureka-product-termin-option {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	max-width: 100%;
	padding: 0.875rem 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.75rem;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	margin: 0;
	box-sizing: border-box;
}

.eureka-product-termin-option:hover {
	/* poprzednio: rgba(221, 10, 84, 0.35) */
	border-color: rgb(184 15 53 / 0.35);
}

.eureka-product-termin-option.is-selected {
	border-color: var(--eureka-primary);
	box-shadow: 0 0 0 1px var(--eureka-primary);
}

.eureka-product-termin-option__input {
	flex-shrink: 0;
	accent-color: var(--eureka-primary);
}

.eureka-product-termin-option__label {
	flex: 1;
	font-size: 0.875rem;
	font-weight: 500;
}

.eureka-product-termin-option__price {
	font-size: 0.875rem;
	font-weight: 700;
	white-space: nowrap;
}

.eureka-product-termin-option__price .woocommerce-Price-amount {
	font-size: inherit;
}

.eureka-product-termin-option.eureka-termin-option--hidden,
.eureka-product-termin-option[hidden] {
	display: none !important;
}

/* Termin nad przyciskiem — pełna szerokość, nie w jednym rzędzie z przyciskiem WC */
body.single-product .variations_form.cart .woocommerce-variation-add-to-cart.variations_button {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	width: 100%;
}

body.single-product .variations_form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button {
	flex: 1 1 100%;
	width: 100% !important;
	max-width: 100%;
}

.eureka-product-termin-picker:not(.eureka-termin-picker--has-visible) .eureka-product-termin-list {
	display: none;
}

.eureka-product-termin-picker.eureka-termin-picker--hidden {
	display: none !important;
}

/* Akcje — warianty, meta, przyciski w osobnych blokach */
body.single-product .eureka-product-summary .eureka-product-actions form.cart {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 1.25rem;
	padding: 0;
	margin: 0 !important;
	background: transparent;
	border: none;
}

body.single-product .eureka-product-summary .eureka-product-actions form.variations_form.cart .eureka-variation-picker {
	margin-bottom: 0 !important;
}

body.single-product .eureka-product-summary .eureka-product-actions form.cart > .eureka-product-meta-grid {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

body.single-product .eureka-product-summary .eureka-product-actions form.cart .woocommerce-variation-add-to-cart {
	display: block;
	padding-top: 0.25rem;
}

body.single-product .eureka-product-summary .eureka-product-actions form.cart .eureka-product-go-cart-btn {
	display: none !important;
}

body.single-product .variations_form.cart .single_variation_wrap.eureka-variation-ready,
body.single-product .variations_form.cart .single_variation_wrap.eureka-variation-ready .woocommerce-variation-add-to-cart {
	display: block !important;
}

body.single-product .eureka-product-summary .eureka-product-actions form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	max-width: 100%;
	margin: 0 auto;
}

.eureka-atc-inline-error {
	margin-bottom: 1rem;
}

body.single-product .eureka-product-summary .eureka-product-actions form.cart .woocommerce-variation-add-to-cart .eureka-product-meta-grid {
	display: none !important;
}

.eureka-product-actions form.cart > *:not(.eureka-product-termin-picker):not(.eureka-product-termin-note):not(.eureka-product-meta):not(.eureka-variation-picker):not(.eureka-product-meta-grid):not(.single_variation_wrap) {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.eureka-product-actions form.cart .single_add_to_cart_button,
.eureka-product-actions form.cart .eureka-product-inquiry-btn {
	margin: 0 !important;
}

.eureka-product-actions form.cart .woocommerce-variation-add-to-cart {
	margin: 0 !important;
	padding: 0 !important;
}

.eureka-product-summary form.cart .quantity {
	display: none !important;
}

.eureka-product-actions .btn,
.eureka-product-summary form.cart .single_add_to_cart_button,
.eureka-product-summary form.cart .button.alt,
.eureka-product-summary form.cart .eureka-product-go-cart-btn {
	border-radius: 999px !important;
	padding: 0.65rem 1.25rem !important;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.4;
}

.eureka-product-actions .woocommerce-variation-add-to-cart .single_add_to_cart_button,
.eureka-product-actions .woocommerce-variation-add-to-cart .eureka-product-go-cart-btn {
	flex: 1 1 calc(50% - 0.375rem);
	width: auto !important;
	min-width: 0;
}

.eureka-product-actions .woocommerce-variation-add-to-cart .single_add_to_cart_button:only-child {
	flex: 1 1 100%;
	width: 100% !important;
}

.eureka-product-cart-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;
	width: 100%;
	padding-top: 0.25rem;
}

.eureka-product-cart-buttons .single_add_to_cart_button,
.eureka-product-cart-buttons .eureka-product-go-cart-btn {
	flex: 1 1 calc(50% - 0.375rem);
	width: auto !important;
	min-width: 0;
}

@media (max-width: 575.98px) {
	.eureka-product-actions .woocommerce-variation-add-to-cart .single_add_to_cart_button,
	.eureka-product-actions .woocommerce-variation-add-to-cart .eureka-product-go-cart-btn,
	.eureka-product-cart-buttons .single_add_to_cart_button,
	.eureka-product-cart-buttons .eureka-product-go-cart-btn {
		flex: 1 1 100%;
		width: 100% !important;
	}
}

.eureka-product-summary form.cart .single_add_to_cart_button,
.eureka-product-summary form.cart .button.alt {
	margin-top: 0 !important;
	box-shadow: var(--eureka-shadow-glow);
}

.eureka-product-actions .eureka-product-inquiry-btn {
	border-color: var(--bs-border-color);
	color: var(--bs-body-color);
	background-color: transparent;
}

.eureka-product-actions .eureka-product-inquiry-btn:hover,
.eureka-product-actions .eureka-product-inquiry-btn:focus-visible {
	/* poprzednio: #e41657 */
	border-color: var(--eureka-red);
	color: var(--eureka-red);
	background-color: transparent;
}

/* Warianty — ukryty select (sterowany kartami + WC JS); bez przechwytywania kliknięć */
.eureka-variations-table--hidden {
	position: fixed;
	left: -9999px;
	top: 0;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	pointer-events: none;
	visibility: hidden;
	z-index: -1;
}

.eureka-variations-table--hidden select {
	pointer-events: none;
}

.eureka-variation-picker__legend {
	letter-spacing: 0.06em;
	font-size: 0.6875rem;
}

.eureka-variation-picker--single .eureka-variation-option--single {
	cursor: default;
}

.eureka-variation-picker--single .eureka-variation-option--single:hover {
	border-color: var(--eureka-primary, #b80f35);
}

.eureka-variation-option {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	width: 100%;
	margin: 0;
	padding: calc(1rem - 1px) calc(1.125rem - 1px);
	border: 2px solid #e5e7eb;
	border-radius: 0.875rem;
	background: #fff;
	text-align: left;
	cursor: pointer;
	position: relative;
	z-index: 0;
	transition: border-color 0.15s ease;
}

.eureka-variation-option__input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.eureka-variation-option:hover {
	border-color: rgba(184, 15, 53, 0.35);
}

.eureka-variation-option:has(.eureka-variation-option__input:checked) {
	border-color: var(--eureka-primary, #b80f35);
	z-index: 0;
}

.eureka-variation-option__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.65rem;
	background: #f3f4f6;
	color: #6b7280;
	flex-shrink: 0;
}

.eureka-variation-option:has(.eureka-variation-option__input:checked) .eureka-variation-option__icon {
	background: rgba(184, 15, 53, 0.1);
	color: var(--eureka-primary, #b80f35);
}

.eureka-variation-option.is-unavailable {
	cursor: not-allowed;
	opacity: 0.72;
	background: #f9fafb;
	border-color: #e5e7eb;
	border-style: dashed;
}

.eureka-variation-option.is-unavailable .eureka-variation-option__icon {
	background: #eef0f2;
	color: #9ca3af;
}

.eureka-variation-option.is-unavailable .eureka-variation-option__title,
.eureka-variation-option.is-unavailable .eureka-variation-option__price-current {
	color: #9ca3af;
}

.eureka-variation-option.is-unavailable:has(.eureka-variation-option__input:checked) {
	border-color: #d1d5db;
	border-style: dashed;
	box-shadow: none;
}

.eureka-variation-option.is-awaiting-schedule {
	cursor: pointer;
	opacity: 0.88;
	background: #f3f4f6;
	border-color: #d1d5db;
	border-style: dashed;
}

.eureka-variation-option.is-awaiting-schedule:hover {
	border-color: rgba(184, 15, 53, 0.45);
	background: #f9fafb;
}

.eureka-variation-option.is-awaiting-schedule .eureka-variation-option__icon {
	background: #e5e7eb;
	color: #6b7280;
}

.eureka-variation-option.is-awaiting-schedule:has(.eureka-variation-option__input:checked) {
	border-color: #9ca3af;
	border-style: dashed;
	box-shadow: none;
}

.eureka-variation-option.is-awaiting-schedule .eureka-variation-option__title {
	color: #4b5563;
}

.eureka-variation-option__awaiting-schedule {
	color: #6b7280;
	font-weight: 500;
	line-height: 1.35;
}

.eureka-variation-option__unavailable {
	color: #b91c1c;
	font-weight: 600;
}

.eureka-variation-option__price.is-muted .eureka-variation-option__price-current {
	color: #9ca3af;
}

.eureka-variation-option__icon .bi {
	font-size: 1.125rem;
}

.eureka-variation-option__body {
	flex: 1;
	min-width: 0;
}

.eureka-variation-option__title {
	font-size: 0.9375rem;
	color: #111827;
}

.eureka-variation-option__spots {
	color: #ea580c;
	font-weight: 600;
}

.eureka-variation-option__spots--none {
	color: #b91c1c;
}

.eureka-variation-option__price-current {
	font-size: 1rem;
	color: #111827;
}

.eureka-variation-option__price-old {
	font-size: 0.8125rem;
}

.eureka-product-rating__score {
	color: #111827;
}

.eureka-product-meta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
	gap: 1rem 0.75rem;
	width: 100%;
}

.eureka-product-meta-grid__cell {
	min-width: 0;
}

.eureka-product-meta-grid__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	gap: 0.4rem;
	min-height: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.eureka-product-meta-grid__icon {
	display: block;
	font-size: 1.375rem;
	line-height: 1;
	color: var(--eureka-primary, #b80f35);
}

.eureka-product-meta-grid__kicker {
	display: block;
	letter-spacing: 0.06em;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--bs-secondary-color);
	line-height: 1.3;
}

.eureka-product-meta-grid__value {
	display: block;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #111827;
	line-height: 1.35;
	hyphens: auto;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.eureka-product-about__sidebar .eureka-product-includes {
	overflow-wrap: break-word;
}

/* Sidebar: box trenera */
.eureka-product-about__sidebar .eureka-product-trainer {
	overflow-wrap: break-word;
}

.eureka-product-trainer__label {
	letter-spacing: 0.04em;
}

.eureka-product-trainer__photo-wrap {
	width: 9.5rem;
	height: 9.5rem;
	padding: 0.35rem;
	background: #fff;
	border-radius: 0.75rem;
	box-shadow: 0 4px 18px rgba(17, 24, 39, 0.08);
}

.eureka-product-trainer__photo {
	width: 100%;
	height: 100%;
	display: block;
}

.eureka-product-trainer__credentials {
	line-height: 1.55;
	hyphens: auto;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.eureka-product-trainer__bio,
.eureka-product-trainer__bio-block {
	line-height: 1.6;
	hyphens: auto;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.eureka-product-actions form.cart .woocommerce-variation-price,
.eureka-product-actions form.cart .woocommerce-variation-description {
	display: none !important;
}

.eureka-product-actions form.cart .woocommerce-variation-availability {
	margin-bottom: 0.5rem;
}

.eureka-product-actions .eureka-product-go-cart-btn {
	margin-top: 0.375rem !important;
}

.eureka-product-summary form.cart .single_add_to_cart_button::before {
	font-family: bootstrap-icons !important;
	content: '\f244';
	margin-right: 0.35rem;
	font-weight: 400;
	vertical-align: -0.1em;
}

.eureka-product-summary table.variations {
	width: 100%;
	margin-bottom: 0.5rem;
}

.eureka-product-summary table.variations select {
	border-radius: 0.5rem;
}

/* Sidebar: wymagania + pakiet kursu */
.eureka-product-about__sidebar .eureka-check-list li {
	min-width: 0;
}

.eureka-product-about__sidebar .eureka-check-list li > span {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.eureka-product-requirements {
	overflow-wrap: break-word;
}

/* CTA box */
.eureka-product-cta-box .btn-light,
.eureka-product-cta-box .eureka-product-inquiry-btn.btn-light {
	color: var(--eureka-primary);
	font-weight: 600;
}

.eureka-product-cta-box button.eureka-product-inquiry-btn {
	border: none;
}

.eureka-product-cta-box {
	background: linear-gradient(135deg, var(--eureka-primary) 0%, var(--eureka-primary-deep) 100%);
}

/* Program */
.eureka-product-program__heading {
	font-size: clamp(1.375rem, 3vw, 1.75rem);
	line-height: 1.25;
}

.eureka-product-program__item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	background: #fff;
	border: 1px solid var(--eureka-border);
	border-radius: 1.25rem;
	padding: 1.25rem 1.375rem 1.375rem;
	box-shadow: var(--eureka-shadow-card);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.eureka-product-program__item:hover {
	transform: translateY(-2px);
	box-shadow: var(--eureka-shadow-elevated);
	border-color: rgb(184 15 53 / 0.18);
}

.eureka-product-program__num {
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--eureka-gradient-primary);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgb(184 15 53 / 0.28);
}

.eureka-product-program__body {
	flex: 1 1 auto;
	min-width: 0;
	padding-top: 0.125rem;
}

.eureka-product-program__label {
	display: block;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--eureka-primary);
	margin-bottom: 0.375rem;
}

.eureka-product-program__text {
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.55;
	color: #374151;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.eureka-product-program__expand:not(:checked) ~ .eureka-product-program__list > li.eureka-product-program__item--extra {
	display: none !important;
}

.eureka-product-program__expand:checked ~ .eureka-product-program__actions .eureka-product-program__toggle-more {
	display: none;
}

.eureka-product-program__expand:not(:checked) ~ .eureka-product-program__actions .eureka-product-program__toggle-less {
	display: none;
}

.eureka-product-program__toggle {
	font-weight: 600;
	min-width: 11rem;
	cursor: pointer;
}

/* For you */
.eureka-product-for-you__inner {
	background: #f8f9fb;
	border-radius: 1.5rem;
	padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
}

.eureka-product-for-you__heading {
	font-size: clamp(1.375rem, 3vw, 1.75rem);
	line-height: 1.25;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

.eureka-product-for-you__card {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	width: 100%;
	height: 100%;
	background: #fff;
	border: 1px solid var(--eureka-border);
	border-radius: 1.25rem;
	box-shadow: var(--eureka-shadow-card);
	padding: 1.25rem 1.375rem 1.375rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.eureka-product-for-you__card:hover {
	transform: translateY(-3px);
	box-shadow: var(--eureka-shadow-elevated);
	border-color: rgb(184 15 53 / 0.15);
}

.eureka-product-for-you__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.eureka-product-for-you__icon {
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--eureka-gradient-primary);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgb(184 15 53 / 0.28);
}

.eureka-product-for-you__icon .bi {
	font-size: 1.125rem;
	line-height: 1;
}

.eureka-product-for-you__title {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
	color: #111827;
	margin: 0;
}

.eureka-product-for-you__text {
	width: 100%;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--bs-secondary-color);
	margin: 0;
	padding-top: 0.125rem;
	border-top: 1px solid var(--eureka-border);
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* FAQ */
.eureka-product-faq__item {
	border-color: #e5e7eb !important;
}

.eureka-product-faq__accordion .accordion-button {
	font-size: 0.9375rem;
	padding: 1rem 1.25rem;
	box-shadow: none;
}

.eureka-product-faq__accordion .accordion-button:not(.collapsed) {
	color: var(--eureka-red);
	/* poprzednio: rgba(221, 10, 84, 0.06) */
	background: rgb(184 15 53 / 0.06);
}

.eureka-product-faq__accordion .accordion-button::after {
	filter: none;
	/* poprzednio: fill='%23b80f35' */
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b80f35'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
}

/* Sidebar „Masz pytania?” — sticky na desktopie */
@media (min-width: 992px) {
	.eureka-product-about__sidebar {
		position: sticky;
		top: var(--eureka-sticky-top, 6rem);
		align-self: flex-start;
	}
}

.eureka-product-summary form.cart .quantity .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 991.98px) {
	.eureka-product-meta {
		flex-direction: column !important;
	}

	.eureka-product-for-you__inner {
		border-radius: 0;
		margin-left: calc(-1 * var(--bs-gutter-x, 0.75rem));
		margin-right: calc(-1 * var(--bs-gutter-x, 0.75rem));
		padding-left: var(--bs-gutter-x, 0.75rem);
		padding-right: var(--bs-gutter-x, 0.75rem);
	}
}

/* Sekcja Zapewniamy (prod_zapewniamy / szablon globalny) */
.eureka-product-zapewniamy__inner {
	max-width: 52rem;
}

.eureka-product-zapewniamy__heading {
	font-size: clamp(1.375rem, 3vw, 1.75rem);
	line-height: 1.25;
}

.eureka-product-zapewniamy__content {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--bs-body-color);
}

.eureka-product-zapewniamy__content strong {
	font-weight: 700;
	color: #111827;
}

.eureka-zapewniamy-cards {
	margin-bottom: 0;
}

.eureka-zapewniamy-card {
	background: #fff;
}

.eureka-zapewniamy-card__media {
	border-bottom: 1px solid var(--eureka-border, #e8e4df);
}

.eureka-zapewniamy-card__media img {
	width: 100%;
	height: 100%;
}

.eureka-zapewniamy-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 4.5rem;
}

.eureka-zapewniamy-card__body h3 {
	line-height: 1.35;
	max-width: 18rem;
}


/* Sekcja wideo na stronie produktu */
.product-video-section__title {
	text-align: center;
}

/* —— Opinie produktu —— */
.eureka-product-reviews__inner {
	max-width: 56rem;
}

.eureka-product-reviews__title {
	font-size: clamp(1.375rem, 3vw, 1.75rem);
	line-height: 1.25;
	color: #111827;
}

.eureka-product-reviews__summary {
	/* poprzednio: hsl(339 95% 98%) */
	background: linear-gradient(135deg, var(--eureka-surface-muted) 0%, #fff 55%);
}

.eureka-product-reviews__summary-score {
	font-size: clamp(2rem, 5vw, 2.75rem);
	line-height: 1;
	color: var(--bs-primary);
}

/* Gwiazdki (lista + podsumowanie + formularz) */
.eureka-review-stars {
	display: inline-flex;
	align-items: center;
	gap: 0.15rem;
	line-height: 1;
}

.eureka-review-stars .bi {
	font-size: 0.9375rem;
	color: var(--bs-primary);
}

.eureka-review-stars--lg .bi {
	font-size: 1.125rem;
}

/* Lista opinii */
.eureka-product-reviews__list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0;
	margin: 0;
}

.eureka-product-reviews__list > .eureka-review-item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.eureka-product-reviews__expand:not(:checked)
	~ .eureka-product-reviews__list
	> .eureka-product-reviews__item--extra {
	display: none !important;
}

.eureka-product-reviews__expand:checked ~ .eureka-product-reviews__actions .eureka-product-reviews__toggle-more {
	display: none;
}

.eureka-product-reviews__expand:not(:checked) ~ .eureka-product-reviews__actions .eureka-product-reviews__toggle-less {
	display: none;
}

.eureka-product-reviews__toggle {
	font-weight: 600;
	min-width: 12rem;
	cursor: pointer;
}

.eureka-review-card {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1.25rem 1.375rem;
	background: #fff;
	border: 1px solid var(--eureka-border, #e8eaef);
	border-radius: 1.25rem;
	box-shadow: 0 1px 3px rgb(15 23 42 / 4%);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.eureka-review-card:hover {
	border-color: rgb(184 15 53 / 0.2);
	box-shadow: 0 8px 24px rgb(15 23 42 / 6%);
}

.eureka-review-card__avatar {
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #fff;
	/* poprzednio: linear-gradient(135deg, #e91e8c, #c4177a) */
	background: var(--eureka-gradient-primary);
	box-shadow: 0 4px 12px rgb(184 15 53 / 0.25);
}

.eureka-review-card__body {
	flex: 1 1 auto;
	min-width: 0;
}

.eureka-review-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 0.625rem;
}

.eureka-review-card__author {
	display: block;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #111827;
	line-height: 1.35;
}

.eureka-review-card__date {
	display: block;
	font-size: 0.8125rem;
	color: var(--bs-secondary-color);
	font-weight: 500;
	margin-top: 0.125rem;
}

.eureka-review-card__text {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--bs-body-color);
}

.eureka-review-card__text p:last-child {
	margin-bottom: 0;
}

/* Ukryj domyślny markup WC w sekcji opinii */
.eureka-product-reviews .star-rating,
.eureka-product-reviews .comment_container img.avatar,
.eureka-product-reviews .woocommerce-review__dash {
	display: none !important;
}

.eureka-product-reviews__empty {
	padding: 1rem 1.25rem;
	background: #f8f9fb;
	border-radius: 1rem;
	border: 1px dashed var(--eureka-border, #e8eaef);
}

/* Formularz opinii */
.eureka-product-reviews__form {
	background: #fff;
}

.eureka-product-reviews__form .comment-respond {
	margin: 0;
}

.eureka-product-reviews__form .comment-reply-title {
	color: #111827;
}

.eureka-product-reviews__form .comment-notes {
	font-size: 0.8125rem;
	color: var(--bs-secondary-color);
	margin-bottom: 1rem;
}

.eureka-product-reviews__form .form-label {
	font-size: 0.875rem;
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.eureka-product-reviews__form .form-control,
.eureka-product-reviews__form .form-select {
	border-radius: 0.75rem;
	border-color: var(--eureka-border, #e8eaef);
}

.eureka-product-reviews__form .form-control:focus {
	border-color: var(--bs-primary);
	box-shadow: 0 0 0 3px rgb(184 15 53 / 0.12);
}

.eureka-review-form-stars {
	display: inline-flex;
	gap: 0.25rem;
	margin-top: 0.35rem;
	margin-bottom: 0.25rem;
}

/* Ukryj natywny select i domyślne gwiazdki WooCommerce (tekst „1 z 5 gwiazdek…”) */
.eureka-review-form-rating .eureka-review-rating-native,
.eureka-review-form-rating select[name="rating"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.eureka-review-form-rating p.stars,
.eureka-product-reviews__form p.stars {
	display: none !important;
}

.eureka-review-form-stars__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 0.5rem;
	background: transparent;
	color: #d1d5db;
	cursor: pointer;
	transition: color 0.15s ease, transform 0.15s ease;
}

.eureka-review-form-stars__btn:hover,
.eureka-review-form-stars__btn.is-active,
.eureka-review-form-stars__btn.is-hover {
	color: var(--bs-primary);
	transform: scale(1.05);
}

.eureka-review-form-stars__btn .bi {
	font-size: 1.5rem;
	pointer-events: none;
}

.eureka-product-reviews__form .eureka-cf7-submit-wrap,
.eureka-product-reviews__form .form-submit {
	margin-top: 0.5rem;
	margin-bottom: 0;
}

.eureka-product-reviews__form #submit,
.eureka-product-reviews__form .form-submit .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.75rem;
	border-radius: 50rem;
	background: var(--bs-primary);
	border: 0;
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.eureka-product-reviews__form #submit:hover,
.eureka-product-reviews__form .form-submit .submit:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.eureka-product-reviews__form .comment-form-cookies-consent {
	font-size: 0.8125rem;
	color: var(--bs-secondary-color);
}

.eureka-product-reviews__form .comment-form-cookies-consent label {
	font-weight: 400;
}

.eureka-product-reviews__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.5rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--bs-body-color);
	border: 1px solid var(--eureka-border, #e8eaef);
}

.eureka-product-reviews__pagination .page-numbers.current {
	background: var(--bs-primary);
	border-color: var(--bs-primary);
	color: #fff;
}

.eureka-product-reviews__verify {
	padding: 1rem 1.25rem;
	background: #f8f9fb;
	border-radius: 1rem;
}

@media (max-width: 575.98px) {
	.eureka-review-card {
		flex-direction: column;
		gap: 0.75rem;
		padding: 1rem 1.125rem;
	}

	.eureka-review-card__head {
		flex-direction: column;
		align-items: flex-start;
	}
}

