/* =========================================================
   Remorca Renix — custom footer
   ========================================================= */

.rr-footer {
	--rr-footer-cream: #f3f0ea;
	--rr-footer-dark: #1c1c1c;
	--rr-footer-darker: #141414;
	--rr-footer-muted: #b0b0b0;
	--rr-footer-line: rgba(255, 255, 255, 0.12);
	--rr-footer-icon: #8b5a3c;
	margin-top: 0;
	font-family: inherit;
}

/* Hide leftover Basel footer chrome if any widget still renders elsewhere */
body .footer-container:not(.rr-footer) {
	display: none !important;
}

.rr-footer .container {
	max-width: var(--rr-container, 1200px);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

/* Basel .container clearfix ::before/::after become flex/grid items — kill them */
.rr-footer .container::before,
.rr-footer .container::after {
	content: none !important;
	display: none !important;
}

/* ---------- Features strip ---------- */
.rr-footer-features {
	background: var(--rr-footer-cream);
	border-top: 1px solid #e6e1d8;
}

.rr-footer-features-inner {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px 12px;
	padding: 34px 15px;
}

.rr-footer-feature {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	float: none !important;
	width: auto !important;
	max-width: none !important;
}

.rr-footer-feature-icon {
	width: 42px;
	height: 42px;
	color: #1a1a1a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.rr-footer-feature-icon svg {
	width: 34px;
	height: 34px;
}

.rr-footer-feature-title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #1a1a1a;
	line-height: 1.25;
}

.rr-footer-feature-text {
	font-size: 12.5px;
	line-height: 1.4;
	color: #5b5b5b;
	max-width: 100%;
}

/* ---------- Main dark ---------- */
.rr-footer-main {
	background: var(--rr-footer-dark);
	color: #fff;
	padding: 56px 0 40px;
}

.rr-footer-grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1.15fr 1.1fr;
	gap: 0;
}

.rr-footer-col {
	padding: 0 28px;
	border-right: 1px solid var(--rr-footer-line);
	min-width: 0;
}

.rr-footer-col:first-child {
	padding-left: 0;
}

.rr-footer-col:last-child {
	border-right: 0;
	padding-right: 0;
}

.rr-footer-heading {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}

.rr-footer-about-text {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--rr-footer-muted);
}

.rr-footer-brand .site-logo {
	margin: 0 0 16px !important;
	float: none !important;
}

.rr-footer-brand .basel-logo img,
.rr-footer-brand .site-logo img {
	display: block;
	max-height: 52px;
	width: auto;
	max-width: 180px;
	height: auto;
	background: #fff;
	border-radius: 6px;
	padding: 6px 10px;
}

.rr-footer-social {
	display: flex;
	gap: 10px;
	align-items: center;
}

.rr-footer-social-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.35);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	text-decoration: none !important;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.rr-footer-social-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
}

.rr-footer-social-btn svg {
	width: 15px;
	height: 15px;
}

.rr-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rr-footer-links li + li {
	margin-top: 10px;
}

.rr-footer-links a {
	color: var(--rr-footer-muted) !important;
	text-decoration: none !important;
	font-size: 14px;
	line-height: 1.4;
	transition: color 0.15s ease;
}

.rr-footer-links a:hover {
	color: #fff !important;
}

.rr-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rr-footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--rr-footer-muted);
}

.rr-footer-contact li + li {
	margin-top: 11px;
}

.rr-footer-contact a {
	color: var(--rr-footer-muted) !important;
	text-decoration: none !important;
}

.rr-footer-contact a:hover {
	color: #fff !important;
}

.rr-footer-loc {
	opacity: 0.8;
}

.rr-footer-ci {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	color: var(--rr-footer-icon);
}

.rr-footer-ci svg {
	width: 18px;
	height: 18px;
	display: block;
}

/* Payment */
.rr-footer-pay-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	background: #fff;
	border-radius: 8px;
	padding: 12px 14px;
	margin-bottom: 14px;
	align-items: center;
	justify-content: space-between;
}

.rr-pay-badge {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #1a1a1a;
	line-height: 1;
	white-space: nowrap;
}

.rr-pay-visa {
	color: #1a1f71;
	font-style: italic;
	font-size: 15px;
	letter-spacing: 0.04em;
}

.rr-pay-mc {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: 10px;
	font-weight: 600;
}

.rr-pay-mc i {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	display: inline-block;
}

.rr-pay-mc i:first-child {
	background: #eb001b;
}

.rr-pay-mc i:last-of-type {
	background: #f79e1b;
	margin-left: -6px;
}

.rr-pay-apple {
	font-weight: 600;
}

