.div_number_1{
    text-align: center;
    padding: 40px;
    
}
.div_number_1 h2{
    color:#73B504;
    font-size: 40px;
}
.link_offer_promos{
    position: absolute;
    left:0px;
    width: 95%;
    height: 60px;
    background-color: #73B504;
    color:white;
    text-decoration: none;
    padding: 10px;
    font-size: 40px;
    border-radius: 20px;
    text-align: center;
    margin-left: 2%;
}
.section_number_2{
    background-color: rgb(220, 220, 220);
    padding: 20px;
}
/* this code for offers */
.swiper-slide-img-section-1{
    width: 200px;
    height: 300px;
    border: 4px solid black;
    border-radius: 5px;
}

/* this for for section number 2
 */
.section_numbre_2_page_home{
    display: flex;
    background-color:rgba(220, 220, 220, 0.347) ;
}
.section_numbre_2_page_home_div_1{
    width: 70%;
}
.div_section_number_2_div_2{
    width: 25%;
}

.swiper-slide-img-section-2{
    width: 200px;
    height: 250px;
    margin: 5px;
}
.section_number_2_div_for_information_product_link{
    width: 100%;
    text-align: center;
}
.section_number_2_div_for_information_product_link a{
    text-decoration: none;
    background-color: #73B504;
    color:white;
    padding: 10px 30px ;
    margin-top: 20px ;
    border-radius: 5px;
}
.section_number_2_div_for_information_product_link a:hover{
    background-color: white;
    color:#73B504;
    border: 2px solid #73B504;
}

.section_number_2_div_for_information_product_span_1{
   height: 70px;
  display: grid;
  overflow: hidden;
  text-overflow: ellipsis;
}
.div_section_number_2_div_2{
    padding: 70px;
    background-color: rgba(220, 220, 220, 0.263);
    border-radius: 4px;
    
}
.div_section_number_2_div_2 h3{
    text-align: center;
    color: #73B504;
    font-size: 30px;
}
.div_section_number_2_div_2 p{
    font-size: 20px;
}
.div_section_number_2_div_2 a{
    width: 100px;
    background-color: white;
    text-decoration: none;
    color:#73B504;
    text-align: center;
    padding: 15px 30px;
    margin-left: 20%;
    position: relative;
    top: 40px;
    border-radius: 5px;
}

/* ==============================================
   NOS CATEGORIES SECTION
   ============================================== */
.categories_section {
    width: 100%;
    padding: 70px 0;
    background: #f8faf7;
}

.categories_section_title {
    text-align: center;
    color: #7ab82a;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.categories_section_title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #a0d93e;
    margin: 12px auto 0;
    border-radius: 2px;
}

.categories_section_desc {
    text-align: center;
    color: #666;
    font-size: 17px;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

.categories_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 25px;
}

.category_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e8ebe4;
    border-radius: 16px;
    padding: 30px 15px 22px 15px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #a0d93e;
    transform: scaleX(0);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category_card:hover {
    border-color: #a0d93e;
    box-shadow: 0 12px 35px rgba(160, 217, 62, 0.18);
    transform: translateY(-5px);
}

.category_card:hover::before {
    transform: scaleX(1);
}

.category_card_img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f5f8f2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #f0f3ed;
    transition: border-color 0.35s ease;
}

.category_card:hover .category_card_img {
    border-color: #a0d93e;
}

.category_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category_card_label {
    font-size: 15px;
    font-weight: 700;
    color: #2d2d2d;
    text-align: center;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.category_card:hover .category_card_label {
    color: #7ab82a;
}

/* ==============================================
   NOS MARQUES SECTION
   ============================================== */
.marques_section {
    width: 100%;
    padding: 70px 0;
    background: #fff;
}

.marques_section_title {
    text-align: center;
    color: #7ab82a;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.marques_section_title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #a0d93e;
    margin: 12px auto 0;
    border-radius: 2px;
}

.marques_section_desc {
    text-align: center;
    color: #666;
    font-size: 17px;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

.marques_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 25px;
}

.marque_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e8ebe4;
    border-radius: 14px;
    padding: 25px 15px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    min-height: 110px;
}

