/* ---------- 1. Product page: stop the details column sliding over the tabs ---------- */
.woocommerce div.product .summary,
.woocommerce div.product .entry-summary,
.woocommerce-page div.product .summary {
	position: static !important;
	top: auto !important;
}
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells {
	position: relative;
	z-index: 1;
	clear: both;
	margin-top: 32px;
}
.woocommerce div.product .yrf-trust { margin-bottom: 0; }

/* ---------- 2. On-site Mailchimp sign-up box ---------- */
.yrfx-modal { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 16px; }
.yrfx-modal[hidden] { display: none !important; }
.yrfx-modal__bg { position: absolute; inset: 0; background: rgba(0,0,0,.78); }
.yrfx-modal__box {
	position: relative; width: 100%; max-width: 480px; box-sizing: border-box;
	background: #0b0b0b; color: #f2efe8; border: 1px solid #2a2a2a; border-radius: 6px;
	padding: 40px 28px 28px; text-align: center;
	font: 400 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	animation: yrfxIn .25s ease;
}
@keyframes yrfxIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.yrfx-modal__box * { box-sizing: border-box; }
.yrfx-x {
	position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid #3a3a3a !important; background: transparent !important; color: #f2efe8 !important;
	font-size: 22px; line-height: 1; cursor: pointer; padding: 0;
}
.yrfx-kicker { font-size: 11px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: #9b978e; margin: 0 0 10px; }
.yrfx-title { font: 400 clamp(30px, 7vw, 40px)/1 Anton, Impact, "Arial Narrow", sans-serif; text-transform: uppercase; margin: 0 0 12px; color: #fff; }
.yrfx-text { color: #c7c3ba; margin: 0 0 20px; }
.yrfx-form { display: grid; gap: 10px; }
.yrfx-form input[type=email], .yrfx-form input[type=text] {
	width: 100%; height: 50px; padding: 0 16px; border-radius: 4px;
	border: 1px solid #333 !important; background: #151515 !important; color: #fff !important; font-size: 16px; box-shadow: none !important;
}
.yrfx-form input:focus { outline: 2px solid #d4af37; outline-offset: 1px; }
.yrfx-form button[type=submit] {
	height: 52px; border: 0 !important; border-radius: 4px; cursor: pointer;
	background: #f2efe8 !important; color: #0b0b0b !important;
	font-weight: 800; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
}
.yrfx-form button[disabled] { opacity: .6; cursor: wait; }
.yrfx-hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.yrfx-msg { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; }
.yrfx-msg.is-ok { color: #6fd9a1; }
.yrfx-msg.is-err { color: #ff6b62; }
.yrfx-small { color: #77736b; font-size: 12px; margin: 10px 0 0; }
.yrfx-done .yrfx-form { display: none; }
.yrfx-done .yrfx-msg { font-size: 17px; font-weight: 600; margin-top: 4px; }
html.yrfx-lock { overflow: hidden; }
