:root {
	--primary-green: #28a745;
	--dark-green: #218838;
	--light-green: #d4edda;
	--gradient-primary: linear-gradient(135deg, #28a745 0%, #20c997 100%);
	--text-dark: #333333;
	--text-light: #666666;
	--white: #ffffff;
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
	--shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Hero Section - FIXED CENTERING */
.product-hero-banner {
	min-height: 50vh;
	background: var(--gradient-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 30px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
}

.hero-content h1 {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.3;
	word-wrap: break-word;
	overflow-wrap: break-word;
	color: var(--white);
	font-size: 2.2rem;
	font-weight: 700;
        margin-top: 14%;
}

/* Product Details Section */
.product-details-section {
	padding: 40px 0;
	background: #f8f9fa;
}

.product-image-container {
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: var(--shadow-md);
	margin-bottom: 20px;
	transition: transform 0.3s ease;
	border: 2px solid var(--white);
}

.product-image-container:hover {
	transform: translateY(-5px);
}

.product-image-container img {
	width: 100%;
	height: 400px;
	object-fit: cover;
}

.product-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: var(--gradient-primary);
	color: var(--white);
	padding: 6px 15px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.8rem;
	box-shadow: var(--shadow-sm);
	z-index: 3;
}

.product-content {
	background: var(--white);
	border-radius: 15px;
	padding: 25px;
	box-shadow: var(--shadow-sm);
	height: 100%;
	position: relative;
}

.product-content:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--gradient-primary);
}

.product-title {
	color: var(--dark-green);
	font-weight: 700;
	font-size: 1.6rem;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 15px;
}

.product-title:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background: var(--primary-green);
	border-radius: 2px;
}

.product-price {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary-green);
	margin: 20px 0;
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

.product-price .original-price {
	font-size: 1.3rem;
	color: var(--text-light);
	text-decoration: line-through;
	font-weight: 500;
}

.product-price .discount-badge {
	background: var(--gradient-primary);
	color: var(--white);
	padding: 5px 12px;
	border-radius: 15px;
	font-size: 0.9rem;
	font-weight: 600;
}

.umrah-content {
	margin-bottom: 25px;
	color: var(--text-dark);
	line-height: 1.6;
	font-size: 1rem;
}

.umrah-content h3,
.umrah-content h4 {
	color: var(--dark-green);
	margin: 20px 0 12px;
	font-weight: 600;
	font-size: 1.2rem;
}

/* Key Features */
.key-features-list {
	list-style: none;
	padding: 0;
	margin: 15px 0;
}

.key-features-list li {
	padding: 12px 12px 12px 40px;
	margin-bottom: 8px;
	background: var(--light-green);
	border-radius: 8px;
	border-left: 3px solid var(--primary-green);
	position: relative;
	transition: transform 0.2s ease;
	font-size: 0.95rem;
}

.key-features-list li:hover {
	transform: translateX(3px);
}

.key-features-list li i {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--primary-green);
	font-size: 1rem;
}

/* Specifications Box */
.specs-box {
	background: #f8f9fa;
	border: 1px solid rgba(40, 167, 69, 0.1);
	border-radius: 10px;
	padding: 20px;
	margin: 15px 0;
}

.service-details1 {
	background: var(--light-green);
	padding: 20px;
	border-radius: 10px;
	margin-top: 25px;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
	border: 1px dashed rgba(40, 167, 69, 0.3);
}

.price {
	font-size: 1.4rem;
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--primary-green);
	font-weight: 700;
}

.created-at {
	color: var(--text-light);
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	background: var(--white);
	padding: 8px 15px;
	border-radius: 20px;
}

/* Action Buttons - SMALLER SIZE */
.product-actions {
	display: flex;
	gap: 15px;
	margin-top: 25px;
	flex-wrap: wrap;
}

.btn-add-to-cart {
	background: var(--gradient-primary);
	color: var(--white);
	border: none;
	padding: 12px 20px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 45px;
	box-shadow: var(--shadow-sm);
	min-width: 160px;
}

.btn-add-to-cart:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn-wishlist {
	background: var(--white);
	color: var(--primary-green);
	border: 2px solid var(--primary-green);
	padding: 12px 20px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 45px;
	min-width: 160px;
	box-shadow: var(--shadow-sm);
}

.btn-wishlist:hover {
	background: var(--gradient-primary);
	color: var(--white);
	transform: translateY(-2px);
	border-color: transparent;
}

/* MULTIPLE IMAGE GALLERY - SIDE BY SIDE */
.multi-image-gallery {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-green) #f1f1f1;
}

.multi-image-gallery::-webkit-scrollbar {
    height: 6px;
}

