/* 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-container {
  display: flex;
  min-height: 100vh;
  background-color: #fff;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Left Sidebar - Categories */
.shop-sidebar {
  width: 280px;
  background-color: #fff;
  padding: 20px 30px 40px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
  border-right: 1px solid #e5e5e5;
}

/* Sidebar Header */
.sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.page-indicator {
  font-size: 24px;
  color: #000;
  font-weight: 300;
}

.sidebar-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: #000;
  letter-spacing: 0;
}

/* Sort By Header */
.sort-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.sort-icon {
  font-size: 20px;
  color: #000;
}

.sort-text {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.5px;
}

/* Category Section */
.category-section {
  margin-bottom: 30px;
}

.section-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
  text-transform: uppercase;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 8px;
}

.category-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
  line-height: 1.5;
  letter-spacing: 0;
}

.category-link:hover {
  text-decoration: underline;
  color: #000;
}

.category-link.active {
  font-weight: 700;
}

/* Designers List */
.designers-list {
  max-height: 400px;
  overflow-y: auto;
}

.designers-list::-webkit-scrollbar {
  width: 4px;
}

.designers-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.designers-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}

.designers-list::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Right Content - Products Grid */
.shop-content {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  margin: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
}

/* Product Card */
.product-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background-color: #fff;
  border: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

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

.product-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background-color: #f5f5f5;
}

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

/* Product Info */
.product-info {
  padding: 15px 0;
  background: #fff;
}

.product-brand {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 5px 0;
  letter-spacing: 0.5px;
}

.product-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 8px 0;
  color: #000;
  letter-spacing: 0;
  display: block;
}

.product-price {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #000;
  letter-spacing: 0;
  display: block;
}

.product-currency {
  font-size: 14px;
  font-weight: 600;
}

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

@media (max-width: 1400px) {
  .shop-sidebar {
    width: 240px;
    padding: 20px 20px 40px 15px;
  }

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

  .category-link {
    font-size: 13px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 1200px) {
  .shop-sidebar {
    width: 220px;
    padding: 15px 15px 30px 10px;
  }

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

  .category-link {
    font-size: 12px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

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

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

@media (max-width: 968px) {
  .shop-container {
    flex-direction: column;
  }

  .shop-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 20px;
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
  }

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

  .category-section {
    margin-bottom: 20px;
  }

  .designers-list {
    max-height: 200px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

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

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

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

  .shop-content {
    padding: 10px;
  }

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

  .category-link {
    font-size: 13px;
  }

  .product-name {
    font-size: 12px;
  }

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

  .product-info {
    padding: 10px 0;
  }
}

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

/* Scrollbar Styling for Sidebar */
.shop-sidebar::-webkit-scrollbar {
  width: 6px;
}

.shop-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.shop-sidebar::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.shop-sidebar::-webkit-scrollbar-thumb:hover {
  background: #999;
}
