.card.popular {
  overflow: visible;
}

.prices-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center
}

@media (min-width: 992px) {
  .prices-toolbar {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.prices-toolbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacer-medium);
}

.plan-card.card {
  display: flex;
  text-align: left;
  padding: var(--spacer) var(--spacer-small);
  border-radius: var(--radius);
}

.popular-header {
  position: absolute;
  background-color: var(--color-blue-medium);
  color: #fff;
  top: -32px;
  height: 32px;
  left: -1px;
  width: calc(100% + 2px);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius) var(--radius) 0 0;
}

.popular-header::after {
  content: url('../images/icon-popular.svg');
  display: inline;
  margin-left: 8px;
}

.plan-card.card.popular {
  border: solid 1px var(--color-blue-medium) !important;
  border-radius: 0 0 var(--radius) var(--radius);
  margin-top: 32px
}

.card-container.pro-plan {
  margin-bottom: 32px;
}

@media (min-width: 992px) {
  .plan-card.card.popular {
    margin-top: 0;
  }

  .card-container.pro-plan {
    margin-bottom: 0;
  }
}



.plan-card.card .plan {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.plan-card.card .button {
  width: 100%;
}

.plan-card .plan-name{
  order: 1;
}

.plan-card .plan-footer{
  margin-top: 8px;
}

.plan-name {
  font-size: 26px;
  font-weight: 700;
}



.plan-content {
  order: 4;
}

.plan-content ul {
  margin: 0;
  padding: 0;
}
.plan-content li {
  list-style: none;
  background-image: url('../images/list-check.svg');
  background-repeat: no-repeat;
  padding-left: 32px;
  margin: 8px 0;
}

.plan-content .strong {
  color: #00233D;
  /* sementic.type/label/l */
  /* font-family: Inter; */
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 115%; /* 18.4px */
}



.plan-presentation {
  margin-top: 4px;
  height: 100px;
  order: 3;
}


.plan-card .plan-prices {
  order: 2;
}

.plan-prices {
  display: flex;
  align-items: baseline;
  margin-bottom: var(--spacer-medium);
}

.plan .plan-name {
  color: var(--color-blue-dark) !important;
}

.plan-prices span {
  color: var(--color-blue-dark) !important;
}

.plan-prices-yearly,
.plan-prices-monthly {
  display: none;
}


.price {
  display: none;
  font-size: 32px;
  font-weight: 700;
}

.price.visible {
  display: inline;
}

.price--none {
  font-size: 32px;
  font-weight: 700;
}

.currency-symbol {
  font-size: 32px;
  font-weight: 700;
}


@media (min-width: 992px) {

  .plan-card .plan-name{
    order: 1;
  }
  .plan-name {
    font-size: 20px;
    font-weight: 700;
  }

  .plan-card .plan-presentation {
    order: 2;
  }

  .plan-card .plan-prices {
    order: 3;
  }

  .plan-card .plan-content {
    order: 4;
  }
}



/* ================================================= */

.plans-header {
  background-color: #fff;
  height: 153px;
  position: sticky;
  top: 86px;
  z-index:100;
  display: flex;
  border-bottom: solid 1px var(--color-grey-light);
  /* box-shadow: var(--shadow); */
}

.plans-header .current-section {
  display: flex;
  align-items: flex-end;
  width: 307px;
  height: 100%;
  padding-bottom: 16px;
  padding-left: 16px;
  /* color: transparent !important; */
}
.plans-header .plan-container {
  /* border: dashed 1px #ccc; */
  /* padding: var(--spacer-smaller); */
  background-color: #fff;
  height: 100%;
  width: 223px;
  display: flex;
  flex-direction: column;
}


.plans-header .plan-prices {
  margin-top: 20px;
}

.plans-header .plan-cta {
  padding: var(--spacer-small);
}

.plans-header .plan-cta .button{
  width: 100%;
}


.plans-header .plan {
  display: flex;
  flex-direction: column;
  border: solid 1px var(--color-grey-light);
  border-right: none;
  border-bottom: none;
  background-color: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  height: 100%;
  padding: var(--spacer-small);
  flex-grow: 1;

}
.plans-header .plan-container:last-child .plan {
  border-right: solid 1px var(--color-grey-light);
}

.plan .plan-periodicity {
  font-size: 12px !important;
  color: var(--color-grey-dark);
}


.plan-section {
  /* background-color: #f0f; */
  border: solid 1px var(--color-grey-light);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
  width: 100%;
  background-color: #fff;
  padding-top: 24px;
  margin: 24px 0;
}


.plans-header ~ .plan-section {
  margin-top: 0;
}

.plan-section .accordion-trigger {
  top: 16px
}






table.plan-compare {
  width: 100%;
  /* border: solid 1px var(--color-grey-light);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
  background-color: #fff; */
}

table.plan-compare td {
  border: solid 1px var(--color-grey-light);
  border-bottom: none;
  border-top: none;
}
table.plan-compare td:first-child {
  border-left: none;
}
table.plan-compare td:last-child {
  border-right: none;
}

table.plan-compare tr:nth-child(odd) {
  background-color: var(--color-grey-lightest);
}

table.plan-compare td {
  padding: var(--spacer-small);
}

table.plan-compare td.header {
  background-color: #ECF0F5;
  height: 50px;
  padding: 16px;
  vertical-align: middle;
  color: #00233D;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 115%; /* 18.4px */
}



td.plan-option-value {
  width: 223px;
  text-align: center;
}
.plan-option-name {
  display: inline block;
  border: solid 2px #f0f;
  height: auto;
}

/* ======================================= */
.prices-toolbar .discount {
  margin-top: 8px;
  width: var(--toggle-width);
  display: block;
  text-align: center;
}

/* ======================================= */

.currency-selector {
  width: auto;
  border: solid 1px var(--color-grey-light);
  border-radius: 5px;
  background-color: #fff;
  padding: 3px 9px 3px 0px;
  position: relative;
  box-shadow: var(--shadow);
  margin-top: 12px;
}

.currency-selector .currency-selected {
  display: flex;
  align-items: center
}

.currency-selector .currency-selected::after {
  display: inline;
  content: url('//cdn2.hubspot.net/hubfs/1896803/Demo/chevron.png?t=1491311369906');
}

.currency-selector.opened .currency-selected::after {
  transform: rotate(180deg) translateY(5px);
}

.currency-selector.opened .currency-list {
  display: block;
}


.currency-selector .currency-list {
  top: 32px;
  left: 0;
  width: 100%;
  position: absolute;
  z-index: 10;
  border: solid 1px var(--color-grey-light);
  display: none;
  padding: 8px;
  background-color: #fff;
  box-shadow: var(--shadow);
}

.currency-selector .currency-list .currency {
  background-color: #fff;
}

.currency-selector .currency {
  width: 100%;
  height: 28px;
  padding: 4px 4px 4px 40px;
  background-repeat: no-repeat;
  background-position: 8px 50%;
  background-size: 30px 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy, #00233D);
}

.currency-selector .currency[data-value="usd"] {
  background-image: url('../images/flags/us.svg');
}
.currency-selector .currency[data-value="eur"] {
  background-image: url('../images/flags/eu.svg');
}
.currency-selector .currency[data-value="gbp"] {
  background-image: url('../images/flags/uk.svg');
}

@media (min-width: 992px) {
  .currency-selector {
    margin-top: 0;
    width: 162px;
  }

  .currency-selector .currency {
    height: 48px;
    padding: 4px 4px 4px 74px;
    background-size: 60px 40px;
  }

  .currency-selector .currency-list {
    top: 76px;
  }
}

/* ======================================= */

section .plans {
  margin-top: -24px;
}

@media (min-width: 992px) {
  section .plans {
    margin-top: 0;
  }
}