/* =============================================================
   DadsBBQ Child — home.css
   Стилі тільки для page-dadsbbq-home.php (template "DadsBBQ — Нова Головна").
   Підключається лише для цієї сторінки через functions.php.
   Namespace: .dbq-home, .dbq-hero, .dbq-features, .dbq-about,
              .dbq-products, .dbq-categories, .dbq-cta, .dbq-reviews, .dbq-contacts
   ============================================================= */

/* Приховати штатний RevSlider Betheme на нашому template */
.page-template-page-dadsbbq-home .mfn-main-slider,
.page-template-page-dadsbbq-home #Header .mfn-rev-slider { display: none !important; }

/* Прибрати зайвий відступ Betheme Header_wrapper */
.page-template-page-dadsbbq-home #Header_wrapper {
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}

/* ─── Змінні ──────────────────────────────────────────────────────── */
:root {
	/* Кольори з єдиної палітри (custom.css :root --bbq-*) */
	--dbq-yellow:       var(--bbq-gold);
	--dbq-red-1:        var(--bbq-terracotta);
	--dbq-red-2:        var(--bbq-terracotta-dk);
	--dbq-terracotta:   var(--bbq-terracotta);
	--dbq-terracotta-2: var(--bbq-terracotta-dk);
	--dbq-flame:        var(--bbq-flame);
	--dbq-black:        var(--bbq-dark);
	--dbq-dark:         var(--bbq-dark-2);
	--dbq-dark-2:       var(--bbq-dark-3);
	--dbq-cream:        var(--bbq-cream);
	--dbq-cream-soft:   var(--bbq-cream-soft);
	--dbq-brown:        var(--bbq-brown);
	--dbq-white:        var(--bbq-white);
	--dbq-text:         #d8ccbb;
	--dbq-muted:        var(--bbq-muted);
	--dbq-radius:   8px;
	--dbq-gap:      clamp(16px, 3vw, 32px);
	--dbq-section-py: clamp(64px, 8vw, 112px);
	--dbq-container: 1240px;
}

/* ─── Загальні елементи ───────────────────────────────────────────── */
.dbq-home { display: block; }
.dbq-home *, .dbq-home *::before, .dbq-home *::after { box-sizing: border-box; }

/* Глобальний дефолт для всіх inline-SVG (інакше розпираються до 100%) */
.dbq-home svg {
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
	display: inline-block;
	vertical-align: middle;
}

.dbq-home-container {
	width: 100%;
	max-width: var(--dbq-container);
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 32px);
}
.dbq-home-section {
	position: relative;
	width: 100%;
	overflow: hidden;
}
/* якірний перехід (#about тощо) не ховає заголовок під липким хедером */
.dbq-home-section[id] { scroll-margin-top: 90px; }

/* Section header */
.dbq-section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.dbq-section-title {
	font-size: clamp(26px, 4vw, 44px);
	font-weight: 800;
	color: var(--dbq-white);
	margin: 0 0 12px;
	line-height: 1.2;
	letter-spacing: -0.5px;
}
.dbq-section-sub {
	font-size: clamp(15px, 1.8vw, 18px);
	color: var(--dbq-text);
	margin: 0;
	max-width: 600px;
	margin-inline: auto;
}
.dbq-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--dbq-yellow);
	background: rgba(233, 162, 60,.1);
	border: 1px solid rgba(233, 162, 60,.25);
	border-radius: 999px;
	padding: 4px 14px;
	margin-bottom: 14px;
}

/* Кнопки */
.dbq-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: var(--dbq-radius);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background 0.22s ease, color 0.22s ease,
				border-color 0.22s ease, transform 0.18s ease,
				box-shadow 0.22s ease;
	line-height: 1;
	white-space: nowrap;
}
.dbq-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ── Фікс "темний на темному": tel:/visited посилання не мають фарбуватись
   у браузерний/skin дефолт. Гарантуємо кольори тексту кнопок !important. ── */
.dbq-home a[href^="tel:"] { color: inherit; }
.dbq-home .dbq-btn--primary,
.dbq-home .dbq-btn--primary:visited { color: var(--dbq-black) !important; }
.dbq-home .dbq-btn--primary:hover  { color: var(--dbq-white) !important; }
.dbq-home .dbq-btn--outline,
.dbq-home .dbq-btn--outline:visited { color: var(--dbq-white) !important; }
.dbq-home .dbq-btn--outline:hover   { color: var(--dbq-yellow) !important; }
/*.dbq-home .dbq-btn--outline-light,
.dbq-home .dbq-btn--outline-light:visited { color: var(--dbq-yellow) !important; }*/

