/* ==========================================================================
   Weekend Club — кастомна головна (блоки під відео-банером)
   Класи з префіксом .wl- щоб не конфліктувати з темою amica.
   ========================================================================== */

.wl-home {
	--wl-ink: #0f0f11;
	--wl-muted: #8c887f;
	--wl-bg: #ffffff;
	--wl-tile: #f2f0ec;
	--wl-tile-2: #eae7e1;
	--wl-line: rgba(15, 15, 17, .14);
	--wl-line-soft: rgba(15, 15, 17, .08);
	--wl-sale: #c14b3a;
	color: var(--wl-ink);
	background: var(--wl-bg);
}

.wl-home * { box-sizing: border-box; }
.wl-home img { max-width: 100%; display: block; }

/* ── Категорії ────────────────────────────────────────────────────────── */
.wl-cats { margin-top: 2px; }
.wl-cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.wl-cat { position: relative; text-decoration: none; color: inherit; display: block; }
.wl-cat__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(180deg, var(--wl-tile), var(--wl-tile-2)); }
.wl-cat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.wl-cat:hover .wl-cat__media img { transform: scale(1.04); }
.wl-cat__row { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px 22px; gap: 12px; }
.wl-cat__name { font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.wl-cat__go { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--wl-muted); opacity: 0; transform: translateX(-4px); transition: .25s; white-space: nowrap; }
.wl-cat:hover .wl-cat__go { opacity: 1; transform: translateX(0); }
.wl-cats__rule { height: 1px; background: var(--wl-line); margin: 0 16px; }

/* ── 4 обрані товари (сітка 4 в ряд) ──────────────────────────────────── */
.wl-featured { margin-top: 2px; }
.wl-featured__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }

/* ── Секція товарів + слайдер ─────────────────────────────────────────── */
.wl-sec { padding: 0 clamp(16px, 3.2vw, 50px); }
.wl-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 30px 0 18px; }
.wl-sec-head__title { font-size: clamp(18px, 2.1vw, 24px); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin: 0; }
.wl-sec-head__more { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--wl-ink); text-decoration: none; border-bottom: 1px solid var(--wl-ink); padding-bottom: 3px; white-space: nowrap; }
.wl-sec-head__more:hover { opacity: .6; }

.wl-prod-slider { display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.wl-prod-slider::-webkit-scrollbar { display: none; }

.wl-prod { flex: 0 0 calc((100% - 6px) / 4); scroll-snap-align: start; }
.wl-prod__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(180deg, var(--wl-tile), var(--wl-tile-2)); }
.wl-prod__link { position: absolute; inset: 0; display: block; }
.wl-prod__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.wl-prod:hover .wl-prod__img { transform: scale(1.04); }
.wl-prod__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--wl-ink); color: var(--wl-bg); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; }
.wl-prod__fav { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: none; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--wl-ink); z-index: 3; padding: 0; }
.wl-prod__fav svg { width: 20px; height: 20px; }
.wl-prod__fav:hover { opacity: .55; }
.wl-prod__info { padding: 14px 2px 18px; display: flex; flex-direction: column; gap: 8px; }
.wl-prod__name { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--wl-ink); text-decoration: none; }
.wl-prod__name:hover { opacity: .6; }
.wl-prod__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--wl-ink); font-variant-numeric: tabular-nums; }
.wl-prod__price-old { color: var(--wl-muted); text-decoration: line-through; font-size: 12px; }
.wl-prod__price-off { color: var(--wl-sale); font-size: 12px; }

.wl-slider__controls { display: flex; justify-content: flex-end; gap: 22px; padding: 10px 0 2px; }
.wl-slider__arrow { width: 36px; height: 36px; border: none; background: transparent; color: var(--wl-ink); cursor: pointer; font-size: 20px; line-height: 1; display: grid; place-items: center; transition: .2s; padding: 0; }
.wl-slider__arrow:hover { opacity: .45; }

