.__pricing-list {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 40px;
    margin-top: 50px;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    max-width: 90%;
}

.__pricing-list .__pricing {
    position: relative;
    flex: 0 0 300px;
    /*max-width: calc(100% - 60px);*/
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: var(--pricing-color, white);
    background-color: var(--pricing-background-color, #343E50);
    border-radius: 20px;
    padding: 25px 20px;
    box-sizing: border-box;
    scroll-snap-align: start;
    overflow: hidden;
}

.__pricing-list .__pricing.--popular {
    color: var(--pricing-popular-color, black);
    background-color: var(--pricing-popular-background-color, #ffffff);
}

.__pricing-list .__pricing.--popular:before {
    content: "";
    background-color: red;
    position: absolute;
    width: 200px;
    height: 100px;
    top: -30px;
    right: -80px;
    transform: rotate(45deg);
}

.__pricing-list .__pricing.--popular:after {
    content: "";
    background-image: url("../img/crown.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    aspect-ratio: 1;
}

.__pricing:first-of-type {
    margin-left: auto;
}

.__pricing:last-of-type {
    margin-right: auto;
}

.__pricing .__pricing-name {
    font-size: 28px;
    line-height: 28px;
    font-weight: bold;
}

.__pricing .__pricing-price {
    position: relative;
    font-size: 28px;
    line-height: 28px;
    font-weight: bold;
}

.__scene.--monthly .__pricing .__pricing-price.--yearly {
    display: none;
}
.__scene .__pricing .__pricing-price.--monthly {
    display: none;
}
.__scene.--monthly .__pricing .__pricing-price.--monthly {
    display: block;
}

.__pricing .__pricing-price.--yearly:before {
    content: "billed annually";
    position: absolute;
    bottom: -20px;
    font-size: 14px;
    opacity: 0.4;
}

.__pricing .__pricing-price.--discount:after {
    content: "£49 BETA OFFER";
    margin-left: 10px;
    font-size: 14px;
    color: var(--pricing-per-month-color, #FF5568);
}
.__pricing .__pricing-price.--discount.--yearly:after {
    content: "£39 BETA OFFER";
}
.__pricing.--popular .__pricing-price.--per-month:after {
    color: var(--pricing-popular-per-month-color, white);
}

.__pricing .__pricing-description {
    font-size: 16px;
    color: var(--pricing-description-color, white);
}
.__pricing.--popular .__pricing-description {
    font-size: 16px;
    color: var(--pricing-popular-description-color, black);
}

.__pricing .__pricing-features {
    padding: 0;
    margin: 0;
    margin-top: 10px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

.__pricing .__pricing-features li {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.__pricing .__pricing-features li.--absent {
    opacity: 0.5;
}

.__pricing .__pricing-features li:before {
    content: '✔';
    margin-right: 10px;
    color: var(--pricing-tick-color, #FF5568);
}

.__pricing .__pricing-features li.--absent:before {
    color: var(--pricing-tick-absent-color, #FFFFFF);
}

.__pricing.--popular .__pricing-features li:before {
    color: var(--pricing-popular-tick-color, #FF5568);
}

.__pricing.--popular .__pricing-features li.--absent:before {
    color: var(--pricing-tick-absent-color, black);
}

.__pricing .__pricing-link {
    display: block;
    font-weight: bold;
    text-decoration: unset;
    cursor: pointer;
    background-color: var(--pricing-link-background-color, white);
    color: var(--pricing-link-color, #DF2035);
    transition: height 0.2s;
}

.__pricing-link:hover {
    background-color: var(--pricing-link-hover-background-color, #ececec);
    color: var(--pricing-link-hover-color, #e33245);
}

.__pricing.--popular .__pricing-link {
    background-color: var(--pricing-link-popular-background-color, #DF2035);
    color: var(--pricing-link-popular-color, white);
}

.__pricing.--popular .__pricing-link:hover {
    background-color: var(--pricing-link-popular-background-color, #e33245);
    color: var(--pricing-link-popular-color, #f5f5f5);
}

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

.__pricing-table-container {
    overflow-x: auto;
    max-width: 90%;
    width: 100%;
}

.__pricing-table {
    position: relative;
    margin: 40px auto 0;
    width: 100%;
    min-width: 800px;

    display: grid;
    grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(0, 1fr));
}

.__pricing-table .__pricing-table-row {
    grid-column-start: 1;
    grid-column-end: 5;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(0, 1fr));
}

.__pricing-table .__pricing-table-row.--no-first-col {
    grid-column-start: 2;
    grid-column-end: 5;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.__pricing-table .__pricing-table-row:nth-child(odd) {
    background-color: rgb(31, 43, 63);
}
.__pricing-table .__pricing-table-row:nth-child(even) {
    background-color: rgb(43, 55, 74);
}
.__pricing-table .__pricing-table-row:nth-child(odd) .__pricing-table-cell.--highlight {
    background-color: rgb(91, 67, 188);
}
.__pricing-table .__pricing-table-row:nth-child(even) .__pricing-table-cell.--highlight {
    background-color: rgb(101, 78, 192)
}

.__pricing-table .__pricing-table-row:first-child,
.__pricing-table .__pricing-table-row:first-child .__pricing-table-cell.--highlight,
.__pricing-table .__pricing-table-row:nth-child(2) {
    border-top-left-radius: 10px;
}

.__pricing-table .__pricing-table-row:first-child,
.__pricing-table .__pricing-table-row:first-child .__pricing-table-cell.--highlight {
    border-top-right-radius: 10px;
}

.__pricing-table .__pricing-table-row:last-child,
.__pricing-table .__pricing-table-row:last-child .__pricing-table-cell.--highlight {
    border-bottom-left-radius: 10px;
}

.__pricing-table .__pricing-table-row:last-child,
.__pricing-table .__pricing-table-row:last-child .__pricing-table-cell.--highlight {
    border-bottom-right-radius: 10px;
}

.__pricing-table .__pricing-table-cell {
    position: relative;
    padding: 20px 10px;
    box-sizing: border-box;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.__pricing-table .__pricing-table-row:not(.--no-first-col) .__pricing-table-cell:first-child:not(.--header-cell) {
    align-items: flex-start;
    padding-left: 25px;
    text-align: left;
    /*font-size: 12px;*/
}
.__pricing-table .__pricing-table-cell.--header-cell {
    justify-content: flex-start;
}
.__pricing-table .__pricing-table-cell.--header-cell .__price:not(.--poa) {
    font-size: 23px;
    margin-top: 7px;
}
.__pricing-table .__pricing-table-cell.--header-cell .__price.--poa {
    margin-top: 10px;
    opacity: 0.5;
}
.__pricing-table .__pricing-table-cell.--header-cell .__price-note {
    margin-top: -5px;
    opacity: 0.5;
}
.__pricing-table .__pricing-table-cell ul {
    margin: 3px 0 0 7px;
    padding-left: 16px;

    display: flex;
    flex-direction: column;
    gap: 3px;
}

.__pricing-table .__pricing-table-row-transparent {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 4;
}

.__pricing-table .__pricing-table-row-transparent .__pricing-table-cell {
    font-size: 22px;
    text-align: left;
}

.__pricing-table .__pricing-table-cell button {
    width: 90%;
    background-color: rgb(43, 55, 74);
    color: white;
}

.__pricing-table .__pricing-table-cell.--highlight button {
    background-color: rgb(255, 255, 255);
    color: #634AC5;
}

@media (min-width: 1024px) {
    .__pricing-table {
        width: 768px;
    }
}

@media (min-width: 1200px) {
    .__pricing-table {
        width: 1024px;
    }
}
