/* =========================================================
   A.M.W — OFFRES
   NEXT GENERATION MARKETPLACE
========================================================= */

:root {

    --amw-blue: #192f63;
    --amw-blue-dark: #10234d;
    --amw-blue-light: #294986;

    --amw-gold: #d8a83e;
    --amw-gold-light: #f0c96a;

    --white: #ffffff;
    --black: #111827;

    --text: #182033;
    --muted: #718096;

    --background: #f5f7fb;
    --surface: #ffffff;
    --border: #e8ebf2;

    --danger: #e05252;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --shadow:
        0 15px 45px rgba(16, 35, 77, .08);

    --shadow-hover:
        0 25px 65px rgba(16, 35, 77, .16);

    --transition:
        .35s cubic-bezier(.2,.8,.2,1);

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        "DM Sans",
        sans-serif;

    background:
        var(--background);

    color:
        var(--text);

    min-height: 100vh;

    overflow-x: hidden;

}


button,
input,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


a {
    text-decoration: none;
    color: inherit;
}





/* =========================================================
   HERO
========================================================= */

.offers-hero {

    position: relative;

    min-height:
        480px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 85% 20%,
            rgba(240,201,106,.16),
            transparent 30%
        ),

        radial-gradient(
            circle at 10% 90%,
            rgba(41,73,134,.3),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            var(--amw-blue-dark),
            var(--amw-blue)
        );

}


.offers-hero::before {

    content: "";

    position: absolute;

    width: 600px;

    height: 600px;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius:
        50%;

    right:
        -180px;

    top:
        -180px;

}


.offers-hero::after {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    border:
        1px solid rgba(240,201,106,.12);

    border-radius:
        50%;

    right:
        120px;

    bottom:
        -220px;

}


.hero-content {

    position: relative;

    z-index: 2;

    width:
        min(1380px, calc(100% - 48px));

    margin:
        auto;

}


.hero-label {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color:
        var(--amw-gold-light);

    font-size: 11px;

    font-weight: 800;

    letter-spacing:
        .18em;

    margin-bottom:
        20px;

}


.hero-label::before {

    content: "";

    width: 28px;

    height: 2px;

    background:
        var(--amw-gold);

}


.hero-content h1 {

    max-width:
        720px;

    color:
        var(--white);

    font-size:
        clamp(42px, 6vw, 76px);

    line-height:
        .98;

    letter-spacing:
        -.055em;

    font-weight:
        700;

}


.hero-content h1 strong {

    display: block;

    color:
        var(--amw-gold-light);

    font-weight:
        700;

}


.hero-content p {

    max-width:
        560px;

    margin-top:
        24px;

    color:
        rgba(255,255,255,.72);

    font-size:
        17px;

    line-height:
        1.7;

}



/* =========================================================
   SEARCH
========================================================= */

.search-box {

    margin-top:
        34px;

    width:
        min(700px, 100%);

    min-height:
        68px;

    padding:
        7px;

    display:
        flex;

    align-items:
        center;

    background:
        rgba(255,255,255,.1);

    border:
        1px solid rgba(255,255,255,.15);

    border-radius:
        18px;

    backdrop-filter:
        blur(18px);

}


.search-icon {

    width:
        52px;

    text-align:
        center;

    color:
        rgba(255,255,255,.7);

    font-size:
        27px;

}


.search-box input {

    flex:
        1;

    min-width:
        0;

    height:
        54px;

    border:
        none;

    outline:
        none;

    background:
        transparent;

    color:
        white;

    font-size:
        15px;

}


.search-box input::placeholder {

    color:
        rgba(255,255,255,.55);

}


.search-box button {

    height:
        54px;

    padding:
        0 24px;

    border:
        none;

    border-radius:
        13px;

    background:
        var(--amw-gold);

    color:
        var(--amw-blue-dark);

    font-weight:
        800;

    transition:
        var(--transition);

}


.search-box button:hover {

    background:
        var(--amw-gold-light);

    transform:
        translateY(-2px);

}



/* =========================================================
   CATEGORIES
========================================================= */

.categories-section {

    width:
        min(1380px, calc(100% - 48px));

    margin:
        55px auto 30px;

}


.section-label,
.results-label {

    display:
        block;

    color:
        var(--amw-gold);

    font-size:
        10px;

    letter-spacing:
        .18em;

    font-weight:
        800;

    margin-bottom:
        8px;

}


.categories-section h2 {

    font-size:
        30px;

    letter-spacing:
        -.035em;

}


.categories {

    margin-top:
        25px;

    display:
        flex;

    gap:
        10px;

    overflow-x:
        auto;

    padding-bottom:
        8px;

    scrollbar-width:
        none;

}


.categories::-webkit-scrollbar {
    display: none;
}


.category-chip {

    flex:
        0 0 auto;

    border:
        1px solid var(--border);

    background:
        var(--white);

    color:
        var(--muted);

    padding:
        12px 20px;

    border-radius:
        100px;

    font-size:
        13px;

    font-weight:
        700;

    transition:
        var(--transition);

}


.category-chip:hover {

    border-color:
        var(--amw-blue);

    color:
        var(--amw-blue);

    transform:
        translateY(-2px);

}


.category-chip.active {

    background:
        var(--amw-blue);

    border-color:
        var(--amw-blue);

    color:
        white;

    box-shadow:
        0 8px 25px rgba(25,47,99,.2);

}



/* =========================================================
   OFFERS CONTAINER
========================================================= */

.offers-container {

    width:
        min(1380px, calc(100% - 48px));

    margin:
        45px auto 100px;

}


.offers-toolbar {

    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        20px;

    margin-bottom:
        30px;

}


.offers-toolbar h2 {

    font-size:
        32px;

    letter-spacing:
        -.04em;

}


.sort-box {

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

}


.sort-box label {

    color:
        var(--muted);

    font-size:
        13px;

    font-weight:
        600;

}


.sort-box select {

    height:
        44px;

    padding:
        0 15px;

    border:
        1px solid var(--border);

    border-radius:
        10px;

    background:
        white;

    color:
        var(--text);

    outline:
        none;

    cursor:
        pointer;

}


/* =========================================================
   OFFERS GRID — DESKTOP
   4 COLONNES
========================================================= */

.offers-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;

}



/* =========================================================
   CARD
========================================================= */

