/*********************
* GLOBAL ********************
*********************/

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Regular.ttf");
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Bold.ttf");
    font-weight: bold;
}

@font-face {
    font-family: "Dechorian";
    src: url("../fonts/Dechorian.otf");
    font-weight: bold;
}

body {
    margin: 0 !important;
    font-family: 'Roboto', sans-serif;
}

/*------------------------------------*\
   ENLEVER LES MESSAGES PAYPAL 
\*------------------------------------*/

/* Cache tout le bloc Pay Later pour la locale FR */
.message__container.locale--FR {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/*------------------------------------*\
   MASQUER DES BLOCKS DANS LA SIDEBAR
\*------------------------------------*/

#block-3,
#block-4,
#block-5 {}

h2.widget-title {
    color: var(--color__blanc);
    background-color: var(--color__1);
    font-weight: bold;
}


/*------------------------------------*\
	            COULEURS
\*------------------------------------*/
:root {

    /*---------- Couleurs ----------*/
    --color__1: #a20e28;
    /* Rouge bordeaux */
    --color__2: #4d2122;
    /* Rouge bordeaux foncé */
    --color__3: #640d0d;
    /*  */
    --color__4: #daa520;
    /* jaune */
    /*  */
    --color__5: ;
    /*  */
    --defaultcolor__n124: #4169e1;
    /* hover #191970; */

    /*------------------------------------*/

    --color__blanc: #ffffff;
    --color__noir: #111111;

    --color__text_main: #242021;
    --color__text_input: #666;
    --color__text_input_focus: #111;

    --color__link_menu: var(--color__noir);
    --color__link_menu_hover: var(--color__1);
    --color__link_text: var(--color__1);
    --color__link_text_hover: var(--color__noir);

    --color__border_button: var(--color__1);
    --color__background_button: var(--color__1);
    --color__border_button_hover: var(--color__3);
    --color__background_button_hover: var(--color__3);

    --color__border_input: #ccc;
    --color__border_abbr: #666;

    --color__background_screen: #f1f1f1;
    --color__background_hr: #ccc;
    --color__background_pre: #eee;
    --color__background_ins: #fff9c0;
    --color__text_screen: #21759b;


    /* Structure */
    --content_width: 1024px;
    --size__site_main: 100%;
    --size__site_sidebar: 25%;

    /* Typography */
    --font__main: 'Roboto', sans-serif;
    --font__titles: 'Roboto', sans-serif;
    --font__code: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    --font__pre: "Courier 10 Pitch", courier, monospace;
    --font__line_height_body: 1.5;
    --font__line_height_pre: 1.6;
}

/*------------------------------------*\
            GUTENBERG COLORS
\*------------------------------------*/

.has-color-1-background-color {
    background-color: var(--color__1);
}

.has-color-1-color {
    color: var(--color__1);
}

.has-color-2-background-color {
    background-color: var(--color__2);
}

.has-color-2-color {
    color: var(--color__2);
}

.has-color-3-background-color {
    background-color: var(--color__3);
}

.has-color-3-color {
    color: var(--color__3);
}

.has-color-4-background-color {
    background-color: var(--color__4);
}

.has-color-4-color {
    color: var(--color__4);
}

.has-color-5-background-color {
    background-color: var(--color__5);
}

.has-color-5-color {
    color: var(--color__5);
}

.has-blanc-background-color {
    background-color: var(--color__blanc);
}

.has-blanc-color {
    color: var(--color__blanc);
}

.has-noir-background-color {
    background-color: var(--color__noir);
}

.has-noir-color {
    color: var(--color__noir);
}

/*------------------------------------*\
       TITRE / TEXTE / BOUTON WP
\*------------------------------------*/


h1,
h2,
h3,
h4,
h5,
b,
s,
a {
    color: var(--color__1);
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: bold;
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1rem;
}

.woocommerce div.product .product_title {
    font-size: 2rem
}

;

p {
    font-size: 1em;
}

a {
    text-decoration: none;
}

ul {
    margin-left: 0;
    font-size: 1.2rem;
}

a:link,
a:visited,
a:hover,
a:focus,
a:active {
    color: var(--color__1);
    outline: none;
}

hr {
    background-color: var(--color__1);
    border: 0;
    height: 2px;
    margin-bottom: 3em;
}

hr.blanc {
    background-color: var(--color__blanc);
    border: 0;
    height: 2px;
    margin-bottom: 3em;
}

/* chevauchement des sections dans les fiches produits */
.related.products h2 {
    margin-top: 1.2em;
}

.btn,
.button {
    /* width: 100%; */
    background-color: var(--color__1) !important;
    border-color: var(--color__1) !important;
    color: white !important;
    font-size: 1.2rem;
    border-width: 0 !important;
    border-radius: 20px !important;
    padding-left: 1.4em !important;
    padding-right: 1.4em !important;
}

.btn-pro-new {
    /* width: 100%; */
    background-color: var(--color__2) !important;
    border-color: var(--color__2) !important;
    color: white !important;
    font-size: 1.2rem;
    border-width: 0 !important;
}


.btn-pro-new:hover {
    background-color: var(--color__noir) !important;
    border-color: var(--color__noir) !important;
}

.btn:hover,
.button:hover {
    background-color: var(--color__noir) !important;
    border-color: var(--color__noir) !important;
}

.btn:focus,
.button:focus,
.btn:active,
.button:active {
    background-color: var(--color__1) !important;
    border-color: var(--color__1) !important;
}

.btn-primary,
.woocommerce .card a.button,
.woocommerce div.product form.cart button.button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
#place_order {
    --bs-btn-bg: var(--color__1);
    --bs-btn-border-color: var(--color__1);
    --bs-btn-hover-bg: var(--color__noir);
    --bs-btn-hover-border-color: var(--color__noir);
    --bs-btn-active-bg: var(--color__noir);
    --bs-btn-active-border-color: var(--color__noir);
    --bs-btn-disabled-bg: var(--color__1);
    --bs-btn-disabled-border-color: var(--color__1);
}

