 
  body {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    margin: 0;
    padding: 0;
    background-color: #040919;
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff; 
    font-size: 14px;
    min-height: 100vh;
    justify-content: center; /* Центрирование по горизонтали */
    display: flex;
    flex-direction: column;


  }

/* Общий блок header */
header {
    background-color: #040919; /* Темно-синий фон шапки */
    color: white; /* Белый цвет текста */
    align-items: center; /* Центрирование содержимого по горизонтали */
    display: flex; /* Используем flex-контейнер */
    flex-direction: column; /* Элементы внутри шапки располагаются вертикально */
}
  

  
  
/* Контейнер для верхней части шапки (включает "Главная" и "Блог") */
.header-top-row {
    display: flex; /* Элементы внутри будут располагаться в строку (рядом) */
    width: 100%; /* Занимает всю доступную ширину */
    max-width: 1200px; /* Ограничиваем ширину, чтобы не было слишком широким */
}

.header-top {
    display: flex; /* Размещаем элементы в ряд */
    align-items: center; /* Выравниваем элементы по центру */
    gap: 10px; /* Расстояние между элементами */
    justify-content: space-between; /* Кнопки идут в ряд, Telegram справа */
    width: 100%; /* Занимает всю ширину родительского контейнера */  
    background-color: #02020c; /* Темно-синий цвет фона */
    max-width: 1200px; /* Ограничение ширины блока */
} 

/* Нижняя часть шапки каталог, сертификаты...*/
.header-bottom {
  background-color: #040919; 
  width: 100%; 
  max-width: 1200px; 
  display: flex;            /* Включаем Flexbox */
  align-items: center;      /* Центрируем элементы по вертикали */
  position: relative;
  padding-top: 20px;        /* Сохраняем отступ сверху */

}

    
  }

  main {
    padding: 20px;
  }

footer {
    height: 260px;
    bottom: 0;
    width: 100%;
    background-color: #02020c;
    padding-top: 20px;
    flex-shrink: 0;
    margin-top: auto;
}

.footer-container {
    display: flex; /* Размещаем столбцы в строку */
    justify-content: space-between; /* Равномерно распределяем */
    max-width: 1200px; /* Ограничиваем ширину */
    margin: 0 auto; /* Центрируем контейнер */
    gap: 20px; /* Расстояние между столбцами */
}

.buttons-container {
    display: flex;
    flex-direction: column; /* Располагаем кнопки вертикально */
    flex: 1; /* Делаем столбцы одинаковой ширины */
}

.contacts {
    font-size: 18px;
    font-weight: normal; /* Убираем жирность */
    text-align: left;
    margin-bottom: 25px;
    color: #fff;
    margin-left: 15px; /* Сдвигаем текст правее */
}


.knopochka {
    color: #8c8c90; /* Цвет текста (серый) */
    background: transparent; /* Прозрачный фон */
    font-family: 'Montserrat', Arial, sans-serif;
    padding: 3px 15px; /* Отступы внутри кнопки */
    font-size: 14px; /* Размер шрифта */
    border-radius: 5px; /* Скругление углов */
    text-align: left; /* Выравнивание текста */
    cursor: pointer; /* Курсор при наведении */
    transition: background 0.3s ease; /* Плавный эффект */
    border: none; /* Убираем рамку */
    width: 100%; /* Кнопки на всю ширину столбца */
    margin-bottom: 5px; /* Отступ между кнопками */
}

.knopochka:hover {
    color: #ffffff; /* Изменяем цвет текста на белый при наведении */
    background: transparent; /* Делаем фон прозрачным при наведении */
}

 
  

  /*Шапка где главная, блог, клментам... */
  .header-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #02020c; 
  }
  

.knopka {
    display: inline-block; /* Делаем кнопку строчно-блочным элементом */
    margin: 0 10px; /* Отступы слева и справа по 10px */
    padding: 2px 12px; /* Внутренние отступы: сверху/снизу 2px, слева/справа 12px */
    font-size: 14px; /* Размер шрифта */
    font-weight: bold; /* Жирное начертание текста */
    color: #8c8c90; /* Цвет текста (серый) */
    background: transparent; /* Прозрачный фон */
    cursor: pointer; /* Изменение курсора на "указатель" при наведении */
    transition: all 0.3s ease; /* Плавное изменение всех свойств за 0.3 секунды */
    text-align: center; /* Выравнивание текста по центру */
    outline: none; /* Убираем контур фокуса (по умолчанию браузеров) */
}


