/* Pricing Cards Aggressive Fix */

/* Force pricing cards to display horizontally at ALL screen sizes */
.pricing-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  gap: 20px !important;
  padding: 20px 0 !important;
  width: 100% !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  align-items: stretch !important;
  max-width: 100% !important;
}

/* Center cards on desktop - specific rule for large screens */
@media (min-width: 1200px) {
  .pricing-grid {
    justify-content: center !important;
  }
  
  /* Remove the scroll hint on desktop */
  .pricing .carousel-nav-hint {
    display: none !important;
  }
}

/* Left-align cards on smaller screens for scrolling */
@media (max-width: 1199px) {
  .pricing-grid {
    justify-content: flex-start !important;
  }
}

.pricing-grid .pricing-card {
  flex: 0 0 auto !important;
  width: 300px !important;
  min-width: 300px !important; 
  max-width: 300px !important;
  margin-right: 0 !important;
  scroll-snap-align: start !important;
  height: auto !important;
}

/* Hide mobile swiper on all screen sizes */
.pricing-swiper {
  display: none !important;
}

/* Add a subtle gradient to indicate scrollability */
.pricing {
  position: relative;
}

.pricing .container {
  position: relative;
  overflow: visible;
}

.pricing-grid::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.9));
  pointer-events: none;
}

/* Fix scrollbar appearance */
.pricing-grid::-webkit-scrollbar {
  height: 6px;
}

.pricing-grid::-webkit-scrollbar-thumb {
  background: rgba(125, 59, 237, 0.5);
  border-radius: 6px;
}

.pricing-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 6px;
}
