/* R&R lead capture (0.3.83): free-shipping bar, email pop-up, footer signup, cookie notice. */

/* ---------- free-shipping bar ---------- */
.rr-shipbar { background: var(--f-sun); color: var(--char); position: relative; z-index: 61; }
.rr-shipbar .wrap { display: flex; justify-content: center; align-items: center; min-height: 32px; }
.rr-shipbar p { margin: 0; font: 600 12px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 6px 0; }
.rr-shipbar strong { font-weight: 800; }
.rr-shipbar a { color: inherit; text-underline-offset: 2px; }
.rr-shipbar span { margin: 0 6px; }
.hdr.is-solid .rr-shipbar, .hdr--over.is-solid .rr-shipbar { display: none; }

/* ---------- pop-up ---------- */
.rr-pop { position: fixed; inset: 0; z-index: 9990; display: flex; align-items: center; justify-content: center; padding: 20px; }
.rr-pop[hidden] { display: none; }
.rr-pop__scrim { position: absolute; inset: 0; background: rgba(10,12,14,.62); opacity: 0; transition: opacity .2s; }
.rr-pop__box { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(820px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--white); border-radius: var(--r); box-shadow: 0 24px 60px rgba(0,0,0,.35); opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .2s, transform .2s; }
.rr-pop.is-in .rr-pop__scrim { opacity: 1; }
.rr-pop.is-in .rr-pop__box { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rr-pop__scrim, .rr-pop__box { transition: none; } }
.rr-pop__img { min-height: 100%; background: var(--paper); }
.rr-pop__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.rr-pop__body { padding: 44px 40px 32px; display: flex; flex-direction: column; justify-content: center; }
.rr-pop__body .eyebrow { margin-bottom: 10px; }
.rr-pop__body .eyebrow::before { content: ''; width: 5px; height: 16px; background: var(--f-sun); display: inline-block; }
.rr-pop__h { font: 800 30px/1.08 var(--display); text-transform: uppercase; margin: 0 0 12px; color: var(--char); }
.rr-pop__h:focus { outline: none; }
.rr-pop__d { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: var(--steel); }
.rr-pop__x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--char); cursor: pointer; }
.rr-pop__x:hover { background: var(--paper); }
.rr-pop-form { display: flex; flex-direction: column; gap: 10px; }
.rr-pop-form input[type=email] { height: 52px; border: 1px solid #c9c4ba; border-radius: var(--r); padding: 0 16px; font: 400 16px var(--text); color: var(--char); background: var(--white); }
.rr-pop-form input[type=email]:focus { outline: 2px solid var(--char); outline-offset: 1px; border-color: var(--char); }
.rr-pop-form input[aria-invalid=true] { border-color: #b3261e; }
.rr-pop-form .btn { width: 100%; }
.rr-zc__msg { margin: 0; font-size: 13px; color: #b3261e; min-height: 0; }
.rr-zc__msg:empty { display: none; }
.rr-pop__no { margin: 12px auto 0; background: none; border: 0; padding: 6px 10px; color: var(--steel); font: 600 13px/1 var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rr-pop__no:hover { color: var(--char); }
.rr-pop__fine { margin: 14px 0 0; font-size: 11px; line-height: 1.5; color: var(--mist); }
.rr-pop__fine a { color: inherit; }
.rr-pop__code { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 2px dashed var(--f-sun); background: var(--paper); padding: 14px 16px; border-radius: var(--r); margin: 6px 0 16px; }
.rr-pop__code span { font: 900 26px/1 var(--display); letter-spacing: .12em; color: var(--char); }
.rr-pop__copy { border: 1px solid var(--char); background: var(--white); color: var(--char); border-radius: var(--r); height: 36px; padding: 0 14px; font: 700 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.rr-pop__done .btn { align-self: flex-start; }
html.rr-pop-open { overflow: hidden; }

/* phone: a sheet from the bottom that leaves the page visible above it (Google's intrusive-interstitial rule) */
@media (max-width: 640px) {
	.rr-pop { align-items: flex-end; padding: 0; }
	.rr-pop__box { grid-template-columns: 112px 1fr; width: 100%; max-height: 78vh; border-radius: 12px 12px 0 0; transform: translateY(100%); }
	.rr-pop.is-in .rr-pop__box { transform: none; }
	.rr-pop__img img { object-position: 30% 30%; }
	.rr-pop__body { padding: 26px 20px 20px; }
	.rr-pop__h { font-size: 22px; }
	.rr-pop__d { font-size: 14px; margin-bottom: 14px; }
	.rr-pop__x { top: 6px; right: 6px; width: 36px; height: 36px; }
	.rr-pop__fine { font-size: 10.5px; }
	html.rr-pop-open { overflow: auto; }
	html.rr-pop-open .rr-cc { display: none; } /* the notice comes back when the sheet closes */
	.rr-pop__body .eyebrow { font-size: 11px; letter-spacing: .12em; }
}

/* ---------- footer signup ---------- */
.ftr__signup .rr-ftr-form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 460px; }
.ftr__signup .rr-ftr-form input[type=email] { flex: 1 1 220px; height: 50px; }
@media (max-width: 860px) { .ftr__signup .rr-ftr-form { flex-direction: column; } .ftr__signup .rr-ftr-form input[type=email] { flex: 0 0 auto; width: 100%; } .ftr__signup .rr-ftr-form .btn { width: 100%; } }
.ftr__signup .rr-ftr-form .btn { background: var(--white); color: var(--char); }
.ftr__signup .rr-ftr-form .btn:hover { background: var(--paper); }
.ftr__signup .rr-zc__msg { flex-basis: 100%; color: #e3e7ea; }
.ftr__signup .rr-ftr-fine { margin: 10px 0 0; font-size: 12px; color: var(--mist); }
.ftr__signup .rr-ftr-fine a { color: inherit; }

/* ---------- cookie notice ---------- */
.rr-cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9995; margin: 0 auto; max-width: 760px; display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 18px; background: var(--ink); color: #d7dbde; border-radius: var(--r); box-shadow: 0 10px 30px rgba(0,0,0,.3); font-size: 13px; line-height: 1.45; }
.rr-cc[hidden] { display: none; }
.rr-cc p { margin: 0; flex: 1; }
.rr-cc a { color: var(--white); }
.rr-cc__btns { display: flex; gap: 8px; flex-shrink: 0; }
.rr-cc button { height: 36px; padding: 0 16px; border-radius: var(--r); font: 700 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.rr-cc__no { background: transparent; color: var(--white); border: 1px solid #5a636b; }
.rr-cc__no:hover { border-color: var(--white); }
.rr-cc__ok { background: var(--white); color: var(--char); border: 1px solid var(--white); }
.rr-cc__ok:hover { background: var(--paper); }
@media (max-width: 640px) {
	.rr-cc { left: 8px; right: 8px; bottom: 8px; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
	.rr-cc__btns button { flex: 1; }
}

/* ---------- FAQ accordions (core Details block) ---------- */
.wp-block-details { border-bottom: 1px solid var(--line); padding: 0; margin: 0; }
.wp-block-details summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; position: relative; font: 600 16px/1.4 var(--text); color: var(--char); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 24px/1 var(--display); color: var(--steel); }
.wp-block-details[open] summary::after { content: '\2013'; }
.wp-block-details summary:focus-visible { outline: 2px solid var(--char); outline-offset: 2px; }
.wp-block-details > p { margin: 0 0 18px; color: var(--steel); }
h2.wp-block-heading + .wp-block-details { border-top: 1px solid var(--line); }

/* Complianz banner: hidden while the email pop-up is open (it would cover the fine print); it comes back on close */
html.rr-pop-open .cmplz-cookiebanner { display: none !important; }

/* ---------- Complianz banner in R&R colours (the plugin's own settings stay default) ---------- */
.cmplz-cookiebanner {
	--cmplz_banner_background_color: #111417;
	--cmplz_banner_border_color: #111417;
	--cmplz_text_color: #d7dbde;
	--cmplz_hyperlink_color: #ffffff;
	--cmplz_button_accept_background_color: #ffffff;
	--cmplz_button_accept_border_color: #ffffff;
	--cmplz_button_accept_text_color: #1a1a1a;
	--cmplz_button_deny_background_color: transparent;
	--cmplz_button_deny_border_color: #5a636b;
	--cmplz_button_deny_text_color: #ffffff;
	--cmplz_button_settings_background_color: transparent;
	--cmplz_button_settings_border_color: #5a636b;
	--cmplz_button_settings_text_color: #ffffff;
	--cmplz_banner_border_radius: 4px;
	--cmplz_button_border_radius: 4px;
	font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}
.cmplz-cookiebanner .cmplz-title { color: #ffffff; font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.cmplz-cookiebanner .cmplz-btn { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cmplz-cookiebanner .cmplz-close { color: #ffffff; }