.knopka:hover {
    color: #ffffff; /* Изменяем цвет текста на белый при наведении */
    background: transparent; /* Делаем фон прозрачным при наведении */
}


/* Кнопка каталога */
.knopka_2 {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  padding: 10px 18px; 
  font-size: 14px; 
  color: #000; 
  background: #fff; 
  border: none; 
  border-radius: 30px; 
  cursor: pointer; 
  transition: all 0.3s ease; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
  text-align: center; 
  outline: none; 
  text-decoration: none; 
  white-space: nowrap; 
  margin-left: 20px; /* Если нужен дополнительный отступ слева */
  width: 100px;
  height: 22px; 
}

.knopka_2 svg {
  margin-right: 8px; 
}

.knopka_2:hover {
  background: #02020c; 
  color: #ffffff; 
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.knopka_2:hover svg {
  fill: #ffffff;
}

.knopka_2:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

  
  
  
  
  
.search-container {
    display: flex;                 /* Располагаем элементы в строку */
    align-items: center;           /* Вертикальное выравнивание по центру */
    width: 200px;                  /* Ширина поля */
    height: 40px;                  /* Высота поля */
    background-color: #040919;     /* фон всей области */
    border: 1px solid #8c8c90;     /*  цвет рамки */
    border-radius: 30px;           /* Скруглённые углы (овальная форма) */
    padding: 0 10px;               /* Внутренние отступы по горизонтали */
  margin-right: 20px;              /* Расстояние справа до следующего элемента */
}

.search-container .search-icon {
    color: #888;                   /* Цвет иконки */
    margin-right: 8px;             /* Отступ справа от иконки до input */
    font-size: 16px;               /* Размер иконки */
}

.search-container input {
    background: transparent;     /* Прозрачный фон — подстраивается под div */
    border: none;                /* Убираем стандартную рамку input */
    outline: none;               /* Убираем обводку при фокусе */
    color: #ccc;                 /* Цвет текста в поле */
    font-size: 16px;             /* Размер текста */
    width: 100%;                 /* Занимает всё доступное пространство */
    font-family: 'Montserrat', Arial, sans-serif; /* Шрифт */
}

.search-container input::placeholder {
    color: #8c8c90;               /* 🔸 Цвет текста "Поиск" */
} 
  
/* Анимация иконки при наведении на всю область */
.search-container:hover .icon-svg {
  stroke: #fff;              /* Цвет становится ярче */
  transform: scale(1.2);     /* Немного увеличивается */
}

.icon-svg {
  transition: stroke 0.2s ease, transform 0.2s ease;
}  
  
  
  
  
  
  
.izbrannoe {
  width: 42px;                     /* Ширина круга */
  height: 42px;                    /* Высота круга */
  display: flex;                   /* Flex-контейнер для центрирования */
  align-items: center;             /* Центрирование по вертикали */
  justify-content: center;         /* Центрирование по горизонтали */
  font-size: 30px;                 /* Размер иконки (подогнан под изображение) */
  color: #ffffff;                  /* Белая иконка */
  background-color: #1e2230;       /* Цвет круга */
  border-radius: 50%;              /* Делаем круг */
  cursor: pointer;                 /* Курсор-рука при наведении */
  transition: all 0.3s ease;       /* Плавное изменение при наведении */
  outline: none;                   /* Без рамки при фокусе */
  border: none;                    /* Убираем возможную границу (если кнопка) */
  margin-right: 10px;              /* Отступ справа, если рядом есть другие элементы */
}

.izbrannoe:hover {
  background-color: #02020c;       /* Тёмный фон при наведении */
  color: #8c8c90;                  /* Светло-серый цвет иконки при наведении */
}


.korzina {
width: auto; 
height: 38px !important;   
border-radius: 30px;
display: flex;
flex-direction: row;  
font-size: 14px; /* Размер шрифта */
padding: 2px 18px; /* Внутренние отступы: 10px сверху/снизу, 18px слева/справа */ 
text-align: center; /* Выравнивание текста по центру */
margin-left: 10px;
}

.menu-buttons {
    display: flex; /* Размещаем главные кнопки в ряд */
    gap: 10px; /* Расстояние между кнопками */
}


.telegram-button {
    margin-left: auto; /* Отодвигаем кнопку Telegram вправо */
}

.knopka-telegram {
    display: flex; /* Размещаем иконку и текст в одной строке */
    align-items: center; /* Выравнивание по вертикали */
    gap: 8px; /* Расстояние между текстом и иконкой */
    color: #8c8c90; /* Цвет текста - серый */
    background: none; /* Прозрачный фон */
    border: none; /* Убираем границу */
    padding: 10px 18px; /* Внутренние отступы */
    cursor: pointer; /* Делаем кнопку кликабельной */
    transition: all 0.3s ease; /* Плавный переход */
    font-size: 14px; /* Размер шрифта */
    font-weight: bold; /* Жирный шрифт */
    border-radius: 8px; /* Закругляем углы */
}

.knopka-telegram svg {
    width: 20px; /* Размер иконки */
    height: 20px; /* Размер иконки */
    fill: none; /* Убираем заливку */
    stroke: currentColor; /* Цвет иконки соответствует цвету текста */
    transition: stroke 0.3s ease; /* Плавное изменение цвета */
}

.knopka-telegram:hover {
    background: #02020c; /* Цвет фона при наведении */
    color: #ffffff; /* Белый текст */
    border-radius: 8px; /* Закругляем углы */
    padding: 10px 18px; /* Поддерживаем размер кнопки */
}

.knopka-telegram:hover svg {
    stroke: white; /* Делаем иконку белой при наведении */
}

.parent-container {
  position: relative; /* Родительский контейнер */
  /* Остальные стили для контейнера */
}

.svg {
    display: flex;
    align-items: center;
    height: 100%;
    width: auto;
    margin-left: 10px;
}

  

.levaya_storona {
display: flex;
width: 50%;
height: 42px;
}

.pravaya_storona {
display: flex;
width: 50%;
justify-content: right;
height: 42px;
}

#img16_9 {
width: 100%;
height: auto;
display: flex;
justify-content: center;
margin-top: 20px;  
}