/* boutons filtre catégorie boutique */

/* Grille 5 colonnes */
.category-buttons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Bouton catégorie */
.category-button {
    position: relative;
    display: block;
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Effet hover */
.category-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image */
.category-button-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Label sur fond blanc */
.category-button-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--color__1);
    line-height: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .category-buttons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .category-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Bouton vendu page boutique */

.sold-badge {
    position: absolute;
    top: 40px;
    left: 10px;
    background: var(--color__1);
    color: #fff;
    padding: 6px 10px;
    font-weight: 700;
    z-index: 10;
    border-radius: 3px;
}

.woocommerce ul.products li.product {
    position: relative;
}

/* Fin bouton vendu page boutique */

.exposed-badge,
.exposed-badge.single-product-badge {
    position: absolute;
    top: 40px;
    left: 10px;
    background: var(--color__4);
    color: #fff;
    padding: 6px 10px;
    font-weight: 700;
    z-index: 10;
    border-radius: 3px;
}

/* overlay sur la galerie */
.single-product-badge {
    position: absolute;
    top: 40px;
    left: 12px;
    background: var(--color__1);
    color: #fff;
    padding: 8px 12px;
    font-weight: 700;
    border-radius: 3px;
    z-index: 999;
}

/* s'assurer que la galerie a position relative */
.woocommerce-product-gallery {
    position: relative;
}

/* texte dans le résumé */
.sold-text {
    color: var(--color__1);
    text-align: center;
    border: solid 1px var(--color__1);
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 8px;
}

.sold-text {
    color: var(--color__1);
    text-align: center;
    border: solid 2px var(--color__1);
    font-size: 1.25em;
    font-weight: 400;
    margin-top: 8px;
    padding: 6px;
}

.exposed-text {
    color: var(--color__4);
    text-align: center;
    border: solid 2px var(--color__4);
    font-size: 1.25em;
    font-weight: 400;
    margin-top: 8px;
    padding: 6px;
}


/* Fin bouton vendu page du produit */

.scale {
    transition: 0.25s;
}

.scale:hover {
    transform: scale(0.95);
}

.white {
    color: white;
}

.black {
    color: black;
}

.wc-breadcrumb .breadcrumb-item:first-child a::before {
    background-color: var(--color__1);
}


/********************
* BOUTONS CATEGORIE BOUTIQUE ****
*********************/

/* Titre */
.ltc-cats-title {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Grille de 5 colonnes */
.ltc-cats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Carte catégorie */
.ltc-cat-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ltc-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Image même taille pour toutes */
.ltc-cat-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 70%;
    /* ratio fixe */
    overflow: hidden;
}

.ltc-cat-image-wrap img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

/* Contenu sur l'image */
.ltc-cat-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Nom de la catégorie sur fond blanc */
.ltc-cat-name {
    display: inline-block;
    background: #ffffff;
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    max-width: 90%;
}

/* "Voir les produits" en dessous */
.ltc-cat-link {
    align-self: flex-start;
    margin-top: 0.1rem;
    background: transparent;
    border: none;
    padding: 0;
    color: #ffffff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    cursor: pointer;
}

.ltc-cat-card:hover .ltc-cat-link {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
    .ltc-cats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .ltc-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ltc-cats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ltc-cats-grid {
        grid-template-columns: 1fr;
    }
}




/*********************
* NAVIGATION ********************
*********************/

.site-header .navbar-brand img {
    display: block;
    margin: 0 auto;
}

.navbar-brand img {
    max-height: 60px;
}

#wp-admin-bar-edit {
    display: none !important;
}

