@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --oes-primary: #16a34a;
  --oes-radius: 16px;
  --oes-card-bg: #ffffff;
  --oes-card-border: #e5e7eb;
  --oes-filter-active: #16a34a;
  --oes-title-color: #111827;
  --oes-desc-color: #6b7280;
  --oes-tag-color: #374151;
  --oes-tag-bg: #f9fafb;
  --oes-fs-title: 16px;
  --oes-fs-desc: 13px;
  --oes-fs-btn: 14px;
  --oes-fs-filter: 14px;
}

.oes-sf-wrap { font-family: 'Poppins', sans-serif; padding: 20px 0; width: 100%; }

.oes-sf-header { text-align: center; margin-bottom: 32px; }
.oes-sf-title { font-size: 1.9rem !important; font-weight: 700 !important; color: var(--oes-title-color) !important; margin: 0 0 8px 0 !important; }
.oes-sf-subtitle { color: var(--oes-desc-color); font-size: 1rem; margin: 0 !important; }

.oes-sf-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.oes-filter-btn {
  padding: 9px 22px; border-radius: 50px; border: 1.5px solid #e5e7eb;
  background: #fff; color: #374151; font-size: var(--oes-fs-filter); font-weight: 500;
  cursor: pointer; transition: all 0.22s ease; font-family: 'Poppins', sans-serif; outline: none;
}
.oes-filter-btn:hover { border-color: var(--oes-primary); color: var(--oes-primary); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.oes-filter-btn.active { background: var(--oes-filter-active); border-color: var(--oes-filter-active); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }

.oes-sf-grid { display: grid; gap: 20px; width: 100%; }
@media (max-width: 1024px) { .oes-sf-grid { grid-template-columns: repeat(var(--oes-col-tablet, 2), 1fr) !important; } }
@media (max-width: 600px) { .oes-sf-grid { grid-template-columns: repeat(var(--oes-col-mobile, 1), 1fr) !important; } }

/* CARD */
.oes-sf-card {
  background: var(--oes-card-bg); border-radius: var(--oes-radius);
  border: 1.5px solid var(--oes-card-border); padding: 22px 20px 18px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.28s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
  animation: oesFadeIn 0.35s ease both;
}
.oes-sf-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--oes-primary), #4ade80);
  opacity: 0; transition: opacity 0.28s;
}
.oes-sf-card:hover { transform: translateY(-5px); box-shadow: 0 10px 32px rgba(0,0,0,0.10); border-color: #bbf7d0; }
.oes-sf-card:hover::before { opacity: 1; }
.oes-sf-card.oes-hidden { display: none; }

/* Card clickable link overlay */
.oes-card-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--oes-radius); }
.oes-whatsapp-btn { position: relative; z-index: 2; }
.oes-card-tags { position: relative; z-index: 2; }

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

.oes-card-top { display: flex; align-items: center; justify-content: space-between; }
.oes-card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }

.oes-available-badge { display: flex; align-items: center; gap: 5px; font-size: 0.74rem; font-weight: 600; padding: 4px 10px; border-radius: 50px; }
.oes-available-badge.available { color: var(--oes-primary); background: color-mix(in srgb, var(--oes-primary) 12%, white); }
.oes-available-badge.unavailable { color: #9ca3af; background: #f3f4f6; }
.oes-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; animation: oesPulse 1.8s infinite; }
.available .oes-dot { background: var(--oes-primary); }
.unavailable .oes-dot { background: #9ca3af; animation: none; }
@keyframes oesPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.oes-card-title { font-size: var(--oes-fs-title) !important; font-weight: 700; color: var(--oes-title-color); line-height: 1.3; margin: 0 !important; }
.oes-card-desc { font-size: var(--oes-fs-desc); color: var(--oes-desc-color); line-height: 1.6; flex: 1; margin: 0 !important; }

.oes-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.oes-tag { font-size: 0.74rem; color: var(--oes-tag-color); border: 1px solid #e5e7eb; border-radius: 6px; padding: 3px 10px; background: var(--oes-tag-bg); font-weight: 500; transition: all 0.18s; }
.oes-sf-card:hover .oes-tag { border-color: color-mix(in srgb, var(--oes-primary) 35%, white); color: var(--oes-primary); }

.oes-whatsapp-btn {
  display: inline-flex !important; align-items: center; gap: 7px;
  color: var(--oes-primary) !important; font-size: var(--oes-fs-btn); font-weight: 600;
  text-decoration: none !important; margin-top: 4px;
  border: none; background: none; cursor: pointer; transition: gap 0.2s;
  font-family: 'Poppins', sans-serif;
}
.oes-whatsapp-btn:hover { gap: 11px; }
.oes-whatsapp-btn svg { flex-shrink: 0; transition: transform 0.2s; }
.oes-whatsapp-btn:hover svg { transform: translateX(3px); }

.oes-no-services, .oes-no-results { grid-column: 1/-1; text-align: center; color: #9ca3af; padding: 48px 20px; font-size: 1rem; }
.oes-no-results { display: none; }
.oes-no-results.visible { display: block; }
