/* ====================================
   MENU ACTIF
   ==================================== */

   .menu-active {
    background: #147a83;
    color: white !important;
    border-radius: 8px;
    padding: 15px 20px;
}


/* ====================================
   HERO TROTTINETTES (MOBILE)
   ==================================== */

.trott-hero {
    background: #ffffff;
    position: relative;
    padding: 50px 20px 100px 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

.trott-hero-content {

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.trott-hero-text h1 {
    text-align: center;
    font-family: "Saira", sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: #0d1f24;
    margin-bottom: 16px;
}

.trott-hero-text p {
    text-align: center;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.trott-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
}

.trott-hero-circle {
    width: 220px;
    height: 220px;
    background: #b5c4c1;
    border-radius: 50%;
    position: absolute;
    right: 54%;
    transform: translateX(62%);
}

.trott-hero-img {
    position: relative;
    z-index: 1;
    width: 180px;
    object-fit: contain;
    filter: drop-shadow(4px 6px 14px rgba(0, 0, 0, 0.15));
    margin-right: 20px;
}

.trott-scroll-arrows {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trott-scroll-arrows i {

    font-size: 25px;
    color: #888;
    line-height: 1;
    margin-top: -4px;
    animation: trott-bounce 1.8s infinite ease-in-out;
}

.trott-scroll-arrows i:nth-child(2) {
    animation-delay: 0.15s;
}

.trott-scroll-arrows i:nth-child(3) {
    animation-delay: 0.30s;
}

@keyframes trott-bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(4px);
        opacity: 1;
    }
}

@media (min-width: 768px) {

    .trott-hero {
        padding: 60px 40px 100px 40px;
    }

    .trott-hero-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .trott-hero-text {
        flex: 1;
        min-width: 0;
        max-width: none;
    }

    .trott-hero-text h1 {
        font-size: clamp(38px, 5.5vw, 80px);
        text-align: left;
        line-height: 0.92;
    }

    .trott-hero-text p {
        font-size: 15px;
        text-align: left;
    }

    .trott-hero-visual {
        position: relative;
        width: 320px;
        height: 300px;
        flex-shrink: 0;
    }

    .trott-hero-circle {
        position: absolute;
        width: 320px;
        height: 320px;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .trott-hero-img {
        position: absolute;
        width: 200px;
        left: 0;
        right: 90px;
        top: 50%;
        transform: translateY(-50%);
        margin-right: 0;
    }
}

@media (min-width: 1024px) {

    .trott-hero {
        padding: 80px 60px 100px 60px;
        max-width: 1600px;
        margin: auto;
    }

    .trott-hero-text h1 {
        font-size: clamp(52px, 6.5vw, 96px);
    }

    .trott-hero-text p {
        font-size: 16px;
        max-width: 340px;
    }

    .trott-hero-visual {
        width: 380px;
        height: 380px;
        flex-shrink: 0;
    }

    .trott-hero-circle {
        width: 400px;
        height: 400px;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .trott-hero-img {
        width: 250px;
        left: 0;
        right: auto;
        top: 50%;
        transform: translateY(-50%);
        margin-right: 0;
    }
}

@media (min-width: 1300px) {

    .trott-hero-visual {
        width: 500px;
        height: 460px;
    }

    .trott-hero-circle {
        width: 490px;
        height: 490px;
    }

    .trott-hero-img {
        width: 310px;
        right: 120px;
    }

}


/* ====================================
   SECTION NOS TROTTINETTES (MOBILE)
==================================== */

.nos-trott {
    background: #f5f5f5;
    padding: 60px 40px 40px;
    text-align: center;
}

.nos-trott-header h2 {
    font-family: "Saira", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0d1f24;
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
    padding-bottom: 14px;
}

.nos-trott-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: #147a83;
    border-radius: 2px;
}

.nos-trott-header p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}


/* ====================================
   SECTION CATEGORIES (SÉPARÉE)
==================================== */

.categories-section {
    background: #ffffff;
    padding: 50px 20px 70px;
    margin-top: 0;
    margin-bottom: 0;
    border-top: 1px solid #ebebeb;
}


/* CERCLES */

.categories-circles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.cat-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.cat-circle-item span {
    font-family: "Saira", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #147a83;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(20, 122, 131, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(20, 122, 131, 0.2);
    transition: background 0.2s, color 0.2s;
}

.cat-circle-item:hover span {
    background: #147a83;
    color: #fff;
}

.cat-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 16px;
    box-sizing: border-box;
}

.cat-circle:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.25));
    transition: transform 0.3s ease;
}

.cat-circle:hover img {
    transform: scale(1.06);
}

.cat-urbaine {
    background: #7b7fc4;
}

.cat-terrain {
    background: #b5bfc2;
}

.cat-sportive {
    background: #147a83;
}


/* ====================================
   TABLETTE
==================================== */

@media (min-width: 768px) {

    .nos-trott {
        padding: 80px 60px;
    }

    .nos-trott-header h2 {
        font-size: 34px;
    }

    .nos-trott-header p {
        font-size: 16px;
    }

    .nos-trott-header p {
        font-size: 16px;
    }

    .categories-circles {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }

    .cat-circle {
        width: 240px;
        height: 240px;
    }

    .cat-circle-item:nth-child(2) {
        margin-top: 40px;
    }
}


/* ====================================
   DESKTOP
==================================== */

