/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
@font-face {
    font-family: "Manifold_CF";
    src: url(../fonts/Manifold_CF_Thin.woff) format("woff"), url(../fonts/Manifold_CF_Thin.woff2) format("woff2"), url(../fonts/Manifold_CF_Thin.ttf) format("TrueType");
    font-weight: 100
}

@font-face {
    font-family: "Manifold_CF";
    src: url(../fonts/Manifold_CF_Thin.woff) format("woff"), url(../fonts/Manifold_CF_Thin.woff2) format("woff2"), url(../fonts/Manifold_CF_Thin.ttf) format("TrueType");
    font-weight: 200
}

@font-face {
    font-family: "Manifold_CF";
    src: url(../fonts/Manifold_CF_Light.woff) format("woff"), url(../fonts/Manifold_CF_Light.woff2) format("woff2"), url(../fonts/Manifold_CF_Light.ttf) format("TrueType");
    font-weight: 300
}

@font-face {
    font-family: "Manifold_CF";
    src: url(../fonts/Manifold_CF_Regular.woff) format("woff"), url(../fonts/Manifold_CF_Regular.woff2) format("woff2"), url(../fonts/Manifold_CF_Regular.ttf) format("TrueType");
    font-weight: 400
}

@font-face {
    font-family: "Manifold_CF";
    src: url(../fonts/Manifold_CF_Medium.woff) format("woff"), url(../fonts/Manifold_CF_Medium.woff2) format("woff2"), url(../fonts/Manifold_CF_Medium.ttf) format("TrueType");
    font-weight: 500
}

@font-face {
    font-family: "Manifold_CF";
    src: url(../fonts/Manifold_CF_Demi_Bold.woff) format("woff"), url(../fonts/Manifold_CF_Demi_Bold.woff2) format("woff2"), url(../fonts/Manifold_CF_Demi_Bold.ttf) format("TrueType");
    font-weight: 600
}

@font-face {
    font-family: "Manifold_CF";
    src: url(../fonts/Manifold_CF_Bold.woff) format("woff"), url(../fonts/Manifold_CF_Bold.woff2) format("woff2"), url(../fonts/Manifold_CF_Bold.ttf) format("TrueType");
    font-weight: 700
}

@font-face {
    font-family: "Manifold_CF";
    src: url(../fonts/Manifold_CF_Extra_Bold.woff) format("woff"), url(../fonts/Manifold_CF_Extra_Bold.woff2) format("woff2"), url(../fonts/Manifold_CF_Extra_Bold.ttf) format("TrueType");
    font-weight: 800
}

@font-face {
    font-family: "Manifold_CF";
    src: url(../fonts/Manifold_CF_Heavy.woff) format("woff"), url(../fonts/Manifold_CF_Heavy.woff2) format("woff2"), url(../fonts/Manifold_CF_Heavy.ttf) format("TrueType");
    font-weight: 900
}

@media only screen and (min-width: 768px) {
    .container-fluid {
        margin-left: auto;
        margin-right: auto;
        padding-left: 55px;
        padding-right: 55px;
    }
}

@media (min-width: 1290px) {
    .container {
        width: 1290px;
    }
}

*:not(i) {
    font-family: 'Manifold_CF';
}

#header {
    border: none;
    box-shadow: none;
    max-width: 100%;
}

#wrapper {
    background: #fff;
    margin-bottom: 85px;
}

#index #wrapper {
    margin-bottom: 0;
}

#header .logo {
    max-height: 100px;
    width: auto;
    padding: 10px 0;
}

#header .row_header {
    display: flex;
    justify-content: space-between;
}
#header .row_header::after {
    display: none;
}
#header .header-top i {
    font-size: 22px;
}

#header .header-top #top-menu i {
    font-size: 8px;
}

