/* Product Page Specific Styles
 * Reviews CSS: chosen by theme snapshot — section keys `reviews` (product) / `bundle_reviews` (bundle) → public/css/reviews-{variant}.css and bundle_reviews-{variant}.css. See product.blade.php / bundle.blade.php @push('head').
 */
.product-page {
	padding: 60px 0;
}

.product-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

/* Gallery: public/css/product_gallery-v{variant}.css (v1 default) */

.product-short-description{
	margin-bottom: 10px;
	color: var(--primary-text-color);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	text-align: justify;
}

.product-details {
	padding: 20px;
}

.product-title {
	font-size: 32px;
	margin-bottom: 10px;
	color: var(--primary-title-color);
}

.product-category {
	display: inline-block;
	color: var(--secondary-title-color);
	margin-bottom: 15px;
	font-size: 16px;
}

.product-price {
	margin: 20px 0;
}

.current-price {
	font-size: 28px;
	font-weight: bold;
	color: var(--original-price-color);
	margin-right: 10px;
}

.original-price {
	font-size: 20px;
	text-decoration: line-through;
	color: var(--discount-price-color);
}

.size-options {
	margin: 30px 0;
}

.size-title {
	font-size: 18px;
	margin-bottom: 15px;
	color: var(--primary-title-color);
}

.size-buttons {
	display: flex;
	gap: 10px;
}

.size-btn {
	padding: 10px 20px;
	border: 1px solid var(--primary-brand-color);
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s, border-color 0.3s, color 0.3s;
	background-color: transparent;
	color: var(--primary-text-color);
}

.size-btn:hover,
.size-btn.active {
	background-color: var(--primary-button-background-color);
	border-color: var(--primary-brand-color);
	color: var(--primary-button-text-color);
}

.product-actions {
	display: flex;
	gap: 15px;
	margin-top: 30px;
}

.single-product-actions {
	justify-content: flex-start;
}

.add-to-cart {
	padding: 12px 30px;
	background-color: var(--primary-button-background-color);
	color: var(--primary-button-text-color);
	font-size: 25px;
	border: none;
	border-radius: 5px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.add-to-cart:hover {
	background-color: var(--primary-button-hover-background-color);
	color: var(--primary-button-hover-text-color);
}

.add-to-cart-related {
	background-color: var(--primary-button-background-color);
	color: var(--primary-button-text-color);
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.add-to-cart-related:hover {
	background-color: var(--primary-button-hover-background-color);
	color: var(--primary-button-hover-text-color);
}

.add-to-fav-related {
	background-color: transparent;
	border: 1px solid var(--primary-brand-color);
	color: var(--primary-text-color);
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.add-to-fav-related.favorited {
	color: var(--primary-brand-color);
	border-color: var(--primary-brand-color);
}

.add-to-fav-related:hover {
	background-color: var(--primary-button-hover-background-color);
	color: var(--primary-button-hover-text-color);
}

.buy-now {
	padding: 12px 30px;
	background-color: var(--secondary-button-background-color);
	color: var(--secondary-button-text-color);
	font-size: 20px;
	border: none;
	border-radius: 5px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.buy-now:hover {
	background-color: var(--secondary-button-hover-background-color);
	color: var(--secondary-button-hover-text-color);
}

.add-to-fav {
	/* width: 50px; */
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 25px;
	background-color: transparent;
	border: 1px solid var(--primary-brand-color) !important;
	border-radius: 5px;
	cursor: pointer;
	transition: color 0.3s, background-color 0.3s, border-color 0.3s;
	color: var(--heart-icon-empty-color);
}

.add-to-fav.favorited {
	color: var(--heart-icon-filled-color);
	border-color: var(--primary-brand-color) !important;
}

.add-to-fav:hover {
	background-color: var(--primary-background-color);
	color: var(--heart-icon-filled-color);
}

/* Related Products / Related Bundles (same section class) — heading styles were previously from reviews-v1 global .section-title */
.related-products > .section-title {
	text-align: center;
	margin-bottom: 40px;
}

.related-products > .section-title h2 {
	font-size: 28px;
	color: var(--primary-title-color);
	position: relative;
	display: inline-block;
	padding-bottom: 10px;
}

.related-products > .section-title h2::after {
	content: "";
	position: absolute;
	width: 50%;
	height: 3px;
	background-color: var(--primary-brand-color);
	bottom: 0;
	left: 25%;
}

/* Related Products */
.related-products {
	margin: 60px 0;
}

.related-slider {
	position: relative;
	padding: 0 40px;
}

.related-slider-container {
	display: flex;
	overflow-x: auto;
	gap: 20px;
	padding: 20px 0;
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* IE and Edge */
}

.related-slider-container::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Opera */
}

.related-product-card {
	min-width: 270px;
	background-color: var(--secondary-background-color);
	border-radius: 10px;
	overflow: hidden;
	/* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
	transition: transform 0.3s;
}

.related-product-card:hover {
	transform: translateY(-10px);
}

.related-product-img {
	height: 250px;
	overflow: hidden;
}

.related-product-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.5s;
}

.related-product-card:hover .related-product-img img {
	transform: scale(1.1);
}

.related-product-info {
	padding: 15px;
	text-align: center;
}

.related-product-info h3 {
	font-size: 18px;
	margin-bottom: 8px;
	color: var(--primary-title-color);
}

.related-product-price {
	font-size: 18px;
	font-weight: bold;
	color: var(--original-price-color);
	margin-bottom: 10px;
}

.slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background-color: var(--secondary-background-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 2;
	transition: background-color 0.3s, color 0.3s;
}

.slider-nav:hover {
	background-color: var(--primary-button-hover-background-color);
	color: var(--primary-button-hover-text-color);
}

.slider-prev {
	left: 0;
}

.slider-next {
	right: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
	.product-container {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.product-title {
		font-size: 28px;
	}

	.size-buttons {
		flex-wrap: wrap;
	}
}
