/* -------------------------------------------------------
   BOUTIQUE — shop.css
   Thème : dark / Montserrat / BS5
   Surcharge forcée du reset global du thème
-------------------------------------------------------- */

/* -------------------------------------------------------
   Filtres collections
-------------------------------------------------------- */
nav.shop-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 0 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

a.btn-filter {
    font-family: "Montserrat", sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45) !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 6px 16px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

a.btn-filter:hover,
a.btn-filter.active {
    color: #fff !important;
    border-color: #fff !important;
    background: transparent !important;
}

/* -------------------------------------------------------
   Grille — carte produit
-------------------------------------------------------- */
#shop-grid .shop-card {
    position: relative;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#shop-grid .shop-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Image */
#shop-grid .shop-card-img-wrap {
    display: block;
    overflow: hidden;
    background: #111;
    aspect-ratio: 1 / 1;
}

#shop-grid .shop-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}

#shop-grid .shop-card:hover .shop-card-img {
    transform: scale(1.05);
}

#shop-grid .shop-card-img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Body carte */
#shop-grid .shop-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

#shop-grid .shop-card-title {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.3;
}

#shop-grid .shop-card-title a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

#shop-grid .shop-card-title a:hover {
    color: #fff !important;
}

/* Footer carte */
#shop-grid .shop-card-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    gap: 8px;
}

#shop-grid .shop-card-price {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

/* -------------------------------------------------------
   Bouton + Panier — surcharge complète du reset thème
-------------------------------------------------------- */
#shop-grid button.btn-add-cart,
#shop-grid button.btn-add-cart:not([data-filter]):not(.mfp-arrow) {
    font-family: "Montserrat", sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #000 !important;
    background: #fff !important;
    background-color: #fff !important;
    border: none !important;
    padding: 7px 14px !important;
    cursor: pointer !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    transition: background 0.2s ease, color 0.2s ease !important;
    border-radius: 0 !important;
}

/* Neutralise le ::before animé du thème */
#shop-grid button.btn-add-cart::before,
#shop-grid button.btn-add-cart:not([data-filter]):not(.mfp-arrow)::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
}

#shop-grid button.btn-add-cart:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    color: #000 !important;
}

#shop-grid button.btn-add-cart:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

#shop-grid button.btn-add-cart.added {
    background: #2a2a2a !important;
    background-color: #2a2a2a !important;
    color: #fff !important;
}

/* Texte "Sur commande" */
#shop-grid .shop-card-footer small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3) !important;
    font-style: italic;
}

/* Lien admin edit */
#shop-grid .shop-admin-edit {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 14px;
    text-decoration: none;
    opacity: 0.5;
    z-index: 2;
}

#shop-grid .shop-admin-edit:hover {
    opacity: 1;
}

/* -------------------------------------------------------
   Mobile
-------------------------------------------------------- */
@media (max-width: 767px) {
    #shop-grid .shop-card-title {
        font-size: 11px;
    }

    #shop-grid .shop-card-price {
        font-size: 13px;
    }

    #shop-grid button.btn-add-cart {
        font-size: 9px !important;
        padding: 6px 10px !important;
    }

    #shop-grid .shop-card-body {
        padding: 10px 12px 12px;
    }
}

.product-breadcrumb {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-breadcrumb a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
    color: #fff;
}

.product-breadcrumb span {
    color: rgba(255, 255, 255, 0.2);
}

.product-breadcrumb span.current {
    color: rgba(255, 255, 255, 0.85);
}

nav.shop-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 0 0 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-filter-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    user-select: none;
}