* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Gilroy', Arial, sans-serif;
    margin: 0;
}


/* Checkout */


.header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.top-container {
    width: 100%;
    background-color: #141836;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    gap: 20px;
}

.top-container img {
    width: 120px;
    height: auto;
}

.top-container p {
    color: #FFF;
    font-size: 15px;
    font-weight: 400;
    line-height: 27px;
}

.bottom-container {
    width: 100%;
    background-color: #1286D2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: 12px 16px;
    gap: 16px;
}

.header-feature {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.header-feature:not(:last-child) {
    border-right: solid 1px #141836;
    padding-right: 16px;
}

.header-feature__image {
    display: none;
}

.top-text {
    color: rgba(242, 239, 234, 1);
    font-size: 15px;
    font-weight: 450;
    text-align: center;
    line-height: 20px;
}

.header-feature__text {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 450;
}

.products {
    background-color: #F2EFEA;
    padding: 24px 16px 58px 16px;
}

.checkout__title {
    margin: 0 auto;
    color: #141836;
    font-size: 28px;
    line-height: 120%;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 36px;
    padding-bottom: 36px;
    max-width: 977px;
}

.products__cards {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 59px;
}

.refund-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 970px;
    margin: 0 auto;
    gap: 15px;

    margin-top: 48px;
}

.refund__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.refund__header--icon {
    width: 26px;
    height: auto;
}

.refund__header--text {
    color: #141836;
    font-size: 16px;
    line-height: 27px;
    font-weight: 450;
}

