@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');

* { padding: 0px; margin: 0px; border: 0px; box-sizing: border-box;}
:root {
	--green: #9240fa;
	--red: #9880ff;
	--text: #0F1925;
}
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-thumb { 
    background: linear-gradient(180deg, #7E2DE0 0%, #312690 100%);
      border-radius: 1rem;
}
html, body {
	position: relative;
	height: 100%;
	min-width: 320px;
}
html {
	background: #201638;
background: radial-gradient(circle,rgba(32, 22, 56, 1) 0%, rgba(15, 19, 26, 1) 58%, rgba(35, 42, 79, 1) 100%);
	/*background-image: url('../../assets/img/template/bg.png');*/
	background-repeat: repeat;
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
}
body {
	line-height: 1;
	color: white;
	 font-family: "Onest", sans-serif;
  font-style: normal;
	font-size: 1rem;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	
}
input, button, textarea {
	font-family: "Onest";
	font-size: inherit;
	outline: none;
	border: 1px solid transparent;
}
button {
	cursor: pointer;
	color: inherit;
	background-color: inherit;
}
input::-webkit-search-decoration, input::-webkit-search-cancel-button, input::-webkit-search-results-button, input::-webkit-search-results-decoration {
	display: none;
}
a {
	color: inherit;
}
a:link, a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
ul li {
	list-style: none;
}
img {
	vertical-align: top;
}
h1, h2, h3, h4, h5, h6 {
    color: white;
	font-weight: inherit;
	font-size: inherit;
}
h1, h2 {
    font-size: 1.3rem;
    background: #232a3b;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
}
.wrapper {
    padding: 1rem 0 1rem 0;
}
[class*=__container], .container {
	width: 100%;
	max-width: 1200px;
	padding: 0 0.9375rem;
	margin: 0 auto;
}
.header {
    background-color: #1f2430;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 15px 30px rgba(255, 80, 0, 0.22);
}
.logo {
    font-size: 22px;
    font-weight:bold;
    text-transform: uppercase;
}
.logo span:first-child {
    color: var(--green);
}
.main-menu {
    display: flex;
    column-gap: 0.75rem;
}
.main-menu a {
    transition: all .3s ease;
}
.main-menu a:hover {
    color: var(--green);
}

@media (max-width: 1070px) {
    .main-menu {
        display: none;
    }
}
@media (max-width: 800px) {
    .logo {
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
    }
}
.menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    /*text-transform: uppercase;*/
    font-size: 16px;
}
.menu a {
    padding: 0.5rem 1em;
    border-radius: 0.5rem;
}
.menu a:first-child {
    border: 1px solid #7E2DE0;
    border-radius: 0.5rem;
	color: white;
	font-size: 14px;
}
.menu a:last-child {
	border: 1px solid #7E2DE0;
    background: linear-gradient(90deg, #7E2DE0 0%, #312690 100%);
    box-shadow: 0px 0px 30px rgba(116, 44, 215, 0.5);
    border-radius: 0.5rem;
	color: white;
	font-size: 14px;
}
#burger-icon {
    display: none;
}
@media (max-width: 600px) {
    .header {
        padding: 0.8rem 0.7rem;
        position: relative;
    }
    .logo {
        padding-left: 50px;
    }
    #burger-icon {
        display: flex;
        position: absolute;
        top: 50%;
        left: 0.5rem;
        transform: translateY(-50%);
        font-size: 30px;
        font-weight: 700;
        cursor: pointer;
    }
    .menu {
        gap: 0.4rem;
        font-size: 13px;
    }
    .menu a {
        padding: 0.35rem 0.7em;
        border-radius: 0.4rem;
        min-width: 0;
        width: auto;
    }
    .menu a:first-child {
        display: none;
    }
}

/* слайдер */
.slider {
  position: relative;
  width: 1200px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0,0,0,0.3);
  background: #222;
  margin: 2rem auto;
  display: flex;
  align-items: stretch;
}

.slider__slides {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slider__slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background-size: cover;
  background-position: center;
}

.slider__slide.active {
  opacity: 1;
  z-index: 1;
}

