/* =======================================
   GLOBAL STYLES
======================================= */
body {
    overflow-x: hidden;
    font-family: "Alegreya", serif;
    /* background: linear-gradient(135deg, #ffffffff 0%, #e1e1e1ff 100%); */
    min-height: 100vh;
}

.head_section_mobile{display:none;}


   @font-face {
  font-family: "AED";
  src: url("../icomoon/fonts/aed.woff") format("woff");

    font-style: normal;
}


    .aed {
       font-family: "AED";
  font-size: 0.8em;       /* ajuste la taille (0.8 = 80% du texte) */
  vertical-align: middle; /* centre verticalement avec les chiffres */
  /* line-height: 1;   */
    }

    
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    display: inline-block;
    padding: 2%;
    font-size: 12px;
    cursor: pointer;
}

/* =======================================
   HEADER / MENU
======================================= */
.mobile_header { display: none; }
.mobile_menu { display: none; }
.padding_section{padding-top:10%;}

@media (max-width: 768px) {
    .padding_section{padding-top:30%;}
    .mobile_header { display:block; text-align:center; }
    .mobile_menu { display:block; text-align:center; }
    .pc_header { display:none; }
    .head_section_mobile{display:block;}
    .head_section_pc{display:none;}
    .link_ancre{display:block;}
}

/* header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
} */

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =======================================
   CART BUTTON - DESKTOP + MOBILE + OFFCANVAS
======================================= */
.cart-icon {
    position: relative;
    background-color:black;
    color: white;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

/* Override UIKit/Bootstrap qui écrasent le bouton dans l'offcanvas */
.uk-offcanvas-bar .cart-icon,
#cartOffcanvas .cart-icon,
#cartOffcanvas_mobile .cart-icon {
    all: unset; /* supprime tous les styles par défaut */
    position: relative;
    background: linear-gradient(45deg, #353535ff, #000000ff);
    color: white;
    padding: 1%;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

/* Hover effect */
.cart-icon:hover,
.uk-offcanvas-bar .cart-icon:hover,
#cartOffcanvas .cart-icon:hover,
#cartOffcanvas_mobile .cart-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Cart count */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* =======================================
   OTHER STYLES (pages, banners, products, forms)
   Inchangés sauf media query pour mobile
======================================= */
.custom-banner { height: 250px; }
.custom-banner img { object-fit: cover; }

.menu-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
}

/* Pages */
.page { display: none; animation: fadeIn 0.5s ease-in-out; }
.page.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-buttons { flex-direction: column; }
}

