/* ===== PRICING CAROUSELS — MOBILE ONLY ===== */
@media screen and (max-width: 768px){

  /* DESKTOP PRICING */
  section#desktop-pricing .desktop-pricing-grid{
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 18px !important;
    padding: 4px 18px 22px !important;
    margin-left: -18px !important;
    margin-right: -18px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  section#desktop-pricing .desktop-pricing-grid::-webkit-scrollbar{
    display: none !important;
  }

  section#desktop-pricing .desktop-price-card{
    flex: 0 0 82vw !important;
    width: 82vw !important;
    max-width: 340px !important;
    min-width: 280px !important;
    scroll-snap-align: center !important;
    padding: 26px 22px !important;
    border-radius: 28px !important;
  }

  section#desktop-pricing .desktop-price-card:first-child{
    margin-left: 18px !important;
  }

  section#desktop-pricing .desktop-price-card:last-child{
    margin-right: 18px !important;
  }

  section#desktop-pricing .desktop-price-top h3{
    font-size: 38px !important;
    line-height: 1 !important;
  }

  section#desktop-pricing .desktop-price-row strong{
    font-size: 54px !important;
    line-height: .95 !important;
  }

  section#desktop-pricing .desktop-feature-list{
    padding-left: 0 !important;
    margin-top: 22px !important;
  }

  section#desktop-pricing .desktop-feature-list li{
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  section#desktop-pricing .desktop-plan-btn{
    width: 100% !important;
    min-height: 56px !important;
    margin-top: 20px !important;
  }


  /* API / MAIN PRICING */
  section#pricing .pricing-grid,
  section#api-pricing .pricing-grid,
  section#api .pricing-grid,
  section#pricing .api-pricing-grid,
  section#api-pricing .api-pricing-grid,
  section#api .api-pricing-grid{
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 18px !important;
    padding: 4px 18px 22px !important;
    margin-left: -18px !important;
    margin-right: -18px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  section#pricing .pricing-grid::-webkit-scrollbar,
  section#api-pricing .pricing-grid::-webkit-scrollbar,
  section#api .pricing-grid::-webkit-scrollbar,
  section#pricing .api-pricing-grid::-webkit-scrollbar,
  section#api-pricing .api-pricing-grid::-webkit-scrollbar,
  section#api .api-pricing-grid::-webkit-scrollbar{
    display: none !important;
  }

  section#pricing .price-card,
  section#pricing .pricing-card,
  section#api-pricing .price-card,
  section#api-pricing .pricing-card,
  section#api .price-card,
  section#api .pricing-card,
  section#pricing .api-price-card,
  section#api-pricing .api-price-card,
  section#api .api-price-card{
    flex: 0 0 82vw !important;
    width: 82vw !important;
    max-width: 340px !important;
    min-width: 280px !important;
    scroll-snap-align: center !important;
    padding: 26px 22px !important;
    border-radius: 28px !important;
  }

  section#pricing .price-card:first-child,
  section#pricing .pricing-card:first-child,
  section#api-pricing .price-card:first-child,
  section#api-pricing .pricing-card:first-child,
  section#api .price-card:first-child,
  section#api .pricing-card:first-child,
  section#pricing .api-price-card:first-child,
  section#api-pricing .api-price-card:first-child,
  section#api .api-price-card:first-child{
    margin-left: 18px !important;
  }

  section#pricing .price-card:last-child,
  section#pricing .pricing-card:last-child,
  section#api-pricing .price-card:last-child,
  section#api-pricing .pricing-card:last-child,
  section#api .price-card:last-child,
  section#api .pricing-card:last-child,
  section#pricing .api-price-card:last-child,
  section#api-pricing .api-price-card:last-child,
  section#api .api-price-card:last-child{
    margin-right: 18px !important;
  }

  /* swipe label */
  section#desktop-pricing::after,
  section#pricing::after,
  section#api-pricing::after{
    content: "Swipe";
    display: block !important;
    width: max-content !important;
    margin: -6px auto 0 !important;
    padding: 7px 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,176,32,.22) !important;
    background: rgba(255,176,32,.06) !important;
    color: #ffd27d !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
  }
}

/* ===== FIX HOME API CARDS MOBILE CAROUSEL — DO NOT AFFECT DESKTOP ===== */
@media screen and (max-width: 768px){
  section.api-pricing .api-pricing-grid{
    display:flex !important;
    grid-template-columns:none !important;
    gap:14px !important;
    align-items:stretch !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scroll-snap-type:x mandatory !important;
    scroll-padding-left:18px !important;
    padding:4px 18px 22px !important;
    margin-left:-18px !important;
    margin-right:-18px !important;
    -webkit-overflow-scrolling:touch !important;
  }

  section.api-pricing .api-pricing-grid::-webkit-scrollbar{
    display:none !important;
  }

  section.api-pricing .api-plan{
    flex:0 0 82vw !important;
    width:82vw !important;
    max-width:340px !important;
    min-width:280px !important;
    min-height:690px !important;
    scroll-snap-align:center !important;
    padding:26px 22px !important;
    border-radius:28px !important;
  }

  section.api-pricing .api-plan:first-child{
    margin-left:18px !important;
  }

  section.api-pricing .api-plan:last-child{
    margin-right:18px !important;
  }

  section.api-pricing .api-plan h3{
    font-size:38px !important;
    line-height:1 !important;
  }

  section.api-pricing .api-plan-price{
    font-size:54px !important;
    line-height:.95 !important;
  }

  section.api-pricing .api-plan p,
  section.api-pricing .api-plan li{
    font-size:15px !important;
    line-height:1.45 !important;
  }

  section.api-pricing .api-plan .btn{
    width:100% !important;
    min-height:56px !important;
    margin-top:auto !important;
  }
}
