/* --- Style dla wyszukiwarki --- */
.search-container {
	position: relative;
	padding: 24px 32px;
	border-bottom: 1px solid rgba(201, 147, 21, 0.1);
}

.icon-ige {
	margin-right: 23px;
}

.service-price-container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	flex-shrink: 0;
	min-width: fit-content;
}

@media screen and (max-width: 600px) {
	.service-price-container {
		display: none;
	}
}

.service-price-container img {
	transition: all 0.1s ease;
	width: 35px;
	height: 35px;
	cursor: pointer;
}

.service-price-container img:hover {
	transition: all 0.1s ease;
	width: 38px;
	height: 38px;
}

.service-item-container {
	display: flex;
	width: 100%;
}

.search-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.services-list a {
	width: 100%;
}

#search-input {
	width: 100%;
	padding: 16px 50px 16px 50px;
	font-size: 16px;
	border: 2px solid rgba(201, 147, 21, 0.2);
	background: rgba(255, 255, 255, 0.9);
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
	font-style: normal;
	transition: all 0.3s ease;
	outline: none;
}

#search-input:focus {
	border-color: rgb(201, 147, 21);
	background: rgba(255, 255, 255, 1);
	box-shadow: 0 0 0 3px rgba(201, 147, 21, 0.1);
}

#search-input::placeholder {
	color: #999;
	font-style: italic;
}

.search-icon {
	position: absolute;
	left: 16px;
	font-size: 18px;
	color: #666;
	pointer-events: none;
	z-index: 1;
}

.clear-search-btn {
	position: absolute;
	right: 16px;
	background: none;
	border: none;
	font-size: 20px;
	color: #999;
	cursor: pointer;
	padding: 4px;
	transition: all 0.2s ease;
	z-index: 1;
}

.clear-search-btn:hover {
	background: rgba(201, 147, 21, 0.1);
	color: rgb(201, 147, 21);
}

