body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
}

.quiz-transition-page{
    height: 100dvh;
    background-color: #080808;
    display: block;
    color: #fff;
    font-family: Roboto, sans-serif;
    overflow: hidden;
}
.top-banner{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #04d833;
    height: 1.875rem;
    position: relative;
    z-index: 200;
    height: 30px;
}
.static-text{
    font-size: 14px;
    color: #000;
    font-weight: 700;
}
@media (min-width: 1024px) {
    .top-banner{
        height: 42px;
    }
    .static-text{
    font-size: 20px;
}
}

nav .nav-content{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: auto;
    padding: .75rem .5rem;
}
nav .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
nav .logo, nav .logo-small, nav .icon-back {
    grid-column: 1;
    justify-self: start;
}
@media (min-width: 768px) {
    nav .nav-content {
        height: auto;
        padding: .75rem 2rem;
    }
     nav .icon-back img {
        height: 1.5rem;
    }
}

nav .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
nav.nav-default .logo, nav.nav-checkout .logo, nav.nav-article .logo {
    grid-column: 2;
    justify-self: center;
}
.icon-back img{
        height: 18px;
    }
.logo img{
    width: 90px;
}
@media (min-width: 768px) {
    .icon-back img {
        height: 24px;
    }
    .logo img{
    width: 100px;
}
}

/* Transition page */
.quiz-transition-page:not(.is-quiz) .icon-back {
    visibility: hidden;
}
.transition-content {
    padding-top: 3.5625rem;
}
.transition-text {
    text-align: center;
    padding: 0 1rem;
}
.transition-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}
.transition-subtitle {
    margin: 1.125rem 0 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}
.image-marquee {
    margin-top: 5.6875rem;
    overflow: hidden;
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
}
.marquee-group {
    display: flex;
    gap: .75rem;
    padding-right: .75rem;
}
.marquee-group img {
    display: block;
    height: 16rem;
    width: auto;
    aspect-ratio: 615 / 512;
    object-fit: cover;
    border-radius: .75rem;
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes marquee-scroll-reverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}
.image-marquee--mobile {
    display: none;
}
@media (max-width: 767px) {
    .transition-content {
        padding-top: 0px;
    }
    .transition-text {
        max-width: 18.75rem;
        margin: 0 auto;
    }
    .transition-subtitle {
        margin-top: 12px;
        line-height: 1.5rem;
    }
    .image-marquee--desktop {
        display: none;
    }
    .image-marquee--mobile {
        display: flex;
        flex-direction: column;
        gap: .625rem;
        margin-top: 20px;
    }
    .image-marquee--mobile .marquee-track {
        animation-duration: 60s;
    }
    .image-marquee--mobile .marquee-track--reverse {
        animation-name: marquee-scroll-reverse;
        animation-duration: 64s;
    }
    .marquee-group img {
        height: 12.625rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}


/* Quiz page */
.quiz-content {
    width: min(600px, 100% - 2rem);
    margin: 0 auto;
    padding: 3.0625rem 0 2rem;
}
.quiz-progress {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.progress-track {
    flex: 1;
    height: .75rem;
    border-radius: 999px;
    background-color: #fcfcfc;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    width: var(--progress);
    background-color: #282ff5;
    animation: progress-grow .6s ease-out;
}
@keyframes progress-grow {
    from { width: var(--progress-from, 0%); }
}
.progress-count {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
}
.quiz-question {
    margin: 2.25rem auto 1rem;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.quiz-option {
    width: 100%;
    height: 3.125rem;
    padding: 0 1rem;
    border: none;
    border-radius: .75rem;
    background-color: #fff;
    color: #000;
    font-family: Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.quiz-question--narrow {
    max-width: 26.25rem;
}
.quiz-option.is-selected {
    background-color: #3238fa;
    color: #fff;
}

@media (max-width: 767px) {
    .quiz-content{
        padding: 1.7rem 0 2rem;
    }
    .progress-count {
    font-size: 14px;}
    .quiz-option{
        font-size: 14px;
    }
    .quiz-question {
    max-width: 23rem;
}
}

/* Results page */
.results-page {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: #080808;
    color: #fff;
    font-family: Roboto, sans-serif;
}
.results-main {
    flex: 1;
    padding: 2rem 1rem 1.125rem;
    background: #000;
}
.results-heading {
    text-align: center;
}
.results-title {
    margin: 0;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
}
.results-subtitle {
    margin: .3rem 0 0;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
}
.results-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 60.5rem;
    margin: 2rem auto 0;
}
.product-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}
.product-slide img {
    display: block;
    width: 18.75rem;
    max-width: 100%;
    height: auto;
}
.product-thumbs {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: .4375rem;
}
.product-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
    padding: .375rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: .25rem;
    background-color: #080808;
    cursor: pointer;
}
.product-thumb.is-active {
    border-color: #fff;
}
.product-thumb img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}
.product-tagline {
    margin: 2.5rem 0 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}
