.order-status-container {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.order-status-cards {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.order-status-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.order-status-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--color-white);
}

.order-status-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-status-card-title {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
    color: var(--tertiary-color);
}

.order-status-card-label {
    font-size: 0.75rem;
    margin: 0;
    color: var(--grey-60);
}

.order-status-card.green .order-status-card-icon {
    background-color: var(--green-success);
}

.order-status-card.yellow .order-status-card-icon {
    background-color: var(--yellow);
}

.order-status-card.red .order-status-card-icon {
    background-color: var(--red-fill);
}

.order-status-card.gray .order-status-card-icon {
    background-color: var(--grey-60);
}

.order-status-actions {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.retry-payment-button {
    display: inline-flex;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 0.75rem;
    position: relative;
    background-color: var(--action);
    border-radius: 0.5rem;
    font-weight: 400;
}

    .retry-payment-button:hover,
    .retry-payment-button:active {
        background-color: var(--search-icon-purple);
    }

@media (max-width: 48rem) {
    .order-status-cards {
        flex-direction: column;
    }

    .order-status-card {
        width: 100%;
    }
}

.order-details-section.what-to-expect-next-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.what-to-expect-next-container {
    width: 54.5rem;
    max-width: 100%;
    height: 22rem;
    display: flex;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--background);
    border-radius: 1rem;
}

.what-to-expect-next-left {
    width: 27.25rem;
    height: 22rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.what-to-expect-next-header {
    color: var(--grey-90);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 0 0.625rem 0;
}

.what-to-expect-next-scroll-container {
    flex: 1;
    padding: 0.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    background: white;
    border-radius: 0.5rem;
}

    .what-to-expect-next-scroll-container::-webkit-scrollbar {
        width: 0.375rem;
    }

    .what-to-expect-next-scroll-container::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 0.1875rem;
    }

    .what-to-expect-next-scroll-container::-webkit-scrollbar-thumb {
        background: var(--grey-20);
        border-radius: 0.1875rem;
    }

.what-to-expect-next-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

    .what-to-expect-next-steps::before {
        content: '';
        position: absolute;
        top: 0.5rem;
        left: 0.9375rem;
        height: calc(100% - 3.6875rem);
        width: 0.0625rem;
        background: radial-gradient(ellipse 0.03125rem 0.0625rem, var(--grey-20) 100%, transparent 100%);
        background-size: 0.0625rem 0.25rem;
        background-repeat: repeat-y;
        z-index: 0;
    }

.what-to-expect-next-step {
    height: 3.6875rem;
    padding: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 0.25rem;
}

    .what-to-expect-next-step:hover {
        background-color: var(--grey-10);
    }

    .what-to-expect-next-step.active {
        background-color: var(--background);
        position: relative;
    }

        .what-to-expect-next-step.active::before {
            content: '';
            position: absolute;
            left: 0.4375rem;
            top: 0;
            width: 0.0625rem;
            height: 100%;
            background-color: var(--background);
            z-index: 1;
        }

.what-to-expect-next-step-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

    .what-to-expect-next-step-icon .s4d-icon {
        font-size: 1rem;
        color: var(--grey-90);
    }

