@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --colorBG: #000b14;
  --colorText: #f2f2f2;
  --colorSoft: #f2f2f260;
  --colorInput: #31ebf21a;
  --colorA: #F8F32B;
  --colorB: #32edf2;
  --colorC: #1f8eff;
  --colorD: #53fc18;
  --colorE: #FF1F8E;
  --dropdown-color: #0a2f30;
}

body {
  background: var(--colorBG);
  color: var(--colorText);
  font-family: "Poppins", sans-serif;
}

.page-container {
  text-align: center;
  width: 1005px;
  margin: 0 auto;
}

.search-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto 2em auto;
  width: 95%;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}

.tag-item {
  display: flex;
  padding: 10px;
  height: 1em;
  line-height: 1em;
  background: #001b30;
  text-transform: uppercase;
  border-radius: 5px;
  font-weight: 500;
}

.tag-item:hover {
  background: var(--colorE);
}

.selected {
  background: var(--colorE);
}

.search-form-container {
  width: 30%;
}

.search-bar-form {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 2fr;
}

.search-bar-form input, .search-bar-form select {
  padding: 5px 10px;
  background: #001b30;
  color: #32edf2;
  border: 2px solid #1a3245;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
}

.widget-gallery-container {
  position: relative;
  z-index: 0;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  gap: 15px;
  text-align: left;
  justify-content: start;
  background: var(--colorBG);
  color: var(--colorText);
  overflow: hidden;
}

.gallery-item-container {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 1 calc(33% - 10px);
  min-width: 300px;
  box-sizing: border-box;
  gap: 10px;
  padding: 20px;
  background: rgba(0, 27, 48, 0.7);
  border-radius: 10px;
  overflow: hidden;
  transition: opacity ease-in-out 122225ms;
  z-index: -1;
}

.gallery-item-container.noti {
  background-color: var(--colorC);
}

.gallery-item-container.noti:hover {
  background-color: var(--colorC);
}

.gallery-item-container.noti .price {
  background-color: var(--colorText);
  color: var(--colorC);
}

.gallery-item-container:hover {
  background: rgba(0, 27, 48, 1);
  ;
}

.gallery-body {
  position: absolute;
  top: -100%;
  /* Start offscreen */
  left: 0;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  padding: 20px;
  background: rgba(31, 143, 255, 0.98);
  border-radius: 10px;
  overflow: scroll;
  transition: top .75s ease;
  /* Slide transition */
}

.show {
  top: 0;
}


.gallery-body::-webkit-scrollbar {
  display: none;
}

.item-description {
  font-size: .9em;
  font-weight: 500;
  color: var(--colorText);
}

.gallery-head {
  display: flex;
  gap: 20px;
}

.item-thumb {
  margin: auto 0;
}

.item-thumb img {
  min-height: 60px;
  max-height: 75px;
}

.item-thumb img:hover {
  filter: invert(41%) sepia(68%) saturate(7093%) hue-rotate(316deg) brightness(102%) contrast(108%);
}

.item-name {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 0;
  padding: 0 0 10px 0;
}

.item-name a:hover {
  color: var(--colorE);
}

.item-name h2,
h3 {
  margin: 0;
  padding: 0;
}

.item-name h2 {
  line-height: 1.1;
  margin-bottom: 5px;
}

.item-tagline {
  font-size: .9em;
  font-weight: 500;
  line-height: 1.35;
}

.gallery-foot {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  font-weight: 600;
  text-transform: uppercase;
}

.item-status {
  color: var(--colorC);
}

.item {
  display: flex;
  flex-direction: column;
}

.item-price {
  display: flex;
  justify-content: space-between;
  margin-top: .5em;
}

.price {
  background: var(--colorB);
  color: var(--colorBG);
  margin-right: auto;
  padding: 2px 6px;
  border-radius: 5px;
}

.money::before {
  content: '$';
  margin-right: .25em;
}

.item-info {
  width: 1.5em;
  height: 1.5em;
  padding: 2px;
  background: none;
  color: var(--colorText);
  border-radius: 50%;
  text-align: center;
  text-transform: lowercase;
  font-weight: 900;
}

.item-info:hover {
  background: var(--colorE);
  cursor: pointer;
}

.item-price .sale {
  background: var(--colorD);
}

.item-price .new {
  background: var(--colorE);
}

.item-price .hot {
  background: #FF2D1F;
}



.item-categories {
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
  margin-bottom: 5px;
  font-size: .8em;
  overflow: hidden;
  text-wrap: nowrap;
}

.category:hover {
  color: var(--colorE);
  cursor: pointer;
}

.category:not(:last-child)::after {
  content: ',';
}


@media (max-width: 1000px) {

  .page-container {
    width: 100%;
  }

  .gallery-item-container {
    flex-grow: 1;
  }
}

@media (max-width: 769px) {

  .page-container {
    width: 100%;
  }
  .gallery-item-container {
    flex-basis: calc(50% - 40px);
    min-width: 250px;
  }


}

@media (max-width: 500px) {

  .widget-gallery-container {
    flex-direction: column;
  }

  .gallery-item-container {
    flex-basis: 100%;
    max-width: 480px;
  }


}