.offer-card {

    position:
        relative;

    overflow:
        hidden;

    background:
        var(--surface);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        0 5px 20px rgba(16,35,77,.04);

    transition:
        var(--transition);

    animation:
        cardAppear .6s both;

}


@keyframes cardAppear {

    from {

        opacity:
            0;

        transform:
            translateY(20px);

    }

    to {

        opacity:
            1;

        transform:
            translateY(0);

    }

}


.offer-card:hover {

    transform:
        translateY(-9px);

    box-shadow:
        var(--shadow-hover);

    border-color:
        rgba(25,47,99,.1);

}



/* =========================================================
   CARD IMAGE
========================================================= */

.card-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.card-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    display: block;
}

.offer-card:hover .card-image img {

    transform:
        scale(1.06);

}


.no-image {

    width:
        100%;

    height:
        100%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    color:
        var(--amw-blue);

    font-weight:
        800;

    font-size:
        30px;

    background:
        linear-gradient(
            135deg,
            #eef2f8,
            #dce4f1
        );

}



/* =========================================================
   BADGE
========================================================= */

.discount-badge {

    position:
        absolute;

    top:
        14px;

    left:
        14px;

    z-index:
        3;

    padding:
        7px 11px;

    border-radius:
        8px;

    background:
        var(--amw-gold);

    color:
        var(--amw-blue-dark);

    font-size:
        11px;

    font-weight:
        800;

    box-shadow:
        0 6px 18px rgba(216,168,62,.3);

}



/* =========================================================
   FAVORITE
========================================================= */

.favorite-button {

    position:
        absolute;

    top:
        13px;

    right:
        13px;

    z-index:
        3;

    width:
        42px;

    height:
        42px;

    border:
        1px solid rgba(255,255,255,.7);

    border-radius:
        50%;

    background:
        rgba(255,255,255,.88);

    backdrop-filter:
        blur(10px);

    color:
        var(--amw-blue);

    font-size:
        21px;

    transition:
        var(--transition);

}


.favorite-button:hover {

    transform:
        scale(1.08);

}


.favorite-button.active {

    background:
        var(--amw-blue);

    color:
        white;

    border-color:
        var(--amw-blue);

}



/* =========================================================
   CARD CONTENT
========================================================= */

.card-content {

    padding:
        21px;

}


.card-category {

    display:
        inline-block;

    max-width:
        100%;

    overflow:
        hidden;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;

    color:
        var(--amw-gold);

    font-size:
        10px;

    font-weight:
        800;

    text-transform:
        uppercase;

    letter-spacing:
        .1em;

}


.card-content h3 {

    margin-top:
        8px;

    font-size:
        18px;

    line-height:
        1.3;

    letter-spacing:
        -.025em;

    white-space:
        nowrap;

    overflow:
        hidden;

    text-overflow:
        ellipsis;

}

.card-bottom {

    margin-top:
        20px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        10px;

}


.card-prices {

    min-width:
        0;

}


.card-prices strong {

    display:
        block;

    color:
        var(--amw-blue);

    font-size:
        17px;

    font-weight:
        800;

}


.card-prices del {

    display:
        block;

    margin-top:
        3px;

    color:
        #9aa3b2;

    font-size:
        11px;

}

.card-stock {

    margin-top:
        16px;

    padding-top:
        12px;

    border-top:
        1px solid #edf0f5;

    font-size:
        11px;

    color:
        #55a06b;

    font-weight:
        600;

}


.stock-low {

    color:
        var(--danger);

}



/* =========================================================
   LOADING
========================================================= */

.offers-loading {

    min-height:
        300px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    color:
        var(--muted);

}


.loader {

    width:
        44px;

    height:
        44px;

    border:
        3px solid #e3e7ef;

    border-top-color:
        var(--amw-blue);

    border-radius:
        50%;

    animation:
        spin .8s linear infinite;

    margin-bottom:
        15px;

}


@keyframes spin {

    to {
        transform:
            rotate(360deg);
    }

}



/* =========================================================
   EMPTY
========================================================= */

.offers-empty {

    min-height:
        300px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

}


.empty-icon {

    width:
        70px;

    height:
        70px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        #edf1f7;

    color:
        var(--amw-blue);

    font-size:
        35px;

    margin-bottom:
        18px;

}


.offers-empty h3 {

    font-size:
        22px;

}


.offers-empty p {

    margin-top:
        8px;

    color:
        var(--muted);

    font-size:
        14px;

}



/* =========================================================
   MODAL
========================================================= */

.product-modal {

    position:
        fixed;

    inset:
        0;

    z-index:
        3000;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        25px;

    background:
        rgba(7,18,40,.65);

    backdrop-filter:
        blur(12px);

    opacity:
        0;

    visibility:
        hidden;

    transition:
        var(--transition);

}


.product-modal.show {

    opacity:
        1;

    visibility:
        visible;

}


.modal-box {

    position:
        relative;

    width:
        min(950px, 100%);

    max-height:
        90vh;

    overflow:
        hidden;

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    background:
        white;

    border-radius:
        26px;

    box-shadow:
        0 35px 100px rgba(0,0,0,.25);

    transform:
        scale(.94)
        translateY(20px);

    transition:
        var(--transition);

}


.product-modal.show .modal-box {

    transform:
        scale(1)
        translateY(0);

}


.modal-close {

    position:
        absolute;

    z-index:
        5;

    top:
        15px;

    right:
        15px;

    width:
        42px;

    height:
        42px;

    border:
        none;

    border-radius:
        50%;

    background:
        rgba(255,255,255,.9);

    color:
        var(--amw-blue);

    font-size:
        25px;

    box-shadow:
        0 5px 20px rgba(0,0,0,.1);

}


.modal-image {

    min-height:
        500px;

    background:
        #eef1f6;

}


.modal-image img {

    width:
        100%;

    height:
        100%;

    min-height:
        500px;

    object-fit:
        cover;

    display:
        block;

}


.modal-image span {

    min-height:
        500px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    color:
        var(--amw-blue);

    font-size:
        45px;

    font-weight:
        800;

}


.modal-content {

    padding:
        55px 45px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

}


.modal-category {

    color:
        var(--amw-gold);

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        .12em;

    text-transform:
        uppercase;

}


.modal-reference {

    margin-top:
        7px;

    color:
        #9aa3b2;

    font-size:
        11px;

}


.modal-content h2 {

    margin-top:
        18px;

    color:
        var(--amw-blue);

    font-size:
        34px;

    line-height:
        1.1;

    letter-spacing:
        -.04em;

}


