
/* ========== WIDTH FIX - Content containers ========== */
.container,
.content-container,
.main-container,
.page-container,
.wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.section,
.content-section,
.page-section,
.main-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Component sections */
.reviews-section,
.footer-section,
.author-block,
.review-pros-cons {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* ========== END WIDTH FIX ========== */

/* Carrefour 2014 Comprehensive Page Layout Styles */

/* General Page Styles */
.carrefour_page {
    font-family: var(--font-body);
    color: var(--carrefour-dark);
    background: var(--carrefour-white);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Main Content Area */
.carrefour_main_content {
    max-width: 1350px;
    margin: 0 auto;
    padding: 2rem;
}

/* Footer Styles */
.carrefour_footer {
    background: var(--carrefour-dark);
    color: var(--carrefour-white);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.carrefour_footer_container {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.carrefour_footer_links,
.carrefour_footer_social,
.carrefour_footer_payment {
    display: flex;
    flex-direction: column;
}

.carrefour_footer_links h3,
.carrefour_footer_social h3,
.carrefour_footer_payment h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--carrefour-red);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.carrefour_footer_links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.carrefour_footer_links li {
    margin-bottom: 0.7rem;
}

.carrefour_footer_links a {
    color: var(--carrefour-white);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 400;
}

.carrefour_footer_links a:hover {
    color: var(--carrefour-red);
}

/* Social Links */
.carrefour_social_links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.carrefour_social_link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--carrefour-white);
    transition: all 0.2s ease;
}

.carrefour_social_link:hover {
    background: var(--carrefour-red);
}

.carrefour_social_link svg {
    width: 20px;
    height: 20px;
}

/* Payment Methods */
.carrefour_payment_methods {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.carrefour_payment_icon {
    width: 50px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.carrefour_payment_icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--carrefour-red);
}

/* Copyright */
.carrefour_footer_copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.carrefour_footer_copyright p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.carrefour_footer_copyright a {
    color: var(--carrefour-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.carrefour_footer_copyright a:hover {
    color: var(--carrefour-red);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .carrefour_footer_container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }

    .carrefour_main_content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .carrefour_footer {
        padding: 2rem 1rem 1.5rem;
    }

    .carrefour_footer_container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .carrefour_footer_links,
    .carrefour_footer_social,
    .carrefour_footer_payment {
        text-align: center;
    }

    .carrefour_footer_links ul {
        text-align: center;
    }

    .carrefour_social_links {
        justify-content: center;
    }

    .carrefour_payment_methods {
        justify-content: center;
    }

    .carrefour_main_content {
        padding: 1rem;
    }
}

/* Utility Classes */
.carrefour_container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .carrefour_container {
        padding: 0 1rem;
    }
}