.dbq-btn--primary {
	background: var(--dbq-yellow);
	color: var(--dbq-black);
	border-color: var(--dbq-yellow);
}
.dbq-btn--primary:hover {
	background: linear-gradient(135deg, var(--dbq-terracotta), var(--dbq-terracotta-2));
	color: var(--dbq-white);
	border-color: var(--dbq-terracotta);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(192,73,47,.35);
}
.dbq-btn--outline {
	background: transparent;
	color: var(--dbq-white);
	border-color: rgba(255,255,255,.5);
}
.dbq-btn--outline:hover {
	border-color: var(--dbq-yellow);
	color: var(--dbq-yellow);
	transform: translateY(-2px);
}
.dbq-btn--outline-light {
	background: transparent;
	color: var(--dbq-yellow);
	border-color: rgba(233, 162, 60,.4);
}
.dbq-btn--outline-light:hover {
	border-color: var(--dbq-yellow);
	background: rgba(233, 162, 60,.08);
	transform: translateY(-2px);
}
.dbq-btn--lg { padding: 18px 36px; font-size: 16px; }

/* ─── 1. HERO ─────────────────────────────────────────────────────── */
.dbq-hero {
	min-height: 100svh;
	background: var(--dbq-black) center/cover no-repeat;
	display: flex;
	align-items: center;
}
.dbq-hero--slider { --dbq-hero-dur: 6s; }

/* ── HERO слайдер: фонові зображення, плавний crossfade + Ken Burns ── */
.dbq-hero__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}
.dbq-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.1s ease;
	will-change: opacity;
}
.dbq-hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}
.dbq-hero__slide-bg {
	position: absolute;
	inset: 0;
	background: center/cover no-repeat;
	transform: scale(1.02);
}
.dbq-hero__slide.is-active .dbq-hero__slide-bg {
	animation: dbqHeroKen calc(var(--dbq-hero-dur) + 1.2s) ease-out both;
}
@keyframes dbqHeroKen {
	from { transform: scale(1.02); }
	to   { transform: scale(1.13); }
}

/* плавна зміна підзаголовка під слайд */
.dbq-hero__sub {
	transition: opacity .35s ease, transform .35s ease;
}
.dbq-hero__sub.is-swapping {
	opacity: 0;
	transform: translateY(8px);
}

/* індикатор слайдів із заповненням */
.dbq-hero__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 34px;
}
.dbq-hero__dot {
	position: relative;
	width: 46px;
	height: 5px;
	padding: 0;
	border: none !important;
	border-radius: 999px;
	background-color: rgb(233 162 60 / 30%) !important;
	cursor: pointer;
	overflow: hidden;
	transition: background-color .2s ease;
}
.dbq-hero__dot:hover { background-color: rgb(233 162 60 / 45%); }
/* заповнення керується з JS (width + transition) — надійно й передбачувано */
.dbq-hero__dot-fill {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 0;
	border-radius: inherit;
	background: #e9a23c;
}

/* доступність: без анімації для reduced-motion */
@media (prefers-reduced-motion: reduce) {
	.dbq-hero__slide { transition: none; }
	.dbq-hero__slide.is-active .dbq-hero__slide-bg { animation: none; transform: none; }
	.dbq-hero__sub { transition: none; }
}

.dbq-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		160deg,
		rgba(0,0,0,.80) 0%,
		rgba(10,8,6,.70) 50%,
		rgba(90,20,0,.40) 100%
	);
	z-index: 1;
}
.dbq-hero__inner {
	position: relative;
	z-index: 2;
	padding-top: clamp(80px, 12vh, 140px);
	padding-bottom: clamp(60px, 8vh, 120px);
}
.dbq-hero__content { max-width: 780px; }

/* Badges */
.dbq-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}
.dbq-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 16px;
	border-radius: 999px;
	background: rgba(233, 162, 60,.12);
	border: 1px solid rgba(233, 162, 60,.30);
	color: var(--dbq-yellow);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}
.dbq-hero__badge svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* Title */
.dbq-hero__title {
	font-size: clamp(40px, 6vw, 80px);
	font-weight: 900;
	color: var(--dbq-white);
	line-height: 1.05;
	letter-spacing: -1px;
	margin: 0 0 20px;
}
.dbq-hero__title-accent {
	display: block;
	color: var(--dbq-yellow);
}
.dbq-hero__sub {
	font-size: clamp(16px, 2vw, 21px);
	color: rgba(255,255,255,.80);
	line-height: 1.6;
	margin: 0 0 36px;
	max-width: 580px;
}
.dbq-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Scroll hint */
.dbq-hero__scroll-hint {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	opacity: .5;
}
.dbq-hero__scroll-hint span {
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--dbq-yellow);
	animation: dbqScrollDot 1.4s ease infinite;
}
.dbq-hero__scroll-hint span:nth-child(2) { animation-delay: .2s; }
.dbq-hero__scroll-hint span:nth-child(3) { animation-delay: .4s; }
@keyframes dbqScrollDot {
	0%,100% { opacity:.2; transform:translateY(0); }
	50%      { opacity:1;  transform:translateY(4px); }
}

