/*
 * Page — Home (front page)
 * Styles specific to the homepage only.
 * Loaded via enqueue_page_assets() when is_front_page() === true.
 */

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    height: 730px;
    background: #0a0a0a;
    overflow: hidden;
}

.hero__slides {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.hero__slide.is-active {
    opacity: 1;
}

/* Background texture — full cover, dimmed */
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
}

/* Product photo — right side */
.hero__img {
    position: absolute;
    right: 5%;
    top: 0;
    width: 50%;
    height: 100%;
    object-fit: contain;
    object-position: right top;
    display: block;
}

.hero__content {
    position: absolute;
    top: 134px;
    left: 11%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    max-width: 700px;
    z-index: 1;
}

/* Text group: badge + title + subtitle */
.hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

/* Badge — plain text, no background */
.hero__badge {
    font-size: 16px;
    font-weight: var(--fw-light);
    line-height: 1.4;
    color: #fb8734;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero__title {
    font-size: 96px;
    font-weight: var(--fw-semibold);
    line-height: 0.9;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin: 0;
}

.hero__subtitle {
    font-size: 18px;
    font-weight: var(--fw-light);
    line-height: 1.4;
    color: var(--color-white);
    opacity: 0.8;
    max-width: 450px;
    margin: 0;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 70px;
    padding: 0 26px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--color-white);
    font-size: 16px;
    font-weight: var(--fw-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color var(--transition), background var(--transition);
}

.hero__btn:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
}

.hero__btn svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity var(--transition), transform var(--transition);
}

.hero__btn:hover svg {
    opacity: 1;
    transform: translateX(3px);
}

.hero__dots-wrap {
    position: absolute;
    bottom: 71px;
    left: 11%;
    z-index: 2;
}

.hero__dots {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
}

.hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition);
}

.hero__dot.is-active {
    background: var(--color-white);
    transform: scale(1.375);
}

.hero__dot:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.6);
}

/* ── Hero — Tablet (768–1199px) ────────────────────────────────────── */
@media (max-width: 1199px) {
    .hero { height: 580px; }
    .hero__content { top: 90px; left: 7%; gap: 20px; max-width: 520px; }
    .hero__text { gap: 20px; }
    .hero__title { font-size: 64px; }
    .hero__subtitle { font-size: 16px; }
    .hero__img { width: 55%; right: 3%; }
    .hero__btn { height: 58px; font-size: 14px; }
    .hero__dots-wrap { left: 7%; bottom: 40px; }
}

