/* miracle product archive card styling */

.miracle-product-card {
	background: #fff;
	border-radius: 20px;
	overflow: visible;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
}

.miracle-product-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 20px;
}

.miracle-product-main-image {
	width: 100%;
	max-height: 250px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.miracle-product-main-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.miracle-product-accessibility-icon {
	position: absolute;
	bottom: 10px;
	left: 10px;
	z-index: 10;
	width: 60px;
	height: 60px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
}

.miracle-product-accessibility-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.miracle-product-age-badge {
	position: absolute;
	top: -15px;
	right: -15px;
	z-index: 10;
	width: 90px;
	height: 90px;
	background: #22c55e;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: bold;
	text-align: center;
	line-height: 1.2;
	padding: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
	border: 1px solid white;
}

.miracle-product-age-badge span {
	display: block;
	font-size: 14px;
}

.miracle-product-age-badge .age-value {
	font-size: 14px;
	margin-top: 2px;
}

.miracle-product-gallery {
	padding: 10px 15px;
	background: #fff;
	position: relative;
}

.miracle-product-gallery .swiper {
	position: relative;
	padding: 0;
	overflow: visible;
}

.miracle-product-gallery .swiper-slide {
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
}

.miracle-product-gallery .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 5px;
}

.miracle-product-gallery .swiper-button-next,
.miracle-product-gallery .swiper-button-prev {
	width: 25px;
	height: 25px;
	background: rgba(0, 0, 0, 0.0);
	border-radius: 50%;
	color: #fff;
	transition: background 0.3s ease;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
}

.miracle-product-gallery .swiper-button-next:hover,
.miracle-product-gallery .swiper-button-prev:hover {
	background: rgba(0, 0, 0, 0.9);
}

.miracle-product-gallery .swiper-button-next:after,
.miracle-product-gallery .swiper-button-prev:after {
	font-size: 12px;
	font-weight: bold;
}

.miracle-product-gallery .swiper-button-next {
	right: -20px !important;
}

.miracle-product-gallery .swiper-button-prev {
	left: -20px !important;
}

.miracle-product-content {
	padding: 20px;
	text-align: center;
	flex: 1;
	display: flex;
	flex-direction: column;
	padding-top: 0;
}

.miracle-product-id {
	font-size: 14px;
	color: #333;
	margin: 0;
	font-weight: 500;
}

.miracle-product-title {
	font-size: 20px;
	font-weight: bold;
	color: #000;
	margin: 0;
	text-transform: uppercase;
	line-height: 1.2;
}

.miracle-product-price {
	font-size: 18px;
	color: #22c55e;
	font-weight: bold;
	margin: 0;
}

/* .miracle-product-details-btn {
	display: inline-block;
	background: #ef4444;
	color: #fff;
	padding: 12px 40px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
	transition: background 0.3s ease;
	margin-top: auto;
	align-self: center;
	margin-top: 1rem;
}

.miracle-product-details-btn:hover {
	background: #dc2626;
	color: #fff;
	text-decoration: none;
} */


/* single miracle product styling */

.miracle-product-single {
	background: #fff;
	border-radius: 20px;
	overflow: visible;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	margin-bottom: 30px;
}

.miracle-product-single-inner {
	width: 100%;
	padding: 30px;
	position: relative;
}

.miracle-product-single-accessibility-icon {
	position: absolute;
	top: 30px;
	right: 175px;
	z-index: 10;
	width: 40px;
	height: 40px;
}

.miracle-product-single-accessibility-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.miracle-product-single-age-badge {
	position: absolute;
	top: 30px;
	right: 0;
	z-index: 10;
	background: #22c55e;
	border-radius: 8px 0 0 8px;
	padding: 8px 40px 8px 16px;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	white-space: nowrap;
}

.miracle-product-single-main-image {
	width: 100%;
	border-radius: 15px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	max-height: 350px;
}

.miracle-product-single-main-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.miracle-product-single-gallery {
	position: relative;
	margin-bottom: 20px;
	max-width: 500px;
	margin-inline: auto;
	padding: 0 40px;
}

.miracle-product-single-gallery .swiper {
	position: relative;
	padding: 0;
	overflow: hidden;
}

.miracle-product-single-gallery .swiper-slide {
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 12px;
	cursor: pointer;
}

.miracle-product-single-gallery .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
}

.miracle-product-single-gallery .swiper-button-next,
.miracle-product-single-gallery .swiper-button-prev {
	width: 30px;
	height: 30px;
	background: rgba(0, 0, 0, 0.0);
	border-radius: 50%;
	color: #fff;
	transition: background 0.3s ease;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
}

