/* Shop Page Styles */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

main {
  margin: 0;
  padding: 0;
}

/* Shop Header */
.shop-header {
  width: 100%;
  background-color: #ffffff;
  padding: 30px 40px 20px 40px;
  border-bottom: 1px solid #e0e0e0;
}

.shop-header-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shop-title {
  font-size: 20px;
  font-weight: 400;
  color: #000000;
  margin: 0;
  letter-spacing: 0.5px;
  font-family: "Arial", "Helvetica Neue", sans-serif;
}

.filters-button {
  background-color: transparent;
  border: 1px solid #000000;
  color: #000000;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Arial", "Helvetica Neue", sans-serif;
}

.filters-button:hover {
  background-color: #000000;
  color: #ffffff;
}

/* Shop Products Section */
.shop-products-section {
  width: 100%;
  background-color: #ffffff;
  padding: 0;
}

.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 100%;
  margin: 0 auto;
}

.shop-product-item {
  position: relative;
  width: 100%;
  padding-bottom: 150%;
  overflow: hidden;
  background-color: #fafafa;
  cursor: pointer;
  border: 1px solid #f0f0f0;
}

.shop-product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.shop-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.shop-product-item:hover .shop-product-image img {
  transform: scale(1.05);
}

.shop-product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 60%,
    transparent 100%
  );
  padding: 20px 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.shop-product-item:hover .shop-product-overlay {
  opacity: 1;
}

.shop-product-name {
  font-size: 15px;
  font-weight: 400;
  color: #000000;
  margin: 0 0 6px 0;
  text-align: left;
  line-height: 1.3;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  letter-spacing: 0.3px;
}

.shop-product-price {
  font-size: 13px;
  font-weight: 400;
  color: #666666;
  margin: 0;
  text-align: left;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  letter-spacing: 0.3px;
}

/* Responsive Design for Shop Page */
@media (max-width: 1200px) {
  .shop-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .shop-header {
    padding: 25px 30px 18px 30px;
  }

  .shop-title {
    font-size: 18px;
  }

  .filters-button {
    font-size: 13px;
    padding: 7px 18px;
  }
}

@media (max-width: 768px) {
  .shop-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-header {
    padding: 20px 20px 15px 20px;
  }

  .shop-title {
    font-size: 16px;
  }

  .filters-button {
    font-size: 12px;
    padding: 6px 15px;
  }

  .shop-product-name {
    font-size: 14px;
  }

  .shop-product-price {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .shop-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-product-item {
    padding-bottom: 160%;
  }

  .shop-header {
    padding: 18px 15px 12px 15px;
  }

  .shop-title {
    font-size: 15px;
  }

  .filters-button {
    font-size: 11px;
    padding: 6px 12px;
  }

  .shop-product-name {
    font-size: 13px;
  }

  .shop-product-price {
    font-size: 11px;
  }

  .shop-product-overlay {
    padding: 15px 12px;
  }
}
