/* General Modal Styles */
/*body {*/
/*	font-family: 'Poppins', sans-serif;*/
/*	color: #333;*/
/*	background-color: #f0f0f0; !* Added a background for contrast *!*/
/*	display: flex;*/
/*	justify-content: center;*/
/*	align-items: center;*/
/*	min-height: 100vh;*/
/*}*/
div#blockcart-modal ~ .modal-backdrop.fade.in {
	display: none !important;
}
#blockcart-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 300;
	background: rgb(0 0 0 / 60%);
	backdrop-filter: blur(2px) !important;
	.modal-dialog {
		background: #fff;
		border-radius: 10px;
		width: 100%;
		max-width: 1140px;
		box-shadow: 0 4px 30px rgba(0,0,0,0.1);
		overflow: hidden;
		position: fixed;
		bottom: 50%;
		right: 50%;
		translate: 50% 50%;
	}

.modal-dialog {
	.modal-dialog__header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 15px 25px;
		border-bottom: 2px solid #ededed;
	}

	.notification {
		display: flex;
		align-items: center;
		gap: 10px;
	}
	.notification__icon {
		width: 21px;
		height: 16px;
	}
	.modal-title {
		color: #388d50;
		font-weight: 500;
		font-size: 14px !important;
		text-align: left !important;
	}

	.modal-dialog__close-btn {
		background: none;
		border: none;
		cursor: pointer;
		padding: 5px;
	}

	/* Modal Body */
	.modal-dialog__body {
		display: flex;
		padding: 40px;
		gap: 40px;
		align-items: flex-start;
	}

	.modal-dialog__product-details {
		flex: 1.2;
	}

	.modal-dialog__summary {
		flex: 1;
		border-left: 2px solid #ededed;
		padding-left: 40px;
	}

	/* Product Info */
	.product-info {
		display: flex;
		gap: 30px;
		align-items: flex-start;
		flex-direction: row;
		padding-top: 0;
	}
	.product-info__image {
		width: 240px;
		height: 240px;
		object-fit: cover;
		border-radius: 10px;
		flex-shrink: 0;
	}
	.product-info__text {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	.product-name {
		font-family: "ChakraPetch-Bold", sans-serif;
		font-size: 14px;
		line-height: 1.4;
		color: #111;
	}
	.product-price {
		font-family: "ChakraPetch-Bold", sans-serif;
		font-size: 14px;
		color: #999598;
	}
	.product-info__specs {
		font-size: 12px;
		line-height: 2;
	}
	.product-info__specs p {
		display: flex;
		justify-content: space-between;
	}
	.product-info__specs strong {
		font-weight: 500;
		margin-right: 15px;
	}
	.color-swatch {
		display: inline-block;
		width: 22px;
		height: 22px;
		background: #fecc00;
		border-radius: 50%;
		border: 1.5px solid #d6d5d6;
		vertical-align: middle;
	}

	/* Summary */
	.cart-products-count {
		font-family: "ChakraPetch-Bold", sans-serif;
		font-size: 14px !important;
		margin-bottom: 20px;
		padding-bottom: 20px;
		border-bottom: 2px solid #ededed;
		color: #111 !important;
	}
	.summary__totals {
		display: flex;
		flex-direction: column;
		gap: 12px;
		margin-bottom: 20px;
		font-size: 14px;
	}
	.summary-row {
		display: flex;
		justify-content: space-between;
	}
	.cart-content .label {
		font-weight: 500;
	}
	.cart-content .value {
		color: #999598;
	}
	.product-total .label {
		font-weight: 500;
	}
	.product-total .value {
		color: #111;
	}

	.cart-content-btn {
		display: flex;
		gap: 10px;
		margin-top: 30px;
	}
	.btn-primary, .btn-secondary {
		flex: 1;
		height: 45px;
		border-radius: 10px;
		font-size: 14px;
		font-weight: 500;
		cursor: pointer;
		border: none;
		&:hover {
			opacity: .8;
		}
		i {
			display: none;
		}
	}
	.btn-primary {
		background: #fecc00;
		color: #3c291e;
		box-shadow: 0 4px 15px rgba(254, 204, 0, 0.2);
		display: flex	;
		justify-content: center;
		align-items: center;
		min-width: 60%;
	}
	.btn-secondary {
		background: #d6d5d6;
		color: #3c291e;
	}

	/* Kontener-nakładka, który jest domyślnie ukryty */
	.modal-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(60, 41, 30, 0.7); /* Półprzezroczyste tło */
		display: none; /* Zmieniane na 'flex' przez JS, aby pokazać modal */
		justify-content: center;
		align-items: center;
		z-index: 1000; /* Upewnij się, że jest na wierzchu */
		padding: 20px;
		box-sizing: border-box;
	}

	/* Dodajemy klasę, aby uniemożliwić przewijanie strony, gdy modal jest otwarty */
	body.modal-open {
		overflow: hidden;
	}
}
	@media screen and (max-width: 66rem) {
		.modal-dialog__body {
			padding: 30px;
			gap: 20px;
		}
		.modal-dialog__product-details {
			max-width: 35%;
			.product-info {
				zoom: .8;
				flex-direction: column;
			}
		}

	}
	@media screen and (max-width: 44rem) {
		.modal-dialog__body {
			padding: 30px;
			gap: 20px;
		}
		.modal-dialog__product-details {
			max-width: 45%;
			.product-info {
				zoom: .8;
				flex-direction: column;
			}
		}
		.modal-dialog__summary {
			padding-left: 30px;
			max-width: 65%;
			zoom: .8;
		}
		.summary__actions {
			flex-direction: column;
		}
		.btn-primary {
			width: 100%;
			padding: 9px;
		}

	}
	@media screen and (max-width: 33rem) {
		.modal-dialog__body {
			flex-direction: column;
		}
		.modal-dialog__product-details,
		.modal-dialog__summary {
			max-width: 100%;
			width: 100%;
			border: 0;
			padding: 0;
		}
		#d & .product-info {
			zoom: .85;
			flex-direction: row;
			gap: 8px;
		}
		.product-info__image {
			width: 150px;
			height: auto;
			margin-top: -30px;
		}
		.modal-dialog__summary {
			zoom: 0.9;
		}
		.notification__text {
			font-size: 14px;
			line-height: 1.2;
		}
		.btn-primary, .btn-secondary {
			padding: 14px;
		}
	}
}
#blockcart-modal .modal-title i.material-icons {
	margin-right: 0.875rem;
	color: #4cbb6c;
	font-weight: 900;
	margin-left: .5rem;
	font-size: 28px;
}
#blockcart-modal .product-price ~* {
	font-size: 13.3px;
	opacity: .9;
}
#blockcart-modal .product-price ~ span strong {
	display: block;
	margin-bottom: 4px;
}
#blockcart-modal .product-price ~ span.product-quantity {
	font-size: 15px;
	margin-top: 5px;
}
#blockcart-modal .product-price ~ span.product-quantity strong {
	display: inline;
}



/**/


.quickview .modal-content {
	background: #fff;
	border-radius: 10px;
	border: 0;
}
.modal.quickview {
	background: rgb(0 0 0 / 60%);
	backdrop-filter: blur(2px);
}
.quickview .social-sharing {
	border: 0;
	padding: 0;
	zoom: .78;
	color: #777;
	font-size: 0;
}
.quickview .modal-body {
	padding-right: 30px;
	span.input-group-btn-vertical {
		display: none !important;
	}
}
.quickview .arrows {
	right: 3.7rem;
}
.quickview .arrows .arrow-up {
	margin-right: -24px;
}

/**/

.wishlist-add-to-new.text-primary,
.wishlist-add-to-new.text-primary i {
	color: #3c291e !important;
	&:hover, &:hover i {
		color: #fecc00 !important;
	}
}
.wishlist-modal .modal-content {
	width: 100%;
	padding: 7px 20px 26px;
}
.wishlist-chooselist {
	zoom: 1.1;
	margin-inline: -18px;
	margin-bottom: 20px;
}
.wishlist-modal.show {
	background: rgb(0 0 0 / 60%);
	backdrop-filter: blur(2px);
}