.rr-pay-apple::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 14px;
	margin-right: 2px;
	vertical-align: -2px;
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 17'%3E%3Cpath fill='%23000' d='M11.5 8.7c0-2.1 1.7-3.1 1.8-3.2-1-1.4-2.5-1.6-3-1.6-1.3-.1-2.5.8-3.1.8-.7 0-1.7-.7-2.8-.7C3 4 1.5 5.1.7 6.9c-1.6 2.8-.4 6.9 1.1 9.2.8 1.1 1.7 2.3 2.9 2.3 1.2 0 1.6-.7 3-.7s1.8.7 3 .7 2-1.1 2.8-2.2c.9-1.3 1.3-2.5 1.3-2.6-.1 0-2.5-1-2.5-3.9zM9.4 2.7c.6-.8 1.1-1.8.9-2.9-0.9.1-2 .6-2.6 1.4-.6.7-1.1 1.8-.9 2.8 1 .1 2-.5 2.6-1.3z'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 17'%3E%3Cpath fill='%23000' d='M11.5 8.7c0-2.1 1.7-3.1 1.8-3.2-1-1.4-2.5-1.6-3-1.6-1.3-.1-2.5.8-3.1.8-.7 0-1.7-.7-2.8-.7C3 4 1.5 5.1.7 6.9c-1.6 2.8-.4 6.9 1.1 9.2.8 1.1 1.7 2.3 2.9 2.3 1.2 0 1.6-.7 3-.7s1.8.7 3 .7 2-1.1 2.8-2.2c.9-1.3 1.3-2.5 1.3-2.6-.1 0-2.5-1-2.5-3.9zM9.4 2.7c.6-.8 1.1-1.8.9-2.9-0.9.1-2 .6-2.6 1.4-.6.7-1.1 1.8-.9 2.8 1 .1 2-.5 2.6-1.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rr-pay-gpay {
	font-weight: 700;
	color: #4285f4;
}

.rr-footer-badge {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: #fff;
	border-radius: 6px;
	padding: 10px 12px;
	text-decoration: none !important;
	margin-bottom: 10px;
}

.rr-footer-badge:last-child {
	margin-bottom: 0;
}

.rr-footer-badge-text {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #1a1a1a;
	line-height: 1.3;
}

.rr-footer-badge-btn {
	flex: 0 0 auto;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1a1a1a;
	border: 1px solid #1a1a1a;
	border-radius: 3px;
	padding: 5px 8px;
	line-height: 1;
}

.rr-footer-badge:hover .rr-footer-badge-btn {
	background: #1a1a1a;
	color: #fff;
}

/* ---------- Bottom bar ---------- */
.rr-footer-bottom {
	background: var(--rr-footer-darker);
	border-top: 1px solid var(--rr-footer-line);
}

.rr-footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 15px;
	flex-wrap: wrap;
}

.rr-footer-copy {
	margin: 0;
	font-size: 13px;
	color: var(--rr-footer-muted);
}

.rr-footer-design {
	margin: 0;
	font-size: 13px;
	color: var(--rr-footer-muted);
}

.rr-footer-design a {
	color: var(--rr-footer-muted) !important;
	text-decoration: none !important;
}

.rr-footer-design a:hover {
	color: #fff !important;
}

.rr-footer-legal {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

.rr-footer-legal a {
	font-size: 13px;
	color: var(--rr-footer-muted) !important;
	text-decoration: none !important;
}

.rr-footer-legal a:hover {
	color: #fff !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.rr-footer-features-inner {
		gap: 8px;
		padding-top: 28px;
		padding-bottom: 28px;
	}

	.rr-footer-feature-title {
		font-size: 11px;
	}

	.rr-footer-feature-text {
		font-size: 11.5px;
	}

	.rr-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 36px 0;
	}

	.rr-footer-col {
		border-right: 0;
		padding: 0 20px;
	}

	.rr-footer-col:nth-child(odd) {
		padding-left: 0;
		border-right: 1px solid var(--rr-footer-line);
		padding-right: 24px;
	}

	.rr-footer-col:nth-child(even) {
		padding-right: 0;
		padding-left: 24px;
	}
}

@media (max-width: 720px) {
	.rr-footer-features-inner {
		flex-wrap: wrap !important;
		justify-content: center;
		row-gap: 22px;
	}

	.rr-footer-feature {
		flex: 1 1 calc(50% - 12px);
		max-width: calc(50% - 8px);
	}

	.rr-footer-main {
		padding: 40px 0 28px;
	}

	.rr-footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.rr-footer-col,
	.rr-footer-col:nth-child(odd),
	.rr-footer-col:nth-child(even),
	.rr-footer-col:first-child,
	.rr-footer-col:last-child {
		border: 0;
		padding: 0;
	}

	.rr-footer-bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.rr-footer-design {
		order: 3;
	}
}

@media (max-width: 420px) {
	.rr-footer-feature {
		flex: 1 1 100%;
		max-width: 100%;
	}
}
