/*====================================
  Clean4U Checklist Widget CSS
====================================*/

.c4u-checklist-section {
  /* Brand Colors */
  --c4u-bright-blue: #51e2f5;
  --c4u-blue-green: #9df9ef;
  --c4u-dusty-white: #edf756;
  --c4u-pink-sand: #ffa8b6;
  --c4u-dark-sand: #a28089;
  
  /* Neutral Colors */
  --c4u-white: #ffffff;
  --c4u-off-white: #f8fafc;
  --c4u-light-gray: #f5f7fa;
  --c4u-medium-gray: #e2e8f0;
  --c4u-dark-gray: #2d3748;
  --c4u-text-dark: #1a202c;
  --c4u-text-medium: #4a5568;
  
  --c4u-success-green: #10b981;
  --c4u-gradient-blue: linear-gradient(135deg, #51e2f5, #9df9ef);
  --c4u-gradient-subtle: linear-gradient(135deg, #f8fafc, #ffffff);
  
  --c4u-font-primary: 'Inter', sans-serif;
  --c4u-font-display: 'Space Grotesk', sans-serif;
  
  box-sizing: border-box;
}

.c4u-checklist-section * { box-sizing: border-box; }

.c4u-checklist-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  font-family: var(--c4u-font-primary);
  background: var(--c4u-gradient-subtle);
  position: relative;
  overflow: hidden;
}

.c4u-checklist-container {
  max-width: 1600px;
  margin: 0 auto;
}

/* Header */
.c4u-checklist-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: c4uFadeInUp 0.6s ease;
}

@keyframes c4uFadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.c4u-checklist-title {
  font-family: var(--c4u-font-display);
  font-size: clamp(1.875rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--c4u-text-dark);
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.c4u-checklist-subtitle {
  font-size: 1.125rem;
  color: var(--c4u-text-medium);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid */
.c4u-checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

@media (min-width: 1024px) {
  .c4u-checklist-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Card */
.c4u-checklist-card {
  background: var(--c4u-white);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  border: 1px solid var(--c4u-medium-gray);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.c4u-checklist-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: var(--c4u-bright-blue);
}

/* Card Image */
.c4u-checklist-image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--c4u-light-gray);
  flex-shrink: 0;
}

.c4u-checklist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.c4u-checklist-card:hover .c4u-checklist-image img { transform: scale(1.08); }

/* Content */
.c4u-checklist-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  overflow-y: auto;
  max-height: 400px;
}

.c4u-checklist-card-title {
  font-family: var(--c4u-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c4u-text-dark);
  margin: 0;
}

/* Items */
.c4u-checklist-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.c4u-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--c4u-light-gray);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.c4u-checklist-item:hover {
  background: var(--c4u-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.c4u-checklist-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--c4u-success-green);
}

.c4u-checklist-text {
  font-size: 0.95rem; color: var(--c4u-text-medium); line-height: 1.6;
}

.c4u-checklist-item.checked .c4u-checklist-icon { opacity: 0.5; }
.c4u-checklist-item.checked .c4u-checklist-text { text-decoration: line-through; opacity: 0.7; }