.payment-icons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    /* Aligns icons to the left */
    align-items: center;
    margin-top: 20px;
    gap: 10px;
    flex-wrap: wrap;
    /* Allows wrapping to a new line if necessary */
    padding-bottom: 10px;
    /* Adds space below the icons */
}

.header-container {
    text-align: center;
    margin-bottom: 10px;
}

.icons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.icons-container img {
    width: 50px;
    height: auto;
    /* Maintain aspect ratio */
    transition: transform 0.2s, box-shadow 0.2s;
}

.icons-container img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.stripe-powered img {
    width: 120px;
    /* Adjust size as needed */
}

.footer-payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    /* Adjust the gap between icons as needed */
    padding: 0px 0;
    /* Add padding to prevent icons from touching the screen edges */
    background-color: inherit;
    /* Optional: Set a background color for the footer */
    max-width: 100%;
    /* Ensure the container doesn't exceed the screen width */
    flex-wrap: wrap;
    /* Allow wrapping if necessary */
    overflow: hidden;
    /* Prevent overflow if icons exceed container */
}

.footer-payment-icons img {
    width: 30px;
    /* Size of the payment icons */
    height: auto;
    /* Maintain aspect ratio */
    transition: transform 0.2s, box-shadow 0.2s;
}

.footer-payment-icons img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Mobile styles */
@media (max-width: 600px) {
    .footer-payment-icons {
        gap: 5px;
        /* Reduced gap for mobile devices */
    }
}

/* Landscape mode adjustments */
@media (orientation: landscape) and (max-width: 600px) {
    .footer-payment-icons {
        justify-content: flex-start;
        /* Align items flexibly to prevent overflow */
        padding: 0 10px;
        /* Add some padding to prevent icons from touching the screen edges */
    }
}

.ast-archive-description .ast-breadcrumbs {
    display: none;
}

body {
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
}
.ast-builder-language-switcher-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /* Adjust the gap between flags as needed */
    background-color: inherit;
    /* Match the footer's background color */
    max-width: 100%;
    /* Ensure the container doesn't exceed the screen width */
    flex-wrap: wrap;
    /* Allow wrapping if necessary */
    overflow: hidden;
    /* Prevent overflow if flags exceed container */
    list-style: none;
    /* Remove default list styling */
    margin: 0 auto;
    /* Center the element by setting auto margins */
    box-sizing: border-box;
    /* Include padding and border in element's total width */
    padding: 0 5px;
    /* Ensure there's no excess padding pushing elements out */
}


.ast-builder-language-switcher-menu-item-footer {
    display: flex;
    align-items: center;
}

.ast-builder-language-switcher-item {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    /* Remove underline from links */
    color: inherit;
    /* Use inherited text color */
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Mobile styles */
@media (max-width: 600px) {
    .ast-builder-language-switcher-menu {
        gap: 10px;
        /* Reduced gap for mobile devices */
        padding: 10px;
        /* Consistent padding for spacing */
        margin: 0 auto;
        /* Center the element */
        width: auto;
        /* Ensure width adapts to content */
    }
}

/* Landscape mode adjustments */
@media (orientation: landscape) and (max-width: 600px) {
    .ast-builder-language-switcher-menu {
        justify-content: flex-start;
        /* Align items to prevent overflow */
        padding: 10px;
        /* Ensure consistent padding */
        margin: 0 auto;
        /* Center the element */
        width: auto;
        /* Ensure width adapts to content */
    }
}

/*Tablet responsive*/

@media (min-width: 545px) and (max-width: 767px) {
    .ast-builder-grid-row-container.ast-builder-grid-row-tablet-4-equal .ast-builder-grid-row {
        grid-template-columns: 1fr !important;
        padding: 0 20px;
    }

    .wp-block-image.aligncenter {
        margin-bottom: 30px
    }

    [data-section="section-fb-social-icons-1"] .footer-social-inner-wrap {
        text-align: center;
    }


    .site-footer-primary-section-4 {
        order: 1 !important
    }
    .site-footer-primary-section-3 {
        order: 3
    }

    .site-footer-primary-section-3>.footer-widget-area {
        text-align: center !important
    }
}

@media (min-width: 768px) and (max-width: 1150px) {
    .ast-builder-grid-row-container.ast-builder-grid-row-tablet-4-equal .ast-builder-grid-row {
        grid-template-columns: 1fr 1fr !important;
        padding: 0 40px;
    }

    .wp-block-image.aligncenter {
        margin-left: 0;
    }

    [data-section="section-fb-social-icons-1"] .footer-social-inner-wrap {
        text-align: center;
    }
}



/* Mobile only */
@media (min-width: 769px) {
    .footer-language-dropdown.mobile-only {
        display: none;
    }
}
@media (max-width: 768px) {
    .ast-builder-language-switcher-wrapper {
        display: none !important;
    }
}

.footer-language-dropdown {
    position: relative;
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    margin-bottom: 1rem;
}
.lang-btn {
    align-items: center;
    border: .5px solid var(--ast-global-color-1);
    background: #ffffff;
    color: #444;
    display: flex;
    justify-content: space-between;
    font-size: .875rem;
    line-height: 1.5rem;
    padding: .5rem 1rem;
    cursor: pointer;
    width: 100%;
    border-radius: 0;
}
.lang-btn[aria-expanded="true"] .lang-chevron {
    transform: rotate(0deg);
}
.lang-chevron {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(180deg);
}
.lang-btn:hover,
.lang-btn:focus,
.lang-btn:active {
    color: #444;
    background-color: var(--ast-global-color-0);
    border-color: var(--ast-global-color-0);
}
.lang-menu {
    display: none;
    /* 
    position: absolute;
    left: 0;
    right: 0; 
    */
    background: #fff;
    border: 1px solid #ccc;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 9999;
    position: relative;
}
.lang-menu li a {
    display: flex;
    align-items: center;
    padding: 0.5em;
    text-decoration: none;
    color: inherit;
}
.lang-menu li a:hover,
.lang-menu li a:focus {
    background: #f0f0f0;
    outline: none;
}
.lang-flag {
    width: 20px;
    height: 14px;
    margin-right: 0.5em;
}

/* CENTER WIDGET 4 ONE-LINE CONTACT INFO */
.contact-info-footer ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* space between WhatsApp and Email */
    flex-wrap: wrap;
    /* wrap on mobile */
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.cif-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    /* remove vertical spacing */
}
.cif-content {
    display: flex;
    flex-direction: row;
    /* horizontal text alignment */
    align-items: center;
    line-height: 1.2;
    gap: 6px;
    /* small space between label + value */
}

