/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

@font-face {
    font-family: 'Material Symbols Outlined';
    src: url('/themes/classic/assets/fonts/material-symbols-outlined.woff2') format('woff2');
    font-display: block;
}


#category-cover hidden-sm-down {
    background-color: #121212;
}

:root {
    --bleu: #121c59;
    --bleu-fonce: #091744;
    --rouge: #fc0200;
    --bleu-clair: #016bb7;
    --dark: #1c1c1e;
    --gris: #3f3f3f
}

.custom-nav-message .top-promo,
.custom-nav-message .top-centre {
    display: flex;
    align-items: center;
    /* Alignement vertical */
    gap: 8px;
    height: 100%;
    padding: 10px;
}

.custom-nav-message .top-centre {
    justify-content: end
}
#checkout .custom-nav-message .top-centre {
    justify-content: end
}

#header .custom-nav-message .top-centre a {
    color: #fff
}

.custom-nav-message i,
.custom-nav-message span {
    display: flex;
    align-items: center;
}

.custom-nav-message i {
    font-size: 20px;
    line-height: 1;
}

.custom-nav-message .material-icons-outlined {
    font-size: 20px;
    line-height: 1;
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    white-space: nowrap;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;

    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;

    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 1440px;
    max-width: 100%;
}

a {
    outline: none !important
}

.card {
    box-shadow: none;
}

#wrapper {
    background: none;
    padding: 0;
    box-shadow: none
}

#category .block-category {
    padding: 0;
    border: none
}

#category .block-category .category-cover {
    width: 100%;
    height: auto;
}

.block-categories {
    margin-top: -70px;
    border-radius: 10px;
}

#category #wrapper .breadcrumb, #search #wrapper .breadcrumb {
    position: absolute;
    z-index: 1;
    padding: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
#search #wrapper #js-product-list-header .block-category {padding: 0;border: 0}
#search #wrapper .breadcrumb li a {color: #fff  !important; }
#search #wrapper #js-product-list-header .block-category h1 {color: #fff !important;    position: absolute;    left: 20px;    top: 45px;}
#category #wrapper .breadcrumb li a {
    color: #fff
}

.search-header-video-background {max-width: 100%;    overflow: hidden;    height: 240px;    background: var(--bleu-fonce);}
.search-header-video-background video {width: 100%;    opacity: 0.3;    margin-top: -250px;}

#wrapper .breadcrumb {
    padding-top: 10px;
}

.products-sort-order .select-title,
.pagination .page-list {
    box-shadow: none;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-radius: 30px;
}

#search_filters {
    border-radius: 10px;
}

#search_filters .ui-slider-horizontal {
    border: none; margin: 15px
}

#search_filters .ui-widget-header {
    background: rgba(0, 0, 0, 0.2)
}

#search_filters .ui-slider .ui-slider-handle {
    width: 1.2em;
    border: 3px solid var(--bleu);
    border-radius: 15px;
    margin-left: -0.6em}

.active_filters .filter-block,
.active_filters {
    border-radius: 40px;
}

#wrapper .breadcrumb li:last-child a {
    font-weight: 600
}

.block-category .block-category-inner .category-cover img {
    width: 100%;
    height: auto;
}

html,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    color: var(--bleu-fonce) !important;
}

#header {
    position: sticky;
    top: 0;
    z-index: 999;
}

#header .header-nav {
    background: var(--bleu-fonce);
    color: #fff;
    border: none;
    margin: 0
}

html header#header .header-top,
#header .header-nav {
    background: var(--bleu);
    color: #fff;
    padding-bottom: 0
}

#header .header-nav a,
#header .header-nav i,
#header .header-nav .cart-preview .shopping-cart {
    color: #fff;
    background: none;
}

#header .header-top #search_widget input {
    border-radius: 7px;
    margin: 5px 0;
    height: 42px;
}

#header .header-top #search_widget button {
    width: 42px;
    height: 42px;
    background: var(--rouge);
    color: #fff;
    border-radius: 7px;
    right: 0;
    top: 0;
    margin: 5px 0
}

