/* Мобильный отступ под фиксированную шапку на странице магазина */
@media (max-width: 900px) {
  .first,
  .shop-hero { margin-top: 10px !important; }
}

/* Герой-блок магазина: алиасы под новый класс .shop-hero */
.advantages__title.md-main-title,
.shop-hero .advantages__title {
    text-align: center !important;
}
.shop-page .first,
.shop-page .shop-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    margin-top: 150px;
}

.shop-page .first::before,
.shop-page .shop-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/image/bg-1.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.shop-page .first .wrapper,
.shop-page .shop-hero .wrapper {
    position: relative;
    z-index: 1;
}

.shop-page .first__content,
.shop-page .shop-hero .first__content {
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.shop-page .first__text,
.shop-page .shop-hero .first__text {
    flex: 1;
}

.shop-page .first__title,
.shop-page .shop-hero .first__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;
}

.shop-page .first__subtitle,
.shop-page .shop-hero .first__subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Поиск на отдельной строке под заголовком (как в .articles-hero) */
.shop-page .shop-hero .first__content,
.shop-hero .first__content {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
}

.shop-page .shop-hero .first__text,
.shop-hero .first__text {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.shop-page .shop-hero .first__form,
.shop-hero .first__form {
    width: 100%;
    max-width: 980px;
    margin: 24px auto 0 auto;
}

/* Стили продуктовой страницы (унификация с магазином) */
.product-page .first {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    margin-top: 150px;
}

.product-page .first::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/image/bg-1.jpg') center/cover;
    opacity: 0.08;
}