#header .header-top #search_widget form i {
    font-size: 29px;
}
#_desktop_logo {
    display: flex;
    align-items: center;
    padding-left: 50px;
}
.top-menu .sub-menu, .top-menu .sub-menu.collapse{
    top: 94px !important;
}
@media (max-width: 1276px) {
    #header .header-top #search_widget form i{
        font-size: 1.3rem;
    }
    #header .header-top i{
        font-size: 1rem;
    }
    #header .row_header .top-menu a[data-depth="0"] {
        font-size: 0.8rem;
    }
    #_desktop_logo {
        padding-left: 20px;
    }
}
@media (max-width: 1078px) {
    #header .header-top #search_widget form i{
        font-size: 1rem;
    }
    #header .header-top i{
        font-size: 0.7rem;
    }
    #header .row_header .top-menu a[data-depth="0"] {
        font-size: 0.6rem;
    }
    #_desktop_logo {
        padding-left: 0px;
    }
}
@media (max-width: 890px) {
    #header .row_header {
        justify-content: flex-start;
    }
}

#header #search_widget::after {
    background-color: #fff;
}



#header .header-top i,
#header .header-top a[data-depth="0"] {
    color: #000;
}

#header .header-top a[data-depth="0"] {
    font-weight: 800;
}

#header .header-top .category:hover a[data-depth="0"],
#header .header-top .category:hover i,
#header .header-top i:hover,
#header .header-top a[data-depth="0"]:hover {
    color: #e2211c;
}

#header .header-top .category i {
    margin-left: 5px;
    vertical-align: middle;
}

#header .header-top a[data-depth="0"] {
    position: relative;
    overflow: hidden;
}

#_desktop_language_selector .dropdown-menu {
    transform: translateX(-50%);
}

#header .menu>ul>li {
    line-height: 0;
}

#_desktop_cart .header .cart-products-count {
    left: 20px;
    position: absolute;
    text-align: center;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    display: inline-block;
    vertical-align: 14px;
    background: #e2211c;
    color: #000000;
    line-height: 12px;
    min-width: 12px;
    height: 12px;
    font-size: 10px;
    position: absolute;
    -moz-border-radius: 50px 50px 50px 50px;
    -webkit-border-radius: 50px 50px 50px 50px;
    border-radius: 50px 50px 50px 50px;
    margin: -11px 0 0 -7px;
    padding: 2px 2px 2px 2px;
}

#header .header-nav .blockcart,
#header .header-nav .blockcart.active a:hover, #header .header-nav .cart-preview.active a,
#header .header-nav .cart-preview.active i,
#header .header-nav .cart-preview.active {
    background: transparent;
    color: #000 !important;
}

/***Menu **/


@media (max-width: 991px) {
    .carousel {
        left: 0;
        margin-left: 0;
    }
}

#header .menu>ul>li {
    position: relative;
}

.top-menu .sub-menu {
    width: auto;
    min-width: none;
    margin-top: -1px;
}

body#checkout #header .header-nav {
    padding: 0;
}

#carousel {
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
    margin-top: -30px;
}

.carousel .carousel-inner {
    height: auto;
    margin-bottom: 0;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 50px;
}



#_desktop_top_menu {
    flex: 1;
}

#header .header-nav {
    border-bottom: none;
}

#header .header-top {
    padding: 0;
}

.top-menu a[data-depth="0"] {
    padding: 40px .625rem;
}

#search_widget {
    display: none;
}

@media only screen and (min-width: 768px) {
    #search_widget {
        min-width: 0;
        display: block;
    }

    #search_widget form i {
        position: relative;
        padding: 0;
    }

    .top-menu[data-depth="0"] {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #search_widget form input {
        display: none;
        position: absolute;
        background-color: #fff;
        border: 1px solid #000;
        min-width: 16.5rem;
    }

    #search_widget.active form input {
        display: block;
        bottom: -50px;
        transform: translateX(-50%);
    }

    #ui-id-1 {
        top: 115px !important;
    }

    #search_widget {
        position: relative;
        cursor: pointer;
        overflow: visible;
        max-width: 40px;
        transition: 0.3s ease-in-out;
    }
}

#search_widget::after {
    content: '';
    position: absolute;
    right: 20px;
    bottom: 10px;
    width: calc(100% - 60px);
    height: 1px;
    transition: 0.2s ease-in-out;
}

#_desktop_cart .header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#_desktop_cart .header .cart-products-count {
    position: absolute;
    transform: translateX(9%);
    bottom: 15px;
    right: 0px;
}

/* Miniature */

.product-miniature .thumbnail-container:hover {
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.15);
}

