/* CUSTOM GLOBAL STYLES */
#wrapper a {
    color: #578899 !important;
}
#wrapper a:hover {
    color: #456b7a !important;
}
.product-price {
    color: #578899 !important;
}
/* Product flags sur la fiche produit */
.js-product .product-flag {
    margin: 0 !important;
    background: #578899 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-align: center !important;
    padding: 5px 20px !important;
    text-transform: uppercase !important;
}

/* Conteneur des miniatures produit */
.js-product > article .thumbnail-container {
    border-radius: 4px;
    color: #3a3939;
    z-index: 1;
    border: solid 2px #578899;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* Quick view */
.thumbnail-container .quick-view {
    text-align: center;
    font-size: 12px !important;
    font-weight: bold;
    padding: 16px;
    background: #fff;
    color: #578899 !important;
    border-bottom: #578899 !important;
}
.thumbnail-container .quick-view i {
    font-size: 18px;
    color: #578899;
}
.thumbnail-container .quick-view:hover {
    color: #578899 !important;
}

/* Prix et étiquettes */
.product-price-and-shipping {
    text-align: left !important;
    padding-left: 20px;
    color: #578899 !important;
}

/* Suppression des sous-catégories */
#subcategories {
    display: none;
}
.block-category {
    min-height: unset !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Fil d'ariane */
.breadcrumb {
    background: #fff;
    padding: 10px 0;
}
.breadcrumb li {
    color: #141414;
    font-size: 12px;
    font-weight: bold;
}
.breadcrumb li::after {
    content: ">";
    padding: 0 5px;
}
.breadcrumb li a {
    color: #141414;
}
.breadcrumb li a:hover {
    color: #578899;
}

/* Bloc catégories */
.block-categories {
    background: transparent !important;
}
.block-categories li a.h6 {
    font: 800 12px / 18px "Poppins", sans-serif;
    border-bottom: none;
    text-transform: initial;
    margin: 0;
    padding: 0 !important;
}
.block-categories li a {
    color: #141414;
    font-size: 12px;
    font-weight: normal;
    text-transform: initial;
    padding-left: 8px;
}

/* Variantes tailles / couleurs */
.available-sizes {
    padding-left: 20px;
}
.size-label {
    display: inline-block;
    background-color: white;
    border: #578899 1px solid;
    aspect-ratio: 1 / 1;
    width: 30px;
    line-height: 27px;
    border-radius: 45px;
    color: #578899;
    text-align: center;
    font-weight: 600;
    position: relative;
    margin-right: 5px;
}
.size-label.out-of-stock {
    background-color: #84b4c4;
}
.size-label.out-of-stock::after {
    content: '';
    width: 1px;
    height: 28px;
    position: absolute;
    left: calc(50% - 0.5px);
    top: 0;
    background-color: #578899;
    transform: rotate(45deg);
}
.size-label.placeholder {
    visibility: hidden;
}

/* Bouton d'ajout au panier pour variantes */
.add-to-cart-variant {
    background: #578899 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-align: center !important;
    padding: 5px 20px !important;
    text-transform: uppercase !important;
    border: none !important;
    width: 100%;
}

/* Conteneur élargi */
#category .container {
    width: auto !important;
    max-width: 1920px !important;
}

/* Tunnel d'achat : étapes */
.checkout-step.-current .step-title,
.checkout-step.-current .step-number {
    background-color: #578899 !important;
    color: #fff !important;
    font-weight: bold !important;
}
.checkout-step.-complete .step-title,
.checkout-step.-complete .step-number {
    background-color: #84b4c4 !important;
    color: #fff !important;
}
.checkout-step .step-title,
.checkout-step .step-number {
    background-color: #f0f0f0 !important;
    color: #578899 !important;
}

/* Tunnel d'achat : récapitulatif épuré */
.cart-summary-line,
.cart-item {
    border: none !important;
    padding: 10px 0 !important;
    color: #3a3939 !important;
}

/* Prix en #578899 */
.cart-summary-line .value,
.cart-item .product-price,
.cart-total .value,
.checkout-summary .total-value {
    color: #578899 !important;
    font-weight: bold !important;
}

/* Boutons principaux du tunnel */
.btn-primary,
.checkout .btn,
.checkout .continue {
    background-color: #578899 !important;
    color: #fff !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border: none !important;
}
.btn-primary:hover,
.checkout .btn:hover,
.checkout .continue:hover {
    background-color: #456b7a !important;
}

/* Titres du tunnel */
#checkout .page-heading,
#checkout .section-title,
#checkout h2,
#checkout h3 {
    color: #578899 !important;
    font-weight: bold !important;
}
#checkout h1{
    color: white;
    text-transform: none !important;
}
body#checkout section.checkout-step{
    padding: 0 !important;
}
/* Formulaires */
.form-control {
    border: 1px solid #578899 !important;
    border-radius: 4px !important;
}

/* Séparateurs discrets */
.checkout-step hr,
.cart-summary-line hr {
    border-color: #e0e0e0 !important;
}

/* Mentions légales, CGV */
.terms-and-conditions,
.legal-advice {
    color: #578899 !important;
    font-size: 12px !important;
}

/* Bloc panier en haut à droite */
.blockcart .cart-products-count,
.blockcart .cart-total {
    color: #578899 !important;
    font-weight: bold !important;
}

/* Notification de validation */
.alert-success {
    background-color: #578899 !important;
    color: #fff !important;
    border: none !important;
}

/* Fond transparent pour les blocs panier et commande */
#cart .card,
#checkout .card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#ybc_blog_page #wrapper #content-wrapper a{
    color: black !important;
}

#wrapper .checkout a.btn-primary{
    color: white !important;
}

.page-heading .title_cat {
    float: left;
    line-height: 100%;
    margin-bottom: 15px;
    margin-top: 15px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    color: #578899 !important;
}
