/* Shop page — category grid */
.shop-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  justify-items: center;
  margin: 40px auto;
  width: 90vw;
  max-width: 1100px;
}

.shop-product {
  width: 480px;
  height: 270px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.13);
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
  background-color: transparent;
}

.shop-product-title {
  font-family: 'Rubik', sans-serif;
  font-size: 44px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  margin: 0;
  background: rgba(0, 0, 0, 0.22);
  padding: 12px 0 8px;
  width: 100%;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  box-sizing: border-box;
  z-index: 2;
}

.shop-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
}

.shop-product:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .shop-products {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .shop-product {
    width: 95vw;
    max-width: 480px;
    height: 180px;
  }
}

@media (max-width: 700px) {
  .shop-products {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 15px;
    margin: 20px auto;
  }

  .shop-product {
    width: 95%;
    max-width: 380px;
    height: 180px;
    margin: 0 auto;
  }

  .shop-product-title {
    font-size: 42px;
    line-height: 1.2;
  }
}