@media (min-width: 1024px) {

    .nos-trott {
        padding: 60px 40px;
    }

    .nos-trott-header h2 {
        font-size: 38px;
    }

    .cat-circle {
        width: 290px;
        height: 290px;
    }

    .cat-circle-item:nth-child(1) {
        margin-right: -25px;
        z-index: 1;
    }

    .cat-circle-item:nth-child(2) {
        z-index: 2;
        margin-top: 50px;
    }

    .cat-circle-item:nth-child(3) {
        margin-left: -25px;
        z-index: 1;
    }
}



/* ====================================
   OVERLAY MOBILE
   ==================================== */

.filters-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 998;
    backdrop-filter: blur(2px);
}

.filters-overlay.active {
    display: block;
}


/* ====================================
   BOUTON FILTRES MOBILE
   ==================================== */

.btn-filtres-mobile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #0d1f24;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}

.btn-filtres-mobile:hover {
    background: #147a83;
}

.filtre-badge {
    background: #147a83;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
}

/* Sur tablette/desktop, cacher le bouton mobile */
@media (min-width: 1024px) {
    .btn-filtres-mobile {
        display: none;
    }
}


/* ====================================
   SIDEBAR FILTRES — MOBILE (bottom sheet)
   ==================================== */

.filters-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    border-top: 2px solid #0d1f24;
    padding: 0 20px 32px 20px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
}

.filters-sidebar.open {
    transform: translateY(0);
}

.filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 14px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 4px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

/* Handle visuel */
.filter-sidebar-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
}

.filter-sidebar-header h3 {
    font-family: "Saira", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0d1f24;
    margin: 0;
}

.btn-close-filters {
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.btn-close-filters:hover {
    background: #e0e0e0;
}

.filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #0d1f24;
    transition: color 0.2s;
    user-select: none;
}

.filter-item:last-child {
    border-bottom: none;
}

.filter-item:hover {
    color: #147a83;
}

.filter-item i {
    font-size: 12px;
    color: #888;
    transition: transform 0.25s;
}

.filter-item.open i {
    transform: rotate(180deg);
}

.filter-options {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0 14px 0;
}

.filter-options.active {
    display: flex;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
}

.filter-options input[type="checkbox"] {
    accent-color: #147a83;
    width: 15px;
    height: 15px;
}


/* ====================================
   GRILLE PRODUITS
   ==================================== */

.products-area {
    flex: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* CARTE PRODUIT */

.product-card {
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    background: #fff;
}

.product-card:hover {
    box-shadow: 0 8px 28px rgba(20, 122, 131, 0.12);
    border-color: #147a83;
    transform: translateY(-2px);
}

/* IMAGE */

.product-img {
    position: relative;
    background: #f9f9f9;
}

.product-img img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    padding: 20px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.04);
}

/* BADGE */

.product-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(13, 31, 36, 0.85);
    color: white;
    font-size: 12px;
    font-weight: 700;
    font-family: "Saira", sans-serif;
    padding: 8px 14px;
    border-radius: 0 12px 0 12px;
    backdrop-filter: blur(4px);
}

/* CORPS */

.product-body {
    padding: 16px;
}

.product-body h3 {
    font-family: "Saira", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0d1f24;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-brand {
    font-size: 13px;
    font-weight: 600;
    color: #147a83;
    margin-bottom: 12px;
    text-decoration: none;
    display: inline-block;
}

.product-brand:hover {
    text-decoration: underline;
}

/* SPECS */

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    margin-bottom: 14px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #555;
}

.spec i {
    color: #147a83;
    font-size: 13px;
    width: 14px;
    text-align: center;
}

/* PRIX & STOCK */

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.product-price {
    font-family: "Saira", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0d1f24;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.in-stock .stock-dot {
    background: #22c55e;
}

.out-stock .stock-dot {
    background: #ef4444;
}

.in-stock {
    color: #22c55e;
}

.out-stock {
    color: #ef4444;
}


/* ====================================
   CARTES PRODUIT — MOBILE UNIQUEMENT
   ==================================== */

@media (max-width: 767px) {

    .catalogue-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* ====================================
   CATALOGUE TABLETTE
   ==================================== */

@media (min-width: 768px) {

    .catalogue-section {
        padding: 60px 40px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

}


/* ====================================
   CATALOGUE DESKTOP
   ==================================== */

@media (min-width: 1024px) {

    .catalogue-section {
        padding: 80px 40px;
    }

    .catalogue-layout {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }

    .filters-sidebar {
        /* Réinitialiser le bottom sheet mobile */
        position: sticky;
        top: 20px;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
        transition: none;
        border-radius: 12px;
        border: 2px solid #0d1f24;
        border-top: 2px solid #0d1f24;
        padding: 24px;
        max-height: none;
        overflow-y: visible;
        box-shadow: none;
        width: 250px;
        min-width: 250px;
    }

    .filter-sidebar-header {
        position: static;
    }

    .filter-sidebar-header::before {
        display: none;
    }

    .btn-close-filters {
        display: none;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }
}


/* ====================================
   TOOLBAR COMPTEUR
   ==================================== */

.catalogue-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.nb-resultats {
    font-family: "Saira", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #888;
}


/* ====================================
   BOUTON RESET FILTRES
   ==================================== */

.btn-reset-filters {
    width: 100%;
    margin-top: 20px;
    padding: 10px;
    background: none;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-reset-filters:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-reset-filters i {
    margin-right: 6px;
}


/* ====================================
   AUCUN RÉSULTAT
   ==================================== */

.catalogue-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 60px 20px;
    text-align: center;
}

.catalogue-no-results i {
    font-size: 40px;
    color: #ddd;
}

.catalogue-no-results p {
    font-size: 15px;
    color: #888;
}

.catalogue-no-results button {
    padding: 10px 28px;
    background: #147a83;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.catalogue-no-results button:hover {
    background: #0f5f66;
}