.modal-content > p {

    margin-top:
        20px;

    color:
        var(--muted);

    line-height:
        1.8;

    font-size:
        14px;

}


.modal-prices {

    margin-top:
        28px;

}


.modal-prices strong {

    color:
        var(--amw-blue);

    font-size:
        26px;

}


.modal-prices del {

    margin-left:
        10px;

    color:
        #9aa3b2;

    font-size:
        14px;

}


.modal-stock {

    margin-top:
        25px;

    padding:
        16px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    background:
        #f5f7fb;

    border-radius:
        12px;

    font-size:
        13px;

}


.modal-stock span {

    color:
        var(--muted);

}


.modal-stock strong {

    color:
        var(--amw-blue);

}

/* =========================================================
   RESPONSIVE — 900
========================================================= */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }



    .offers-hero {

        min-height: 440px;

    }


    .offers-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;

    }


    .modal-box {

        grid-template-columns:
            1fr;

        overflow-y: auto;

    }


    .modal-image {

        min-height: 330px;

    }


    .modal-image img {

        min-height: 330px;

        max-height: 420px;

    }


    .modal-image span {

        min-height: 330px;

    }


    .modal-content {

        padding: 30px;

    }

}


/* =========================================================
   RESPONSIVE — 650
========================================================= */

@media (max-width: 650px) {

    .hero-content,
    .categories-section,
    .offers-container {

        width:
            calc(100% - 28px);

    }


    .logo {

        width:
            47px;

        height:
            47px;

    }


   


    .offers-hero {

        min-height:
            500px;

    }


    .hero-content h1 {

        font-size:
            48px;

    }


    .hero-content p {

        font-size:
            14px;

    }


    .search-box {

        min-height:
            auto;

        padding:
            6px;

        flex-wrap:
            wrap;

    }


    .search-icon {

        width:
            43px;

    }


    .search-box input {

        height:
            48px;

    }


    .search-box button {

        width:
            100%;

        margin-top:
            5px;

    }


    .categories-section {

        margin-top:
            38px;

    }


    .categories-section h2,
    .offers-toolbar h2 {

        font-size:
            25px;

    }


    .offers-toolbar {

        align-items:
            flex-start;

        flex-direction:
            column;

    }


    .sort-box {

        width:
            100%;

        justify-content:
            space-between;

    }


    .sort-box select {

        flex:
            1;

        max-width:
            220px;

    }


    .offers-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            12px;

    }


    .card-image {

        height:
            auto;

    }


    .card-content {

        padding:
            14px;

    }


    .card-content h3 {

        font-size:
            15px;

    }

    .card-prices strong {

        font-size:
            14px;

    }

    .favorite-button {

        width:
            36px;

        height:
            36px;

    }


    .discount-badge {

        top:
            10px;

        left:
            10px;

    }

}



/* =========================================================
   RESPONSIVE — 420
========================================================= */

@media (max-width: 420px) {

    .card-image {

        height:
            auto;

    }


    .hero-content h1 {

        font-size:
            42px;

    }


    .modal-content h2 {

        font-size:
            28px;

    }

}



/* =========================================================
   ACCESSIBILITY
========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {

    outline:
        3px solid rgba(216,168,62,.45);

    outline-offset:
        3px;

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;

    }

}
/* =========================================================
   LOADING OFFERS
========================================================= */

.offers-loading {
    min-height: 300px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 22px;

    text-align: center;
}

.loading-orbit {
    width: 58px;
    height: 58px;

    position: relative;

    border: 2px solid rgba(25, 47, 99, 0.10);
    border-top-color: #d8a83e;
    border-right-color: #192f63;

    border-radius: 50%;

    animation: amwSpin 0.9s linear infinite;
}

.loading-orbit span {
    position: absolute;

    width: 7px;
    height: 7px;

    background: #d8a83e;

    border-radius: 50%;
}

.loading-orbit span:nth-child(1) {
    top: -4px;
    left: 25px;
}

.loading-orbit span:nth-child(2) {
    right: -3px;
    bottom: 10px;
}

.loading-orbit span:nth-child(3) {
    left: 4px;
    bottom: 4px;
}

.loading-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.loading-text strong {
    color: #192f63;
    font-size: 16px;
    font-weight: 700;
}

.loading-text span {
    color: #7b8495;
    font-size: 13px;
}

@keyframes amwSpin {
    to {
        transform: rotate(360deg);
    }
}
/* =========================================================
   FORCE HIDDEN STATES
========================================================= */

#offersLoading[hidden],
#emptyState[hidden] {
    display: none !important;
}
/* =====================================================
   A.M.W — FAVORIS
   ===================================================== */

/* =====================================================
   header _ pour tout les pages
   ===================================================== */


:root {

    --amw-blue: #192f63;
    --amw-blue-dark: #10234d;
    --amw-blue-light: #294986;

    --amw-gold: #d8a83e;
    --amw-gold-light: #f0c96a;

    --white: #ffffff;
    --black: #111827;

    --text: #172033;
    --text-light: #697386;

    --bg: #f6f7fa;
    --card: #ffffff;

    --border: #e7eaf0;

    --green: #16a56a;
    --red: #e5484d;

    --shadow:
        0 12px 35px rgba(17, 31, 61, 0.08);

    --radius: 18px;

    --font-main:
        "DM Sans",
        Arial,
        sans-serif;

    --font-display:
        "Playfair Display",
        Georgia,
        serif;
}


/* =====================================================
   RESET
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: var(--amw-blue);
    color: var(--white);
}


/* =====================================================
   HEADER
   ===================================================== */

.onon {
    width: 100%;
    background: #192f63;
    position: relative;
    z-index: 1000;
}

@media (max-width: 700px) {

    .onon {
        position: sticky;
        top: 0;
    }


}
@media (max-width: 768px) {

    .onon {
        padding: 10px 12px 14px;
    }
}

.top-header {
    width: min(1500px, calc(100% - 60px));
    min-height: 86px;
    margin: auto;

    display: flex;
    align-items: center;
    gap: 28px;
}


/* =====================================================
   LOGO
   ===================================================== */

.logo {
    width: 120px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 100%;
    max-height: 65px;
    object-fit: contain;
}


/* =====================================================
   SEARCH
   ===================================================== */

