/* Container */
#cs-ic-section {
  padding: 40px 20px;
  max-width: 1400px;
  margin: auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f9fc;
}

/* Heading */
.cs-ic-heading {
  font-size: 32px;
  margin: 40px 0 20px;
  color: #003f6b;
  border-left: 5px solid #00aaff;
  padding-left: 16px;
  line-height: 1.2;
}

/* Filters (Search + Sort) */
.cs-ic-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px;
  padding: 8px 16px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  flex-wrap: wrap;
}

.cs-ic-filters input,
.cs-ic-filters select {
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.3s ease;
  flex: 1 1 200px;
  min-width: 0;
}

.cs-ic-filters input:focus,
.cs-ic-filters select:focus {
  border-color: #00aaff;
  outline: none;
}

.cs-ic-filters select {
  cursor: pointer;
}

/* Product Grid: 3 Columns */
.cs-ic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.cs-ic-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cs-ic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* Image not cropped */
.cs-ic-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.7s ease;
}

.cs-ic-card:hover img {
  transform: scale(1.21);
}

/* Card Content */
.cs-ic-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cs-ic-card-content h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: #003f6b;
  line-height: 1.2;
}

.cs-ic-card-content p {
  font-size: 14px;
  color: #555;
  flex-grow: 1;
}

/* Buttons Container */
.cs-ic-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Button Base Style */
.cs-ic-btn {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 40px;
  text-decoration: none !important;
  color: #fff !important;
  min-width: 120px;
  flex: 1;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  z-index: 1;
  letter-spacing: 0.4px;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  background: #888; /* fallback */
}

/* Shimmer Effect */
.cs-ic-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  z-index: 0;
  transition: all 0.4s ease;
}

.cs-ic-btn:hover::before {
  left: 0;
}

.cs-ic-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
  color: #fff !important;
}

/* Button Color Variants */
.cs-ic-btn.orange {
  background: linear-gradient(135deg, #ff9924, #ffa94d);
}

.cs-ic-btn.blue {
  background: #fff;
  Color: #000 !important;
  border: 1px solid #000;
}

/* No Results */
#cs-ic-no-results {
  text-align: center;
  font-size: 1.1rem;
  color: #777;
  margin: 2rem 0;
}

/* Responsive Layout */
@media (max-width: 1024px) {
  .cs-ic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cs-ic-grid {
    grid-template-columns: 1fr;
  }

  .cs-ic-filters {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .cs-ic-filters input,
  .cs-ic-filters select {
    font-size: 14px;
    padding: 10px 12px;
    flex: 1 1 100%;
  }

  .cs-ic-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cs-ic-btn {
    width: 100%;
  }
}