.menu-item {
    height: 80px;
    display: grid;
    align-items: center;
}

nav {
    background-color: var(--color__blanc);
}


/* 1) Le lien est le bloc cliquable et reçoit le fond/padding */
a.bandeaumenu-link {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    background-color: var(--color__1) !important;
    color: #fff !important;
    padding: 0.5em 0 !important;
    /* padding appliqué au lien */
    text-align: center !important;
    transition: background-color 0.25s ease, color 0.25s ease !important;
    position: relative !important;
    z-index: 999 !important;
    /* s'assurer qu'il n'est pas sous un autre élément */
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* 2) Le conteneur interne ne doit pas ajouter de padding/marge */
.bandeaumenu {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 !important;
    background: transparent !important;
}

/* 3) Le <p> à l'intérieur ne doit pas ajouter de padding/marge */
.bandeaumenu p {
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: 1.1em !important;
    line-height: 1.2 !important;
}

/* 4) Hover et focus : toute la surface du lien réagit */
a.bandeaumenu-link:hover,
a.bandeaumenu-link:focus {
    background-color: #570816 !important;
    color: #fff !important;
    outline: none !important;
}

/* 5) Visited : changer seulement la couleur du texte (background-color peu fiable) */
a.bandeaumenu-link:visited {
    color: #eee !important;
}

/* 6) Focus visible pour clavier (accessibilité) */
a.bandeaumenu-link:focus {
    box-shadow: 0 0 0 3px rgba(87, 8, 22, 0.15) !important;
}




/*********************
* SLIDER ********************
*********************/

.box-slider {
    margin-top: 0px;
}

.box-slider a {
    position: relative;
    display: inline-block;
}

.tab-slider {
    display: table;
    width: 100%;
    height: 100%;
    position: absolute;
}

.cell-slider {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

.title-slider {
    font-size: 3.3rem;
    text-transform: uppercase;
    line-height: 1;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
    font-family: 'Dechorian';
}

.content-slider {
    font-size: 2rem;
    line-height: 1.5;
    color: white;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
}

.img-slider {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 200px;
}

.slick-dots {
    bottom: 25px;
    z-index: 1000;
}

.slick-dots li button::before {
    opacity: 1;
    color: white;
}

.slick-dots li.slick-active button::before {
    opacity: 1;
    color: var(--color__1);
}

.slick-dotted.slick-slider {
    /* margin-bottom: 0px;*/
}

/*********************
* BANDEAU ********************
*********************/

.bandeau {
    color: white !important;
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 0.5em;
}

.bandeau-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: white;
    padding-top: 1.2em;
    text-transform: uppercase;
    font-family: 'Dechorian';
    letter-spacing: 0.1rem;
}

/*********************
* ACCUEIL ********************
*********************/

.link-product {
    display: block;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
    border-radius: 20px 20px 20px 20px;
    min-height: 420px;
}

.link-product-new {
    background-color: white;
}

.link-product img {
    width: 100%;
    max-width: none;
    border-radius: 20px 20px 0px 0px;
}

.link-event {
    display: block;
    position: relative;
}

.tab-event {
    display: table;
    width: 100%;
    height: 100%;
    position: absolute;
}