.search-container {
    height: 48px;
    flex: 1;

    display: flex;
    align-items: stretch;

    background: var(--white);
    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);
}

.search-container input {
    min-width: 0;
    flex: 1;

    border: 0;
    outline: 0;

    padding: 0 18px;

    color: var(--text);
    background: transparent;

    font-size: 14px;
}

.search-container input::placeholder {
    color: #9ba3b2;
}

.search-container button {
    min-width: 120px;

    padding: 0 20px;

    background: var(--amw-gold);
    color: var(--white);

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.search-container button:hover {
    background: #c9972e;
}


/* =====================================================
   HEADER ACTIONS
   ===================================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;

    color: var(--white);
    flex-shrink: 0;
}

.header-action {
    position: relative;

    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--white);
    background: transparent;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.header-action:hover {
    color: var(--amw-gold-light);
    transform: translateY(-1px);
}

.header-action.active {
    color: var(--amw-gold-light);
}

.action-icon {
    width: 24px;
    height: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
}

.header-divider {
    width: 1px;
    height: 28px;

    background: rgba(255, 255, 255, 0.22);
}

.favorite-count,
.cart-count {
    min-width: 19px;
    height: 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 5px;

    border-radius: 50%;

    background: var(--amw-gold);
    color: var(--white);

    font-size: 10px;
    font-weight: 800;
}


/* =====================================================
   MOBILE MENU BUTTON
   ===================================================== */

.mobile-menu-button {
    display: none;

    align-items: center;
    justify-content: center;
    gap: 8px;

    background: rgba(255, 255, 255, 0.1);
    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;

    padding: 10px 13px;

    font-size: 13px;
    font-weight: 700;
}

.mobile-menu-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mobile-menu-icon i {
    display: block;

    width: 17px;
    height: 2px;

    background: currentColor;
    border-radius: 10px;
}


/* =====================================================
   DESKTOP NAV
   ===================================================== */

.main-nav {
    position: relative;
    z-index: 900;

    width: 100%;

    background: var(--white);
    border-bottom: 1px solid var(--border);

    box-shadow:
        0 3px 14px rgba(20, 35, 65, 0.04);
}

.nav-inner {
    width: min(1500px, calc(100% - 60px));
    min-height: 54px;

    margin: auto;

    display: flex;
    align-items: center;

    gap: 8px;
}

.all-categories,
.nav-item {
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 14px;

    background: transparent;
    color: var(--text);

    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.all-categories {
    background: var(--amw-blue);
    color: var(--white);
}

.all-categories:hover {
    background: var(--amw-blue-light);
}

.nav-item:hover {
    background: #f0f3f8;
    color: var(--amw-blue);
}

.hamburger {
    width: 18px;

    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger i {
    height: 2px;
    width: 100%;

    background: currentColor;
    border-radius: 5px;
}

.nav-item span {
    font-size: 9px;
    opacity: 0.65;
}


/* =====================================================
   MOBILE POPUP
   ===================================================== */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding: 85px 20px 20px;

    background: rgba(7, 18, 42, 0.58);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;

    z-index: 5000;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-popup {
    width: min(430px, 100%);

    max-height: calc(100vh - 110px);
    overflow-y: auto;

    padding: 24px;

    background: var(--white);

    border-radius: 22px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.25);

    transform: translateY(-15px) scale(0.97);

    transition:
        transform 0.28s ease;
}

.mobile-menu-overlay.active .mobile-menu-popup {
    transform: translateY(0) scale(1);
}

.mobile-menu-close {
    position: absolute;

    top: 6%;
    right: max(30px, calc((100% - 430px) / 2 + 8px));

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: var(--amw-blue);
    color: var(--white);

    font-size: 25px;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 20px rgba(25, 47, 99, 0.25);
}

.mobile-menu-title {
    display: flex;
    align-items: center;
    gap: 12px;

    padding-bottom: 20px;
    margin-bottom: 10px;

    border-bottom: 1px solid var(--border);

    color: var(--amw-blue);

    font-size: 17px;
    font-weight: 800;
}

.mobile-menu-title-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef2fa;
    color: var(--amw-blue);

    border-radius: 12px;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-category-item {
    width: 100%;

    min-height: 52px;

    padding: 0 12px 0 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: transparent;
    color: var(--text);

    border-radius: 12px;

    font-size: 14px;
    font-weight: 600;

    text-align: left;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding 0.2s ease;
}

.mobile-category-item:hover {
    background: #f2f5fa;
    color: var(--amw-blue);
    padding-left: 19px;
}


/* =====================================================
   FAVORITES HERO
   ===================================================== */

.favorites-hero {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #10234d 0%,
            #192f63 60%,
            #294986 100%
        );

    color: var(--white);
}

.favorites-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -150px;
    top: -220px;

    border-radius: 50%;

    background: rgba(216, 168, 62, 0.12);

    filter: blur(2px);
}

.favorites-hero::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    left: -160px;
    bottom: -210px;

    border-radius: 50%;

    border: 50px solid rgba(255, 255, 255, 0.035);
}

.favorites-hero-inner {
    position: relative;
    z-index: 2;

    width: min(1400px, calc(100% - 60px));

    margin: auto;

    padding: 25px 0 48px;
}

.account-action {
    position: relative;
}

.account-icon {
    color: inherit;
}

/* =====================================================
   ACCOUNT DROPDOWN
===================================================== */

.account-dropdown {
    position: absolute;

    top: calc(100% + 10px);
    right: max(30px, calc((100% - 1500px) / 2));

    width: 330px;

    padding: 18px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 20px 55px rgba(17, 31, 61, 0.18);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
        translateY(-8px)
        scale(0.98);

    transform-origin: top right;

    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.22s ease;

    z-index: 2000;
}


.account-dropdown.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateY(0)
        scale(1);
}


/* =====================================================
   ACCOUNT PROFILE
===================================================== */

.account-profile {
    display: flex;

    align-items: center;

    gap: 13px;

    padding-bottom: 16px;

    border-bottom:
        1px solid var(--border);
}


.account-avatar {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #eef2fa,
            #dfe5f1
        );

    border:
        2px solid rgba(216, 168, 62, 0.35);
}


.account-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.account-user-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 5px;
}


.account-user-info strong {
    overflow: hidden;

    color: var(--text);

    font-size: 14px;
    font-weight: 800;

    white-space: nowrap;
    text-overflow: ellipsis;
}