/* ─── 2. ПЕРЕВАГИ ─────────────────────────────────────────────────── */
.dbq-features {
	background: var(--bbq-cream-soft);
	padding: var(--dbq-section-py) 0;
	border-top: 3px solid transparent;
	border-image: linear-gradient(90deg, var(--dbq-red-1), var(--dbq-yellow), var(--dbq-red-2)) 1;
}
/* світла секція — темні заголовки */
.dbq-features .dbq-section-title { color: var(--bbq-brown); }
.dbq-features .dbq-section-sub   { color: #7a6a55; }
.dbq-features__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--dbq-gap);
}
.dbq-feature-card {
	background: #fff;
	border: 1px solid rgba(0,0,0,.06);
	border-radius: var(--dbq-radius);
	padding: clamp(24px, 3vw, 36px);
	box-shadow: 0 4px 18px rgba(0,0,0,.05);
}
.dbq-feature-card__icon {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--dbq-yellow);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	color: var(--bbq-brown);
	box-shadow: 0 6px 16px rgba(233, 162, 60,.30);
}
.dbq-feature-card__icon svg { width: 26px; height: 26px; }
.dbq-feature-card__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--bbq-brown);
	margin: 0 0 10px;
	line-height: 1.5;
}
.dbq-feature-card__text {
	font-size: 14px;
	color: #7a6a55;
	line-height: 1.5;
	margin: 0;
}

/* ─── 3. ПРО НАС ──────────────────────────────────────────────────── */
.dbq-about {
	background: var(--dbq-dark-2);
	padding: var(--dbq-section-py) 0;
}
.dbq-about__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.dbq-about__content { max-width: 540px; }
.dbq-about .dbq-section-title { text-align: left; margin-bottom: 18px; }
.dbq-about__text {
	font-size: clamp(15px, 1.6vw, 17px);
	color: var(--dbq-text);
	line-height: 1.75;
	margin: 0 0 16px;
}
.dbq-about__facts {
	list-style: none;
	margin: 24px 0 32px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.dbq-about__facts li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--dbq-text);
	font-size: 14px;
	line-height: 1.5;
}
.dbq-about__facts li svg { color: var(--dbq-yellow); width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.dbq-about__facts li span { flex: 1; }

/* About image */
.dbq-about__media { position: relative; }
.dbq-about__img-wrap {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
}
.dbq-about__img-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		transparent 40%,
		rgba(0,0,0,.6) 100%
	);
	z-index: 1;
	pointer-events: none;
}
.dbq-about__img {
	width: 100%;
	height: clamp(360px, 50vw, 520px);
	object-fit: cover;
	display: block;
}
.dbq-about__img-badge {
	position: absolute;
	bottom: 20px;
	right: 20px;
	z-index: 2;
	background: rgba(20,18,16,.9);
	border: 1px solid rgba(233, 162, 60,.35);
	border-radius: var(--dbq-radius);
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--dbq-white);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.dbq-about__img-badge svg { color: var(--dbq-yellow); width: 22px; height: 22px; }

/* ─── 4. ТОВАРИ ───────────────────────────────────────────────────── */
.dbq-products {
	background: var(--dbq-black);
	padding: var(--dbq-section-py) 0;
}
/* ══════════════════════════════════════════════════════════════
   СЛАЙДЕР «Хіт продажу» — full-bleed (виходить за контейнер до
   краю viewport), нативний scroll-snap + стрілки на desktop.
   Картки у стилі магазину (світлі, вага + ціна + кругла "+").
   ═══════════════════════════════════════════════════════════════ */

.dbq-products__slider {
	/* відступ від краю viewport до контентної межі контейнера */
	--edge: calc(max((100vw - var(--dbq-container)) / 2, 0px) + clamp(16px, 4vw, 32px));
	position: relative;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;      /* full-bleed: тягнемо до краю viewport */
	margin-bottom: 18px;     /* + 30px нижнього padding треку = зазор до кнопки */
}

