.pricing-plans-main {
  background: #F3F3F6;
}

.plan-card-pricing h5,
.plan-card-pricing h6 {
    color: var(--Neutral-neutral-main-text-700, #565D85);
    font-family: Mulish;
    font-size: var(--Website-Current-H2, 28px);
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
}

.plan-card-pricing .billed-type {
    color: var(--Neutral-neutral-600, #646C9A);
    font-family: Mulish;
    font-size: var(--Website-Current-P-small, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.plan-card .emails-count-description {
    color: var(--Neutral-neutral-main-text-700, #565D85);
    font-family: Mulish;
    font-size: var(--Website-Current-P-small, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.pricing-plans-footer {
  text-align: center;
}

.pricing-plans-footer span{
  color: var(--Neutral-neutral-main-text-700, #565D85);
text-align: center;
font-family: Mulish;
font-size: var(--Website-Current-P, 18px);
font-style: normal;
font-weight: 400;
line-height: 150%; 
}

.pricing-plans-footer a {
color: var(--buttons-text-icon-text-text-blue, #5162DB);
font-family: Mulish;
font-size: var(--Website-Current-P, 18px);
font-style: normal;
font-weight: 400;
line-height: 150%; 
}

#pricing-get-started {
  padding-bottom: 0px;
  padding-top: 4rem;
}

#pricing-faq .template-page {
  padding-bottom: 5px;
}

#pricing-get-started .template-page h2 {
  margin-top: 3rem;
  margin-bottom: 0px;
}


#plan-type-selector option{
    overflow: hidden;
color: var(--Inputs-Title-Left, #535980);
text-overflow: ellipsis;
font-family: Mulish;
font-size: var(--Website-Current-P-small, 14px);
font-style: normal;
font-weight: 400;
line-height: 150%;
}


.spf-best-practice .best-practice-card {
    margin-left: 3% !important;
    margin-top: 28px !important;
    z-index: 2;
    background-color: #FFF;
    min-height: 9.625rem !important;
    border-radius: 20px;
    padding: 24px;
    gap: 8px;
    box-shadow: 0 0 0 2px #F3F3F6;
}

#pricing-partner-program .container {
  max-width: 1360px !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#pricing-partner-program {
  margin-top: 5.5rem;
}

#pricing-partner-program h2,h3{
  margin-left: 3%;
  margin-bottom: 24px;
}

#pricing-partner-program p{
  margin-left: 3%;
  margin-bottom: 42px;  
}


#pricing-partner-program .ask-box-button {
  margin-left: 3%;
  margin-top: 42px;

}

#pricing-partner-program .ask-box-button a {
  min-width: 260px;
}

#pricing-partner-program .ask-box-button a:first-child span:hover {
  color: #F3F3F6 !important;
}

#pricing-partner-program .ask-box-button a:last-child {
  border: 2px solid #4875F4 !important;
  background: #F3F3F6;
}

#pricing-faq .av-section-cont-open {
  max-width: 1360px !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#top #wrap_all .all_colors #pricing-faq h3 span{
  font-size: 32px !important;
}

#pricing-faq .poeple-also-ask-faq {
  margin-top: 0px;
}

#top #wrap_all .all_colors #pricing-get-started .avia_textblock h2 {
  font-size: 32px !important;
  font-weight: 700;
}