.img img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: unset;
    display: block;
    max-width: 1200px;
    max-height: 690px
  }

.img {
position: relative;
display: inline-block; 
}


.left-side, .right-side {
  position: absolute; /* Абсолютное позиционирование */
  top: 42%; /* Смещение сверху на 42% относительно родителя */
  height: 40px; /* Высота блока 40px */
  width: 100px; /* Ширина блока 100px */
  display: flex; /* Отображение в виде flex-контейнера */
  align-items: center; /* Вертикальное выравнивание содержимого по центру */
  justify-content: center; /* Горизонтальное выравнивание содержимого по центру */
}

.left-side {
    left: 0;
}

.right-side {
    right: 0;
}

#Kartinka1, #Kartinka2, #Kartinka3 {
border-radius: 10px; 
}

 /* Описание 4х элементов из каталога Амулеты и тд.. */  
.runicjewelry {
    height: 40px;                /* Высота блока */
    bottom: 0;                   /* Привязка блока к нижнему краю (не влияет без position) */
    width: 100%;                 /* Блок занимает всю доступную ширину */
    padding-top: 20px;           /* Внутренний отступ сверху */
    margin: 50px auto 0;         /* Отступ сверху 50px, автоматическое центрирование по горизонтали, без отступа снизу */
    max-width: 1200px;           /* Максимальная ширина блока — 1200px */
    font-family: 'Forum';        /* Шрифт текста в блоке */
    line-height: 1.2;            /* Межстрочный интервал (1.2 от размера шрифта) */
    font-size: 28px;
}
 
.runicjewelry_price {
    
} 
  
 /* 4 элемента из каталога */  