/* ── Hero — Mobile (≤ 767px) ──────────────────────────────────────── */
@media (max-width: 767px) {
    .hero {
        height: auto;
        padding-bottom: 56px;
    }

    .hero__slides {
        position: relative;
        inset: unset;
        height: auto;
        overflow: hidden;
    }

    .hero__slide {
        position: relative;
        inset: unset;
        display: none;
        flex-direction: column;
        align-items: center;
        opacity: 1;
        overflow: hidden;
        width: 100%;
    }

    .hero__slide.is-active {
        display: flex;
        opacity: 1;
    }

    /* Background — absolute relative to .hero__slide (overflow: hidden clips it) */
    .hero__bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
    }

    /* Product photo — full width on top */
    .hero__img {
        position: relative;
        right: unset;
        top: unset;
        width: 100%;
        max-width: 100%;
        height: 276px;
        object-fit: contain;
        object-position: center top;
        order: -1;
        z-index: 1;
    }

    /* Content area — centered */
    .hero__content {
        position: relative;
        top: unset;
        left: unset;
        max-width: 100%;
        width: 100%;
        padding: 32px 24px 0;
        gap: 24px;
        align-items: center;
        text-align: center;
        z-index: 1;
    }

    /* Text group — tighter gap on mobile */
    .hero__text {
        align-items: center;
        gap: 16px;
        width: 100%;
    }

    /* Mobile badge — smaller, same orange text */
    .hero__badge {
        font-size: 12px;
        letter-spacing: 0.04em;
    }

    .hero__title {
        font-size: 24px;
        font-weight: var(--fw-medium);
        letter-spacing: 0;
        line-height: 0.9;
    }

    .hero__subtitle {
        font-size: 14px;
        max-width: 100%;
        line-height: 1.4;
    }

    .hero__btn {
        height: 50px;
        padding: 0 26px;
        font-size: 14px;
        gap: 8px;
    }

    .hero__dots-wrap {
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ════════════════════════════════════════════════════════════
   New Arrivals section
   ════════════════════════════════════════════════════════════ */
.new-arrivals {
    padding: 100px 0 50px;
    background: var(--color-white);
}

.new-arrivals__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.new-arrivals__label {
    display: inline-flex;
    align-items: center;
    padding: 0 6px;
    background: var(--color-red);
    color: var(--color-white);
    font-size: 24px;
    font-weight: var(--fw-semibold);
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.new-arrivals__nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.new-arrivals__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    transition: opacity var(--transition);
}

.new-arrivals__arrow:hover { opacity: 0.5; }
.new-arrivals__arrow.slick-disabled { opacity: 0.25; cursor: default; pointer-events: none; }

/* Slick — gap 10px між картками */
.new-arrivals__track .slick-list  { margin: 0 -5px; overflow: hidden; }
.new-arrivals__track .slick-slide { margin: 0 5px; height: auto; }
.new-arrivals__track .slick-track { display: flex; }

/* Mobile CTA block — видимий за замовчуванням, прихований на desktop */
.new-arrivals__cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.new-arrivals__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 47px;
    padding: 0 16px;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    font-size: 16px;
    font-weight: var(--fw-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
}

.new-arrivals__cta-btn:hover {
    background: var(--color-text);
    color: var(--color-white);
}

.new-arrivals__cta-btn:hover svg { color: var(--color-white); }

/* Product card — styles moved to main.css */

/* ── New Arrivals / Product Card — Tablet (768–1199px) ───────── */
@media (max-width: 1199px) {
    .new-arrivals { padding: 70px 0 35px; }
    .new-arrivals__label { font-size: 20px; }
}

/* ── New Arrivals / Product Card — Mobile (≤ 767px) ──────────── */
@media (max-width: 767px) {
    .new-arrivals {
        padding: 40px 0 20px;
    }

    .new-arrivals__header {
        margin-bottom: 24px;
    }

    .new-arrivals__label {
        font-size: 16px;
        font-weight: var(--fw-medium);
        letter-spacing: 0.05em;
    }

    /* CTA button — mobile: 220px, 50px, 14px */
    .new-arrivals__cta-btn {
        width: 220px;
        justify-content: center;
        height: 50px;
        font-size: 14px;
        letter-spacing: 0.08em; /* 1.12px at 14px */
    }

    /* Product card mobile — styles moved to main.css */
}

/* ════════════════════════════════════════════════════════════
   Instagram section
   ════════════════════════════════════════════════════════════ */
.instagram {
    background: var(--color-white);
}

/* Header — іконка + текст (лінк) */
.instagram__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px 40px;
    text-decoration: none;
    color: var(--color-dark);
    transition: opacity var(--transition);
}

.instagram__header:hover { opacity: 0.75; }

.instagram__icon {
    display: flex;
    flex-shrink: 0;
    line-height: 0;
}

.instagram__title {
    font-size: 24px;
    font-weight: var(--fw-semibold);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-dark);
}

/* Grid — 4 cols × 2 rows, full-width */
.instagram__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.instagram__post {
    display: block;
    position: relative;
    height: 553px;
    overflow: hidden;
    background: #f0f0f0;
}

.instagram__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.instagram__post:hover .instagram__img {
    transform: scale(1.04);
}

/* ── Instagram — Tablet (768–1199px) ───────────────────────── */
@media (max-width: 1199px) {
    .instagram__post { height: 380px; }
}

