@import url(base/_index.css);
@import url(globals/_index.css);
@import url(header.css);
@import url(footer.css);

/* filter */

.filter__section {
 position: relative;
 margin-top: 9px;
}

.filter__container {
 position: relative;
 display: flex;
 flex-wrap: wrap;
 gap: 30px;
 border-radius: 10px;
 padding: 20px;
 background: var(--csgo-background-secondary-dark-slate-gray);
}

.filter__container::after {
 content: url(../image/shop-bg-header.svg);
 position: absolute;
 top: -120px;
 right: -100px;
 z-index: var(--z-index-0);
}

.filter__burger {
 font-family: var(--font-family);
 display: flex;
 gap: 18px;
 align-items: center;
 font-weight: 400;
 font-size: 20px;
 line-height: 1;
 text-align: center;
 color: var(--csgo-text-secondary-light-gray);
}

.filter__search-line,
.filter__sort-line,
.filter__price-block {
 width: 30%;
 display: flex;
 gap: 20px;
 align-items: center;
 padding: 16px 29px;
 border-radius: 20px;
 background: var(--csgo-background-secondary-slate-gray);
}

.filter__search-line input,
.filter__sort-line input,
.filter__price-block input {
 width: 100%;
 font-family: var(--font-family);
 font-weight: 400;
 font-size: 20px;
 line-height: 1;
 color: var(--csgo-text-secondary-light-gray);
 background-color: transparent;
}

.filter__price-blocks {
 display: flex;
 gap: 4px;
 align-items: center;
}

.filter__price-line {
 content: '';
 width: 24px;
 height: 2px;
 background-color: var(--csgo-background-secondary-slate-gray);
}


/* aside */

.check__filter {
 height: 100vh;
 border-radius: 10px;
 background: var(--csgo-background-secondary-dark-slate-gray);
}

/* main */

.main__container {
 padding: 0;
 display: flex;
 gap: 10px;
 margin-top: 7px;
 margin-bottom: 130px;
}

.check__filters {
 position: relative;
 width: 15%;
 height: fit-content;
 border-radius: 10px;
 padding: 12px;
 background: var(--csgo-background-secondary-dark-slate-gray);
 display: flex;
 gap: 46px;
 flex-direction: column;
}

.check__filters::after {
 position: absolute;
 content: url(../image/icons/wow-bg.svg);
 z-index: var(--z-index-0);
 bottom: -200px;
}

.main__block {
 width: 85%;
}

.filter {
 display: flex;
 flex-direction: column;
 gap: 15px;
}

.filter label {
 display: flex;
 gap: 7px;
 align-items: center;
 font-family: var(--font-family);
 font-weight: 400;
 font-size: 18px;
 line-height: 1;
 letter-spacing: 0.01em;
 text-transform: capitalize;
 color: var(--csgo-text-secondary-light-gray);
}

.filter__title {
 font-family: var(--font-family);
 font-weight: 400;
 font-size: 20px;
 line-height: 1;
 letter-spacing: 0.01em;
 text-transform: capitalize;
 color: var(--csgo-text-secondary-light-gray);
}

.filter input[type="checkbox"] {
 -webkit-appearance: none;
 -moz-appearance: none;
 appearance: none;
 width: 20px;
 height: 20px;
 margin: 0;
 position: relative;
 outline: none;
}

.filter input[type="checkbox"]::before {
 content: '';
 position: absolute;
 width: 18px;
 height: 18px;
 border: 2px solid var(--csgo-text-secondary-light-gray);
 border-radius: 3px;
 background-color: transparent;
 transition: all 0.2s ease;
}

.filter input[type="checkbox"]:checked::before {
 background-color: var(--csgo-text-secondary-light-gray);
 border-color: var(--csgo-text-secondary-light-gray);
}

.filter input[type="checkbox"]:checked::after {
 content: url(../image/icons/check-filter.svg);
 position: absolute;
 width: 8px;
 height: 6px;
 top: 10%;
 left: 42%;
 transform: translate(-50%, -50%);
 color: var(--csgo-background-secondary-dark-slate-gray);
 font-size: 14px;
}

.factory-new input {
 position: relative;
}

.factory-new input::after {
 content: url(../image/icons/almaz-2.svg);
}

.exterior__filter label p {
 display: flex;
 justify-content: center;
 align-items: center;
 font-weight: 500;
 font-size: 6px;
 line-height: 1;
 color: var(--csgo-background-secondary-dark-slate-gray);
 border-radius: 6px;
 width: 17px;
 height: 17px;
}

.factory-new-icon {
 background: var(--csgo-background-surface-sea-green);
}

.minimal-wear-icon {
 background: var(--csgo-background-surface-forest-green);
}

.field-tested-icon {
 background: var(--csgo-background-surface-olive-green);
}

.well-worn-icon {
 background: var(--csgo-background-surface-burnt-sienna);
}

.battle-scarred-icon {
 background: var(--csgo-background-surface-maroon);
}

.consumer-grade {
 color: var(--csgo-text-secondary-light-gray);
}

.industrial-grade {
 color: #559fe2;
}

.mil-spec-grade {
 color: #4159d0;
}

.restricted {
 color: #7b51cf;
}

.classified {
 color: #a64bb5;
}

.covert {
 color: #f74083;
}