#header .header-top .display-top-modules {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 65px;
}

#category .block-category {
    background: url(../img/fond-image-categorie-atelier-de-la-mer.png);
}

#header a,
#header i,
header .material-symbols-outlined {
    color: #fff
}

#header .user-info a {
    display: flex;
    align-items: center;
}

#header .header-top .search-widget {
    min-width: 60%;
    width: 100%;
    margin: 0 30px 0 0;
}

#header .header-nav {
    background: var(--bleu-fonce);
    color: #fff
}

#header .blockcart .cart-products-count {
    width: 15px;
    height: 15px;
    background: var(--rouge);
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1em;
    position: absolute;
    text-align: center;
    margin-left: -7px;
}

#header .header-top .position-static {
    padding: 0
}

#header .header-top #top-menu {
    margin: 0;
}

#header .header-top #top-menu a {
    color: #fff
}

#header .header-top #top-menu .sub-menu a {
    color: var(--bleu-fonce)
}

#custom-text {
    background: color-mix(in srgb, var(--bleu-clair), transparent 80%);
    border-radius: 10px;
}

footer#footer {
    background: color-mix(in srgb, var(--bleu-clair), transparent 80%);
    padding-top: 0;
}

.blockreassurance .block-title,
.blockreassurance p {
    color: var(--bleu-fonce)
}

footer#footer .footer-container {
    background: var(--bleu-fonce);
    color: #fff;
    margin-top: 0
}

footer#footer .footer-container li a,
footer#footer .footer-container p,
footer#footer .footer-container .h3,
footer#footer .footer-container p.h3 a {
    color: #fff !important
}

.block-social ul li {
    background-color: transparent !important;
}

.block-social ul {
    justify-content: center;
}

footer#footer .block_copy {
    background: var(--bleu-clair);
    padding: 7px
}

footer#footer .block_copy a {
    color: #fff
}

article .btn-primary {
    width: 100%;
    background: var(--bleu);
}
article .product-description a.btn {width: 100%;}

#product .product-actions .add-to-cart,
.btn-primary {
    background: var(--bleu);
}

#products .product-description,
.featured-products .product-description,
.product-accessories .product-description,
.product-miniature .product-description {
    height: auto
}

#products .thumbnail-container,
.featured-products .thumbnail-container,
.product-accessories .thumbnail-container,
.product-miniature .thumbnail-container,
#products .highlighted-informations,
.featured-products .highlighted-informations,
.product-accessories .highlighted-informations,
.product-miniature .highlighted-informations,
#products .product-description,
.featured-products .product-description,
.product-accessories .product-description,
.product-miniature .product-description {
    width: 238px;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

#products .products,
.featured-products .products,
.product-accessories .products,
.product-miniature .products {
    justify-content: space-between;
}

#products .highlighted-informations,
.featured-products .highlighted-informations,
.product-accessories .highlighted-informations,
.product-miniature .highlighted-informations,
#products .product-description,
.featured-products .product-description,
.product-accessories .product-description,
.product-miniature .product-description {
    left: -1px
}

#products .product-description,
.featured-products .product-description,
.product-accessories .product-description,
.product-miniature .product-description,
#products .thumbnail-container,
.featured-products .thumbnail-container,
.product-accessories .thumbnail-container,
.product-miniature .thumbnail-container {
    overflow: hidden;
}

#product .product-price {
    font-size: 2rem
}

#product .product-variants>.product-variants-item .color {
    width: 2rem;
    height: 2rem;
    box-shadow: none;
    border: 3px solid #eeeeee;
    border-radius: 30px;
}

#product .input-color:checked+span,
.input-color:hover+span,
#product .input-radio:checked+span,
.input-radio:hover+span {
    border: 3px solid var(--bleu);
}

#product .tabs {
    box-shadow: none;
    margin-top: 0;
    margin-bottom: 2rem;
    padding: 0;
    background: none;
}

#product .tabs .nav-tabs .nav-link.active,
#product .tabs .nav-tabs .nav-link:hover {
    color: var(--bleu);
    border: none;
    border-bottom: 3px solid var(--bleu);
}

