/* ---------------------------------------------------------------------------
 * Circuit Craftworks — Replace Your Subscriptions
 * Live-site integration layer.
 *
 * This file contains NO design decisions. It exists only to (a) let the page
 * run full-bleed inside the existing Hello Elementor / child-theme shell and
 * (b) neutralise global element rules from assets/css/site-compatibility.css
 * that would otherwise leak into the frozen v15 configurator and change it.
 * The frozen production/replace-subscriptions.css is never edited.
 * ------------------------------------------------------------------------- */

/* --- 1. Full-bleed page shell (mirrors the site's existing per-page pattern) */
body.cc-rs-page .page-header{display:none;}
body.cc-rs-page main.site-main,
body.cc-rs-page .page-content,
body.cc-rs-page .entry-content{max-width:none;margin-inline:0;padding-inline:0;}
body.cc-rs-page .site-main>article,
body.cc-rs-page .entry-content>p:empty{margin:0;}

/* --- 2. Restore the UA baseline the frozen build was authored against.
 *      site-compatibility.css sets body font-size 1.0625rem/1.7 and rewrites
 *      every heading, paragraph and list. The v15 preview ran on browser
 *      defaults, so those defaults are restored inside the configurator only. */
#cc-subscription-configurator{line-height:normal;}
#cc-subscription-configurator h1,
#cc-subscription-configurator h2,
#cc-subscription-configurator h3,
#cc-subscription-configurator h4,
#cc-subscription-configurator h5,
#cc-subscription-configurator h6{
	font-family:inherit;color:inherit;letter-spacing:normal;line-height:normal;font-weight:bold;
}
#cc-subscription-configurator h1{font-size:2em;margin:.67em 0;}
#cc-subscription-configurator h2{font-size:1.5em;margin:.83em 0;}
#cc-subscription-configurator h3{font-size:1.17em;margin:1em 0;}
#cc-subscription-configurator h4{font-size:1em;margin:1.33em 0;}
#cc-subscription-configurator h5{font-size:.83em;margin:1.67em 0;}
#cc-subscription-configurator h6{font-size:.67em;margin:2.33em 0;}
#cc-subscription-configurator p{margin:1em 0;max-width:none;}
#cc-subscription-configurator ul,
#cc-subscription-configurator ol{max-width:none;}
#cc-subscription-configurator li{margin-bottom:0;}
#cc-subscription-configurator hr{max-width:none;}

/* --- 3. site-compatibility.css paints every button[type=submit] copper with
 *      !important. The configurator's request button is restored at higher
 *      specificity, in the site's own primary blue. */
#cc-subscription-configurator button[type="submit"],
#cc-subscription-configurator .btn[type="submit"]{
	background:#0a8fd4 !important;
	color:#fff !important;
	border:0 !important;
	border-radius:10px !important;
	padding:15px 21px !important;
	font-family:inherit !important;
	font-weight:800 !important;
	letter-spacing:normal !important;
}
#cc-subscription-configurator button[type="submit"]:hover{
	background:#0f7fbe !important;
	border:0 !important;
}
#cc-subscription-configurator button[type="submit"]:disabled{opacity:.4;}

/* --- 4. The frozen sheet ships a standalone-preview header/footer block.
 *      The live site supplies its own header and footer, so the preview shell
 *      is never rendered; these rules simply guarantee it stays that way. */
#cc-subscription-configurator>.site-header,
#cc-subscription-configurator>.site-footer{display:none;}

/* --- 5. Brand-logo integrity (logo correction pass, 2026-09-03).
 *      Third-party marks must render in their own official colours. The frozen
 *      sheet brightens the hero private-server logos and flashes the private-
 *      system card's logo as arrival feedback; both alter the brand mark, so
 *      the filters are removed and the same feedback is moved onto the
 *      surrounding Circuit Craftworks card instead. */
#cc-subscription-configurator .hero-server span img{filter:none !important;}
#cc-subscription-configurator .replacement-card.just-added .replacement-icon{animation:none !important;}
#cc-subscription-configurator .replacement-card.just-added{animation:ccrs-card-led .72s ease;}
@keyframes ccrs-card-led{
	0%,100%{box-shadow:0 0 0 0 rgba(0,207,238,0);}
	35%{box-shadow:0 0 0 3px rgba(0,207,238,.34),0 0 18px rgba(0,207,238,.34);}
}
/* No filter, blend mode or colour treatment is applied to any logo image. */
#cc-subscription-configurator img[data-cc-logo],
#cc-subscription-configurator .logo-shell img,
#cc-subscription-configurator .mini-logo img{filter:none;mix-blend-mode:normal;}
