/* PDP component styles migrated from mu-plugins to avoid inline <style> output. */

/* mg-installments-badge.php */
.mg-installments-badge {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	background: transparent;
	color: #00a650;
	padding: 0;
	border-radius: 0;
	max-width: none;
	margin: 4px 0 10px;
	position: static;
}
.mg-installments-icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: #00a650;
	margin-top: 1px;
}
.mg-installments-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.mg-installments-main {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: #00a650;
}
.mg-installments-main .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}
.mg-installments-sub {
	font-size: 12px;
	color: #888;
	opacity: 1;
	line-height: 1.3;
}
@media (max-width: 768px) {
	.mg-installments-badge {
		gap: 8px;
		margin: 6px 0 12px;
	}
	.mg-installments-main {
		font-size: 14px;
	}
	.mg-installments-sub {
		font-size: 12px;
	}
}

/* mg-product-datasheet.php */
.mg-product-datasheet-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 12px;
	padding: 14px 16px;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	background: #fff;
}
.mg-product-datasheet-title {
	font-weight: 700;
	font-size: 16px;
	color: #3f0460;
}
.mg-product-datasheet-meta {
	margin-top: 4px;
	font-size: 12px;
	color: #6b6b6b;
}
.mg-product-datasheet-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 160px;
	background: #3f0460 !important;
	border-color: #3f0460 !important;
	color: #fff !important;
	border-radius: 8px;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 14px;
	box-sizing: border-box;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.mg-product-datasheet-btn:hover {
	background: #2c033f !important;
	border-color: #2c033f !important;
	color: #fff !important;
}
.mg-product-datasheet-icon {
	font-size: 16px;
}
@media (max-width: 767px) {
	.mg-product-datasheet-bar {
		flex-direction: column;
		align-items: flex-start;
	}
	.mg-product-datasheet-btn {
		width: 100%;
	}
}

/* mg-whatsapp-product-advisor.php */
.mg-whatsapp-advisor-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 12px;
	padding: 14px 16px;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	background: #fff;
}
.mg-whatsapp-advisor-content {
	min-width: 0;
	flex: 1;
}
.mg-whatsapp-advisor-title {
	font-weight: 700;
	font-size: 16px;
	white-space: nowrap;
}
.mg-whatsapp-advisor-hours {
	margin-top: 4px;
	font-size: 12px;
	color: #6b6b6b;
}
.mg-whatsapp-advisor-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	background: #25D366 !important;
	border-color: #25D366 !important;
	color: #fff !important;
	border-radius: 8px;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 14px;
	box-sizing: border-box;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.mg-whatsapp-advisor-btn:hover {
	background: #128C7E !important;
	border-color: #128C7E !important;
	color: #fff !important;
}
@media (max-width: 767px) {
	.mg-whatsapp-advisor-bar {
		flex-direction: column;
		align-items: flex-start;
	}
	.mg-whatsapp-advisor-btn {
		width: 100%;
	}
}