.slider__text {
  position: absolute;
  top: 30px; left: 30px;
  background: rgba(15,25,37,0.8);
  padding: 18px 28px;
  border-radius: 1rem;
  color: #fff;
  font-size: 22px;
  line-height: 2rem;
  font-weight: 600;
  max-width: 500px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.slider__button {
  position: absolute;
  right: 40px;
  bottom: 30px;
  min-width: 160px;
  padding: 20px 50px;
  border-radius: 1rem;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: filter 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  z-index: 2;
}

.slider__image {
  position: absolute;
  right: 220px;
  bottom: 0;
  height: 85%;
  max-width: 650px;
}

.slider__arrow {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
.slider__arrow img {
  width: 40px;
  height: 40px;
}
.slider__arrow--left {
  left: 10px;
}
.slider__arrow--right {
  right: 10px;
}
.slider__arrow:hover {
  background: rgba(0,0,0,0.45);
}
@media (max-width: 1220px) {
  .slider {width: 1000px;}
}
@media (max-width: 1020px) {
  .slider {width: 100%;}
}
/* Планшеты */
@media (max-width: 900px) {
  .slider {
    width: 98vw;
    height: 200px;
  }
  
  .slider__text {
    font-size: 1rem;
    padding: 10px 14px;
    top: 10px; left: 10px;
    max-width: 50vw;
     line-height: 1.5rem;
  }
  .slider__button {
    font-size: 0.9rem;
    right: 14px;
    bottom: 12px;
    padding: 10px 20px;
    min-width: 90px;
  }
  .slider__image {
    right: 80px;
    height: 65%;
    max-width: 180px;
  }
}

/* Мобильные */
@media (max-width: 600px) {
  .slider {
    width: 100vw;
    min-width: 320px;
    height: 150px;
    border-radius: 0.7rem;
    margin: 1rem auto;
  }
  .slider__text {
    font-size: 0.9rem;
    padding: 7px 10px;
    top: 8px; left: 8px;
    max-width: 60vw;
  }
  .slider__button {
    font-size: 0.81rem;
    right: 8px;
    bottom: 8px;
    min-width: 0;
    padding: 7px 13px;
    border-radius: 0.6rem;
  }
  .slider__image {
    right: 5vw;
    bottom: 0;
    height: 55%;
    max-width: 90px;
  }
  .slider__arrow {
    width: 30px;
    height: 30px;
  }
  .slider__arrow img {
    width: 18px;
    height: 18px;
  }
}

/* На очень маленьких экранах (320-400px) */
@media (max-width: 400px) {

  .slider__text {
    font-size: 0.9rem;
    max-width: 88vw;
  }
  .slider__image {
    display: none;
  }
}
/* Подкорректируй стили под свой дизайн по желанию */

/* фильтры и поиск */
.filters__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.375rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.filters__tabs a {
  position: relative;
  color: #fff;
  opacity: 0.8;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  border: none;
  background: none;
  padding: 0 0 0.4rem 0;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.filters__tabs a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 3px;
  border-radius: 2px;
  background: white;
  opacity: 0;
  transform: scaleX(0);
  transition: 
    opacity 0.2s, 
    transform 0.24s cubic-bezier(.6,.01,.5,1.3);
}

.filters__tabs a.active::after {
  background: #FF4747; /* красная черта */
  opacity: 1;
  transform: scaleX(1);
}

.filters__tabs a:hover::after,
.filters__tabs a:focus-visible::after {
  background: #fff;
  opacity: 1;
  transform: scaleX(1);
}

.filters__tabs a.active {
  opacity: 1;
}
/* Tabs */
.filters__tabs {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.2rem;
  margin-bottom: 1.4rem;
  justify-content: center; /* Центрируем меню фильтров */
}

/* Поиск */
/* Общий стиль для блока поиска */
#searchForm {
  display: flex;
  align-items: center;
  max-width: 430px; /* Максимальная ширина */
  width: 100%;
  margin: 0 auto; /* Центрирование, по желанию */
  background: transparent;
}

/* Стиль для поля ввода */
#searchForm input[type="text"] {
  flex: 1; /* занимает всё свободное пространство */
  padding: 0.7rem 3.2rem 0.7rem 1.2rem;
  border: 2px solid #fff;
  border-radius: 12px;
  background: transparent;
  font-size: 1.12rem;
  color: #fff;
  outline: none;
  transition: border 0.2s;
}

/* Стиль для кнопки — справа */
/* Родительский контейнер формы */
#searchForm {
  display: flex; /* Расположить всё по горизонтали */
  align-items: center; /* Вертикальное выравнивание по центру */
  max-width: 430px; /* Максимальная ширина */
  width: 100%;
  margin: 0 auto; /* Центрировать по горизонтали */
  background: transparent; /* Фон прозрачный, при необходимости */
}