.search-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.98);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(201, 147, 21, 0.2);
	border-top: none;
	max-height: 300px;
	overflow-y: auto;
	z-index: 100;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.suggestion-item {
	padding: 12px 20px;
	cursor: pointer;
	border-bottom: 1px solid rgba(201, 147, 21, 0.1);
	transition: all 0.2s ease;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.suggestion-item:last-child {
	border-bottom: none;
}

.suggestion-item:hover {
	background: rgba(201, 147, 21, 0.1);
}

.suggestion-content {
	flex: 1;
}

.suggestion-title {
	font-weight: 600;
	color: #333;
	margin-bottom: 4px;
}

.suggestion-subtitle {
	font-size: 14px;
	color: #666;
}

.suggestion-price {
	font-weight: 600;
	color: rgb(201, 147, 21);
	font-size: 16px;
}

.suggestion-category {
	font-size: 12px;
	color: #999;
	background: rgba(201, 147, 21, 0.1);
	padding: 2px 8px;
	margin-left: 8px;
}

/* Wyróżnienie znalezionych elementów */
.search-highlight {
	background: rgba(255, 235, 59, 0.3);
	padding: 2px 4px;
	animation: highlightPulse 2s ease-in-out;
}

/* Animacja podświetlenia elementu po kliknięciu w sugestię */
.highlight-flash {
	animation: flashHighlight 2s ease-in-out;
}

@keyframes flashHighlight {

	0%,
	100% {
		background: transparent;
	}

	10%,
	50% {
		background: rgba(201, 147, 21, 0.2);
	}
}

@keyframes highlightPulse {

	0%,
	100% {
		background: rgba(255, 235, 59, 0.3);
	}

	50% {
		background: rgba(255, 235, 59, 0.6);
	}
}

/* Ukrywanie sekcji podczas wyszukiwania */
.search-active .accordion-section:not(.search-match) {
	display: none;
}

.search-active .service-item:not(.search-match) {
	display: none;
}

/* Style dla pustych wyników */
.no-results {
	text-align: center;
	padding: 40px 20px;
	color: #666;
}

.no-results-icon {
	font-size: 48px;
	margin-bottom: 16px;
	opacity: 0.5;
}

.no-results-text {
	font-size: 18px;
	margin-bottom: 8px;
}

.no-results-subtitle {
	font-size: 14px;
	color: #999;
}

/* --- karta --- */
.card {
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	max-width: 750px;
	width: 100%;
	overflow: hidden;
	position: relative;
	z-index: 2;
	transform: translateY(0);
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card:hover {
	transform: translateY(-4px);
	box-shadow:
		0 40px 80px rgba(0, 0, 0, 0.15),
		0 20px 40px rgba(0, 0, 0, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.4),
		0 0 0 1px rgba(29, 43, 109, 0.08);
}

/* --- akordeon --- */
.accordion-controls {
	display: flex;
	gap: 16px;
	padding: 24px 32px;
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
	border-bottom: 1px solid rgba(203, 213, 225, 0.6);
	position: relative;
}

.accordion-controls::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.accordion-controls button {
	padding: 14px 24px;
	border: none;
	background: linear-gradient(135deg, rgb(201, 147, 21) 0%, rgb(228, 183, 124) 100%);
	color: white;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.accordion-controls button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.accordion-controls button:hover {
	background: linear-gradient(135deg, rgb(234, 201, 122) 0%, rgb(228, 183, 124) 100%);
	transform: translateY(-2px);
	box-shadow:
		0 8px 16px rgba(201, 147, 21, 0.35),
		0 4px 8px rgba(201, 147, 21, 0.2);
}

.accordion-controls button:hover::before {
	left: 100%;
}

.accordion-controls button:active {
	transform: translateY(-1px);
	transition: transform 0.1s ease;
}

.accordion-controls button:focus {
	outline: none;
	box-shadow:
		0 8px 16px rgba(201, 147, 21, 0.35),
		0 4px 8px rgba(201, 147, 21, 0.2),
		0 0 0 3px rgba(201, 147, 21, 0.3);
}

.accordion-section+.accordion-section {
	border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.accordion-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 24px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	background: none;
	border: none;
	width: 100%;
	text-align: left;
	position: relative;
}

.accordion-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(201, 147, 21, 0.03), rgba(228, 183, 124, 0.03));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.accordion-header:focus {
	outline: none;
	box-shadow: inset 0 0 0 2px rgba(201, 147, 21, 0.3);
}

.accordion-header:hover::before {
	opacity: 1;
}

.accordion-header h2 {
	width: 420px;
	margin: 0 auto;
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	color: rgb(29, 43, 109);
	letter-spacing: -0.025em;
	position: relative;
	z-index: 1;
}

.accordion-header .icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	color: rgba(29, 43, 109, 0.7);
	border: 2px solid rgba(226, 232, 240, 0.8);
	position: relative;
	z-index: 1;
	flex-shrink: 0;
}

.accordion-header .icon svg,
.accordion-header .icon i {
	display: block;
}

.accordion-header:hover .icon {
	background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
	color: rgb(29, 43, 109);
	transform: scale(1.08);
	border-color: rgba(203, 213, 225, 0.9);
}

.accordion-header.open .icon {
	transform: rotate(180deg) scale(1.08);
	background: linear-gradient(135deg, rgb(201, 147, 21) 0%, rgb(228, 183, 124) 100%);
	color: white;
	border-color: rgba(201, 147, 21, 0.8);
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.accordion-content.open {
	max-height: 99999px;
}

.accordion-content .section-body {
	padding: 0 32px 32px;
	position: relative;
}

.accordion-content .section-body::before {
	content: '';
	position: absolute;
	top: 0;
	left: 32px;
	right: 32px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.6), transparent);
}

/* --- lista usług --- */
.section-title {
	margin-bottom: 20px;
	font-size: 20px !important;
	font-weight: 700;
	color: rgba(29, 43, 109, 0.8);
	text-transform: uppercase;
	letter-spacing: 0.7px;
	position: relative;
	padding-left: 20px;
}

.section-title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
	height: 2px;
	background: linear-gradient(90deg, rgb(201, 147, 21), rgb(228, 183, 124));
}

.services-list {
	list-style: none;
	display: grid;
	row-gap: 6px;
}

.service-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	cursor: pointer;
	background: linear-gradient(135deg, rgb(229 234 239 / 80%) 0%, rgba(241, 245, 249, 0.8) 100%);
	border: 1px solid rgba(226, 232, 240, 0.6);
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	position: relative;
	overflow: hidden;
}

.service-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, rgb(201, 147, 21) 0%, rgb(228, 183, 124) 100%);
	transform: scaleY(0);
	transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	transform-origin: bottom;
}

.service-item:hover {
	transform: translateY(-2px);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
	border-color: rgba(29, 43, 109, 0.15);
	box-shadow:
		0 8px 25px rgba(0, 0, 0, 0.08),
		0 4px 12px rgba(29, 43, 109, 0.08);
}

.service-item:hover::before {
	transform: scaleY(1);
	transform-origin: top;
}

.service-name {
	font-size: 17px;
	font-weight: 600;
	color: rgb(29, 43, 109);
	line-height: 1.4;
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	max-width: 100%;
}

