/* =========================================================
   ATLANTICA — BOUTIQUE
   ========================================================= */

.atl-shop-page {
    background: #f7f9fc;
    min-height: 100vh;
}


/* =========================================================
   SHOP HERO — PREMIUM
   ========================================================= */

.atl-shop-hero {
    position: relative;
    overflow: hidden;
    min-height: 355px;
    display: flex;
    align-items: center;
    padding: 65px 0 72px;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(12,111,150,.55),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 95%,
            rgba(20,126,93,.16),
            transparent 30%
        ),
        linear-gradient(
            125deg,
            #001a42 0%,
            #002357 38%,
            #0b2a82 70%,
            #0c6f96 100%
        );
}

.atl-shop-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -220px;
    top: -285px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
    box-shadow:
        0 0 0 55px rgba(255,255,255,.015),
        0 0 0 110px rgba(255,255,255,.012);
}

.atl-shop-hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    left: -190px;
    bottom: -260px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
}


/* grille très légère */

.atl-shop-hero .atl-container::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .12;
    background-image:
        linear-gradient(
            rgba(255,255,255,.12) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.12) 1px,
            transparent 1px
        );
    background-size: 80px 80px;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 30%,
        #000 75%,
        transparent
    );
}

.atl-shop-hero-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
}

.atl-shop-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 22px;
    color: rgba(255,255,255,.75);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.atl-shop-eyebrow span {
    width: 38px;
    height: 2px;
    border-radius: 99px;
    background: #8ed4ba;
}

.atl-shop-hero h1 {
    max-width: 700px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(3rem, 5.2vw, 5rem);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 900;
}

.atl-shop-hero h1 span {
    display: block;
    color: #8ed4ba;
}

.atl-shop-hero p {
    max-width: 620px;
    margin: 25px 0 0;
    color: rgba(255,255,255,.72);
    font-size: .96rem;
    line-height: 1.85;
}


/* =========================================================
   ELEMENTS FLOTTANTS DU HERO
   ========================================================= */

.atl-shop-hero::marker {
    display: none;
}

/* =========================================================
   HERO STATS
   ========================================================= */

.atl-shop-hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 34px;
}

.atl-shop-hero-stat {
    display: flex;
    flex-direction: column;
    min-width: 125px;
    padding-right: 25px;
    margin-right: 25px;
    border-right: 1px solid rgba(255,255,255,.16);
}

.atl-shop-hero-stat:last-child {
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
}

.atl-shop-hero-stat strong {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 850;
}

.atl-shop-hero-stat span {
    margin-top: 3px;
    color: rgba(255,255,255,.52);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .03em;
}


/* =========================================================
   HERO DECORATION
   ========================================================= */

.atl-shop-hero-decoration {
    position: absolute;
    z-index: 2;
    right: 8%;
    top: 50%;
    width: 360px;
    height: 260px;
    transform: translateY(-50%);
    pointer-events: none;
}

.atl-shop-hero-orbit {
    position: absolute;
    width: 250px;
    height: 250px;
    right: 0;
    top: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

.atl-shop-hero-orbit::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.atl-shop-hero-orbit::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    right: 22px;
    top: 38px;
    border-radius: 50%;
    background: #8ed4ba;
    box-shadow: 0 0 0 8px rgba(142,212,186,.12);
}

.atl-shop-hero-card {
    position: absolute;
    left: 0;
    bottom: 15px;
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 290px;
    padding: 15px 17px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
    backdrop-filter: blur(16px);
}

.atl-shop-hero-card-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #ffffff;
    color: #002357;
    font-size: 1rem;
}

.atl-shop-hero-card strong,
.atl-shop-hero-card small {
    display: block;
}

.atl-shop-hero-card strong {
    color: #ffffff;
    font-size: .76rem;
}

.atl-shop-hero-card small {
    margin-top: 3px;
    color: rgba(255,255,255,.55);
    font-size: .62rem;
    line-height: 1.5;
}


/* Mobile */

@media (max-width: 991px) {

    .atl-shop-hero-decoration {
        display: none;
    }

}

@media (max-width: 767px) {

    .atl-shop-hero {
        min-height: auto;
    }

    .atl-shop-hero-stats {
        flex-wrap: wrap;
        gap: 18px 0;
    }

    .atl-shop-hero-stat {
        min-width: 105px;
        padding-right: 17px;
        margin-right: 17px;
    }

}


/* =========================================================
   SECTION
   ========================================================= */

.atl-shop-section {
    padding: 52px 0 90px;
}

.atl-shop-layout {
    display: grid;
    grid-template-columns: 275px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.atl-shop-sidebar {
    position: sticky;
    top: 105px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(0,35,87,.07);
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(0,35,87,.06);
}

.atl-shop-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf1f6;
}

.atl-shop-filter-header > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.atl-shop-filter-header span {
    color: #002357;
    font-size: 1.05rem;
    font-weight: 800;
}

.atl-shop-filter-header strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0b2a82;
    color: #ffffff;
    font-size: .68rem;
}

.atl-shop-filter-header a {
    color: #0b2a82;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
}