/* Трек — горизонтальна прокрутка зі снапом */
.dbq-products__track {
	display: flex;
	gap: clamp(14px, 2vw, 22px);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scroll-padding-inline: var(--edge);
	/* ліве/праве поле = контентна межа контейнера → перша картка під заголовком;
	   вертикальні поля дають простір тіні та підйому картки на hover
	   (overflow-x:auto змушує overflow-y обрізати вміст) */
	padding: 14px var(--edge) 30px;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-width: none;           /* Firefox */
}
.dbq-products__track::-webkit-scrollbar { display: none; }  /* WebKit */

/* ── КАРТКА ── */
.dbq-product-card {
	position: relative;
	flex: 0 0 clamp(216px, 70vw, 250px);
	scroll-snap-align: start;
	background: #fff;
	border: 1px solid rgba(74, 42, 26, .07);
	border-radius: 20px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 6px 22px rgba(74, 42, 26, .07);
	transition: box-shadow .25s ease, transform .25s ease;
}

/* клікабельний оверлей всієї картки (крім кнопок/посилань з z-index) */
.dbq-product-card__overlay-link { position: absolute; inset: 0; z-index: 1; }

/* Фото — вкладене, заокруглене */
.dbq-product-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	overflow: hidden;
	background: #f1e8d9;
}
.dbq-product-card__img-link { display: block; width: 100%; height: 100%; position: relative; z-index: 2; }
.dbq-product-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .45s ease;
}
.dbq-product-card:hover .dbq-product-card__img { transform: scale(1.06); }

/* Placeholder (товар без фото) */
.dbq-product-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #2a1a0a 0%, #4d2c10 60%, #8b3300 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: rgba(233, 162, 60, .5);
}
.dbq-product-card__placeholder svg { width: 40px; height: 40px; }
.dbq-product-card__placeholder span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .55);
}

/* Badge */
.dbq-product-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.dbq-product-card__badge--hot {
	background: linear-gradient(135deg, var(--dbq-terracotta), var(--dbq-terracotta-2));
	color: #fff;
}
.dbq-product-card__badge--sale {
	background: var(--dbq-yellow);
	color: var(--dbq-black);
}

/* Тіло */
.dbq-product-card__body {
	padding: 14px 8px 8px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.dbq-product-card__name {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	min-height: calc(1.35em * 2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.dbq-product-card__name a {
	position: relative;
	z-index: 2;
	color: var(--dbq-brown);
	text-decoration: none;
	transition: color .2s ease;
}
.dbq-product-card__name a:hover { color: var(--dbq-terracotta); }

/* Нижній ряд: ціна/вага + кругла "+" */
.dbq-product-card__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
}
.dbq-product-card__pricebox { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dbq-product-card__weight {
	font-size: 12px;
	color: #8a7c68;
	font-weight: 600;
	line-height: 1;
}
.dbq-product-card__price {
	font-size: 19px;
	font-weight: 800;
	color: var(--dbq-brown);
	letter-spacing: -.3px;
	line-height: 1.1;
}
.dbq-product-card__price ins { text-decoration: none; }
.dbq-product-card__price del { color: #a89a87; font-size: 13px; font-weight: 400; margin-right: 4px; }
.dbq-product-card__price .woocommerce-Price-currencySymbol { font-weight: 700; }

/* Кругла "+" (ajax add-to-cart) */
.dbq-product-card__action { flex: 0 0 auto; position: relative; z-index: 2; }
.dbq-product-card__add.add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 50%;
	background-color: var(--dbq-terracotta);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
	color: transparent;
	font-size: 0;
	cursor: pointer;
	transition: background-color .2s ease, transform .15s ease;
}
.dbq-product-card__add.add_to_cart_button:hover {
	background-color: var(--dbq-terracotta-2);
	transform: scale(1.08);
}
.dbq-product-card__add.add_to_cart_button:active { transform: scale(.96); }
.dbq-product-card__add.add_to_cart_button.loading { opacity: .8; pointer-events: none; }
.dbq-product-card__add.add_to_cart_button.added {
	background-color: #2e7d32;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* Не-ajax кнопка (варіативні/зовнішні товари) → текстова пігулка */
.dbq-product-card__more {
	display: inline-flex;
	align-items: center;
	padding: 11px 16px;
	background: var(--dbq-yellow);
	color: var(--dbq-black);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	border: none;
	border-radius: 8px;
	text-decoration: none;
	white-space: nowrap;
	transition: background .2s ease;
}
.dbq-product-card__more:hover { background: #d4912e; }

/* приховуємо стандартне WooCommerce посилання "переглянути кошик" */
.dbq-products .added_to_cart,
.dbq-product-card .added_to_cart { display: none !important; }

/* ── Стрілки навігації (desktop / tablet) ── */
.dbq-products__arrow {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	z-index: 4;
	display: none;               /* прихована на тач — там свайп */
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: none;
	border-radius: 50%;
	background: #fff;
	color: var(--dbq-brown);
	box-shadow: 0 6px 20px rgba(74, 42, 26, .18);
	cursor: pointer;
	transition: background .2s ease, color .2s ease, transform .15s ease, opacity .2s ease;
}
.dbq-products__arrow svg { width: 22px; height: 22px; }
.dbq-products__arrow:hover {
	background: var(--dbq-terracotta);
	color: #fff;
	transform: translateY(-50%) scale(1.06);
}
.dbq-products__arrow:disabled {
	opacity: 0;
	pointer-events: none;
}
.dbq-products__arrow--prev { left: max(8px, calc(var(--edge) - 56px)); }
.dbq-products__arrow--next { right: max(8px, calc(var(--edge) - 56px)); }

@media (min-width: 768px) and (hover: hover) {
	.dbq-products__arrow { display: inline-flex; }
}

.dbq-products__footer { text-align: center; }

/* ─── 5. КАТЕГОРІЇ ────────────────────────────────────────────────── */
.dbq-categories {
	background: var(--dbq-dark);
	padding: var(--dbq-section-py) 0;
}
.dbq-categories__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--dbq-gap);
}
.dbq-cat-card {
	position: relative;
	aspect-ratio: 3/2;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	display: flex;
	align-items: flex-end;
	background-size: cover;
	background-position: center;
	transition: transform .28s ease, box-shadow .28s ease;
}
.dbq-cat-card:hover { transform: scale(1.03); box-shadow: 0 14px 32px rgba(0,0,0,.55); }
.dbq-cat-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.72) 100%);
	transition: background .28s ease;
}
.dbq-cat-card:hover .dbq-cat-card__overlay {
	background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.80) 100%);
}
.dbq-cat-card__body {
	position: relative;
	z-index: 1;
	padding: 16px 18px;
	width: 100%;
}
.dbq-cat-card__name {
	font-size: clamp(14px, 1.8vw, 18px);
	font-weight: 700;
	color: #fff;
	margin: 0 0 4px;
	line-height: 1.3;
	text-shadow: 0 2px 6px rgba(0,0,0,.6);
	transition: color .2s ease;
}
.dbq-cat-card:hover .dbq-cat-card__name { color: var(--dbq-yellow); }
.dbq-cat-card__count {
	font-size: 12px;
	color: rgba(255,255,255,.65);
	font-weight: 500;
}
/* Bottom accent line on hover */
.dbq-cat-card::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--dbq-red-1), var(--dbq-yellow));
	transition: width .3s ease;
	z-index: 2;
}
.dbq-cat-card:hover::after { width: 100%; }

