/* SHOP BANNER */
/* RESET THEME WRAPPER CONSTRAINTS FOR CUSTOM SHOP TEMPLATE */

#main-wrapper.shop-left,
#main.archive-shop,
.tbay-breadcrumb{
    all: unset !important;
    display: block !important;
    width: 100% !important;
}

.tbay-breadcrumb{
    display: none !important;
}

#main-wrapper,
#main-container,
#main-container .row,
#main.archive-shop{
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}
.atlas-shop-banner{
    height:340px;
    position:relative;
    overflow:hidden;
}

.atlas-shop-banner > img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.atlas-shop-banner-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(20,12,7,.55),
        rgba(20,12,7,.55)
    );
}

.atlas-shop-banner-content{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
}

.atlas-shop-banner-content h1{
    font-family:var(--atlas-serif);
    font-size:54px;
    font-weight:400;
    margin:14px 0;
    color:#fff;
}

.atlas-shop-banner-content p{
    font-family:var(--atlas-serif);
    font-size:17px;
    max-width:480px;
}


/* SHOP BODY LAYOUT */

.atlas-shop-body{
    display:grid;
    grid-template-columns:250px 1fr;
    gap:50px;
    padding:60px 4%;
    background:#fff;
    align-items:start;
}


/* SIDEBAR FILTERS */

.atlas-shop-filters{
    position:sticky;
    top:100px;
}

.atlas-filter-group{
    margin-bottom:16px;
}

.atlas-filter-group h4{
    font-size:10px;
    letter-spacing:1.6px;
    margin:0 0 14px;
    color:#171613;
}

.atlas-filter-static-title{
    font-weight:600;
    font-size:11px;
    letter-spacing:1.8px;
    padding:12px 14px;
    border:1px solid var(--atlas-border);
    border-radius:4px;
    margin:0 0 14px;
}

.atlas-filter-group label{
    display:block;
    font-family:var(--atlas-sans);
    font-size:13px;
    color:#49433e;
    margin-bottom:10px;
    cursor:pointer;
}

.atlas-filter-group input[type="radio"]{
    margin-right:8px;
}

.atlas-price-inputs{
    display:flex;
    align-items:center;
    gap:8px;
}

.atlas-price-inputs input{
    width:100%;
    padding:8px 10px;
    border:1px solid var(--atlas-border);
    font-size:13px;
}

.atlas-filter-apply{
    width:100%;
    margin-top:6px;
    cursor:pointer;
    border:0;
}

.atlas-filter-clear{
    display:block;
    text-align:center;
    margin-top:14px;
    color:#8f8983;
}


/* TOOLBAR */

.atlas-shop-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-bottom:24px;
    margin-bottom:30px;
    border-bottom:1px solid var(--atlas-border);
}

.atlas-shop-count{
    font-size:12px;
    letter-spacing:.5px;
    color:#605951;
}

.atlas-sort-form select{
    padding:9px 14px;
    border:1px solid var(--atlas-border);
    font-size:11px;
    letter-spacing:.6px;
    background:#fff;
    cursor:pointer;
}


/* PRODUCT GRID (shop uses 3 columns) */

.atlas-shop-grid{
    grid-template-columns:repeat(3,1fr);
}

.atlas-no-products{
    grid-column:1/-1;
    font-family:var(--atlas-serif);
    color:#605951;
}


/* HOVER SWAP IMAGE */

.atlas-product-image-hover{
    position:relative;
}

.atlas-product-image-hover img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.atlas-img-hover{
    opacity:0;
    transition:opacity .5s ease;
}

.atlas-product-card:hover .atlas-img-hover{
    opacity:1;
}

.atlas-product-card:hover .atlas-img-main{
    opacity:0;
}


/* BADGES */

.atlas-badge{
    position:absolute;
    top:14px;
    left:14px;
    z-index:2;
    font-size:9px;
    letter-spacing:1px;
    padding:6px 12px;
    color:#fff;
}

.atlas-badge-sale{
    background:#9b3d3d;
}

.atlas-badge-new{
    background:#171613;
}


/* PAGINATION */

