/* <style> */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Lato', sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f8f9fa;
}

.container {
	max-width: 2560px;
	margin: 0 auto;
	padding: 20px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	/* gap: 40px; */
	margin-bottom: 40px;
}

/* Image Section */
.image-section {
	position: relative;
}

.main-image {
	width: 90%;
	height: auto;
	object-fit: contain;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	transition: opacity 0.3s ease;
	background: white;
}


.thumbnail-container {
	display: flex;
	gap: 10px;
	margin-top: 15px;
	max-width: 90%;
}

.thumbnail {
	width: 60px;
	height: 60px;
	object-fit: contain;
	border: 2px solid #e0e0e0;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
	background: white;
}

.thumbnail:hover,
.thumbnail.active {
	border-color: #ff6b35;
	transform: scale(1.05);
}

.image-actions {
	position: absolute;
	top: 15px;
	right: 15px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.action-icon {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.action-icon:hover {
	background: white;
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.favorite-icon {
	color: #ccc;
	font-size: 18px;
}

.favorite-icon.active {
	color: #e74c3c;
}

.whatsapp-icon {
	color: #25d366;
	font-size: 18px;
}
.share-container {
	position: relative;
}

.share-icon {
	color: #666;
	font-size: 18px;
}

.share-tooltip {
	position: absolute;
	right: 50px;
	top: 50%;
	transform: translateY(-50%);
	background: white;
	border-radius: 25px;
	padding: 8px 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
	display: none;
	flex-direction: row;
	gap: 8px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	z-index: 100;
}

.share-tooltip::after {
	content: '';
	position: absolute;
	right: -8px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid white;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
}

.share-tooltip.show {
	display: flex;
	animation: slideIn 0.1s ease;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-50%) translateX(10px);
	}
	to {
		opacity: 1;
		transform: translateY(-50%) translateX(0);
	}
}

.social-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
}

.social-icon:hover {
	transform: scale(1.05);
}

.facebook-icon {
	background: #1877f2;
	color: white;
}

.whatsapp-social-icon {
	background: #25d366;
	color: white;
}

.twitter-icon {
	background: #000;
	color: white;
}

.pinterest-icon {
	background: #e60023;
	color: white;
}

@media (max-width: 2560px) {
	.image-actions {
		right: 140px;
	}

}

@media (max-width: 1440px) {
	.image-actions {
		right: 85px;
	}
}
@media (max-width: 1025px) {
	.image-actions {
		right: 65px;
	}
}
@media (max-width: 768px) {
	.image-actions {
		right: 15px;
	}
}



.line-css {
	border: 1px solid #e0e0e0;
	margin-top: 20px;
	max-width: 90%;
}

.farmers-numbers {
	background-color: #efefef;
	/* margin-top: 20px; */
	max-width: 90%;
	border-radius: 5px;
	padding: 5px 15px;
	font-weight: 600;
	color: green;
	font-size: 16px;
}


.eco-badge {
	position: absolute;
	bottom: 10px;
	left: 10px;
	background: #28a745;
	color: white;
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: bold;
}

/* Product Info Section */
/* .product-info {
	padding: 20px 0;
} */

.product-title-main {
	font-size: 24px;
	font-weight: 600;
	/* margin-bottom: 2px; */
	color: #2c3e50;
}

.brand-link {
	color: #767676;
	font-weight: 500;
	text-decoration: underline;
	font-size: 14px;
	margin-bottom: 10px;
	display: inline-block;
}

.rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
}

.stars {
	color: #ffc107;
	font-size: 16px;
}

.review-count {
	background: #333;
	color: white;
	padding: 3px 8px;
	border-radius: 10px;
	font-size: 10px;
}

.price-section {
	margin-bottom: 20px;
}

.main-current-price {
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #e74c3c !important;
}

.original-price {
	font-size: 18px;
	color: #888;
	text-decoration: line-through;
	margin-left: 10px;
}

.discount {
	background: #ff9b4c;
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	margin-left: 10px;
}

.savings {
	color: #28a745;
	font-size: 16px;
	margin-top: 5px;
	gap: 10px;
}

.savings-icon {
	margin-right: 8px;
}

.inclusive-taxes {
	font-size: 14px;
	margin-top: 5px;
	color: #888;
}