.refund__cards {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.refund__header--card {
    height: 30px;
    width: auto;
}

@media (max-width: 450px) {
    .header-feature__text {
        font-size: 12px;
    }

    .header-feature:not(:last-child) {
        border-right: 1px solid #FFFFFF;
        padding-right: 6px;
    }

    .bottom-container {
        gap: 4px;
    }

    .top-container {
        justify-content: space-between;
    }

    .top-container img {
        width: 85px;
    }

    .top-container p {
        width: 100%;
        text-align: left;
        font-size: 10px;
    }

    .refund__header--text {
        width: auto;
    }

    .payment-method__feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 769px) {

    .bottom-container {
        gap: 36px;
    }

    .header-feature:not(:last-child) {
        border-right: none;
        padding-right: 0;
    }

    .top-text {
        font-size: 18px;
        line-height: 27px;
    }

    .header-feature__text {
        font-size: 15px;
    }

    .header-feature__image {
        display: block;
        height: auto;
    }

    .fire {
        width: 18px;
    }

    .happy {
        width: 22px;
    }

    .shield {
        width: 20px;
    }

    .checkout__title {
        font-size: 48px;
        line-height: 68px;
        margin-bottom: 100px;
    }
}

@media (min-width: 1024px) {

    .products__cards {
        flex-direction: row;
        gap: 20px;
    }

    .checkout__title {
        font-size: 50px;
        padding-bottom: 60px;
    }

    .refund-block {
        flex-direction: row;
        justify-content: space-between;
        margin-top: 52px;
        padding-block: 24px;
    }

    .products {
        padding: 62px 24px 24px 24px;
    }
}

/* Benefits */

.benefits-wrapper {
    background-color: rgba(242, 239, 234, 1);
    padding: 40px 16px 59px 16px;
}

.benefits {
    max-width: 980px;
    margin: 0 auto;
    width: 100%;
}

.benefits__title {
    margin: 0 auto;
    color: #141836;
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 25px;
}

.comparison-table {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    width: 100%;
    color: #033737;
}

.comparison-header {
    display: contents;
}

.header-item {
    font-size: 14px;
    line-height: 27px;
    font-weight: 700;
    text-align: center;
    padding: 8px;
}

.comparison-row {
    display: contents;
}

.benefit {
    font-size: 14px;
    font-weight: 450;
    padding: 8px;
    display: flex;
    align-items: center;
}

.competitor,
.slimivex {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
}

.comparison-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.benefit-white-bg {
    background-color: white;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.competitor-white-bg {
    background-color: white;
}

.slimivex-white-bg {
    background-color: white;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

@media (max-width: 768px) {
    .comparison-table {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .header-item {
        font-size: 20px;
    }

    .benefit {
        font-size: 18px;
    }

    .benefits-wrapper {
        background-color: #FFFFFF;
        padding: 50px 24px;
    }

    .benefit-beige-bg {
        background-color: #F2EFEA;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }

    .competitor-beige-bg {
        background-color: #F2EFEA;
    }

    .slimivex-beige-bg {
        background-color: #F2EFEA;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }
}

/* Express Checkout */

.express-checkout {
    background-color: #F2EFEA;
    border-radius: 10px;
    text-align: center;
    padding: 25px 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.express-text {
    color: #141836;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.14px;
    text-align: center;
    line-height: 36px;
}

.express-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.express-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 24px;
    width: 100%;
    max-width: 190px;
    padding: 10px 20px;
}

.paypal-btn {
    background-color: #ffc33b;
    max-width: 315px;
    width: 100%;

}

.apple-pay-btn {
    background-color: #000000;
}

.google-pay-btn {
    background-color: #4285F4;
}

.paypal-btn:hover {
    background-color: #e6b02e;
}

.apple-pay-btn:hover {
    background-color: #333333;
}

.google-pay-btn:hover {
    background-color: #3267d6;
}

.paypal-icon,
.apple-pay-icon,
.google-pay-icon {
    width: auto;
    height: 30px;
    vertical-align: middle;
    border: none;
}

#apple-pay-button,
#google-pay-button {
    display: none;
}

@media (min-width: 1024px) {

    .express-checkout {
        margin-bottom: 40px;
    }
}

@media (max-width: 450px) {

    #apple-pay-button,
    #google-pay-button {
        display: block;
    }

    .express-btn {
        width: calc(100% / 3);
    }

    .paypal-icon,
    .apple-pay-icon,
    .google-pay-icon {
        height: 20px;
    }

}

/* Facts */

.facts__wrapper {
    padding: 35px 16px 40px 16px;
    background-color: #F2EFEA;
}

.good-to-know {
    font-weight: 450;
    font-size: 16px;
    line-height: 32px;
    text-align: center;
    color: #141836;
    margin-bottom: 15px;
}

.facts-title {
    font-weight: 700;
    font-size: 23px;
    line-height: 100%;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    color: #141836;
    margin-bottom: 38px;
}

.burn-fat-text {
    font-weight: 700;
    font-size: 19px;
    line-height: 36px;
    letter-spacing: -0.14px;
    text-align: center;
    color: #1286D2;
    max-width: 544px;
    margin: 0 auto;
    width: 100%;
    margin-bottom: 15px;
}

.natural-formula-text {
    font-weight: 450;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.13px;
    text-align: center;
    color: #141836;
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
}

.facts {
    max-width: 946px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 37px;
}

.facts__item {
    padding: 24px;
    display: flex;
    flex-direction: row;
    gap: 24px;
    background-color: #FFFFFF;
    border-radius: 13px;
    max-width: 366px;
}

.fact-number {
    font-weight: 450;
    font-size: 50px;
    line-height: 30px;
    letter-spacing: -0.36px;
    color: #1286D2;
}

.fact-text {
    font-weight: 450;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.11px;
    color: #141836;
}

.fact-1 {
    transform: rotate(-2deg);
}

.fact-2 {
    transform: rotate(2deg) translateX(20px);
}

.fact-3 {
    transform: rotate(-2deg);
}

@media (min-width: 1024px) {
    .facts__wrapper {
        padding: 70px 24px 140px 24px;
    }

    .good-to-know {
        font-size: 24px;
        margin-bottom: 26px;
    }

    .facts-title {
        font-size: 40px;
        line-height: 48px;
        margin-bottom: 44px;
    }

    .facts {
        flex-direction: row;
        margin-bottom: 80px;
    }

    .facts__item {
        flex-direction: column;
        gap: 12px;
        justify-content: space-between;
        max-width: 300px;
        height: 352px;
        padding: 40px 30px 25px 30px;
        border-radius: 15px;
        background: #FFFFFFB2;
    }

    .lang-de .facts__item,
    .lang-at .facts__item,
    .lang-ch-de .facts__item,
    .lang-ch-fr .facts__item,
    .lang-fr .facts__item,
    .lang-be-fr .facts__item,
    .lang-fi .facts__item {
        max-width: 320px;
        height: 400px;
    }

    .fact-text {
        font-weight: 450;
        font-size: 22px;
        line-height: 30px;
        letter-spacing: -0.16px;
        vertical-align: bottom;
    }

    .burn-fat-text {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .fact-1 {
        transform: translateY(50px) rotate(-8deg);
    }

    .fact-2 {
        transform: none;
    }

    .fact-3 {
        transform: translateY(50px) rotate(8deg);
    }
}

/* Failure Modal */

.failure-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000001F;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.failure-modal-content {
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 8px;
    border: 2px solid #F04040;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.payment-failed-exhoration {
    width: 40px;
    height: auto;
    margin-bottom: 16px;
}

.failure-title {
    font-family: Gilroy;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.failure-list {
    list-style: none;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.failed-list-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.payment-failed-check {
    width: 20px;
    height: 20px;
}

.failure-point {
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
}

.payment-modal-button {
    background-color: #FFA620;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 320px;
}

.payment-modal-button:hover {
    background-color: #f49402;
}

/* SPINNER  */

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #61605f;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (min-width: 769px) {

    .desktop__selection--header {
        margin-bottom: 10px;
    }

    .selection__money-back {
        width: 60%;
    }

    .section-title {
        width: 40%;
        margin-bottom: 0;
    }
}

/* Product card */

.product-card {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px;
    padding: 16px;
    width: 100%;
    border: 1px solid transparent;
    transition: border 0.3s ease, transform 0.3s ease;
    position: relative;
}

.product-image-info-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #D8D8D8;
    padding-bottom: 16px;
    width: 100%;
    margin-top: -56px;
}

.product-image-wrapper {
    width: fit-content;
    position: relative;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-image {
    height: 160px;
    width: auto;
}

.product-card__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding-top: 76px;
}

.product-card__title {
    color: #141836;
    font-size: 28px;
    line-height: 27px;
    font-weight: 700;
    margin-bottom: 8px;
}

.prev-price {
    color: #141836;
    font-size: 15px;
    line-height: 27px;
    font-weight: 450;
}

.shipping-total {
    color: #141836;
    font-size: 15px;
    line-height: 27px;
    font-weight: 450;
}

.new-price {
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.product-card__features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 20px;
    width: fit-content;
}

.product-card__features--item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.features-icon {
    width: 24px;
    height: auto;
}

.features-text {
    color: #141836;
    font-size: 16px;
    line-height: 120%;
    font-weight: 450;
}

.product-card.selected {
    border: 1px solid #FFA620;
}

.product-card.selected .select-button {
    background-color: #FFA620;
    color: #FFFFFF;
}

.select-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid #FFA620;
    color: #FFA620;
    font-size: 18px;
    line-height: 23px;
    font-weight: 800;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.select-button:hover {
    background-color: #FFA620;
    color: #FFFFFF;
}

.discount {
    position: absolute;
    display: block;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FDCA41;
    width: fit-content;
    white-space: nowrap;
    border-radius: 17px;
    color: #141836;
    padding: 0 15px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    line-height: 27px;
}

/* Hide discount badges */
.hidden {
    display: none;
}

/* Promo text styling */
.promo-text {
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
    text-align: center;
    color: #FE2E34;
    margin-top: 10px;
}

@media (max-width: 470px) {

    .product-card__features {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}

@media (min-width: 1024px) {

    .product-card {
        padding: 30px 42px 17px 42px;
        max-width: 375px;
        width: 375px;
        cursor: pointer;
    }

    .product-card:hover {
        transform: scale(1.05);
    }

    .product-image-info-wrapper {
        flex-direction: column;
        border-bottom: none;
        padding-bottom: 0;
        margin-top: -140px;
        gap: 22px;
    }

    .product-image {
        height: 223px;
        width: auto;
    }

    .product-card__info {
        align-items: center;
        text-align: center;
        padding-top: 0;
    }

    .prev-price {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .shipping-total {
        font-size: 16px;
    }

    .features-text {
        font-size: 18px;
    }

    .product-card__features {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}

/* Reviews*/

.reviews__wrapper {
    background-color: #FFFFFF;
    padding: 66px 16px 110px 16px;
    background-image: url("https://img.avenaglp.com/comments-bg.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.reviews {
    max-width: 1182px;
    margin: 0 auto;
    width: 100%;
}

/* COMMENT STYLES */

.comments {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
}

.comments__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    max-width: 240px;
    width: 100%;
}

.comment__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    margin-bottom: 13px;
}

.person {
    display: flex;
    align-items: center;
    gap: 8px;
}

.person-image {
    width: 70px;
    height: 70px;
}

.person-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.person-name {
    color: #141836;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    margin-bottom: 2px;
}

.person-country {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.flag-image {
    width: 18px;
    height: auto;
}

.time-ago {
    color: rgba(112, 112, 112, 1);
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}

.comment__rating {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
}

.comment__rating-img {
    height: 16px;
    width: auto;
}

.comment-text {
    color: #141836;
    font-size: 16px;
    font-weight: 450;
}

/* Стилі для свайпера */
.comments-swiper {
    display: none;
    width: 100%;
    overflow: hidden;
}

.swiper-slide {
    width: 240px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.swiper-slide-next {
    opacity: 0.5;
    filter: blur(1px);
}

.comments-swiper .swiper-pagination {
    margin-top: 34px !important;
    text-align: center !important;
    bottom: auto !important;
    top: auto !important;
    display: block !important;
}

.comments-swiper .swiper-pagination-bullets,
.comments-swiper .swiper-pagination-horizontal {
    bottom: auto !important;
}

.comments-swiper .swiper-pagination-bullet {
    width: 16px !important;
    height: 16px !important;
    background-color: #214F4F !important;
    opacity: 0.2 !important;
    margin: 0 8px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.comments-swiper .swiper-pagination-bullet-active {
    background-color: #214F4F !important;
    opacity: 1 !important;
}

@media (min-width: 1024px) {
    .reviews__wrapper {
        padding: 50px 24px;
    }

    .comments {
        grid-template-columns: repeat(4, 1fr);
        column-gap: 72px;
    }

    .comments-swiper {
        display: none;
    }
}


@media (min-width: 768px) and (max-width: 1023px) {
    .comments {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 32px;
    }

    .comments-swiper {
        display: none;
    }
}

@media (max-width: 767px) {
    .comments {
        display: none;
    }

    .comments-swiper {
        display: block;
    }

    .swiper-pagination {
        display: block;
    }
}

/* Selection */

.selection-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #D8D8D8;
}

.selection__title {
    line-height: 36px;
    color: #141836;
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    letter-spacing: -0.2px;
    max-width: 977px;
    margin: 0 auto;
    margin-bottom: 32px;
    text-align: center;
}

.selection__image--wrapper {
    position: relative;
}

.selection-product__image {
    height: 173px;
    width: auto;
}

.selection-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.package-shipping {
    margin-block: 21px;
    margin-left: 8px;
}

.product-benefits {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.selection-features-icon {
    width: 20px;
    height: auto;
}

.selection-discount {
    display: block;
}

.discount-fixed {
    display: none;
}

@media (min-width: 1024px) {

    .selection-block {
        border-bottom: none;
        gap: 12px;
    }

    .selection-info {
        flex-direction: row;
        gap: 114px;
        justify-content: space-between;
    }

    .selection-features-icon {
        width: 26px;
    }

    .product-benefits {
        gap: 12px;
    }

    .selection-discount {
        display: none;
    }

    .discount-fixed {
        display: block;
        background-color: #FDCA41;
        width: fit-content;
        height: 26px;
        border-radius: 17px;
        color: #141836;
        padding: 0 15px;
        font-size: 18px;
        font-weight: 700;
        text-align: center;
        line-height: 27px;
        margin-bottom: 12px;
    }
}

/* Shipping */

.shipping-and-payment-wrapper {
    background-color: #F2EFEA;
}

.shipping-and-payment {
    max-width: 1078px;
    margin: 0 auto;
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 30px 16px;
}

/* SHIPPING INFO */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

/* .form-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
} */

.shipping-title {
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -0.2px;
    margin-bottom: 10px;
    color: #033737;
}

.header-text-img {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.header-text-img img {
    width: 24px;
    height: 24px;
}

.header-text {
    font-weight: 450;
    font-size: 18px;
    line-height: 21px;
    color: #2A2724;
}

.address-section {
    display: flex;
    flex-direction: column;
}

.address-section-header {
    margin-bottom: 23px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row:not(:last-child) {
    margin-bottom: 16px;
}

.input-field {
    flex: 1;
    padding: 14px 19px;
    border: 1px solid #ABA8A1;
    border-radius: 5px;
    color: #033737;
    font-weight: 450;
    font-size: 16px;
    line-height: 24px;
    height: 55px;
    align-items: center;
    width: 100%;
}

.input-field::placeholder {
    font-family: Gilroy;
}

/* Custom Select */
.custom-select-wrapper {
    position: relative;
    width: 43%;
    min-width: 180px;
}

.custom-select {
    position: relative;
    border: 1px solid #ABA8A1;
    border-radius: 5px;
    font-family: Gilroy;
    height: 55px;
    cursor: pointer;
    background-color: #fff;
    padding: 26px 16px 8px 16px;
    font-family: Gilroy;
    font-weight: 450;
    font-size: 16px;
    line-height: 24px;
    align-items: center;
}

.custom-select .selected-option {
    display: flex;
    align-items: center;
    font-family: Gilroy;
    font-weight: 450;
    font-size: 16px;
    line-height: 24px;
    color: #033737;
}

.custom-select .flag-icon {
    width: 20px;
    height: auto;
    margin-right: 8px;
}

.custom-select .options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ABA8A1;
    border-radius: 5px;
    background-color: #fff;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.custom-select .options li {
    padding: 10px;
    cursor: pointer;
    color: #033737;

}

.custom-select .options li:hover,
.custom-select .options li.selected {
    background-color: #F9F9F9;
}

.custom-select .options li span {
    vertical-align: middle;
}

.custom-select.open .options {
    display: block;
}

.custom-select::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 38px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url('https://img.avenaglp.com/arrow-down.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Adjust input-field for labels */

.custom-select,
.input-phone {
    position: relative;
}

.input-phone::before,
.custom-select::before {
    content: attr(data-label);
    position: absolute;
    left: 16px;
    top: 7px;
    font-family: Gilroy;
    font-weight: 450;
    font-size: 12px;
    line-height: 120%;
    pointer-events: none;
    z-index: 1000;
    color: #033737;
}

.input-phone {
    position: relative;
    flex: 1;
    /* min-width: 180px; */
}

.phone-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    border: 1px solid #ABA8A1;
    border-radius: 5px;
    background-color: #fff;
    height: 55px;
}

.phone-prefix {
    padding: 27px 8px 7px 16px;
    font-family: Gilroy;
    font-weight: 450;
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
    color: #033737;
}

.input-phone .input-field {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 27px 16px 8px 0;
    font-family: Gilroy;
    font-weight: 450;
    font-size: 16px;
    line-height: 24px;
    color: #033737;
}

.phone-container:focus-within {
    border: 1px solid #ABA8A1;
}

/* Стилі для плейсхолдера */
.input-phone .input-field::placeholder {
    color: #9CA3AF;
}

.input-field--full {
    flex: 1;
    width: 100%;
}

/* Payment method */

.payment-section {
    display: flex;
    flex-direction: column;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-method {
    background-color: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #ABA8A1;
    padding: 15px;
}

.payment-method.active {
    background: #F2EFEA;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.payment-header input[type="radio"] {
    width: 22px;
    height: 22px;
}

.payment-title {
    flex: 1;
    font-weight: 450;
    font-size: 17px;
    line-height: 27px;
    color: #292929;
}

.payment-icon-cards {
    max-height: 24px;
    width: auto;
}

.payment-icon-klarna {
    max-height: 27px;
    width: auto;
}

.payment-icon-paypal {
    max-height: 22px;
    width: auto;
}

.payment-details {
    display: none;
}

.payment-method.active .payment-details {
    display: block;
    margin-top: 16px;
}

.payment-method-cards.active .payment-details {
    padding-top: 20px;
}

.input-wrapper {
    position: relative;
    flex: 1;
}

.input-field.error {
    border-color: red;
}

.error-message {
    display: none;
    color: red;
    font-family: Gilroy;
    font-size: 14px;
    margin-top: 5px;
}

.input-credit-card {
    margin-bottom: 15px;
}

.input-label {
    position: absolute;
    top: -30px;
    font-weight: 450;
    font-size: 15px;
    line-height: 25px;
    color: #033737;
}

.continue-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    background-color: #FFA620;
    color: #FFFFFF;
    border: none;
    border-radius: 100px;

    font-family: Gilroy;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.continue-button:hover {
    background-color: #f49402;
}

.button-icon {
    width: 20px;
    height: 20px;
}

.refund-element {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    margin-top: 13px;
}

.refund-element-text {
    font-weight: 450;
    font-size: 16px;
    line-height: 25px;
    text-align: center;
    color: #214F4F;
}

.refund-element-img {
    width: 20px;
    height: auto;
}

.payment-method-info {
    font-weight: 450;
    font-size: 15px;
    line-height: 18px;
    color: #012218;
    margin-top: 16px;
}

.klarna-button {
    background-color: #ffb3c7;
    width: 100%;
    padding: 12px 24px;
    color: #012218;
    border: none;
    border-radius: 100px;

    font-family: Gilroy;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.klarna-button:hover {
    background-color: #ffc7d4;
}

/* radiobutton styles */
.payment-method input[type="radio"] {
    accent-color: #000000;
    outline: none;
    box-shadow: none;
}

.payment-method input[type="radio"]:focus {
    outline: none;
}

.payment-method input[type="radio"]:checked {
    background-color: transparent;
}

/* new FEATURES */
.shipping-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    background-color: #F2EFEA;
    border-radius: 8px;
    padding: 16px;
    margin-top: 24px;
}

.car-image {
    width: 24px;
    height: auto;
}

.shipping-text {
    font-family: Gilroy;
    font-weight: 450;
    font-size: 16px;
    line-height: 150%;
}

.payment-method__features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}

.rating-wrapper {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.payment-method__features__stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-method__features-star {
    width: 113px;
    height: auto;
}

.rating-text-payment {
    font-weight: 450;
    font-size: 14px;
    line-height: 20px;
}

.payment-method__features-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.payment-method__feature {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: calc(100% / 3 - 8px);
}

.payment-method__features-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
}

.payment-method__features-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.payment-method__features-text {
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
}

@media (max-width: 470px) {

    .form-row {
        flex-wrap: wrap;
    }

    .custom-select-wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 37px;
    }
}

@media (min-width: 1024px) {

    .shipping-and-payment-wrapper {
        padding-block: 70px;
    }

    .shipping-and-payment {
        padding: 37px 25px 44px 25px;
    }

    /* .form-content {
        grid-template-columns: 1fr;
    } */

    .shipping-title {
        margin-bottom: 15px;
    }

    .form-row {
        gap: 25px;
    }
}

/* Weight Loss */


.weight-loss-wrapper {
    padding: 87px 16px 0 16px;
    background-image: url('https://img.ketopowerx.com/checkout/bg-mobile.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.weight-loss-content {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 86px;
}

.weight-loss__title {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 40px;
    line-height: 120%;
    text-align: left;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.weight-loss__text {
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    color: #FFFFFF;
    margin-bottom: 27px;
}

.weight-loss-buy-now__button {
    padding: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #26C392;
    border-radius: 9999px;
    max-width: 100%;
    margin: 0 auto;

    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    vertical-align: middle;
    color: #FFFFFF;
}

.weight-loss__features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

.weight-loss__features__stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.weight-loss__features-star {
    width: 16px;
    height: auto;
}

.weight-loss__rating-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
}

.weight-loss__features-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.weight-loss__feature {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

.weight-loss__features-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #DCF5ED;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
}

.weight-loss__features-image {
    width: auto;
    height: 25px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.weight-loss__features-text {
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
}

.approvals-wrapper {
    background-color: #003726;
    padding: 40px 16px;
}

.approvals {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1344px;
}

.approvals__item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

.approvals-icon {
    width: 44px;
    height: auto;
}

.approvals-title {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 32px;
    line-height: 36px;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.approvals-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
}


@media (max-width: 450px) {

    .weight-loss__feature {
        flex-direction: column;
        gap: 12px;
    }
}

@media (min-width: 1024px) {

    .weight-loss-wrapper {
        padding: 108px 20px;
        background-image: url('https://img.ketopowerx.com/checkout/bg-desktop.webp');
    }

    .weight-loss-content {
        padding-bottom: 109px;
    }

    .weight-loss__title {
        font-size: 48.88px;
        line-height: 68px;
        text-align: center;
        margin-bottom: 32px;
    }

    .weight-loss__text {
        text-align: center;
    }

    .approvals-wrapper {
        padding: 40px 20px 88px 20px;
    }

    .approvals {
        flex-direction: row;
        margin: 0 auto;
        justify-content: space-between;
    }

    .approvals__item {
        max-width: 384px;
    }

    .approvals-title {
        font-size: 24px;
    }
}

@media (max-width: 1023px) {
    .product-card[data-bottles="5"] {
        order: 0;
    }

    .product-card[data-bottles="3"] {
        order: 1;
    }

    .product-card[data-bottles="2"] {
        order: 2;
    }

    .product-card[data-bottles="1"] {
        order: 3;
    }
}

.product-card--5 {
    display: none;
}

.show-1-5-3 .product-card--5 {
    display: block;
}

.show-1-5-3 .product-card--2 {
    display: none;
}