/* -------------------- Max-width Breakpoints -------------------- */

/* ≤ 480px (Mobile portrait) */
@media (max-width: 480px) {
    .features-list_item {
        flex: 1 1 100%; /* single column */
    }
    .features-list_item .title {
        font-size: 0.9rem;
    }

    .main_title {
        font-size: 0.9rem !important; /* ~14px */
    }
    .btn.btn--green {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    .main_rating-stars i {
        font-size: 0.75rem;
    }

    a.link.d-inline-flex.align-items-center {
        font-size: 16px;
    }
    .footer_secondary-copyright {
        font-size: 14px;
    }
    .products_list {
        grid-template-columns: 1fr;
    }
    a.nav-link.d-inline-flex.align-items-center {
        display: block;
        width: 100%;
        padding: 10px;
        border-bottom: 1px solid #c4c4c4;
    }

    .footer-trust-badges {
        --badge-gap: 0.5rem;
        padding: 20px 1.25rem;
    }
    .footer-trust-badges .trust-badge {
        max-width: 100px;
        min-width: 32px;
    }

    .header_nav .dropdown-toggle {
        margin-bottom: 0px !important;
    }
    .nav-item a.dropdown-item {
        padding: 17px 20px;
        display: block;
        margin: 0px;
        border-bottom: 1px solid #c4c4c4;
    }
    .header_nav .dropdown .nav-item {
        margin-bottom: 0px !important;
    }

}

/* ≤ 768px (Mobile landscape & small tablets) */
@media (max-width: 768px) {
    .features-list {
        gap: 1rem;
    }
    .features-list_item {
        flex: 1 1 45%; /* two per row */
    }

    .products_list {
        grid-template-columns: repeat(2, 1fr);
    }

    .main_title {
        font-size: 1rem !important; /* ~16px */
    }
    .btn.btn--green {
        font-size: 0.9rem !important;
        padding: 0.45rem 0.9rem;
    }
    .main_rating-stars i {
        font-size: 0.85rem !important;
    }

    .header_nav .dropdown-toggle {
        margin-bottom: 0px !important;
    }
    .nav-item a.dropdown-item {
        padding: 17px 20px;
        display: block;
        margin: 0px;
        border-bottom: 1px solid #c4c4c4;
    }
    .header_nav .dropdown .nav-item {
        margin-bottom: 0px !important;
    }
    a.nav-link.d-inline-flex.align-items-center {
        display: block;
        width: 100%;
        padding: 10px;
        border-bottom: 1px solid #c4c4c4;
    }

}

/* ≤ 900px */
@media (max-width: 900px) {
    .footer-trust-badges {
        --badge-gap: 0.75rem;
    }
    .footer-trust-badges .trust-badge {
        max-width: 120px;
        min-width: 36px;
    }
}

/* ≤ 992px (Tablet) */
@media (max-width: 992px) {
    .features-list_item {
        padding: 0.9rem;
    }
    .features-list_item .title {
        font-size: 0.95rem;
    }
    .features-list_item .icon {
        width: 52px;
        height: 52px;
    }

    .products_list {
        grid-template-columns: repeat(3, 1fr);
    }

    .header_nav .dropdown-toggle {
        margin-bottom: 0px !important;
    }
    .nav-item a.dropdown-item {
        padding: 17px 20px;
        display: block;
        margin: 0px;
        border-bottom: 1px solid #c4c4c4;
    }
    .header_nav .dropdown .nav-item {
        margin-bottom: 0px !important;
    }
    a.nav-link.d-inline-flex.align-items-center {
        display: block;
        width: 100%;
        padding: 10px;
        border-bottom: 1px solid #c4c4c4;
    }
}

/* ≤ 1024px (Tablet screens) */
@media (max-width: 1024px) {
    .main_title {
        font-size: 1.125rem; /* ~18px */
    }
    .btn.btn--green {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
    .main_rating-stars i {
        font-size: 0.95rem;
    }

    .header_nav .dropdown-toggle {
        margin-bottom: 0px !important;
    }
    .nav-item a.dropdown-item {
        padding: 17px 20px;
        display: block;
        margin: 0px;
        border-bottom: 1px solid #c4c4c4;
    }
    .header_nav .dropdown .nav-item {
        margin-bottom: 0px !important;
    }
    a.nav-link.d-inline-flex.align-items-center {
        display: block;
        width: 100%;
        padding: 10px;
        border-bottom: 1px solid #c4c4c4;
    }
}


/* -------------------- Min-width Breakpoints -------------------- */

/* ≥ 575.98px */
@media screen and (min-width: 575.98px) {
    .footer_main-instagram_list {
        grid-template-rows: repeat(2, 1fr);
        grid-template-columns: repeat(3, 1fr);
    }
    .footer_main-instagram_list .link {
        height: 140px;
    }
}

/* ≥ 767.98px */
@media screen and (min-width: 767.98px) {
    h1 {
        font-size: 40px;
    }
    .section {
        padding: 90px 0;
    }
    .section--nopb {
        padding: 90px 0 0;
    }

    .footer_main-instagram_list .link {
        height: 93px;
    }
    .footer_main-about {
        margin-top: -18px;
    }
    .footer_main-about_brand {
        margin-left: 0;
    }
    .footer_main-about_brand .logo {
        margin-right: 10px;
        width: 48px;
    }
    .footer_main-about_wrapper .text {
        max-width: 260px;
    }
    .footer_main-nav_list .list-item {
        width: unset;
    }
    .footer_secondary-copyright {
        text-align: left;
    }
    .footer_secondary-copyright .linebreak {
        display: block;
    }
    .footer_secondary-list {
        margin-bottom: 0;
    }

    .header_logo .logo img {
        width: 48px;
    }
}

/* ≥ 991.98px */
@media screen and (min-width: 991.98px) {
    .section {
        padding: 50px 0 0 0;
    }
    .section--nopb {
        padding: 160px 0 0;
    }
    .swiper-pagination--dots {
        margin-top: 60px;
    }
    h1 {
        font-size: 56px;
        line-height: 1.2;
    }
    h2 {
        font-size: 36px;
        line-height: 1.2;
    }
    h3 {
        font-size: 28px;
    }
    h4 {
        font-size: 22px;
        line-height: 1.1;
    }

    .footer_main-about_wrapper .text {
        margin: 5px 0 50px;
    }
    .footer_main-instagram_list {
        grid-gap: 20px;
    }
    .footer_main-instagram_list .link {
        height: 120px;
    }
    .footer_secondary {
        padding: 18px 0;
    }
}

/* ≥ 1199.98px */
@media screen and (min-width: 1199.98px) {
    .footer_main-instagram {
        max-width: 312px;
    }
    .footer_main-instagram_list .list-item {
        height: 100px;
    }
    .footer_main-instagram_list .list-item .link {
        height: 100%;
    }
    .footer_secondary-copyright .linebreak {
        display: inline;
    }
}

.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #128C7E;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 9999;
}
.whatsapp-chat img {
    width: 35px;
    height: 35px;
}

/* ---------- Footer badges: responsive single-row layout ---------- */
.footer-trust-badges {
    --badge-gap: 1rem;              /* change gap centrally */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;              /* keep in one row */
    gap: var(--badge-gap);
    box-sizing: border-box;
    padding: 20px 0.5rem;              /* small container padding */
    overflow: visible;
    background: rgba(37, 143, 103, .1);
}

/* Each badge width is computed so 4 badges + 3 gaps = 100% of the container */
.footer-trust-badges .trust-badge {
    display: block;
    width: calc((100% - (3 * var(--badge-gap))) / 4);
    max-width: 140px;               /* cap on large screens */
    min-width: 40px;                /* safeguard so they don't become unusably small */
    height: auto;
    object-fit: contain;            /* no cropping, keep aspect ratio */
    flex: 0 1 auto;                 /* allow shrinking but not forced stretching */
}

/* Fallback override: use only if a global rule forces img to 100% */
.footer-trust-badges .trust-badge.override-force {
    width: calc((100% - (3 * var(--badge-gap))) / 4) !important;
    max-width: 150px !important;
    min-width: 32px !important;
}

/* Footer */
.footer_main {
    background: #214842;
    color: #fff
}

.footer_main-header {
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff
}

.footer_main-block {
    margin-bottom: 30px
}

.footer_main-block:last-of-type {
    margin-bottom: 0
}

.footer_main-about_brand {
    margin-bottom: 10px
}

.footer_main-about_brand svg {
    margin-right: 10px
}

.footer_main-about_wrapper .text {
    margin: 5px 0 20px
}

.footer_main-about_wrapper .socials {
    font-size: 22px
}

.footer_main-about_wrapper .socials .list-item {
    margin-right: 25px
}

.footer_main-about_wrapper .socials .list-item:last-of-type {
    margin-right: 0
}

.footer_main-about_wrapper .socials .list-item .link .icon {
    display: inline-block;
    -webkit-transition: .3s ease-in;
    -o-transition: .3s ease-in;
    transition: .3s ease-in
}

.footer_main-about_wrapper .socials .list-item .link .icon:focus, .footer_main-about_wrapper .socials .list-item .link .icon:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1)
}

