/* ============================================================
   TREATMENT COST & LOWEST QUOTES SECTION
   EthosMedi - Premium Styling
   ============================================================ */

.cp-cost-section {
  background-color: #f8fafc;
  padding: 80px 0;
  position: relative;
}

.cp-cost-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #E0F2F1;
  color: #00897B;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.cp-cost-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: #1A2636;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cp-cost-title span {
  color: #009688;
}

.cp-cost-sub {
  color: #64748b;
  font-size: 15px;
  max-width: 680px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
}

.cp-cost-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 36px;
}

.cp-cost-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.cp-cost-trust-item i {
  color: #009688;
  font-size: 15px;
}

/* Category Filter Bar */
.cp-cost-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.cp-cost-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cp-cost-pill-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.cp-cost-pill-btn:hover {
  background: #f0fdf4;
  color: #009688;
  border-color: #b2dfdb;
}

.cp-cost-pill-btn.active {
  background: #009688;
  color: #ffffff;
  border-color: #009688;
  box-shadow: 0 4px 14px rgba(0, 150, 136, 0.25);
}

.cp-cost-search-box {
  position: relative;
  min-width: 260px;
}

.cp-cost-search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 8px 18px 8px 38px;
  font-size: 13px;
  color: #334155;
  outline: none;
  transition: all 0.2s ease;
}

.cp-cost-search-input:focus {
  border-color: #009688;
  box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.15);
}

.cp-cost-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
}

/* Treatment Cards */
.cp-cost-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #eef2f6;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.cp-cost-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 150, 136, 0.12);
  border-color: #b2dfdb;
}

/* Card Media / Image Header */
.cp-cost-card-media {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
}

.cp-cost-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cp-cost-card:hover .cp-cost-card-img {
  transform: scale(1.05);
}

.cp-cost-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #009688;
  font-size: 42px;
}

/* Top Right Floating Save Pill */
.cp-cost-save-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #047857;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.85);
  z-index: 2;
}

.cp-cost-save-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  display: inline-block;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

/* Card Body */
.cp-cost-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cp-cost-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}

.cp-cost-card-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

/* Price Wrap */
.cp-cost-price-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.cp-cost-price-left {
  display: flex;
  flex-direction: column;
}

.cp-cost-price-label {
  font-size: 10px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.cp-cost-price-val {
  font-size: 22px;
  font-weight: 800;
  color: #009688;
  line-height: 1.1;
}

.cp-cost-price-right {
  text-align: right;
  display: flex;
  flex-direction: column;
}

.cp-cost-us-price {
  font-size: 12px;
  font-weight: 700;
  color: #be123c;
  text-decoration: line-through;
}

.cp-cost-us-note {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
}

/* Bottom CTA Banner */
.cp-cost-bottom-banner {
  margin-top: 54px;
  background: linear-gradient(135deg, #132435 0%, #17383f 60%, #004D40 100%);
  border-radius: 28px;
  padding: 42px 32px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
  position: relative;
  overflow: hidden;
}

.cp-cost-bb-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #80cbc4;
  margin-bottom: 12px;
}

.cp-cost-bb-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cp-cost-bb-desc {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

.cp-cost-bb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.cp-cost-bb-btn-quote {
  background: #009688;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 9999px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 150, 136, 0.28);
}

.cp-cost-bb-btn-quote::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: cp-shimmer 4s infinite linear;
}

.cp-cost-bb-btn-quote:hover {
  background: #00796B;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 150, 136, 0.38);
}

.cp-cost-bb-btn-chat {
  background: #10b981;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 9999px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.cp-cost-bb-btn-chat:hover {
  background: #059669;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.35);
}

.cp-cost-bb-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  color: #94a3b8;
}

.cp-cost-bb-feat-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cp-cost-bb-feat-item i {
  color: #38bdf8;
}

@keyframes cp-shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}
