/* ========== ОБЩИЙ КОНТЕЙНЕР 1200px ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========== ХЕРО-БЛОК ========== */
.hero {
    width: 100%;
    background-color: transparent;
    background-image: url('../images/feedback__bg-5.png');
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    width: 100%;
}

.hero__studio {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.2;
    color: var(--color-black);
}

.hero__slogan {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.3;
    color: var(--color-black);
    max-width: 800px;
}

/* ========== ОБЁРТКА ДЛЯ ЛОГОТИПА И ЦВЕТКОВ ========== */
.hero__logo-wrapper {
    position: relative;
    display: inline-block;
}

/* Заголовок (логотип) */
.hero__title {
    position: relative;
    z-index: 10;
    font-family: var(--font-logo);
    font-weight: 400;
    font-size: clamp(40px, 8vw, 75px);
    line-height: 1.2;
    color: var(--color-black);
    max-width: 900px;
    word-break: break-word;
    margin: 0;
    -webkit-text-stroke: 1px #000000;
}

/* ========== ВСЕ ЦВЕТКИ СПРАВА (группируем) ========== */
.hero__flower {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Левый цветок (ближе к логотипу) */
.hero__flower--left {
    right: -305px;
    width: 331px;
    height: 751px;
    background: url('../images/flower-front-1.png') no-repeat center/contain;
    background-size: contain;
    z-index: 1;
    top: 362px;
}

/* Центральный цветок (посередине) */
.hero__flower--center {
    right: -537px;
    width: 376px;
    height: 658px;
    background: url('../images/flower-front-2.png') no-repeat center/contain;
    background-size: contain;
    z-index: 2;
    top: 100px;
}

/* Правый цветок (самый дальний) */
.hero__flower--right {
    right: -788px;
    width: 627px;
    height: 894px;
    background: url('../images/flower-front-3.png') no-repeat center/contain;
    background-size: contain;
    z-index: 1;
    top: 443px;
}

/* ========== ЗАГОЛОВОК БУКЕТЫ ========== */
.page-title-wrapper {
    padding: 40px 0 0;
    background: #FFFFFF;
}

.page-title {
    font-family: var(--font-logo);
    font-weight: 400;
    font-size: 48px;
    line-height: 1.2;
    color: var(--color-black);
    margin: 0;
    text-align: center;
    -webkit-text-stroke: 1px #000000; 
}

/* ========== ШАПКА КАТАЛОГА (ПОИСК + СОРТИРОВКА) ========== */
.catalog-header-section {
    padding: 40px 0 20px;
    background: #FFFFFF;
}

.catalog-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.catalog-header__tools {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.right-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;  /* ← прижимает к правому краю */
}

/* Поле поиска */
.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-box__input {
    padding: 10px 16px;
    font-family: var(--font-main);
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 30px;
    width: 200px;
    background: white;
    transition: all 0.3s ease;
}

.search-box__input:focus {
    outline: none;
    border-color: var(--color-pink);
    box-shadow: 0 0 0 2px rgba(181, 75, 95, 0.1);
}

.search-box__input::placeholder {
    color: #999;
    font-weight: 300;
}

.search-box__btn {
    background: transparent;
    border: none;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.search-box__btn:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

.search-box__icon {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
}

/* Выпадающий список */
.sort-select {
    padding: 10px 35px 10px 16px;
    font-family: var(--font-main);
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 30px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('../images/arrow.svg');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px 10px;    
}

.sort-select:hover {
    border-color: var(--color-pink);
}

.sort-select:focus {
    outline: none;
    border-color: var(--color-pink);
}

/* ========== ЛЕВАЯ ПАНЕЛЬ ФИЛЬТРОВ ========== */
.filters-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group__title {
    font-family: var(--font-logo);
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 15px;
}

.filter-checkbox {
    display: block;
    font-family: var(--font-main);
    font-size: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    white-space: nowrap;
    overflow-x: auto;
}

.filter-checkbox input {
    margin-right: 8px;
    cursor: pointer;
}

/* Поля ввода цены */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.price-inputs input {
    flex: 1;
    width: 100%;
    padding: 6px 10px;
    font-family: var(--font-main);
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 25px;
    text-align: center;
}

/* Поля ввода цены — вертикально друг под другом */
.price-inputs-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.price-input-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-label {
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--color-black);
    min-width: 25px;
}

.price-input-item input {
    flex: 1;
    padding: 8px 12px;
    font-family: var(--font-main);
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 25px;
    text-align: center;
}

.price-inputs-vertical input {
    width: 120px;
    padding: 8px 12px;
    font-family: var(--font-main);
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 25px;
    text-align: center;
}

.price-inputs span {
    color: #999;
}

/* Кнопки фильтров */
.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    align-items: flex-start;
}