.footer_main-contacts_list .list-item {
    margin-bottom: 15px
}

.footer_main-contacts_list .list-item:last-of-type {
    margin-bottom: 0
}

.footer_main-contacts_list .list-item .icon {
    border-radius: 50%;
    background: #efc368;
    width: 35px;
    height: 35px;
    margin-right: 20px;
    color: #214842;
    font-size: 16px
}

.footer_main-contacts_list .list-item .link:focus, .footer_main-contacts_list .list-item .link:hover {
    color: #efc368
}

.footer_main-nav_list .list-item {
    margin-bottom: 5px;
    width: 100%;
    padding-right: 10px
}

.footer_main-nav_list .list-item:last-of-type {
    margin-bottom: 0
}

.footer_main-nav_list .list-item .icon {
    font-size: 16px;
    margin-right: 5px
}

.footer_main-nav_list .list-item .link:focus, .footer_main-nav_list .list-item .link:hover {
    color: #efc368
}

.footer_main-instagram_list {
    grid-template-rows:repeat(3, 1fr);
    grid-template-columns:repeat(2, 1fr);
    grid-gap: 15px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.footer_main-instagram_list .link {
    border-radius: 8px;
    overflow: hidden;
    display: block;
    height: 115px;
    width: 100%
}

.footer_main-instagram_list .link .preview {
    -webkit-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    height: 100%
}

.footer_main-instagram_list .link:focus .preview, .footer_main-instagram_list .link:hover .preview {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1)
}