.forthecatalog { 
    height: 280px;                  /* Высота контейнера */
    bottom: 0;                      /* Привязка к нижнему краю (не влияет без position) */
    width: 100%;                    /* Контейнер занимает всю доступную ширину */
    padding-top: 20px;              /* Внутренний отступ сверху */
    margin-top: 100px;              /* Внешний отступ сверху (смещение вниз на 100px) */
    display: flex;/* Включаем flex-контейнер для размещения элементов в одну линию */
    flex-wrap: wrap;
    max-width: 1200px;              /* Максимальная ширина контейнера — 1200px */
    margin: 0 auto;                 /* Центрирование контейнера по горизонтали */
    gap: 40px;                      /* Промежуток между элементами внутри контейнера */
    flex: 1 0 auto;
}


.catalog-item {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    height: 260px;
    flex: 0 0 260px; /* Не даст карточке растягиваться или сжиматься */
    border-radius: 8px; /* Скругленные углы */
    text-align: center; /* Центрирование текста */
    height: 260px;      /* Высота контейнера */
    position: relative; /* Для корректного размещения изображения */
    overflow: hidden;   /* Скрываем лишние части изображения */

    }

.catalog-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Изображение заполняет весь div, сохраняя пропорции */
    display: block;     /* Убирает лишние отступы */
    transition: filter 0.3s ease-in-out; /* Плавный переход */
    cursor: pointer; /* Курсор в виде руки */
}

.catalog-item:hover img {
    filter: brightness(1.2); /* Увеличение яркости */
}

.pricecatalog {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 0 auto;
    gap: 20px;
    height: 40px;
    margin-bottom: 20px;
}

.pricecataloggg {
    flex: 1;
    text-align: center;
    height: 40px;
    width: 260px;
    font-family: 'Forum', serif;    /* 🟢 Точный шрифт сайта */
    font-size: 18px;                /* 🟢 Размер, как у них */
    font-weight: normal;
    color: #f5f5f5;                 /* 🟢 Цвет, как у них */
    cursor: pointer;
    transition: color 0.3s ease;
}

.pricecataloggg:hover {
    color: #8c8c90;
}

/* Цена */
.product-price {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif; /* ✅ Точный шрифт для цены */
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  margin-top: 6px;
}




  
.pricerunicjewelry {
    max-width: 1200px;               /* Максимальная ширина контейнера */
    height: 300px;                   /* Высота контейнера */
    margin: 50px auto 0 auto;        /* Отступ сверху 50px, центрирование */
    display: flex;                   
    align-items: center;
    justify-content: center;
    background-image: url('2 (2).jpg'); /* Путь к изображению */
    background-size: cover;           /* Растягивание картинки на весь контейнер */
    background-position: center;       /* Центрирование картинки */
    border-radius: 20px;              /* Закругление углов */
    transition: filter 0.3s ease-in-out; /* Плавный переход */
    cursor: pointer; /* Курсор в виде руки */
}

.pricerunicjewelry:hover {
    filter: brightness(1.2); /* Увеличение яркости */
}

/* Контейнер из 2 элементов */
.twocatalog {
    height: 300px;                    /* Высота контейнера */
    max-width: 1200px;               /* Максимальная ширина контейнера */
    padding-top: 20px;                /* Внутренний отступ сверху */
    margin-top: 40px;                /* Внешний отступ сверху */
    display: flex;                    /* Flex для размещения в строку */
    justify-content: center;          /* Центрируем блоки по горизонтали */
    gap: 20px;                        /* Расстояние между блоками */
    margin-left: auto;
    margin-right: auto;              /* Центрируем по центру страницы */
}

/* Элемент каталога из 2 элементов*/
.twocatalog-item {
    flex: 1;                          /* Равная ширина */
    border-radius: 8px;              /* Скруглённые углы */
    text-align: center;              /* Центрируем содержимое */
    height: 300px;                   /* Высота блока */
    width: 520px;                    /* Фиксированная ширина */
    position: relative;              /* Для позиционирования вложенных элементов */
    overflow: hidden;                /* Обрезаем выходящие части */
}

/* Изображение внутри элемента из 2 элементов*/
.twocatalog-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;               /* Заполнение с сохранением пропорций */
    display: block;                  /* Убираем лишние отступы */
    transition: filter 0.3s ease-in-out; /* Плавное изменение фильтра */
    cursor: pointer;                /* Курсор-рука */
}

