/* Shop by Frame Shape Section */
.shop-shapes-section {
  padding: 50px 0;
  background-color: #fff;
  border-top: 1px solid #f0f0f0;
}

.shop-shapes-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.shop-shapes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.shop-shapes-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.shop-shapes-view-all {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.shop-shapes-view-all:hover {
  background: #f5f5f5;
}

.shop-shapes-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 10px;
  /* Hide scrollbar for clean look */
  scrollbar-width: none; 
  -ms-overflow-style: none;
}

.shop-shapes-grid::-webkit-scrollbar {
  display: none;
}

.shop-shapes-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  min-width: 130px;
  padding: 25px 15px 20px;
  text-decoration: none;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  flex: 1;
}

.shop-shapes-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  border-color: #dfc282;
}

.shop-shapes-icon {
  width: 70px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.shop-shapes-icon svg {
  width: 100%;
  height: 100%;
}

.shop-shapes-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

/* Responsive */
@media (max-width: 1200px) {
  .shop-shapes-grid {
    gap: 10px;
  }
  .shop-shapes-card {
    min-width: 110px;
    padding: 20px 10px 15px;
  }
  .shop-shapes-icon {
    width: 60px;
    height: 35px;
  }
}

@media (max-width: 900px) {
  .shop-shapes-grid {
    justify-content: flex-start;
  }
  .shop-shapes-card {
    flex: 0 0 calc(25% - 15px);
  }
}

@media (max-width: 600px) {
  .shop-shapes-card {
    flex: 0 0 calc(40% - 10px);
  }
}
