


* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	1margin: 0;
	1padding: 0;
	1box-sizing: border-box;
	font-family: Arial, sans-serif;
	
}

body {
	font-family: Arial, sans-serif;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	/* Offset body padding to account for fixed headers (40px + 50px = 90px) */				
	1background-color: #f4f7f6;
	1display: flex;
	1justify-content: center;
	1align-items: center;
	1min-height: 100vh;
	
}
			
.content{
	max-width:1440px;
	margin:0 auto;
	width:100%;
	padding :0 15px;
}


body {
	1background-color: #f4f4f4;

}

	
	* {
	  box-sizing: border-box;
	  margin: 0;
	  padding: 0;
	}


	html, body {
	  height: 100%;
	}

	body {
	  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	  color: #333;
	  background-color: #f8f9fa;
	  line-height: 1.6;

	  
	  display: flex;
	  flex-direction: column;
	  min-height: 100vh;
	}

	a {
	  text-decoration: none;
	  color: inherit;
	}	
	.site-header {
		background-color: #ffffff;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
		position: sticky;
		top: 0;
		z-index: 1000;
		width: 100%;
	}

	.header-container {
		1max-width: 1200px;
		max-width: 1440px;
		margin: 0 auto;
		padding: 0.75rem 1.5rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	
	.header-left {
	  display: flex;
	  align-items: center;
	  gap: 0.5rem;
	}

	.logo {
	  font-size: 1.5rem;
	  color: #007bff;
	  display: flex;
	  align-items: center;
	}

	.site-name {
	  font-size: 1.5rem;
	  font-weight: 700;
	  color: #222;
	}

	
	.header-right {
	  display: flex;
	  align-items: center;
	  gap: 1rem;
	}

	.cart-btn {
	  display: flex;
	  align-items: center;
	  gap: 0.4rem;
	  position: relative;
	  font-weight: 500;
	  padding: 0.5rem;
	  color: #444;
	}

	.cart-badge {
	  background-color: #dc3545;
	  color: #fff;
	  font-size: 0.75rem;
	  font-weight: bold;
	  padding: 2px 6px;
	  border-radius: 50%;
	}

	
	.btn {
	  padding: 0.5rem 1rem;
	  border-radius: 6px;
	  font-weight: 600;
	  font-size: 0.9rem;
	  transition: all 0.2s ease-in-out;
	  text-align: center;
	}

	.btn-secondary {
	  color: #007bff;
	  border: 1px solid #007bff;
	  background-color: transparent;
	}

	.btn-secondary:hover {
	  background-color: #f0f7ff;
	}

	.btn-primary {
	  background-color: #007bff;
	  color: #ffffff;
	  border: 1px solid #007bff;
	}

	.btn-primary:hover {
	  background-color: #0056b3;
	}

	
	.mobile-dots-btn {
	  display: none;
	  background: none;
	  border: none;
	  font-size: 1.5rem;
	  color: #444;
	  cursor: pointer;
	  padding: 0.25rem 0.5rem;
	}
	
	

	
	@media (max-width: 330px) {
	
		.header-left {
		  gap: 0.2rem;
		}
		.logo {
		  font-size: 1.1rem;				  
		}
		.site-name {
		  font-size: 1.1rem;				 
		}
		.header-container {				  
		  padding: 0.75rem 1.0rem;				 
		}
		.header-right {
		  gap: 0.5rem;
		}				
	}
	
	@media (max-width: 768px) {
	
		.mobile-dots-btn {
			display: block;
		}

		.header-container {
			flex-wrap: wrap;
		}

	  	
	  	.header-right {
			display: flex;
			flex-direction: column;
			width: 100%;
			max-height: 0;
			overflow: hidden;
			transition: max-height 0.3s ease-in-out, opacity 0.2s ease-in-out;
			opacity: 0;
			gap: 0.75rem;
	  	}

	  	
	  	.header-right.active {
			max-height: 300px;
			opacity: 1;
			padding-top: 1rem;
			padding-bottom: 0.5rem;
			border-top: 1px solid #eee;
			margin-top: 0.5rem;
	  	}

	  	.header-right .nav-item {
			width: 100%;
			justify-content: center;
	 	}

	  	.cart-btn {
			justify-content: center;
	  	}

	  	
	  	.footer-container {
			flex-direction: column;
			text-align: center;
	  	}
	}	.breadcrumb-btn {
	  background: none;
	  border: none;
	  font-size: 1.25rem;
	  color: #555;
	  cursor: pointer;
	  padding: 0.25rem 0.5rem;
	  border-radius: 4px;
	  transition: background 0.2s;
	}

	.breadcrumb-btn:hover {
	  background-color: #f0f0f0;
	}
	/* ================================
	   3. PAGE CONTENT (MAIN)
	   ================================ */
	main {
		1padding: 2rem 1.5rem;				
		flex: 1; 
	}			
	.main-container {
		max-width: 1440px
		margin: 0 auto;
	}	
	
#btn-close-leftpanel{
	padding: 5px 10px;
	position: absolute;
	right: -31px;
	top: 10px;
	z-index: 10000;
	background-color: white;
	border: 0;
}
#leftpanel-content{
		position:fixed;
		top:0;
		1bottom:0;
		left:0;
		width:90%;
		max-width:400px;
		background-color:white;
		box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
		
		z-index:1100;				
		height: 100vh;			
		overflow-y: 1auto;
		overflow-x: 1hidden;	
		overscroll-behavior: contain; 
	}
	#leftpanel-bg{
		position:fixed;top:0;
		1height:100vh;
		bottom:0;
		left:0;right:0;				
		background-color:#eee;
		z-index:1000;
		overflow-y: hidden;
		overflow-x: hidden;	
		overscroll-behavior: contain; 
		opacity: 0.5;
	}