.marque_card:hover {
    border-color: #a0d93e;
    box-shadow: 0 10px 30px rgba(160, 217, 62, 0.15);
    transform: translateY(-4px);
}

.marque_card_img {
    width: 130px;
    height: 55px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marque_card_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.marque_card:hover .marque_card_img img {
    filter: grayscale(0%);
}

.marque_card_label {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-align: center;
    margin-top: 8px;
    transition: color 0.3s ease;
}

.marque_card:hover .marque_card_label {
    color: #7ab82a;
}

.marques_section_link {
    text-align: center;
    margin-top: 45px;
}

.marques_section_link a {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(135deg, #8cc63f, #a0d93e);
    color: #fff;
    padding: 16px 42px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.35s ease;
    box-shadow: 0 6px 20px rgba(140, 198, 63, 0.3);
}

.marques_section_link a:hover {
    background: linear-gradient(135deg, #7ab82a, #8cc63f);
    box-shadow: 0 10px 30px rgba(140, 198, 63, 0.45);
    transform: translateY(-2px);
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 992px) {
    .categories_grid,
    .marques_grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .categories_grid,
    .marques_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        padding: 0 15px;
    }

    .categories_section,
    .marques_section {
        padding: 50px 0;
    }

    .categories_section_title,
    .marques_section_title {
        font-size: 28px;
    }

    .categories_section_desc,
    .marques_section_desc {
        font-size: 15px;
        padding: 0 15px;
        margin-bottom: 35px;
    }

    .category_card {
        padding: 22px 10px 16px 10px;
    }

    .category_card_img {
        width: 85px;
        height: 85px;
    }

    .category_card_label {
        font-size: 13px;
    }

    .marque_card {
        padding: 20px 10px;
        min-height: 90px;
    }

    .marque_card_img {
        width: 110px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .categories_grid,
    .marques_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .categories_section,
    .marques_section {
        padding: 40px 0;
    }

    .categories_section_title,
    .marques_section_title {
        font-size: 24px;
    }

    .categories_section_desc,
    .marques_section_desc {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .category_card {
        padding: 18px 8px 12px 8px;
        border-radius: 12px;
    }

    .category_card_img {
        width: 70px;
        height: 70px;
    }

    .category_card_label {
        font-size: 12px;
    }

    .marque_card {
        padding: 16px 8px;
        min-height: 75px;
        border-radius: 10px;
    }

    .marque_card_img {
        width: 100px;
        height: 40px;
    }

    .marques_section_link a {
        padding: 14px 30px;
        font-size: 14px;
    }
}

/* ==============================================
   RESPONSIVE - HOME PAGE SECTIONS
   ============================================== */
@media (max-width: 1200px) {
    .div_section_number_2_div_2 {
        padding: 40px;
    }
    .div_section_number_2_div_2 p {
        font-size: 17px;
    }
    .div_section_number_2_div_2 h3 {
        font-size: 26px;
    }
    .div_section_number_2_div_2 a {
        margin-left: 10%;
        top: 20px;
    }
}

@media (max-width: 992px) {
    .div_number_1 h2 {
        font-size: 32px;
    }
    .link_offer_promos {
        width: 90%;
        font-size: 28px;
        margin-left: 5%;
    }
    .section_numbre_2_page_home {
        flex-direction: column;
        gap: 0;
    }
    .section_numbre_2_page_home_div_1 {
        width: 100%;
    }
    .div_section_number_2_div_2 {
        width: 100%;
        padding: 30px 40px;
        margin-top: 0;
        text-align: center;
    }
    .div_section_number_2_div_2 a {
        margin-left: auto;
        margin-right: auto;
        top: 20px;
        display: inline-block;
    }
    .swiper-slide-img-section-2 {
        width: 200px;
        height: 200px;
    }
    .section_number_2_div_for_information_product_span_1 {
        height: 55px;
        font-size: 13px;
    }
    /* Fix ordering: first child (swiper or text) stays on top on mobile */
    .section_numbre_2_page_home > .section_numbre_2_page_home_div_1 {
        order: 0;
    }
    .section_numbre_2_page_home > .div_section_number_2_div_2 {
        order: 0;
    }
}

@media (max-width: 768px) {
    .div_number_1 {
        padding: 25px 15px;
    }
    .div_number_1 h2 {
        font-size: 26px;
    }
    .link_offer_promos {
        font-size: 22px;
        height: 50px;
    }
    .swiper-slide-img-section-1 {
        width: 220px;
        height: 220px;
    }
    .swiper-slide-img-section-2 {
        width: 180px;
        height: 180px;
    }
    .section_number_2_div_for_information_product_span_1 {
        height: 50px;
        font-size: 13px;
    }
    .section_number_2_div_for_information_product_link a {
        padding: 8px 22px;
        font-size: 13px;
    }
    .div_section_number_2_div_2 {
        padding: 30px 25px;
    }
    .div_section_number_2_div_2 h3 {
        font-size: 24px;
    }
    .div_section_number_2_div_2 p {
        font-size: 16px;
        line-height: 1.6;
    }
    .div_section_number_2_div_2 a {
        padding: 12px 24px;
        font-size: 14px;
    }
    .section_numbre_2_page_home {
        border-radius: 0;
        margin: 0 5px;
    }
}

@media (max-width: 576px) {
    .div_number_1 h2 {
        font-size: 22px;
        padding: 0 10px;
    }
    .link_offer_promos {
        font-size: 18px;
        height: 44px;
        border-radius: 12px;
        width: 92%;
        margin-left: 4%;
    }
    .swiper-slide-img-section-1 {
        width: 180px;
        height: 180px;
        border-width: 3px;
    }
    .swiper-slide-img-section-2 {
        width: 250px;
        height: 265px;
        margin: 0 auto;
        display: block;
    }
    .section_number_2_div_for_information_product {
        text-align: center;
    }
    .section_number_2_div_for_information_product_span_1 {
        height: auto;
        /*max-height: 48px;*/
        max-height: 38px;
        font-size: 13px;
        margin-top: 8px;
        width:197px;
    }
    .section_number_2_div_for_information_product_link a {
        padding: 8px 28px;
        font-size: 14px;
        border-radius: 6px;
    }
    .div_section_number_2_div_2 {
        padding: 25px 18px;
    }
    .div_section_number_2_div_2 h3 {
        font-size: 21px;
    }
    .div_section_number_2_div_2 p {
        font-size: 14px;
    }
    .div_section_number_2_div_2 a {
        padding: 10px 18px;
        font-size: 13px;
        top: 10px;
    }
    .section_numbre_2_page_home {
        margin: 10px 0;
    }
    /* Ensure swiper slides don't overflow */
    .section_numbre_2_page_home .swiper-slide {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 5px;
    }
}

@media (max-width: 480px) {
    .div_number_1 {
        padding: 20px 12px;
    }
    .div_number_1 h2 {
        font-size: 20px;
    }
    .link_offer_promos {
        font-size: 16px;
        height: 40px;
        border-radius: 10px;
    }
    .section_number_2 {
        padding: 10px;
    }
    .swiper-slide-img-section-1 {
        width: 160px;
        height: 160px;
        border-width: 3px;
    }
    .swiper-slide-img-section-2 {
        width: 230px;
        height: 250px;
    }
    .section_number_2_div_for_information_product_span_1 {
        height: auto;
        max-height: 44px;
        font-size: 12px;
    }
    .section_number_2_div_for_information_product_link a {
        padding: 7px 20px;
        font-size: 12px;
    }
    .div_section_number_2_div_2 {
        padding: 20px 15px;
    }
    .div_section_number_2_div_2 h3 {
        font-size: 19px;
    }
    .div_section_number_2_div_2 p {
        font-size: 14px;
    }
    .div_section_number_2_div_2 a {
        padding: 8px 16px;
        font-size: 12px;
    }
}


/* .whatsapp-logo */
.whatsapp-logo {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    z-index: 9999;
}