/* -----------------------------
 PRODUCT SECTIONS
----------------------------- */
.product-sections-wrapper {
	background-color: #eaeded;
	padding: 20px;
	max-width: 1500px;
	margin: 20px auto;
	position: relative;
	z-index: 100;
}

.product-section {
	background-color: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
	margin-bottom: 20px;
}

.product-section h2 {
	font-size: 21px;
	font-weight: 700;
	margin-bottom: 15px;
	color: #111;
}

.product-section.horizontal-scroll-section .product-grid {
	display: flex;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #a8a8a8 #f0f0f0;
	gap: 15px;
	padding: 0 15px 10px;
}

.product-section.horizontal-scroll-section .product-item {
	flex: 0 0 auto;
	width: 150px;
	text-align: center;
	background-color: #fff;
	padding: 10px;
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
	transition: transform 0.2s ease;
}

.product-section.horizontal-scroll-section .product-item:hover { transform: translateY(-2px); }

.product-section.horizontal-scroll-section .product-item img {
	width: 100%;
	height: 120px;
	object-fit: contain;
	border-radius: 4px;
}

.product-section.horizontal-scroll-section .product-item span {
	font-size: 13px;
	color: #0f1111;
	display: block;
	white-space: normal;
	word-wrap: break-word;
	margin-top: 8px;
}

.product-section.horizontal-scroll-section .product-item .price {
	font-weight: bold;
	margin-top: 5px;
	color: #B12704;
}

.product-section.horizontal-scroll-section .product-item .stars {
	color: #FF9900;
	font-size: 14px;
	margin: 5px 0;
}

.product-section.horizontal-scroll-section .product-item .add-to-cart-btn {
	background-color: #FFD814;
	color: #0F1111;
	border: 1px solid #FCD200;
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 13px;
	cursor: pointer;
	margin-top: 10px;
	width: 100%;
	transition: background-color 0.2s ease;
	font-weight: 600;
}