/* ─── 6. CTA ──────────────────────────────────────────────────────── */
.dbq-cta {
	padding: var(--dbq-section-py) 0;
	background: var(--dbq-dark-2);
	overflow: hidden;
}
.dbq-cta__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(192,67,43,.22), transparent 55%),
		radial-gradient(ellipse at 80% 50%, rgba(233,162,60,.12), transparent 55%);
	pointer-events: none;
}
.dbq-cta__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(28px, 5vw, 72px);
}
.dbq-cta__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 26px;
	max-width: 640px;
}
.dbq-cta__text { max-width: 520px; }

/* Фото майстра — кругле, у рамці з золотим кільцем */
.dbq-cta__photo {
	position: relative;
	flex: 0 0 auto;
}
.dbq-cta__photo::before {
	content: "";
	position: absolute;
	inset: -12px;
	border-radius: 50%;
	border: 2px solid rgba(233, 162, 60, .55);
	pointer-events: none;
}
.dbq-cta__photo img {
	display: block;
	width: clamp(210px, 24vw, 300px);
	height: clamp(210px, 24vw, 300px);
	object-fit: cover;
	object-position: center 20%;
	border-radius: 50%;
	border: 6px solid rgba(255, 255, 255, .92);
	box-shadow: 0 22px 50px rgba(0, 0, 0, .32);
}
.dbq-cta__title {
	font-size: clamp(26px, 4vw, 44px);
	font-weight: 900;
	color: var(--dbq-white);
	margin: 0 0 14px;
	line-height: 1.15;
}
.dbq-cta__sub {
	font-size: clamp(15px, 1.6vw, 18px);
	color: var(--dbq-text);
	line-height: 1.65;
	margin: 0;
}
.dbq-cta__actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	flex: 0 0 auto;
}
.dbq-cta__social {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.dbq-cta__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(233, 162, 60,.35);
	color: var(--dbq-yellow);
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.dbq-cta__social-link:hover {
	transform: translateY(-3px);
	border-color: var(--dbq-yellow);
	background: rgba(233, 162, 60,.08);
}
.dbq-cta__social-link svg { width: 20px; height: 20px; }

/* ─── 7. ВІДГУКИ ──────────────────────────────────────────────────── */
.dbq-reviews {
	background: var(--dbq-black);
	padding: var(--dbq-section-py) 0;
}
.dbq-reviews__widget { max-width: 1100px; margin: 0 auto; }
/* Trustindex override */
.dbq-reviews .ti-widget { background: transparent !important; }

/* ─── 8. КОНТАКТИ ─────────────────────────────────────────────────── */
.dbq-contacts {
	background: var(--dbq-dark);
	padding: 0;
}
.dbq-contacts__top {
	padding-top: var(--dbq-section-py);
	padding-bottom: clamp(40px, 5vw, 64px);
}
.dbq-contacts__grid {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(16px, 2.5vw, 28px);
	justify-content: center;
	align-items: stretch;
}

/* Контакт-картка — іконка-бейдж зверху, по центру */
.dbq-contacts__card {
	flex: 1 1 260px;
	max-width: 360px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 8px;
	background: #fff;
	border: 1px solid rgba(74, 42, 26, .08);
	border-radius: 18px;
	padding: 32px 26px;
	box-shadow: 0 8px 24px rgba(74, 42, 26, .07);
	text-decoration: none;
	transition: transform .22s ease, box-shadow .22s ease;
}
.dbq-contacts__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(74, 42, 26, .13);
}