/* ── Instagram — Mobile (≤ 767px) ──────────────────────────── */
@media (max-width: 767px) {
    .instagram__header {
        flex-direction: column;
        gap: 8px;
        padding: 40px 24px 24px;
        text-align: center;
    }

    .instagram__icon svg { width: 36px; height: 36px; }

    .instagram__title { font-size: 20px; }

    /* 3 cols × 2 rows = 6 постів */
    .instagram__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .instagram__post {
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

/* ════════════════════════════════════════════════════════════
   Reviews section
   ════════════════════════════════════════════════════════════ */
.reviews {
    padding: 90px 0 60px;
    background: #f5f6f5;
}

/* ── Header ─────────────────────────────────────────────────── */
.reviews__header {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 60px;
}

.reviews__title {
    flex: 1;
    font-size: 24px;
    font-weight: var(--fw-semibold);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    color: var(--color-dark);
    margin: 0;
}

.reviews__nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.reviews__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    padding: 0;
    transition: opacity var(--transition);
}

.reviews__arrow:hover { opacity: 0.5; }
.reviews__arrow.slick-disabled { opacity: 0.25; cursor: default; pointer-events: none; }

/* ── Slick gap 10px ─────────────────────────────────────────── */
.reviews__track .slick-list  { margin: 0 -5px; overflow: hidden; }
.reviews__track .slick-slide { margin: 0 5px; height: auto; }
.reviews__track .slick-track { display: flex; align-items: stretch; }

/* Остання видима карточка — затемнена (як у Figma 245-1499) */
.reviews__track .slick-slide.is-last-active {
    opacity: 0.5;
}

/* ── Review card ─────────────────────────────────────────────── */
.review-card {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 16px;
    background: rgba(255, 255, 255, 0.8);
    height: 100%;
    width: 365px;  /* точна ширина — Figma 367.5px */
}

/* Product image */
.review-card__img-wrap {
    display: block;
    height: 187px;
    overflow: hidden;
    background: var(--color-white);
    flex-shrink: 0;
}

.review-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Body */
.review-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
    flex: 1;
}

/* Stars */
.review-card__stars {
    display: flex;
    gap: 4px;
    align-items: center;
}

.review-card__star {
    display: flex;
    color: #d1d1d1;
    line-height: 0;
}

.review-card__star.is-filled {
    color: var(--color-dark);
}

/* Text */
.review-card__text {
    font-size: 16px;
    font-weight: var(--fw-light);
    line-height: 1.4;
    text-align: center;
    color: var(--color-dark);
    margin: 0;
}

/* Author */
.review-card__author {
    font-size: 16px;
    font-weight: var(--fw-medium);
    line-height: 1.4;
    color: var(--color-dark);
    margin: 0;
}

/* CTA — текст + 20px лінія під ним */
.review-card__cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: var(--fw-medium);
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--color-dark);
    margin-top: auto;
    transition: opacity var(--transition);
}

.review-card__cta::after {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
}

.review-card__cta:hover { opacity: 0.6; }

/* ── Reviews — Tablet (768–1199px) ─────────────────────────── */
@media (max-width: 1199px) {
    .reviews { padding: 60px 0 40px; }
    .reviews__header { margin-bottom: 40px; }
}

/* ── Reviews — Mobile (≤ 767px) ─────────────────────────────── */
@media (max-width: 767px) {
    .reviews { padding: 40px 0 32px; }

    .reviews__header {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-bottom: 24px;
    }

    .reviews__title {
        font-size: 16px;
        letter-spacing: 0.8px;
        text-align: center;
    }

    .reviews__nav {
        display: flex;
        justify-content: center;
    }

    /* На мобайлі затемнення не потрібне */
    .reviews__track .slick-slide.is-last-active { opacity: 1; }

    .review-card { width: 165px; }
    .review-card__img-wrap { height: 120px; }
    .review-card__text { font-size: 12px; }
    .review-card__author { font-size: 12px; }
    .review-card__star svg { width: 16px; height: 16px; }
    .review-card__stars { gap: 2px; }
    .review-card__cta { font-size: 12px; }
}

/* ════════════════════════════════════════════════════════════
   Banners section
   ════════════════════════════════════════════════════════════ */
.banners {
    padding: 40px 0;
}

/* На мобільному — прибрати padding контейнера, щоб банери йшли від краю */
@media (max-width: 767px) {
    .banners .container {
        padding-inline: 0;
    }
}

