html {
    height: 100%;
}

body {
    min-height: 100vh !important;
    margin: 0;
    color: #111;
    background: #10213FFF;
    display: flex !important;
    flex-direction: column !important;
}

/* La zone principale prend tout l'espace restant */
main {
    flex: 1 0 auto;
}

/* Footer toujours en bas */
.shop-footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto !important;
}


.support-unread-badge{display:inline-grid;min-width:20px;height:20px;padding:0 5px;place-items:center;color:#fff;font-size:11px;font-weight:900;background:#e95768;border-radius:999px}

*{
    padding:0;
    box-sizing:border-box;
    font-family:'MaPolice', sans-serif;
}

@font-face {
    font-family: 'MaPolice';
    src: url('https://shop.exanticxstudio.com/assets/police/AdventPro-Regular.ttf') format('truetype');
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.h2blanc{color:#FFF;}

.shop-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 16, 25, 0.96);
    border-bottom: 1px solid #283246;
    backdrop-filter: blur(12px);
}

.shop-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: min(1400px, calc(100% - 40px));
    min-height: 74px;
    margin: 0 auto;
}

.shop-logo {
    font-size: 52px;
        color: #fff;
    font-weight: 800;
}

.shop-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
}

.shop-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    color: #aeb8c9;
    border-radius: 8px;
}

.shop-navigation a:hover,
.shop-navigation a.active {
    color: #ffffff;
    background: #1b2433;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    color: #ffffff;
    font-size: 12px;
    background: #4a7dba;
    border-radius: 20px;
}

.shop-container {
    width: min(1400px, calc(100% - 40px));
    margin: 40px auto 80px;
}

.home-hero {
    max-width: 760px;
    margin-bottom: 38px;
}

.home-hero h1 {
    margin: 8px 0 14px;
    font-size: clamp(36px, 6vw, 64px);
}

.home-hero p {
    margin: 0;
    color: #929db1;
    font-size: 18px;
    line-height: 1.7;
}

.page-kicker {
    color: #78a9e2;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.products-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    overflow: hidden;
    background: #D9E2E9FF;
    border: 1px solid #283246;
    border-radius: 14px;
    color: #111111;
}

.product-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0c111b;
}

.product-card-image img {
    height: 100%;
    object-fit: cover;
}

.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #7f8ba0;
    font-weight: 800;
}

.product-card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 22px;
}

.product-platform {
    display: inline-block;
    margin-bottom: 10px;
    color: #78a9e2;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.product-card h2 a:hover {
    color: #78a9e2;
}

.product-card p {
    margin: 0;
    color: #111111;
    line-height: 1.6;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.uppercase {
    text-transform: uppercase;
    filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.5));
}

.product-price {
    font-size: 23px;
}

.product-stock {
    color: #8490a4;
}

.product-stock.available {
    color: #86dba7;
}

.product-stock.unavailable {
    color: #ff9da6;
}

.button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    border: none;
    border-radius: 10px;
    background: #FFA700;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
        padding: 12px 17px;
        font-size: 20px;
}

.button-primary {
    background: #FFA700;
}

.button-primary:hover {
    background: #bb7b00;
}

.button-secondary {
    background: #00BBFF;
}

.button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.empty-products {
background: #D9E2E9FF;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 5px 4px 8px #0000007a;
    justify-content: center;
    padding: 60px 30px;
    text-align: center;
}

.empty-products h2 {
    margin-top: 0;
}

.empty-products p {
    color: #929db1;
}

@media (max-width: 1050px) {
    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .shop-header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .shop-navigation {
        flex-wrap: wrap;
    }

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

    .product-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 10px;

    border-radius: 999px;

    font-size: 16px;
    font-weight: 700;

    border: 1px solid transparent;
}

.flex{    display: flex;
    gap: 2%;
    justify-content: flex-start;
    align-items: center;}

p{margin:0;    font-size: 18px;}

/* 🟢 En stock */
.product-stock.available {
color: #fff;
    background: rgb(87 214 141);
    border-color: rgba(87, 214, 141, 0.35);
}

/* 🟠 Stock faible */
.product-stock.low-stock {
    color: #f0b84b;
    background: rgba(240, 184, 75, 0.12);
    border-color: rgba(240, 184, 75, 0.35);
}

/* 🔴 Rupture */
.product-stock.unavailable {
    color: #FFF;
    background: #ff6474;
    border-color: rgba(255, 100, 116, 0.35);
}

        .store-type-tabs,
        .store-category-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 24px 0;
        }

        .store-category-tabs {
            padding: 17px;
            background: #151c29;
            border: 1px solid #283246;
            border-radius: 12px;
        }

        .store-category-tabs-title {
            width: 100%;
            margin-bottom: 3px;
            color: #8490a4;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .store-section {
            margin-bottom: 50px;
        }

        .store-section-header {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 15px;
            margin-bottom: 20px;
            color: #ffffff;
        }

        .product-parent {
            padding: 8px 10px;
            background: rgba(74, 125, 186, .12);
            border-radius: 8px;
        }

        .product-parent a {
            font-weight: 700;
        }

        .product-card-labels {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
        }

        .product-category-badge {
    display: flex;
    color: #d8e7f8;
    font-size: 16px;
    min-width: 20%;
    font-weight: 700;
    padding: 2%;
    text-decoration: none;
    background: #10213FFF;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
        }

        .shop-footer {
    margin-top: 80px;
    width: 100%;
    margin-top: auto;
    background: #0c121d;
    border-top: 1px solid #283246;
}