.filter__reset-btn {
 font-family: var(--font-family);
 width: 100%;
 padding: 12px;
 border: 1px solid var(--csgo-background-secondary-slate-gray);
 border-radius: 20px;
 font-weight: 400;
 font-size: 20px;
 line-height: 1;
 letter-spacing: 0.01em;
 text-transform: capitalize;
 text-align: center;
 color: var(--csgo-text-secondary-light-gray);
 background: var(--csgo-background-secondary-slate-gray);
}

.filter__reset-btn:hover {
 opacity: .9;
}

/* ===== */

/* card style */

.card-info-inner {
 height: 60px;
 display: flex;
 flex-direction: column;
 justify-content: end;
}

.card-info {
 display: flex;
 gap: 5px;
 flex-direction: column;
}

.card-descr {
 width: 100%;
 font-family: var(--font-family);
 font-weight: 400;
 font-size: 16px;
 line-height: 1;
 color: var(--csgo-text-secondary-light-gray);
}

.card-title {
 font-family: var(--font-family);
 font-weight: 400;
 font-size: 16px;
 line-height: 1;
 color: var(--lottery-background-secondary-white);
}

.card-price {
 font-family: var(--font-family);
 font-weight: 400;
 font-size: 20px;
 line-height: 1;
 color: var(--lottery-background-secondary-white);
}

.card {
 width: 210px;
 border: var(--border);
 padding: 18px 14px;
 border-radius: 10px;
 -webkit-backdrop-filter: blur(10px);
 backdrop-filter: blur(10px);
 background: radial-gradient(151.92% 127.02% at 15.32% 21.04%, #6e2281 0%, rgba(93, 45, 105, 0.22) 82.83%, rgba(212, 70, 160, 0) 100%);
}

.card__img-cover-inner {
 width: 178px;
 height: 178px;
}

.card__img-cover {
 width: 100%;
}

/* deals section */
.deals__section {
 position: relative;
 padding: 234px 20px 254px;
 background-image: url(../image/deals-bg.png);
 background-size: cover;
 background-position: center;
 background-repeat: no-repeat;
}

.deals__cards {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 5px;
 align-items: stretch;
}

.deals__card-inner {
 position: relative;
 display: flex;
 flex-direction: column;
 height: 100%;
}

.deals__card {
 position: relative;
 height: 100%;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 align-items: stretch;
 transition: var(--transition);
}

.deals__card--hover {
 position: absolute;
 height: fit-content;
 z-index: var(--z-index-2);
 transform: scale(1.1);
 transform: translateY(-5%);
 -webkit-backdrop-filter: blur(10px);
 backdrop-filter: blur(10px);
 background: radial-gradient(158.23% 162.38% at 28.23% 17.06%, #1b4a81 0%, rgba(27, 74, 129, 0.5) 55.32%, rgba(55, 103, 149, 0.38) 80.68%, rgba(70, 153, 212, 0) 100%);
}

.deals__card--hover .buttons__block,
.deals__card--hover .card__like-btn {
 display: flex;
 visibility: visible;
 opacity: 1;
 max-height: fit-content;
}

.buttons__block {
 display: flex;
 gap: 6px;
 justify-content: space-between;
 margin-top: 19px;
}

.buttons__block,
.card__like-btn {
 transition: var(--transition);
 display: none;
 visibility: hidden;
 opacity: 0;
 max-height: 0;
}

.card__like-btn {
 z-index: var(--z-index-3);
 position: absolute;
 top: 10px;
 right: 10px;
 display:none !important;
}

.button__buy-now {
 height: 31px;
 padding: 13px 28px;
 width: 100%;
 background: url(../image/button-hover-bg.svg) 0% 0% / cover no-repeat;
 font-size: 14px;
}


.float-slider {
 width: 100%;
 padding: 4px 0;
}

.float-track {
 position: relative;
 height: 2px;
 border-radius: 4px;
 background: linear-gradient(to right,
   #00ffff 0%,
   #00ff00 25%,
   #ffff00 50%,
   #ffa500 75%,
   #ff0000 100%
  );
 box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.5);
}

.float-indicator {
 position: absolute;
 top: -4px;
 width: 2px;
 height: 14px;
 background: white;
 border-radius: 1px;
 box-shadow: 0 0 2px #000;
}

.sort-select,
.sort-select:focus {
  background: var(--csgo-background-secondary-slate-gray);
  color: var(--csgo-text-secondary-light-gray);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  border: transparent !important;
  outline: none; 
}

.sort-select option {
  background: var(--csgo-background-secondary-slate-gray);
  color: var(--csgo-text-secondary-light-gray);
}


.custom-select-wrapper {
  position: relative;
  user-select: none;
}


.custom-select-trigger {
    font-weight: 400;
    background: var(--csgo-background-secondary-slate-gray);
    color: #ccc;
    padding: 15px 30px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    border: transparent;
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}


.custom-select-wrapper.open .custom-select-trigger {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}


.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #3b2b4f;
  border: transparent;
  border-top: none;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  display: none;
  z-index: 9;
}


.custom-select-wrapper.open .custom-options {
  display: block;
}

.custom-option {
    padding: 15px 30px;
    color: #ccc;
    cursor: pointer;
    background: var(--csgo-background-secondary-slate-gray);
    font-weight: 400;
}

.custom-option:hover,
.custom-option.selected {
    color: #fff;
    background: rgba(0, 0, 0, 0.12);
}

.custom-select-arrow {
  display: inline-block;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
}


.custom-select-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 20px 15px;
}

input[type="search"]::-webkit-search-cancel-button {
    cursor: pointer;
}





.filter.exterior__filter label,
.filter label{
  cursor: pointer;
}


.filter__burger {
  cursor: default;
}