/* ── Великі банери ────────────────────────────────────────────────────── */
.wl-promo { position: relative; width: 100%; height: 76vh; min-height: 460px; margin-top: 2px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; background: linear-gradient(140deg, #d8c9ad, #8d7c67); }
.wl-promo__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wl-promo__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .12) 45%, rgba(0, 0, 0, 0) 75%); z-index: 1; }
.wl-promo__content { position: relative; z-index: 2; color: #fff; padding: clamp(24px, 4vw, 60px); text-decoration: none; display: block; text-align: center; max-width: 620px; }
.wl-promo__title { display: block; font-size: clamp(26px, 3.6vw, 44px); font-weight: 300; letter-spacing: .01em; margin: 0 0 22px; text-wrap: balance; text-shadow: 0 1px 20px rgba(0, 0, 0, .25); }
.wl-promo--right .wl-promo__content { text-align: center; }

/* Кнопка на всіх банерах — той самий стиль, що на відео-банері (.banner__link) */
.wl-home .banner__link { display: inline-block; color: #fff; text-decoration: none; }
.wl-home .banner__link:hover { background-color: rgba(0, 0, 0, .3); }

/* ── Два банери в колонки ─────────────────────────────────────────────── */
.wl-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 2px; }
.wl-duo__item { position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; text-decoration: none; background: linear-gradient(160deg, #d8c9ad, #a98f6f); }
.wl-duo__item--video { background: linear-gradient(160deg, #3a3a3c, #1c1c1e); }
.wl-duo__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wl-duo__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .12) 45%, rgba(0, 0, 0, 0) 75%); z-index: 1; }
.wl-duo__content { position: relative; z-index: 2; color: #fff; padding: clamp(20px, 3vw, 44px); text-align: center; }
.wl-duo__title { display: block; font-size: clamp(20px, 2.4vw, 30px); font-weight: 300; margin: 0 0 18px; text-shadow: 0 1px 16px rgba(0, 0, 0, .3); }

/* ── Instagram ────────────────────────────────────────────────────────── */
.wl-insta { margin-top: 34px; }
.wl-insta__head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 clamp(16px, 3.2vw, 50px) 28px; text-align: center; }
.wl-insta__eyebrow { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--wl-muted); }
.wl-insta__name { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(23px, 3.4vw, 38px); font-weight: 300; letter-spacing: .01em; color: var(--wl-ink); text-decoration: none; transition: opacity .2s; }
.wl-insta__name svg { width: clamp(22px, 2.4vw, 30px); height: clamp(22px, 2.4vw, 30px); flex: none; }
.wl-insta__name:hover { opacity: .55; }
.wl-insta__controls { position: absolute; right: clamp(16px, 3.2vw, 50px); top: 50%; transform: translateY(-50%); display: flex; gap: 22px; }
.wl-insta-slider { display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.wl-insta-slider::-webkit-scrollbar { display: none; }
.wl-insta__item { position: relative; flex: 0 0 calc((100% - 6px) / 4); aspect-ratio: 1 / 1; scroll-snap-align: start; overflow: hidden; display: block; background: linear-gradient(180deg, var(--wl-tile), var(--wl-tile-2)); }
.wl-insta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.wl-insta__item:hover .wl-insta__img { transform: scale(1.05); }
.wl-insta__item::after { content: ""; position: absolute; inset: 0; background: rgba(15, 15, 17, 0); transition: background .3s; }
.wl-insta__item:hover::after { background: rgba(15, 15, 17, .3); }
.wl-insta__glyph { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.9); z-index: 2; color: #fff; opacity: 0; transition: .3s; }
.wl-insta__glyph svg { width: 30px; height: 30px; }
.wl-insta__item:hover .wl-insta__glyph { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ── Адаптив ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
	.wl-prod { flex-basis: calc((100% - 4px) / 3); }
}
@media (max-width: 900px) {
	.wl-cats__grid { grid-template-columns: repeat(2, 1fr); }
	.wl-featured__grid { grid-template-columns: repeat(2, 1fr); }
	.wl-cat__go { display: none; }
	.wl-sec-head { padding: 24px 0 14px; }
	.wl-prod { flex-basis: 60%; }
	.wl-promo { height: 85vh; margin-top: 2px; }
	.wl-insta { margin-top: 28px; }
	.wl-insta__item { flex-basis: calc((100% - 2px) / 2); }
	.wl-insta__controls { display: none; }
}
@media (max-width: 760px) {
	.wl-duo { grid-template-columns: 1fr; }
	.wl-duo__item { aspect-ratio: 2 / 3; }
}
@media (max-width: 480px) {
	.wl-cat__row { padding: 12px 12px 20px; }
	.wl-sec-head__title { font-size: 17px; }
	.wl-prod { flex-basis: 72%; }
	.wl-insta__item { flex-basis: 78%; }
}
@media (prefers-reduced-motion: reduce) {
	.wl-cat__media img, .wl-prod__img, .wl-insta__img, .wl-cat__go { transition: none; }
	.wl-prod-slider, .wl-insta-slider { scroll-behavior: auto; }
}