.product-miniature .thumbnail-container:hover .product-title a {
    color: #e2211c;
}

.product-miniature .thumbnail-container .product-title a {
    color: #000;
    font-size: 14px;
    font-weight: 700;
}

.product-miniature .product-price-and-shipping {
    font-size: 16px;
}

.product-miniature .thumbnail-container:focus .product-description::after,
.product-miniature .thumbnail-container:hover .product-description::after {
    display: none;
}

/* Conteneur produit */
.thumbnail-container {
    position: relative;
    overflow: hidden;
}

/* Image principale */
.product-thumbnail .product-image-front {
    display: block;
    width: 100%;
    transition: transform 0.4s ease;
}

/* Image secondaire (effet brillant + flip) */
.product-miniature.swipe .thumbnail-container .product-thumbnail img.product-image-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale3d(0.9, 0.9, 1) rotateY(90deg);
    transition: all 0.3s ease;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Hover : apparition de l'image 2 avec effet de rotation + brillance */
.product-miniature.swipe .thumbnail-container:hover .product-thumbnail img.product-image-back {
    opacity: 1;
    transform: scale3d(1, 1, 1) rotateY(0deg);
    z-index: 2;
}

/* Optionnel : léger retrait de la première image */
.swipe .thumbnail-container:hover .product-image-front {
    transition: 0.3s;
    opacity: 0;
}

.product-miniature .product-title {
    margin: 35px 0;
}

.product-flags li.product-flag.on-sale {
    width: fit-content;
}

/** bannier**/
#banner_content {
    position: relative;
}

#banner_content p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 52px;
    line-height: 52px;
    letter-spacing: 4px;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
}

@media (max-width: 768px) {
    #banner_content p {
        font-size: 18px;
        line-height: 20px;
    }
}
@media (max-width: 450px) {
    #banner_content p {
        font-size: 14px;
        line-height: 16px;
    }
}

/*** réassurance ***/

#block-reassurance {
    display: flex;
    justify-content: center;
    max-width: 100%;

}
#block-reassurance a{
    color: #000;

}

#block-reassurance ul {
    display: flex;
    justify-content: space-between;
    margin: 60px 0;
    width: 100%;
    flex-wrap: wrap;

}

#block-reassurance li .block-reassurance-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    border: none;
    text-align: center;
}

#block-reassurance li {
    border: none;
    flex: 1;
}

#block-reassurance img {
    max-width: 100%;
    width: auto;
    height: auto;
    margin-bottom: 25px;
}

/** footer ***/
body#checkout #footer,
#footer {
    background-image: url(../img/footer-bg1.jpg);
    background-repeat: repeat;
}

#block_myaccount_infos .myaccount-title a,
.block-contact,
.footer-container li a,
.footer-container .h3,
.footer-container .h4 {
    color: #fff;
}

#footer .logo {
    max-width: 130px;
}

#footer .social-sharing {
    margin-top: 0;
    margin-bottom: 10px;
}

#footer .social-sharing a {
    margin-right: 0.5rem;
}

#footer .social-sharing a i {
    color: #fff;
    font-size: 18px;
}

#footer .social-sharing a i:hover {
    color: #e2211c;
}

#footer .footer_end {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    margin-top: 30px;
    border-top: 1px solid #313439;
}

#footer .footer_payment {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0.65rem;
}

#footer .footer_payment img {
    max-width: 100%;
    height: auto;
}

#footer .footer_payment p {
    min-width: max-content;
    margin: 0;
}
@media (max-width: 767px) {
    .footer-container .links ul>li a,
    .footer-container .links ul {

        background-color: transparent;
        color: #fff;
    }
    .block-social {
        text-align: center;
        margin-top: 16px;
    }
}
@media (max-width: 768px) {
    #footer .logo_footer {
        text-align: center;
        margin-bottom: 50px;
    }
}

/*** newsletter**/

.block_newsletter {
    clear: unset;
    background: transparent;
}

#footer .block_newsletter p {
    padding-top: 0;
    color: #fff;
}

.block_newsletter form .row .col-xs-12:first-of-type .btn-primary:first-of-type {
    margin-left: 0;
}

#footer .block_newsletter .cta_nl {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
}

/** breadcrumb ***/