#product .product-images>li.thumb-container>.thumb.selected,
#product .product-images>li.thumb-container>.thumb:hover {
    border-color: var(--bleu)
}

#checkout .menu {
    display: none;
}

#checkout .custom-nav-message {
    float: right;
}

#header .header-nav .blockcart {background: none; }
#_desktop_user_info {margin-right: 20px}
.ui-autocomplete {z-index: 9999}














.ui-autocomplete {
    max-width: calc(100vw - 30px);
    padding: 0;
    background: #fff;
    border: 1px solid #e4e4e4;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    z-index: 99999;
}

.ui-autocomplete .ui-menu-item {
    padding: 0;
    border-bottom: 1px solid #eee;
}

.ui-autocomplete .ui-menu-item:last-child {
    border-bottom: 0;
}

.search-product-result {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 12px 14px !important;
    text-decoration: none !important;
}
.search-product-result:hover, .search-product-result:focus {    background: rgba(0, 0, 0, 0.1)}
.search-product-image {
    width: 65px;
    height: 65px;
    flex: 0 0 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.search-product-content {
    flex: 1;
    min-width: 0;
}

.search-product-name {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    color: #222;
}

.search-product-category {
    margin-top: 4px;
    font-size: 12px;
    color: #999;
}

.search-product-price {
    margin-top: 5px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}









/* ||||||||||||||||||||||||
MEDIA QUERIES */

@media (max-width: 767px) {
    #header .header-nav .topbar {
        display: block !important;
        background: var(--bleu-fonce);
        font-size: 80%;
        min-height: 35px;
        padding: 5px 0;
    }

    #header  .blockcart  .cart-products-count {   margin-top: -30px;    margin-left: 10px;} 
#header  .blockcart.active  .cart-products-count {   margin-top: 0px;    margin-left: -7px;} 
    .custom-nav-message .top-centre {
        justify-content: end;
    }

    #header .header-nav .hidden-sm-down {
        display: block !important;
    }

    html header#header .header-top,
    #mobile_top_menu_wrapper {
        background: var(--bleu) !important;
    }

    #header .header-nav {
        background: var(--bleu);
        color: #fff;
        padding: 0 10px
    }

    #header .blockcart .hidden-sm-down {
        display: none !important;
    }

    #header .header-nav .blockcart.inactive .cart-products-count,
    #header .header-nav .mobile .user-info .hidden-sm-down {
        display: block !important;
    }

    #header .header-nav .mobile {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    #header .header-nav .mobile .user-info a {
        display: flex;
        flex-direction: row;
    }

    .custom-nav-message .top-promo,
    .custom-nav-message .top-centre {
        padding: 0;
    }

    #header .header-nav .top-logo {
        padding: 0
    }

    #header .header-nav .user-info {
        margin-top: 0
    }

    #header .header-nav .mobile .mobile-left,
    #header .header-nav .mobile .mobile-right {
        align-items: start;
        flex-direction: row;
        display: flex;
        justify-content: center;
    }

    #header .header-nav .mobile .mobile-right {
        align-items: center;
    }

    #header .header-top .search-widget {
        margin: 0
    }

    .links .title,
    #mobile_top_menu_wrapper .top-menu a[data-depth="0"] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2)
    }

    footer#footer .title,
    footer#footer ul {
        padding: .625rem;
    }

    footer#footer .footer-container .container {
        padding: 0 2rem
    }

    footer#footer .block_copy {
        padding: 1.5rem;
        text-align: center;
    }

    #js-product-list .products>article,
    #products .product,
    .products .product,
    .product-list .product,
    .js-product .product,
    .products article {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 10px;
    }

    #products .product-description,
    .featured-products .product-description,
    .product-accessories .product-description,
    .product-miniature .product-description,
    #products .thumbnail-container,
    .featured-products .thumbnail-container,
    .product-accessories .thumbnail-container,
    .product-miniature .thumbnail-container {
        width: 100%;
    }

    #products .product-title a,
    .featured-products .product-title a,
    .product-accessories .product-title a,
    .product-miniature .product-title a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100% !important;
        padding: 0 15px;
        display: block;
    }

    #products .product-description,
    .featured-products .product-description,
    .product-accessories .product-description,
    .product-miniature .product-description {
        height: auto
    }

    #category #search_filter_toggler {
        border: 3px solid rgba(0, 0, 0, 0.2);
        border-radius: 40px;
        color: var(--bleu);
        box-shadow: none;
    }

    .products-selection {
        margin-top: 1.25rem;
    }

    .mobile-product-slider {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .mobile-product-slider-track {
        display: flex;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
        touch-action: pan-x;
    }

    .mobile-product-slider-track::-webkit-scrollbar {
        display: none;
    }

    .mobile-product-slide {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;

        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .mobile-product-slide img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }

    .mobile-product-dots {
        position: absolute;
        bottom: 14px;
        left: 50%;
        z-index: 10;

        display: flex;
        align-items: center;
        gap: 7px;

        padding: 6px 9px;
        border-radius: 20px;

        background: rgba(255, 255, 255, 0.8);
        transform: translateX(-50%);
    }

    .mobile-product-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.3);
        transition: width 0.2s ease, background-color 0.2s ease;
    }

    .mobile-product-dot.is-active {
        width: 20px;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.85);
    }

    .images-container>.product-cover,
    .images-container>.js-qv-mask {
        display: none !important;
    }

    .images-container>.product-images-mobile {
        display: block !important;
    }

    #product .product-modern__cart,
    #cart .cart-summary .checkout {
        position: fixed;
        bottom: 0;
        background: #fff;
        width: 100vw;
        padding: 15px;
        left: 0;
        margin: 0 auto;
        text-align: center;
        justify-content: center;
        box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .2);
        z-index: 99
    }

    #header .header-nav .cart-preview.active {
        background: none;
        margin-left: 0
    }

    #checkout #header .header-nav .top-logo,
    #checkout .custom-nav-message {
        width: 100%;
        text-align: center;
    }

    #checkout .custom-nav-message .top-promo,
    .custom-nav-message .top-centre {
    }
       #checkout .custom-nav-message .top-promo {
        justify-content: center;
    }
    body#checkout section.checkout-step .form-footer, #checkout #checkout-delivery-step button[type="submit"], #checkout #payment-confirmation {
        position: fixed;    bottom: 0;    width: 100%;    left: 0;    text-align: center;
    background: #fff;    padding: 15px;    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .2);z-index: 999
    }

    #checkout #checkout-delivery-step button[type="submit"] {
       bottom: 15px;    width: 80%;    left: 10%;   background: var(--bleu);    padding: 15px; z-index: 999
    }
    body#checkout section.checkout-step .form-footer .btn {text-align: center;float: none !important}
    #checkout .colissimo-pickup-point-address {text-align: center;}
    #checkout .payment-card-body {padding: 0 !important}
    #checkout #checkout-payment-step iframe {max-width: 85vw;}

    #checkout .mobile .custom-nav-message,
    #checkout #header #menu-icon,
    #checkout #header #_mobile_cart,
    #checkout #header #_mobile_user_info {
        display: none !important;
    }

    body#checkout section.checkout-step {
        box-shadow: none;
    }
    #footer .footer-container .links ul {
        background-color: transparent;
        margin-bottom: 0;
    }
    #footer .footer-container .links ul>li {border-bottom: 1px solid rgba(255, 255, 255, 0.2);}
    #footer .block_newsletter {display: flex;border: none;flex-direction: row;align-items: center;justify-content: center;}
    #footer .block_newsletter p:last-child {text-align: left;    margin-left: 15px;}
    #footer .block-social ul li, footer#footer .title, footer#footer ul {margin-bottom: 0;}
    #index article.grh-card {max-height: 284px; overflow-y: auto;}
}

@media (min-width: 768px) {
    .images-container>.product-images-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    article .btn-primary, article .btn {
        font-size: 70%;
        padding: 10px 0;
        width: 100%;
    }

}