/* Инпут занимает всё, что возможно */
#searchForm input[type="text"] {
  flex: 1; /* растянуться по ширине */
  padding: 0.7rem 3.2rem 0.7rem 1.2rem; /* внутренние отступы */
  border: 2px solid #fff; /* граница */
  border-radius: 12px; /* скругление */
  background: transparent; /* прозрачное поле */
  font-size: 1.12rem; /* размер шрифта */
  color: #fff; /* цвет текста */
  outline: none; /* убрать outline при фокусе */
  box-sizing: border-box; /* чтобы padding не влиял на ширину */
}

/* Кнопка справа */
#searchForm button {
  margin-left: 10px; /* отступ слева */
  background: var(--green); /* цвет фона кнопки */
  border: none;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  /* если есть тень или эффект — добавь сюда */
}

/* Иконка внутри кнопки */
#searchForm button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Селекты */
.filters__selects {
  display: flex;
  gap: 1rem;
  justify-content: center;  /* Центрируем фильтры */
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.filters__select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  opacity: 0.85;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0.35rem 0.55rem 0.35rem 0.5rem;
  border-radius: 0.6em;
  transition: background 0.17s, opacity 0.16s;
  outline: none;
  user-select: none;
}
.filters__select:hover,
.filters__select:focus {
  background: rgba(255,255,255,0.06);
  opacity: 1;
}
.filters__select img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}
.filters__select .filters__arrow {
  width: 21px;
  height: 21px;
  margin-left: 0.13rem;
  opacity: 0.7;
  transition: transform 0.23s;
}

/* Открытый селект: поворот стрелки */
.filters__select.open .filters__arrow {
  transform: rotate(180deg);
}

/* Выпадающий список */
.filters__dropdown {
  display: none;
  position: absolute;
  top: 110%; left: 0;
  min-width: 190px;
  width: max-content;
  background: #181B20;
  border-radius: 0.8em;
  box-shadow: 0 12px 36px 0 rgba(0,0,0,0.32);
  z-index: 100;
  padding: 0.35em 0.2em;
  border: 1.4px solid rgba(255,255,255,0.03);
  animation: dropdownShow 0.23s cubic-bezier(.6,.01,.5,1.3);
}
@keyframes dropdownShow {
  from { opacity: 0; transform: translateY(-8px);}
  to { opacity: 1; transform: translateY(0);}
}
.filters__select.open .filters__dropdown {
  display: block;
}

/* Элемент списка */
.filters__dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.7em;
  color: #fff;
  padding: 0.52em 1.1em 0.52em 1.05em;
  font-size: 1.04em;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.89;
  transition: background 0.17s, opacity 0.15s;
  border-radius: 0.5em;
  white-space: nowrap;
}
.filters__dropdown-item:hover,
.filters__dropdown-item.active {
  background: rgba(255,255,255,0.08);
  opacity: 1;
}
.filters__dropdown-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 10%;
}