/* includes/mg-product-trust-signals.php */
.mg-trust-signals {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}
.mg-trust-signals__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
}
.mg-trust-signals__item svg {
	flex-shrink: 0;
	color: #00a650;
	margin-top: 1px;
}
.mg-trust-signals__item div {
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.mg-trust-signals__item strong {
	font-size: 13px;
	font-weight: 600;
	color: #333;
}
.mg-trust-signals__item span {
	font-size: 12px;
	color: #888;
}
@media (max-width: 768px) {
	.mg-trust-signals {
		margin-top: 16px;
		padding-top: 12px;
	}
}

/* mg-low-stock-urgency.php */
.mg-low-stock-urgency {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #c0392b;
	font-size: 13px;
	font-weight: 600;
	margin: 4px 0 8px;
}
.mg-low-stock-dot {
	width: 8px;
	height: 8px;
	background: #c0392b;
	border-radius: 50%;
	display: inline-block;
	animation: mg-pulse 1.5s infinite;
}
@keyframes mg-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

/* mg-reorder-product-sections.php */
.woocommerce-tabs .wc-tabs li a {
	color: #666 !important;
	font-weight: 600;
}
.woocommerce-tabs .wc-tabs li a:hover {
	color: #52047D !important;
}
.woocommerce-tabs .wc-tabs li.active a {
	color: #52047D !important;
	border-bottom-color: #52047D !important;
}

/* mg-default-color-selection.php */
.single-product form.variations_form .reset_variations {
	display:none !important;
}
.single-product .woocommerce-variation-availability .mg-color-unavailable-note{
	display:none;
}
.single-product .woocommerce-variation-availability.mg-color-unavailable > :not(.mg-color-unavailable-note){
	display:none !important;
}
.single-product .woocommerce-variation-availability.mg-color-unavailable .mg-color-unavailable-note{
	display:block;
}

/* mg-conversion-phase2.php (product-specific rules only) */
.wpcbn-btn-single{
    margin-top:0 !important;
    max-width:none !important;
}
.single-product form.variations_form .woocommerce-variation-add-to-cart{
    display:flex !important;
    flex-wrap:wrap !important;
    row-gap:10px !important;
    column-gap:0 !important;
    align-items:center !important;
    width:100% !important;
    float:none !important;
    clear:both !important;
}
.single-product form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button,
.single-product form.variations_form .woocommerce-variation-add-to-cart .wpcbn-btn-single{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
}
ul.products .product .wpcbn-btn-archive{
    margin-top:8px !important;
}

/* includes/mg-conversion-phase11-pdp.php */
@media (max-width: 767px) {
	body.single-product.mg-conv11-has-sticky {
		padding-bottom: 94px;
	}
	.mg-conv11-sticky {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9999;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: #ffffff;
		border-top: 1px solid #e5e8ec;
		box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.08);
	}
	.mg-conv11-sticky__meta {
		flex: 1;
		min-width: 0;
	}
	.mg-conv11-sticky__label {
		font-size: 11px;
		line-height: 1.2;
		color: #566273;
	}
	.mg-conv11-sticky__price {
		font-size: 16px;
		line-height: 1.2;
		font-weight: 700;
		color: #111827;
	}
	.mg-conv11-sticky__price .amount {
		color: inherit;
	}
	.mg-conv11-sticky__actions {
		display: flex;
		gap: 8px;
	}
	.mg-conv11-sticky__btn.button {
		margin: 0 !important;
		padding: 12px 14px !important;
		border-radius: 10px !important;
		font-weight: 700 !important;
		font-size: 13px !important;
		line-height: 1 !important;
		white-space: nowrap;
	}
	.mg-conv11-sticky__btn--buy.button {
		background: #290140 !important;
		border-color: #290140 !important;
		color: #ffffff !important;
	}
}
@media (min-width: 768px) {
	.mg-conv11-sticky {
		display: none !important;
	}
}
.mg-conv11-trust {
	margin-top: 12px;
	padding: 12px 14px;
	border: 1px solid #e6e9ee;
	border-radius: 10px;
	background: #f8fbff;
	font-size: 13px;
	line-height: 1.45;
	color: #28323d;
}
	.mg-conv11-trust__item {
		display: flex;
		align-items: flex-start;
		gap: 8px;
	}
	.mg-conv11-trust__item svg {
		flex-shrink: 0;
		margin-top: 2px;
		color: #52047D;
	}
	.mg-conv11-trust__item + .mg-conv11-trust__item {
		margin-top: 6px;
	}
	.mg-conv11-key-specs {
		margin: 10px 0 14px;
		padding: 10px 12px;
		border: 1px solid #e6e9ee;
		border-radius: 10px;
		background: #f8fbff;
	}
	.mg-conv11-key-specs__list {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.mg-conv11-key-specs__item {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 6px 10px;
		border-radius: 999px;
		border: 1px solid #dbe4ee;
		background: #fff;
		font-size: 12px;
		line-height: 1.3;
		color: #28323d;
	}
	.mg-conv11-key-specs__label {
		font-weight: 700;
		color: #1f2937;
	}
	.mg-conv11-key-specs__value {
		color: #4b5563;
	}
	.mg-conv11-oos {
		margin-top: 16px;
		padding: 14px;
	border: 1px solid #e7ebf0;
	border-radius: 12px;
	background: #ffffff;
}
.mg-conv11-oos__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
}
.mg-conv11-oos__copy {
	margin: 6px 0 12px;
	color: #4b5563;
	font-size: 14px;
}
.mg-conv11-oos__alert {
	margin: 0 0 10px;
	padding: 9px 10px;
	border-radius: 9px;
	font-size: 13px;
	line-height: 1.35;
	border: 1px solid #e6ebf1;
	background: #f8fbff;
	color: #28323d;
}
.mg-conv11-oos__alert--success {
	border-color: #b7e3c7;
	background: #effbf3;
	color: #1d8f4e;
}
.mg-conv11-oos__alert--error {
	border-color: #f0d2d2;
	background: #fff6f6;
	color: #8f3b3b;
}
.mg-conv11-oos__notify {
	margin: 0 0 12px;
	padding: 10px;
	border: 1px solid #e7ebf0;
	border-radius: 10px;
	background: #f8fbff;
}
.mg-conv11-oos__notify-label {
	display: block;
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	color: #28323d;
}
.mg-conv11-oos__notify-row {
	display: flex;
	gap: 8px;
	align-items: center;
}
.mg-conv11-oos__notify-input {
	flex: 1;
	min-width: 0;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #d6dde7;
	border-radius: 9px;
	font-size: 14px;
	background: #fff;
}
.mg-conv11-oos__notify-btn.button {
	height: 42px;
	padding: 0 14px !important;
	border-radius: 9px !important;
	font-weight: 700 !important;
	white-space: nowrap;
	background: #1d8f4e !important;
	border-color: #1d8f4e !important;
	color: #fff !important;
}
.mg-conv11-oos__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 12px;
}
.mg-conv11-oos__card {
	border: 1px solid #e8edf2;
	border-radius: 10px;
	padding: 8px;
	background: #fff;
}
.mg-conv11-oos__card a {
	display: block;
	text-decoration: none;
}
.mg-conv11-oos__card img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}
.mg-conv11-oos__name {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.35;
	color: #111827;
}
.mg-conv11-oos__price {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	font-weight: 700;
	color: #111827;
}
.mg-conv11-oos__quote.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 14px !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	background: #1d8f4e !important;
	border-color: #1d8f4e !important;
	color: #fff !important;
}
	@media (max-width: 767px) {
		.mg-conv11-trust {
			font-size: 12px;
		}
		.mg-conv11-key-specs__item {
			width: 100%;
			justify-content: space-between;
			border-radius: 9px;
		}
		.mg-conv11-oos__notify-row {
			flex-direction: column;
			align-items: stretch;
	}
	.mg-conv11-oos__notify-btn.button {
		width: 100%;
	}
}

