/* Шрифт Onest подключается через Google Fonts в layouts/site.blade.php.
   Локальные @font-face убраны: файлов fonts/Onest-*.ttf в проекте нет,
   и они перебивали шрифт из Google Fonts, роняя типографику в засечки. */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Заголовок страницы для поисковика и скринридера.

   На главной и в списке блога готовый дизайн заголовка не предусматривает —
   страница начинается сразу с баннера/табов. Убирать h1 совсем нельзя: без
   него у страницы нет главного заголовка ни для поиска, ни для навигации с
   экранным диктором. Поэтому h1 в разметке есть, но выведен за пределы
   видимой области — display:none и visibility:hidden для этого не годятся,
   их скринридер тоже пропускает. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:root {
  --bg-color: #ffffff;
  --text-color: #222222;
  --accent-color: #4f46e5;
  --gray: #6b7280;
}

html {
  scroll-behavior: smooth;
  background-color: rgba(10, 11, 15, 1);
  overflow-x: hidden;
}

img {
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-drag: none;
  -ms-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

a {
  cursor: pointer;
}

input:focus {
  border: 1px solid transparent !important;
}

a:hover {
  text-decoration: none !important;
}

body {
  background-color: rgba(10, 11, 15, 1);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
  /* Запасные шрифты обязательны: без них любой сбой загрузки Onest
     роняет всю типографику витрины в дефолтные засечки браузера. */
  font-family: Onest, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
}

main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 16px 0;
  padding-bottom: 16px;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
  margin: 0;
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0;
  color: var(--gray);
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  background: var(--accent-color);
  color: white;
  cursor: pointer;
  transition: opacity 0.2s ease;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

input {
  border: 1px solid transparent !important;
}

input:focus {
  outline: none;
  border: none;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/*  */
.navigation-item-c-slider {
  transition: .2s;
}

.navigation-item-c-slider:hover {
  transition: .2s;
  background-color: rgba(232, 128, 35, 1);
}

.steam-refil-logo-promo-but {
  transition: .2s;
}

.steam-refil-logo-promo-but:hover {
  transition: .2s;
  background-color: rgb(31, 33, 35);
}

.valute-type {
  transition: .2s;
  cursor: pointer;
}

.valute-type:not(.active):hover {
  transition: .2s;
  background-color: rgb(31, 33, 35);
}

.steam-r-buy-button {
  transition: .2s;
  cursor: pointer;
}

.steam-r-buy-button:hover {
  transition: .2s;
  background-color: rgba(232, 128, 35, 1);
}

.slider-next,
.slider-prev {
  transition: .2s;
}

.slider-next:hover,
.slider-prev:hover {
  transition: .2s;
  background-color: rgba(255, 255, 255, 0.15);
}

.main-page-catalog-content-item,
.main-page-catalog-content-item-footer-pr,
.state-card,
.state-card-content-footer>div {
  transition: .2s;
}

.state-card:hover .state-card-content-footer>div {
  transition: .2s;
  background-color: rgba(35, 37, 39, 1);
}

.state-card:hover {
  transition: .2s;
  background-color: rgba(28, 30, 32, 1);
}

.main-page-catalog-content-item:hover .main-page-catalog-content-item-footer-pr {
  transition: .2s;
  background-color: rgba(35, 37, 39, 1);
}

.main-page-catalog-content-item:hover {
  transition: .2s;
  background-color: rgba(28, 30, 32, 1);
}

.footer-footer-line-a:hover {
  color: rgba(192, 195, 205, 1);
  transition: .2s;
}

.open-catalog-nav-item,
.open-catalog-content-item,
.modal-header-extrance-body-step-1-item,
.modal-header>img,
.footer-first-line-socials-item,
.footer-first-line-nav-item,
.footer-footer-line-a {
  transition: .2s;
  cursor: pointer;
}

.footer-first-line-nav-item:hover,
.footer-first-line-socials-item:hover {
  transition: .2s;
  background-color: rgba(26, 27, 29, 1);
  border: 1px solid rgba(26, 27, 29, 1)
}

.open-catalog-content-item:hover,
.modal-header-extrance-body-step-1-item:hover,
.modal-header:hover>img {
  transition: .2s;
  background-color: rgba(34, 35, 38, 1);
}

.open-catalog-nav-item:hover {
  transition: .2s;
  background-color: rgba(26, 27, 29, 1);
}

.user-profile-header-info>div {
  transition: .2s;
}

.user-profile-header-info:hover>div {
  transition: .2s;
  background-color: rgba(255, 141, 40, 1);
  color: rgba(50, 32, 17, 1);
}

.user-profile-links-item,
.share-first-line-socials-item {
  transition: .2s;
}

.share-first-line-socials-item {
  transition: .2s;
}

.share-first-line-socials-item:hover {
  transition: .2s;
  background-color: rgba(41, 42, 46, 1);
}

.user-profile-links-item:hover {
  transition: .2s;
  background-color: rgba(41, 42, 46, 1);
}



.add-comment-inpu-wrapper:hover {
  transition: .2s;
  background-color: rgba(34, 35, 38, 1)
}

.add-comment-inpu-wrapper,
.add-comment-inpu-wrapper>input {
  transition: .2s;
}

.history-orders-list-item-footer-repeat:not(.active):hover,
.history-navigation-item:not(.active):hover {
  transition: .2s;
  background-color: rgba(41, 42, 46, 1);
}

.history-orders-list-item-footer-repeat,
.history-navigation-item {
  transition: .2s;
}

.scores-items-list-item-footer>p,
.bonuses-trade-list-item-counter-progress-btn {
  transition: .2s;
}

.scores-items-list-item-footer:hover>p,
.bonuses-trade-list-item-counter-progress-btn:hover {
  transition: .2s;
  background-color: rgba(232, 128, 35, 1);
  color: rgba(50, 32, 17, 1);
}

.bonuses-trade-list-item-left>div>p>a,
.coupon-list-item-footer>div,
.history-orders-list-item-footer-review {
  transition: .2s;
}

.coupon-list-item-footer:hover>div,
.history-orders-list-item-footer-review:hover {
  transition: .2s;
  background-color: rgba(232, 128, 35, 1);
  color: rgba(50, 32, 17, 1);
}

.bonuses-trade-list-item-left:hover>div>p>a {
  transition: .2s;
  color: rgba(232, 128, 35, 0.8);
}

.history-orders-list-item-center>a,
.history-orders-chat-bttn {
  transition: .2s;
}

.history-orders-chat-bttn:hover {
  transition: .2s;
  background-color: rgba(232, 128, 35, 1);
}

.history-orders-list-item-center>a:hover {
  transition: .2s;
  color: #ffffffa6;
}

.product-info-navigation-item,
.product-sell-counter-field-count {
  transition: .2s;
}

.product-sell-counter-field-count:hover {
  transition: .2s;
  background-color: rgba(45, 47, 51, 0.8);
  color: rgb(200, 205, 220);
}

.product-info-navigation-item:not(.active):hover {
  transition: .2s;
  background-color: rgba(45, 47, 51, 0.8);
}

.product-sell-buy-field-cart,
.avatar-change-bttn-load,
.product-sell-buy-field-cart img {
  transition: .2s;
}

.product-sell-buy-field-cart:hover,
.avatar-change-bttn-load:hover {
  background-color: rgba(232, 128, 35, 1);
  transition: .2s;
}

.product-sell-cupon-button,
.product-sell-cupon-button img {
  transition: .2s;
}

.product-sell-cupon-button:hover img {
  transition: .2s;
  filter: invert(15%) sepia(80%) saturate(400%) hue-rotate(-30deg) brightness(30%) contrast(120%);
}

.product-sell-cupon-button:hover {
  background-color: rgba(255, 141, 40, 1);
  color: rgba(50, 32, 17, 1);
  transition: .2s;
}

.select-current {
  transition: .2s;
}

.select-current:hover {
  transition: .2s;
  background-color: rgba(30, 31, 35, 1);
}

.reffs-banner-header-info-bttn {
  transition: .2s;
}

.reffs-banner-header-info-bttn:hover {
  transition: .2s;
  background-color: rgba(232, 128, 35, 1);
}

.copy-bttn,
.avatar-change-bttn,
.settings-field-right,
.exit-order {
  transition: .2s;
}

.copy-bttn:hover,
.avatar-change-bttn:hover,
.settings-field-right:hover,
.exit-order:hover {
  transition: .2s;
  background-color: rgb(33, 33, 33);
}

.vip-status-info-right-bttn {
  transition: .2s;
}

.vip-status-info-right-bttn:hover {
  transition: .2s;
  background-color: rgba(255, 141, 40, 1);
  color: rgba(50, 32, 17, 1);
}

.vip-status-info-advantage-list-item {
  cursor: default;
}

.steam-product-type-bttn,
.steam-product-valute-bttn,
.steam-page-faq-header-bttn,
.stean-repl-page>input {
  transition: .2s;
}

.stean-repl-page>input:hover {
  transition: .2s;
  background-color: rgb(36, 37, 38);
}

.replenishment-types-item,
.replenishment-types-item>div,
.steam-page-content-replenishment-bttn {
  transition: .2s;
}

.replenishment-types-item:not(.active):hover {
  background: rgba(255, 141, 40, 0.14);
  color: white;
}

.replenishment-types-item:not(.active).replenishment-types-item>div:hover {
  background-color: rgba(255, 255, 255, 0.06);
  transition: .2s;
}

.steam-product-type-bttn:not(.active):hover,
.steam-product-valute-bttn:not(.active):hover,
.steam-page-faq-header-bttn:not(.active):hover {
  transition: .2s;
  background-color: rgb(33, 33, 33);
  color: rgba(255, 255, 255, 0.96);
}

.steam-page-content-replenishment-bttn {
  cursor: pointer;
}

.steam-page-content-replenishment-bttn:hover,
.payment-info-buy-bttn:hover,
.bttn-in:hover {
  background-color: rgba(232, 128, 35, 1);
  transition: .2s;
}

.vauchers-list-item,
.payment-info-buy-bttn,
.bttn-in {
  transition: .2s;
}

.vauchers-list-item:hover {
  transition: .2s;
  transform: scale(1.02);
}

.offerta-nav-tage-first {
  transition: .2s;
}

.offerta-nav-tage-first:not(.active):hover {
  transition: .2s;
  background-color: rgb(38, 41, 45);
}

.payment-info-field-in {
  transition: .2s;
}

.payment-info-field-in:hover {
  transition: .2s;
  background-color: rgba(34, 35, 38, 1);
}

.payment-info-field-in input {
  transition: .2s;
}

.payment-info-field-in:hover input {
  transition: .2s;
  background-color: rgba(34, 35, 38, 1);
}

.product-search-list-items-item {
  transition: .2s;
  cursor: pointer;
}

.product-search-list-items-item:hover {
  transition: .2s;
  background-color: rgba(28, 30, 32, 1);
}

.main-page-catalog-content-item-footer-pr,
.product-search-list-show,
.show-more {
  transition: .2s;
}

.product-search-list-show:hover,
.show-more:hover {
  transition: .2s;
  background-color: rgba(255, 141, 40, 1);
  color: rgba(50, 32, 17, 1);
}

.product-search-list-items-item:hover .main-page-catalog-content-item-footer-pr {
  transition: .2s;
  background-color: rgba(35, 37, 39, 1) !important;
}

/*  */
.accordion-header {
  width: 100%;
  padding: 10px;
  background: rgba(26, 27, 29, 1);
  color: white;
  font-family: Onest;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: background 0.2s;
}

.accordion-header:hover {
  background: rgba(45, 47, 51, 1);
}

.accordion-arrow-wrapper {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background-color: rgba(37, 39, 42, 1);
}

.accordion-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(21, 22, 24, 1);
  border-radius: 8px;
  padding: 0 16px;
  box-sizing: border-box;
}

.accordion-body p {
  font-family: Onest;
  font-weight: 600;
  font-style: Semibold;
  font-size: 14px;
  line-height: 30px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: white;
}

.accordion-tage {
  display: flex;
  gap: 12px;
  align-items: center;
}

.accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 141, 40, 1);
  color: rgba(50, 32, 17, 1);
  font-size: 24px;
}