/* Эффект при наведении из 2 элементов*/
.twocatalog-item:hover img {
    filter: brightness(1.2);         /* Ярче при наведении */
}
  
/* Главный контейнер */
.catalogblock {
    height: 300px;                /* Высота всего блока, чуть больше чем у внутренних элементов */
    width: 100%;                  /* Растягиваем контейнер на всю ширину */
    padding-top: 20px;            /* Отступ сверху внутри блока */
    margin-top: 40px;            /* Внешний отступ сверху от предыдущего контента */
    display: flex;                /* Включаем flex-контейнер для горизонтального размещения элементов */
    justify-content: center;      /* Центрируем содержимое по горизонтали */
    gap: 20px;                    /* Расстояние между двумя блоками */
    max-width: 1200px;             /* Максимальная ширина контейнера */
    margin-left: auto;            /* Центрирование блока по горизонтали */
    margin-right: auto;           /* Центрирование блока по горизонтали */
}

/* Левый элемент (широкий) */
.catalogblock-left {
    
    height: 300px;                /* Фиксированная высота */
    width: 74%;
    border-radius: 8px;           /* Скругление углов */
    overflow: hidden;             /* Скрываем всё, что выходит за границы */
    position: relative;           /* Для будущего позиционирования, если нужно */
    text-align: center;           /* Центрируем текст внутри (если появится) */
}

/* Картинка внутри левого блока */
.catalogblock-left img {
    width: 100%;                  /* Картинка на всю ширину блока */
    height: 100%;                 /* Картинка на всю высоту блока */
    object-fit: cover;            /* Картинка обрезается по размеру блока, сохраняя пропорции */
    display: block;               /* Убираем лишние отступы */
    transition: filter 0.3s ease-in-out; /* Плавное появление эффекта при наведении */
    cursor: pointer;              /* Курсор в виде руки при наведении */
}

/* Эффект при наведении на левую картинку */
.catalogblock-left:hover img {
    filter: brightness(1.2);      /* Увеличиваем яркость картинки при наведении */
}

/* Правый элемент (узкий) */
.catalogblock-right {
    width: 30%;                /* Ширина блока */
    height: 300px;                /* Высота блока */
    border-radius: 8px;           /* Скруглённые углы */
    overflow: hidden;             /* Скрываем всё, что выходит за блок */
    position: relative;           /* Относительное позиционирование */
    text-align: center;           /* Центрируем текст внутри */
}

/* Картинка внутри правого блока */
.catalogblock-right img {
    width: 100%;                  /* Заполнение всей ширины */
    height: 100%;                 /* Заполнение всей высоты */
    object-fit: cover;            /* Адаптивное заполнение без искажения */
    display: block;               /* Убираем лишние отступы */
    transition: filter 0.3s ease-in-out; /* Плавный эффект при наведении */
    cursor: pointer;              /* Курсор-рука */
}

/* Эффект при наведении на правую картинку */
.catalogblock-right:hover img {
    filter: brightness(1.2);      /* Увеличиваем яркость при наведении */
}


    .background {
      fill: #1e2230;
      transition: fill 0.3s ease;
    }
    .background:hover {
      fill: #02020c;
    }
    .arrow {
      fill: #ffffff;
    }
    svg:focus {
      outline: none;
    }
    
    .favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: white;
  border: none;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  z-index: 1;
}

.favorite-btn:hover {
  transform: scale(1.1);
}

.heart-icon {
  width: 20px;
  height: 20px;
  stroke: #888;
  stroke-width: 2;
  fill: none;
  transition: stroke 0.3s, fill 0.3s;
}

.favorite-btn.active .heart-icon {
  stroke: red;
  fill: red;
}

.mob {
display: none;
}    
 

#glav {
display: flex;
align-items: center;
justify-content: center;	
width: 100%;
margin-top: 20px;	
}

#glav1 {	
max-width: 1200px;	
display: flex;
justify-content: space-evenly;
flex-direction: row;
align-items: center;	
}

#left_1 {
width: 50%;
border-radius: 10px;		
}

