.prices {
  text-align: center;
}

@media screen and (min-width:1280px) {
  .prices-table > div {
    max-width: 1220px;
    margin: 0 auto;
  }
}

.prices-section + div {
  border-top: 1px solid #e8e8e8;
}

.prices-section:nth-child(2) + div {
  border-top: 0;
}

.prices-section:nth-child(2),
.prices-section:nth-child(2n+3) {
  background: #f4f4f4;
}

.prices-section > div {
  display: flex;
}

.prices-section > div > div {
  flex: 1 0 0;
  padding: 16px 12px;
}

@media screen and (min-width:1024px) {
  .prices-header + .prices-section > div > div:first-child {
    padding-top: 26px;
  }

  .prices-section > div.prices-expands > div + div{
    padding-top: 34px;
  }
}

.prices-section > div > div:first-child {
  flex: 0 0 260px;
  text-align: left;
}

.prices-excluding-spark .prices-section > div > div:nth-child(2) {
  display: none;
}

.prices-section > div:first-child > div:first-child {
  font-weight: 700;
}

@media screen and (max-width:1279px) {
  .prices-section > div {
    flex-wrap: wrap;
  }

  .prices-section > div > div {
    padding: 16px 8px;
  }

  .prices-section > div > div:first-child {
    flex: 0 0 100%;
    padding-bottom: 0;
    text-align: center;
  }

  .prices-section:last-child > div > div:first-child {
    display: none;
  }
}

@media screen and (max-width:479px) {
  .prices-section {
    font-size: 14px;
  }
}

.prices-section > div:nth-child(even) {
  background: #fafafa;
}

.prices-section > div + div {
  height: 48px;
  opacity: 1;
  transition: height 0.2s,opacity 0.2s linear;
}

.prices-section > div + div > div {
  padding: 12px;
  transition: padding 0.2s;
}

.prices-section:not(.prices-expanded) > div + div {
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.prices-section:not(.prices-expanded) > div + div > div {
  padding: 0 12px;
}

.prices-section > div > div:nth-child(5) {
  display: none;
}

.prices-expand {
  display: block;
  width: 118px;
  margin: 8px 0 0;
  padding: 4px 12px;
  background: #f60;
  color: #fff;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}

.prices-expand:hover {
  background: #333;
}

.prices-expand::after {
  content: '+ show details';
  font-weight: 400;
}

.prices-expanded .prices-expand::after {
  content: '- hide details';
}

.prices-fixed-header {
  display: none;
  position: fixed;
  inset: var(--navigation-height) 0 auto;
  z-index: 2;
  overflow: hidden;
  background: #fff;
}

@media screen and (max-width:1279px) {
  .prices-section > div + div {
    height: 86px;
  }

  .prices-section > div > div:nth-child(6) {
    display: block;
    flex: 0 0 100%;
    padding: 0 8px 8px;
  }

  .prices-expand {
    margin: 0 auto 8px;
  }

  .prices-section > div > div:first-child .prices-expand {
    display: none;
  }
}

.prices-header > div > div {
  padding: 16px 8px 48px;
}

.prices-excluding-spark .prices-header > div > div {
  padding-bottom: 16px;
}

.prices-trustpilot {
  padding-top: 64px;
  text-align: left;
}

div.prices-trustpilot > a {
  float: none;
  clear: none;
  display: block;
  width: 186px;
  margin: 0 auto 8px;
}

div.prices-trustpilot > a > img {
  width: 100%;
  vertical-align: bottom;
}

div.prices-trustpilot > a + a > img {
  width: 136px;
}

.prices-recommended {
  position: relative;
  background: #f60;
  color: #fff;
}

.prices-table img {
  float: none;
  clear: none;
  display: inline;
  width: 60px;
  vertical-align: bottom;
}

.prices-package-name {
  display: block;
  padding: 12px 0 0;
  font-size: 36px;
  font-weight: 700;
}

@media screen and (max-width:1279px) {
  .prices-header > div > div:first-child{
    display: none;
  }
}

@media screen and (max-width:767px) {
  .prices-package-name{
    font-size: 28px;
  }
}

@media screen and (max-width:599px) {
  .prices-package-name{
    font-size: 24px;
  }
}

@media screen and (max-width:479px) {
  .prices-package-name{
    font-size: 18px;
  }
}

@media screen and (max-width:359px) {
  .prices-package-name{
    font-size: 16px;
  }
}

.prices-package-description {
  display: block;
  padding: 10px 10px 0;
  color: #333;
  font-size: 14px;
}

.prices-recommended .prices-package-description {
  color: #fff;
}

.prices-best {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.prices-excluding-spark .prices-best {
  display: none;
}

.prices-best > span {
  display: inline-block;
  position: relative;
  width: 100%;
  padding: 4px 0;
  background: #333;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

@media screen and (max-width:919px) {
  .prices-header > div > div {
    padding-bottom: 40px;
  }

  .prices-package-description {
    display: none;
  }
}

@media screen and (max-width:919px) and (max-height:479px) {
  .prices-fixed-header {
    top: calc(var(--navigation-height) - 57px);
  }
}

@media screen and (max-width:689px) {
  div.prices-header > div > div {
    padding-bottom: 8px;
  }

  .prices-best {
    display: none;
  }
}

@media screen and (max-width:399px) {
  .prices-per-month {
    display: block;
  }
}

.prices-minimum-term {
  display: block;
  font-size: 14px;
  font-style: italic;
}

@media screen and (max-width:659px) {
  .prices-minimum-term {
    padding-top: 8px;
    line-height: 14px;
  }

 .prices-minimum-term > span {
    display: block;
    margin: 4px auto 0;
  }
}

.prices-help {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0 -32px 0 10px;
  border-radius: 10px;
  background: #ddd;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  font-style: normal;
  text-align: center;
  text-transform: none;
  cursor: pointer;
}

.prices-help::before {
  content: '?';
}

.prices-help > span {
  display: none;
  position: absolute;
  top: -11px;
  left: 34px;
  z-index: 1;
  width: 224px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-weight: 300;
  text-align: left;
  box-shadow: 0 0 8px rgba(0,0,0,0.125);
}

.prices-help > span::before {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  left: -10px;
  width: 10px;
  height: 20px;
  background: url('arrow-left.svg') no-repeat center center;
}

.prices-help > span.prices-help-left {
  left: auto;
  right: 34px;
}

.prices-help > span.prices-help-left::before {
  left: auto;
  right: -10px;
  background: url('arrow-right.svg') no-repeat center center;
}

.prices-help > span.prices-help-bottom {
  left: -103px;
  top: 32px;
}

.prices-help > span.prices-help-bottom::before {
  top: -10px;
  left: calc(50% - 10px);
  width: 20px;
  height: 10px;
  background: url('arrow-top.svg') no-repeat center center;
}

@media screen and (max-width:767px) {
  .prices-section > div > div + div .prices-help {
    display: block;
    margin: 8px auto 10px;
  }
}

.prices-tick,
.prices-cross {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  background: url('tick.svg') no-repeat center center;
}

.prices-cross {
  background-image: url('cross.svg');
}

.prices-more {
  display: inline-block;
  padding: 4px 12px;
  background: #f60;
  color: #fff !important;
  transition: background 0.5s;
}

.prices-more:hover {
  background: #333;
}

.prices-more > span:last-child {
  display: none;
}

@media screen and (max-width:529px) {
  .prices-more > span:first-child {
    display: none;
  }

  .prices-more > span:last-child {
    display: inline;
  }
}

.prices-prices {
  padding: 24px;
  text-align: center;
}
