/*
|----------------------------------------------------------------------------
	MGScoder Custom Settings
	Author: 	MGScoder
	Author URL: https://mgscoder.com
|----------------------------------------------------------------------------
*/
/*********** Direct Checkout Discount ***********/
.mgscustomsettings-automatic-pricing-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
    font-family: inherit;
    flex-wrap: wrap;
    clear: both;
}
.mgscustomsettings-automatic-pricing-row .original-strikethrough {
    color: #999;
    font-size: 22px;
    text-decoration: line-through;
    font-weight: 500;
}
.mgscustomsettings-automatic-pricing-row .live-calculated-sale {
    color: #e53e3e;
    font-size: 36px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}
.mgscustomsettings-automatic-pricing-row .sale-badge {
    background: #e53e3e;
    color: #fff;
    font-size: 13px;
    padding: 6px 15px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}


/*********** Popup ***********/
.mgs-popup-overlay {
	position: fixed; top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.7); display: flex; align-items: center;
	justify-content: center; z-index: 999999; opacity: 0; visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mgs-popup-overlay.mgs-popup-active { opacity: 1; visibility: visible; }
.mgs-popup-card {
	background: #ffffff; border-radius: 12px; width: 90%; max-width: 500px;
	padding: 40px 30px; text-align: center; position: relative;
	box-shadow: 0 20px 40px rgba(0,0,0,0.3); transform: translateY(-30px);
	transition: transform 0.4s ease; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.mgs-popup-overlay.mgs-popup-active .mgs-popup-card { transform: translateY(0); }
.mgs-popup-close-btn {
	position: absolute; top: 15px; right: 20px; font-size: 28px;
	color: #aaa; cursor: pointer; border: none; background: none; line-height: 1;
	transition: color 0.2s ease;
}
.mgs-popup-close-btn:hover { color: #333; }
.mgs-popup-badge {
	/*background: #e53e3e;*/
	background: #ff9923;
	color: #ffffff; font-weight: bold; font-size: 0.85em;
	padding: 5px 12px; border-radius: 50px; text-transform: uppercase;
	letter-spacing: 1px; display: inline-block; margin-bottom: 15px;
}
.mgs-popup-title { font-size: 28px; font-weight: 800; color: #1a202c; margin: 0 0 10px 0; line-height: 1.2; }
.mgs-popup-text { font-size: 15px; color: #4a5568; line-height: 1.6; margin: 0 0 25px 0; }
.mgs-popup-coupon-box {
	background: #f7fafc; border: 2px dashed #cbd5e0; border-radius: 6px;
	padding: 12px; margin-bottom: 25px; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.mgs-popup-code { font-family: monospace; font-size: 20px; font-weight: 700; color: #2d3748; letter-spacing: 1px; }
.mgs-popup-cta {
	/*background: #ff9923;*/
	background: #099901;
	color: #ffffff !important; display: block; width: 100%;
	padding: 14px 20px; border-radius: 6px; font-size: 16px; font-weight: 700;
	text-decoration: none !important; box-shadow: 0 4px 6px rgba(255,153,35,0.2);
	transition: background 0.2s ease, transform 0.2s ease;
}
.mgs-popup-cta:hover { /*background: #e08112;*/background: #0ec704; transform: translateY(-1px); }
.mgs-popup-footer { font-size: 12px; color: #a0aec0; margin-top: 15px; display: block; }