#right_1 {
  width: 50%;                  /* Ширина блока */

  display: flex;               /* Flex-контейнер */
  flex-direction: column;      /* Выстраиваем элементы по вертикали */
  align-items: flex-start;     /* Выравнивание по левому краю */
  justify-content: flex-start; /* Прижимаем содержимое к началу */

  line-height: 1.2;            /* Межстрочный интервал */
  font-weight: normal;         /* Толщина шрифта */
  font-size: 20px;             /* Размер шрифта */
  letter-spacing: 0.3px;     /* Чуть увеличенный межбуквенный интервал */


  margin-left: 20px;           /* Добавлен отступ слева */
  box-sizing: border-box;      /* Учитываем рамку и паддинг в размерах */

  gap: 15px;                    /* Отступ между внутренними div (по желанию) */
}


#price_tovar {
  font-size: 16px;             /* Уменьшенный размер шрифта */
}

/* выбор материала */
select {
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 12px; /* Размер шрифта */
  padding: 2px;    /* Отступы внутри списка */
  border: 1px solid #ddd; /* Граница вокруг списка */
  background-color: #fff; /* Цвет фона списка */
  color: #333;      /* Цвет текста */
  border-radius: 6px; /* Добавлено: Скругление углов */
}

/* Стили при фокусе на списке (когда пользователь кликает на него) */
select:focus {
  border-color: #007bff; /* Цвет границы при фокусе */
  outline: none;         /* Убираем контур вокруг списка при фокусе */
}

/* Стили для метки (подписи) перед списком */
label {
  margin-right: 10px;    /* Отступ справа от метки */
  font-size: 13px;
}


.text {
  font-size: 18px;     /* Размер шрифта */
  color: #ffffff;      /* Белый цвет текста */
}

.text p {
  margin-bottom: 10px; /* Отступ между абзацами */
}

#left_1 img {
max-width: 100%;
height: auto;  
} 

body {
position: relative; 
}
  
footer {
position: absolute;  
bottom: 0px;  
}

#tovar {
font-family: 'Forum', Arial, sans-serif;
font-size: 25px;
color: #ffffff;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.pricecatalogmobile {
  font-family: 'Forum', serif;
  font-size: 18px;
  font-weight: normal;
  color: #f5f5f5;
  text-align: center;
  margin-top: 10px;
}


/* =======================
   СТИЛИ ПОИСКА И СОРТИРОВКИ
======================= */
.search-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-box {
  display: flex;
  background-color: #f2f2f2;
  border-radius: 5px;
  overflow: hidden;
  width: 150px;
  height: 30px;
  border: 1px solid #ccc;
}

.search-box input[type="text"] {
  border: none;
  padding: 0 10px;
  font-size: 14px;
  outline: none;
  width: 100%;
  height: 100%;
  background-color: transparent;
  color: #333;
}