.service-sub-text {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	color: #64748b;
	max-width: 420px;
	line-height: 1.5;
	font-weight: 400;
}

.service-price {
	font-size: 18px;
	font-weight: 700;
	white-space: nowrap;
	color: rgb(201, 147, 21);
	background: linear-gradient(135deg, rgba(201, 147, 21, 0.1) 0%, rgba(228, 183, 124, 0.1) 100%);
	padding: 5px 16px;
	border: 1px solid rgba(201, 147, 21, 0.2);
	min-width: 110px;
	text-align: center;
}

/* --- tagi lekarzy i nota --- */
.doctors-section {
	margin-bottom: 32px;
	padding: 24px;
	padding-left: 0px;
	padding-right: 0px;
	background: linear-gradient(135deg, rgba(201, 147, 21, 0.03) 0%, rgba(228, 183, 124, 0.03) 100%);
	border: 1px solid rgba(201, 147, 21, 0.1);
}

.doctors-tags {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
}

.doctor-tag {
	padding: 10px 18px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
	border: 1px solid rgba(201, 147, 21, 0.15);
	font-size: 14px;
	font-weight: 500;
	color: rgb(201, 147, 21);
	cursor: default;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	position: relative;
	overflow: hidden;
}

.doctor-tag::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(201, 147, 21, 0.08) 0%, rgba(228, 183, 124, 0.08) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.doctor-tag:hover {
	transform: translateY(-1px);
	border-color: rgba(201, 147, 21, 0.25);
	box-shadow: 0 4px 12px rgba(201, 147, 21, 0.15);
}

.doctor-tag:hover::before {
	opacity: 1;
}

.surcharge-note {
	margin-top: 32px;
	padding: 20px;
	font-size: 14px;
	color: rgba(29, 43, 109, 0.8);
	background: linear-gradient(135deg, rgba(251, 146, 60, 0.05) 0%, rgba(245, 101, 101, 0.05) 100%);
	border-left: 4px solid rgb(234, 201, 122);
	line-height: 1.6;
	font-weight: 500;
}

/* --- sub-accordion (poziom 2) --- */
.sub-accordion {
	margin-bottom: 16px;
	border: 1px solid rgba(226, 232, 240, 0.6);
	background: rgba(248, 250, 252, 0.5);
}

.sub-accordion-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 20px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	background: linear-gradient(135deg, rgba(241, 245, 249, 0.8) 0%, rgba(226, 232, 240, 0.6) 100%);
	position: relative;
}

.sub-accordion-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(201, 147, 21, 0.05), rgba(228, 183, 124, 0.05));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.sub-accordion-header:hover::before {
	opacity: 1;
}

.sub-accordion-header h3 {
	font-size: 18px;
	font-weight: 600;
	color: rgb(29, 43, 109);
	letter-spacing: -0.01em;
	position: relative;
	z-index: 1;
	margin: 0;
	text-transform: capitalize;
}

.sub-accordion-header .icon {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	font-weight: bold;
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	color: rgba(29, 43, 109, 0.6);
	border: 1px solid rgba(226, 232, 240, 0.8);
	position: relative;
	z-index: 1;
}

.sub-accordion-header:hover .icon {
	background: rgba(255, 255, 255, 0.9);
	color: rgb(29, 43, 109);
	transform: scale(1.1);
}

.sub-accordion-header.open .icon {
	transform: rotate(180deg) scale(1.1);
	background: linear-gradient(135deg, rgb(201, 147, 21) 0%, rgb(228, 183, 124) 100%);
	color: white;
	border-color: rgba(201, 147, 21, 0.8);
}

.sub-accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.6s cubic-bezier(0.23, 1, 0.32, 1);
	background: rgba(255, 255, 255, 0.5);
}

.sub-accordion-content.open {
	max-height: 99999px;
}

.sub-accordion-content .services-list {
	padding: 20px;
}

/* --- sub-sub-accordion (poziom 3) --- */
.sub-sub-accordion {
	margin-bottom: 12px;
	border: 1px solid rgba(226, 232, 240, 0.5);
	background: rgba(255, 255, 255, 0.7);
}

.sub-sub-accordion-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 16px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	background: rgba(248, 250, 252, 0.6);
	position: relative;
}

.sub-sub-accordion-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(201, 147, 21, 0.03), rgba(228, 183, 124, 0.03));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.sub-sub-accordion-header:hover::before {
	opacity: 1;
}