.atl-shop-filter-header a:hover {
    color: #147e5d;
}


/* =========================================================
   FILTER BLOCK
   ========================================================= */

.atl-shop-filter-block {
    padding: 22px 0;
    border-bottom: 1px solid #edf1f6;
}

.atl-shop-filter-block > label {
    display: block;
    margin-bottom: 10px;
    color: #6c7888;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.atl-shop-filter-title {
    margin-bottom: 13px;
    color: #002357;
    font-size: .86rem;
    font-weight: 800;
}

.atl-shop-search {
    position: relative;
}

.atl-shop-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a95a5;
    pointer-events: none;
}

.atl-shop-search input {
    width: 100%;
    height: 45px;
    padding: 0 13px 0 40px;
    border: 1px solid #e2e7ef;
    border-radius: 12px;
    background: #f9fafc;
    color: #002357;
    font-size: .82rem;
    outline: none;
    transition: .2s ease;
}

.atl-shop-search input:focus {
    border-color: #0b2a82;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(11,42,130,.08);
}

.atl-shop-filter-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.atl-shop-filter-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    padding: 7px 9px;
    border-radius: 9px;
    color: #596678;
    font-size: .81rem;
    text-decoration: none;
    transition: .2s ease;
}

.atl-shop-filter-list a i {
    font-size: .7rem;
    opacity: 0;
    transform: translateX(-3px);
    transition: .2s ease;
}

.atl-shop-filter-list a:hover,
.atl-shop-filter-list a.is-active {
    background: #f1f5fb;
    color: #0b2a82;
}

.atl-shop-filter-list a:hover i,
.atl-shop-filter-list a.is-active i {
    opacity: 1;
    transform: translateX(0);
}

.atl-shop-gender-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.atl-shop-gender-list a {
    padding: 8px 12px;
    border: 1px solid #e2e7ef;
    border-radius: 9px;
    color: #596678;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.atl-shop-gender-list a:hover,
.atl-shop-gender-list a.is-active {
    border-color: #0b2a82;
    background: #0b2a82;
    color: #ffffff;
}


/* =========================================================
   FEATURED FILTER
   ========================================================= */

.atl-shop-featured-filter {
    padding-top: 20px;
}

.atl-shop-featured-filter a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 1px solid #e5eaf1;
    border-radius: 13px;
    color: #596678;
    text-decoration: none;
    transition: .2s ease;
}

.atl-shop-featured-filter a:hover,
.atl-shop-featured-filter a.is-active {
    border-color: rgba(11,42,130,.2);
    background: #f3f6fb;
}

.atl-shop-featured-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #0b2a82;
    color: #ffffff;
}

.atl-shop-featured-filter a > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.atl-shop-featured-filter strong,
.atl-shop-featured-filter small {
    display: block;
}

.atl-shop-featured-filter strong {
    color: #002357;
    font-size: .77rem;
}

.atl-shop-featured-filter small {
    margin-top: 2px;
    color: #8a95a5;
    font-size: .66rem;
}

.atl-shop-featured-filter > a > i {
    color: #9ba5b3;
    font-size: .7rem;
}


/* =========================================================
   CONTENT
   ========================================================= */

.atl-shop-content {
    min-width: 0;
}

.atl-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 15px 18px;
    background: #ffffff;
    border: 1px solid rgba(0,35,87,.06);
    border-radius: 15px;
}

.atl-shop-result {
    color: #6c7888;
    font-size: .82rem;
}

.atl-shop-result strong {
    color: #002357;
}

.atl-shop-sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.atl-shop-sort-form label {
    color: #8993a1;
    font-size: .73rem;
    font-weight: 700;
}

.atl-shop-sort-form select {
    min-width: 165px;
    height: 38px;
    padding: 0 30px 0 11px;
    border: 1px solid #e1e6ee;
    border-radius: 9px;
    background: #ffffff;
    color: #002357;
    font-size: .76rem;
    font-weight: 700;
    outline: none;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.atl-shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}


/* =========================================================
   PRODUCT CARD
   Le design des cartes est maintenant centralisé dans :
   components/product-card.css
   ========================================================= */

/* =========================================================
   EMPTY
   ========================================================= */

.atl-shop-empty {
    padding: 80px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(0,35,87,.07);
    border-radius: 22px;
}

.atl-shop-empty-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #f0f4fa;
    color: #0b2a82;
    font-size: 1.5rem;
}

.atl-shop-empty h2 {
    margin: 0;
    color: #002357;
    font-size: 1.35rem;
    font-weight: 800;
}

.atl-shop-empty p {
    max-width: 480px;
    margin: 10px auto 24px;
    color: #7b8796;
    font-size: .85rem;
}

.atl-shop-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 0 20px;
    border-radius: 11px;
    background: #002357;
    color: #ffffff;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.atl-shop-empty-btn:hover {
    background: #0b2a82;
    color: #ffffff;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.atl-shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 38px;
}

.atl-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.atl-pagination-number {
    min-width: 37px;
    height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 10px;
    color: #657181;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
}

