/* ART'ms — extrait de templates/archives/archive-product-artms.php. Chargé via client-assets/config.php. */

:root{
    --as-black:#070809;
    --as-night:#11171b;
    --as-night-2:#182128;
    --as-surface:#202a31;
    --as-gold:#efd6a0;
    --as-gold-soft:#fff0c8;
    --as-ivory:#f7f3ea;
    --as-muted:rgba(247,243,234,.64);
    --as-line:rgba(239,214,160,.18);
    --as-serif:Georgia,"Times New Roman",serif;
    --as-sans:Inter,Arial,sans-serif;
    --as-container:min(1320px,90vw);
}

.artms-shop,
.artms-shop *{
    box-sizing:border-box;
}

.artms-shop{
    min-height:100vh;
    overflow:hidden;
    color:var(--as-ivory);
    background:var(--as-black);
    font-family:var(--as-sans);
}

.artms-shop a{
    color:inherit;
}

.artms-shop__hero{
    position:relative;
    min-height:530px;
    display:flex;
    align-items:flex-end;
    padding:165px 0 78px;
    overflow:hidden;
    isolation:isolate;
    background:
        linear-gradient(90deg,rgba(7,8,9,.98),rgba(7,8,9,.76) 53%,rgba(7,8,9,.26)),
        linear-gradient(0deg,var(--as-night),transparent 37%),
        var(--as-hero-image) center/cover no-repeat;
}

.artms-shop__hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:
        radial-gradient(circle at 83% 17%,rgba(239,214,160,.2),transparent 23%),
        linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.014) 1px,transparent 1px);
    background-size:auto,80px 80px,80px 80px;
}

.artms-shop__container{
    position:relative;
    width:var(--as-container);
    margin-inline:auto;
}

.artms-shop__breadcrumb{
    margin-bottom:25px;
    color:rgba(247,243,234,.48);
    font-size:10px;
    font-weight:900;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.artms-shop__breadcrumb a{
    color:var(--as-gold);
    text-decoration:none;
}

.artms-shop__kicker{
    margin:0 0 18px;
    color:var(--as-gold);
    font-size:10px;
    font-weight:900;
    letter-spacing:.3em;
    text-transform:uppercase;
}

.artms-shop__hero h1{
    max-width:950px;
    margin:0;
    color:#fff;
    font-family:var(--as-serif);
    font-size:clamp(62px,8vw,122px);
    font-weight:400;
    line-height:.87;
    letter-spacing:-.067em;
}

.artms-shop__intro{
    max-width:700px;
    margin:27px 0 0;
    color:rgba(247,243,234,.72);
    font-size:clamp(17px,1.4vw,21px);
    line-height:1.75;
}

.artms-shop__catalog{
    position:relative;
    padding:88px 0 125px;
    background:
        radial-gradient(circle at 88% 4%,rgba(239,214,160,.05),transparent 22%),
        linear-gradient(180deg,var(--as-night),var(--as-night-2));
}

.artms-shop__toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin-bottom:38px;
    padding-bottom:24px;
    border-bottom:1px solid var(--as-line);
}

.artms-shop__toolbar .woocommerce-result-count{
    float:none;
    margin:0;
    color:var(--as-muted);
    font-size:13px;
}

.artms-shop__toolbar .woocommerce-ordering{
    float:none;
    margin:0;
}

.artms-shop__toolbar select{
    min-height:50px;
    padding:0 42px 0 17px;
    border:1px solid var(--as-line);
    border-radius:999px;
    color:var(--as-ivory);
    background:var(--as-surface);
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}

.artms-shop__notice{
    margin-bottom:30px;
}

.artms-shop__notice .woocommerce-message,
.artms-shop__notice .woocommerce-info,
.artms-shop__notice .woocommerce-error{
    margin:0 0 18px;
    padding:18px 22px 18px 52px;
    border:1px solid var(--as-line);
    border-top:1px solid var(--as-gold);
    border-radius:4px 22px 4px 22px;
    color:var(--as-ivory);
    background:rgba(255,255,255,.035);
}

.artms-shop ul.products{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px;
    margin:0!important;
}

.artms-shop ul.products::before,
.artms-shop ul.products::after{
    display:none!important;
}

.artms-shop ul.products li.product{
    position:relative;
    width:auto!important;
    float:none!important;
    margin:0!important;
    padding:16px 16px 22px!important;
    overflow:hidden;
    border:1px solid var(--as-line);
    border-radius:32px 4px 32px 4px;
    background:rgba(255,255,255,.025);
    box-shadow:0 25px 65px rgba(0,0,0,.14);
    transition:transform .35s ease,border-color .35s ease,background .35s ease;
}

.artms-shop ul.products li.product:hover{
    transform:translateY(-7px);
    border-color:rgba(239,214,160,.42);
    background:rgba(255,255,255,.04);
}

.artms-shop ul.products li.product a{
    text-decoration:none;
}

