.product-container {
	display: flex;
	flex-direction: column;
	padding: 2rem;
	max-width: 95vw;
	margin: auto;
	margin-top: 4rem;
}

.product-image img {
	width: 100%;
	max-width: 500px;
	object-fit: cover;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.product-details {
	display: flex;
	flex-direction: column;
}

.product-details h1 {
	margin-bottom: 1rem;
	font-size: 2rem;
}

.description {
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
	color: #444;
}

.add-to-cart-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.add-to-cart-form label {
	font-weight: bold;
	margin-bottom: 0.5rem;
}

.add-to-cart-form select {
	padding: 0.5rem;
	font-size: 1rem;
	border-radius: 4px;
	border: 1px solid #ccc;
}

.price-section {
	font-size: 1.5rem;
	font-weight: bold;
	margin-top: 1rem;
}

.add-to-cart-btn {
	background-color: #0077cc;
	color: #fff;
	padding: 1rem;
	font-size: 1.2rem;
	border: none;
	border-radius: 4px;
	width: 100%;
	cursor: pointer;
	transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
	background-color: #333;
}

@media (min-width: 768px) {
	.product-container {
		flex-direction: row;
		align-items: flex-start;
		gap: 4rem;
	}

	.product-image,
	.product-details {
		flex: 1;
	}

	.product-image {
		max-width: 50%;
	}

	.product-details {
		padding-left: 2rem;
	}
}
@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes fadeOutScale {
	from {
		opacity: 1;
		transform: scale(1);
	}
	to {
		opacity: 0;
		transform: scale(0.9);
	}
}

.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.8);
	justify-content: center;
	align-items: center;
}

.modal.show {
	display: flex;
}

.modal-content {
	max-width: 90%;
	max-height: 90%;
	box-shadow: 0 0 10px #000;
	border-radius: 6px;
	animation: fadeInScale 0.3s ease forwards;
}

.modal-content.hide-animation {
	animation: fadeOutScale 0.3s ease forwards;
}

.modal-close {
	position: absolute;
	top: 1rem;
	right: 2rem;
	color: white;
	font-size: 3rem;
	font-weight: bold;
	cursor: pointer;
	z-index: 10000;
	transition: color 0.3s;
}

.modal-close:hover {
	color: #aaa;
}
#productImage:hover {
	cursor: pointer;
	opacity: 0.8;
	transition: 0.3s ease-in-out;
}
.tab-buttons {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
}

.tab-btn {
	flex: 1;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	background-color: #f4f4f4;
	border: 1px solid #ccc;
	cursor: pointer;
	border-radius: 4px;
	transition: background-color 0.2s, border-color 0.2s;
	margin-top: 3rem;
}

.tab-btn:hover {
	background-color: #eaeaea;
}

.tab-btn.active {
	background-color: #007bff;
	color: #fff;
	border-color: #007bff;
}

.tab-content {
	margin-top: 1rem;
}

.tab-section {
	display: none;
}

.tab-section.active {
	display: block;
}
#material ul {
	list-style: none; /* usunięcie domyślnych kropek */
	padding: 0;
	margin: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	max-width: 400px;
}

#material ul li {
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
	color: #333;
	font-size: 16px;
	transition: background-color 0.3s ease;
}

#material ul li:last-child {
	border-bottom: none;
}

#material ul li:hover {
	background-color: #f0f0f0;
	cursor: default;
}
#description {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
	padding: 24px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	max-width: 500px;
	margin: auto;
}

#description p {
	font-size: 17px;
	margin-bottom: 20px;
}

.description-list h4 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #222;
}

.description-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
	background-color: #f9f9f9;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}

.description-list ul li {
	padding: 12px 16px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 16px;
	color: #444;
	transition: background-color 0.3s ease;
}

.description-list ul li:last-child {
	border-bottom: none;
}

.description-list ul li::before {
	content: '✓';
	color: #28a745;
	margin-right: 8px;
	font-weight: bold;
}

.description-list ul li:hover {
	background-color: #f0f0f0;
}