.product-info {
    padding-top: 2.75rem;
}
.product-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.product-name {
    margin: 0;
    font-family: 'Archivo Black', sans-serif;
    font-size: 3.4rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.09375rem;
}
.product-rank {
    margin-right: .5rem;
    letter-spacing: 0;
    font-size: 2.25rem;
}
.product-badge {
    padding: .65625rem .75rem;
    border: 1px solid #fff;
    border-radius: .25rem;
    background-color: #000;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}
.product-desc {
    margin: 1rem 0 0;
    font-size: 1rem;
    line-height: 1.3125rem;
}
.product-stats {
    display: flex;
    margin-top: 1.5rem;
    border-top: 1px solid #383838;
    border-bottom: 1px solid #383838;
}
.product-stat {
    flex: 1 1 auto;
    padding: .90625rem .5rem;
    font-size: 1rem;
    text-align: center;
}
.product-stat + .product-stat {
    border-left: 1px solid #383838;
}
.product-ingredients {
    width: fit-content;
    margin: 1.40625rem auto 0;
    padding: 0;
    list-style: none;
    font-size: 1rem;
    line-height: 1.54;
}
.product-ingredients li {
    position: relative;
    padding-left: 1.3125rem;
}
.product-ingredients li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: .8125rem;
    height: .625rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 10' fill='none'%3E%3Cpath d='M1 5.2 4.5 8.6 12 1.2' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.product-ingredients strong {
    font-weight: 700;
}
.product-ingredients sup {
    font-size: .65em;
    line-height: 0;
}
.product-price {
    margin: 8.25rem 0 0;
    font-size: 1rem;
    line-height: 1.8rem;
    color: #dddbdf;
    text-align: center;
}
.product-price strong {
    font-size: 1.25rem;
    color: #fff;
}
.product-cta {
    display: block;
    width: 100%;
    height: auto;
    margin-top: .25rem;
    border: none;
    border-radius: 999px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
    color: #000;
    font-family: Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    appearance: auto;
    padding: 16px 0;
    text-align: center;
}
.product-learn {
    display: block;
    width: fit-content;
    margin: 1.625rem auto 0;
    font-size: .875rem;
    font-weight: 700;
    color: #fff;
}
.product-disclaimer {
    margin: 1.375rem 0 0;
    font-size: .75rem;
    line-height: .9rem;
    color: #e3dfe9;
}
.results-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    height: 2.5rem;
    background-color: #000000;
    font-size: 1rem;
}
.results-trust strong {
    margin: 0 -.125rem;
}
.trust-stars {
    letter-spacing: .0625rem;
}
@media (max-width: 767px) {
    .results-main {
        padding: 0rem 1rem 1.4375rem;
        /* background: linear-gradient(180deg, #080808 52%, #8e6219 100%); */
    }
    .results-title {
        font-size: 1.4rem;
    }
    .results-subtitle {
        margin-top:0rem;
        font-size: 1.1rem;
    }
    .results-product {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 0.8rem;
    }
    .product-gallery,
    .product-info {
        display: contents;
    }
    .product-title-row { order: 1; }
    .product-desc { order: 2; }
    .product-slide { order: 3; }
    .product-thumbs { order: 4; }
    .product-price { order: 5; }
    .product-stats { order: 6; }
    .product-ingredients { order: 7; }
    .product-tagline { order: 8; }
    .product-cta { order: 9; }
    .product-learn { order: 10; }
    .product-disclaimer { order: 11; }
    .product-name {
        font-size: 2rem;
        letter-spacing: -.0625rem;
    }
    .product-rank {
        margin-right: .3125rem;
        font-size: 1.5rem;
    }
    .product-badge {
        padding: .375rem .5rem;
        font-size: .875rem;
    }
    .product-desc {
        margin-top: .51875rem;
        font-size: .875rem;
        line-height: 1.1375rem;
    }
    .product-slide {
        margin-top: .7rem;
        aspect-ratio: auto;
    }
    .product-slide img {
        width: 11rem;
    }
    .product-thumbs {
        justify-content: flex-start;
    }
    .product-thumb {
        width: 3.75rem;
        height: 3.75rem;
    }
    .product-price {
        margin-top: 0.5rem;
        font-size: .875rem;
        line-height: 1.25rem;
    }
    .product-price strong {
        font-size: 1rem;
    }
    .product-stats {
        margin-top: .40625rem;
    }
    .product-stat {
        padding: .2rem .5rem;
        font-size: .875rem;
    }
    .product-ingredients {
        margin-top: 0.7rem;
        font-size: .875rem;
    }
    .product-ingredients li {
        padding-left: 1.125rem;
    }
    .product-ingredients li::before {
        width: .75rem;
        height: .5625rem;
    }
    .product-tagline {
        margin-top: 0.4rem;
        font-size: 1rem;
    }
    .product-cta {
        height: auto;
        margin-top: 0.8rem;
        font-size: 1.25rem;
    }
    .product-learn {
        margin-top: 1.625rem;
    }
    .product-disclaimer {
        margin-top: 1.40625rem;
        font-size: .625rem;
        line-height: .75rem;
    }
    .results-trust {
        font-size: .875rem;
    }
    nav .nav-content{
        padding: .5rem .5rem;
    }
}


/* Generating recommendations screen */
.generating-content {
    width: min(600px, 100% - 2rem);
    margin: 0 auto;
    padding: 2.46875rem 0 2rem;
}
.generating-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}
.generating-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 2.125rem;
    mix-blend-mode: lighten;
}
a.product-cta {
    text-decoration: none;
}