.what-to-expect-next-step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.what-to-expect-next-step-header {
    color: var(--grey-90);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

.what-to-expect-next-step-subtitle {
    overflow: hidden;
    color: var(--grey-60);
    text-overflow: ellipsis;
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
}

.what-to-expect-next-right {
    width: 27.25rem;
    height: 22rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

.what-to-expect-next-right-desktop {
    display: block;
    width: 100%;
    height: 100%;
}

.what-to-expect-next-right-mobile {
    display: none;
}

.what-to-expect-next-right-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.what-to-expect-next-right-icon {
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

    .what-to-expect-next-right-icon .s4d-icon {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 3.5rem;
        color: var(--search-icon-purple);
    }

.what-to-expect-next-right-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.what-to-expect-next-right-title {
    color: var(--grey-90);
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    text-transform: capitalize;
    width: 100%;
}

.what-to-expect-next-right-text1 {
    color: var(--grey-60);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    line-height: normal;
}

.what-to-expect-next-right-text2 {
    color: var(--grey-60);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0 0 0.5rem 0;
    line-height: normal;
}

.what-to-expect-next-right-text3 {
    color: var(--grey-60);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0 0 0.5rem 0;
    line-height: normal;
}

    .what-to-expect-next-right-text3.what-to-expect-next-text-left {
        text-align: left !important;
        align-self: flex-start;
        width: 100%;
    }

    .what-to-expect-next-right-text3:last-child,
    .what-to-expect-next-right-text3.last {
        margin-bottom: 0;
    }

    .what-to-expect-next-right-text3.italic {
        font-style: italic;
    }

    .what-to-expect-next-right-text3.highlight {
        border-radius: 0.5rem;
        background: var(--grey-10);
        color: var(--grey-60);
        font-size: 0.75rem;
        font-weight: 400;
        padding: 1rem;
        margin-bottom: 0;
        text-align: left;
    }

    .what-to-expect-next-right-text3 .s4d-icon {
        display: inline-block;
        margin-right: 0.5rem;
        font-size: 1rem;
        vertical-align: middle;
    }

    .what-to-expect-next-right-text3:has(.s4d-icon) {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
    }

        .what-to-expect-next-right-text3:has(.s4d-icon) .s4d-icon {
            margin-right: 0;
            flex-shrink: 0;
        }

    .what-to-expect-next-right-text3 .s4d-icon.s4d-check {
        color: var(--green-success);
    }

    .what-to-expect-next-right-text3 .s4d-icon.s4d-close-alt {
        color: var(--red-fill);
    }

@media (max-width: 48rem) {
    .what-to-expect-next-container {
        width: 100%;
        flex-direction: column;
        height: auto;
    }

    .what-to-expect-next-left {
        display: none;
    }

    .what-to-expect-next-right {
        width: 100%;
        position: relative;
        height: auto;
    }

    .what-to-expect-next-right-desktop {
        display: none;
    }

    .what-to-expect-next-right-mobile {
        display: block;
        width: 100%;
        height: 24.125rem;
        position: relative;
        background: var(--card-total-bg);
    }

    .what-to-expect-next-swiper-wrapper {
        width: 100%;
        height: 24rem;
        position: relative;
        padding: 1rem;
        box-sizing: border-box;
    }

    .what-to-expect-next-swiper {
        width: 100%;
        height: 100%;
    }

        .what-to-expect-next-swiper .swiper-slide {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .what-to-expect-next-swiper .swiper-slide-active {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

    #what-to-expect-next-swiper .swiper-pagination {
        position: absolute;
        bottom: 0.77rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 10;
        width: auto;
        margin: 0;
        padding: 0;
        gap: 0.25rem;
    }

        #what-to-expect-next-swiper .swiper-pagination .swiper-pagination-bullet {
            width: 0.375rem;
            height: 0.375rem;
            border-radius: 1rem;
            background: var(--grey-30);
            opacity: 1;
            margin: 0;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #what-to-expect-next-swiper .swiper-pagination .swiper-pagination-bullet-active {
            width: 1rem;
            height: 0.375rem;
            border-radius: 1rem;
            background: var(--grey-60);
        }

    #what-to-expect-next-swiper .what-to-expect-next-swiper-button-prev,
    #what-to-expect-next-swiper .what-to-expect-next-swiper-button-next {
        position: absolute;
        bottom: 1rem;
        transform: translateY(50%);
        z-index: 10;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 1.5rem;
        height: 1.5rem;
    }

    #what-to-expect-next-swiper .what-to-expect-next-swiper-button-prev {
        left: 50%;
        transform: translateX(calc(-100% - 3rem - 1rem)) translateY(50%);
    }

    #what-to-expect-next-swiper .what-to-expect-next-swiper-button-next {
        left: 50%;
        transform: translateX(calc(3rem + 1rem)) translateY(50%);
    }

        #what-to-expect-next-swiper .what-to-expect-next-swiper-button-prev .s4d-icon,
        #what-to-expect-next-swiper .what-to-expect-next-swiper-button-next .s4d-icon {
            font-size: 1.5rem;
            color: var(--grey-60);
        }

        #what-to-expect-next-swiper .what-to-expect-next-swiper-button-prev.swiper-button-disabled .s4d-icon,
        #what-to-expect-next-swiper .what-to-expect-next-swiper-button-next.swiper-button-disabled .s4d-icon {
            opacity: 0.3;
        }
}