.shop-footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr 1fr;
    gap: 50px;

    width: min(1320px, calc(100% - 40px));

    margin: 0 auto;
    padding: 55px 0 45px;
}

.shop-footer-brand {
    max-width: 330px;
}

.shop-footer-logo {
    display: inline-block;

    margin-bottom: 15px;

    color: #ffffff;

    font-size: 22px;
    font-weight: 800;

    text-decoration: none;
}

.shop-footer-brand p {
    margin: 0;

    color: #8490a4;

    font-size: 14px;
    line-height: 1.7;
}

.shop-footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-footer-column h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .04em;
}

.shop-footer-column a {
    color: #8490a4;

    font-size: 14px;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.shop-footer-column a:hover {
    color: #ffffff;

    transform: translateX(3px);
}

.shop-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    width: min(1320px, calc(100% - 40px));

    margin: 0 auto;
    padding: 22px 0;

    border-top: 1px solid #202938;
}

.shop-footer-bottom p {
    margin: 0;

    color: #697589;

    font-size: 13px;
}

.shop-footer-secure {
    white-space: nowrap;
}

/* TABLETTE */

@media (max-width: 950px) {

    .shop-footer-inner {
        grid-template-columns: 1fr 1fr;
    }

}

/* MOBILE */

@media (max-width: 600px) {

    .shop-footer {
        margin-top: 50px;
    }

    .shop-footer-inner {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 40px 0 30px;
    }

    .shop-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

}

.header-notifications {
    position: relative;
    display: flex;
    align-items: center;
}

.notification-button {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    padding: 0;

    color: #ffffff;
    font-size: 17px;

    background: transparent;
    border: 0;
    border-radius: 8px;

    cursor: pointer;
}

.notification-button:hover {
    background: rgba(
        255,
        255,
        255,
        0.06
    );
}

.notification-bell {
    line-height: 1;
}

.notification-count {
    position: absolute;

    top: 0;
    right: 0;

    display: grid;
    place-items: center;

    min-width: 17px;
    height: 17px;

    padding: 0 4px;

    color: #ffffff;
    font-size: 9px;
    font-weight: 900;

    background: #e95768;

    border: 2px solid #101722;
    border-radius: 999px;
}

.notification-dropdown {
    position: absolute;

    top: calc(100% + 12px);
    right: 0;

    z-index: 9999;

    display: none;

    width: 390px;
    max-height: 550px;

    overflow: hidden;

    color: #ffffff;

    background: #151c29;

    border: 1px solid #2b374c;
    border-radius: 12px;

    box-shadow:
        0 18px 50px
        rgba(
            0,
            0,
            0,
            0.35
        );
}

.notification-dropdown.open {
    display: block;
}

.notification-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 16px;

    border-bottom: 1px solid #283246;
}

.notification-dropdown-header > div {
    display: grid;
    gap: 3px;
}

.notification-dropdown-header strong {
    font-size: 15px;
}

.notification-dropdown-header span {
    color: #8491a5;
    font-size: 11px;
}

.notification-read-all {
    padding: 0;

    color: #78a9e2;
    font-size: 11px;
    font-weight: 700;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.notification-list {
    max-height: 410px;
    overflow-y: auto;
}

.notification-item {
    position: relative;

    display: flex;

    gap: 12px;

    padding: 14px 16px;

    color: inherit;
    text-decoration: none;

    border-bottom: 1px solid #232d40;
}

.notification-item:hover {
    background: #192231;
}

.notification-item.unread {
    background: rgba(
        74,
        125,
        186,
        0.10
    );
}

.notification-item.unread:hover {
    background: rgba(
        74,
        125,
        186,
        0.16
    );
}

.notification-icon {
    display: grid;
    place-items: center;

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    font-size: 18px;

    background: #202a3b;
    border-radius: 9px;
}

.notification-content {
    min-width: 0;
    flex: 1;
}

.notification-content strong {
    display: block;

    margin-bottom: 4px;

    font-size: 13px;
}

.notification-content p {
    margin: 0 0 5px;

    color: #9ba7b9;
    font-size: 12px;
    line-height: 1.45;
}

.notification-content small {
    color: #657289;
    font-size: 10px;
}

.notification-unread-dot {
    position: absolute;

    top: 18px;
    right: 12px;

    width: 7px;
    height: 7px;

    background: #4a7dba;
    border-radius: 50%;
}

.notification-view-all {
    display: block;

    padding: 13px;

    color: #8db8e9;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;

    border-top: 1px solid #283246;
}

.notification-view-all:hover {
    background: #192231;
}

.notification-empty {
    padding: 35px 20px;

    text-align: center;
}

.notification-empty > span {
    display: block;

    margin-bottom: 10px;

    font-size: 28px;
}

.notification-empty strong {
    display: block;

    margin-bottom: 5px;
}

.notification-empty p {
    margin: 0;

    color: #8491a5;
    font-size: 12px;
}

@media (
    max-width: 600px
) {

    .notification-dropdown {
        position: fixed;

        top: 70px;
        right: 10px;
        left: 10px;

        width: auto;
    }
}