/* CHEMICAL CARD */

.chemical-warning {
	background: #f8f9fa;
	max-width: 70%;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	margin: 20px 0;
	display: flex;
	align-items: center;
	gap: 20px;
}

.chemical-icon {
	width: 60px;
	height: 60px;
	background: #007bff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 24px;
	flex-shrink: 0;
}

.chemical-info {
	flex: 1;
}

.chemical-label {
	font-size: 18px;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 5px;
}

.chemical-name {
	font-size: 16px;
	color: #495057;
	margin-bottom: 2px;
}

.chemical-concentration {
	font-size: 14px;
	color: #666;
}

.toxicity-badge {
	position: relative;
	width: 80px;
	height: 80px;
	flex-shrink: 0;
}

.toxicity-badge img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (max-width: 768px) {
	.chemical-warning {
		max-width: 100%;
	}

	.chemical-icon {
		width: 40px;
		height: 40px;
	}

	.chemical-label {
		font-size: 14px;
	}

	.chemical-name {
		font-size: 12px;
	}

	.chemical-warning {
		/* flex-direction: column; */
		/* text-align: center; */
		gap: 15px;
	}
	.thumbnail-container{
		max-width: 100%;
	}

	.toxicity-badge {
		width: 60px;
		height: 60px;
	}
	.line-css{
		max-width: 100%;
	}
	.farmers-numbers {
		font-size: 14px;
		max-width: 100%;
	}
}

.deal-banner {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 10px 15px;
	border-radius: 6px;
	margin-bottom: 20px;
	text-align: center;
}

.size-info-main {
	margin-bottom: 20px;
}

.size-label-main {
	font-weight: 600;
	margin-bottom: -10px;
}

/* Variants Section */
.variants-section {
	margin-bottom: 10px;
}

.variants-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
	margin-top: 15px;
}

.variant-card {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 10px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	background: white;
}

.variant-card:hover {
	border-color: #ff6b35;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.variant-card.selected {
	border-color: #28a745;
	background: #f8fff9;
}

.variant-discount {
	position: absolute;
	top: -5px;
	right: -5px;
	background: #ff6b35;
	color: white;
	padding: 2px 6px;
	border-radius: 10px;
	font-size: 10px;
}

.variant-size {
	font-weight: 600;
	margin-bottom: 5px;
}

.variant-price {
	font-size: 14px;
	font-weight: 600;
	color: #e74c3c;
}

.variant-original {
	font-size: 12px;
	color: #888;
	text-decoration: line-through;
}

