/* =============================================================
   DadsBBQ Child — footer.css
   Стилі власного футера (footer.php → <footer class="dbq-footer">).
   Палітра з custom.css (:root --bbq-*). Селектори .dbq-footer__*.
   ============================================================= */

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

.dbq-footer {
	background: var(--bbq-dark);
	color: var(--bbq-white);
	border-top: 3px solid transparent;
	border-image: linear-gradient(90deg, var(--bbq-terracotta), var(--bbq-gold), var(--bbq-terracotta)) 1;
	font-family: 'Montserrat', sans-serif;
}

/* верхня частина — сітка колонок */
.dbq-footer__inner {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 32px) clamp(28px, 4vw, 40px);
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: clamp(28px, 4vw, 56px);
}

/* ── Бренд ── */
.dbq-footer__logo { display: inline-block; line-height: 0; margin-bottom: 18px; }
.dbq-footer__logo img {
	max-height: 90px;
	width: auto;
	filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .5));
}
.dbq-footer__tagline {
	color: #c9bdac;
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 20px;
	max-width: 320px;
}
.dbq-footer__social { display: flex; gap: 12px; }
.dbq-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(233, 162, 60, .4);
	color: var(--bbq-gold);
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.dbq-footer__social a svg { width: 20px; height: 20px; }
.dbq-footer__social a:hover {
	transform: translateY(-3px);
	border-color: var(--bbq-gold);
	background: rgba(233, 162, 60, .1);
}

/* ── Колонки ── */
.dbq-footer__title {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--bbq-white);
	margin: 0 0 18px;
	padding-bottom: 10px;
	position: relative;
}
.dbq-footer__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 2px;
	background: linear-gradient(90deg, var(--bbq-gold), var(--bbq-terracotta));
}
.dbq-footer__link {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #c9bdac;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 11px;
	transition: color .2s ease, padding-left .2s ease;
}
.dbq-footer__link:hover { color: var(--bbq-gold); }
.dbq-footer__link svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--bbq-gold); }

/* ── Магазини ── */
.dbq-footer__store {
	margin: 0 0 14px;
}
.dbq-footer__store-link {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #c9bdac;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: color .2s ease, padding-left .2s ease;
}
.dbq-footer__store-link:hover { color: var(--bbq-gold); }
.dbq-footer__store-link svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--bbq-gold); }
.dbq-footer__store-hours,
.dbq-footer__store-address,
.dbq-footer__store-phone{
	display: block;
	margin: 3px 0 0 25px;
	color: #9a8d7b;
	font-size: 12.5px;
	line-height: 1.4;
}
.dbq-footer__note {
	display: block;
	max-width: 100%;
	margin-top: 12px;
	padding: 8px 12px;
	background: rgba(192, 67, 43, .12);
	border: 1px solid rgba(192, 67, 43, .3);
	border-radius: 8px;
	color: var(--bbq-gold);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
}

/* ── Нижня смужка ── */
.dbq-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .08);
	background: var(--bbq-darker);
}
.dbq-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 18px clamp(16px, 4vw, 32px);
}
.dbq-footer__copy { color: #8a7e6c; font-size: 13px; }
.dbq-footer__totop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	border: 1px solid rgba(233, 162, 60, .35);
	color: var(--bbq-gold);
	text-decoration: none;
	transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.dbq-footer__totop:hover {
	background: rgba(233, 162, 60, .12);
	border-color: var(--bbq-gold);
	transform: translateY(-2px);
}

/* плавний скрол для back-to-top */
html { scroll-behavior: smooth; }

/* ═══════════════ Адаптив ═══════════════ */
@media (max-width: 900px) {
	.dbq-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
	.dbq-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.dbq-footer__inner { grid-template-columns: 1fr; gap: 28px; text-align: left; }
	.dbq-footer__bottom-inner { flex-direction: column-reverse; gap: 14px; text-align: center; }
	.dbq-footer__tagline { max-width: 100%; }
}