.btn-search,
.btn-reset {
    padding: 8px 0;
    font-family: var(--font-main);
    font-size: 14px;
    border-radius: 30px;
    cursor: pointer;
    width: 180px;
    min-width: 100px;
    text-align: center;
}

.btn-search {
    background: var(--color-pink);
    border: none;
    color: white;
}

.btn-reset {
    background: transparent;
    border: 1px solid var(--color-pink);
    color: var(--color-pink);
}

/* ========== БУРГЕР-МЕНЮ ДЛЯ ФИЛЬТРОВ (до 800px) ========== */
.filters-checkbox {
    display: none;
}

.filters-toggle {
    display: none;
    background: transparent;
    border: 1px solid #000;
    border-radius: 30px;
    padding: 8px 20px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 14px;
    color: #000;
    white-space: nowrap;
}

.filters-overlay {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.filters-sidebar-mobile {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background: #fff;
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.filters-checkbox:checked ~ .filters-sidebar-mobile {
    left: 0;
}

.filters-checkbox:checked ~ .filters-overlay {
    display: block;
}

.filters-sidebar-mobile__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.filters-sidebar-mobile__title {
    font-family: var(--font-logo);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.filters-sidebar-mobile__close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

/* ========== ОБЩИЕ СТИЛИ ДЛЯ ФИЛЬТРОВ ========== */

.filter-group {
    margin-bottom: 30px;
}

.filter-group__title {
    font-family: var(--font-logo);
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 15px;
}

.filter-checkbox {
    display: block;
    font-family: var(--font-main);
    font-size: 14px;
    margin-bottom: 10px;
    cursor: pointer;
}

.filter-checkbox input {
    margin-right: 8px;
}

/* Поля цены вертикально */
.price-inputs-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.price-input-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-label {
    font-family: var(--font-main);
    font-size: 14px;
    min-width: 25px;
}

.price-input-item input {
    flex: 1;
    padding: 8px 12px;
    font-family: var(--font-main);
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 25px;
    text-align: center;
}

/* Кнопки фильтров */
.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.btn-search,
.btn-reset {
    padding: 8px 0;
    font-family: var(--font-main);
    font-size: 14px;
    border-radius: 30px;
    cursor: pointer;
    width: 180px;
    text-align: center;
}

.btn-search {
    background: var(--color-pink);
    border: none;
    color: white;
}

.btn-reset {
    background: transparent;
    border: 1px solid var(--color-pink);
    color: var(--color-pink);
}

/* ========== ОСНОВНОЙ КОНТЕЙНЕР (ФИЛЬТРЫ + КАРТОЧКИ) ========== */
.catalog-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.catalog-content {
    flex: 1;
}

/* ========== СЕТКА С КАРТОЧКАМИ ========== */
.bouquets__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* Карточка товара */
.product-card {
    text-align: center;
}

.product-card__image {
    width: 100%;
    height: 300px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 16px;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.product-card__image img:hover {
    transform: scale(1.05);
}

.product-card__title {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 22px;
    margin: 12px 0 8px;
    color: var(--color-black);
}

.product-card__price {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 20px;
    color: var(--color-black);
    margin-bottom: 16px;
}

.product-card__btn {
    background: #899647;
    border-radius: 30px;
    padding: 8px 35px;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card__btn:hover {
    background: #6f7a3a;
    transform: scale(1.02);
}

/* ========== КНОПКА НАВЕРХ ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #B54B5F;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    -webkit-text-stroke: 1px #ffffff;
    padding-bottom: 5px;
}

.scroll-top:hover {
    background: #8a3a4a;
    transform: scale(1.1);
}

.scroll-top.show {
    display: flex;
}


/* ========== АДАПТИВ ========== */

/* ---------- Адаптив hero (текст всегда СЛЕВА) ---------- */
@media (max-width: 900px) {
    .hero {
        background-image: none;
        background-color: var(--color-pink-bg);
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;    /* ← текст слева */
        text-align: left;           /* ← текст слева */
        padding: 40px 20px;
    }
    
    .hero__title,
    .hero__slogan {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        background: var(--color-pink-bg);
        background-image: none;
        padding: 60px 0 80px;
        min-height: auto;
    }
    
    .hero .container {
        align-items: flex-start;    /* ← текст слева */
        text-align: left;           /* ← текст слева */
        margin-top: 50px;
        gap: 15px;
    }
    
    .hero__studio,
    .hero__title,
    .hero__slogan,
    .hero__btn {
        text-align: left;           /* ← текст слева */
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero__title {
        font-size: 50px;
        max-width: 100%;
    }
    
    .hero__slogan {
        max-width: 100%;
        font-size: 15px;
    }
    
    .hero__studio {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 100px;
    }
    
    .hero__title {
        font-size: 34px;
    }
}

/* ========== АДАПТИВ ЦВЕТКОВ В ХЕРО-БЛОКЕ (всегда справа) ========== */

/* 1100px */
@media (max-width: 1100px) {
    .hero__flower--left {
        right: -180px;
        width: 280px;
        height: 630px;
        top: 320px;
    }
    
    .hero__flower--center {
        right: -350px;
        width: 320px;
        height: 560px;
        top: 80px;
    }
    
    .hero__flower--right {
        right: -597px;
        width: 530px;
        height: 760px;
        top: 390px;
    }
}

/* 900px */
@media (max-width: 900px) {
    .hero {
        padding: 80px 0 85px;
        min-height: auto;
    }
    
    .hero .container {
        gap: 18px;
    }
    
    .hero__studio {
        font-size: 18px;
    }
    
    .hero__title {
        font-size: 52px;
    }
    
    .hero__slogan {
        font-size: 16px;
        max-width: 100%;
    }
    
    /* Цветы для 900px */
    .hero__flower--left {
        right: -169px;
        width: 250px;
        height: 560px;
        top: 320px;
    }
    
    .hero__flower--center {
        right: -328px;
        width: 270px;
        height: 470px;
        top: 150px;
    }
    
    .hero__flower--right {
        right: -518px;
        width: 390px;
        height: 560px;
        top: 340px;
    }
}

/* 768px */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
        min-height: auto;
    }
    
    .hero .container {
        gap: 18px;
    }
    
    .hero__studio {
        font-size: 17px;
    }
    
    .hero__title {
        font-size: 44px;
    }
    
    .hero__slogan {
        font-size: 15px;
        max-width: 100%;
    }
    
    /* Цветы для 768px */
    .hero__flower--left {
        right: -140px;
        width: 230px;
        height: 510px;
        top: 290px;
    }
    
    .hero__flower--center {
        right: -270px;
        width: 245px;
        height: 430px;
        top: 140px;
    }
    
    .hero__flower--right {
        right: -430px;
        width: 355px;
        height: 510px;
        top: 310px;
    }
}

/* 600px */
@media (max-width: 600px) {
    .hero {
        padding: 45px 0 60px;
        min-height: auto;
    }
    
    .hero .container {
        gap: 16px;
    }
    
    .hero__studio {
        font-size: 16px;
    }
    
    .hero__title {
        font-size: 40px;
    }
    
    .hero__slogan {
        font-size: 14px;
        max-width: 100%;
    }
    
    /* Цветы для 600px */
    .hero__flower--left {
        right: -100px;
        width: 200px;
        height: 450px;
        top: 268px;
    }
    
    .hero__flower--center {
        right: -200px;
        width: 210px;
        height: 380px;
        top: 125px;
    }
    
    .hero__flower--right {
        right: -330px;
        width: 300px;
        height: 450px;
        top: 280px;
    }
}

/* 520px */
@media (max-width: 520px) {
    .hero__flower--left {
        right: -76px;
        width: 180px;
        height: 400px;
        top: 253px;
    }
    
    .hero__flower--center {
        right: -167px;
        width: 190px;
        height: 340px;
        top: 115px;
    }
    
    .hero__flower--right {
        right: -276px;
        width: 270px;
        height: 400px;
        top: 260px;
    }
}

/* 480px */
@media (max-width: 480px) {
    .hero {
        padding: 30px 0 40px;
        min-height: auto;
    }
    
    .hero .container {
        gap: 15px;
    }
    
    .hero__studio {
        font-size: 16px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__slogan {
        font-size: 14px;
        max-width: 100%;
    }
    
    /* Цветы всегда справа, только уменьшаем */
    .hero__flower--left {
        right: -65px;
        width: 163px;
        height: 371px;
        top: 235px;
    }
    
    .hero__flower--center {
        right: -163px;
        width: 165px;
        height: 290px;
        top: 128px;
    }
    
    .hero__flower--right {
        right: -260px;
        width: 243px;
        height: 346px;
        top: 248px;
    }
}

/* 420px */
@media (max-width: 420px) {

    .hero__flower--left {
        right: -22px;
        width: 136px;
        height: 309px;
        top: 221px;
    }
    
    .hero__flower--center {
        right: -86px;
        width: 123px;
        height: 216px;
        top: 128px;
    }
    
    .hero__flower--right {
        right: -187px;
        width: 198px;
        height: 282px;
        top: 225px;
    }
}

/* ---------- Адаптив заголовка страницы ---------- */
@media (max-width: 900px) {
    .page-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }
}

/* ---------- Адаптив фильтров ---------- */
@media (max-width: 900px) {
    .filters-sidebar {
        width: 240px;
    }
    
    .filter-group__title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .catalog-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .filters-sidebar {
        width: 100%;
    }
    
    .filter-group {
        margin-bottom: 25px;
    }
    
    .filter-checkbox {
        display: inline-block;
        width: 100%;
        margin-right: 10px;
        margin-bottom: 12px;
    }
    
    .filter-buttons {
        flex-direction: row;
        gap: 12px;
    }
    
    .btn-search,
    .btn-reset {
        width: 100%;
        padding: 8px 0;
    }
}

@media (max-width: 480px) {
    .filter-checkbox {
        width: 100%;
        margin-right: 0;
    }
    
    .filter-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .price-inputs input {
        padding: 8px 6px;
        font-size: 13px;
    }
}


/* ========== АДАПТИВ ДЛЯ ПОИСКА И СОРТИРОВКИ ========== */

/* ========== АДАПТИВ (800px и меньше) ========== */
@media (max-width: 800px) {

    /* Скрываем компьютерную панель фильтров */
    .filters-sidebar-desktop {
        display: none;
    }

    /* Показываем кнопку "Фильтры" */
    .filters-toggle {
        display: inline-block;
        background: transparent;
        border: 1px solid #000;
        border-radius: 30px;
        padding: 8px 20px;
        cursor: pointer;
        font-family: var(--font-main);
        font-size: 14px;
        color: #000;
        white-space: nowrap;
    }

    /* Затемнение */
    .filters-overlay {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    /* Мобильная панель фильтров */
    .filters-sidebar-mobile {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: #fff;
        z-index: 999;
        padding: 20px;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .filters-checkbox:checked ~ .filters-sidebar-mobile {
        left: 0;
    }

    .filters-checkbox:checked ~ .filters-overlay {
        display: block;
    }

    /* Шапка мобильной панели */
    .filters-sidebar-mobile__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
    }

    .filters-sidebar-mobile__title {
        font-family: var(--font-logo);
        font-size: 20px;
        font-weight: 600;
        margin: 0;
    }

    .filters-sidebar-mobile__close {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: #999;
    }

    /* Расположение: фильтры слева, поиск и селект справа в одну линию */
    .catalog-header__tools {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .filters-toggle {
        order: 0;
    }

    .right-group {
        display: flex;
        align-items: center;
        gap: 10px;
        order: 1;
    }

    .search-box {
        order: 0;
    }

    .sort-select {
        order: 1;
    }
}

/* ========== АДАПТИВ (600px и ниже) ========== */
@media (max-width: 600px) {
    /* Поиск и селект в столбик */
    .right-group {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }
    
    .search-box {
        width: 160px;
    }
    
    .search-box__input {
        width: 160px;
        padding: 8px 12px;
        font-size: 12px;
        margin-left: -20px;
    }
    
    /* Увеличиваем ширину селекта, чтобы стрелка не накладывалась на текст */
    .sort-select {
        width: 180px;
        padding: 8px 35px 8px 12px;
        font-size: 12px;
        background-position: right 10px center;
        background-size: 12px 8px;
    }
}

/* ---------- Адаптив карточек товаров ---------- */
@media (max-width: 1024px) {
    .product-card__image {
        height: 260px;
    }
    
    .product-card__title {
        font-size: 20px;
    }
    
    .product-card__price {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .bouquets__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .product-card__image {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .bouquets__grid {
        gap: 20px;
    }
    
    .product-card__image {
        height: 220px;
    }
    
    .product-card__title {
        font-size: 18px;
    }
    
    .product-card__price {
        font-size: 16px;
    }
    
    .product-card__btn {
        font-size: 14px;
        padding: 6px 25px;
    }
}

@media (max-width: 550px) {
    .bouquets__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-card__image {
        height: 260px;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .product-card__title {
        font-size: 18px;
    }
    
    .product-card__price {
        font-size: 16px;
    }
    
    .product-card__btn {
        font-size: 14px;
        padding: 8px 35px;
    }
}

@media (max-width: 480px) {
    .product-card__image {
        height: 220px;
        max-width: 280px;
    }
    
    .product-card__title {
        font-size: 16px;
    }
    
    .product-card__price {
        font-size: 14px;
    }
    
    .product-card__btn {
        font-size: 13px;
        padding: 6px 25px;
    }
}

/* ---------- Адаптив пагинации ---------- */
@media (max-width: 768px) {
    .pagination {
        gap: 6px;
        margin-top: 40px;
    }
    
    .pagination__link,
    .pagination__arrow,
    .pagination__dots {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

@media (max-width: 550px) {
    .pagination {
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .pagination__link,
    .pagination__arrow,
    .pagination__dots {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 4px;
    }
    
    .pagination__link,
    .pagination__arrow,
    .pagination__dots {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .pagination__arrow {
        font-size: 14px;
    }
}