* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --headline-background-color: #9C0F0F;
    --header-background-color: #005598;
    --btn-background-color: #FF4500;
    --nav-background-color: #000;
    --menu-icon-background-color: #777;
    --pros-color: #00bb9e;
    --cons-color: #f45;
}

html {
    font-size: 18px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

.keywords {
    display: none;
}

.headline {
    text-align: center;
    color: white;
    background-color: var(--headline-background-color);
    padding: 10px;
    font-size: .55rem;
}

.header {
    background-color: var(--header-background-color);
    color: white;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header h1 {
    font-size: 1.2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* .product-name {
    font-weight: bold;
} */

.cta-action {
    background-color: var(--btn-background-color);
    color: white;
    font-weight: bold;
    /* font-size: .9rem; */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease;
    text-align: center;
    margin: 0 20px;
    /* box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5); */
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
}

.header .cta-action {
    font-size: .9rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.cta-action:hover {
    transform: scale(1.1);
}

.nav {
    background-color: var(--nav-background-color);
    padding: 10px;
    position: sticky;
    top: 80px;
    z-index: 999;
    font-size: .8rem;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}

.nav ul li {
    flex: 1 1 auto;
    text-align: center;
    position: relative;
}

.nav ul li a {
    color: white;
    text-decoration: none;
    padding: 3px;
    display: block;
}

.nav ul li a:hover {
    background-color: #555;
}

.nav ul li:not(:last-child)::after {
    content: "|";
    color: white;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.nav ul li:last-child::after {
    content: none;
}

.menu-icon {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 15px;
}

.menu-icon:hover {
    background-color: var(--menu-icon-background-color);
    border-radius: 50%;
}

.mobile-only {
    /* display: none; */
}

.main {
    /* margin-top: 50px; */
    padding: 20px 100px;
    max-width: 1140px;
    /* max-width: 960px; */
    margin: 0 auto;
    margin-bottom: 80px;
}

.main .cta-action {
    display: block;
    margin: 20px auto;
    min-width: 200px;
    max-width: 400px;
}

section .cta-action {
    font-size: 1.3rem;
}

.offer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 2px dashed #000;
    background-color: #f0f0f0;
    padding: 0 20px;
    margin: 30px 40px;
    border-radius: 10px;
}

.offer__cta-text {
    flex: 1;
    text-align: center;
    font-size: .9rem;
    /* margin: 20px 0; */
}

/* section > .offer__cta-button,
section > .mobile-only > .offer__cta-button {
    margin: 50px auto;
} */

section > .offer__cta-button {
    margin-top: 40px;
    margin-bottom: 40px;
}

.offer__cta-button {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

/* .offer__cta-button {
    display: block;
    margin: 40px auto;
    min-width: 300px;
    max-width: 400px;
} */

/* .offer__cta-button a {
    display: flex;
    justify-content: center;
    align-items: center;
} */

.offer__cta-button .cta-action {
    margin-bottom: 10px;
}

.cta-subtitle {
    text-align: center;
    font-size: .80rem;
}

.intro {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-image {
    max-width: 200px;
    height: auto;
    margin: auto;
    border-radius: 10px;
}

.intro-content {
    display: flex;
    gap: 20px;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    margin: 0 auto;
}

.video-review {
    min-width: 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

video {
    width: 100%;
    height: auto;
}

.main section:not(:first-child) {
    margin-top: 50px;
}

.main section h2 {
    margin: 20px 0;
}

.main section p {
    margin: 10px 0;
}

.main section > ul {
    margin-left: 20px;
}

section {
    scroll-margin-top: 180px;
}

.summary caption {
    font-size: 1.1rem;
    text-align: left;
    font-weight: bold;
}

.summary table {
    margin: 20px 0;
}

.summary table, td, th {
    text-align: left;
    border: 1px solid #ddd;
    border-collapse: collapse;
}

.summary td {
    color: black;
}

.how-it-works-mobile-image {
    display: none;
}

.how-it-works-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.how-it-works-desktop-image,
.how-it-works-mobile-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 390px;
}

/* ------------------------- */
.how-it-works-content {
    display: block;
}

.how-it-works-desktop-image {
    float: left;
    margin-right: 15px;    
}
/* ------------------------- */

.how-it-works-image-container {
    width: 100px;
    height: 230px;
    float: left;
    overflow: hidden;
    margin-right: 15px;
    border-radius: 12px;
}

.how-it-works-image {
    width: 100%;
    border-radius: 12px;
}

.how-it-works-text {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*-----------------------------------------------*/

.pros-cons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* .pros-cons-cards {
    display: flex;
    gap: 20px;
    justify-content: space-around;
    align-items: start;
} */

div.pros-cons-cards {
    display: grid;
    grid-template-columns: 48.5% 48.5%;
    gap: 20px;
    padding: 65px 0 0 0;
}

.pros-cons-cards > div {
    flex: 1;
    padding: 20px;
    border: 3px solid;
    border-radius: 10px;
}

div.pros {
    border-color: var(--pros-color);
}

div.cons {
    border-color: var(--cons-color);
}

.pros-cons-cards ul {
    border-radius: 10px;
    padding: 25px 15px;
    margin: 140px 12px 20px 12px;
}

.pros ul {
    background-color: #DAFFF8;
}

.cons ul {
    background-color: #FCF0F0;
}

.pros-cons-cards ul li {
    list-style-type: none;
    padding: 0 0 0 35px;
    margin: 0 0 5px;
    word-break: unset;
}

.pros ul li {
    background: url(./right.webp) no-repeat 5px 5px;
}

.cons ul li {
    background: url(./wrong.webp) no-repeat 5px 5px;
}

.pros-img, .cons-img {
    width: 100px;
    height: 100px;
    display: grid;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: -100px auto;
}

.pros-img {
    background: var(--pros-color);
}

.cons-img {
    background: var(--cons-color);
}

.ingredients-image {
    display: block;
    margin: 20px auto;
    width: 80%;
    max-width: 720px;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 5px 2px;
}

.benefits h3 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.main .benefits > ul {
    list-style-type: none;
    margin-left: 0;
}

.benefits li {
    position: relative;
    padding-left: 20px;
}

.benefits li::before {
    content: "✔";
    font-weight: bolder;
    /* content: "✅"; */
    color: #28a745;
    position: absolute;
    left: 0;
}

.scam-alert img {
    display: block;
    margin: 20px auto;
}

img.scam-alert {
    max-width: 20%;
}

img.sites-scam-alert {
    max-width: 70%;
}

.main .scam-alert > ul {
    list-style-type: none;
    margin-left: 0;
}

.scam-alert li {
    position: relative;
    padding-left: 20px;
}

.scam-alert li::before {
    content: "✖";
    /* content: "❌"; */
    font-weight: bolder;
    color: #dc3545;
    position: absolute;
    left: 0;
}

.refund-policy > div {
    display: flex;
    gap: 30px;
    align-items: center;
}

.refund-policy img {
    display: block;
    margin: 20px auto;
    max-width: 150px;
}

.img-prices__desktop {
    margin-top: 20px;
    width: 100%;
}

.img-prices__mobile {
    display: none;
}

.table-container {
    display: none; /* HIDE TABLE */
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

thead {
    background-color: #0073e6;
    color: #ffffff;
}

thead th {
    padding: 12px 8px;
    font-size: 16px;
}

tbody tr {
    border-bottom: 1px solid #ddd;
}

tbody td {
    padding: 12px 8px;
    vertical-align: middle;
}

.full-price {
    text-decoration: line-through;
    margin-right: 8px;
    color: #999;
}

.discount-price {
    font-weight: bold;
    color: #28a745;
}

.table-container tbody td:last-child {
    font-weight: bold;
    color: #dc3545;
}

.free-bonuses {
    font-size: .75rem;
    font-weight: 500;
}

.back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--header-background-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: var(--menu-icon-background-color);
}


footer {
    background-color: #DFDFDF;
    padding: 20px 100px;
}

footer {
    font-size: .7rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .intro-content {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .img-prices__desktop {
        display: none;
    }

    .img-prices__mobile {
        display: block;
        margin-top: 20px;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .main {
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    
    .menu-icon {
        display: block;
    }

    .nav {
        padding: 10px 0;
    }    

    .nav ul {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 0px;
        /* left: -20px; */
        width: 100%;
        z-index: 1000;
    }

    .nav:not(:has(ul.show)) {
        padding: 0;
    }    

    .nav ul.show {
        display: flex;
    }    

    .mobile-only {
        display: block;
    }
    
    /* .main {
        padding: 20px 15px;
    } */

    section {
        scroll-margin-top: 130px;
    }    

    .intro-content {
        /* flex-direction: column-reverse; */
        flex-direction: column;
        /* text-align: center; */
        align-items: center;
    }

    .how-it-works-content {
        flex-direction: column;
    }
    
    .how-it-works-desktop-image {
        display: none;
    }
    
    .how-it-works-mobile-image {
        display: block;
    }    

    div.pros-cons-cards {
        display: flex;
        flex-direction: column;
        gap: 70px;
    }

    .offer {
        flex-direction: column;
        width: 90%;
        margin: 30px auto;
        gap: 0;
        padding: 20px;
    }

    /* .offer__cta-button {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    } */

    .offer__cta-button a {
        width: 100%;
    }

    .ingredients-image {
        width: 100%;
    }

    img.scam-alert {
        max-width: 40%;
    }

    img.sites-scam-alert {
        max-width: 90%;
    }

    .refund-policy > div {
        flex-direction: column;
        gap: 0;
    }

    .refund-policy img {
        width: 100%;
    }

    /* .img-prices__desktop {
        display: none;
    }

    .img-prices__mobile {
        display: block;
        margin-top: 20px;
        width: 100%;
    } */
 
    .table-container thead {
        display: none;
    }

    .table-container table,
    .table-container tbody,
    .table-container tr,
    .table-container td {
        display: block;
        width: 100%;
        border: none;
    }

    .table-container tbody tr {
        margin-bottom: 20px;
        /* border-bottom: none; */
    }

    .table-container tbody td {
        text-align: right;
        position: relative;
        padding-left: 50%;
    }

    .table-container tbody td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;
    }

    footer {
        padding: 20px;
    }

    .footer-links {
        flex-direction: column;
    }    
    
}