.search-box button {
  border: none;
  background-color: transparent;
  padding: 0 8px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box button svg {
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.search-box button:hover svg {
  stroke: #000;
  transform: scale(1.2);
}

.sort-select {
  width: 200px;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  margin-left: 20px;
}

/* =======================
   СТИЛИ КАТАЛОГА
======================= */
.favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: white;
  border: none;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  z-index: 1;
}

.favorite-btn:hover {
  transform: scale(1.1);
}

.heart-icon {
  width: 20px;
  height: 20px;
  stroke: #888;
  stroke-width: 2;
  fill: none;
  transition: stroke 0.3s, fill 0.3s;
}

.favorite-btn.active .heart-icon {
  stroke: red;
  fill: red;
}

.pricecatalogmobile {
  font-family: 'Forum', serif;
  font-size: 18px;
  font-weight: normal;
  color: #f5f5f5;
  text-align: center;
  margin-top: 10px;
}


























@media screen and (max-width: 950px) {

  header,
  .header-top,
  .header-bottom,
  .header-container,
  .footer-container,
  .pricecatalog,
  .twocatalog,
  .catalogblock {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .header-container, .header-top, .header-bottom {
  flex-direction: row;
  }
  
  .header-top {
  justify-content: space-evenly;
  }

  .levaya_storona,
  .pravaya_storona {
    width: 50%;
    justify-content: center;
  }

  .header-top-row {
    flex-direction: column;
    align-items: center;
  }

  .menu-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .knopka, .knopka_2, .knopochka, .knopka-telegram {
    text-align: center;
    margin: 5px 0;
  }
  
  .knopka-telegram {
  padding: 0px;
  }

  .search-container {
  width: 140px;
  box-sizing: border-box;
  margin-right: 0px;
  }

  .izbrannoe,
  .korzina {
    margin: 10px auto;
  }

  .twocatalog-item,
  .catalogblock-left,
  .catalogblock-right {
    width: 50%;
    box-sizing: border-box;
  }

  .twocatalog,
  .catalogblock {
    flex-direction: column;
    gap: 20px;
  }

  .runicjewelry {
    font-size: 22px;
    text-align: center;
    padding: 0 10px;
  }

  .pricerunicjewelry {
    height: 200px;
    border-radius: 10px;
    background-size: cover;
    margin: 30px auto 0;
  }

  .pricecataloggg {
    display: none;
  }

  .footer-container {
    flex-direction: column;
    padding: 0 15px;
  }

  .footer .buttons-container:not(:nth-of-type(2)) {
    display: none;
  }


  .buttons-container {
    width: 100%;
    align-items: center;
  }


  .left-side, .right-side {
    top: 35%;
    width: 50px;
    height: 30px;
  }
  
  
  .head-container {
  flex-direction: row;
  height: 40px;
  }
  
  .header-container {
  height: 42px;
  }
  
  .header-bottom {
  padding-top: 0px;
  margin-bottom: 20px;
    
  }

  .levaya_storona, .pravaya_storona {
  height: auto;
  }
  

   .background {
    fill: #1e2230;
  }

  .background:hover {
    fill: #02020c;
  }

  .arrow {
    fill: #ffffff;
  }

  svg:focus {
    outline: none;
  }

  .favorite-btn {
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  }

  .heart-icon {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
  }

  .catalog_price {
width: 100%;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}

.mob {
display: flex;
}
  
.kolonka {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;  
}  

    .forthecatalog {
        height: auto !important;        /* Важно, чтобы работал перенос */
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        height: auto;
    }
  
  .catalog-item {
    flex: 0 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    aspect-ratio: 1 / 1;
    height: auto; /* убери фиксированную высоту */
    flex-direction: column;
  } 
.catalog_price img {
border-radius: 10px;  
} 

.pc {
display: none;
}

#Kartinka1, #Kartinka2, #Kartinka3 {
border-radius: 10px; 
}  
  
  
  
.img img {
    max-width: 100%;
    height: auto;
}  
 
.img {
width: 95%; 
margin-bottom: 20px;
border-radius: 10px;

}
  
}  

  
#glav {
    flex-direction: column;
    height: auto;
  }

  #glav1 {
    flex-direction: column;
    height: auto;
    padding: 0 10px;
  }

  #left_1, #right_1 {
    width: 95%;
    height: auto;
  }

  #right_1 {
    font-size: 16px;
    gap: 10px;
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  #left_1 img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
  }



  .text {
    font-size: 16px;
    text-align: center;
    padding: 0 10px;
  }

  .text p {
    margin-bottom: 8px;
  }

  label {
    font-size: 12px;
    margin-bottom: 5px;
    display: inline-block;
  }

  select {
    font-size: 12px;
    padding: 6px;
  }

  #price_tovar {
    font-size: 14px;
    text-align: center;
  }

  #tovar {
  font-size: 20px;
  }

  footer {
  position: relative;  
  bottom: 0px;  
}

  .pricecatalogmobile {
    display: block;
  } 


.search-wrapper {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: flex-start;
  }

  .search-box {
    width: 100%;
    max-width: 100%;
    height: 36px;
  }

  .search-box input[type="text"] {
    font-size: 14px;
    padding: 0 10px;
  }

  .search-box button {
    padding: 0 10px;
  }

  .sort-select {
    width: 100%;
    font-size: 14px;
    margin-left: 0;
  }

  .favorite-btn {
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
  }

  .heart-icon {
    width: 18px;
    height: 18px;
  }

  .pricecatalogmobile {
    display: block;
  }

}