/* mg-recently-viewed.php */
.mg-recently-viewed {
	padding: 0 0 40px;
	max-width: 1200px;
	margin: 0 auto;
}
.mg-recently-viewed h2 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #1a1a2e;
}
.mg-recently-viewed ul.products {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.mg-recently-viewed ul.products li.product {
	background: #fff;
	padding: 12px;
	border-radius: 10px;
	text-align: center;
	border: 1px solid #f0f0f0;
	transition: box-shadow 0.2s ease;
}
.mg-recently-viewed ul.products li.product:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.mg-recently-viewed ul.products li.product img {
	width: 100%;
	max-height: 160px;
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
	border-radius: 6px;
	padding: 4px;
}
.mg-recently-viewed ul.products li.product .woocommerce-loop-product__title {
	font-size: 13px !important;
	line-height: 1.3;
	margin: 8px 0 4px;
}
.mg-recently-viewed ul.products li.product .price {
	font-size: 14px !important;
}
.mg-recently-viewed ul.products li.product .button {
	font-size: 12px !important;
	padding: 6px 16px !important;
	border-radius: 8px !important;
}
/* Hide buy-now in recently viewed */
.mg-recently-viewed .wpcbn-btn {
	display: none !important;
}
@media (max-width: 767px) {
	.mg-recently-viewed ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.mg-recently-viewed ul.products li.product {
		padding: 10px;
	}
	.mg-recently-viewed ul.products li.product img {
		max-height: 120px;
	}
}

/* mg-product-reviews-display.php */
.mg-product-rating {
	margin: 8px 0 12px;
}
.mg-rating-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #666;
	font-size: 14px;
	text-decoration: none;
}
.mg-rating-value {
	font-weight: 600;
	color: #444;
}
.mg-rating-count {
	color: #777;
}
.mg-rating-link .star-rating {
	font-size: 16px;
}
.mg-rating-link:hover {
	color: #d69942;
	text-decoration: underline;
}