.pricing-hero .av-section-cont-open {
  max-width: 1360px !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#top #wrap_all .all_colors .pricing-hero h1 {
  padding: 5px;
  margin-left: 3%;
  color: var(--Text-Primary, #141414);
  font-family: Mulish;
  font-size: var(--Website-Current-H2, 32px);
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

#top #wrap_all .all_colors .pricing-hero p {
  padding: 5px;
  margin-left: 3%;
  color: var(--Text-Primary, #141414);
  font-family: Mulish;
  font-size: var(--Website-Current-H4, 20px);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

#top #wrap_all .all_colors .pricing-hero a {
  text-decoration: underline;
  color: #5162DB;
}

.pricing-hero .template-page {
  padding-bottom: 0px;
}

.pricing-plans {
  display: none;
}

#top #wrap_all .all_colors #pricing-partner-program .ask-box-button a:first-child:hover
{
    color: #ffffff !important;
}

#top #wrap_all .all_colors #pricing-get-started .ask-box-button a:first-child:hover
{
    color: #ffffff !important;
}


a.ps-plans-contact {
  text-decoration: underline !important;
}


/* Custom Dropdown Styling (matches your select styling exactly) */
.custom-select-wrapper {
    position: relative;
    width: 244px;
    display: inline-block;
}


.custom-select-wrapper {
  width: 100%;
}
/* Main dropdown display (styled like your select) */
.custom-select-display {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 4px 12px;    
    width: 100%;
    height: 32px;
    background: #FFFFFF;
    border: 1px solid #E1E1EB;
    border-radius: 4px;
    
    font-family: 'Mulish', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #535980;
    
    cursor: pointer;
    user-select: none;
    
    /* Position relative for dropdown positioning */
    position: relative;
    z-index: 1;
}

.custom-select-display:hover {
    border-color: #5d78ff;
}

.custom-select-display:focus,
.custom-select-display.active {
    outline: none;
    border-color: #5d78ff;
    box-shadow: 0 0 0 2px rgba(93, 120, 255, 0.1);
}

/* Selected text */
.selected-text {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Dropdown arrow */
.dropdown-arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    pointer-events: none;
}

.custom-select-display.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Options container */
.custom-options-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E1E1EB;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.custom-select-display.active .custom-options-container {
    display: block;
}

/* Individual options */
.custom-option {
    padding: 8px 12px;
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    color: #535980;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background: #f0f2ff;
    color: #5d78ff;
}

.custom-option.selected {
    background: #f0f2ff;
    color: #5d78ff;
    font-weight: 500;
}

/* Hide the original select */
#plan-type-selector {
    display: none !important;
}

.pricing-hero {
  padding-bottom: 3rem;
}

a.ps-plans-contact {
  color: #5162DB !important;
  text-decoration: none !important;
}

.plan-card .plan-card-header a.buy-now {
  border: none;
}

.plan-card .plan-card-header .mssp-plan-button {
  border: none;
}

#plan-button-sticky-row a.buy-now {
  border: none;
}
#plan-button-sticky-row .mssp-plan-button {
  border: none;
}

.plan-card-pricing h5 span
 {
  color: var(--Neutral-neutral-main-text-700, #565D85);
font-family: Mulish;
font-size: var(--Website-Current-H2, 32px);
font-style: normal;
font-weight: 700;
line-height: 40px;
}

#top #wrap_all .all_colors .plan-card-pricing h5.without-discount {
 color: var(--Neutral-neutral-main-text-700, #565D85);
font-family: Mulish;
font-size: var(--Website-Current-H2, 32px);
font-style: normal;
font-weight: 700;
line-height: 40px;
}


#top #wrap_all .all_colors .plan-card-pricing h6 {
  color: var(--Neutral-neutral-600, #646C9A);
  font-family: Mulish;
  font-size: var(--Website-Current-H6, 20px);
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  text-decoration-line: line-through;
}

@media (max-width: 1024px) {

  .plan-card,
  .main-cards,
  .mssp-card,
  .plan-cards-container {
    cursor: grab !important;
  }

  .plan-card:active,
  .main-cards:active,
  .mssp-card:active,
  .plan-cards-container:active {
    cursor: grabbing !important;
  }

  .pricing-plans-portlet {
    position: relative;
  }

  .title-container {
    position: relative;
    z-index: 10;
  }

  #top #wrap_all .all_colors .title-container h5 {
    margin-bottom: 5rem;
  }


  .plan-card:nth-child(2) .plan-card-header .badge {
    top: 30px;
  }

  .plan-card:nth-child(2) .plan-card-header .badge-icon {
    top: 56px;
  }

  .plan-cards-container {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 90vw !important;
    min-width: 90vw !important;
    padding-right: 20px;
  }

  .main-cards {
    display: flex;
    gap: 24px;
    width: auto !important;
    min-width: auto !important;
    flex-shrink: 0 !important;
  }

  .mssp-card {
    margin-left: 24px;
    width: auto !important;
    min-width: auto !important;
    flex-shrink: 0 !important;
    margin-left: 24px !important;
  }

  .plan-cards-container::-webkit-scrollbar {
    display: none;
  }

  .pricing-plans-portlet::after,
  .pricing-plans-portlet::before {
    display: none !important;
  }

  .custom-scrollbar {
    position: relative;
    width: 736px;
    height: 16px;
    background: #F6F7F9;
    border-radius: 8px;
    margin: 20px auto 0 auto;
    z-index: 10;
    display: block !important;
  }

  .custom-scrollbar-progress {
    position: absolute;
    top: 5px;
    left: 8px;
    width: 428px;
    height: 6px;
    background: #DDDEE6;
    border-radius: 3px;
    transform-origin: left center;
    transition: transform 0.1s ease;
  }
}

@media (max-width: 768px) {
  #pricing-partner-program .avia_textblock.best-practice-card-inner {
    display: flex;
    align-items: center;
    min-height: 80px;
  }
}