.account-user-info span {
    color: var(--text-light);

    font-size: 11px;

    white-space: nowrap;
    overflow: hidden;

    text-overflow: ellipsis;
}


/* =====================================================
   AUTH BUTTONS
===================================================== */

.account-auth {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 9px;

    padding: 16px 0;

    border-bottom:
        1px solid var(--border);
}


.account-auth-button {
    min-height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 9px;

    border-radius: 10px;

    font-size: 11px;
    font-weight: 800;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.account-auth-button:hover {
    transform: translateY(-1px);
}


.account-auth-button.login {
    background: var(--amw-blue);

    color: var(--white);
}


.account-auth-button.login:hover {
    background: var(--amw-blue-light);
}


.account-auth-button.register {
    background:
        rgba(216, 168, 62, 0.12);

    color: var(--amw-blue);

    border:
        1px solid rgba(216, 168, 62, 0.3);
}


.account-auth-button.register:hover {
    background:
        rgba(216, 168, 62, 0.2);
}


/* =====================================================
   ACCOUNT MENU
===================================================== */

.account-menu {
    display: flex;

    flex-direction: column;

    padding-top: 8px;
}


.account-menu-item {
    width: 100%;

    min-height: 46px;

    display: grid;

    grid-template-columns:
        34px 1fr 15px;

    align-items: center;

    gap: 8px;

    padding: 0 8px;

    background: transparent;

    color: var(--text);

    border-radius: 10px;

    text-align: left;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding 0.2s ease;
}


.account-menu-item:hover {
    background: #f3f5f9;

    color: var(--amw-blue);

    padding-left: 12px;
}


.account-menu-icon {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #f0f3f8;

    color: var(--amw-blue);

    font-size: 12px;
}


.account-menu-item > span:nth-child(2) {
    font-size: 12px;

    font-weight: 700;
}


.account-menu-item > i:last-child {
    color: #a0a7b5;

    font-size: 9px;
}


.account-dropdown {
    position: absolute;

    top: calc(100% + 12px);
    right: 0;

    width: 330px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 16px;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.18);

    padding: 18px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    z-index: 6000;
}


.account-dropdown.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}




/* =====================================================
    pour les media
===================================================== */
@media (max-width: 380px) {

    .mobile-menu-button span:last-child {
        display: none;
    }

    .mobile-menu-button {
        width: 38px;
        height: 38px;

        padding: 0;
    }

    .logo {
        width: 65px;
    }

    .header-action {
        font-size: 0;
    }

    .header-action .action-icon {
        font-size: 16px;
    }

    .header-action .favorite-count,
    .header-action .cart-count {
        font-size: 8px;
    }
}

@media (max-width: 480px) {

    .mobile-menu-button {
        padding: 9px 10px;
    }


    .mobile-menu-button > span:last-child {
        display: none;
    }

    .mobile-menu-popup {
        padding: 20px;

        border-radius: 20px;
    }

    .mobile-menu-close {
        top: 5%;
        right: 28px;
    }

}

@media (max-width: 500px) {

    .onon {
        padding-left: 8px;
        padding-right: 8px;
    }
    .mobile-menu-icon i {
        width: 15px;
    }

    .top-header {
        grid-template-columns: auto 1fr auto;
        gap: 5px;
    }
    .mobile-menu-button {
        padding: 8px 9px;

        font-size: 11px;
    }
    .logo {
        width: 70px;
    }

    .search-container button {
        min-width: 80px;

        font-size: 11px;
    }
    .header-actions {
        gap: 2px;
    }

    .header-action {
        gap: 3px;
        padding: 5px 3px;

        font-size: 10px;
    }
}

@media (max-width: 700px) {

    .onon {
        position: sticky;
        top: 0;
    }
    .top-header {
        width: calc(100% - 28px);
        min-height: 68px;

        gap: 10px;
    }
    .mobile-menu-button {
        display: inline-flex;
        flex-shrink: 0;
    }
    .logo {
        width: 76px;
    }
    .search-container {
        flex: 1;
        height: 40px;
    }


    .search-container button {
        width: 42px;
        min-width: 42px;

        padding: 0;

        font-size: 0;
    }


    .search-container button::after {
        content: "⌕";

        font-size: 21px;
    }
    .header-actions {
        gap: 5px;
    }
    .header-action {
        width: 33px;
        height: 38px;

        justify-content: center;
    }


    .header-action span:not(.action-icon) {
        display: none;
    }

}

@media (max-width: 768px) {

    .onon {
        padding: 10px 12px 14px;
    }
    .top-header {
        width: 100%;
        min-height: auto;

        display: grid;

        grid-template-columns: auto 1fr auto;
        grid-template-rows: 48px 46px;

        gap: 10px;
    }
    .mobile-menu-button {
        display: inline-flex;

        grid-column: 1;
        grid-row: 1;

        justify-self: start;
        align-self: center;

        padding: 9px 11px;

        gap: 7px;

        border-radius: 9px;

        font-size: 12px;
    }
    .logo {
        width: 78px;

        grid-column: 2;
        grid-row: 1;

        justify-self: center;
        align-self: center;
    }

    .logo img {
        width: 100%;
        max-height: 43px;

        object-fit: contain;
    }

        /* =================================================
       RECHERCHE SOUS LE PREMIER RANG
    ================================================= */

    .search-container {
        grid-column: 1 / 4;
        grid-row: 2;

        width: 100%;
        height: 46px;

        margin: 0;

        border-radius: 9px;
    }

    .search-container input {
        min-width: 0;

        padding: 0 13px;

        font-size: 13px;
    }

    .search-container button {
        min-width: 90px;

        padding: 0 10px;

        font-size: 12px;
    }

    /* =================================================
       HEADER ACTIONS
       SE CONNECTER + FAVORIS + PANIER
    ================================================= */

    .header-actions {
        grid-column: 3;
        grid-row: 1;

        justify-self: end;
        align-self: center;

        display: flex;
        align-items: center;

        gap: 5px;

        color: var(--white);
    }

    /* =================================================
       ACTIONS
    ================================================= */

    .header-action {
        display: flex;

        align-items: center;
        justify-content: center;

        gap: 4px;

        padding: 6px 5px;

        font-size: 11px;

        white-space: nowrap;
    }

}


@media (max-width: 900px) {

    .top-header {
        min-height: 74px;
        gap: 15px;
    }
    .logo {
        width: 95px;
    }
    .search-container {
        height: 43px;
    }


    .search-container button {
        min-width: 85px;
        padding: 0 12px;
    }

}

