/**
 * Coolmate-style footer (two tiers).
 */

body.rocky-custom-footer .site-footer.rocky-footer {
	padding: 0;
	margin: 0;
	background: #0a0a0a;
	color: #f5f5f5;
	border: 0;
	clear: both;
}

body.rocky-custom-footer .site-footer.rocky-footer::before,
body.rocky-custom-footer .site-footer.rocky-footer::after {
	display: none;
}

body.rocky-custom-footer .site-footer.rocky-footer .col-full {
	max-width: calc(var(--rocky-container-max) + 2 * var(--rocky-container-padding));
	box-sizing: border-box;
}

/* Storefront .col-full clearfix breaks CSS grid — grid lives on inner wrappers only. */
body.rocky-custom-footer .site-footer.rocky-footer .col-full::before,
body.rocky-custom-footer .site-footer.rocky-footer .col-full::after {
	display: none;
}

body.rocky-custom-footer .site-footer.rocky-footer h2,
body.rocky-custom-footer .site-footer.rocky-footer h3 {
	color: var(--rocky-color-text-on-dark);
}

body.rocky-custom-footer .site-footer.rocky-footer a {
	color: inherit;
}

body.rocky-custom-footer .site-footer.rocky-footer a.rocky-footer__feedback-cta,
body.rocky-custom-footer .site-footer.rocky-footer a.rocky-footer__feedback-cta:hover,
body.rocky-custom-footer .site-footer.rocky-footer a.rocky-footer__feedback-cta:focus {
	color: #0a0a0a;
	background: var(--rocky-color-surface);
	text-decoration: none;
}

body.rocky-custom-footer .site-footer.rocky-footer a.rocky-footer__feedback-cta svg {
	color: #0a0a0a;
	stroke: #0a0a0a;
}

body.rocky-custom-footer .site-footer.rocky-footer .rocky-footer__contact-value,
body.rocky-custom-footer .site-footer.rocky-footer .rocky-footer__links a {
	color: var(--rocky-color-text-on-dark);
	text-decoration: none;
}

body.rocky-custom-footer .site-footer.rocky-footer .rocky-footer__links a:hover,
body.rocky-custom-footer .site-footer.rocky-footer .rocky-footer__contact-value:hover {
	color: var(--rocky-color-text-on-dark);
	text-decoration: underline;
}

body.rocky-custom-footer .site-footer.rocky-footer .rocky-footer__feedback,
body.rocky-custom-footer .site-footer.rocky-footer .rocky-footer__contact,
body.rocky-custom-footer .site-footer.rocky-footer .rocky-footer__brand,
body.rocky-custom-footer .site-footer.rocky-footer .rocky-footer__payments,
body.rocky-custom-footer .site-footer.rocky-footer .rocky-footer__column {
	float: none;
	width: auto;
	margin-right: 0;
}

body.rocky-custom-footer .site-footer.rocky-footer ul {
	margin-left: 0;
}

.rocky-footer__tier--top {
	padding: 2.75rem 0 2.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rocky-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 2.5rem 3rem;
	align-items: start;
}

.rocky-footer__feedback-title {
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--rocky-color-text-on-dark);
}

.rocky-footer__feedback-text {
	margin: 0 0 1.35rem;
	max-width: 52ch;
	font-size: 0.9rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

.rocky-footer__feedback-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.65rem 1.35rem;
	border-radius: 999px;
	border: 1px solid var(--rocky-color-text-on-dark);
	background: var(--rocky-color-surface);
	color: #0a0a0a;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rocky-footer__feedback-cta:hover {
	background: #f0f0f0;
	border-color: #f0f0f0;
	color: #0a0a0a;
}

.rocky-footer__social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.rocky-footer__social-block {
	margin-top: 1.25rem;
}

.rocky-footer__social-title {
	margin-bottom: 0.85rem;
}

.rocky-footer__social--payments {
	margin-top: 0;
}

.rocky-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 10px;
	color: var(--rocky-color-text-on-dark);
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.rocky-footer__social-link:hover {
	border-color: var(--rocky-color-text-on-dark);
	background: rgba(255, 255, 255, 0.06);
	color: var(--rocky-color-text-on-dark);
}

.rocky-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	padding-top: 0.25rem;
}

.rocky-footer__contact-row {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.rocky-footer__contact-icon {
	flex-shrink: 0;
	color: var(--rocky-color-text-on-dark);
	opacity: 0.95;
}

.rocky-footer__contact-label {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.55);
}

.rocky-footer__contact-value {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--rocky-color-text-on-dark);
	text-decoration: none;
	line-height: 1.4;
}

.rocky-footer__contact-value:hover {
	color: var(--rocky-color-text-on-dark);
	text-decoration: underline;
}

.rocky-footer__tier--links {
	padding: 2.25rem 0 3rem;
}

.rocky-footer__columns {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(170px, 220px);
	gap: 2rem 2rem;
	align-items: start;
}

.rocky-footer__brand {
	max-width: 280px;
}

.rocky-footer__brand-logo {
	margin-bottom: 1.35rem;
}

.rocky-footer__brand-logo .custom-logo-link {
	display: inline-block;
	margin: 0;
}

.rocky-footer__brand-logo .custom-logo-link img {
	max-width: 200px;
	height: auto;
	filter: brightness(0) invert(1);
}

.rocky-footer__logo-text {
	font-size: 1.65rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.1;
	color: var(--rocky-color-text-on-dark);
	text-decoration: none;
}

