#free-vs-physical {
    margin-bottom: 1.5em;
}

#free-vs-physical-table {
    text-align: center;
    width: 100%;
    border-spacing: 10px;
    margin: 0 -10px;
    width: calc(100% + 20px);
}

#free-vs-physical-table img {
    width: 40px;
    height: 57px;
}

#free-vs-physical-table td, #free-vs-physical-table th {
    padding: 0 10px;
    text-align: center;
    width: 50%;
    vertical-align: top;
}

#free-vs-physical-table td, #free-vs-physical-table th {
    font-size: 14px;
}

#free-vs-physical-table th h3 {
    font-size: 16px;
}

#free-vs-physical-table h4 {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

#free-vs-physical-table th {
    border-bottom: 1px solid #979797;
    position: sticky;
    top: 2.8rem;
    background-color: white;
    padding-top: 20px;
}

body.top-promo-on #free-vs-physical-table th {
    top: calc(2.8rem + 12vw);
}

#no-upgrade-button.button {
    background-color: #B4B4B4;
    box-shadow: 0 0.4rem 0 #646464;
    font-size: 0.9rem;
}

#free-vs-physical-table td.upgrade-button-cell {
    padding: 0;
}

#free-vs-physical-table td.upgrade-button-cell .button {
    width: 100%;
}

#free-vs-physical-choose-size-overlay {
    background-color: white;
    position: fixed;
    top: 0;
    height: 100%;
    left: 0;
    right: 0;
    z-index: -1;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 5vw;
    box-sizing: border-box;
    overflow-y: scroll;
    transform: translateY(30px);
    transition-property: z-index, visibility, transform, opacity;
    transition-duration: 0s, 0s, 0.25s, 0.25s;
    transition-delay: 0.5s, 0.5s, 0s, 0s;
}

#free-vs-physical-choose-size-overlay.shown {
    z-index: 1000000;
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0s, 0s, 0s, 0s;
}

#free-vs-physical-choose-size-sizes {
    display: flex;
    flex-direction: column;
}

.free-vs-physical-choose-size-size {
    margin-bottom: 8vw;
}

.free-vs-physical-choose-size-size-photos {
    border: 1px solid #bbb;
    position: relative;
    text-align: center;
    width: 90vw;
    height: 90vw;
    width: calc(90vw - 2px);
    height: calc(90vw - 2px);
}

.free-vs-physical-choose-size-size-photo-buttons {
    pointer-events: none;
}

.free-vs-physical-choose-size-size-photo-buttons, .free-vs-physical-choose-size-size-photos-list {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.free-vs-physical-choose-size-size-photos-list {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    padding: 0;
    scroll-snap-type: x mandatory;
    height: 90vw;
    height: calc(90vw - 2px);
    scrollbar-width: none; /* Firefox */
    scrollbar-height: none; /* Firefox */
}

.free-vs-physical-choose-size-size-photos-list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.free-vs-physical-choose-size-size-photo {
    flex-shrink: 0;
    overflow: hidden;
    scroll-snap-align: start;
    position: relative;
    width: 90vw;
    height: 90vw;
    width: calc(90vw - 2px);
    height: calc(90vw - 2px);
}

.free-vs-physical-choose-size-size-photo img {
    height: 100%;
    width: auto;
    max-width: 500%;
    margin: 0 -100%;
    display: inline-block;
}

.free-vs-physical-choose-size-size-photo-illusration {
    font-size: 12px;
    color: white;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.75);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 5px;
    opacity: 0.7;
    font-weight: bold;
}

.free-vs-physical-choose-size-size-photo-left, .free-vs-physical-choose-size-size-photo-right {
    top: 0;
    bottom: 0;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 7vw;
    cursor: pointer;
    position: absolute;
    pointer-events: all;
    transition: opacity 0.25s;
}

.free-vs-physical-choose-size-size-photo-left:hover, .free-vs-physical-choose-size-size-photo-right:hover {
    background-color: rgba(0,0,0,0.25);
}

.free-vs-physical-choose-size-size-photo-left:active, .free-vs-physical-choose-size-size-photo-right:active {
    background-color: transparent;
}

.free-vs-physical-choose-size-size-photo-left.hidden, .free-vs-physical-choose-size-size-photo-right.hidden {
    opacity: 0;
    pointer-events: none;
}

.free-vs-physical-choose-size-size-photo-left {
    left: 0;
    background-image: url("../img/carousel-left-p1IDYxG.svg");
}

.free-vs-physical-choose-size-size-photo-right {
    right: 0;
    background-image: url("../img/carousel-right-0kSAJxf.svg");
}

.free-vs-physical-choose-size-size-info {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 3.4vw 3.4vw 3.4vw 2vw;
}