.sub-sub-accordion-header h4 {
	font-size: 16px;
	font-weight: 600;
	color: rgb(29, 43, 109);
	letter-spacing: -0.005em;
	position: relative;
	z-index: 1;
	margin: 0;
	text-transform: capitalize;
}

.sub-sub-accordion-header .icon {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.8);
	font-size: 12px;
	font-weight: bold;
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	color: rgba(29, 43, 109, 0.5);
	border: 1px solid rgba(226, 232, 240, 0.7);
	position: relative;
	z-index: 1;
}

.sub-sub-accordion-header:hover .icon {
	background: rgba(255, 255, 255, 1);
	color: rgb(29, 43, 109);
	transform: scale(1.15);
}

.sub-sub-accordion-header.open .icon {
	transform: rotate(180deg) scale(1.15);
	background: linear-gradient(135deg, rgb(201, 147, 21) 0%, rgb(228, 183, 124) 100%);
	color: white;
	border-color: rgba(201, 147, 21, 0.8);
}

.sub-sub-accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
	background: rgba(255, 255, 255, 0.9);
}

.sub-sub-accordion-content.open {
	max-height: 99999px;
}

.sub-sub-accordion-content .services-list {
	padding: 16px;
}

.doctor-hiperlink span {
	cursor: pointer;
}

/* Styl dla popup notyfikacji koszyka */
#cart-notification {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 1%;
	background-color: #f0f5fa;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	text-align: center;
	color: #003366;
	font-family: Arial, sans-serif;
}

#cart-notification p {
	margin-bottom: 15px;
	font-size: 16px;
}

#cart-notification button {
	margin: 0 5px 15px 5px;
	padding: 8px 15px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}

#go-to-cart,
#go-to-checkout {
	background-color: #c89f5f;
	color: white;
}

#close-notification {
	background-color: #ddd;
}

#go-to-cart:hover,
#go-to-checkout:hover {
	background-color: #b58e4e;
}

#close-notification:hover {
	background-color: #ccc;
}

.added_to_cart {
	display: none !important;
}

.icon-container {
	display: inline-block;
	position: relative;
	width: 40px;
	height: 40px;
	vertical-align: middle;
	margin-left: 8px;
}

.icon-container img {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}

.icon-container .add-icon {
	display: block;
}

.service-price-container a {
	cursor: pointer;
}

.service-price-container a.added {
	cursor: default;
	pointer-events: none;
}

/* --- responsywność --- */
@media (max-width: 768px) {
	.search-container {
		padding: 20px 24px;
	}

	#search-input {
		padding: 14px 45px 14px 45px;
		font-size: 16px;
	}

	.search-suggestions {
		max-height: 250px;
	}

	.suggestion-item {
		padding: 10px 15px;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.suggestion-price {
		align-self: flex-end;
	}

	.suggestion-category {
		margin-left: 0;
		margin-top: 4px;
	}

	.accordion-controls {
		padding: 20px 24px;
		flex-direction: column;
		gap: 12px;
	}

	.accordion-controls button {
		padding: 16px 20px;
		font-size: 15px;
	}

	.accordion-header {
		padding: 20px 24px;
	}

	.accordion-header h2 {
		font-size: 20px;
	}

	.accordion-content .section-body {
		padding: 0 24px 24px;
	}

	.accordion-content .section-body::before {
		left: 24px;
		right: 24px;
	}

	.service-item {
		flex-direction: column;
		gap: 12px;
		align-items: flex-start;
		padding: 18px 20px;
	}

	.service-price {
		align-self: flex-end;
		font-size: 17px;
	}

	.service-sub-text {
		max-width: 100%;
	}

	.doctors-section {
		padding: 20px;
		margin-top: 24px;
	}

	.section-title {
		padding-left: 16px;
	}
}

@media (max-width: 480px) {
	.search-container {
		padding: 15px 20px;
	}

	#search-input {
		padding: 12px 40px 12px 40px;
		font-size: 16px;
	}

	.search-icon {
		left: 12px;
		font-size: 16px;
	}

	.clear-search-btn {
		right: 12px;
		font-size: 18px;
	}

	.accordion-controls {
		padding: 16px 20px;
	}

	.accordion-header {
		padding: 16px 20px;
	}

	.accordion-header h2 {
		font-size: 18px;
	}

	.accordion-content .section-body {
		padding: 0 20px 20px;
	}

	.accordion-content .section-body::before {
		left: 20px;
		right: 20px;
	}
}