.banners__list {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

/* Individual banner */
.banner {
    position: relative;
    flex: 1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: var(--color-white);
}

/* Background image + gradient overlay via ::after */
.banner__bg {
    position: absolute;
    inset: 0;
}

.banner__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.banner__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.banner:hover .banner__bg-img {
    transform: scale(1.04);
}

/* Content block — bottom-left */
.banner__content {
    position: absolute;
    bottom: 60px;
    left: 70px;
    width: calc(100% - 140px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    z-index: 1;
}

/* Optional product image */
.banner__product-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Badge / eyebrow — варіант 1: заливка (дефолт) */
.banner__badge {
    display: inline-block;
    padding: 0 3px;
    background: var(--color-dark);
    color: var(--color-white);
    font-size: 16px;
    font-weight: var(--fw-bold);
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Badge — варіант 2: plain text (без фону, Regular) */
.banner__badge--plain {
    background: none;
    padding: 0;
    font-weight: var(--fw-regular);
    letter-spacing: 0.05em;
}

/* Title */
.banner__title {
    font-size: 48px;
    font-weight: var(--fw-light);
    line-height: 1.2;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0;
}

/* Body text */
.banner__text {
    font-size: 16px;
    font-weight: var(--fw-light);
    line-height: 1.4;
    color: var(--color-white);
    margin: 0;
    opacity: 0.9;
}

/* CTA button */
.banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 70px;
    padding: 0 26px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--color-white);
    font-size: 16px;
    font-weight: var(--fw-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: border-color var(--transition), background var(--transition);
}

.banner:hover .banner__btn {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
}

.banner__btn svg {
    opacity: 0.7;
    flex-shrink: 0;
    transition: transform var(--transition), opacity var(--transition);
}

.banner:hover .banner__btn svg {
    opacity: 1;
    transform: translateX(3px);
}

/* ── Banners — Tablet large (1024–1199px) ───────────────────── */
@media (max-width: 1199px) {
    .banners { padding: 28px 0; }
    .banner__content { left: 40px; width: calc(100% - 80px); gap: 16px; bottom: 40px; }
    .banner__badge   { font-size: 13px; }
    .banner__title   { font-size: 30px; line-height: 1.15; }
    .banner__text    { font-size: 14px; }
    .banner__product-img { width: 120px; height: 120px; }
    .banner__btn     { height: 54px; padding: 0 20px; font-size: 13px; }
}

/* ── Banners — Tablet small (768–1023px) ────────────────────── */
@media (max-width: 1023px) {
    .banner__content { left: 28px; width: calc(100% - 56px); gap: 12px; bottom: 32px; }
    .banner__title   { font-size: 22px; line-height: 1.15; }
    .banner__text    { font-size: 13px; }
    .banner__product-img { width: 90px; height: 90px; }
    .banner__btn     { height: 46px; padding: 0 16px; font-size: 12px; }
}

/* ── Banners — Mobile (≤ 767px) ─────────────────────────────── */
@media (max-width: 767px) {
    .banners { padding: 20px 0; }

    .banners__list {
        flex-direction: column;
    }

    .banner {
        aspect-ratio: 375 / 445;
    }

    .banner__content {
        bottom: 32px;
        left: 24px;
        width: calc(100% - 48px);
        gap: 16px;
    }

    .banner__product-img {
        width: 82px;
        height: 82px;
    }

    .banner__badge {
        font-size: 14px;
        font-weight: var(--fw-semibold);
        letter-spacing: 0.05em;
    }

    .banner__title {
        font-size: 24px;
        line-height: 1.2;
    }

    .banner__text { font-size: 14px; }

    .banner__btn {
        height: 50px;
        font-size: 14px;
        letter-spacing: 0.08em;
    }

    /* Disable image zoom on touch */
    .banner:hover .banner__bg-img { transform: none; }
}

/* ════════════════════════════════════════════════════════════
   Categories section
   ════════════════════════════════════════════════════════════ */
.categories {
    padding: 50px 0;
    background: #f5f5f5;
}

.categories__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.categories__title {
    font-size: 24px;
    font-weight: var(--fw-semibold);
    line-height: 1.4;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.categories__nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.categories__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    transition: opacity var(--transition);
}

.categories__arrow:hover { opacity: 0.5; }
.categories__arrow.slick-disabled { opacity: 0.25; cursor: default; pointer-events: none; }

/* Slick — gap 10px між картками, вирівнювання зліва */
.categories__track .slick-list  { margin: 0 -5px; overflow: hidden; }
.categories__track .slick-slide { margin: 0 5px; }
.categories__track .slick-track { display: flex; margin-left: 0; margin-right: auto; }

/* ── Category card ─────────────────────────────────────────── */
.cat-card {
    position: relative;
    display: block;
    height: 420px;
    overflow: hidden;
    text-decoration: none;
    background: var(--color-white);
}

/* Фонове зображення — масштабується при hover */
.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--cat-bg);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 0;
}

.cat-card:hover::before {
    transform: scale(1.04);
}

/* Градієнт */
.cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Label — Figma: top: 337px, left: 50%, translateX(-50%) */
.cat-card__label {
    position: absolute;
    top: 337px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 1px solid var(--color-white);
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background var(--transition);
}

