/* ===== Price Display Styles ===== */

.price-estimate-card {
  background: linear-gradient(135deg, rgba(199, 167, 125, 0.15) 0%, rgba(35, 31, 27, 0.8) 100%);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-estimate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.price-estimate-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(199, 167, 125, 0.2);
  border-color: var(--primary-light);
}

.price-estimate-card.recommended {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, rgba(199, 167, 125, 0.25) 0%, rgba(35, 31, 27, 0.9) 100%);
}

.price-estimate-card.recommended::before {
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.price-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(199, 167, 125, 0.2);
}

.price-method-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-method-name h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}

.price-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: var(--primary);
  color: #0f0d0c;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-match-score {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.price-details {
  margin-bottom: 1rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  color: var(--primary-light);
  font-size: 0.95rem;
}

.price-row.highlight {
  padding: 0.8rem;
  margin: 0.5rem -0.5rem;
  background: rgba(199, 167, 125, 0.1);
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 600;
}

.price-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.9;
}

.price-value {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.05rem;
}

.price-row.highlight .price-value {
  font-size: 1.3rem;
  color: var(--primary-light);
}

.price-breakdown {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(199, 167, 125, 0.15);
}

.price-breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--primary-light);
  opacity: 0.8;
}

.price-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(199, 167, 125, 0.15);
}

.price-info-item {
  text-align: center;
  padding: 0.6rem;
  background: rgba(15, 13, 12, 0.5);
  border-radius: 6px;
  border: 1px solid rgba(199, 167, 125, 0.1);
}

.price-info-label {
  font-size: 0.75rem;
  color: var(--primary-light);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.price-info-value {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.price-maintenance-note {
  margin-top: 1rem;
  padding: 0.8rem;
  background: rgba(199, 167, 125, 0.08);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--primary-light);
  opacity: 0.9;
}

.price-cta-button {
  width: 100%;
  margin-top: 1rem;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(199, 167, 125, 0.8) 100%);
  color: #0f0d0c;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 167, 125, 0.4);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.price-estimates-container {
  margin-top: 2rem;
}

.price-estimates-header {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.price-estimates-header::before {
  content: '💰';
  font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .price-info-grid {
    grid-template-columns: 1fr;
  }

  .price-estimate-card {
    padding: 1rem;
  }

  .price-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Loading state */
.price-loading {
  text-align: center;
  padding: 2rem;
  color: var(--primary-light);
  opacity: 0.7;
}

.price-loading::after {
  content: '...';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}
