/* KHAITE Shop Page Styles */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
}

main {
  margin: 0;
  padding: 0;
}

/* Shop Header */
.shop-header {
  width: 100%;
  background-color: #f8f6f3;
  padding: 80px 0 60px 0;
  text-align: center;
}

.shop-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.shop-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.shop-main-title {
  font-size: 72px;
  font-weight: 400;
  color: #7a9b8e;
  margin: 0 0 40px 0;
  letter-spacing: 12px;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.1;
}

.shop-subtitle-container {
  text-align: center;
  max-width: 600px;
}

.shop-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #666666;
  margin: 0 0 10px 0;
  line-height: 1.6;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.shop-subtitle:last-child {
  margin-bottom: 0;
}

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

.shop-products-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  width: 100%;
}

.shop-product-item {
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.shop-product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.shop-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: #ffffff;
}

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

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

.shop-product-info {
  text-align: center;
  padding: 20px 15px;
  background-color: #ffffff;
}

.shop-product-name {
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  margin: 0 0 8px 0;
  text-align: center;
  line-height: 1.4;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

/* Responsive Design for Shop Page */
@media (max-width: 1400px) {
  .shop-header {
    padding: 35px 50px 25px 50px;
  }

  .shop-products-section {
    padding: 0 50px 50px 50px;
  }

  .shop-products-grid {
    gap: 35px;
  }

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

@media (max-width: 1200px) {
  .shop-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .shop-header {
    padding: 30px 40px 20px 40px;
  }

  .shop-products-section {
    padding: 0 40px 40px 40px;
  }

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

  .shop-control-btn {
    font-size: 15px;
  }

  .shop-controls {
    gap: 25px;
  }
}

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

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

  .shop-products-section {
    padding: 0 30px 35px 30px;
  }

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

  .shop-control-btn {
    font-size: 14px;
  }

  .shop-controls {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .shop-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .shop-products-grid {
    gap: 20px;
  }

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

  .shop-products-section {
    padding: 0 25px 30px 25px;
  }

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

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

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

  .shop-product-info {
    margin-bottom: 15px;
  }
}

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

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

  .shop-products-section {
    padding: 0 20px 25px 20px;
  }

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

  .shop-control-btn {
    font-size: 13px;
  }

  .shop-controls {
    gap: 18px;
  }

  .shop-product-name {
    font-size: 12px;
    margin-bottom: 6px;
  }

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

  .shop-product-image {
    margin-bottom: 15px;
  }
}

@media (max-width: 360px) {
  .shop-products-grid {
    gap: 12px;
  }

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

  .shop-products-section {
    padding: 0 18px 20px 18px;
  }

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

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

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

/* Loading State */
.shop-products-grid.loading {
  opacity: 0.6;
}

/* Empty State */
.shop-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666666;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.shop-empty-state h3 {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 10px 0;
  color: #000000;
}

.shop-empty-state p {
  font-size: 14px;
  margin: 0;
  color: #666666;
}