.multi-image-gallery::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.multi-image-gallery::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

.gallery-image-container {
    min-width: 180px;
    height: 180px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.gallery-image-container.active {
    border-color: var(--primary-green);
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.gallery-image-container:hover:not(.active) {
    border-color: rgba(40, 167, 69, 0.5);
    transform: translateY(-3px);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-image-container:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

/* STATIC IMAGES GALLERY */
.static-images-gallery {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px dashed rgba(40, 167, 69, 0.3);
}

.static-images-gallery h5 {
    width: 100%;
    margin-bottom: 10px;
    color: var(--dark-green);
    font-weight: 600;
    font-size: 1rem;
}

.static-image-item {
    flex: 1;
    min-width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.static-image-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-md);
}

.static-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image Gallery */
.image-gallery {
	display: flex;
	gap: 10px;
	margin-top: 15px;
	padding-bottom: 5px;
	overflow-x: auto;
}

.gallery-thumbnail {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	opacity: 0.8;
}

.gallery-thumbnail:hover {
	opacity: 1;
	border-color: var(--primary-green);
}

.gallery-thumbnail.active {
	border-color: var(--primary-green);
	opacity: 1;
}

/* Quick Features */
.quick-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	margin: 20px 0;
}

.feature-card {
	background: var(--white);
	padding: 15px;
	border-radius: 8px;
	text-align: center;
	box-shadow: var(--shadow-sm);
	transition: all 0.3s ease;
	border: 1px solid transparent;
}

.feature-card:hover {
	transform: translateY(-3px);
	border-color: var(--primary-green);
	box-shadow: var(--shadow-md);
}

.feature-icon {
	color: var(--primary-green);
	font-size: 1.5rem;
	margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
	.product-image-container img {
		height: 350px;
	}

	.product-actions {
		gap: 12px;
	}

	.btn-add-to-cart,
	.btn-wishlist {
		min-width: 140px;
	}
    
    .gallery-image-container {
        min-width: 150px;
        height: 150px;
    }
    
    .static-image-item {
        min-width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
	.product-hero-banner {
		min-height: 35vh;
	}

	.hero-content h1 {
		font-size: 1.8rem;
		max-width: 90%;
	}

	.product-title {
		font-size: 1.4rem;
	}

	.product-price {
		font-size: 1.6rem;
	}

	.product-price .original-price {
		font-size: 1.1rem;
	}

	.product-image-container img {
		height: 300px;
	}

	.service-details1{
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.btn-add-to-cart,
	.btn-wishlist {
		width: 100%;
		min-width: 100%;
	}
    
    .gallery-image-container {
        min-width: 130px;
        height: 130px;
    }
    
    .static-image-item {
        min-width: 90px;
        height: 90px;
    }
}

@media (max-width: 576px) {
	.product-hero-banner {
		min-height: 30vh;
	}

	.hero-content h1 {
		font-size: 1.5rem;
		padding: 0 15px;
	}

	.product-title {
		font-size: 1.3rem;
	}

	.product-price {
		font-size: 1.4rem;
		gap: 10px;
	}

	.product-content {
		padding: 20px;
	}

	.product-image-container img {
		height: 250px;
	}

	.key-features-list li {
		padding: 10px 10px 10px 35px;
		font-size: 0.9rem;
	}

	.quick-features {
		grid-template-columns: 1fr;
	}
    
    .multi-image-gallery {
        gap: 10px;
    }
    
    .gallery-image-container {
        min-width: 110px;
        height: 110px;
    }
    
    .static-images-gallery {
        flex-wrap: wrap;
    }
    
    .static-image-item {
        min-width: calc(33.333% - 10px);
        height: 100px;
    }
}

@media (max-width: 400px) {
	.product-actions {
		flex-direction: column;
	}

	.gallery-thumbnail {
		width: 70px;
		height: 70px;
	}

	.product-price {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
    
    .gallery-image-container {
        min-width: 100px;
        height: 100px;
    }
    
    .static-image-item {
        min-width: calc(50% - 10px);
        height: 90px;
    }
}

/* Animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animated {
	animation: fadeInUp 0.5s ease-out;
}
.thumbnail-img {
    border: 2px solid transparent;
    transition: border 0.2s;
}
.thumbnail-img:hover {
    border: 2px solid #28a745; /* highlight thumbnail on hover */
}
.size-badge, .color-badge {
    padding: 5px 12px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.size-badge:hover, .color-badge:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.size-badge.selected, .color-badge.selected {
    border: 2px solid #218838;
    background-color: #28a745 !important; /* Always green when selected */
    color: #fff;
}