/* Animacje */
.search-suggestions {
	animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.suggestion-item {
	animation: fadeIn 0.1s ease-out forwards;
	opacity: 0;
}

.suggestion-item:nth-child(1) {
	animation-delay: 0.05s;
}

.suggestion-item:nth-child(2) {
	animation-delay: 0.1s;
}

.suggestion-item:nth-child(3) {
	animation-delay: 0.15s;
}

.suggestion-item:nth-child(4) {
	animation-delay: 0.2s;
}

.suggestion-item:nth-child(5) {
	animation-delay: 0.25s;
}

@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

.search-active .accordion-section {
	animation: searchFadeIn 0.3s ease-out;
}

@keyframes searchFadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.search-loading #search-input {
	background-image: linear-gradient(90deg, transparent, rgba(201, 147, 21, 0.1), transparent);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
	0% {
		background-position: -200% 0;
	}

	100% {
		background-position: 200% 0;
	}
}

/* --- Przycisk dodawania do koszyka --- */
.add-to-cart-btn {
	background: linear-gradient(135deg, rgba(201, 147, 21, 0.1) 0%, rgba(228, 183, 124, 0.1) 100%);
	border: 2px solid rgb(201, 147, 21);
	border-radius: 8px;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	color: rgb(201, 147, 21);
	padding: 0;
	flex-shrink: 0;
	position: relative;
}

.add-to-cart-btn svg {
	width: 20px;
	height: 20px;
	margin-left: -4px;
	transition: transform 0.3s ease;
}

.add-to-cart-btn:hover {
	background: linear-gradient(135deg, rgb(201, 147, 21) 0%, rgb(228, 183, 124) 100%);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(201, 147, 21, 0.3);
}

.add-to-cart-btn:hover svg {
	transform: scale(1.1);
}

.add-to-cart-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(201, 147, 21, 0.2);
}

.add-to-cart-btn.loading {
	pointer-events: none;
	opacity: 0.6;
}

.add-to-cart-btn.loading svg {
	animation: spin 1s linear infinite;
}

.add-to-cart-btn.success {
	background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
	border-color: #4caf50;
	color: white;
	animation: successPulse 0.6s ease;
}

@keyframes successPulse {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.15);
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.service-price-container {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* --- Toast Notifications --- */
.toast-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	gap: 12px;
	pointer-events: none;
}

.toast {
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	padding: 16px 20px;
	min-width: 320px;
	max-width: 420px;
	pointer-events: auto;
	animation: slideIn 0.3s ease-out;
	border-left: 4px solid #4caf50;
}

.toast.error {
	border-left-color: #f44336;
}

@keyframes slideIn {
	from {
		transform: translateX(100%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideOut {
	from {
		transform: translateX(0);
		opacity: 1;
	}

	to {
		transform: translateX(100%);
		opacity: 0;
	}
}

.toast.removing {
	animation: slideOut 0.3s ease-in forwards;
}

.toast-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.toast-title {
	font-weight: 600;
	color: #333;
	font-size: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.toast-title svg {
	width: 20px;
	height: 20px;
	color: #4caf50;
}

.toast.error .toast-title svg {
	color: #f44336;
}

.toast-close {
	background: none;
	border: none;
	cursor: pointer;
	color: #999;
	font-size: 20px;
	line-height: 1;
	padding: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s;
}

.toast-close:hover {
	color: #333;
}

.toast-message {
	color: #666;
	font-size: 14px;
	margin-bottom: 12px;
}

.toast-actions {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.toast-btn {
	flex: 1;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	border: 2px solid transparent;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.toast-btn-primary {
	background: rgb(201, 147, 21);
	color: white !important;
	border-color: rgb(201, 147, 21);
}

.toast-btn-primary:hover {
	background: rgb(181, 127, 1);
	border-color: rgb(181, 127, 1);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(201, 147, 21, 0.3);
}

.toast-btn-secondary {
	background: white;
	color: rgb(201, 147, 21);
	border-color: rgb(201, 147, 21);
}

.toast-btn-secondary:hover {
	background: rgba(201, 147, 21, 0.1);
	border-color: rgb(181, 127, 1);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(201, 147, 21, 0.2);
}

/* Responsywność dla małych ekranów */
@media (max-width: 480px) {
	.toast-container {
		left: 20px;
		right: 20px;
	}

	.toast {
		min-width: auto;
		max-width: 100%;
	}

	.add-to-cart-btn {
		width: 36px;
		height: 36px;
	}

	.add-to-cart-btn svg {
		width: 18px;
		height: 18px;
	}

	.service-price-container {
		gap: 8px;
	}
}

/* --- reduced motion --- */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.card:hover {
		transform: none;
	}

	.accordion-controls button:hover {
		transform: none;
	}

	.service-item:hover {
		transform: none;
	}
}