.cat-card:hover .cat-card__label {
    background: rgba(255, 255, 255, 0.15);
}

.cat-card__label span {
    font-size: 18px;
    font-weight: var(--fw-regular);
    line-height: normal;
    color: var(--color-white);
}

/* ── Categories — Tablet (768–1199px) ──────────────────────── */
@media (max-width: 1199px) {
    .categories { padding: 40px 0; }
    .categories__title { font-size: 20px; }
    .categories__header { margin-bottom: 24px; }
    .cat-card { height: 340px; }
    /* Пропорційно: 337/420 * 340 = ~273px */
    .cat-card__label { top: 273px; }
    .cat-card__label span { font-size: 16px; }
}

/* ── Categories — Mobile (≤ 767px) ────────────────────────── */
@media (max-width: 767px) {
    .categories { padding: 30px 0; }

    .categories__title {
        font-size: 16px;
        font-weight: var(--fw-medium);
        letter-spacing: 0.05em;
    }

    .categories__header { margin-bottom: 16px; }

    /* Mobile Figma (584:1621): картка 162×254px, label bottom: 10px */
    .cat-card { height: 254px; }
    .cat-card__label { top: auto; bottom: 10px; }
    .cat-card__label span { font-size: 16px; }
}

/* ════════════════════════════════════════════════════════════
   Features section
   ════════════════════════════════════════════════════════════ */
.features {
    padding: 40px 0 70px;
}

.features__list {
    display: flex;
    gap: 10px;
}

.feature-card {
    flex: 1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.feature-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Features — Mobile (≤ 767px) — горизонтальний scroll ── */
@media (max-width: 767px) {
    .features { padding: 20px 0 40px 24px; }

    .features .container {
        padding-inline: 0;
    }

    .features__list {
        overflow-x: auto;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .features__list::-webkit-scrollbar { display: none; }

    .feature-card {
        flex: none;
        width: 320px;
        height: 320px;
        aspect-ratio: unset;
        scroll-snap-align: start;
    }
}

/* ════════════════════════════════════════════════════════════
   Trendové section
   ════════════════════════════════════════════════════════════ */
.trendove {
    padding: 70px 0 0;
    background: var(--color-white);
}

/* ── Title ─────────────────────────────────────────────────── */
.trendove__title {
    font-size: 24px;
    font-weight: var(--fw-semibold);
    line-height: 1.4;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin: 0 0 50px;
}

/* ── Slider layout ──────────────────────────────────────────── */
.trendove__slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Arrow button — Figma: 50px circle, border #e5e5e5, padding 10px, icon 16px */
.trendove__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 60px;
    border: 1px solid #e5e5e5;
    background: none;
    cursor: pointer;
    color: var(--color-dark);
    padding: 10px;
    transition: border-color var(--transition), background var(--transition);
}

.trendove__arrow:hover {
    border-color: var(--color-dark);
    background: rgba(0, 0, 0, 0.04);
}

/* Track — фіксована максимальна ширина = photo + gap + card */
.trendove__track {
    width: 1075px; /* 532 + 10 + 533 */
    flex-shrink: 0;
    overflow: hidden;
}

/* Slick застосовує .slick-slide прямо на .trendove__slide —
   потрібна вища специфічність щоб перекрити slick display:block  */
.trendove__track.slick-initialized .trendove__slide {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center; /* центрує контент у широкому слайді */
}

/* Left: lifestyle photo */
.trendove__photo {
    width: 532px;
    height: 635px;
    flex-shrink: 0;
    overflow: hidden;
}

.trendove__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right: product card wrapper — фіксована ширина як у Figma */
.trendove__card-wrap {
    width: 533px;
    flex-shrink: 0;
    height: 635px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* ── Trend card ─────────────────────────────────────────────── */
.trend-card {
    width: 320px;
}

.trend-card__img-wrap {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-white);
}

/* Посилання всередині img-wrap — займає весь простір фото */
.trend-card__img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.trend-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.trend-card:hover .trend-card__img {
    transform: scale(1.04);
}

/* Sale badge — top-left */
.trend-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--color-red);
    color: var(--color-white);
    font-size: 16px;
    font-weight: var(--fw-medium);
    line-height: 1.4;
    padding: 8px 10px;
    z-index: 1;
}