.rocky-footer__brand-line {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0 0 0.65rem;
	font-size: 0.82rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.88);
}

.rocky-footer__brand-line a {
	color: var(--rocky-color-text-on-dark);
	text-decoration: none;
}

.rocky-footer__brand-line a:hover {
	text-decoration: underline;
}

.rocky-footer__brand-line-icon {
	flex-shrink: 0;
	display: inline-flex;
	margin-top: 0.05rem;
	color: var(--rocky-color-text-on-dark);
}

.rocky-footer__brand-line-icon svg {
	width: 18px;
	height: 18px;
}

.rocky-footer__newsletter {
	margin-top: 1.75rem;
}

.rocky-footer__newsletter-title {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--rocky-color-text-on-dark);
}

.rocky-footer__newsletter-subtitle {
	margin: 0 0 1rem;
	font-size: 0.82rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.72);
}

.rocky-footer__newsletter-form {
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
	max-width: 100%;
}

.rocky-footer__newsletter-input {
	flex: 1;
	min-width: 0;
	padding: 0.55rem 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.45);
	background: transparent;
	color: var(--rocky-color-text-on-dark);
	font-size: 0.82rem;
}

.rocky-footer__newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.rocky-footer__newsletter-input:focus {
	outline: none;
	border-bottom-color: var(--rocky-color-text-on-dark);
}

.rocky-footer__newsletter-submit {
	flex-shrink: 0;
	padding: 0.55rem 1rem;
	border: 0;
	border-radius: 6px;
	background: var(--rocky-color-text-primary);
	color: var(--rocky-color-text-on-dark);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.2s ease;
}

.rocky-footer__newsletter-submit:hover {
	background: #2a2a2a;
}

.rocky-footer__nav-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 1.25rem;
}

.rocky-footer__payments {
	justify-self: end;
	max-width: 220px;
}

.rocky-footer__payments-title {
	margin-bottom: 1rem;
}

.rocky-footer__payment-logos,
.rocky-footer__badges {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rocky-footer__payment-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.rocky-footer__payment-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	height: 40px;
	padding: 0 0.65rem;
	border-radius: 4px;
	background: var(--rocky-color-surface);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
}

.rocky-footer__payment-logo--vnpay {
	color: #0066b3;
}

.rocky-footer__payment-logo--cod {
	color: var(--rocky-color-text-primary);
	font-size: 0.85rem;
}

.rocky-footer__payment-logo-img {
	display: block;
	height: 40px;
	width: auto;
	max-width: 88px;
	object-fit: contain;
}

.rocky-footer__badges {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.rocky-footer__badge {
	display: block;
	text-decoration: none;
	border-radius: 4px;
	overflow: hidden;
}

.rocky-footer__badge img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 48px;
	object-fit: contain;
	object-position: left center;
}

.rocky-footer__badge:has(img) {
	padding: 0;
	background: transparent;
	border: 0;
}

.rocky-footer__badge--bct {
	padding: 0.45rem 0.55rem;
	background: linear-gradient(90deg, #1a4f9c 0%, #2563b8 100%);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.rocky-footer__badge--bct .rocky-footer__badge-text {
	display: block;
	font-size: 0.58rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--rocky-color-text-on-dark);
}

.rocky-footer__badge--dmca {
	padding: 0.5rem 0.65rem;
	background: #5eb8e8;
	text-align: center;
}

.rocky-footer__badge--dmca .rocky-footer__badge-text {
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #0a2a42;
}

.rocky-footer__group + .rocky-footer__group {
	margin-top: 1.75rem;
}

.rocky-footer__group-title {
	margin: 0 0 0.85rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rocky-color-text-on-dark);
}

.rocky-footer__links,
.rocky-footer__addresses {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rocky-footer__links li + li,
.rocky-footer__addresses li + li {
	margin-top: 0.55rem;
}

.rocky-footer__links a {
	font-size: 0.82rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.rocky-footer__links a:hover {
	color: var(--rocky-color-text-on-dark);
	text-decoration: underline;
}

.rocky-footer__addresses li {
	font-size: 0.8rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.72);
}

.rocky-footer__address-label {
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rocky-footer-floats {
	pointer-events: none;
}

.rocky-footer-float {
	pointer-events: auto;
	position: fixed;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: #2f6bff;
	color: var(--rocky-color-text-on-dark);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.rocky-footer-float:hover {
	transform: translateY(-2px);
	color: var(--rocky-color-text-on-dark);
}

.rocky-footer-float--top {
	left: 1.25rem;
	bottom: 1.25rem;
}

.rocky-footer-float--top[hidden] {
	display: none;
}

@media (max-width: 1100px) {
	.rocky-footer__nav-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.rocky-footer__top {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.rocky-footer__columns {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.rocky-footer__brand {
		max-width: none;
	}

	.rocky-footer__payments {
		justify-self: start;
		max-width: none;
	}
}

@media (max-width: 600px) {
	.rocky-footer__tier--top {
		padding: 2rem 0 1.75rem;
	}

	.rocky-footer__tier--links {
		padding: 1.75rem 0 2.5rem;
	}

	.rocky-footer__nav-columns {
		grid-template-columns: 1fr;
	}

	.rocky-footer__newsletter-form {
		flex-direction: column;
		align-items: stretch;
	}

	.rocky-footer__newsletter-submit {
		width: 100%;
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}

	.rocky-footer-float--top {
		width: 46px;
		height: 46px;
		bottom: 1rem;
		left: 1rem;
	}
}