/* кругла іконка-бейдж */
.dbq-contacts__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: rgba(192, 67, 43, .1);
	color: var(--bbq-terracotta);
	margin-bottom: 6px;
	transition: background .25s ease, color .25s ease, transform .25s ease;
}
.dbq-contacts__icon svg { width: 26px; height: 26px; }
.dbq-contacts__card:hover .dbq-contacts__icon {
	background: var(--bbq-terracotta);
	color: #fff;
	transform: scale(1.06);
}

.dbq-contacts__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #9a8a72;
}
.dbq-contacts__value {
	font-size: clamp(15px, 1.5vw, 18px);
	font-weight: 700;
	color: var(--bbq-brown);
	text-decoration: none;
	line-height: 1.35;
	word-break: break-word;
}
.dbq-contacts__card:hover .dbq-contacts__value { color: var(--bbq-terracotta); }

/* картка соцмереж — статична, реагують лише кружечки */
.dbq-contacts__card--social:hover {
	transform: none;
	box-shadow: 0 8px 24px rgba(74, 42, 26, .07);
}
.dbq-contacts__card--social:hover .dbq-contacts__icon {
	background: rgba(192, 67, 43, .1);
	color: var(--bbq-terracotta);
	transform: none;
}
.dbq-contacts__socials {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 6px;
}
.dbq-contacts__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(192, 67, 43, .28);
	color: var(--bbq-terracotta);
	text-decoration: none;
	transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.dbq-contacts__socials a svg { width: 20px; height: 20px; }
.dbq-contacts__socials a:hover {
	color: #fff;
	background: var(--bbq-terracotta);
	border-color: var(--bbq-terracotta);
	transform: translateY(-2px);
}

.dbq-contacts__map {
	width: 100%;
	border-top: 3px solid transparent;
	border-image: linear-gradient(90deg, var(--dbq-red-2), var(--dbq-yellow), var(--dbq-red-1)) 1;
}
.dbq-contacts__map > * { display: block !important; width: 100% !important; }
/* Elfsight map container */
.dbq-contacts__map .elfsight-widget-google-maps,
.dbq-contacts__map iframe {
	min-height: 450px;
	width: 100% !important;
}

/* ═══════════════════════════════════════════════════════════════
   АДАПТИВ
   ═══════════════════════════════════════════════════════════════ */

/* 1440+ → без змін (базовий desktop) */