/*
@media (min-width: 768px) { 
	
	#leftpanel{
		position:static;
		
		min-width:350px;
	}
	#btn-close-leftpanel{
		display:none;
	}
}
*/
.leftpanel-hide{
		display:none;
}
	
@media (max-width: 768px) {


	
	
	
	
}
		.leftpanel-link{
		padding:10px;
		1background-color:#007bff;
		1color:white;
		1border-radius:5px;
		display:inline-block;
		width:100%;
		text-decoration:none;
		font-size:1.1rem;
	}
	.leftpanel-link:hover{
		1text-decoration:none;
		1color:white;
		font-weight:500;
	}	body{
		background-color:#f1f5f9;
	}
	.main-content {
	  background-color: transparent;
	}
	.content{
		1padding-top:15px;
		1padding-bottom:15px;
	}	:root {
	  --primary: #2563eb;
	  --primary-hover: #1d4ed8;
	  --success: #16a34a;
	  --danger: #dc2626;
	  --warning: #f59e0b;
	  --text-main: #0f172a;
	  --text-muted: #64748b;
	  --border: #e2e8f0;
	  --bg: #ffffff;
	}



	/* Main Product Panel */
	.product {
	  background: var(--bg);
	  border: 1px solid var(--border);
	  border-radius: 16px;
	  padding: 24px;
	  width: 100%;
	  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
	  display: grid;
	  1grid-template-columns: 500px 1fr;
	  1grid-template-columns: 360px 1fr;
	  gap: 24px;
	}		
	/* --- GALLERY & SLIDER SECTION --- */
	.gallery-section {
	  display: flex;
	  flex-direction: column;
	  gap: 12px;
	  1width: 500px;
	  1width: 360px;
	}

	.main-image-container {
	  position: relative;
	  1width: 500px;
	  1width: 360px;
	  max-height: 350px;
	  border: 1px solid var(--border);
	  border-radius: 12px;
	  overflow: hidden;
	  background: #fafafa;
	  cursor: crosshair;
	}

	.main-image-container img {
	  width: 100%;
	  height: 100%;
	  max-height:350px;
	  object-fit: contain;
	  display: block;
	}

	/* Magnifier Lens Overlay on Main Image */
	.magnifier-lens {
	  position: absolute;
	  border: 2px solid var(--primary);
	  background-color: rgba(37, 99, 235, 0.15);
	  cursor: crosshair;
	  display: none; /* Shown on hover */
	  pointer-events: none; /* Allows mouse events to pass through */
	  border-radius: 4px;
	}

	/* Thumbnails Track */
	.thumbnail-container {
	  display: flex;
	  gap: 10px;
	  overflow-x: auto;
	  padding-bottom: 4px;
	}

	.thumbnail-container::-webkit-scrollbar {
	  height: 4px;
	}
	.thumbnail-container::-webkit-scrollbar-thumb {
	  background: #cbd5e1;
	  border-radius: 4px;
	}

	.thumb-btn {
	  width: 64px;
	  height: 64px;
	  border-radius: 8px;
	  border: 2px solid var(--border);
	  background: #fff;
	  padding: 2px;
	  cursor: pointer;
	  flex-shrink: 0;
	  transition: all 0.2s ease;
	}

	.thumb-btn img {
	  width: 100%;
	  height: 100%;
	  object-fit: contain;
	  border-radius: 4px;
	}

	.thumb-btn.active {
	  border-color: var(--primary);
	  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
	}

	/* --- ZOOMED IN DETAILS PANEL --- */
	.zoom-panel {
	  position: absolute;
	  left: 384px; /* Positioned right next to the main image */
	  top: 24px;
	  width: 500px;
	  height: 500px;
	  background-color: #fff;
	  border: 1px solid var(--border);
	  border-radius: 12px;
	  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
	  z-index: 100;
	  display: none; /* Shown on hover */
	  background-repeat: no-repeat;
	  overflow: hidden;
	}

	.right-panel{
		display: flex;
		flex-direction: column;
		gap: 10px;
	}			.store-bar {
	  display: flex;
	  justify-content: space-between;
	  align-items: center;
	  font-size: 0.875rem;
	  padding-bottom: 12px;
	  border-bottom: 1px solid var(--border);
	}

	.store-name {
	  font-weight: 600;
	  color: var(--text-main);
	}

	.store-status {
	  padding: 4px 10px;
	  border-radius: 20px;
	  font-weight: 600;
	  font-size: 0.75rem;
	}

	.store-status.open {
	  background-color: #dcfce7;
	  color: #15803d;
	}
	.store-state {
		text-align: center;
		font-weight: bold;
		padding: 5px 10px;		 
		box-shadow: 0 2px 5px rgba(0,0,0,0.2);						
		border: 1px solid #bbf7d0;
		font-size:0.8rem;
		display:inline-block;
	}
	.store-open {
		background: #dcfce7;
		color: var(--success);
		border: 1px solid #bbf7d0;
	}
	.store-closed { 
		background: #fee2e2; 
		color: var(--danger); 
		border: 1px solid #fecaca; 
	}
		.product-title {
			  font-size: 1.35rem;
			  font-weight: 700;
			  color: var(--text-main);
			  1line-height: 1.3;
			  margin:0;
		}
		.delivery-status {
			  background-color: #eff6ff;
			  color: var(--primary);
			  padding: 2px 8px;
			  border-radius: 4px;
			  font-weight: 600;
			}
		
			:root {
				--star-size: 14px;
				--star-color: silver;
				--star-background: #fc0;
			}
			.rating-container {
				display: flex;
				align-items: center;
				gap: 8px;
			
			}

			.Stars {
				--percent: calc(var(--rating) / 5 * 100%);
				display: inline-block;
				font-size: var(--star-size);
				font-family: Times; // make sure ★ appears correctly
				line-height: 1;

				&::before {
					content: '★★★★★';
					letter-spacing: 3px;
					background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
					-webkit-background-clip: text;
					-webkit-text-fill-color: transparent;
				}
			}	
			.rating-text {
				font-size: 0.875rem;
				color: var(--text-muted);
				font-weight: 500;
			}

		    .price-container {
	  display: flex;
	  align-items: baseline;
	  gap: 10px;
	}
	/*
	.price {
	  font-size: 1.75rem;
	  font-weight: 800;
	  1color: var(--text-main);
	  color: coral;
	}	*/	

	.d1iscounted-price , .offer-price {
	  font-size: 1.75rem;
	  font-weight: 600;
	  1color: var(--text-main);
	  color: coral;
	}
	.discount-badge {
	  background-color: #fef2f2;
	  color: var(--danger);
	  font-size: 0.75rem;
	  font-weight: 700;
	  padding: 2px 8px;
	  border-radius: 4px;
	  border: 1px solid #fecaca;
	}

	.original-price {
	  font-size: 1.1rem;
	  color: var(--text-muted);
	  text-decoration: line-through;
	}

		.radiobtn{
		padding:10px 0;
		/*background-color:#a1cefe;*/
		1border:1px solid lightgrey;
		border-radius:15px;/*#747474  68aaf1*/
	}
	.radiobtn-option{
		display:inline-block;
		1width:32%;
		text-align:center;
		cursor: pointer;
		border:1px solid lightgrey;
		border-radius:15px;
		padding:10px 0px;
	}			
	.selected-radiobtnoption{
		background-color:#007bff;/*white*/
		color:white;
		font-weight:500;
	}	.properties-grid {
	  display: flex;
	  flex-direction: column;
	  gap: 12px;
	}

	.prop-group {
	  display: flex;
	  flex-direction: column;
	  gap: 6px;
	}

	.prop-label {
	  font-size: 0.85rem;
	  font-weight: 600;
	  color: var(--text-muted);
	}

	.options-row {
	  display: flex;
	  gap: 8px;
	}

	.chip {
	  padding: 6px 14px;
	  border: 1px solid var(--border);
	  border-radius: 8px;
	  font-size: 0.875rem;
	  font-weight: 500;
	  cursor: pointer;
	  background: #fff;
	  transition: all 0.2s ease;
	}

	.chip.active {
	  border-color: var(--primary);
	  background-color: #eff6ff;
	  color: var(--primary);
	  font-weight: 600;
	}

	.color-chip {
	  width: 28px;
	  height: 28px;
	  border-radius: 50%;
	  border: 2px solid var(--bg);
	  outline: 1px solid var(--border);
	  cursor: pointer;
	  transition: transform 0.2s ease;
	}

	.color-chip.active {
	  outline: 2px solid var(--primary);
	  transform: scale(1.1);
	}	
	.status-badges {
	  display: flex;
	  gap: 12px;
	  font-size: 0.85rem;
	  font-weight: 600;
	}

	.stock-status {
	  1display: flex;
	  1align-items: center;
	  1gap: 6px;
	  font-size: 0.85rem;
	  font-weight: 600;
	  1width:115px;
	}

	.stock-status.in-stock { color: var(--success); }
	.stock-status.out-of-stock { color: var(--danger); }

	.dot {
	  width: 8px;
	  height: 8px;
	  border-radius: 50%;
	  background-color: currentColor;
	}

	.quantity-section {
	  display: flex;
	  gap:20px;
	  1justify-content: space-between;
	  align-items: center;
	}

	.quantity-picker {
	  display: flex;
	  align-items: center;
	  border: 1px solid var(--border);
	  border-radius: 8px;
	  overflow: hidden;
	  
	}
	.qty-input{
		min-width:100px;
	}

	.qty-btn {
	  width: 36px;
	  height: 36px;
	  background: #f8fafc;
	  border: none;
	  font-size: 1.1rem;
	  font-weight: 600;
	  color: var(--text-main);
	  cursor: pointer;
	}

	.qty-btn:hover { background: #e2e8f0; }

	.qty-input {
	  width: 44px;
	  height: 36px;
	  border: none;
	  text-align: center;
	  font-size: 0.95rem;
	  font-weight: 600;
	  color: var(--text-main);
	}	.buy-now-btn {
	  width: 200px;;
	  padding: 12px;
	  background-color: coral;
	  color: white;
	  border: none;
	  border-radius: 8px;
	  font-size: 1rem;
	  font-weight: 600;
	  cursor: pointer;
	  transition: background 0.2s ease;
	}
	.add-to-cart-btn {
	  width: 200px;;
	  padding: 12px;
	  background-color: rgb(52, 152, 219);
	  color: white;
	  border: none;
	  border-radius: 8px;
	  font-size: 1rem;
	  font-weight: 600;
	  cursor: pointer;
	  transition: background 0.2s ease;
	}

	.add-to-cart-btn:hover {
	  background-color: var(--primary-hover);
	}	:root {
		  --collapsed-height: 120px;
		  --primary-color: #2563eb;
		  --primary-hover: #1d4ed8;
		  --text-color: #334155;
		  --bg-color: #ffffff;
		  --border-color: #e2e8f0;
		}

	.product-description {
	  background: var(--bg-color);
	  1border: 1px solid var(--border-color);
	  1border-radius: 12px;
	  padding: 0 24px;
	  1max-width: 500px;
	  width: 100%;
	  1box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
	}

	.title {
	  padding:0 24px;
	  font-size: 1.25rem;
	  font-weight: 600;
	  color: #0f172a;
	  margin-bottom: 12px;
	}
	.description-container {
		  position: relative;
		  max-height: var(--collapsed-height);
		  overflow: hidden;
		  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	}

	/* Gradient overlay when collapsed */
	.description-container::after {
		  content: '';
		  position: absolute;
		  bottom: 0;
		  left: 0;
		  right: 0;
		  height: 50px;
		  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--bg-color));
		  pointer-events: none;
		  transition: opacity 0.3s ease;
	}

	/* Hide gradient when expanded */
	.description-container.expanded::after {
		  opacity: 0;
	}

	.description-text {
		  font-size: 0.95rem;
		  line-height: 1.6;
		  color: var(--text-color);
	}

	.description-text p {
		  margin-bottom: 12px;
	}

	.description-text p:last-child {
		  margin-bottom: 0;
	}

	/* Toggle Button Styling */
	.toggle-btn {
		  display: inline-flex;
		  align-items: center;
		  gap: 6px;
		  margin-top: 16px;
		  padding: 8px 16px;
		  background-color: transparent;
		  color: var(--primary-color);
		  border: 1px solid var(--primary-color);
		  border-radius: 6px;
		  font-size: 0.875rem;
		  font-weight: 500;
		  cursor: pointer;
		  transition: all 0.2s ease;
	}

	.toggle-btn:hover {
		  background-color: var(--primary-color);
		  color: #ffffff;
	}

	.toggle-btn .arrow {
		  display: inline-block;
		  transition: transform 0.3s ease;
	}

	/* Rotate arrow when expanded */
	.toggle-btn.expanded .arrow {
		  transform: rotate(180deg);
	}			/* ==========================================
	  3. RELATED PRODUCTS (RIGHT SIDEBAR)
	========================================== */
	.related-sidebar {
	  display: flex;
	  flex-direction: column;
	  gap: 14px;
	}

	.sidebar-title {
	  font-size: 1rem;
	  font-weight: 700;
	  color: var(--text-main);
	  padding-bottom: 8px;
	  border-bottom: 1px solid var(--border);
	}

	.related-list {
	  display: flex;
	  flex-direction: column;
	  gap: 12px;
	}

	.related-item {
	
	  display: flex;
	  gap: 12px;
	  align-items: center;
	  text-decoration: none;
	  padding: 8px;
	  border-radius: 8px;
	  border: 1px solid transparent;
	  transition: all 0.2s ease;
	  
	  
	  color: #007bff;
	  text-decoration: none;
	  background-color: white;
	  padding: 10px;
	  display: inline-block;
	  margin-bottom: 10px;
	  border: 1px solid lightgrey;
	  border-radius: 5px;
	  text-align: center;			  
	}

	.related-item:hover {
	  background-color: #f8fafc;
	  border-color: var(--border);
	}

	.related-img {
	  width: 64px;
	  height: 64px;
	  border-radius: 6px;
	  object-fit: contain;
	  background: #f8fafc;
	  border: 1px solid var(--border);
	  flex-shrink: 0;
	}

	.related-details {
	  display: flex;
	  flex-direction: column;
	  gap: 2px;
	  overflow: hidden;
	}

	.related-name {
	  font-size: 0.85rem;
	  font-weight: 600;
	  color: var(--text-main);
	  white-space: nowrap;
	  overflow: hidden;
	  text-overflow: ellipsis;
	}

	.related-price {
	  font-size: 0.9rem;
	  font-weight: 700;
	  color: var(--primary);
	}

	.related-rating {
	  font-size: 0.75rem;
	  color: var(--warning);
	}		
	/* ================================
	   4. FOOTER STYLES
	   ================================ */
	.site-footer {
	  background-color: #222222;
	  color: #cccccc;
	  padding: 1.5rem 0;
	  font-size: 0.9rem;
	}

	.footer-container {
	  max-width: 1440px;
	  margin: 0 auto;
	  padding: 0 1.5rem;
	  display: flex;
	  justify-content: space-between;
	  align-items: center;
	  flex-wrap: wrap;
	  gap: 1rem;
	}

	.footer-links {
	  display: flex;
	  gap: 1.5rem;
	}

	.footer-links a {
	  color: #cccccc;
	  transition: color 0.2s;
	}

	.footer-links a:hover {
	  color: #ffffff;
	}

