/* ==========================================================================
   Wejha Store — footer (Blocksy Footer Builder markup)
   Middle row: the wejha-footer item (brand · Shop · Help · Account), bottom row: copyright.
   The footer is the one strong navy area of the page: generous padding, a larger white logo, clear column
   titles and readable link rows, so the storefront ends with intent rather than a strip of small links.
   ========================================================================== */

/* body[data-footer] matches Blocksy's own selector specificity (it paints the footer surface colour). */
body[data-footer] .ct-footer {
	background: radial-gradient(70% 55% at 0% 0%, rgba(2, 170, 177, 0.16) 0%, rgba(2, 170, 177, 0) 60%), var(--wejha-navy);
	color: rgba(255, 255, 255, 0.8);
}

body[data-footer] .ct-footer [data-row="middle"] > div {
	background: transparent;
	padding-block: 5rem 4rem; /* 80px / 64px */
	border-block-end: 1px solid rgba(255, 255, 255, 0.1);
}

/* Columns ----------------------------------------------------------------- */
.wejha-footer {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 1fr);
	gap: var(--wejha-space-7) var(--wejha-space-7);
	width: 100%;
}

@media (max-width: 999.98px) {
	.wejha-footer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--wejha-space-6) var(--wejha-space-5);
	}

	.wejha-footer__col--brand {
		grid-column: 1 / -1;
	}
}

.wejha-footer__col--brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wejha-space-5);
}

.wejha-footer__logo {
	display: inline-flex;
	border-radius: var(--wejha-radius-sm);
}

.wejha-footer__logo img {
	width: auto;
	height: 60px;
}

.wejha-footer .wejha-language,
.wejha-footer .wejha-language__link {
	color: rgba(255, 255, 255, 0.72);
	font-size: var(--wejha-text-md);
}

.wejha-footer .wejha-language__link.is-current {
	color: #fff;
}

.wejha-footer .wejha-language__link:hover,
.wejha-footer .wejha-language__link:focus-visible {
	color: var(--wejha-yellow);
}

.wejha-footer .wejha-language__link:first-child {
	padding-inline-start: 0;
}

.wejha-footer .wejha-language__sep {
	color: rgba(255, 255, 255, 0.28);
}

.ct-footer .wejha-footer__title,
.ct-footer .widget-title,
.ct-footer h2,
.ct-footer h3 {
	color: #fff;
	font-size: 1.0625rem; /* 17px */
	font-weight: 600;
	margin: 0 0 var(--wejha-space-4);
	line-height: 1.4;
}

.ct-footer .wejha-footer__title::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	margin-block-start: var(--wejha-space-3);
	border-radius: var(--wejha-radius-pill);
	background: var(--wejha-yellow);
}

.ct-footer a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color .18s ease;
}

.ct-footer a:hover,
.ct-footer a:focus-visible {
	color: var(--wejha-yellow);
}

.ct-footer :where(a, button):focus-visible {
	outline-color: var(--wejha-yellow);
}

.ct-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ct-footer .wejha-footer__list li,
.ct-footer li {
	padding-block: 0;
}

.ct-footer .wejha-footer__list a {
	display: inline-block;
	padding-block: 0.5em; /* ≥ 40px rows with the 1.7 line height */
	font-size: 0.9375rem; /* 15px */
	line-height: 1.7;
}

.ct-footer .wejha-footer__list a:hover,
.ct-footer .wejha-footer__list a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--wejha-yellow);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.28em;
}

/* Bottom row -------------------------------------------------------------- */
body[data-footer] .ct-footer [data-row="bottom"] > div {
	background: transparent;
	padding-block: var(--wejha-space-5);
	font-size: var(--wejha-text-sm);
	color: rgba(255, 255, 255, 0.6);
}

/* Phones: brand on top, the Shop column full width with its links in two columns, Help and Account side by
   side underneath — no wall of tiny links. */
@media (max-width: 689.98px) {
	body[data-footer] .ct-footer [data-row="middle"] > div {
		padding-block: 3.5rem 2.5rem; /* 56px / 40px */
	}

	.wejha-footer {
		gap: var(--wejha-space-6) var(--wejha-space-4);
	}

	.wejha-footer__logo img {
		height: 48px;
	}

	.wejha-footer__col--brand + .wejha-footer__col {
		grid-column: 1 / -1;
	}

	.wejha-footer__col--brand + .wejha-footer__col .wejha-footer__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--wejha-space-4);
	}

	body[data-footer] .ct-footer [data-row="bottom"] > div {
		padding-block: var(--wejha-space-4);
		font-size: var(--wejha-text-xs);
	}
}