.miracle-product-single-gallery .swiper-button-next:hover,
.miracle-product-single-gallery .swiper-button-prev:hover {
	background: rgba(0, 0, 0, 0.9);
}

.miracle-product-single-gallery .swiper-button-next:after,
.miracle-product-single-gallery .swiper-button-prev:after {
	font-size: 14px;
	font-weight: bold;
}

.miracle-product-single-gallery .swiper-button-next {
	right: 0;
}

.miracle-product-single-gallery .swiper-button-prev {
	left: 0;
}

.miracle-product-share {
	margin-top: 20px;
}

.miracle-product-share-label {
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 10px;
}

.miracle-product-share-icons {
	display: flex;
	gap: 15px;
}

.miracle-product-share-icons .share-icon {
	color: #000;
	font-size: 24px;
	transition: opacity 0.3s ease;
}

.miracle-product-share-icons .share-icon:hover {
	opacity: 0.7;
}

.miracle-product-single-content {
	padding: 0;
	margin-top: 4rem;
}

.miracle-product-single-title {
	font-size: 36px;
	font-weight: bold;
	color: #000;
	text-transform: uppercase;
	line-height: 1.2;
	margin-bottom: 0;
}

.miracle-product-pricing {
	font-size: 24px;
	line-height: 1.3;
}

.miracle-product-single-price {
	color: #22c55e;
	font-weight: bold;
}

.miracle-product-retail-price {
	color: #666;
	font-size: 18px;
	font-weight: normal;
	margin-left: 5px;
}

.miracle-product-single-id {
	font-size: 16px;
	color: #000;
	margin: 0 0 20px 0;
	font-weight: 600;
}

.miracle-product-details {
	margin-bottom: 25px;
	line-height: 1.8;
	color: #000;
}

.miracle-product-details p {
	margin-bottom: 0px;
	font-size: 16px;
}

.miracle-product-details strong {
	font-weight: 600;
}

.miracle-product-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.miracle-product-quantity {
	display: flex;
	align-items: center;
	gap: 10px;
}

.miracle-product-quantity label {
	font-weight: 600;
	margin-bottom: 0;
}

.miracle-product-quantity input {
	width: 80px;
	padding: 8px 12px;
	border: 2px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
	text-align: center;
}

.miracle-btn {
	padding: 10px 20px;
	border: none;
	border-radius: 8px;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
}

.miracle-btn-quote {
	background: #ef4444;
	color: #fff;
}

.miracle-btn-quote:hover {
	background: #dc2626;
}

.miracle-btn-metric {
	background: #3b82f6;
	color: #fff;
}

.miracle-btn-metric:hover {
	background: #2563eb;
}

.miracle-btn-print {
	background: #e5e7eb;
	color: #000;
	padding: 10px 15px;
}

.miracle-btn-print:hover {
	background: #d1d5db;
}

.miracle-product-contact {
	font-size: 16px;
	margin-top: 20px;
}

.miracle-product-contact p {
	margin: 0;
}

.miracle-phone {
	color: #ef4444;
	font-weight: bold;
	text-decoration: none;
}

.miracle-phone:hover {
	text-decoration: underline;
}

.miracle-product-about-section {
	background: #f0f0f0;
	padding: 40px;
	border-radius: 0 0 20px 20px;
	margin-top: 30px;
}

.miracle-product-about-title {
	text-align: center;
	font-size: 32px;
	font-weight: bold;
	color: #3b82f6;
	margin-bottom: 30px;
	text-transform: uppercase;
}

.miracle-product-about-content {
	line-height: 1.8;
	color: #333;
	max-width: 1000px;
	margin-inline: auto;
}

.miracle-product-about-content p {
	margin-bottom: 15px;
}

@media (max-width: 991px) {
	.miracle-product-single {
		padding: 20px;
	}
	
	.miracle-product-single-main-image {
		min-height: 300px;
		padding: 20px;
	}
	
	.miracle-product-single-title {
		font-size: 24px;
	}
	
	.miracle-product-pricing {
		font-size: 18px;
	}
	
	.miracle-product-actions {
		flex-direction: column;
		align-items: stretch;
	}
	
	.miracle-btn {
		width: 100%;
	}
	
	.miracle-product-about-section {
		padding: 25px;
	}
	
	.miracle-product-about-title {
		font-size: 24px;
	}
}