/* 1024–1439 */
@media (max-width: 1280px) {
	.dbq-categories__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet 768–1023 */
@media (max-width: 1024px) {
	.dbq-hero { min-height: 90svh; }
	.dbq-features__grid   { grid-template-columns: repeat(2, 1fr); }
	.dbq-categories__grid { grid-template-columns: repeat(2, 1fr); }
	.dbq-about__inner     { grid-template-columns: 1fr; gap: 32px; }
	.dbq-about__content   { max-width: 100%; }
	.dbq-about__img       { height: 360px; }
	.dbq-cta__inner {
		flex-direction: column-reverse;   /* фото зверху, контент нижче */
		align-items: center;
		text-align: center;
	}
	.dbq-cta__content { align-items: center; max-width: 100%; }
	.dbq-cta__text    { max-width: 100%; }
	.dbq-cta__actions { justify-content: center; }
}

/* Mobile 414–767 */
@media (max-width: 767px) {
	:root { --dbq-section-py: clamp(48px, 10vw, 72px); }
	.dbq-hero { min-height: 85svh; }
	.dbq-hero__title { font-size: clamp(32px, 9vw, 52px); letter-spacing: -.5px; }
	.dbq-hero__cta { flex-direction: column; }
	.dbq-hero__cta .dbq-btn { width: 100%; justify-content: center; }
	.dbq-features__grid   { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.dbq-categories__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.dbq-cta__inner       { flex-direction: column-reverse; }
	.dbq-cta__actions     { width: 100%; }
	.dbq-cta__actions .dbq-btn { width: 100%; justify-content: center; }
	.dbq-contacts__grid   { flex-direction: column; align-items: center; }
}

/* Переваги → одна колонка на вузьких екранах */
@media (max-width: 500px) {
	.dbq-features__grid { grid-template-columns: 1fr; }
}

/* Mobile 375 */
@media (max-width: 414px) {
	.dbq-hero__badges     { gap: 7px; }
	.dbq-hero__badge      { font-size: 11px; padding: 5px 12px; }
	.dbq-feature-card     { padding: 20px; }
	.dbq-about__img       { height: 280px; }
	.dbq-about__img-badge { font-size: 11px; padding: 10px 12px; }
}

/* Компактніший hero-текст і бейджі на телефонах */
@media (max-width: 480px) {
	.dbq-hero__title { font-size: clamp(28px, 12vw, 37px); letter-spacing: -.4px; line-height: 1.08; }
	.dbq-hero__sub   { font-size: 14px; margin-bottom: 24px; }
	.dbq-hero__badges { gap: 7px; margin-bottom: 20px; }
	.dbq-hero__badge  { font-size: 10.5px; padding: 5px 11px; }
	.dbq-hero__badge svg { width: 13px; height: 13px; }
}

/* Small 320 */
@media (max-width: 360px) {
	.dbq-hero { min-height: 80svh; }
	.dbq-categories__grid { grid-template-columns: 1fr; }
}

/* Large screens 1920+ */
@media (min-width: 1920px) {
	:root { --dbq-container: 1600px; }
	.dbq-categories__grid { grid-template-columns: repeat(5, 1fr); }
	.dbq-features__grid   { grid-template-columns: repeat(4, 1fr); }
}

/* ── НИЗЬКІ ЕКРАНИ ПО ВИСОТІ — hero має влазити повністю ──
   Стискаємо відступи/марджини (розміщено після width-медіа, тож
   виграє, коли екран одночасно вузький і низький). */
@media (max-height: 820px) {
	.dbq-hero__inner {
		padding-top: clamp(0px, 0vh, 64px);
		padding-bottom: clamp(20px, 7vh, 56px);
	}
	.dbq-hero__badges { margin-bottom: 18px; }
	.dbq-hero__title  { margin-bottom: 14px; }
	.dbq-hero__sub    { margin-bottom: 22px; }
	.dbq-hero__nav    { margin-top: 22px; }
}
@media (max-height: 680px) {
	.dbq-hero__inner {
		padding-top: 14px;
		padding-bottom: 14px;
	}
	.dbq-hero__title  { font-size: clamp(28px, 7vh, 56px); line-height: 1.03; }
	.dbq-hero__badges { margin-bottom: 12px; }
	.dbq-hero__sub    { margin-bottom: 16px; font-size: clamp(14px, 3.4vh, 18px); }
	.dbq-hero__nav    { margin-top: 16px; }
	.dbq-hero__scroll-hint { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   СВІТЛІ / КОЛЬОРОВІ СЕКЦІЇ — розбиваємо «суцільну темність».
   Ритм: Hero(dark) → Переваги(крем) → Про нас(dark) → Товари(крем)
       → Категорії(dark+яскраві картки) → CTA(теракота) → Відгуки(крем) → Контакти(dark)
   ═══════════════════════════════════════════════════════════════ */

/* ── Товари + Відгуки → світлий крем (темні картки добре читаються) ── */
.dbq-products,
.dbq-reviews {
	background: var(--bbq-cream-soft);
}
.dbq-products .dbq-section-title,
.dbq-reviews .dbq-section-title { color: var(--bbq-brown); }
.dbq-products .dbq-section-sub,
.dbq-reviews .dbq-section-sub { color: #7a6a55; }

/* кнопка під товарами на кремі — теракотова, не золота-на-кремі */
.dbq-products .dbq-btn--outline-light {
	background: var(--bbq-gold) !important;
	color: var(--bbq-dark) !important;
	border-color: var(--bbq-gold) !important;
}
.dbq-products .dbq-btn--outline-light:hover {
	background: #d4912e !important;
	color: var(--bbq-dark) !important;
	border-color: #d4912e !important;
	transform: translateY(-2px);
}

/* обгортка віджета відгуків на кремі — легка панель */
.dbq-reviews .dbq-reviews__widget {
	background: #fff;
	border-radius: 12px;
	padding: clamp(16px, 3vw, 32px);
	box-shadow: 0 8px 28px rgba(74,42,26,.08);
}

/* ── CTA → теплий теракотовий акцент-блок (колір, не темрява) ── */
.dbq-cta {
	background: linear-gradient(135deg, #b8412a 0%, #8f3220 100%);
}
.dbq-cta__bg {
	background:
		radial-gradient(ellipse at 80% 25%, rgba(233,162,60,.28), transparent 60%),
		radial-gradient(ellipse at 12% 85%, rgba(0,0,0,.22), transparent 55%);
}
.dbq-cta__title { color: #fff; }
.dbq-cta__sub   { color: rgba(255,255,255,.90); }
/* primary (телефон) на теракоті — золота, hover білий */
.dbq-cta .dbq-btn--lg { padding: 14px 28px; font-size: 15px; }
.dbq-cta .dbq-btn--primary {
	background: var(--bbq-gold);
	color: #2a1a10 !important;
	border-color: var(--bbq-gold);
}
.dbq-cta .dbq-btn--primary:hover {
	background: #fff;
	color: #2a1a10 !important;
	border-color: #fff;
}
/* outline (перейти до меню) на теракоті — біла */
.dbq-cta .dbq-btn--outline {
	color: #fff !important;
	border-color: rgba(255,255,255,.6);
}
.dbq-cta .dbq-btn--outline:hover {
	color: #fff !important;
	border-color: #fff;
	background: rgba(255,255,255,.14);
}
/* соцмережі на теракоті — білі */
.dbq-cta .dbq-cta__social-link {
	border-color: rgba(255,255,255,.5);
	color: #fff;
}
.dbq-cta .dbq-cta__social-link:hover {
	border-color: #fff;
	background: rgba(255,255,255,.14);
	transform: translateY(-3px);
}

/* ── Категорії: трохи тепліший фон секції (менш «чорно») ── */
.dbq-categories {
	background: var(--bbq-dark-3);
}


/* ── Інфо про доставку (контакти) ── */
.dbq-delivery-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	max-width: 760px;
	margin: 8px auto 0;
	padding: 16px 24px;
	background: rgba(192, 67, 43, .10);
	border: 1px solid rgba(192, 67, 43, .30);
	border-radius: 10px;
	color: var(--dbq-text);
	font-size: clamp(14px, 1.6vw, 16px);
	line-height: 1.5;
	text-align: center;
}
.dbq-delivery-note svg {
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
	color: var(--bbq-gold);
}
.dbq-delivery-note strong { color: var(--dbq-white); font-weight: 700; }
@media (max-width: 600px) {
	.dbq-delivery-note { flex-direction: column; gap: 8px; padding: 14px 18px; }
}


/* ═══════════════════════════════════════════════════════════════
   КОНТАКТИ — світла секція (картки на кремі) + карта
   ═══════════════════════════════════════════════════════════════ */
.dbq-contacts { background: var(--bbq-cream-soft); }
.dbq-contacts .dbq-section-title { color: var(--bbq-brown); }
.dbq-contacts .dbq-section-sub   { color: #7a6a55; }

/* контакт-картки стилізовані вище (єдиний світлий дизайн) */

/* delivery note — світлий варіант + відступ */
.dbq-contacts .dbq-delivery-note {
	margin: clamp(28px, 4vw, 44px) auto 0;
	background: rgba(192, 67, 43, .07);
	border: 1px solid rgba(192, 67, 43, .28);
	color: #5c4a38;
}
.dbq-contacts .dbq-delivery-note svg { color: var(--bbq-terracotta); }
.dbq-contacts .dbq-delivery-note strong { color: var(--bbq-terracotta); }

/* карта — у контейнері, рамка, заокруглення, відступи */
.dbq-contacts__map {
	margin-top: clamp(32px, 5vw, 56px);
	margin-bottom: clamp(40px, 6vw, 72px);
	border: 1px solid rgba(74, 42, 26, .14);
	border-image: none;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 14px 40px rgba(74, 42, 26, .14);
}
.dbq-contacts__map iframe { display: block; width: 100%; min-height: 460px; }


/* ── Дрібні мобільні правки ── */
@media (max-width: 767px) {
	.dbq-contacts__card {
		width: 100%;
		max-width: 440px;
	}
}