.footer_secondary {
    padding: 30px 0;
    background-color: #fafaf5
}

.footer_secondary-copyright {
    text-align: center
}

.footer_secondary-list {
    margin-bottom: 20px
}

.footer_secondary-list .list-item {
    margin-right: 20px
}

.footer_secondary-list .list-item:last-of-type {
    margin-right: 0
}

.section {
    padding: 60px 0
}

.section--nopb {
    padding: 60px 0 0
}

/* Nutrition Facts Label Styling */
.nutrition-facts {
    max-width: 350px;
    padding: 15px;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #000;
    margin: 25px 0px;
}

.products_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Desktop default */
    gap: 20px;
}

/* Container */
.hero_contacts {
    margin-top: 2rem;
    padding: 1rem 0;
}

/* Grid layout for features */
.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Each row */
.features-list_row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    flex: 1;
}

/* Feature item */
.features-list_item {
    flex: 1 1 220px; /* flexible responsive columns */
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.features-list_item:hover {
    background: #e8f6ec; /* light green hover */
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Icon */
.features-list_item .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e5f5e8;
    color: #1a7f3c;
    margin-bottom: 0.8rem;
    flex-shrink: 0;
}

.features-list_item svg {
    width: 28px;
    height: 28px;
}

.anchor-link {
    color: #0d6efd;
}

.text-white {
    color: #ffffff; !important;
}
.text-center {
    text-align: center;
}

.blog-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}
.blog-card {
    border: 1px solid #e2e8f0; /* light border */
    border-radius: 0.75rem; /* rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 20px;
    background-color: #fff;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Typography */
.post-content {
    line-height: 1.8rem;
}

.post-content p,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-bottom: 12px;
}

/* Links */
.post-content a {
    color: #1a0dab;
    transition: 0.3s ease;
}

.post-content a:hover {
    text-decoration: underline;
    background: rgba(42, 115, 94, 0.06);
}

/* Lists */
.post-content ol,
.post-content ul {
    margin-left: 40px;
}

.post-content ol {
    list-style-type: decimal;
}

.post-content ul {
    list-style-type: disc;
}
