/* HealthBox Overview Page Styles */

/* HealthBox Hero */
.healthbox-hero {
  background: linear-gradient(135deg, #fdfbfa 0%, #f8f4f2 100%);
  padding: 100px 0 60px;
}

.healthbox-hero__content {
  max-width: 700px;
}

.healthbox-hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f03167;
  margin-bottom: 16px;
}

.healthbox-hero__title {
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: #2d2d2d;
  margin: 0 0 16px 0;
}

.healthbox-hero__subtitle {
  font-size: 1.0625rem;
  color: #666;
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.healthbox-hero__count {
  font-size: 0.875rem;
  color: #999;
}

/* Category Filter */
.healthbox-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.healthbox-filter__btn {
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
  background: #f5f5f5;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.healthbox-filter__btn:hover {
  background: #eee;
  color: #333;
}

.healthbox-filter__btn.is-active {
  background: #f03167;
  color: #fff;
}

/* Services Grid */
.healthbox-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

@media (min-width: 640px) {
  .healthbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

/* Service Card */
.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.service-card.is-hidden {
  display: none;
}

.service-card__image {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #fdf2f4 0%, #f8e8eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__placeholder {
  width: 64px;
  height: 64px;
  color: #d4a5a5;
}

.service-card__placeholder svg {
  width: 100%;
  height: 100%;
}

.service-card__category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f03167;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
}

.service-card__content {
  padding: 20px;
}

.service-card__title {
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.0625rem;
  font-weight: 500;
  color: #2d2d2d;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.8125rem;
  color: #777;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.service-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.service-card__duration {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #999;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.service-card__price {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d2d2d;
}

.service-card__price--free {
  color: #4CAF50;
  font-size: 0.9375rem;
}

.service-card__btn {
  padding: 10px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: #f03167;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-card__btn:hover {
  background: #d62a5a;
  transform: translateY(-1px);
}

/* Protocol Cards */
.healthbox-protocols {
  background: #fafafa;
  padding: 80px 0;
}

.healthbox-protocols__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .healthbox-protocols__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .healthbox-protocols__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.protocol-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.protocol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.protocol-card__badge {
  display: inline-block;
  width: fit-content;
  padding: 6px 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f03167;
  background: #fdf2f4;
  border-radius: 50px;
  margin-bottom: 16px;
}

.protocol-card__title {
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #2d2d2d;
  margin: 0 0 12px 0;
}

.protocol-card__desc {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.protocol-card__count {
  font-size: 0.8125rem;
  color: #999;
  margin-bottom: 16px;
}

.protocol-card__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #f03167;
}

.protocol-card:hover .protocol-card__link {
  text-decoration: underline;
}

/* Empty State */
.healthbox-empty {
  text-align: center;
  padding: 80px 20px;
  color: #999;
}

.healthbox-empty svg {
  margin-bottom: 24px;
  color: #ddd;
}

.healthbox-empty h3 {
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.25rem;
  color: #666;
  margin: 0 0 8px 0;
}

.healthbox-empty p {
  font-size: 0.9375rem;
  margin: 0;
}

/* CTA Section */
.healthbox-cta {
  background: #fff;
  padding: 80px 0;
}

.healthbox-cta__card {
  background: linear-gradient(135deg, #fdf8f9 0%, #f8f0f2 100%);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.healthbox-cta__title {
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: #2d2d2d;
  margin: 0 0 12px 0;
}

.healthbox-cta__text {
  font-size: 1rem;
  color: #666;
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.healthbox-cta__btn {
  display: inline-block;
  padding: 16px 40px;
  background: #f03167;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(240, 49, 103, 0.3);
}

.healthbox-cta__btn:hover {
  background: #d62a5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 49, 103, 0.4);
}