.free-vs-physical-choose-size-size-description {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.free-vs-physical-choose-size-size-class {
    font-size: 4.46vw;
}

.free-vs-physical-choose-size-size-details {
    flex: 1;
    text-align: center;
    letter-spacing: initial;
    font-size: 3.57vw;
}

.free-vs-physical-choose-size-size-price {
    display: flex;
    align-items: center;
    color: #00478F;
    font-size: 4.46vw;
}

.free-vs-physical-choose-size-size-price-old {
    color: #adadad;
    font-weight: 400;
    text-decoration: line-through;
}

#free-vs-physical-confirm-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    height: 100%;
    left: 0;
    right: 0;
    z-index: -1;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform: translateY(30px);
    transition-property: z-index, visibility, transform, opacity;
    transition-duration: 0s, 0s, 0.25s, 0.25s;
    transition-delay: 0.5s, 0.5s, 0s, 0s;
}

#free-vs-physical-confirm-overlay.shown {
    z-index: 1000000;
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0s, 0s, 0s, 0s;
}

#free-vs-physical-confirm-modal {
    width: 90vw;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.50);
    padding: 10vw 5vw;
    box-sizing: border-box;
}

#free-vs-physical-confirm-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 5vw;
}

#free-vs-physical-confirm-buttons .button {
    flex-basis: calc(50% - 2.5vw);
}

#free-vs-physical-confirm-confirm {
    font-size: 0.9rem;
    background-color: #B4B4B4;
    box-shadow: 0 0.4rem 0 #646464;
}

#free-vs-physical-checkout-form, #free-vs-physical-upgrade-form {
    display: none;
}

#free-vs-physical-reviews {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

#free-vs-physical-reviews img {
    height: 11px;
    width: 65px;
    flex: 0;
}

#free-vs-physical-reviews span {
    padding-left: 5px;
    font-size: 10px;
    color: black;
    flex: 0;
    white-space: nowrap;
}

@media (min-width: 768px) {

    #free-vs-physical h2 {
        position: relative;
        z-index: 1;
    }

    #free-vs-physical-table {
        margin-top: -120px;
    }

    body.top-promo-on #free-vs-physical-table {
        margin-top: -170px;
    }

    #free-vs-physical-table td, #free-vs-physical-table th {
        padding: 0 50px;
    }

    #free-vs-physical-table th h3 {
        font-size: 24px;
    }

    #free-vs-physical-table td, #free-vs-physical-table th {
        font-size: 18px;
    }

    #free-vs-physical-table th {
        padding-top: 120px;
        top: 0;
    }

    body.top-promo-on #free-vs-physical-table th {
        padding-top: 170px;
        top: 0;
    }

    .free-vs-physical-choose-size-size {
        margin-bottom: 50px;
    }

    .free-vs-physical-choose-size-size-photos {
        width: 600px;
        height: 600px;
    }

    .free-vs-physical-choose-size-size-photo {
        width: 600px;
        height: 600px;
    }

    .free-vs-physical-choose-size-size-photos-list {
        height: 600px;
    }

    .free-vs-physical-choose-size-size-photo-left, .free-vs-physical-choose-size-size-photo-right {
        width: 50px;
    }

    .free-vs-physical-choose-size-size-info {
        padding: 20px 20px 20px 12px;
    }

    .free-vs-physical-choose-size-size-details {
        font-size: 14px;
    }

    .free-vs-physical-choose-size-size-class {
        font-size: 18px;
    }

    .free-vs-physical-choose-size-size-price {
        font-size: 20px;
    }

    #free-vs-physical-confirm-modal {
        width: 500px;
        padding: 40px 30px;
    }

    #free-vs-physical-confirm-buttons {
        margin-top: 30px;
    }

    #free-vs-physical-confirm-buttons .button {
        flex-basis: calc(50% - 15px);
    }

    #free-vs-physical-reviews {
        margin-bottom: 10px;
    }

    #free-vs-physical-reviews img {
        height: 16px;
        width: 96.4px;
    }

    #free-vs-physical-reviews span {
        padding-left: 10px;
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    #free-vs-physical-table th {
        padding-top: 150px;
        top: 0;
    }

    body.top-promo-on #free-vs-physical-table th {
        padding-top: 200px;
        top: 0;
    }

    body.top-promo-on #free-vs-physical-table {
        margin-top: -200px;
    }

    #free-vs-physical-table {
        margin-top: -150px;
    }

    #free-vs-physical-choose-size-sizes {
        margin-bottom: 50px;
    }

    .free-vs-physical-choose-size-size-photos {
        width: 360px;
        height: 360px;
    }

    .free-vs-physical-choose-size-size-photo {
        width: 360px;
        height: 360px;
    }

    .free-vs-physical-choose-size-size {
        margin-right: 50px;
    }

    .free-vs-physical-choose-size-size:last-child {
        margin-right: 0;
    }

    .free-vs-physical-choose-size-size-photos-list {
        height: 360px;
    }

    #free-vs-physical-choose-size-overlay {
        justify-content: center;
        padding: 0;
    }

    #free-vs-physical-choose-size-sizes {
        flex-direction: row;
    }

    .free-vs-physical-choose-size-size {
        margin-bottom: 0;
    }
}