.product-page .first .wrapper { position: relative; z-index: 1; }
.product-page .first__content { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.product-page .first__title { font-size: 2.4rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; text-align: left; }
.product-page .first__subtitle { color: #666; line-height: 1.6; margin-bottom: 20px; }
.product-page .product-price-large { display: flex; align-items: center; gap: 16px; margin: 10px 0 20px; }
.product-page .product-price-large .current-price { font-size: 2rem; font-weight: 800; color: #6a7e9f; }
.product-page .product-price-large .old-price { color: #999; text-decoration: line-through; }
.product-page .discount-badge-large { background: #e74c3c; color: #fff; border-radius: 6px; padding: 4px 8px; font-weight: 700; }
.product-page .product-actions-large { display: flex; gap: 12px; margin-top: 10px; }
.product-page .product-actions-large .btn { padding: 14px 22px; border-radius: 8px; font-weight: 700; }
.product-page .product-actions-large .btn.btn--primary { background: linear-gradient(135deg, #3c475a 0%, #6a7e9f 100%); color: #fff; border: none; }
.product-page .product-actions-large .btn.btn--secondary { background: #fff; color: #6a7e9f; border: 2px solid #6a7e9f; }

.product-page .first__image img { width: 100%; max-width: 520px; border-radius: 16px; box-shadow: 0 8px 25px rgba(0,0,0,0.1); }

.product-page .product-description,
.product-page .product-info-compact,
.product-page .related-products,
.product-page .product-comments { padding: 60px 0; }

.product-page .product-description {
    padding: 20px;
}

/* Описание товара — типографика */
.product-page .product-description h2 { font-size: 2rem; font-weight: 800; margin: 0 0 16px; }
.product-page .product-description .content { max-width: 900px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; color: #333; }
.product-page .product-description .content p { margin: 0 0 12px; }
.product-page .product-description .content ul { margin: 10px 0 16px; padding-left: 22px; }
.product-page .product-description .content li { margin: 6px 0; }

.product-page .related-products-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 24px; margin-top: 20px; }
.product-page .related-products h2 { font-size: 1.75rem; font-weight: 800; margin: 0 0 20px; }

/* Кнопки в карточках «Похожие товары» — всегда влезают */
.product-page .related-products .product-card__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.product-page .related-products .product-card__btn {
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 0.95rem;
}
@media (max-width: 600px) {
  .product-page .related-products .product-card__buttons { grid-template-columns: 1fr; }
}

/* Информация о товаре — аккуратный компактный список */
.product-page .product-info-compact h3 {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 20px;
}

.product-page .product-info-grid {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.product-page .product-info-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f3f5;
}

.product-page .product-info-item:last-child { border-bottom: none; }

.product-page .product-info-item .label {
  color: #666;
  font-weight: 600;
}

.product-page .product-info-item .value {
  color: #1c1c1c;
  font-weight: 700;
}

@media (max-width: 900px) {
  .product-page .first { margin-top: 10px !important; padding: 40px 0; }
  .product-page .first__content { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 24px; }
  .product-page .first__title { text-align: center; font-size: 2rem; }
  .product-page .product-actions-large { justify-content: center; }
}

/* Отзывы о товаре — аккуратный блок */
.product-page .product-comments h3 {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 20px;
}

.product-page .product-comments .comment-form {
  max-width: 820px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.product-page .product-comments .comment-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px 18px;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  background: #fff;
  resize: vertical;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.product-page .product-comments .comment-form textarea:focus {
  outline: none;
  border-color: #6a7e9f;
  box-shadow: 0 0 0 3px rgba(106, 126, 159, 0.12);
}

.product-page .product-comments .add-comment-btn {
  padding: 14px 22px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #3c475a 0%, #6a7e9f 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: max-content;
}

.product-page .product-comments .add-comment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(106,126,159,0.25);
}

.product-page .product-comments .comments-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.product-page .product-comments .comment-item {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.product-page .product-comments .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.product-page .product-comments .comment-author {
  font-weight: 700;
  color: #1c1c1c;
}

.product-page .product-comments .comment-date {
  color: #9aa0a6;
  font-size: 0.9rem;
}

.product-page .product-comments .comment-text {
  color: #333;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .product-page .product-comments .comment-form {
    grid-template-columns: 1fr;
  }
  .product-page .product-comments .add-comment-btn {
    width: 100%;
  }
}
/* Улучшенные стили для магазина с фирменными цветами v2.2 - Enhanced Desktop Filters */

/* Стили для корзины в header */
.header__cart {
    position: relative;
    margin-left: 20px;
}

.cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6a7e9f 0%, #5a6e8f 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(106, 126, 159, 0.2);
}

.cart-link:hover {
    background: linear-gradient(135deg, #d2afa0 0%, #c19a8a 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(210, 175, 160, 0.3);
}

.cart-link svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.cart-link:hover svg {
    transform: scale(1.1);
}

.cart-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #d2afa0 0%, #c19a8a 100%);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    min-width: 22px;
    box-shadow: 0 2px 6px rgba(210, 175, 160, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Адаптивность для корзины */
@media (max-width: 768px) {
    .header__cart {
        margin-left: 10px;
    }
    
    .cart-link {
        width: 40px;
        height: 40px;
    }
    
    .cart-link svg {
        width: 20px;
        height: 20px;
    }
    
    .cart-counter {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: -6px;
        right: -6px;
    }
}

/* Фирменные цвета */
:root {
    --brand-primary: #6a7e9f;      /* Основной синий */
    --brand-secondary: #d2afa0;    /* Бежевый */
    --brand-accent: #d2afa0;       /* Бежевый */
    --brand-dark: #1C1C1C;         /* Темный */
    --brand-light: #f8fafb;        /* Светло-серый */
    --brand-white: #ffffff;        /* Белый */
    --brand-gray: #e9ecef;         /* Серый */
    --brand-text: #333333;         /* Текст */
    --brand-text-light: #666666;   /* Светлый текст */
}

/* Форма поиска в стиле страницы статей */
.first__form {
    display: flex;
    justify-content: space-around;
    background: var(--brand-white);
    border-radius: 12px;
    padding: 21px 0px 0px 0px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.first__form .form-title {
    margin-bottom: 25px;
}

.first__form .form-title p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-text);
    line-height: 1.4;
    margin: 0;
}

.search-form {
    margin-top: 10px;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--brand-gray);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--brand-white);
    transition: all 0.3s ease;
    color: var(--brand-text);
    min-width: 335px;
}

.search-input:focus {
    outline: none;
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 3px rgba(210, 175, 160, 0.1);
}

.search-input::placeholder {
    color: var(--brand-text-light);
}

.search-btn {
    padding: 16px 25px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #3c475a 0%, #6a7e9f 100%);
    color: var(--brand-white);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

.search-btn:hover {
    background: linear-gradient(135deg, #3c475a 0%, #6a7e9f 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 126, 159, 0.3);
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn span {
    position: relative;
    z-index: 1;
}

/* Секция категорий */
.shop-categories {
    padding: 4vw 0;
    background: var(--brand-light);
}

.filters__slider {
    margin-top: 3.125vw;
    position: relative; /* чтобы кнопки-слайдера позиционировались в пределах блока категорий */
}

.slider-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625vw;
    margin-bottom: 2.5vw;
    color: var(--brand-text-light);
    font-size: 0.875rem;
}

.slider-hint svg {
    width: 0.8125vw;
    height: 0.875vw;
}

.swiper-container {
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.swiper-slide {
    flex-shrink: 0;
    width: auto;
    margin-right: 1.25vw;
}

.filters-item {
    display: inline-block;
    padding: 1.25vw 2.5vw;
    background: var(--brand-white);
    border: 1px solid var(--brand-gray);
    border-radius: 50px;
    color: var(--brand-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filters-item:hover {
    background: var(--brand-primary);
    color: var(--brand-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 126, 159, 0.3);
}

.filters-item.active {
    background: var(--brand-primary);
    color: var(--brand-white);
    border-color: var(--brand-primary);
}

/* Кнопки слайдера */
.shop-categories .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.125vw;
    height: 3.125vw;
    background: var(--brand-white);
    border: 1px solid var(--brand-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.shop-categories .slider-btn:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.shop-categories .slider-btn:hover img {
    filter: brightness(0) invert(1);
}

.shop-categories .slider-btn.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.shop-categories .slider-btn.swiper-button-disabled:hover {
    background: var(--brand-white);
    border-color: var(--brand-gray);
}

.shop-categories .slider-btn.swiper-button-disabled:hover img {
    filter: none;
}

.shop-categories .slider-prev-btn {
    left: -1.5625vw;
}

.shop-categories .slider-next-btn {
    right: -1.5625vw;
}

.shop-categories .slider-btn img {
    width: 1.25vw;
    height: 1.25vw;
    transition: filter 0.3s ease;
}

/* Секция фильтров - УЛУЧШЕНО ДЛЯ ДЕСКТОПА */
.shop-filters {
    padding: 3.125vw 0;
    background: var(--brand-white);
    border-bottom: 1px solid var(--brand-gray);
}

.shop-filters__container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.filters-form {
    display: flex;
    align-items: center;
    gap: 2.5vw;
    background: var(--brand-light);
    padding: 3vw;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.8vw;
    flex: 1;
}

.filter-group label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-text);
    margin: 0;
    margin-bottom: 0.8vw;
}

/* УВЕЛИЧЕННЫЕ РАЗМЕРЫ ПОЛЕЙ ВЫБОРА ДЛЯ ДЕСКТОПА */
.filter-group select {
    padding: 1.2vw 1.5vw;
    border: 2px solid var(--brand-gray);
    border-radius: 8px;
    background: var(--brand-white);
    color: var(--brand-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 250px;
    width: 100%;
    height: auto;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 50px;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(106, 126, 159, 0.1);
}

.filter-btn {
    padding: 1.2vw 2.5vw;
    background: linear-gradient(135deg, #3c475a 0%, #6a7e9f 100%);
    color: var(--brand-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 140px;
    min-height: 50px;
}

.filter-btn:hover {
    background: linear-gradient(135deg, #3c475a 0%, #6a7e9f 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 126, 159, 0.3);
}

/* Счетчик товаров */
.shop-products-count {
    padding: 2vw 0;
    background: var(--brand-white);
    text-align: center;
}

.shop-products-count p {
    font-size: 1rem;
    color: var(--brand-text);
    margin: 0;
}

.shop-products-count strong {
    color: var(--brand-primary);
    font-weight: 600;
}

.shop-page-info {
    margin-top: 1vw;
    font-size: 0.875rem;
    color: var(--brand-text-light);
}

/* Секция товаров */
.shop-products {
    padding: 4vw 0;
    background: var(--brand-light);
}

.shop-products__container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5vw;
    margin-top: 2.5vw;
}

/* Карточки товаров */
.product-card {
    background: var(--brand-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--brand-gray);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-white);
    z-index: 2;
}

.product-card__badge.popular {
    background: var(--brand-primary);
}

.product-card__badge.sale {
    background: #e74c3c;
}

.product-card__badge.new {
    background: #27ae60;
}

.product-card__content {
    padding: 1.5vw;
}

.product-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-text);
    margin: 0 0 0.75vw 0;
    line-height: 1.4;
}

.product-card__description {
    font-size: 0.875rem;
    color: var(--brand-text-light);
    margin: 0 0 1vw 0;
    line-height: 1.5;
}

.product-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1vw 0;
}

.product-card__features li {
    font-size: 0.8rem;
    color: var(--brand-text-light);
    margin-bottom: 0.25vw;
    position: relative;
    padding-left: 1.25vw;
}

.product-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: bold;
}

.product-card__price-container {
    display: flex;
    align-items: center;
    gap: 1vw;
    margin-bottom: 1.5vw;
}

.product-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.product-card__price-old {
    font-size: 0.875rem;
    color: var(--brand-text-light);
    text-decoration: line-through;
}

.product-card__buttons {
    display: flex;
    gap: 1vw;
}

.product-card__btn {
    flex: 1;
    padding: 0.75vw 1.5vw;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.product-card__btn--primary {
    background: linear-gradient(135deg, #3c475a 0%, #6a7e9f 100%);
    color: var(--brand-white);
}

.product-card__btn--primary:hover {
    background: linear-gradient(135deg, #3c475a 0%, #6a7e9f 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 126, 159, 0.3);
}

.product-card__btn--secondary {
    background: var(--brand-white);
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.product-card__btn--secondary:hover {
    background: var(--brand-primary);
    color: var(--brand-white);
}

/* Пагинация */
.pagination-section {
    padding: 4vw 0;
    background: var(--brand-white);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1vw;
    flex-wrap: wrap;
}

.pagination__page,
.pagination__prev,
.pagination__next {
    padding: 0.75vw 1.25vw;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    color: var(--brand-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: var(--brand-white);
}

.pagination__page:hover,
.pagination__prev:hover,
.pagination__next:hover {
    background: var(--brand-primary);
    color: var(--brand-white);
    border-color: var(--brand-primary);
    transform: translateY(-2px);
}

.pagination__page--active {
    background: var(--brand-primary);
    color: var(--brand-white);
    border-color: var(--brand-primary);
}

.pagination__dots {
    padding: 0.75vw 1.25vw;
    color: var(--brand-text-light);
}

.no-products {
    text-align: center;
    padding: 4vw;
    background: var(--brand-white);
    border-radius: 12px;
    color: var(--brand-text-light);
    font-size: 1.1rem;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .first__form {
        flex-direction: column;
        padding: 4vw;
    }
    
    .first__form .form-title p {
        font-size: 1rem;
        text-align: center;
    }
    
    .search-container {
        flex-direction: column;
        gap: 2vw;
    }
    
    .search-input {
        min-width: auto;
        width: 100%;
        padding: 4vw 5vw;
        font-size: 1.1rem;
        height: 60px;
        border-radius: 8px;
        border: 1px solid #ddd;
        background: white;
        transition: border-color 0.3s ease;
    }
    
    .search-input:focus {
        outline: none;
        border-color: #6a7e9f;
    }
    
    .search-btn {
        width: 100%;
        min-width: auto;
        padding: 4vw 5vw;
        font-size: 1.1rem;
        height: 60px;
        border-radius: 8px;
        font-weight: 600;
        background: #6a7e9f;
        color: white;
        border: none;
        transition: background-color 0.3s ease;
    }
    
    .search-btn:hover {
        background: #5a6e8f;
    }
    
    .slider-hint {
        margin-bottom: 4vw;
        font-size: 0.75rem;
    }
    
    .filters-item {
        padding: 3vw 6vw;
        font-size: 0.875rem;
    }
    
    .shop-categories .slider-btn {
        width: 12vw;
        height: 12vw;
    }
    
    .shop-categories .slider-btn img {
        width: 5vw;
        height: 5vw;
    }
    
    .shop-categories .slider-prev-btn {
        left: -6vw;
    }
    
    .shop-categories .slider-next-btn {
        right: -6vw;
    }
    
    /* ИСПРАВЛЕННЫЕ СТИЛИ ФИЛЬТРОВ ДЛЯ МОБИЛЬНЫХ */
    .shop-filters__container {
        padding: 0 4vw;
    }
    
    .filters-form {
        flex-direction: column;
        gap: 4vw;
        padding: 6vw;
        width: 100%;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .filter-group {
        width: 100%;
        margin-bottom: 0;
    }
    
    .filter-group label {
        font-size: 1.1rem;
        margin-bottom: 2vw;
        font-weight: 600;
        color: #333;
        display: block;
    }
    
    .filter-group select {
        width: 100%;
        min-width: auto;
        padding: 4vw 5vw;
        font-size: 1rem;
        height: 60px;
        border-radius: 8px;
        border: 1px solid #ddd;
        background: white;
        transition: border-color 0.3s ease;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .filter-group select:focus {
        outline: none;
        border-color: #6a7e9f;
    }
    
    .filter-btn {
        width: 100%;
        padding: 4vw 5vw;
        margin-top: 2vw;
        font-size: 1rem;
        height: 60px;
        border-radius: 8px;
        font-weight: 600;
        background: #6a7e9f;
        color: white;
        border: none;
        transition: background-color 0.3s ease;
    }
    
    .filter-btn:hover {
        background: #5a6e8f;
    }
    
    .shop-products__container {
        padding: 0 4vw;
        margin-top: 6vw;
        grid-template-columns: 1fr;
        gap: 4vw;
    }
    
    .product-card {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }
    
    .product-card__image {
        height: 200px;
        background-size: cover;
        background-position: center;
        position: relative;
    }
    
    .product-card__content {
        padding: 4vw;
    }
    
    .product-card__title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 2vw;
        color: #333;
        line-height: 1.4;
    }
    
    .product-card__price {
        font-size: 1.3rem;
        font-weight: 700;
        color: #6a7e9f;
        margin-bottom: 3vw;
    }
    
    .product-card__btn {
        width: 100%;
        padding: 3vw 4vw;
        background: #6a7e9f;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-bottom: 2vw;
    }
    
    .product-card__btn:hover {
        background: #5a6e8f;
    }
    
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 3vw;
        margin-top: 8vw;
        margin-bottom: 8vw;
    }
    
    .pagination__page,
    .pagination__prev,
    .pagination__next {
        padding: 3vw 4vw;
        background: #f8f9fa;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 50px;
        text-align: center;
    }
    
    .pagination__page:hover,
    .pagination__prev:hover,
    .pagination__next:hover {
        background: #6a7e9f;
        color: white;
        border-color: #6a7e9f;
    }
    
    .pagination__page--active {
        background: #6a7e9f;
        color: white;
        border-color: #6a7e9f;
    }
}

@media (max-width: 480px) {
    .shop-filters__container {
        padding: 0 3vw;
    }
    
    .filters-form {
        gap: 3vw;
        padding: 4vw;
    }
    
    .search-input {
        padding: 4vw 5vw;
        font-size: 1.1rem;
        height: 60px;
    }
    
    .search-btn {
        padding: 4vw 5vw;
        font-size: 1.1rem;
        height: 60px;
    }
    
    .filter-group select {
        padding: 4vw 5vw;
        font-size: 1rem;
        height: 60px;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .filter-btn {
        padding: 4vw 5vw;
        font-size: 1rem;
        height: 60px;
        margin-top: 2vw;
    }
    
    .filter-group label {
        font-size: 1rem;
        margin-bottom: 2vw;
    }
    
    .product-card__content {
        padding: 3vw;
    }
    
    .product-card__title {
        font-size: 1.1rem;
    }
    
    .product-card__description {
        font-size: 0.9rem;
    }
    
    .product-card__features li {
        font-size: 0.8rem;
    }
    
    .product-card__price {
        font-size: 1.2rem;
    }
    
    .product-card__price-old {
        font-size: 0.9rem;
    }
    
    .product-card__btn {
        padding: 3vw 4vw;
        font-size: 0.9rem;
    }
} 

/* Принудительно показываем нативный select в попапе на страницах магазина */
.shop-page .popup select.js-native-select,
.shop-page .popup .form-select.js-native-select,
.shop-page .popup .form-select.js-native-select.ready {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.shop-page .popup .nice-select {
  display: none !important;
}