.product-section.horizontal-scroll-section .product-item .add-to-cart-btn:hover { background-color: #F7CA00; }

.product-section.horizontal-scroll-section .section-link {
	color: #007185;
	text-decoration: none;
	font-size: 13px;
	margin-top: 10px;
	display: inline-block;
}

.product-section.horizontal-scroll-section .section-link:hover {
	color: #c7511f;
	text-decoration: underline;
}

.product-section.horizontal-scroll-section .product-grid::-webkit-scrollbar { height: 8px; }

.product-section.horizontal-scroll-section .product-grid::-webkit-scrollbar-track {
	background: #f0f0f0;
	border-radius: 4px;
}

.product-section.horizontal-scroll-section .product-grid::-webkit-scrollbar-thumb {
	background: #a8a8a8;
	border-radius: 4px;
}

.product-section.horizontal-scroll-section .product-grid::-webkit-scrollbar-thumb:hover { background: #777; }

/* -----------------------------
 PRODUCT DETAILS PAGE – Specific Styles
----------------------------- */
.product-details-wrapper {
	background-color: #fff;
	max-width: 1400px;
	margin: 20px auto;
	padding: 30px;
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	gap: 30px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	border-radius: 8px;
}

.product-image-gallery {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.img-zoom-container {
	position: relative;
	width: 100%;
	max-width: 400px;
	background: #f8f8f8;
	border-radius: 8px;
	overflow: hidden;
}

.main-image {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 15px;
	transition: opacity 0.3s ease;
	border-radius: 8px;
}

.img-zoom-lens {
	position: absolute;
	border: 2px solid #d92b03;
	cursor: crosshair;
	width: 80px;
	height: 80px;
	display: none;
	pointer-events: none;
	border-radius: 50%;
	background: rgba(217, 43, 3, 0.1);
	z-index: 10;
}

.img-zoom-result {
	position: absolute;
	top: 0;
	left: calc(100% + 20px);
	width: 400px;
	height: 400px;
	border: 2px solid #d92b03;
	display: none;
	background-repeat: no-repeat;
	background-color: white;
	z-index: 100;
	pointer-events: none;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
	border-radius: 8px;
}

.product-image-gallery .thumbnail-images {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 5px;
	justify-content: center;
	flex-wrap: wrap;
}

.product-image-gallery .thumbnail-images img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border: 2px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	opacity: 0.7;
}

.product-image-gallery .thumbnail-images img:hover,
.product-image-gallery .thumbnail-images img.active {
	border-color: #d92b03;
	opacity: 1;
	transform: scale(1.05);
}

.product-info-details h1 {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 8px;
	line-height: 1.3;
	color: #0f1111;
}

.product-info-details .brand-link {
	font-size: 14px;
	color: #007185;
	text-decoration: none;
	margin-bottom: 10px;
	display: inline-block;
}

.product-info-details .brand-link:hover {
	color: #c7511f;
	text-decoration: underline;
}

.product-info-details .ratings {
	color: #FF9900;
	font-size: 14px;
	margin: 10px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.product-info-details .ratings span {
	color: #007185;
	font-size: 14px;
	text-decoration: none;
}

.product-info-details .ratings span:hover {
	color: #c7511f;
	text-decoration: underline;
}

.product-info-details hr {
	border: none;
	border-top: 1px solid #eee;
	margin: 15px 0;
}

.product-info-details .price-info {
	font-size: 28px;
	color: #B12704;
	font-weight: 700;
	margin-bottom: 15px;
}

.product-info-details .price-info .currency {
	font-size: 18px;
	color: #0f1111;
	font-weight: 400;
	vertical-align: super;
}

.product-info-details h2 {
	font-size: 18px;
	font-weight: 700;
	margin-top: 20px;
	margin-bottom: 10px;
	color: #0f1111;
}

.product-info-details ul {
	margin-left: 20px;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}

.product-info-details li { margin-bottom: 5px; }

.buy-box {
	border: 1px solid #ddd;
	padding: 20px;
	border-radius: 8px;
	background-color: #fcfcfc;
	height: fit-content;
	position: sticky;
	top: 120px;
}

.buy-box .price-buy-box {
	font-size: 28px;
	color: #B12704;
	font-weight: 700;
	margin-bottom: 10px;
	display: flex;
	align-items: baseline;
	gap: 4px;
}

.buy-box .price-buy-box .currency {
	font-size: 18px;
	color: #0f1111;
	font-weight: 400;
}

.buy-box .delivery-info {
	font-size: 14px;
	color: #007185;
	margin-bottom: 10px;
	line-height: 1.4;
}

.buy-box .stock-status {
	font-size: 16px;
	font-weight: 700;
	color: #26b341;
	margin-bottom: 20px;
}

.buy-box .quantity-selector { margin-bottom: 15px; }

.buy-box .quantity-selector label {
	font-size: 14px;
	font-weight: 600;
	color: #0f1111;
	display: block;
	margin-bottom: 5px;
}

.buy-box .quantity-selector select {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: white;
	font-size: 14px;
	cursor: pointer;
}

.buy-box .add-to-cart-btn,
.buy-box .buy-now-btn {
	width: 100%;
	padding: 12px;
	font-size: 16px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	margin-bottom: 10px;
	font-weight: 700;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}

.buy-box .add-to-cart-btn {
	background-color: #FFD814;
	color: #0F1111;
	border: 1px solid #FCD200;
}

.buy-box .buy-now-btn {
	background-color: #FFA41C;
	color: #0F1111;
	border: 1px solid #F2A214;
}

.buy-box .add-to-cart-btn:hover {
	background-color: #F7CA00;
	transform: translateY(-1px);
}

.buy-box .buy-now-btn:hover {
	background-color: #F08804;
	transform: translateY(-1px);
}

.buy-box .add-to-wishlist {
	display: block;
	text-align: center;
	margin-top: 10px;
	font-size: 14px;
	color: #007185;
	text-decoration: none;
	padding: 8px;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.buy-box .add-to-wishlist:hover {
	color: #c7511f;
	background-color: #f0f0f0;
}

/* Error handling */
.image-error {
	background: #f8f8f8;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	font-size: 12px;
	border: 1px dashed #ccc;
}