/*
 * Footer: newsletter band, four link columns, copyright and payment icons.
 * Mirrors the BigCommerce storefront footer.
 */

.site-footer {
	clear: both;
}

/* ---- Newsletter ------------------------------------------------------- */

.rec-newsletter {
	padding: 30px 0;
	background: #000;
}

.rec-newsletter__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0 -15px;
}

.rec-newsletter__title {
	flex: 0 0 auto;
	width: 450px;
	max-width: 100%;
	padding: 0 15px;
}

.rec-newsletter__title h4 {
	margin: 0;
	color: #e38009;
	font-size: 20px;
	text-transform: uppercase;
}

.rec-newsletter__title p {
	margin: 0;
	color: #fff;
}

.rec-newsletter__form {
	flex: 1 1 0;
	min-width: 0;
	padding: 0 15px;
}

.rec-newsletter__form form {
	margin: 0;
}

.rec-newsletter__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.rec-newsletter__input {
	flex: 1 1 260px;
	min-width: 0;
	height: 54px;
	padding: 0 30px;
	border: 1px solid #ccc;
	border-radius: 30px;
	background: #fff;
	color: #666;
	font-family: var(--rec-font-body);
	font-size: 16px;
	font-weight: 300;
	-webkit-appearance: none;
	appearance: none;
}

.rec-newsletter__input:focus {
	border-color: var(--rec-green);
	outline: none;
}

.rec-newsletter__submit {
	flex: 0 0 auto;
	height: 54px;
	padding: 16px 41px;
	border: 1px solid var(--rec-green);
	border-radius: 30px;
	background: var(--rec-green);
	color: #fff;
	font-family: var(--rec-font-heading);
	font-size: 18px;
	font-weight: 400;
	line-height: 18px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.rec-newsletter__submit:hover,
.rec-newsletter__submit:focus {
	border-color: var(--rec-green-dark);
	background: var(--rec-green-dark);
}

@media (max-width: 991px) {
	.rec-newsletter__title {
		width: 100%;
		margin-bottom: 1.5rem;
		text-align: center;
	}

	.rec-newsletter__form {
		flex: 0 0 100%;
	}
}

/* ---- Link columns ----------------------------------------------------- */

.rec-footer-main {
	border-top: 1px solid #353535;
	border-bottom: 1px solid #353535;
	background: #1e1e1e;
	color: #fff;
}

.rec-footer-main__row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.rec-footer-col {
	flex: 0 0 100%;
	max-width: 100%;
	padding: 0 15px 2.28571rem;
}

.rec-footer-col h4 {
	margin: 2.28571rem 0 14px;
	color: var(--rec-green);
	font-size: 18px;
	text-transform: uppercase;
}

.rec-footer-list li {
	margin-bottom: 5px;
}

.rec-footer-main a {
	color: #fff;
}

.rec-footer-main a:hover,
.rec-footer-main a:focus {
	color: #fff;
	opacity: 0.8;
}

@media (max-width: 767px) {
	.rec-footer-col--categories {
		border-top: 1px solid #353535;
		border-bottom: 1px solid #353535;
	}
}

@media (min-width: 768px) {
	.rec-footer-col--navigate,
	.rec-footer-col--categories,
	.rec-footer-col--account {
		flex: 0 0 33.33333%;
		max-width: 33.33333%;
	}

	.rec-footer-col--categories {
		border-right: 1px solid #353535;
		border-left: 1px solid #353535;
	}

	.rec-footer-col--account {
		border-right: 1px solid #353535;
	}
}

@media (max-width: 991px) {
	.rec-footer-col--connect {
		border-top: 1px solid #353535;
	}
}

@media (min-width: 992px) {
	.rec-footer-col--navigate,
	.rec-footer-col--categories,
	.rec-footer-col--account {
		flex: 1 1 0;
		max-width: none;
	}

	.rec-footer-col--connect {
		flex: 0 0 33.33333%;
		max-width: 33.33333%;
	}
}

@media (min-width: 1200px) {
	.rec-footer-col--connect {
		flex: 0 0 41.66667%;
		max-width: 41.66667%;
	}
}

/* Connect With Us. */
.rec-contact__item {
	position: relative;
	margin-bottom: 10px;
	padding: 5px 0 5px 4rem;
}

.rec-contact__item h4 {
	margin: 0;
	color: #fff;
	font-size: 16px;
	text-transform: uppercase;
}

.rec-contact__item p {
	margin: 0;
	color: #fff;
	word-break: break-word;
}

.rec-contact__icon {
	position: absolute;
	top: 50%;
	left: 0;
	display: inline-block;
	width: 2.5rem;
	height: 2.5rem;
	margin-top: -1.25rem;
}

.rec-contact__icon svg {
	width: 100%;
	height: 100%;
	fill: #fff;
}

.rec-social {
	margin: 20px 0 0;
	font-size: 0;
}

.rec-social li {
	display: inline-block;
	margin: 0 14px 7px 0;
}

.rec-social a {
	display: block;
	width: 49px;
	height: 49px;
	padding: 10px;
	border-radius: 50%;
	background: var(--rec-green);
	line-height: 0;
	transition: background-color 0.15s ease;
}

.rec-footer-main .rec-social a:hover,
.rec-footer-main .rec-social a:focus {
	background: var(--rec-green-dark);
	opacity: 1;
}

.rec-social svg {
	width: 28.6px;
	height: 28.6px;
	fill: #fff;
}

/* ---- Copyright -------------------------------------------------------- */

.rec-copyright {
	padding: 20px 0;
	background: #1e1e1e;
	color: #9d9d9d;
}

.rec-copyright__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin: 0 -15px;
}

.rec-copyright__row > * {
	padding: 0 15px;
}

.rec-copyright__text {
	margin: 0;
}

.rec-payments {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 1.5rem;
}

.rec-payments li {
	line-height: 0;
}

.rec-payments__icon {
	width: 2.77778rem;
	height: 2.85714rem;
	margin: 0.38889rem;
	fill: #9d9d9d;
	vertical-align: middle;
}

@media (max-width: 991px) {
	.rec-copyright__row {
		flex-direction: column;
		text-align: center;
	}

	.rec-payments {
		justify-content: center;
		margin-top: 5px;
	}
}
