/* -----------------------------------------------------------
 * 1. Product Page General Enhancements
 * ----------------------------------------------------------- */

/* Improve the Add to Cart Button */
.woocommerce div.product form.cart .button {
	background-color: #111 !important;
	color: #fff !important;
	border-radius: 8px !important;
	padding: 15px 30px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
}

.woocommerce div.product form.cart .button:hover {
	background-color: #333 !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
}

/* Quantity Input Styling */
.woocommerce div.product form.cart div.quantity {
	margin-right: 15px !important;
}
.woocommerce div.product form.cart div.quantity input.qty {
	border-radius: 8px !important;
	border: 1px solid #ddd !important;
	padding: 14px !important;
	height: auto !important;
}

/* Product Title and Price */
.product_title.entry-title,
.summary .product_title,
h1.product_title {
	font-size: 1.8rem !important;
	line-height: 1.3 !important;
	font-weight: 700 !important;
	margin-bottom: 12px !important;
	color: #222 !important;
}
.summary p.price,
.price .woocommerce-Price-amount {
	font-size: 1.5rem !important;
	color: #000 !important;
	font-weight: 600 !important;
	margin-bottom: 25px !important;
}

/* Responsive Product Title */
@media (max-width: 768px) {
	.product_title.entry-title,
	.summary .product_title,
	h1.product_title {
		font-size: 1.3rem !important;
		line-height: 1.2 !important;
	}
	.summary p.price,
	.price .woocommerce-Price-amount {
		font-size: 1.2rem !important;
	}
}

/* -----------------------------------------------------------
 * 2. Reviews Section Overhaul (Card Layout)
 * ----------------------------------------------------------- */

/* Review Container */
#reviews #comments h2 {
	font-size: 1.8rem !important;
	font-weight: 600 !important;
	margin-bottom: 30px !important;
	border-bottom: 2px solid #f1f1f1 !important;
	padding-bottom: 15px !important;
}

/* Individual Review Cards */
.woocommerce #reviews #comments ol.commentlist {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.woocommerce #reviews #comments ol.commentlist li {
	margin-bottom: 25px !important;
}

.woocommerce #reviews #comments ol.commentlist li .comment_container {
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 12px;
	padding: 25px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.02);
	transition: all 0.3s ease;
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.woocommerce #reviews #comments ol.commentlist li .comment_container:hover {
	box-shadow: 0 8px 25px rgba(0,0,0,0.06);
	border-color: #e8e8e8;
	transform: translateY(-2px);
}

/* Reviewer Avatar */
.woocommerce #reviews #comments ol.commentlist li img.avatar {
	position: static !important;
	float: none !important;
	border-radius: 50% !important;
	width: 55px !important;
	height: 55px !important;
	border: 3px solid #fff !important;
	box-shadow: 0 3px 10px rgba(0,0,0,0.1) !important;
	padding: 0 !important;
	flex-shrink: 0;
	margin: 0 !important;
}

/* Review Meta (Name & Date) */
.woocommerce #reviews #comments ol.commentlist li .comment-text {
	margin-left: 0 !important;
	border: none !important;
	padding: 0 !important;
	flex: 1;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta {
	font-size: 0.95rem !important;
	color: #666 !important;
	margin-bottom: 12px !important;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta strong {
	color: #111 !important;
	font-size: 1.15rem !important;
	font-weight: 700 !important;
}

/* Star Ratings in Reviews */
.woocommerce .star-rating {
	color: #f5a623 !important; /* Premium Gold */
	font-size: 1.1em !important;
	letter-spacing: 2px !important;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text .star-rating {
	float: none !important;
	margin-bottom: 8px !important;
	display: block !important;
}

/* Review Content */
.woocommerce #reviews #comments ol.commentlist li .comment-text .description p {
	font-size: 1.05rem !important;
	line-height: 1.7 !important;
	color: #444 !important;
	margin-bottom: 0 !important;
}

/* Responsive Reviews */
@media (max-width: 768px) {
	.woocommerce #reviews #comments ol.commentlist li .comment_container {
		padding: 20px;
		gap: 15px;
	}
	.woocommerce #reviews #comments ol.commentlist li img.avatar {
		width: 45px !important;
		height: 45px !important;
	}
}

/* -----------------------------------------------------------
 * 3. Add a Review Form Styling
 * ----------------------------------------------------------- */

#review_form_wrapper {
	background: #f9f9f9;
	padding: 30px;
	border-radius: 12px;
	margin-top: 40px;
}
#review_form_wrapper h3#reply-title {
	font-size: 1.5rem !important;
	font-weight: 600 !important;
	margin-bottom: 20px !important;
}

/* Form Inputs */
#review_form_wrapper .comment-form input[type="text"],
#review_form_wrapper .comment-form input[type="email"],
#review_form_wrapper .comment-form textarea {
	width: 100% !important;
	padding: 15px !important;
	border: 1px solid #ddd !important;
	border-radius: 8px !important;
	background: #fff !important;
	font-size: 1rem !important;
	margin-bottom: 15px !important;
	transition: border-color 0.3s ease;
}
#review_form_wrapper .comment-form input:focus,
#review_form_wrapper .comment-form textarea:focus {
	border-color: #111 !important;
	outline: none !important;
}

/* Form Submit Button */
#review_form_wrapper .comment-form .submit {
	background-color: #111 !important;
	color: #fff !important;
	border-radius: 8px !important;
	padding: 15px 30px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	border: none !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
}
#review_form_wrapper .comment-form .submit:hover {
	background-color: #333 !important;
	transform: translateY(-2px) !important;
}

/* -----------------------------------------------------------
 * 4. PC View: Product Details Layout (Accordion columns)
 * ----------------------------------------------------------- */
.lgshop-details-wrapper {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-top: 50px;
}

@media (min-width: 992px) {
	.lgshop-details-wrapper {
		flex-direction: row; /* Left col and right col */
		gap: 50px;
		align-items: flex-start;
	}
	
	.lgshop-details-left-col,
	.lgshop-details-right-col {
		flex: 1;
		min-width: 0;
	}
}

.lgshop-reviews-section {
	margin-top: 50px;
	padding-top: 30px;
	border-top: 1px solid #eaeaea;
}