@media (max-width: 1200px) {

    .top-header {
        width: min(100% - 40px, 1400px);
    }
    .header-actions {
        gap: 10px;
    }
    .header-action span:not(.action-icon),
    .header-action b {
        display: none;
    }
}

/* =====================================================
   ACCOUNT DROPDOWN — MOBILE
===================================================== */

@media (max-width: 700px) {

    .account-dropdown {

        width: min(330px, calc(100vw - 24px));

        /* ارتفاع محدد حتى يصبح الـ scroll فعّالًا */
        max-height: 68.5vh;
        min-height: 0;

        overflow-y: scroll;
        overflow-x: hidden;

        /* السماح بالتمرير باللمس */
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;

        /* إخفاء شريط التمرير */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    /* Chrome / Edge / Safari */
    .account-dropdown::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }

    .account-dropdown {
        touch-action: pan-y;
    }

    .account-dropdown * {
        touch-action: pan-y;
    }

    .account-profile {
        gap: 11px;
    }


    .account-avatar {
        width: 52px;
        height: 52px;
    }


    .account-auth-button {
        font-size: 10px;

        padding: 0 6px;
    }


    .account-menu-item {
        min-height: 48px;
    }

}


/* =====================================================
   header - pour tout les pages 
===================================================== */
/*=====*/
/*=====*/
/*=====*/
/*=====*/
/*=====*/
/*=====*/
/*=====*/
/*=====*/
/*=====*/
/*=====*/
/* =====================================================
   footer - pour tout les pages 
   
   MODERN FOOTER
========================================================= */

.site-footer {

    position: relative;

    margin-top: 70px;

    background:
        linear-gradient(
            135deg,
            #080f1d 0%,
            #0d1626 50%,
            #09111f 100%
        );

    color: #ffffff;

    overflow: hidden;

    font-family: "DM Sans", sans-serif;
}


/* =========================================================
   LUMIÈRE DÉCORATIVE
========================================================= */

.footer-glow {

    position: absolute;

    width: 500px;

    height: 500px;

    top: -250px;

    right: -150px;

    background:
        radial-gradient(
            circle,
            rgba(0, 92, 180, 0.18),
            transparent 70%
        );

    pointer-events: none;
}


.footer-glow::after {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    left: -700px;

    top: 450px;

    background:
        radial-gradient(
            circle,
            rgba(0, 145, 255, 0.10),
            transparent 70%
        );
}


/* =========================================================
   CONTAINER
========================================================= */

.footer-container {

    position: relative;

    z-index: 2;

    max-width: 1250px;

    margin: auto;

    padding: 65px 35px 50px;

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.15fr;

    gap: 55px;

    align-items: start;
}

/* =========================================================
   LOGO
========================================================= */

.footer-logo {

    width: 78px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ffffff;

    border-radius: 12px;

    padding: 7px;

    margin-bottom: 15px;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.25);
}


.footer-logo img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;
}


.footer-brand h3 {

    margin: 0 0 12px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 26px;

    color: #ffffff;
}


.footer-brand > p {

    max-width: 340px;

    margin: 0;

    color: #aeb9c9;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   SOCIAL
========================================================= */

.footer-socials {

    display: flex;

    gap: 10px;

    margin-top: 22px;
}


.footer-socials a {

    width: 39px;

    height: 39px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.08);

    color: #ffffff;

    text-decoration: none;

    font-size: 17px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}


.footer-socials a:hover {

    transform:
        translateY(-4px);

    background: #0756a0;

    border-color: #0756a0;
}


/* =========================================================
   COLONNES
========================================================= */

.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.footer-column h4 {

    position: relative;

    margin: 0 0 23px;

    font-size: 16px;

    font-weight: 700;

    color: #ffffff;
}


.footer-column h4::after {

    content: "";

    display: block;

    width: 30px;

    height: 2px;

    margin-top: 8px;

    background: #1684d8;

    border-radius: 5px;
}