/* mg-product-questions.php */
.mg-questions-section{padding:24px 0;background:#fff;}
.mg-questions-inner{max-width:1120px;margin:0 auto;padding:0 16px;}
.mg-questions-title{font-size:22px;margin:0 0 16px;color:#1f1f1f;font-weight:600;}
.mg-question-form{margin-bottom:12px;display:grid;grid-template-columns:1fr 160px;gap:12px;align-items:start;}
.mg-question-row-main{display:contents;}
.mg-question-row-main textarea{border:1px solid #ddd;border-radius:8px;padding:18px 20px;font-size:16px;color:#333!important;min-height:58px;width:100%;resize:none;font-family:inherit;line-height:1.4;overflow-y:hidden;}
.mg-question-row-main textarea:focus{outline:none;border-color:#52047D;color:#333!important;}
.mg-question-row-main textarea::placeholder{color:#888;}
.mg-question-row-main button{border:0;border-radius:8px;padding:18px 24px;background:#52047D;color:#fff;font-weight:600;font-size:15px;cursor:pointer;transition:background 0.2s;white-space:nowrap;min-height:58px;width:100%;}
.mg-question-row-main button:hover{background:#3d0360;}
.mg-question-row-identity{grid-column:1;display:flex;gap:10px;margin-top:0;}
.mg-question-row-identity input{flex:1;border:1px solid #ddd;border-radius:6px;padding:10px 14px;font-size:13px;color:#333!important;}
.mg-question-row-identity input:focus{outline:none;border-color:#52047D;color:#333!important;}
.mg-question-row-identity input::placeholder{color:#999;}
.mg-question-message{font-size:13px;color:#333;margin-top:8px;}
.mg-question-message.is-error{color:#c53030;}
.mg-question-message.is-success{color:#2f855a;}
.mg-question-link{display:inline-block;color:#52047D;text-decoration:none;font-size:13px;margin-bottom:16px;}
.mg-question-link:hover{text-decoration:underline;}
.mg-question-list{border-top:1px solid #eee;padding-top:16px;}
.mg-question-item{padding:16px 0;border-bottom:1px solid #f0f0f0;}
.mg-question-item:last-child{border-bottom:0;}
/* Depth indentation */
.mg-question-item.mg-depth-1{margin-left:32px;border-left:2px solid #e0e0e0;padding-left:16px;}
.mg-question-item.mg-depth-2{margin-left:32px;border-left:2px solid #e0e0e0;padding-left:16px;}
/* Comment header */
.mg-comment-header{display:flex;align-items:center;gap:8px;margin-bottom:4px;flex-wrap:wrap;}
.mg-comment-author{font-size:13px;font-weight:600;color:#1f1f1f;}
.mg-comment-date{font-size:12px;color:#999;}
.mg-comment-text{font-size:14px;color:#1f1f1f;line-height:1.5;}
/* Admin badge */
.mg-admin-badge{background:#52047D;color:#fff;font-size:10px;padding:2px 8px;border-radius:4px;text-transform:uppercase;font-weight:600;letter-spacing:0.3px;}
/* Admin comment highlight */
.mg-is-admin>.mg-comment-row{background:#f8f5fc;border-left:3px solid #52047D;border-radius:8px;padding:12px 16px;}
/* Actions */
.mg-comment-actions{display:flex;gap:12px;margin-top:8px;align-items:center;}
.mg-reply-btn{background:none;border:none;color:#52047D;font-size:13px;font-weight:600;cursor:pointer;padding:0;text-decoration:none;}
.mg-reply-btn:hover{text-decoration:underline;}
.mg-collapse-btn{background:none;border:none;color:#666;font-size:12px;cursor:pointer;padding:0;display:flex;align-items:center;gap:4px;}
.mg-collapse-btn::before{content:"\25BC";font-size:8px;transition:transform 0.2s;}
.mg-collapse-btn.is-collapsed::before{transform:rotate(-90deg);}
.mg-replies.is-collapsed{display:none;}
/* Reply form inline */
.mg-reply-form-wrap{margin-top:12px;}
.mg-reply-form-wrap form{display:flex;flex-direction:column;gap:8px;}
.mg-reply-form-wrap textarea{border:1px solid #ddd;border-radius:6px;padding:10px 14px;font-size:13px;color:#333!important;resize:none;min-height:40px;max-height:120px;overflow-y:auto;font-family:inherit;line-height:1.4;width:100%;box-sizing:border-box;}
.mg-reply-form-wrap textarea:focus{outline:none;border-color:#52047D;color:#333!important;}
.mg-reply-form-wrap textarea::placeholder{color:#999;}
.mg-reply-identity{display:flex;gap:8px;}
.mg-reply-identity input{flex:1;border:1px solid #ddd;border-radius:6px;padding:8px 12px;font-size:13px;color:#333!important;}
.mg-reply-identity input:focus{outline:none;border-color:#52047D;color:#333!important;}
.mg-reply-identity input::placeholder{color:#999;}
.mg-reply-form-buttons{display:flex;gap:8px;align-items:center;}
.mg-reply-form-buttons button[type="submit"]{border:0;border-radius:6px;padding:8px 16px;background:#52047D;color:#fff;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;}
.mg-reply-form-buttons button[type="submit"]:hover{background:#3d0360;}
.mg-reply-cancel{background:none!important;border:1px solid #ddd!important;border-radius:6px!important;padding:8px 16px!important;color:#666!important;font-size:13px!important;cursor:pointer!important;}
.mg-reply-message{font-size:12px;color:#333;}
.mg-reply-message.is-error{color:#c53030;}
/* Legacy selectors for cached HTML */
.mg-question-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;}
.mg-question-text{font-size:14px;color:#1f1f1f;font-weight:500;flex:1;}
.mg-question-date{font-size:12px;color:#999;white-space:nowrap;}
.mg-answer-row{margin-top:12px;padding:12px 16px;background:#f8f8f8;border-radius:8px;border-left:3px solid #52047D;}
.mg-answer-label{font-size:11px;color:#52047D;margin-bottom:4px;font-weight:600;text-transform:uppercase;letter-spacing:0.5px;}
.mg-answer-text{font-size:14px;color:#333;line-height:1.5;}
.mg-answer-empty{margin-top:8px;font-size:13px;color:#999;font-style:italic;}
.mg-answer-form{margin-top:12px;display:flex;gap:8px;align-items:flex-start;}
.mg-answer-form textarea{flex:1;border:1px solid #ddd;border-radius:6px;padding:10px 14px;font-size:13px;color:#333!important;resize:none;min-height:40px;max-height:120px;overflow-y:auto;font-family:inherit;line-height:1.4;}
.mg-answer-form textarea:focus{outline:none;border-color:#52047D;color:#333!important;}
.mg-answer-form textarea::placeholder{color:#999;}
.mg-answer-form button{border:0;border-radius:6px;padding:10px 16px;background:#52047D;color:#fff;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;}
.mg-question-more-wrap{padding-top:16px;}
.mg-question-more{border:1px solid #ddd;background:#fff;color:#333;border-radius:6px;padding:10px 24px;font-size:14px;cursor:pointer;transition:all 0.2s;}
.mg-question-more:hover{border-color:#52047D;color:#52047D;}
.mg-question-empty{font-size:14px;color:#666;padding:8px 0;}
.mg-question-hp{position:absolute;left:-9999px;opacity:0;height:0;width:0;}
@media (max-width: 600px){
	.mg-question-form{display:flex;flex-direction:column;gap:10px;}
	.mg-question-row-main{display:flex;flex-direction:column;gap:10px;}
	.mg-question-row-main input,.mg-question-row-main button{width:100%;}
	.mg-question-row-identity{flex-direction:column;}
	.mg-question-item.mg-depth-1,.mg-question-item.mg-depth-2{margin-left:16px;padding-left:12px;}
	.mg-reply-identity{flex-direction:column;}
	.mg-comment-header{gap:4px;}
	.mg-comment-date{width:100%;margin-top:2px;}
}

/* mg-reviews-section.php */
.mg-reviews-section{padding:24px 0;background:#fff;}
.mg-reviews-inner{max-width:1120px;margin:0 auto;padding:0 16px;}
.mg-reviews-title{font-size:22px;margin:0 0 16px;color:#1f1f1f;font-weight:600;}
.mg-reviews-header{display:flex;gap:32px;padding-bottom:16px;border-bottom:1px solid #eee;margin-bottom:16px;}
.mg-reviews-rating-box{flex:0 0 auto;display:flex;gap:12px;align-items:flex-start;}
.mg-reviews-score{font-size:44px;font-weight:300;color:#1f1f1f;line-height:1;}
.mg-reviews-score-meta{display:flex;flex-direction:column;gap:2px;padding-top:4px;}
.mg-reviews-average-stars{position:relative;font-size:18px;color:#ddd;line-height:1;}
.mg-reviews-average-stars::before{content:"★★★★★";}
.mg-reviews-average-stars span{position:absolute;left:0;top:0;overflow:hidden;color:#FCCB02;white-space:nowrap;}
.mg-reviews-average-stars span::before{content:"★★★★★";}
.mg-reviews-count{font-size:12px;color:#666;}
.mg-reviews-bars{display:flex;flex-direction:column;gap:3px;margin-top:8px;}
.mg-reviews-bar-row{display:flex;align-items:center;gap:4px;font-size:11px;color:#666;}
.mg-reviews-bar-label{min-width:28px;}
.mg-reviews-bar{width:80px;height:8px;border-radius:4px;background:#eee;overflow:hidden;}
.mg-reviews-bar span{display:block;height:100%;background:#FCCB02;}
.mg-reviews-photos-box{flex:1;min-width:0;}
.mg-reviews-photos-title{font-size:14px;font-weight:600;color:#1f1f1f;margin-bottom:10px;}
.mg-reviews-photos{display:flex;gap:10px;flex-wrap:wrap;}
.mg-reviews-photo-thumb{position:relative;border:0;background:#f5f5f5;padding:0;border-radius:8px;overflow:hidden;width:130px;height:160px;cursor:pointer;transition:transform .2s;}
.mg-reviews-photo-thumb:hover{transform:scale(1.02);}
.mg-reviews-photo-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.mg-reviews-photo-thumb--small{width:70px;height:70px;border-radius:6px;}
.mg-reviews-photo-badge{position:absolute;left:8px;bottom:8px;background:rgba(0,0,0,0.7);color:#fff;font-size:11px;padding:3px 7px;border-radius:4px;display:inline-flex;align-items:center;gap:3px;}
.mg-reviews-photos-empty{font-size:13px;color:#999;}
.mg-reviews-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px;}
.mg-reviews-filters{display:flex;gap:24px;align-items:center;font-size:14px;color:#333;}
.mg-reviews-filters label{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;margin:0;line-height:1;}
.mg-reviews-filters select{border:1px solid #ddd!important;border-radius:6px!important;padding:10px 14px!important;font-size:14px!important;background:#fff!important;color:#333!important;cursor:pointer;min-width:150px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;padding-right:36px!important;height:42px!important;line-height:1!important;vertical-align:middle;}
.mg-reviews-actions{display:flex;align-items:center;gap:10px;}
.mg-reviews-button{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border-radius:6px;background:#52047D;color:#fff;font-weight:600;font-size:14px;text-decoration:none;border:0;transition:background .2s;height:42px;}
.mg-reviews-button:hover{background:#3d0360;}
.mg-reviews-button--disabled{background:#eee;color:#999;pointer-events:none;}
.mg-reviews-cta-note{font-size:11px;color:#888;}
.mg-reviews-items{display:flex;flex-direction:column;}
.mg-review-item{padding:16px 0;border-bottom:1px solid #f0f0f0;}
.mg-review-item:last-child{border-bottom:0;}
.mg-review-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;}
.mg-reviews-stars{display:inline-flex;gap:2px;font-size:14px;color:#ddd;}
.mg-reviews-stars .is-active{color:#FCCB02;}
.mg-review-date{font-size:12px;color:#999;}
.mg-review-text{font-size:14px;color:#333;margin:0 0 10px;line-height:1.5;}
.mg-review-photos{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px;}
.mg-review-helpful{border:1px solid #ddd;background:#fff;color:#333;font-size:12px;cursor:pointer;padding:6px 12px;border-radius:20px;display:inline-flex;align-items:center;gap:4px;transition:all .2s;}
.mg-review-helpful:hover{border-color:#52047D;color:#52047D;}
.mg-review-helpful.is-voted{background:#f5f5f5;color:#999;border-color:#eee;}
.mg-reviews-empty{font-size:14px;color:#666;padding:20px 0;}
.mg-reviews-more-wrap{padding-top:16px;}
.mg-reviews-more{border:1px solid #ddd;background:#fff;color:#333;border-radius:6px;padding:10px 24px;font-size:14px;cursor:pointer;transition:all .2s;}
.mg-reviews-more:hover{border-color:#52047D;color:#52047D;}
.mg-review-lightbox{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999999;display:flex!important;align-items:center;justify-content:center;padding:20px;}
.mg-review-lightbox[hidden]{display:none!important;}
.mg-review-lightbox-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.5);z-index:-1;}
.mg-review-lightbox-dialog{position:relative;background:#fff;border-radius:12px;width:min(92vw,900px);max-height:85vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,0.3);}
.mg-review-lightbox-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #eee;}
.mg-review-lightbox-title{font-weight:600;font-size:16px;color:#1f1f1f;}
.mg-review-lightbox-close{border:0;background:transparent;font-size:20px;color:#666;cursor:pointer;}
.mg-review-lightbox-close:hover{color:#333;}
.mg-review-lightbox-body{display:flex;min-height:0;flex:1;}
.mg-review-lightbox-media{position:relative;flex:1 1 65%;background:#f8f8f8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;}
.mg-review-lightbox-media img{max-width:100%;max-height:55vh;object-fit:contain;border-radius:8px;}
.mg-review-lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);border:0;background:#fff;color:#333;width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,0.15);transition:transform .2s;}
.mg-review-lightbox-nav:hover{transform:translateY(-50%) scale(1.1);}
.mg-review-lightbox-nav[disabled]{opacity:0.3;cursor:default;}
.mg-review-lightbox-nav[data-mg-photo-prev]{left:16px;}
.mg-review-lightbox-nav[data-mg-photo-next]{right:16px;}
.mg-review-lightbox-thumbs{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;}
.mg-review-lightbox-thumb{border:0;background:transparent;padding:0;border-radius:6px;overflow:hidden;width:56px;height:56px;cursor:pointer;opacity:0.5;border:2px solid transparent;transition:all .2s;}
.mg-review-lightbox-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.mg-review-lightbox-thumb.is-active{opacity:1;border-color:#52047D;}
.mg-review-lightbox-info{flex:0 0 280px;padding:24px;border-left:1px solid #eee;display:flex;flex-direction:column;gap:12px;}
.mg-review-lightbox-rating{display:flex;gap:2px;font-size:18px;color:#ddd;}
.mg-review-lightbox-rating span.is-active{color:#FCCB02;}
.mg-review-lightbox-text{font-size:14px;color:#333;line-height:1.6;}
.mg-review-lightbox-date,.mg-review-lightbox-author{font-size:12px;color:#888;}
html.mg-review-lightbox-open,html.mg-review-lightbox-open body{overflow:hidden;}
	@media (max-width: 768px){
		.mg-reviews-header{flex-direction:column;gap:20px;}
		.mg-reviews-photos-box{width:100%;}
		.mg-reviews-photo-thumb{width:100px;height:125px;}
		.mg-reviews-toolbar{align-items:stretch;gap:10px;}
		.mg-reviews-filters{width:100%;gap:10px;flex-wrap:wrap;}
		.mg-reviews-filters label{width:100%;white-space:normal;justify-content:space-between;}
		.mg-reviews-filters select{width:100%;min-width:0!important;max-width:100%!important;}
		.mg-reviews-actions{width:100%;flex-wrap:wrap;}
		.mg-reviews-button{width:100%;}
		.mg-review-lightbox-body{flex-direction:column;}
		.mg-review-lightbox-info{border-left:0;border-top:1px solid #eee;flex:0 0 auto;}
	}