.order-review-page {
    width: 80vw;
    margin: 0 auto;
}

.s4d-mobile .order-review-page {
    width: 100%;
    margin: 0 auto;
}

.review-prod-img {
    width: 5.5rem;
    height: 5.5rem;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 0.063rem solid var(--grey-20);
}

.review-item-card .overall-experience-text {
    font-weight: 500;
}

.review-prod-title {
    font-weight: 600;
    line-height: 1.2;
}

.review-prod-sub {
    color: var(--grey-50);
    font-size: .9rem;
    margin-top: .25rem;
}

.review-textarea {
    border-radius: 0.625rem;
}

.review-item-card .classic-rating {
    background-color: transparent !important;
    border: none !important;
    height: auto;
    box-shadow: none;
    gap: 1.5rem;
    width: auto;
}

.upload-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.upload-box {
    width: 8.75rem;
    aspect-ratio: 1 / 1;
    border: 0.063rem dashed var(--grey-20);
    border-radius: 0.75rem;
    background: var(--card-total-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.s4d-mobile .upload-box {
    width: 5.75rem
}

.upload-placeholder {
    text-align: center;
    color: var(--grey-50);
    font-size: .85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-label {
    margin-top: 0.25rem;
}

.upload-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.upload-remove {
    position: absolute;
    top: 0.375rem;
    right: 0.375rem;
    width: 1.625rem;
    height: 1.625rem;
    border: 0;
    border-radius: 50%;
    background: var(--color-white);
    cursor: pointer;
    line-height: 1.625rem;
    font-size: 1.125rem;
    z-index: 5;
}

.rating-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.25rem;
}

    .rating-stars input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .rating-stars label {
        cursor: pointer;
        color: var(--grey-60);
        line-height: 1;
        user-select: none;
    }

.rating-stars--lg label {
    font-size: 2rem;
}

.s4d-mobile .rating-stars--lg label {
    font-size: 1.5rem;
}

.rating-stars--sm label {
    font-size: 1rem;
}

.rating-stars .star-full {
    display: none;
}

.rating-stars .star-empty {
    display: inline-block;
}


.rating-stars input:checked ~ label .star-full {
    display: inline-block;
}

.rating-stars input:checked ~ label .star-empty {
    display: none;
}

.rating-stars label:hover .star-full,
.rating-stars label:hover ~ label .star-full {
    display: inline-block;
}

.rating-stars label:hover .star-empty,
.rating-stars label:hover ~ label .star-empty {
    display: none;
}

.rating-stars input:checked ~ label {
    color: var(--yellow);
}

.rating-stars label:hover,
.rating-stars label:hover ~ label {
    color: var(--yellow);
}

.upload-input {
    position: absolute;
    width: 0.063rem;
    height: 0.063rem;
    opacity: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

.upload-slot {
    position: relative;
}

.upload-placeholder .s4d-icon {
    font-size: 1.6rem;
}

.bottom-questions {
    display: inline-grid;
    row-gap: 0.75rem;
}

.bottom-question-row {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 1.5rem;
    align-items: center;
}

@media (min-width: 48.0625rem) {
    .what-to-expect-next-right-content {
        padding-top: 2rem;
    }

    .what-to-expect-next-right-text {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .what-to-expect-next-right-title {
        margin: 0 0 1rem 0;
    }
}