.artms-shop ul.products li.product img{
    width:100%;
    aspect-ratio:1/1.08;
    margin:0 0 21px!important;
    border-radius:24px 3px 24px 3px;
    object-fit:cover;
    background:rgba(255,255,255,.035);
    transition:transform .5s ease;
}

.artms-shop ul.products li.product:hover img{
    transform:scale(1.025);
}

.artms-shop ul.products li.product .onsale{
    top:28px!important;
    right:auto!important;
    left:28px!important;
    min-width:auto!important;
    min-height:38px!important;
    margin:0!important;
    padding:0 14px!important;
    border-radius:999px!important;
    color:#12181c!important;
    background:var(--as-gold)!important;
    font-size:9px!important;
    font-weight:900!important;
    line-height:38px!important;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.artms-shop ul.products li.product .woocommerce-loop-category__title,
.artms-shop ul.products li.product .woocommerce-loop-product__title{
    padding:0!important;
    color:#fff;
    font-family:var(--as-serif);
    font-size:clamp(24px,2vw,31px)!important;
    font-weight:400;
    line-height:1.05;
    letter-spacing:-.035em;
}

.artms-shop ul.products li.product .count{
    color:var(--as-muted);
    background:transparent;
    font-family:var(--as-sans);
    font-size:12px;
}

.artms-shop ul.products li.product .star-rating{
    margin:13px 0!important;
    color:var(--as-gold);
}

.artms-shop ul.products li.product .price{
    display:block;
    margin:14px 0 0!important;
    color:var(--as-gold)!important;
    font-family:var(--as-serif);
    font-size:22px!important;
}

.artms-shop ul.products li.product .price del{
    color:rgba(247,243,234,.38);
    font-size:.75em;
}

.artms-shop ul.products li.product .price ins{
    text-decoration:none;
}

.artms-shop ul.products li.product .button,
.artms-shop ul.products li.product .added_to_cart{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:47px;
    margin-top:18px!important;
    padding:0 19px!important;
    border:1px solid var(--as-gold)!important;
    border-radius:999px!important;
    color:#12181c!important;
    background:var(--as-gold)!important;
    font-size:9px!important;
    font-weight:900!important;
    letter-spacing:.09em;
    text-transform:uppercase;
    transition:.3s ease;
}

.artms-shop ul.products li.product .button:hover,
.artms-shop ul.products li.product .added_to_cart:hover{
    transform:translateY(-2px);
    background:var(--as-gold-soft)!important;
}

.artms-shop ul.products li.product .added_to_cart{
    margin-left:7px;
}

.artms-shop .woocommerce-pagination{
    margin-top:58px;
}

.artms-shop .woocommerce-pagination ul.page-numbers{
    display:flex;
    justify-content:center;
    gap:8px;
    margin:0!important;
    padding:0!important;
    border:0!important;
}

.artms-shop .woocommerce-pagination ul.page-numbers li{
    border:0!important;
}

.artms-shop .woocommerce-pagination .page-numbers a,
.artms-shop .woocommerce-pagination .page-numbers span{
    display:flex!important;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    padding:0!important;
    border:1px solid var(--as-line);
    border-radius:50%;
    color:var(--as-muted)!important;
    background:rgba(255,255,255,.025)!important;
    font-size:12px;
    font-weight:800;
}

.artms-shop .woocommerce-pagination .page-numbers .current,
.artms-shop .woocommerce-pagination .page-numbers a:hover{
    color:#12181c!important;
    border-color:var(--as-gold);
    background:var(--as-gold)!important;
}

.artms-shop__empty{
    padding:50px;
    border:1px solid var(--as-line);
    border-radius:5px 35px 5px 35px;
    color:var(--as-muted);
    background:rgba(255,255,255,.025);
    text-align:center;
}

.artms-shop__empty h2{
    margin:0 0 15px;
    color:#fff;
    font-family:var(--as-serif);
    font-size:clamp(39px,5vw,65px);
    font-weight:400;
    letter-spacing:-.05em;
}

.artms-shop__term-description{
    max-width:850px;
    margin:0 0 45px;
    color:var(--as-muted);
    font-size:16px;
    line-height:1.75;
}

@media(max-width:1100px){
    .artms-shop ul.products{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:820px){
    .artms-shop__hero{
        min-height:460px;
        padding:140px 0 62px;
    }

    .artms-shop__toolbar{
        align-items:flex-start;
        flex-direction:column;
    }

    .artms-shop__toolbar .woocommerce-ordering,
    .artms-shop__toolbar select{
        width:100%;
    }

    .artms-shop ul.products{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:560px){
    .artms-shop__hero h1{
        font-size:clamp(54px,17vw,79px);
    }

    .artms-shop__catalog{
        padding:68px 0 90px;
    }

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

    .artms-shop ul.products li.product{
        padding:13px 13px 20px!important;
    }

    .artms-shop__empty{
        padding:33px 22px;
    }
}
