/*
 * Matches the Rains theme: output is wrapped in the theme's .contact_us box
 * (560px column, left-aligned, Verdana, #C0551D headings).
 */

/* Theme sets a global `p { width: 560px }`; undo it inside plugin output. */
.rsc-services p,
.rsc-confirm p {
	width: auto;
	margin: 0 0 7px;
}

.rsc-services,
.rsc-confirm {
	text-align: left;
	padding-top: 20px;
}

/* .contact_us shifts itself up 24px (bottom: 24px), which overlaps and blocks
   clicks on whatever sits above the shortcode. Cancel that shift. */
.rsc-services.contact_us,
.rsc-confirm.contact_us {
	bottom: 0;
}

.rsc-group {
	margin: 0 0 22px;
}

.rsc-services .rsc-group-title {
	color: #C0551D;
	font-size: 1.5em;
	margin: 0 0 4px;
	text-align: left;
}

.rsc-services .rsc-group-desc {
	color: #666666;
	font-size: 12px;
	line-height: 18px;
	margin: 0 0 10px;
}

.rsc-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

@media (max-width: 480px) {
	.rsc-grid {
		grid-template-columns: 1fr;
	}
}

.rsc-card {
	background: #f7f5e7;
	border: 1px solid #e8e5ce;
	border-radius: 4px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	padding: 12px 14px;
	text-align: left;
}

.rsc-services .rsc-card .rsc-option {
	color: #333333;
	font-size: 13px;
	font-weight: bold;
	line-height: 18px;
	margin: 0 0 6px;
	text-align: left;
}

.rsc-services .rsc-card .rsc-price {
	color: #C0551D;
	font-size: 22px;
	font-weight: bold;
	line-height: 26px;
	margin: 0 0 10px;
}

.rsc-card .rsc-buy {
	margin-top: auto;
}

.rsc-buy {
	margin: 0;
}

.rsc-button {
	background: #C0551D;
	border: 0;
	border-radius: 3px;
	color: #FFFFFF;
	cursor: pointer;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	padding: 7px 18px;
}

.rsc-button:hover,
.rsc-button:focus {
	background: #a3471a;
}

.rsc-confirm ul {
	list-style: none;
	margin: 10px 0;
	padding: 0;
}

.rsc-confirm li {
	margin: 0 0 4px;
}

.rsc-error {
	color: #b00;
}