.cell-event {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

.title-event {
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 1;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
}

.bg-new {
    background-color: var(--color__1);
}

.div-cc {
    border-radius: 1rem;
    background-color: #148ac7;
    text-align: center;
}

.div-cc h1,
.div-cc h2,
.div-cc h3,
.div-cc h4,
.div-cc h5,
.div-cc h6 {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.div-cc p {
    color: white;
    padding-bottom: 15px;
}

.icon-cc {
    font-size: 4rem;
    color: white;
}

/*********************
* Margin PANNIER ********************
*********************/

#offcanvas-cart .widget_shopping_cart_content {
    margin-left: 10px;
    margin-right: 10px;
}

/*********************
* CONTACT ********************
*********************/

.map-contact iframe {
    height: 530px;
}

.txt-contact {
    font-size: 1rem;
}

.text-center {
    margin-top: 0.8em;
}

h3.text-center {
    padding: 0 20px;
}

/*********************
* ACCESSIBILITÉ ********************
*********************/

.img-acces {
    display: inline;
    width: 100px;
    margin-right: 10px;
    float: left;
}

/*********************
* ARCHIVE ********************
*********************/

.nav-filter-archive {
    text-align: center;
}

.nav-filter-archive li {
    list-style: none;
    display: inline;
    margin-right: 10px;
}

.link-archive,
.link-galerie {
    /*overflow: hidden;*/
    /*  position: relative; */
    display: block;
    min-height: 510px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
    border-radius: 20px 20px 20px 20px;
    padding-bottom: 1em;
}

.title-archive {
    width: 100%;
    color: black;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    padding-left: 1.5em !important;
    padding-right: 1.5em !important;
}

.content-archive {
    padding-left: 1.5em !important;
    padding-right: 1.5em !important;
    background-color: rgba(255, 255, 255, 0.75);
    width: 100%;
    color: black;
    font-size: 1.2rem;
}

.img-archive,
.img-galerie {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 380px;
    border-radius: 20px 20px 0px 0px;
}

.pagination {
    margin: 0;
}

.link-archive .lireplus {
    color: var(--color__blanc);
    text-align: center;
    background-color: var(--color__1);
    display: block;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    border-radius: 12px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.link-archive .lireplus:hover {
    transition: ease 0.5s;
    color: var(--color__blanc);
    background-color: var(--color__noir);
}

/*********************
* CONTENT ARCHIVE ********************
*********************/

.nav-archive {
    font-size: 1.2rem;
}

.nav-archive a {
    width: auto;
    background-color: var(--color__1);
    border-color: var(--color__1);
    color: white !important;
    font-size: 1.2rem;
    display: inline-block;
    font-weight: 400;
    border-radius: .25rem;
    padding: .375rem .75rem;
    line-height: 1.5;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.nav-archive a:hover {
    background-color: var(--color__noir);
    border-color: var(--color__noir);
    text-decoration: none;
}



/*********************
* FOOTER ********************
*********************/

.bloc-footer-map {
    height: 400px;
    position: relative;
}

.bloc-footer-map iframe {
    width: 100%;
    height: 400px;
}

.bloc-footer-icon {
    color: white;
    text-align: center;
    background-color: #414141;
    padding-top: 15px;
    padding-bottom: 15px;
}

.txt-cart,
.txt-card,
.txt-delivery,
.txt-inch {
    display: inline;
    padding-left: 50px;
    padding-right: 50px;
    font-weight: bold;
}

.icon-cart,
.icon-card,
.icon-delivery,
.icon-inch {
    vertical-align: middle;
    display: inline;
}

.icon-delivery {
    margin-right: 10px;
}

.bloc-footer-1 {
    background-color: #222222;
    color: white;
    font-size: 1.2rem;
}

.bloc-footer-1 a {
    font-size: 1.2rem;
}

.bloc-footer-2 {
    background-color: #222222;
    font-size: 12px;
    color: white;
}

.bloc-footer-1 a,
.bloc-footer-2 a {
    color: white;
}

.bloc-footer-1 a:hover,
.bloc-footer-2 a:hover {
    text-decoration: underline;
}

.icon-footer {
    color: white !important;
    transition: 0.25s;
}

.icon-footer:hover {
    color: var(--color__1) !important;
}

.icon-footer i {
    font-size: 3rem;
}

/*********************
* RESPONSIVE ********************
*********************/

@media (max-width: 575px) {
    .box-new {
        width: auto;
        margin: auto;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .box-new {
        width: 540px;
        margin: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .box-new {
        width: 720px;
        margin: auto;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .box-new {
        width: 960px;
        margin: auto;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .box-new {
        width: 1140px;
        margin: auto;
    }
}

@media (min-width: 1400px) {
    .box-new {
        width: 1320px;
        margin: auto;
    }
}

@media (max-width: 991px) {

    .category-button {
        height: 80px;
        border-radius: 14px;
    }

    .menu-item {
        height: auto;
    }

    .btn,
    .btn-pro-new {
        font-size: 1rem;
    }

    .nav-archive {
        font-size: 1rem;
    }

    .nav-archive a {
        font-size: 1rem;
    }

    ul {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 0.6em;
    }

    p {
        font-size: 1rem;
    }

    .dates-marches {
        font-size: 1.3rem;
    }

    a .bandeau-message {
        font-size: 0.8rem;
    }

    .title-slider {
        font-size: 2rem;
        line-height: 1;
    }

    .content-slider {
        font-size: 1rem;
        line-height: 1.5;
    }

    .title-event {
        font-size: 2rem;
    }

    .title-archive {
        top: 0px;
        font-size: 1.2rem;
    }

    .content-archive {
        bottom: 0px;
        font-size: 1rem;
    }

    .bloc-footer-1 {
        font-size: 1rem;
    }

    .bloc-footer-1 a {
        font-size: 1rem;
    }

    .bloc-footer-icon {
        display: none;
    }


    #offcanvas-navbar .social-icons i {
        font-size: 40px;
        /* taille icones réseaux sociaux dans le menu mobile */
    }

    #offcanvas-navbar .navbar-nav .nav-link {
        font-size: 1.4rem;
        /* taille du texte dans le menu mobile */
    }

    .navbar-brand img {
        max-height: 40px;
        height: auto;
        width: auto;
    }

    .box-slider.slick-initialized.slick-slider {
        margin-top: 75px !important;
    }

    .link-product {
        min-height: 470px;
    }

    h3.text-center {
        padding: 0 20px;
    }


}