.breadcrumb {
    margin-bottom: 30px;
}

/** Product **/

.product-flags li.product-flag {
    border-radius: 3px;
}

#product #content {
    max-width: none;
}

.product-cover picture {
    position: relative;
    display: inline-block;
    overflow: hidden;
    /* ✅ empêche le box-shadow de déborder sur toute la page */
    cursor: none;
}

.product-cover picture img {
    width: 100%;
    display: block;
    transition: filter 0.2s ease;
}

/* Lentille (zone claire) */
.zoom-lens {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    mix-blend-mode: normal;
    border: 1px solid #000;
    z-index: 4;
}

#zoom-result {
    position: absolute;
    top: 50px;
    left: calc(100%);
    border: 1px solid #ccc;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: 200%;
    display: none;
    z-index: 100;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

#product .product-prices {
    display: flex;
    align-items: end;
    gap: 8px;

}

#product .product-prices .current-price {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #000;
}

.has-discount .discount {
    display: none;
}

.product-discount .regular-price {
    font-size: 16px;
    margin-right: 0;
}

.product-information {
    margin-top: 30px;
}

p {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.product-actions .control-label {
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
}

.product-variants {
    padding: 20px 0;
}

.product-container h1 {
    font-size: 30px;
}

.block-title {
    font-weight: 600;
    font-size: 18px;
}

.product-add-to-cart {
    border-bottom: 1px solid #dedede;
    padding-bottom: 40px;
}

#blockcart-modal .modal-header {
    background-color: #000;
}

#blockcart-modal .modal-title,
#blockcart-modal .modal-header .close .material-icons,
#blockcart-modal .modal-title i.material-icons {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
}

#blockcart-modal .product-image {
    max-width: 100%;
}

#blockcart-modal .cart-content .page-content.page-cms ul,
#blockcart-modal .cart-content p,
.page-content.page-cms #blockcart-modal .cart-content ul {
    justify-content: flex-start;
    gap: 5px;
}

#blockcart-modal .cart-content .page-content.page-cms ul.product-total,
#blockcart-modal .cart-content p.product-total,
.page-content.page-cms #blockcart-modal .cart-content ul.product-total {
    background: transparent;
}

#blockcart-modal .modal-body .divide-right .product-price {
    font-size: 25px;
    margin-top: 40px;
    font-weight: 700;
}

.btn-secondary {
    background-color: #000;
    transition: 0.2s ease-in-out;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #e2211c;
    color: #fff;

}

/*** category ***/

.block-category {
    min-height: 0;
    text-align: center;
}

.block-category {
    min-height: 0;
    text-align: center;
    margin-bottom: 0;
}

.block-category h1 {
    font-weight: 600;
    font-size: 40px;
    color: #e2211c;
    padding-bottom: 2rem;
}

#search_filters>.h6,
#search_filters_brands>.h6,
#search_filters_suppliers>.h6 {
    font-size: 0.9375rem;
    font-weight: 700;
}

/** checkout **/
body#checkout .cart-grid-right .card,
#cart .card {
    border: 1px solid rgba(0, 0, 0, 0.125);
    ;
}

body#checkout section.checkout-step {
    -moz-box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.1);
    -o-box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.1);
    background-color: white;
    border: 1px solid #dedede;
    padding: 0.9375rem;
}

.product-line-grid-body>.product-line-info>.label {
    font-size: 0.9375rem;
}

.product-line-grid-body .current-price .price {
    font-size: 22px;
    color: #000;
    font-weight: bold;
}

#cart .product-price {
    margin: 15px 0;
}

body#checkout section.checkout-step .step-title {
    border-bottom: none;
}

body#checkout section.checkout-step.-current+.checkout-step .step-title {
    border-top: none;
}

/** mon compte ***/

.page-my-account #content .links a span.link-item {
    box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.1);
}

#_mobile_logo {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    min-height: 100px;
}

#header .mobile {
    max-height: none;
}

@media (max-width: 767px) {
    #header .top-logo img {
        width: auto;
        max-height: 100px;
    }

    #header {
        min-height: 100px;
    }

    #header .top-logo {
        min-height: 100px;
    }

    #header .header-top {
        padding-top: 50px;
    }

    #footer_logo {}
}