a.atl-pagination-number:hover,
.atl-pagination-number.is-current {
    background: #002357;
    color: #ffffff;
}

.atl-pagination-prev,
.atl-pagination-next {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #5f6b7b;
    font-size: .73rem;
    font-weight: 800;
    text-decoration: none;
}

.atl-pagination-prev:hover,
.atl-pagination-next:hover {
    color: #0b2a82;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {

    .atl-shop-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 25px;
    }

    .atl-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 991px) {

    .atl-shop-layout {
        grid-template-columns: 1fr;
    }

    .atl-shop-sidebar {
        position: static;
    }

    .atl-shop-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 22px;
    }

    .atl-shop-filter-header,
    .atl-shop-filter-block:first-of-type,
    .atl-shop-featured-filter {
        grid-column: 1 / -1;
    }

    .atl-shop-filter-header {
        margin-bottom: 0;
    }

}

@media (max-width: 767px) {

    .atl-shop-hero {
        padding: 58px 0 64px;
    }

    .atl-shop-section {
        padding: 35px 0 60px;
    }

    .atl-shop-sidebar {
        display: block;
    }

    .atl-shop-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .atl-shop-sort-form {
        width: 100%;
        justify-content: space-between;
    }

    .atl-shop-sort-form select {
        flex: 1;
    }

    .atl-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

}

@media (max-width: 480px) {

    .atl-shop-grid {
        grid-template-columns: 1fr;
    }

    .atl-shop-hero h1 {
        font-size: 2.45rem;
    }

    .atl-shop-pagination {
        gap: 8px;
    }

    .atl-pagination-prev span,
    .atl-pagination-next span {
        display: none;
    }

}


/* =========================================================
   PAGINATION — PREMIUM
   ========================================================= */

.atl-shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,35,87,.07);
}

.atl-shop-pagination > a,
.atl-shop-pagination > span {
    text-decoration: none !important;
}

.atl-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.atl-pagination-number {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: #ffffff;
    color: #657181;
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none !important;
    transition: .2s ease;
}

a.atl-pagination-number:hover {
    border-color: #0b2a82;
    background: #f2f5fa;
    color: #0b2a82;
}

.atl-pagination-number.is-current {
    border-color: #002357;
    background: #002357;
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(0,35,87,.16);
}

.atl-pagination-prev,
.atl-pagination-next {
    min-height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: #ffffff;
    color: #536071 !important;
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none !important;
    transition: .2s ease;
}

.atl-pagination-prev:hover,
.atl-pagination-next:hover {
    border-color: #0b2a82;
    background: #0b2a82;
    color: #ffffff !important;
}

.atl-pagination-prev i,
.atl-pagination-next i {
    font-size: .65rem;
}

.atl-shop-pagination .disabled {
    opacity: .4;
    pointer-events: none;
}

/* ============================================================
   ATLANTICA — Boutique
   Filtres mobiles : fermé par défaut + ouverture/fermeture
   ============================================================ */

.atl-shop-filter-toggle {
    display: none;
}

.atl-shop-filter-content {
    display: block;
}

@media (max-width: 767.98px) {
    .atl-shop-filter-header {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .atl-shop-filter-heading {
        display: none !important;
    }

    .atl-shop-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 1 1 auto;
        min-width: 0;
        min-height: 46px;
        margin: 0;
        padding: 11px 14px;
        border: 1px solid #E1E8ED;
        border-radius: 12px;
        background: #FFFFFF;
        color: #374151;
        font: inherit;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.2;
        text-align: left;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(17, 17, 17, .04);
        transition:
            border-color .18s ease,
            box-shadow .18s ease,
            color .18s ease;
    }

    .atl-shop-filter-toggle:hover,
    .atl-shop-filter-toggle:focus {
        color: #1C96D9;
        border-color: #C8EAF8;
        background: #FFFFFF;
        outline: none;
        box-shadow: 0 5px 16px rgba(17, 17, 17, .06);
    }

    .atl-shop-filter-toggle > span {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        gap: 8px;
    }

    .atl-shop-filter-toggle > span > i {
        flex: 0 0 auto;
        font-size: 15px;
        color: #1C96D9;
    }

    .atl-shop-filter-toggle strong {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        border-radius: 999px;
        background: #EAF7FD;
        color: #1C96D9;
        font-size: 11px;
        font-weight: 800;
        line-height: 1;
    }

    .atl-shop-filter-toggle > i:last-child {
        flex: 0 0 auto;
        margin-left: 8px;
        color: #1C96D9;
        font-size: 14px;
        transition: transform .18s ease;
    }

    .atl-shop-filter-toggle[aria-expanded="true"] > i:last-child {
        transform: rotate(180deg);
    }

    .atl-shop-filter-header > a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .atl-shop-filter-content {
        display: none;
        width: 100%;
        margin-top: 14px;
    }

    .atl-shop-filter-content.is-open {
        display: block;
    }

    .atl-shop-filter-content .atl-shop-filter-block,
    .atl-shop-filter-content .atl-shop-featured-filter {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .atl-shop-filter-content {
        display: block !important;
    }
}