.contact-info-footer {
    margin-bottom: 2rem;
}
.contact-info-footer h2 {
    text-align: center;
    text-transform: uppercase;
}

/* Icon container */
.cif-item::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    color: #141B34;
    /* fallback */
}

/* WhatsApp icon — uses currentColor */
.cif-item.whatsapp::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke="currentColor" fill="none" stroke-width="1.5" stroke-linejoin="round"><path d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 13.3789 2.27907 14.6926 2.78382 15.8877C3.06278 16.5481 3.20226 16.8784 3.21953 17.128C3.2368 17.3776 3.16334 17.6521 3.01642 18.2012L2 22L5.79877 20.9836C6.34788 20.8367 6.62244 20.7632 6.87202 20.7805C7.12161 20.7977 7.45185 20.9372 8.11235 21.2162C9.30745 21.7209 10.6211 22 12 22Z"/><path d="M8.58815 12.3773L9.45909 11.2956C9.82616 10.8397 10.2799 10.4153 10.3155 9.80826C10.3244 9.65494 10.2166 8.96657 10.0008 7.58986C9.91601 7.04881 9.41086 7 8.97332 7C8.40314 7 8.11805 7 7.83495 7.12931C7.47714 7.29275 7.10979 7.75231 7.02917 8.13733C6.96539 8.44196 7.01279 8.65187 7.10759 9.07169C7.51023 10.8548 8.45481 12.6158 9.91948 14.0805C11.3842 15.5452 13.1452 16.4898 14.9283 16.8924C15.3481 16.9872 15.558 17.0346 15.8627 16.9708C16.2477 16.8902 16.7072 16.5229 16.8707 16.165C17 15.8819 17 15.5969 17 15.0267C17 14.5891 16.9512 14.084 16.4101 13.9992C15.0334 13.7834 14.3451 13.6756 14.1917 13.6845C13.5847 13.7201 13.1603 14.1738 12.7044 14.5409L11.6227 15.4118"/></svg>');
}

/* Email icon — uses currentColor */
.cif-item.email::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke="currentColor" fill="none" stroke-width="1.5" stroke-linejoin="round"><path d="M2 6L8.91302 9.91697C11.4616 11.361 12.5384 11.361 15.087 9.91697L22 6"/><path d="M2.01577 13.4756C2.08114 16.5412 2.11383 18.0739 3.24496 19.2094C4.37608 20.3448 5.95033 20.3843 9.09883 20.4634C11.0393 20.5122 12.9607 20.5122 14.9012 20.4634C18.0497 20.3843 19.6239 20.3448 20.7551 19.2094C21.8862 18.0739 21.9189 16.5412 21.9842 13.4756C22.0053 12.4899 22.0053 11.5101 21.9842 10.5244C21.9189 7.45886 21.8862 5.92609 20.7551 4.79066C19.6239 3.65523 18.0497 3.61568 14.9012 3.53657C12.9607 3.48781 11.0393 3.48781 9.09882 3.53656C5.95033 3.61566 4.37608 3.65521 3.24495 4.79065C2.11382 5.92608 2.08114 7.45885 2.01576 10.5244C1.99474 11.5101 1.99475 12.4899 2.01577 13.4756Z"/></svg>');
}