
/* Pricing Layout - 3 Column Structure */
.pricing-layout-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: 100%;
  position: relative;
}

.pricing-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 140px; /* Narrow vertical column */
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
}

.badge-card {
  background-color: #ffffff;
  border-radius: 50%;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1/1; /* Make cards circular */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.badge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.trust-badge {
  max-width: 100%;
  max-height: 80%; /* Adjusted to fit better in circle */
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Specific fix for PayFast to circle crop if needed or ensure it fits */
.trust-badge.circle-crop {
  width: 70%;
  height: 70%;
  max-height: 70%;
  object-fit: cover; /* This crops the image to fill the circular container */
  padding: 0; /* Remove padding effect if container has padding */
  border-radius: 50%;
}

/* Specific override for the PayFast container to remove padding so the image goes to edge */
.badge-card:has(.circle-crop) {
  padding: 0 !important;
}


/* Mobile Responsiveness */
@media screen and (max-width: 991px) {
  .pricing-layout-container {
    flex-direction: column;
  }

  .pricing-sidebar {
    flex-direction: row;
    width: 100%;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  /* Make sidebar badges appear below the main card on mobile */
  .sidebar-left {
    order: 2;
  }
  
  .pricing-card {
    order: 1;
    margin-bottom: 24px;
  }
  
  .sidebar-right {
    order: 3;
  }
  
  .badge-card {
    width: 100px; /* Smaller cards on mobile */
    padding: 12px;
  }
}
