/**
 * Site footer — mobile + desktop.
 */

.oten-footer {
	background: #fff;
	color: var(--oten-ink);
	overflow-x: clip;
}

.oten-footer__inner {
	box-sizing: border-box;
	padding: 32px 16px 24px;
}

.oten-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 24px 32px;
}

.oten-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	text-align: center;
}

.oten-footer__logo-link {
	display: inline-flex;
	margin-bottom: 20px;
}

.oten-footer__logo {
	display: block;
	width: 88px;
	height: auto;
	object-fit: contain;
}

.oten-footer__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: fit-content;
	margin-inline: auto;
}

.oten-footer__contact-title {
	margin: 0 0 16px;
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 400;
	color: var(--oten-ink);
	text-align: right;
}

.oten-footer__contact-list {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 16px 28px;
}

.oten-footer__contact-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 13px;
	line-height: 1;
	font-weight: 400;
	color: var(--oten-brand);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.oten-footer__contact-item:hover,
.oten-footer__contact-item:focus-visible {
	opacity: 0.8;
}

.oten-footer__contact-item:focus-visible {
	outline: 2px solid var(--oten-brand);
	outline-offset: 2px;
}

.oten-footer__contact-icon {
	display: block;
	flex-shrink: 0;
	width: 19px;
	height: 19px;
}

/* Store phone whose last digits (010) are drawn as the O10 logo mark —
   oten_store_phone_html(). Footer and contact page; footer.css loads on both. */
.oten-phone {
	position: relative;
	display: inline-block;
	white-space: nowrap;
}

.oten-phone__mark {
	display: inline-block;
	height: 0.95em;
	width: auto;
	aspect-ratio: 104 / 40;
	margin-inline-start: 0.3em;
	vertical-align: -0.1em;
}

.oten-phone__mark-ink {
	stroke: var(--oten-ink);
}

.oten-phone__mark-ink-fill {
	fill: var(--oten-ink);
}

.oten-phone__mark-brand {
	stroke: var(--oten-brand);
}

.oten-footer__shop {
	flex: 1 1 auto;
	min-width: 0;
}

.oten-footer__aside {
	display: contents;
}

.oten-footer__quick {
	flex: 0 0 108px;
}

.oten-footer__nav-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--oten-ink);
}

.oten-footer__nav-bar {
	display: block;
	flex-shrink: 0;
	width: 3px;
	height: 18px;
	background-color: var(--oten-brand);
}

.oten-footer__shop-grid {
	display: none;
}

.oten-footer__nav-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.oten-footer__nav-list li + li {
	margin-top: 8px;
}

.oten-footer__nav-list a {
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 12px;
	line-height: 1.45;
	font-weight: 400;
	color: var(--oten-ink);
	text-decoration: none;
	transition: color 0.2s ease;
}

.oten-footer__nav-list a:hover,
.oten-footer__nav-list a:focus-visible {
	color: var(--oten-brand);
}

.oten-footer__nav-list a:focus-visible {
	outline: 2px solid var(--oten-brand);
	outline-offset: 2px;
}

.oten-footer__trust {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px 20px;
	width: 100%;
}

.oten-footer__trust-badge {
	display: block;
	height: 76px;
	width: auto;
	max-width: 107px;
	object-fit: contain;
}

.oten-footer__map {
	margin-top: 24px;
	overflow: hidden;
	background: #f5f5f5;
}

.oten-footer__map-frame {
	display: block;
	width: 100%;
	height: 180px;
	border: 0;
}

.oten-footer__legal {
	border-top: 1px solid #e5e5e5;
	background: #fff;
	padding: 14px 16px 18px;
}

.oten-footer__legal-text {
	margin: 0;
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 10px;
	line-height: 1.4;
	font-weight: 400;
	color: #898989;
	text-align: center;
	white-space: nowrap;
}

.oten-footer__legal-sep {
	margin-inline: 4px;
	color: #c9c9c9;
}

@media (min-width: 768px) {
	.oten-footer__inner {
		width: min(1476px, calc(100% - 60px));
		margin-inline: auto;
		padding: 0;
	}

	.oten-footer__top {
		display: grid;
		grid-template-columns: 260px minmax(0, 1fr) 280px;
		grid-template-rows: auto;
		column-gap: 72px;
		row-gap: 0;
		align-items: start;
		padding: 20px 0 32px;
	}

	.oten-footer__brand {
		grid-column: 1;
		grid-row: 1;
		align-items: center;
		width: auto;
		text-align: center;
	}

	.oten-footer__shop {
		grid-column: 2;
		grid-row: 1;
		min-width: 0;
	}

	.oten-footer__aside {
		display: flex;
		flex-direction: column;
		gap: 24px;
		grid-column: 3;
		grid-row: 1;
	}

	.oten-footer__quick {
		flex: 0 0 auto;
		width: auto;
	}

	.oten-footer__logo {
		width: 104px;
		height: auto;
	}

	.oten-footer__logo-link {
		margin-bottom: 14px;
	}

	.oten-footer__contact-title {
		margin-bottom: 16px;
		font-size: 16px;
	}

	.oten-footer__contact-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.oten-footer__contact-item {
		font-size: 15px;
	}

	.oten-footer__nav-title {
		margin-bottom: 16px;
		font-size: 18px;
	}

	.oten-footer__nav-bar {
		height: 22px;
	}

	.oten-footer__shop-grid {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 12px 40px;
	}

	.oten-footer__shop-grid .oten-footer__nav-list {
		min-width: 0;
	}

	.oten-footer__nav-list--mobile-shop {
		display: none;
	}

	.oten-footer__nav-list a {
		display: block;
		font-size: 14px;
		line-height: 1.5;
		text-align: start;
	}

	.oten-footer__nav-list li + li {
		margin-top: 12px;
	}

	.oten-footer__trust {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		flex-wrap: nowrap;
		gap: 12px;
		width: auto;
	}

	.oten-footer__trust-badge {
		height: 56px;
		width: auto;
		max-width: none;
	}

	.oten-footer__map {
		width: 100%;
		margin-top: 0;
	}

	.oten-footer__map-frame {
		height: 320px;
	}

	.oten-footer__legal {
		padding: 16px;
	}
}

@media (min-width: 768px) and (max-width: 1279px) {
	.oten-footer__inner {
		width: 100%;
		padding-inline: 32px;
	}

	.oten-footer__top {
		grid-template-columns: 220px minmax(0, 1fr) 240px;
		column-gap: 40px;
	}

	.oten-footer__shop-grid {
		gap: 10px 24px;
	}

	.oten-footer__nav-list a {
		font-size: 13px;
	}

	.oten-footer__trust {
		flex-wrap: nowrap;
		gap: 10px;
	}

	.oten-footer__trust-badge {
		height: 48px;
	}
}
