@import url('/fonts/fonts.css');

/* -- Base --------------------------------------------------------------- */

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

body,
html {
  background-color: #a1a1a1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

a {
  color: antiquewhite;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: color 0.2s ease;
}

a:visited {
  color: antiquewhite;
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: black;
  }
}

/* -- Nav --------------------------------------------------------------- */

.grid-container0 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: calc(50px + 2vh);
  padding: 0 2vw;
  background-color: rgba(161, 161, 161, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nav-title {
  color: antiquewhite;
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 400;
  padding-top: 2vh;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* -- Contact corner ----------------------------------------------------- */

.contact-corner {
  position: fixed;
  bottom: 3vh;
  right: 2vw;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(250, 235, 215, 0.55);
  text-decoration: none;
  z-index: 200;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .contact-corner:hover {
    color: black;
  }
}

/* -- Store Main Box ----------------------------------------------------- */

.store-main-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92vw;
  height: 85vh;
  background: #8c8c8c;
  border-radius: 8px;
  border: 2px solid rgba(206, 27, 27, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -- Products Grid ------------------------------------------------------ */

.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6vw;
  justify-content: center;
  align-items: center;
  padding: 2vw;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4vh;
  text-decoration: none;
  cursor: pointer;
}

.icon-wrap {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid rgba(206, 27, 27, 0.4);
  background: #7a7a7a;
  transition: border-color 0.4s ease, width 0.4s ease, height 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .icon-wrap {
    width: 300px;
    height: 300px;
    border-color: rgba(206, 27, 27, 0.75);
  }

  .product-card:hover .card-label {
    color: antiquewhite;
  }
}

.icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 235, 215, 0.6);
  transition: color 0.2s ease;
}

/* -- Mobile ------------------------------------------------------------- */

@media (max-width: 860px) {
  body,
  html {
    overflow-y: auto;
    height: auto;
  }

  .grid-container0 {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .store-main-box {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: calc(100vw - 4vw);
    height: auto;
    min-height: 70vh;
    margin: calc(44px + 3vh) auto 2vh;
  }

  .products-grid {
    gap: 8vw;
    padding: 4vw;
  }

  .icon-wrap {
    width: 140px;
    height: 140px;
    border-radius: 8px;
  }

  .contact-corner {
    position: static;
    display: block;
    text-align: center;
    padding-bottom: 2vh;
  }
}
