/**
 * OVNS — footer (Cafe24-style layout)
 */

.ovns-site-footer {
	box-sizing: border-box;
	padding: clamp(2.5rem, 6vw, 3.5rem) 0 clamp(2rem, 5vw, 3rem);
	margin-top: clamp(4rem, 10vw, 6.875rem);
	border-top: none;
	background: #fff;
	color: #111;
	font-family: inherit;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.ovns-site-footer *,
.ovns-site-footer *::before,
.ovns-site-footer *::after {
	box-sizing: border-box;
}

.ovns-footer-inner {
	width: var(--theme-container-width);
	max-width: 100%;
	margin-inline: auto;
}

.ovns-site-footer .footer__logo {
	margin-bottom: clamp(1.25rem, 3vw, 1.875rem);
	max-width: 11rem;
}

.ovns-footer-logo__link {
	display: inline-block;
	text-decoration: none;
	color: inherit;
}

.ovns-footer-logo__img {
	display: block;
	height: 30px;
	width: auto;
}

.ovns-footer-logo__text {
	font-weight: 700;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	letter-spacing: -0.02em;
	line-height: 1;
}

.ovns-site-footer .footer__content {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: clamp(2rem, 5vw, 5rem);
	padding-bottom: clamp(2rem, 5vw, 3.45rem);
}

.ovns-site-footer .shop-info {
	flex: 1 1 18rem;
	min-width: min(100%, 18rem);
	margin-right: auto;
	max-width: 42rem;
}

.ovns-site-footer .footer__policy-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0 clamp(1rem, 3vw, 1.875rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ovns-site-footer .footer__policy-nav a {
	font-weight: 500;
	color: inherit;
	text-decoration: none;
}

.ovns-site-footer .footer__policy-nav a:hover,
.ovns-site-footer .footer__biz-check:hover,
.ovns-site-footer .footer__copy a:hover {
	text-decoration: underline;
}

.ovns-site-footer .footer__company-block {
	line-height: 1.67;
	font-weight: 300;
	margin: clamp(1.25rem, 3vw, 1.45rem) 0 0;
}

.ovns-site-footer .footer__company-block p {
	margin: 0;
}

.ovns-site-footer .footer__company-block span + span {
	margin-left: 0.5rem;
}

.ovns-site-footer .footer__cs-column {
	flex: 0 1 auto;
	min-width: min(100%, 14rem);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.ovns-site-footer .footer__cs-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	width: min(100%, 22rem);
	margin-bottom: 0.875rem;
}

.ovns-site-footer .footer__cs-title {
	margin: 0;
	font-size: inherit;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ovns-site-footer .footer__phone {
	margin: 0;
	font-size: clamp(1.5rem, 3.8vw, 1.875rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.ovns-site-footer .footer__hours {
	margin-top: 0.875rem;
	line-height: 1.67;
	font-weight: 300;
	color: #333;
}

.ovns-site-footer .sns-link ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ovns-site-footer .sns-link a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	border: 1px solid #e0e0e0;
	color: #333;
	text-decoration: none;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.ovns-site-footer .sns-link a:hover {
	border-color: #111;
	background: #fafafa;
}

.ovns-site-footer .sns-link svg {
	display: block;
	width: 0.875rem;
	height: 0.875rem;
}

.ovns-site-footer .footer__biz-check {
	margin-left: 0.25rem;
	color: inherit;
	text-decoration: none;
	font-weight: 400;
}

.ovns-site-footer .footer__copy {
	font-size: 0.75rem;
	color: #a8a8a8;
	font-weight: 300;
}

.ovns-site-footer .footer__copy p {
	margin: 0;
}

.ovns-site-footer .footer__copy a {
	color: inherit;
	text-decoration: none;
}

/* Screen reader labels for icon-only SNS links */
.ovns-site-footer .screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

@media (max-width: 699px) {
	.ovns-site-footer .footer__content {
		flex-direction: column;
	}

	.ovns-site-footer .footer__cs-head {
		width: 100%;
		max-width: none;
	}

	.ovns-site-footer .footer__cs-column {
		width: 100%;
	}
}
