* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Urbanist', sans-serif;
}

body {
  background: #fff;
  color: #000;
}

/* HERO */
.hero img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* TOP BAR */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 40px;
}

.sort select {
  border: none;
  outline: none;
  margin-left: 5px;
}

/* LAYOUT */
.layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
}

/* FILTER */
.filter p {
  font-size: 14px;
  margin-bottom: 12px;
  cursor: pointer;
  color: #777;
}

.filter .active {
  color: #000;
  font-weight: bold;
}

/* PRODUCTS */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 60px;
}

/* PRODUCT CARD */
.product {
  position: relative;
}

.product img {
  width: 100%;
  margin-bottom: 20px;
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-media {
  position: relative;
}

.product-media img {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

.product-media .product-img {
  display: block;
  width: 100%;
  height: auto;
}

.product-media .product-img.secondary {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.product-media .product-img.primary {
  transition: opacity 0.25s ease;
}

.product:hover .product-media .product-img.secondary {
  opacity: 1;
}

.product:hover .product-media .product-img.primary {
  opacity: 0;
}

.quick-view {
  position: absolute;
  bottom: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.quick-view::before {
  content: "";
  width: 18px;
  height: 18px;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

/* BADGE */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #000;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
}

/* TEXT */
.product h3 {
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-transform: uppercase;
  text-align: center;
}

.collection {
  font-size: 14px;
  color: #777;
  margin-bottom: 12px;
  text-align: center;
}

.description {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 14px;
  text-align: center;
}

.price {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .products {
    grid-template-columns: 1fr;
  }
  
  /* Mobile: Hide secondary image, use zoom effect instead */
  .product-media .product-img.secondary {
    display: none;
  }
  
  .product-media .product-img.primary {
    transition: transform 0.3s ease;
  }
  
  .product:active .product-media .product-img.primary,
  .product:hover .product-media .product-img.primary {
    transform: scale(1.05);
    opacity: 1;
  }
  
  .product h3 {
    font-size: 20px;
  }
  
  .collection {
    font-size: 16px;
  }
  
  .description {
    font-size: 15px;
  }
  
  .price {
    font-size: 18px;
  }
}