/* Адаптив */
@media (max-width: 950px) {
  .filters__tabs {
    font-size: 0.98rem;
  }
  .filters__selects {
    gap: 1.1rem;
  }
}
@media (max-width: 700px) {
  .filters__tabs {
    font-size: 0.85rem;
    gap: 1rem;
  }
    .filters__tabs a {
    font-size: 0.85rem;
    gap: 1rem;
  }
  .filters__search-row {
    margin-bottom: 0.8rem;
  }
  .filters__selects {
    gap: 0.7rem;
  }
}
@media (max-width: 600px) {
  .filters__dropdown {
    min-width: 120px;
    font-size: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (max-width: 500px) {
  .filters__tabs {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
  .filters__search input {
    font-size: 0.95rem;
    padding: 0.5rem 2.2rem 0.5rem 0.6rem;
    border-radius: 8px;
  }
  .filters__search button {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }
  .filters__search button img {
    width: 15px;
    height: 15px;
  }
  .filters__selects {
    gap: 0.3rem;
  }
  .filters__select {
    font-size: 0.92rem;
    padding: 0.1rem 0.25rem 0.1rem 0.1rem;
    border-radius: 0.4em;
  }
  .filters__select img {
    width: 14px;
    height: 14px;
  }
  .filters__select .filters__arrow {
    width: 11px;
    height: 11px;
  }
}

/* товары */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1.7rem;
}

.product {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  /*background: #23252A;*/
  border-radius: 1.2rem;
  overflow: hidden;
  min-height: 250px;
  box-shadow: 0 8px 32px 0 rgba(20,20,22,0.13);
  padding: 0;
  transition: box-shadow 0.17s, transform 0.16s;
  position: relative;
  height: auto;
  background: #cf99ff;
background: radial-gradient(circle,rgba(207, 153, 255, 0.17) 15%, rgba(255, 255, 255, 0.05) 100%);
}

.product:hover {
  box-shadow: 0 14px 38px 0 rgba(255,80,0,0.14), 0 1.5px 4px rgba(0,0,0,0.04);
  transform: translateY(-3px) scale(1.02);
}

.product__info {
  flex: 1 1 0;
  padding: 1.3rem 0.8rem 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  z-index: 2;
  min-width: 0;
}

.product__title {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

.product__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.22rem;
}

.product__flag img {
  width: 22px;
  height: 16px;
  object-fit: contain;
  border-radius: 3px;
  background: #222;
}

.product__tier {
  color: #fff;
  font-size: 1rem;
  opacity: 0.75;
}

.product__features {
  margin: 0 0 1.3rem 0;
  padding: 0;
  list-style: none;
}
.product__features li {
  color: #c6c8cc;
  font-size: 1.01rem;
  margin-bottom: 0.08em;
  font-weight: 400;
  opacity: 0.82;
  line-height: 1.15;
  position: relative;
  padding-left: 0;
}

.product__price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.7rem;
  margin-top: auto;
  z-index: 2;
  position: relative;
}

.product__old-price {
  color: #ff4a4a;
  font-size: 1.13rem;
  font-weight: 500;
  text-decoration: line-through;
  opacity: 0.7;
  margin-bottom: 0.1em;
}

.product__price {
  color: var(--green);
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 0.1em;
  letter-spacing: 0.01em;
}

/* Картинка танка теперь flex-элемент, а не absolute! */
.product__image {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex: 0 0 46%;
  /* ширина картинки — регулируй под желаемый размер */
  min-width: 0;
  margin-right: -36px; /* смещаем вправо за пределы карточки */
  margin-bottom: -18px; /* смещаем вниз за пределы карточки */
  z-index: 1;
  pointer-events: none;
}

.product__image img {
  width: 150%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  filter: brightness(1) contrast(1.15);
  user-select: none;
  pointer-events: none;
  display: block;
}

@media (max-width: 900px) {
  .products {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
  }
  .product {
    min-height: 150px;
  }
  .product__image {
    margin-right: -18px;
    margin-bottom: -10px;
    flex-basis: 50%;
  }
  .product__image img {
    max-height: 150px;
  }
}

@media (max-width: 600px) {
  .products {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .product {
    min-height: 120px;
  }
  .product__image {
    margin-right: -8px;
    margin-bottom: -6px;
    flex-basis: 54%;
  }
  .product__image img {
    max-height: 135px;
  }
}
/* конец товаров */

/* пагинация */
.pagination {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin: 2.2rem 0 0 0;
}
.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--red);
  border-radius: 7px;
  color: #fff;
  font-size: 1.15rem;
  background: none;
  transition: background 0.13s, color 0.13s;
  text-decoration: none;
  font-weight: 500;
}
.pagination__item.active,
.pagination__item:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
/* */
/* Общий стиль футера */
.footer {
  background-color: #1f2430; /* ваш фон */
  color: #aaa; /* цвет текста, чуть светлее фона */
  padding: 2rem 1rem;
  font-family: "Onest", sans-serif;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Верхняя часть: логотип + меню */
.footer-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer .logo {
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  letter-spacing: 0.05em;
}

.footer .menu {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer .menu a {
  color: #aaa;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer .menu a:hover {
  color: #fff;
}

/* Общий стиль футера */
.footer {
  background-color: #0f1925; /* ваш фон */
  color: #aaa;
  padding: 2rem 1rem;
  font-family: "Onest", sans-serif;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Верхняя часть: логотип + меню */
.footer-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

/* Логотип */
.footer-logo {
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  letter-spacing: 0.05em;
}

/* Меню в футере */
.footer-menu {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.footer-menu a {
  color: #aaa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-menu a:hover {
  color: #fff;
}

/* Логотипы и иконки платежей */
.footer-logos {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-logos img {
  height: 40px;
  max-width: 100px;
  object-fit: contain;
}

/* Нижняя часть */
.footer-bottom {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.4;
}
.footer-bottom p {
  margin-bottom: 0.4rem;
}
.footer-bottom a {
  color: #777;
  text-decoration: underline;
  font-weight: 400;
  margin: 0 0.5rem;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: #aaa;
}

/* Адаптив */
@media(max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-menu {
    justify-content: center;
  }
  .footer-logos {
    justify-content: center;
  }
}