/* Product Features */
.features {
	display: flex;
	/* flex-direction: column; */
	gap: 20px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.feature {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #666;
}

.feature-icon {
	width: 16px;
	height: 16px;
	color: #28a745;
	border-radius: 50%;
}

/* Action Buttons */
.action-buttons {
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
	max-width: 70%
}

.btn {
	padding: 12px 24px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	flex: 1;
}

.btn-primary {
	background: #ff8c42;
	color: white;
}

.btn-primary:hover {
	background: #e37b3b;
	transform: translateY(-1px);
}

.btn-secondary {
	background: #28a745;
	color: white;
}

.btn-secondary:hover {
	background: #218838;
	transform: translateY(-1px);
}

/* Dynamic + - Buttons */

.quantity-controls {
	display: none;
	align-items: center;
	gap: 10px;
	background: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	/* padding: 5px; */
}

.quantity-controls.show {
	display: flex;
}

.quantity-btn {
	width: 40px;
	height: 40px;
	border: none;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: bold;
	transition: all 0.2s ease;
}

.quantity-btn:hover {
	background: #f0f0f0;
}

.quantity-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.quantity-display {
	min-width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #28a745;
	color: white;
	border-radius: 4px;
	font-weight: 600;
	font-size: 16px;
}

.delete-btn {
	width: 40px;
	height: 40px;
	border: none;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ff6b35;
	font-size: 16px;
	transition: all 0.2s ease;
}

.delete-btn:hover {
	background: #fff5f5;
	border-color: #ff6b35;
}

.action-buttons.cart-mode {
	justify-content: space-between;
	align-items: center;
}

.btn.go-to-cart {
	background: #28a745;
	color: white;
	/* flex: 0 0 auto;
	max-width: 70%; */
}

.btn.go-to-cart:hover {
	background: #218838;
}

@media (max-width: 768px) {
	.action-buttons.cart-mode {
		flex-direction: row;
		gap: 10px;
	}

	.quantity-controls {
		flex: 1;
		justify-content: center;
	}

	.btn.go-to-cart {
		flex: 0 0 auto;
		/* min-width: 100px; */
		font-size: 14px;
		padding: 12px 16px;
	}
}

.bulk-order {
	max-width: 70%;
	background: #f8f9fa;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	padding: 15px;
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}

.bulk-icon {
	width: 40px;
	height: 40px;
	background: #ffc107;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}



.bulk-text {
	flex: 1;
}

.bulk-title {
	font-weight: 600;
	color: #ff6b35;
}

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

.bulk-btn {
	background: #007bff;
	color: white;
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.bulk-icon-stock {
	width: 40px;
	height: 40px;
	background: red;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.bulk-title-stock {
	font-weight: 600;
	color: red;
}

.bulk-btn-stock {
	background: #ff6b35;
	color: white;
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

/* Product Description */
.description-section {
	margin-top: 40px;
}

.description-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #2c3e50;
}

.description-content {
	background: #f8f9fa;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 20px;
}

.description-item {
	margin-bottom: 15px;
}

.description-item h4 {
	color: #495057;
	margin-bottom: 8px;
}

.description-item ul {
	padding-left: 20px;
}

.description-item li {
	margin-bottom: 5px;
	color: #666;
}

/* Mobile Styles */
@media (max-width: 768px) {
	.container {
		margin: 0;
		border-radius: 0;
		padding: 15px;
	}

	.product-section {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.main-image {
		width: auto;
		max-width: 100%;
	}

	.variants-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.features {
		flex-direction: column;
		gap: 10px;
	}

	.action-buttons {
		max-width: 100%;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: white;
		padding: 15px;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
		z-index: 1000;
		margin-bottom: 0;
	}

	.btn {
		font-size: 14px;
		padding: 14px 20px;
	}

	body {
		padding-bottom: 80px;
	}

	.bulk-order {
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.product-title-main {
		font-size: 20px;
	}

	.main-current-price {
		font-size: 24px;
	}

	.variants-grid {
		grid-template-columns: 1fr;
	}

	.farmers-numbers {
		font-size: 12px;
	}

	/* .bulk-order {
		flex-direction: column;
		text-align: center;
	} */
}

/* VARIANT STYLES */
.variant-container {
	/* max-width: 1200px; */
	margin: 0 auto;
	/* overflow-x: auto; */
	padding: 10px 0;
}

.variant-wrapper {
	display: flex;
	gap: 20px;
	/* min-width: max-content; */
	flex-wrap: wrap;
	/* padding: 0 10px; */
}

.variant-box {
	position: relative;
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 16px;
	padding: 20px;
	min-width: 150px;
	width: 150px;
	height: 105px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.variant-box:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px);
}

.variant-box.active {
	border-color: #4CAF50;
	background: #d3ffd3f0;
	box-shadow: 0 4px 16px rgba(76, 175, 80, 0.2);
}

.discount-badge {
	position: absolute;
	top: 0px;
	left: 50%;
	transform: translateX(-50%);
	background: #ff8c42;
	color: white;
	padding: 2px 11px;
	border-radius: 0 0 12px 12px;
	font-size: 12px;
	font-weight: 600;
	min-width: 80px;
	text-align: center;
}

.variant-title {
	color: #333;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	margin: 25px 0 4px 0;
	line-height: 1.3;
}

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

.current-price {
	color: #333;
	font-size: 16px;
	font-weight: 700;
}

.original-price {
	color: #999;
	font-size: 14px;
	text-decoration: line-through;
	font-weight: 400;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.variant-container {
		margin: 0 -10px;
		padding: 10px 0;
	}

	.variant-wrapper {
		padding: 0 10px;
		gap: 15px;
	}

	.variant-box {
		min-width: 140px;
		width: 140px;
		height: 140px;
		padding: 15px;
		border-radius: 12px;
	}

	.discount-badge {
		padding: 5px 12px;
		font-size: 12px;
		border-radius: 0 0 8px 8px;
	}

	.variant-title {
		font-size: 14px;
		margin: 20px 0 10px 0;
	}

	.current-price {
		font-size: 18px;
	}

	.original-price {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.variant-box {
		min-width: 120px;
		width: 110px;
		height: 100px;
		padding: 12px;
	}

	.variant-title {
		font-size: 13px;
		margin: 15px 0 8px 0;
	}

	.current-price {
		font-size: 14px;
	}

	.original-price {
		font-size: 13px;
	}

	.discount-badge {
		padding: 2px 5px;
		font-size: 10px;
	}
}
@media (max-width: 376px) {
	.original-price{
		font-size: 10px;
	}
}
@media (max-width: 320px) {
	.original-price{
		font-size: 8px;
	}
}

/* Scrollbar styling */
.variant-container::-webkit-scrollbar {
	height: 6px;
}

.variant-container::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 3px;
}

.variant-container::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 3px;
}

.variant-container::-webkit-scrollbar-thumb:hover {
	background: #bbb;
}
/* </style> */
/* <!-- Product Card Container --> */
/* <style> */
/* * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
} */

body {
	font-family: 'Lato', sans-serif;
	background-color: #f5f5f5;
	/*padding: 20px;*/
}

.products-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	max-width: 1400px;
	margin: 0 auto;
}

.product-card {
	position: relative;
	overflow: hidden;
	background: white;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	border: 2px solid #e0e0e0;
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	aspect-ratio: 4/5.8;
}

/* .product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
} */

.best-seller-badge {
	position: absolute;
	top: 0px;
	left: 0px;
	background: #FFB000;
	color: white;
	display: flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 0px 0px 10px 0px;
	font-size: 13px;
	font-weight: 501;
	gap: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.crown-icon {
	width: 14px;
	height: 14px;
	fill: white;
}

.wishlist-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 36px;
	height: 36px;
	border: 2px solid #e0e0e0;
	border-radius: 50%;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 2;
}

.wishlist-btn:hover {
	border-color: #4CAF50;
	background-color: #f0f8f0;
}

.wishlist-icon {
	width: 18px;
	height: 18px;
	stroke: #666;
	fill: none;
	stroke-width: 2;
}

.product-image-container {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
	margin-top: 15px;
	overflow: hidden;
}

.product-image {
	width: 100%;
	/* Slight enlargement */
	height: auto;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.product-card:hover .product-image {
	transform: scale(1.03);
}


.product-title {
	font-size: 16px;
	font-weight: 500;
	color: #333;
	margin-bottom: 8px;
	line-height: 1.2;
	/* flex-grow: 1; */
	display: -webkit-box;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rating-section {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #FFD700;
	/* Gold color for stars */
	font-size: 14px;
	margin-bottom: 8px;
}

.rating-section .fa-star,
.rating-section .fa-star-half-stroke {
	color: #FFD700;
}

.rating-section .fa-star.fa-regular {
	color: #ccc;
	/* Grey for empty stars */
}

.rating-count {
	color: #555;
	font-size: 12px;
	margin-left: 4px;
}

.price-section {
	margin-bottom: 5px;
}

.current-price {
	font-size: 15px;
	font-weight: 500;
	color: #333;
	margin-bottom: 4px;
}

.mrp-section {
	display: flex;
	align-items: center;
	/* gap: 2px; */
	font-size: 12px;
	font-weight: 400;
	color: #666;
}

.original-price {
	text-decoration: line-through;
	font-weight: 400;
	color: #999;
}

.action-section {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	width: 100%;

}

.buy-now-btn {
	flex: 1;
	background: #4CAF50;
	color: white;
	border: none;
	padding: 8px 8px;
	border-radius: 25px;
	font-family: 'Lato', sans-serif;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.buy-now-btn:hover {
	background: #45a049;
}

.quantity-controls-main {
	display: flex;
	align-items: center;
	gap: 4px;
	/* padding-left: 5px; */
}

.quantity-btn-main {
	width: 25px;
	height: 25px;
	border: 2px solid #4CAF50;
	border-radius: 50%;
	background: white;
	color: #4CAF50;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.quantity-btn-main:hover {
	background: #4CAF50;
	color: white;
}

.quantity-display-main {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	min-width: 20px;
	text-align: center;
}



/* SIze sectiopn Dropdown */
.size-section {
	/* margin-bottom: 10px; */
	display: flex;
	align-items: center;
	gap: 10px;
	margin: auto;
	margin-top: 5px;
	width: 100%;
	justify-content: space-between;
	/* flex-wrap: wrap; */
}

.size-label {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	flex-shrink: 0;
}

.size-dropdown {
	flex: 1;
	min-width: 112px;
	padding: 3px 7px;
	border: 2px solid #4CAF50;
	border-radius: 8px;
	font-size: 12px;
	color: #4CAF50;
	background: white;
	cursor: pointer;
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 4.5px;
}


.dropdown-arrow {
	font-size: 14px;
	color: #4CAF50;
}




/* Modal Styles */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

.modal {
	background: white;
	border-radius: 20px;
	width: 90%;
	max-width: 450px;
	/* max-height: 80vh; */
	position: relative;
	transform: scale(0.9);
	transition: transform 0.3s ease;


}

/* .modal::-webkit-scrollbar {
	display: none;
} */

.modal-overlay.active .modal {
	transform: scale(1);
}

.modal-header {
	padding: 20px;
	/* border-bottom: 1px solid #eee; */
	display: flex;
	align-items: center;
	gap: 15px;
}

.modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 30px;
	color: #666666;
	cursor: pointer;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-product-image {
	width: 100px;
	height: 100px;
	border-radius: 8px;
	flex-shrink: 0;
	border: 1px solid #808080;
}

.modal-product-image img {
	height: 100%;
	width: 100%;
}

.modal-product-info h3 {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin-bottom: 4px;
}

.modal-product-info p {
	color: #888;
	font-size: 14px;
}

.modal-body {
	padding: 20px;
	overflow-y: auto;
	/* enables scroll only when needed */
	max-height: 60vh;
	/* or any height less than .modal's max-height */
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* IE 10+ */
}

.modal-body::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari */
}


.size-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	/* text-align: center; */
	margin: 0px 0px 5px 25px;
}

.size-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
}

.size-option:last-child {
	border-bottom: none;
}

.size-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-right: 15px;
}

.size-name {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 4px;
}

.size-price {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 25px;
	/* width: ; */
}

.price-current {
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.price-original {
	font-size: 14px;
	color: #888;
	text-decoration: line-through;
}

.discount-percent {
	background: #ff9500;
	color: white;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	width: 80px;
	height: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.add-to-cart-btn {
	background: #ff9500;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

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

.open-cart-btn {
	background: #4CAF50;
	color: white;
	border: none;
	padding: 6px 10px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 10px;
	opacity: 0;

}

.open-cart-btn:hover {
	background: #45a049;
}

/* Quantity Controls */
.quantity-controls {
	display: none;
	align-items: center;
	gap: 10px;
	/* margin-left:5px ; */
}

.quantity-controls.active {
	display: flex;
}

.quantity-btn {
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.quantity-decrease {
	background: #ffebe0;
	color: #ff6b35;
}

.quantity-decrease:hover {
	background: #ff6b35;
	color: white;
}

.quantity-increase {
	background: #4CAF50;
	color: white;
}

.quantity-increase:hover {
	background: #45a049;
}

.quantity-display {
	width: 40px;
	height: 32px;
	border: 1px solid #ddd;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	color: #333;
}

.add-to-cart-btn.added {
	background: #4CAF50;
}

.add-to-cart-btn.added:hover {
	background: #45a049;
}

/* Toast Notification Styles */
.toast {
	position: fixed;
	top: 20px;
	right: 20px;
	background: #333;
	color: white;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	z-index: 10000;
	transform: translateX(400px);
	opacity: 0;
	transition: all 0.3s ease;
}

.toast.show {
	transform: translateX(0);
	opacity: 1;
}

.toast.success {
	background: #4CAF50;
}

.toast.info {
	background: white;
	color: #4CAF50;
	border: 1px solid #666666;
	font-weight: 700;
}

.toast.warning {
	background: #ff9500;
}

.Price-Section{
	display: flex;
	align-items: center;
	justify-content: space-between;
	width:100%;
	margin-top: 6px;
	justify-content: space-between;
}

/* Responsive Grid */
/* 1440px and above - 6 columns */
@media (min-width: 1440px) {
	.product-card {
		flex: 0 0 calc(16.666% - 17px);
	}
}

/* 1024px to 1439px - 4 columns */
@media (min-width: 1024px) and (max-width: 1439px) {
	.product-card {
		flex: 0 0 calc(25% - 15px);
	}
}

/* 768px to 1023px - 3 columns */
@media (min-width: 768px) and (max-width: 1023px) {
	.product-card {
		flex: 0 0 calc(33.333% - 14px);
	}
}

/* 425px and below - 2 columns (smaller cards) */
@media (max-width: 767px) {
	.products-container {
		gap: 15px;
	}

	.product-card {
		flex: 0 0 calc(50% - 8px);
		padding: 15px;
		aspect-ratio: 2.5/4;
	}

	.product-title {
		font-size: 14px;
		margin-bottom: 10px;
	}

	.current-price {
		font-size: 16px;
	}

	.mrp-section {
		font-size: 11px;
	}

	.buy-now-btn {
		padding: 10px 16px;
		font-size: 13px;
	}

	.quantity-btn-main {
		width: 28px;
		height: 28px;
		font-size: 16px;
	}

	.wishlist-btn {
		width: 32px;
		height: 32px;
		top: 12px;
		right: 12px;
	}

	.wishlist-icon {
		width: 16px;
		height: 16px;
	}
}

@media (max-width: 426px) {
	body {
		padding: 10px;
	}

	.products-container {
		gap: 10px;
	}

	.product-title {
		font-size: 14px;
		margin-bottom: 8px;
	}

	.current-price {
		font-size: 14px;
	}

	.buy-now-btn {
		padding: 8px 14px;
		font-size: 10px;
	}

	.product-card {
		flex: 0 0 calc(50% - 5px);
		padding: 12px;
	}
}

@media (max-width: 376px) {
	body {
		padding: 10px;
	}

	.products-container {
		gap: 8px;
	}

	.product-title {
		font-size: 12px;
		margin-bottom: 6px;
	}

	.current-price {
		font-size: 12px;
	}

	.buy-now-btn {
		padding: 6px 12px;
		font-size: 8px;
	}

	.product-card {
		flex: 0 0 calc(50% - 5px);
		padding: 12px;
	}

	.mrp-section {
		font-size: 8px;
	}

	.quantity-btn-main {
		width: 20px;
		height: 20px;
		font-size: 18px;
		font-weight: bold;
		transition: all 0.3s ease;
	}

	.size-dropdown {
		min-width: 85px;
		padding: 2px 6px;
		border: 1px solid #4CAF50;
		border-radius: 8px;
		font-size: 9px;
	}

	.dropdown-arrow {
		font-size: 12px;
	}

	.rating-section {
		font-size: 12px;
	}
}

@media (max-width: 321px) {
	.product-title {
		font-size: 12px;
		margin-bottom: 6px;
	}

	.current-price {
		font-size: 10px;
	}

	.buy-now-btn {
		padding: 6px 6px;
		font-size: 8px;
	}

	.product-card {
		flex: 0 0 calc(50% - 5px);
		padding: 12px;
	}

	.mrp-section {
		font-size: 8px;
		/* margin-left: -5px; */
	}

	.quantity-btn-main {
		width: 18px;
		height: 18px;
		font-size: 10px;
		font-weight: bold;
		transition: all 0.3s ease;
	}

	.action-section {
		gap: 6px;
	}

	.quantity-display-main {
		font-size: 12px;
	}

	/* .quantity-controls {
		gap: 0px;

	} */

	.best-seller-badge {
		position: absolute;
		top: 0px;
		left: 12px;
		padding: 5px 6px;
		border-radius: 0px 0px 8px 8px;
		font-size: 8px;
		font-weight: 501;
		gap: 4px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	}

	.rating-section {
		font-size: 10px;
	}
}

.similar-products-section {
	margin-top: 50px;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
}

.similar-products-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.similar-products-title {
	font-size: 24px;
	font-weight: 600;
	color: #2c3e50;
	margin: 0;
}

.view-all-link {
	color: #007bff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	transition: color 0.3s ease;
}

.view-all-link:hover {
	color: #0056b3;
	text-decoration: underline;
}

@media (max-width: 768px) {
	.similar-products-section {
		margin-top: 30px;
		padding-top: 20px;
	}

	.similar-products-header {
		margin-bottom: 20px;
	}

	.similar-products-title {
		font-size: 20px;
	}

	.view-all-link {
		font-size: 14px;
	}
}


/* Quantitiy Control Main new */

.QUANTITY-SECTION {
	margin-bottom: 20px;
}

.QUANTITY-LABEL {
	font-weight: 600;
	margin-bottom: 10px;
	color: #2c3e50;
}

.QUANTITY-CONTROL {
	display: flex;
	align-items: center;
	gap: 0;
	width: fit-content;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	overflow: hidden;
}

.QUANTITY-BTN {
	width: 40px;
	height: 40px;
	border: none;
	background: #f8f9fa;
	color: #495057;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.QUANTITY-BTN:hover {
	background: #e9ecef;
}

.QUANTITY-BTN:active {
	background: #dee2e6;
	transform: scale(0.95);
}

.QUANTITY-BTN:disabled {
	background: #f8f9fa;
	color: #ccc;
	cursor: not-allowed;
}

.QUANTITY-INPUT {
	width: 60px;
	height: 40px;
	border: none;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	background: white;
	outline: none;
	-moz-appearance: textfield;
}

.QUANTITY-INPUT::-webkit-outer-spin-button,
.QUANTITY-INPUT::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.QUANTITY-TOTAL {
	margin-top: 10px;
	font-size: 14px;
	color: #666;
}

.QUANTITY-TOTAL-PRICE {
	font-weight: 600;
	color: #e74c3c;
}

/* Breadcrumb COde */

.breadcrumb {
	background: #f8f9fa;
	padding: 12px;
	margin-bottom: 20px;
	border-radius: 6px;
}

.breadcrumb-nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	font-size: 14px;
	color: #666;
}

.breadcrumb-item {
	display: flex;
	align-items: center;
	gap: 5px;
}

.breadcrumb-link {
	color: #007bff;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s ease;
}

.breadcrumb-link:hover {
	color: #0056b3;
	text-decoration: underline;
}

.breadcrumb-separator {
	color: #999;
	font-size: 17px;
	margin: 0 5px;
}

.breadcrumb-current {
	color: #495057;
	font-weight: 600;
}

@media (max-width: 768px) {
	.breadcrumb {
		margin-bottom: 15px;
		padding: 10px 0;
	}

	.breadcrumb-nav {
		font-size: 13px;
	}

	.breadcrumb-separator {
		margin: 0 3px;
	}
}

/* DELIVERY CHECK PINCODE */
.delivery-check {
	background: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 25px;
	max-width: 70%;
}

.delivery-check-title {
	font-size: 16px;
	font-weight: 600;
	color: #3077be;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.delivery-check-title i {
	color: #28a745;
	font-size: 18px;
}

.delivery-input-group {
	display: flex;
	gap: 0;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.delivery-input {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-right: none;
	font-size: 14px;
	outline: none;
	background: white;
	transition: border-color 0.3s ease;
	border-radius: 10px 0px 0px 10px;
}

.delivery-input:focus {
	border-color: #007bff;
}

.delivery-input::placeholder {
	color: #999;
}

.delivery-check-btn {
	padding: 12px 24px;
	background: #007bff;
	color: white;
	border: 1px solid #007bff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.delivery-check-btn:hover {
	background: #0056b3;
	border-color: #0056b3;
}

.delivery-check-btn:active {
	transform: translateY(1px);
}

.delivery-result {
	margin-top: 15px;
	padding: 12px;
	border-radius: 6px;
	font-size: 14px;
	display: none;
}

.delivery-result.success {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.delivery-result.error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.delivery-info {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.delivery-info-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.delivery-info-label {
	font-weight: 500;
}

.delivery-info-value {
	color: #28a745;
	font-weight: 600;
}

@media (max-width: 768px) {
	.delivery-check {
		padding: 15px;
		margin-bottom: 20px;
		max-width: 100%;
	}

	.delivery-input-group {
		flex-direction: column;
	}

	.delivery-input {
		border-right: 1px solid #ddd;
		border-bottom: none;
		border-radius: 10px 10px 0px 0px;

	}

	.delivery-check-btn {
		border-top: none;
	}
}
