/* Pricing hero – reuse about-hero look, just tweak if needed */
.pricing-hero {
  background-image: url("../assets/images/hero-bg-about.jpg");
}

/* Wrapper */
.pricing-wrapper {
  padding: 5rem 5%;
  background-color: #f8f9fa;
}

.pricing-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: #555;
  font-size: 1rem;
}

/* Accordion */
.pricing-accordion {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pricing-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.pricing-item.open {
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.2);
  border-color: #ff6b6b;
  transform: translateY(-2px);
}

.accordion-header {
  width: 100%;
  padding: 1.3rem 1.5rem;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: #2a2a2a;
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 107, 107, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b6b;
  font-size: 0.8rem;
  transition: transform 0.3s ease, background-color 0.3s ease,
    color 0.3s ease, border-color 0.3s ease;
}

.pricing-item.open .accordion-icon {
  transform: rotate(180deg);
  background-color: #ff6b6b;
  color: #fff;
  border-color: #ff6b6b;
}

.accordion-tag {
  font-size: 0.85rem;
  color: #ff6b6b;
  background-color: rgba(255, 107, 107, 0.08);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  transition: max-height 0.35s ease, padding-bottom 0.3s ease;
}

.pricing-item.open .accordion-content {
  padding-bottom: 1.5rem;
}

/* Content typography */
.accordion-content h3 {
  margin-top: 1.3rem;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  color: #2a2a2a;
}

.pricing-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #777;
}

/* Tables */
.pricing-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.pricing-table thead {
  background-color: #fff5f5;
}

.pricing-table th,
.pricing-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-table th {
  font-weight: 600;
  color: #2a2a2a;
}

.pricing-table td {
  color: #555;
}

.pricing-table tr:hover td {
  background-color: rgba(255, 107, 107, 0.03);
}

/* Contact CTA inside accordion */
.pricing-contact-cta {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.pricing-contact-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid #ff6b6b;
  color: #ff6b6b;
  transition: background-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
}

.pricing-contact-cta a i {
  font-size: 0.9rem;
}

.pricing-contact-cta a:hover {
  background-color: #ff6b6b;
  color: #fff;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-wrapper {
    padding: 3rem 5%;
  }

  .accordion-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .accordion-tag {
    font-size: 0.8rem;
  }

  .pricing-contact-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .pricing-intro {
    font-size: 0.9rem;
  }

  .accordion-title span:last-child {
    font-size: 1rem;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0.6rem 0.6rem;
    font-size: 0.85rem;
  }
}

/* BADGE STYLE */
.badge {
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bestseller → Majice */
.bestseller {
    background-color: #ff6b6b;
    color: white;
}

/* Top izbor → Duksevi */
.top-choice {
    background-color: #ff9f43;
    color: white;
}

/* HIGHLIGHTED ACCORDION BLOCK */
.pricing-item.highlight {
    background: #fff5f4;
    border-left: 4px solid #ff6b6b;
    transition: background 0.3s;
}

.highlight .accordion-header {
    font-weight: 600;
    background: rgba(255, 107, 107, 0.1);
    
}

/* Optional: nice subtle hover */
.highlight:hover {
    background: #ffecea;
}