.atlas-shop-pagination{
    margin-top:60px;
    display:flex;
    justify-content:center;
    gap:8px;
}

.atlas-shop-pagination .page-numbers{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    font-size:12px;
    border:1px solid var(--atlas-border);
}

.atlas-shop-pagination .page-numbers.current{
    background:#171613;
    color:#fff;
    border-color:#171613;
}


/* MOBILE */

@media(max-width:900px){

    .atlas-shop-body{
        grid-template-columns:1fr;
    }

    .atlas-shop-filters{
        position:static;
        border-bottom:1px solid var(--atlas-border);
        padding-bottom:30px;
        margin-bottom:30px;
    }

    .atlas-shop-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .atlas-shop-banner-content h1{
        font-size:38px;
    }

}

@media(max-width:480px){

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

    .atlas-shop-toolbar{
        flex-direction:column;
        align-items:flex-start;
        gap:14px;
    }

}

.atlas-filter-toggle{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:none;
    border:1px solid var(--atlas-border);
    padding:12px 14px;
    font-size:11px;
    font-weight:600;
    letter-spacing:1.8px;
    color:#171613;
    cursor:pointer;
    text-align:left;
    border-radius:4px;
    margin-bottom:14px;
}

.atlas-filter-arrow{
    font-size:11px;
    transition:transform .25s ease;
}

.atlas-filter-toggle[aria-expanded="false"] .atlas-filter-arrow{
    transform:rotate(-90deg);
}

.atlas-filter-content{
    overflow:hidden;
    max-height:1000px;
    transition:max-height .3s ease;
}

.atlas-filter-content.atlas-collapsed{
    max-height:0;
}


/* COLOUR SWATCHES */

.atlas-color-option{
    display:flex !important;
    align-items:center;
    gap:10px;
}

.atlas-color-dot{
    width:16px;
    height:16px;
    border-radius:50%;
    display:inline-block;
    border:1px solid rgba(0,0,0,.15);
    flex-shrink:0;
}

.atlas-color-all{
    background:
        conic-gradient(
            #6d4933 0% 33%,
            #c9a273 33% 66%,
            #171613 66% 100%
        );
}


/* PACEMARKET: Category header (Ettinger style - white text block above plain image) */
/* Ajouté par : akram — 11/09/2026 */

.atlas-category-intro{
    padding: 40px 4% 30px;
    background:#fff;
}

.atlas-category-intro h1{
    font-family: var(--atlas-serif);
    font-size: 26px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 14px;
    color:#171613;
}

.atlas-category-intro p{
    font-family: var(--atlas-sans);
    font-size: 12px;
    letter-spacing:.5px;
    text-transform: uppercase;
    color:#605951;
    max-width: 760px;
    margin:0;
    line-height:1.7;
}

.atlas-category-image{
    width:100%;
    height:420px;
    overflow:hidden;
}

.atlas-category-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* PACEMARKET: Category intro - centré */
/* Modifié par : akram — 11/09/2026 */

.atlas-category-intro{
    text-align: center;
}

.atlas-category-intro p{
    margin: 0 auto;
}

/* PACEMARKET: Filter content panel - attached to toggle button */
/* Modifié par : akram — 11/09/2026 */

.atlas-filter-group{
    margin-bottom: 14px;
}

.atlas-filter-content{
    border: 1px solid var(--atlas-border);
    border-top: 0;
    border-radius: 0 0 4px 4px;
    padding: 16px 14px 18px;
    margin-top: -1px;
}

.atlas-filter-content.atlas-collapsed{
    padding-top: 0;
    padding-bottom: 0;
    border: 0;
}

.atlas-filter-content label{
    margin-bottom: 14px;
}

.atlas-filter-content label:last-child{
    margin-bottom: 0;
}

.atlas-filter-content .atlas-price-inputs{
    margin-top: 4px;
}

/* PACEMARKET: Fix radio+label alignment (nefs mochkil li kan f Colour) */
/* Modifié par : akram — 11/09/2026 */

.atlas-filter-content label{
    display: flex !important;
    align-items: center;
    gap: 8px;
}