/* Rocket Garage Doors – Request a Quote */
:root {
	--rgq-navy: #002760;
	--rgq-teal: #50c5cf;
	--rgq-orange: #ff6900;
	--rgq-text: #16202f;
	--rgq-dim: #64748b;
	--rgq-border: #e3e7ee;
	--rgq-muted: #f4f6f9;
}

/* ---- Hide every price on product + shop pages ---- */
.rocket-addon__price,
.rocket-addons__total,
.rip-impact__price,
.rip-impact__badge,
.woocommerce-variation-price,
.single_variation .price,
.rocket-pt__card-price .amount,
.rocket-shop__price .amount,
#wc-stripe-express-checkout-element,
#wc-stripe-express-checkout-button-separator,
#wc-stripe-payment-request-wrapper,
#wc-stripe-payment-request-button-separator,
.wc-stripe-product-checkout-container,
.single-product .wcpay-express-checkout-wrapper {
	display: none !important;
}

.rgq-price-note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--rgq-navy);
}
.rocket-pt__price .rgq-price-note {
	font-size: 20px;
}
.rocket-pt__price .rgq-price-note::after {
	content: "Shipping included";
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: #00515a;
	background: #e0f4f6;
	padding: 5px 10px;
	border-radius: 999px;
}

/* Quote button */
.single_add_to_cart_button.rgq-btn {
	background: var(--rgq-navy) !important;
	color: #fff !important;
}

/* ---- Modal ---- */
html.rgq-lock { overflow: hidden; }
.rgq-modal[hidden] { display: none !important; }
.rgq-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	font-family: inherit;
}
.rgq-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 20, 50, .62);
	backdrop-filter: blur(2px);
}
.rgq-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(0, 20, 50, .35);
	padding: 32px 30px 26px;
	color: var(--rgq-text);
	border-top: 6px solid var(--rgq-teal);
}
.rgq-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: var(--rgq-muted);
	color: var(--rgq-navy);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.rgq-kicker {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #00515a;
	background: #e0f4f6;
	border-radius: 999px;
	padding: 6px 12px;
}
.rgq-title {
	margin: 12px 0 14px;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--rgq-navy);
}
.rgq-summary {
	background: var(--rgq-muted);
	border: 1px solid var(--rgq-border);
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-size: 14px;
}
.rgq-summary__title { margin: 0 0 6px; font-weight: 700; color: var(--rgq-navy); }
.rgq-summary ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.rgq-summary li span { color: var(--rgq-dim); }
.rgq-summary li span::after { content: ":"; }

.rgq-form label { display: block; margin: 0 0 12px; }
.rgq-form label > span,
.rgq-pref legend {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 5px;
	color: var(--rgq-text);
}
.rgq-form input[type="text"],
.rgq-form input[type="email"],
.rgq-form input[type="tel"],
.rgq-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #cfd6e1;
	border-radius: 10px;
	padding: 11px 12px;
	font-size: 15px;
	background: #fff;
	color: var(--rgq-text);
}
.rgq-form input:focus,
.rgq-form textarea:focus {
	outline: none;
	border-color: var(--rgq-navy);
	box-shadow: 0 0 0 3px rgba(80, 197, 207, .35);
}
.rgq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rgq-pref { border: 0; padding: 0; margin: 2px 0 12px; }
.rgq-pref label { display: inline-flex; align-items: center; gap: 6px; margin: 0 16px 0 0; font-size: 14px; }
.rgq-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rgq-error {
	background: #fff4ed;
	border: 1px solid #ffd2b3;
	color: #9a3b00;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 14px;
	margin: 4px 0 12px;
}
.rgq-submit {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 12px;
	padding: 15px 18px;
	background: var(--rgq-navy);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	transition: transform .1s ease, opacity .2s ease;
}
.rgq-submit:hover { opacity: .92; }
.rgq-submit:active { transform: translateY(1px); }
.rgq-submit.is-loading { opacity: .6; cursor: wait; }
.rgq-submit--ghost { background: var(--rgq-muted); color: var(--rgq-navy); margin-top: 8px; }
.rgq-fine { font-size: 12px; color: var(--rgq-dim); text-align: center; margin: 10px 0 0; }
.rgq-fine a { color: var(--rgq-navy); font-weight: 700; }

.rgq-done { text-align: center; padding: 10px 0 4px; }
.rgq-done__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto;
	border-radius: 50%;
	background: #e0f4f6;
	color: #00515a;
	font-size: 32px;
	font-weight: 800;
	line-height: 64px;
}
.rgq-done__text { font-size: 15px; line-height: 1.6; }

@media (max-width: 560px) {
	.rgq-modal { padding: 0; align-items: flex-end; }
	.rgq-modal__dialog { border-radius: 18px 18px 0 0; max-height: 92vh; padding: 26px 18px 20px; }
	.rgq-row { grid-template-columns: 1fr; gap: 0; }
	.rgq-summary ul { grid-template-columns: 1fr; }
	.rgq-title { font-size: 22px; }
}

/* Theme overrides */
.rgq-modal .rgq-title { color: var(--rgq-navy) !important; font-weight: 800 !important; }
.rgq-modal .rgq-modal__close { background: var(--rgq-muted) !important; color: var(--rgq-navy) !important; padding: 0 !important; border: 0 !important; min-height: 0 !important; box-shadow: none !important; }
.rgq-modal .rgq-submit { background: var(--rgq-navy) !important; color: #fff !important; border: 0 !important; }
.rgq-modal .rgq-submit--ghost { background: var(--rgq-muted) !important; color: var(--rgq-navy) !important; }