/* Hover overlay — swatches + cart */
.trend-card__overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transition: bottom 0.3s ease;
    z-index: 1;
}

.trend-card:hover .trend-card__overlay {
    bottom: 0;
}

.trend-card__swatches {
    display: flex;
    align-items: center;
    gap: 4px;
}

.trend-card__cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-dark);
    border: 1px solid var(--color-border);
    color: var(--color-white);
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity var(--transition);
}

.trend-card__cart:hover { opacity: 0.85; }

/* Card body */
.trend-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    text-align: center;
}

.trend-card__name {
    font-size: 16px;
    font-weight: var(--fw-medium);
    line-height: 1.4;
    color: var(--color-text);
    margin: 0;
    padding: 0 12px;
}

.trend-card__name a {
    color: inherit;
    text-decoration: none;
}

.trend-card__name a:hover { text-decoration: underline; }

.trend-card__prices {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trend-card__price {
    font-size: 16px;
    line-height: 1.4;
    font-weight: var(--fw-bold);
    color: var(--color-text);
}

.trend-card__price--sale {
    color: var(--color-red);
}

.trend-card__price--old {
    font-weight: var(--fw-light);
    color: #9ca3af;
    text-decoration: line-through;
}

/* CTA: text + 20px decorative line */
.trend-card__cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: var(--fw-regular);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text);
    transition: opacity var(--transition);
}

.trend-card__cta::after {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
}

.trend-card__cta:hover { opacity: 0.6; }

/* ── Features bar ───────────────────────────────────────────── */
.trendove__features {
    margin-top: 50px;
    padding: 60px 0 70px;
}

.trendove__features-list {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.trendove__feature {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.trendove__feature-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.trendove__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-dark);
}

.trendove__feature-icon svg {
    width: 24px;
    height: 24px;
}

.trendove__feature-title {
    font-size: 16px;
    font-weight: var(--fw-medium);
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--color-dark);
    margin: 0;
    white-space: nowrap;
}

.trendove__feature-desc {
    font-size: 14px;
    font-weight: var(--fw-light);
    line-height: 1.2;
    color: var(--color-dark);
    margin: 0;
    text-align: center;
    width: 100%;
}

/* ── Trendové — Tablet (768–1199px) ────────────────────────── */
@media (max-width: 1199px) {
    .trendove__slider { gap: 16px; }
    .trendove__track  { width: 740px; /* 350 + 10 + 380 */ }
    .trendove__photo  { width: 350px; height: 420px; }
    .trendove__card-wrap { width: 380px; height: 420px; }

    /* Картка товару — менша на таблеті */
    .trend-card { width: 200px; }

    .trendove__features { margin-top: 50px; }

    /* Features — 2 ряди (3+2), другий ряд центрований */
    .trendove__features-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .trendove__feature {
        flex: 0 0 calc(33.333% - 16px);
        max-width: calc(33.333% - 16px);
    }
}

/* ── Trendové — Mobile (≤ 767px) ───────────────────────────── */
@media (max-width: 767px) {
    .trendove { padding: 40px 0 0; }

    .trendove__title { font-size: 20px; margin-bottom: 24px; }

    /* Slider: column, arrows absolutely positioned */
    .trendove__slider {
        flex-direction: column;
        gap: 10px;
        position: relative;
    }

    .trendove__arrow {
        position: absolute;
        top: 113px; /* midpoint of 227px photo */
        z-index: 2;
        width: 50px;
        height: 50px;
    }

    .trendove__arrow--prev { left: -13px; }
    .trendove__arrow--next { right: -13px; }

    .trendove__track { width: 100%; flex-shrink: 1; }

    /* Перекриваємо десктопний flex-row → column */
    .trendove__track.slick-initialized .trendove__slide {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        justify-content: flex-start;
    }

    .trendove__photo {
        width: 190px;
        height: 227px;
    }

    .trendove__card-wrap {
        height: auto;
        width: 100%;
        flex-shrink: 1;
        padding: 0;
    }

    /* Mobile: product card image 190×190px */
    .trend-card { width: 190px; }

    /* ── Features — mobile layout ──────────────────────────── */
    .trendove__features {
        margin-top: 0;
        padding: 24px;
    }

    .trendove__features .container {
        padding: 0;
    }

    .trendove__features-list {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        background: #f5f5f5;
        padding: 24px;
    }

    .trendove__feature {
        max-width: 100%;
    }
}