.footer-column a {

    position: relative;

    display: inline-block;

    margin-bottom: 13px;

    color: #aeb9c9;

    text-decoration: none;

    font-size: 14px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.footer-column a:hover {

    color: #ffffff;

    transform:
        translateX(5px);
}


/* =========================================================
   CONTACT
========================================================= */

.contact-item {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 15px;
}


.contact-item span {

    width: 20px;

    color: #1684d8;

    font-size: 16px;

    text-align: center;
}


.contact-item p {

    margin: 0;

    color: #aeb9c9;

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.footer-newsletter {

    position: relative;

    z-index: 3;

    max-width: 1180px;

    margin: 0 auto;

    padding: 25px 30px;

    border-top:
        1px solid rgba(255,255,255,0.08);

    border-bottom:
        1px solid rgba(255,255,255,0.08);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.newsletter-text {

    display: flex;

    align-items: center;

    gap: 15px;
}


.newsletter-icon {

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background:
        rgba(22,132,216,0.14);

    color: #4ca7e8;

    font-size: 21px;
}


.newsletter-text h3 {

    margin: 0 0 4px;

    font-size: 17px;
}


.newsletter-text p {

    margin: 0;

    color: #8997aa;

    font-size: 13px;
}


.newsletter-form {

    display: flex;

    width: min(440px, 100%);

    height: 46px;

    background: #ffffff;

    border-radius: 9px;

    overflow: hidden;
}


.newsletter-form input {

    flex: 1;

    min-width: 0;

    border: none;

    outline: none;

    padding: 0 15px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 13px;

    color: #182536;
}


.newsletter-form button {

    border: none;

    padding: 0 18px;

    background: #0756a0;

    color: #ffffff;

    font-family:
        "DM Sans",
        sans-serif;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease;
}


.newsletter-form button:hover {

    background: #0b6fc7;
}


.newsletter-form button span {

    margin-left: 8px;

    font-size: 16px;
}


/* =========================================================
   PAYMENT
========================================================= */

.footer-payment {

    max-width: 1180px;

    margin: auto;

    padding: 25px 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.footer-payment > div:first-child span {

    display: block;

    color: #8997aa;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.7px;
}


.footer-payment > div:first-child p {

    margin: 5px 0 0;

    color: #66758a;

    font-size: 12px;
}


.payment-methods {

    display: flex;

    align-items: center;

    gap: 9px;

    flex-wrap: wrap;

    justify-content: flex-end;
}


.payment-card {

    min-width: 82px;

    height: 36px;

    padding: 0 11px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ffffff;

    color: #142238;

    border-radius: 7px;

    font-size: 11px;

    font-weight: 700;

    box-shadow:
        0 3px 10px rgba(0,0,0,0.15);
}


.payment-card.wave {

    color: #008bce;
}


.payment-card.orange {

    color: #f36b21;

}


/* =========================================================
   BOTTOM
========================================================= */

.footer-bottom {

    max-width: 1180px;

    margin: auto;

    padding: 20px 30px;

    border-top:
        1px solid rgba(255,255,255,0.08);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: #68778b;

    font-size: 12px;
}


.footer-bottom p {

    margin: 0;
}


.footer-bottom strong {

    color: #ffffff;
}


.footer-bottom-links {

    display: flex;

    gap: 20px;
}


.footer-bottom-links a {

    color: #7f8da0;

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.footer-bottom-links a:hover {

    color: #ffffff;
}


.made-in-senegal span {

    color: #ff4f6d;

    font-size: 15px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .footer-container {

        grid-template-columns:
            1.4fr 1fr 1fr;

        gap: 40px;
    }


    .footer-brand {

        grid-column: span 3;
    }


    .footer-brand > p {

        max-width: 550px;
    }


    .footer-newsletter {

        margin-left: 20px;

        margin-right: 20px;
    }


    .footer-payment {

        margin-left: 20px;

        margin-right: 20px;
    }


    .footer-bottom {

        margin-left: 20px;

        margin-right: 20px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .site-footer {

        margin-top: 45px;
    }


    .footer-container {

        padding:
            45px 22px 30px;

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 38px 25px;
    }


    .footer-brand {

        grid-column: span 2;
    }


    .footer-brand > p {

        max-width: 100%;

        font-size: 13px;
    }


    .footer-column h4 {

        font-size: 15px;

        margin-bottom: 18px;
    }


    .footer-column a {

        font-size: 13px;

        margin-bottom: 11px;
    }


    .footer-contact {

        grid-column: span 2;
    }


    .footer-newsletter {

        margin: 0;

        padding:
            25px 22px;

        flex-direction: column;

        align-items: stretch;

        gap: 20px;
    }


    .newsletter-form {

        width: 100%;
    }


    .footer-payment {

        margin: 0;

        padding:
            25px 22px;

        flex-direction: column;

        align-items: flex-start;
    }


    .payment-methods {

        justify-content: flex-start;

        width: 100%;
    }


    .footer-bottom {

        margin: 0;

        padding:
            22px;

        flex-direction: column;

        text-align: center;

        gap: 13px;
    }


    .footer-bottom-links {

        flex-wrap: wrap;

        justify-content: center;

        gap: 12px 18px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .footer-container {

        grid-template-columns: 1fr;
    }


    .footer-brand,
    .footer-contact {

        grid-column: span 1;
    }


    .newsletter-form {

        height: auto;

        flex-direction: column;

        background: transparent;

        gap: 8px;
    }


    .newsletter-form input {

        min-height: 45px;

        border-radius: 8px;
    }


    .newsletter-form button {

        height: 45px;

        border-radius: 8px;
    }


    .payment-methods {

        display: grid;

        grid-template-columns: 1fr 1fr;

        width: 100%;
    }


    .payment-card {

        width: 100%;

        box-sizing: border-box;
    }

}

.contact-item p a {
    color: inherit;
    text-decoration: none;
}

.contact-item p a:hover {
    color: #ffffff;
}
.add-cart-button {
    width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.add-cart-button:hover {
    background: #b58a45;
}

/* =========================================================
   A.M.W — OLYMPIC EDITION • DAKAR 2026
   ADDITIONAL STYLES — KEEP EXISTING COLORS
========================================================= */

:root {
    --amw-navy: #192f63;
    --amw-navy-dark: #10234d;
    --amw-navy-light: #294986;
    --amw-gold: #d8a83e;
    --amw-gold-light: #f0c96a;
}

/* OLYMPIC ATMOSPHERE */

.olympic-atmosphere {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.olympic-ring {
    position: absolute;
    width: 105px;
    height: 105px;
    border: 5px solid currentColor;
    border-radius: 50%;
    animation: olympicFloat 9s ease-in-out infinite;
}

.ring-blue {
    color: #0085c7;
    top: 145px;
    right: 110px;
}

.ring-black {
    color: #222222;
    top: 145px;
    right: 220px;
    animation-delay: -1s;
}

.ring-red {
    color: #ee334e;
    top: 145px;
    right: 330px;
    animation-delay: -2s;
}

.ring-yellow {
    color: #f4c300;
    top: 198px;
    right: 165px;
    animation-delay: -3s;
}

.ring-green {
    color: #009f6b;
    top: 198px;
    right: 275px;
    animation-delay: -4s;
}

/* KEEP CONTENT ABOVE DECORATIONS */

#amw-header,
.offers-hero,
.dakar-signature,
.categories-section,
.offers-container,
.product-modal,
#amw-footer {
    position: relative;
    z-index: 1;
}

/* HERO — DAKAR 2026 */

.offers-hero {
    isolation: isolate;
    overflow: hidden;
}

.offers-hero::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -110px;
    top: -145px;
    border: 1px solid rgba(216, 168, 62, 0.28);
    border-radius: 50%;
    box-shadow:
        0 0 0 22px rgba(216, 168, 62, 0.035),
        0 0 0 48px rgba(216, 168, 62, 0.035),
        0 0 0 76px rgba(216, 168, 62, 0.025);
    pointer-events: none;
    z-index: -1;
}

.offers-hero::after {
    content: "DAKAR 2026";
    position: absolute;
    right: 28px;
    bottom: 18px;
    color: var(--amw-gold);
    opacity: 0.13;
    font-size: clamp(24px, 5vw, 58px);
    font-weight: 900;
    letter-spacing: 7px;
    transform: rotate(-8deg);
    pointer-events: none;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-label::before {
    content: "✦";
    color: var(--amw-gold);
    animation: starPulse 2.5s ease-in-out infinite;
}

.hero-content h1 strong {
    position: relative;
    text-decoration-color: var(--amw-gold);
    text-decoration-thickness: 3px;
    text-underline-offset: 7px;
}

/* SEARCH BOX */

.search-box {
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.search-box:focus-within {
    box-shadow:
        0 0 0 3px rgba(216, 168, 62, 0.18),
        0 12px 30px rgba(16, 35, 77, 0.12);
    transform: translateY(-2px);
}

.search-box button {
    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.search-box button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* DAKAR 2026 SIGNATURE STRIP */

.dakar-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 19px 20px;
    margin: 0 auto;
    overflow: hidden;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(216, 168, 62, 0.09),
        transparent
    );
}

.signature-line {
    width: clamp(18px, 6vw, 85px);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--amw-gold)
    );
}

.signature-line:last-child {
    transform: rotate(180deg);
}

.signature-star {
    color: var(--amw-gold);
    font-size: 17px;
    animation: starPulse 3s ease-in-out infinite;
}

.signature-text {
    color: var(--amw-navy);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    white-space: nowrap;
}

.signature-separator {
    color: var(--amw-gold);
    font-weight: 900;
}

.signature-subtitle {
    color: #777;
    font-size: 11px;
    white-space: nowrap;
}

/* SECTION HEADINGS */

.section-label,
.results-label {
    letter-spacing: 2.5px;
}

.categories-section h2,
.offers-toolbar h2 {
    text-wrap: balance;
}

.categories-section h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 12px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        var(--amw-gold),
        transparent
    );
}

/* CATEGORY CHIPS */

.category-chip {
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.category-chip:hover {
    transform: translateY(-3px);
    border-color: var(--amw-gold);
}

.category-chip.active {
    box-shadow: 0 5px 15px rgba(25, 47, 99, 0.15);
}

/* OFFERS GRID */

.offers-grid {
    align-items: stretch;
}

.offer-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(25, 47, 99, 0.08);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(16, 35, 77, 0.055);
    animation: offerReveal 0.55s both;
    transition:
        transform 0.35s cubic-bezier(.2, .8, .2, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.offer-card:nth-child(4n + 2) {
    animation-delay: 0.06s;
}

.offer-card:nth-child(4n + 3) {
    animation-delay: 0.12s;
}

.offer-card:nth-child(4n + 4) {
    animation-delay: 0.18s;
}

.offer-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2;
    background: linear-gradient(
        90deg,
        var(--amw-navy),
        var(--amw-gold),
        var(--amw-navy)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.offer-card:hover {
    transform: translateY(-7px);
    border-color: rgba(216, 168, 62, 0.45);
    box-shadow:
        0 18px 36px rgba(16, 35, 77, 0.12),
        0 4px 12px rgba(216, 168, 62, 0.08);
}

.offer-card:hover::before {
    transform: scaleX(1);
}

/* PRODUCT IMAGE */

.card-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        #f7f8fb,
        #edf0f7
    );
}

.card-image img {
    transition:
        transform 0.65s cubic-bezier(.2, .7, .3, 1),
        filter 0.4s ease;
}

.offer-card:hover .card-image img {
    transform: scale(1.065);
}

.card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 65%,
        rgba(16, 35, 77, 0.08)
    );
    opacity: 0.6;
}

/* DISCOUNT BADGE */

.discount-badge {
    box-shadow: 0 4px 12px rgba(16, 35, 77, 0.14);
    animation: badgeAppear 0.5s ease both;
}

/* FAVORITES */


/* PRODUCT INFORMATION */

.card-content {
    position: relative;
}

.card-category {
    letter-spacing: 1px;
}

.card-content h3 {
    transition: color 0.25s ease;
}

.offer-card:hover .card-content h3 {
    color: var(--amw-navy-light);
}

.card-prices strong {
    color: var(--amw-navy);
    font-variant-numeric: tabular-nums;
}

.card-prices del {
    opacity: 0.65;
}

.card-stock {
    display: flex;
    align-items: center;
    gap: 7px;
}

.card-stock span:not(.stock-low)::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: #2e9b62;
    box-shadow: 0 0 0 3px rgba(46, 155, 98, 0.12);
}

/* LOADING ANIMATION */

.loading-orbit {
    filter: drop-shadow(0 5px 10px rgba(25, 47, 99, 0.12));
}

.loading-text strong {
    color: var(--amw-navy);
}

.loading-text span {
    color: #777;
}

/* EMPTY STATE */

.offers-empty {
    animation: offerReveal 0.4s ease both;
}

.empty-icon {
    color: var(--amw-gold);
}

/* PRODUCT MODAL */

.product-modal {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.modal-box {
    border: 1px solid rgba(216, 168, 62, 0.25);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    animation: modalReveal 0.35s cubic-bezier(.2, .8, .2, 1);
}

.modal-image img {
    transition: transform 0.5s ease;
}

.modal-image:hover img {
    transform: scale(1.035);
}

.modal-reference {
    color: var(--amw-gold);
}

/* ANIMATIONS */

@keyframes olympicFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

@keyframes starPulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.13);
    }
}