.accordion-header {
  background-color: rgba(26, 27, 29, 1);
  border-radius: 8px;
  transition: .3s;
}

.accordion-body {
  background-color: rgba(21, 22, 24, 1);
  border-radius: 0 0 8px 8px;
  border-top: 1px solid transparent;
  transition: .3s;
}

.accordion-item.open .accordion-header {
  background-color: rgba(32, 34, 37, 1);
  border-radius: 8px 8px 0 0;
}

.accordion-item.open .accordion-body {
  background-color: rgba(32, 34, 37, 1);
  border-top: 1px solid rgba(45, 47, 51, 1);
  padding: 16px;
  box-sizing: border-box;
}

.slide-recomm {
  max-width: 227px;
  height: 100%;
}

textarea:focus {
  border: 1px solid rgba(33, 34, 37, 1);
  outline: none;
}

.textarea-ticket {
  width: 100%;
  max-width: 320px;
  height: 160px;
  position: relative;
}

.textarea-ticket textarea {
  width: 100%;
  height: 100%;
  padding: 8px;
  box-sizing: border-box;
  resize: none;
  background: rgba(26, 27, 29, 1);
  border-radius: 10px;
  border: 1px solid rgba(33, 34, 37, 1);

  font-family: Onest;
  font-weight: 600;
  font-style: Semibold;
  font-size: 10px;
  line-height: 10px;
  letter-spacing: 0%;
  color: white
}

.char-counter {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: Onest;
  font-weight: 600;
  font-style: Semibold;
  font-size: 10px;
  line-height: 10px;
  letter-spacing: 0%;
  color: rgba(108, 109, 112, 1);
  padding: 4px;
  border-radius: 4px;
  background-color: rgba(41, 43, 46, 1);
}

input:hover {
  border: 1px solid rgba(31, 33, 36, 1);
  background-color: rgba(34, 35, 38, 1);
  transition: .2s;
}

@media (max-width: 1250px) {
  .container {
    padding: 0 15px !important;
    width: 100%;
    margin: 0 auto;
  }

  main {
    padding-top: 10px !important;
  }
}

@media (max-width: 500px) {
  .accordion-tage {
    font-size: 12px;
  }

  .accordion-icon {
    width: 24px;
    font-size: 15px;
    height: 24px;
  }

  .accordion-arrow-wrapper {
    width: 18px;
    height: 18px;
  }

  .accordion-arrow-wrapper>img {
    width: 12px;
    height: 12px;
  }

  .accordion-body p {
    font-size: 11px;
    line-height: 12px
  }
}
