/* GOBOX Release 1 (SilverServers, 2026-11).
   Only the site's own styles: Divi theme colours (red #e61c38, dark #231f20, light grey #f2f2f2, grey
   #dbdbdb), the theme's calculator styles (red full-width .calc-btn, #111 titles) and the site's
   Formidable form style (#f7f7f7 fields, #c9c9c9 borders, #333333 labels, #555555 text, 4px corners,
   red border on focus). */

/* ---- Price section (dark tiles cloned from the homepage options) -------------------------------- */
.gobox-tile-price { color: #f2f2f2; margin-bottom: 0.4em; line-height: 1.2; }
.gobox-tile-price strong { display: inline-block; font-size: 46px; font-weight: 800; color: #fff; line-height: 1; margin-right: 0.15em; }
.gobox-tile-price .gobox-from { font-size: 18px; font-weight: 600; color: #f2f2f2; margin-right: 0.25em; }

.gobox-price-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1em;
	background: #fff;
	font-size: 16px;
	line-height: 1.4;
}
/* `table.` outranks Divi's `.entry-content tr td` (padding 6px 24px). */
table.gobox-price-table tr th,
table.gobox-price-table tr td {
	padding: 8px 16px;
	border-bottom: 1px solid #dbdbdb;
	text-align: left;
}
table.gobox-price-table thead th {
	background: #231f20;
	color: #fff;
	font-weight: 700;
}
.gobox-price-table .gobox-price {
	text-align: right;
	white-space: nowrap;
	font-weight: 700;
}
.gobox-price-table tbody tr:nth-child(even) { background: #f2f2f2; }
@media (max-width: 767px) {
	table.gobox-price-table tr th,
	table.gobox-price-table tr td { padding: 8px 12px; }
}

.gobox-price-notes { padding-left: 1.2em; }
.gobox-price-notes li { margin-bottom: 0.4em; }

.gobox-update-note {
	background: #f2f2f2;
	border-left: 4px solid #e61c38;
	padding: 0.75em 1em;
	margin-bottom: 1.5em;
}

.gobox-switch { font-size: 16px; }
.gobox-switch a { white-space: nowrap; }

/* ---- Card rows (price tiles, homepage option tiles, step cards) ---------------------------------
   Rows with class gobox-cards and Divi's "equalize column heights": each card stretches to the row
   height and its last module (the button) sits at the bottom, so buttons line up across the row. */
.gobox-cards > .et_pb_column { display: flex; flex-direction: column; }
.gobox-cards > .et_pb_column > .et_pb_module:nth-last-child(2) { flex-grow: 1; }

/* ---- Step labels and icons ------------------------------------------------------------------------ */
.gobox-kicker {
	margin: 0 0 6px;
	padding: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-wrap: balance;
	color: #e61c38;
}
/* On the dark panels the label uses the site's light text colour: red text this small is hard to read
   on #231f20. The icons stay red. */
.et_pb_bg_layout_dark .gobox-kicker { color: #f2f2f2; }
.gobox-icon { margin-right: 0.35em; color: #e61c38; }

/* ---- Storage calculator (markup and JS from gobox-estimators.php / custom-scripts.js) ------------
   Two white cards in the grey Quote Tool panel; fields in the site's form style (see top), at 16px and
   48px so they are easy to use on phones; the theme's red Calculate button. */
.quote-form form[name="form_2_storage"] {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	margin: 0.75em 0 0;
}
.quote-form form[name="form_2_storage"] > .clear { display: none; }
.quote-form form[name="form_2_storage"] ul {
	margin: 0;
	padding: 22px 26px 8px;
	background: #fff;
	border: 1px solid #dbdbdb;
}
.quote-form form[name="form_2_storage"] li {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}
.quote-form form[name="form_2_storage"] .form-content-title {
	margin: 0 0 18px;
	padding: 0 0 12px;
	border-bottom: 1px solid #111;
	font-size: 1.1em;
	font-weight: 600;
	color: #111;
}
.quote-form form[name="form_2_storage"] .form-content-left li > span {
	display: block;
	padding: 0 0 3px;
	font-size: 15px;
	color: #333333;
}
.quote-form form[name="form_2_storage"] select {
	width: 100%;
	height: 48px;
	padding: 0 12px;
	font-size: 16px;
	color: #555555;
	background-color: #f7f7f7;
	border: 1px solid #c9c9c9;
	border-radius: 4px;
}
.quote-form form[name="form_2_storage"] select:focus {
	background-color: #fff;
	border-color: #e61c38;
	outline: none;
}
.quote-form form[name="form_2_storage"] .gobox-large-move-note {
	margin: 8px 0 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #666666;
}
.quote-form form[name="form_2_storage"] .form-button-li { margin: 4px 0 18px; }
.quote-form form[name="form_2_storage"] .calc-btn {
	display: block;
	width: 100%;
	padding: 13px 20px;
	font-size: 18px;
	color: #fff;
	background: #e61c38;
	border: 0;
	border-radius: 4px;
	box-shadow: none;
	cursor: pointer;
}
.quote-form form[name="form_2_storage"] .calc-btn:hover,
.quote-form form[name="form_2_storage"] .calc-btn:focus { background: #231f20; box-shadow: none; }
/* Results as a receipt. */
.quote-form form[name="form_2_storage"] .form-content-right li.storage-grey {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px dashed #dbdbdb;
}
.quote-form form[name="form_2_storage"] .form-content-right li.storage-grey span { font-size: 15px; color: #333333; }
.quote-form form[name="form_2_storage"] .form-content-right input[disabled] {
	width: 50%;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	text-align: right;
	color: #231f20;
	-webkit-text-fill-color: #231f20;
	background: transparent;
	border: 0;
	opacity: 1;
}
.quote-form form[name="form_2_storage"] .form-content-right input::placeholder { color: #a1a1a1; -webkit-text-fill-color: #a1a1a1; }
.quote-form form[name="form_2_storage"] .form-content-right li.storage-grey:last-child {
	margin: 6px 0 14px;
	padding-top: 14px;
	border-top: 1px solid #111;
	border-bottom: 0;
}
.quote-form form[name="form_2_storage"] .form-content-right li.storage-grey:last-child span { font-size: 17px; font-weight: 700; color: #111; }
.quote-form form[name="form_2_storage"] .form-content-right li.storage-grey:last-child input {
	font-size: 26px;
	font-weight: 800;
	color: #e61c38;
	-webkit-text-fill-color: #e61c38;
}
@media (max-width: 860px) {
	.quote-form form[name="form_2_storage"] { grid-template-columns: 1fr; }
	.quote-form form[name="form_2_storage"] ul { padding: 18px 18px 6px; }
}

/* ---- Booking form (Formidable form 2) in the booking panel ---------------------------------------
   The site's Formidable style, with 16px text and 48px fields (iPhones zoom in on smaller text).
   Formidable draws its fields from these variables. */
#book .frm_forms.with_frm_style {
	--field-font-size: 16px;
	--field-height: 48px;
	--field-pad: 10px 12px;
}
@media (max-width: 767px) {
	#book .frm_forms.with_frm_style .frm_submit button { width: 100%; }
}

/* ---- reCAPTCHA ------------------------------------------------------------------------------------
   The badge sat under the back-to-top button. Hidden; instead every form that uses reCAPTCHA shows
   Google's notice under its button (includes/r1.php), as Google allows. */
/* !important: Divi shows it with `body.et_pb_recaptcha_enabled .grecaptcha-badge { visibility: visible }`. */
.grecaptcha-badge { visibility: hidden !important; }
.gobox-recaptcha-note {
	flex-basis: 100%;
	margin: 0.75em 0 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #666666;
}