@keyframes offerReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes badgeAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modalReveal {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* RESPONSIVE */

@media (max-width: 650px) {
    .olympic-atmosphere {
        opacity: 0.09;
    }

    .olympic-ring {
        width: 65px;
        height: 65px;
        border-width: 3px;
    }

    .ring-blue {
        top: 120px;
        right: 15px;
    }

    .ring-black {
        top: 120px;
        right: 85px;
    }

    .ring-red {
        top: 120px;
        right: 155px;
    }

    .ring-yellow {
        top: 153px;
        right: 50px;
    }

    .ring-green {
        top: 153px;
        right: 120px;
    }

    .dakar-signature {
        gap: 7px;
        padding: 15px 8px;
    }

    .signature-text {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .signature-subtitle {
        font-size: 9px;
    }

    .signature-star {
        font-size: 13px;
    }

    .signature-line {
        width: 12px;
    }

    .offers-hero::after {
        right: 10px;
        bottom: 8px;
        font-size: 25px;
        letter-spacing: 3px;
    }

    .offer-card {
        border-radius: 11px;
    }

    .offer-card:hover {
        transform: translateY(-3px);
    }
}

/* ACCESSIBILITY: REDUCE MOTION */

@media (prefers-reduced-motion: reduce) {
    .olympic-ring,
    .hero-label::before,
    .signature-star,
    .offer-card,
    .discount-badge,
    .offers-empty {
        animation: none !important;
    }

    .offer-card,
    .card-image img,
    .category-chip,
    .search-box {
        transition: none !important;
    }
}
