/* -------------------------------------------------------------
    Header
------------------------------------------------------------- */
/* Logo */
.navbar-brand.logo-control img.logo-img {
    max-height: initial;
}
.t4-offcanvas .t4-off-canvas-header a img {
    max-height: initial;
}
/* Entête */
.t4-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #000000;
}
#t4-main-menu {
    border-bottom: 2px solid #000000;
}
/* Background */
/*#t4-header {
    background-image: linear-gradient(to bottom, #FFFFFF, rgba(0, 0, 0, .2))
}*/
/*#t4-header {
    position: relative;
    z-index: 0;
}*/

/* Dégradé en haut */
#t4-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent);
    pointer-events: none;
    z-index: 1;
}
/* Dégradé en bas */
#t4-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 20px;
    width: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
    pointer-events: none;
    z-index: 1;
}
/* Panier de soumission */
#t4-header .eshop-cart .eshop-quote {
    float: right;
}
/* Téléphone */
#t4-header .custom h1 {
    color: #CF2B21;
}
.eshop-texttop h2 a,
.eshop-texttop .custom p a {
    color: #000;
}
    .eshop-texttop h2 a:hover,
    .eshop-texttop .custom p a:hover {
        color: #CF2B21;
    }
/* Recherche */
#t4-header .eshop-search .add-on {
    background: #CF2B21;
}

/* -------------------------------------------------------------
    Slider
------------------------------------------------------------- */
#favsliderpro-slides .favsliderpro-caption .favth-carousel-caption .favsliderpro-caption-readmore .btn {
    background-color: #CF2B21 !important;
}
    #favsliderpro-slides .favsliderpro-caption .favth-carousel-caption .favsliderpro-caption-readmore .btn:hover {
        background-color: #000 !important;
    }

/* -------------------------------------------------------------
    Footer
------------------------------------------------------------- */
#t4-position-2 {
    background: #f5f5f5;
    border-top: 3px #000 solid;
}
.t4-footer {
    background-color: #000;
}
#t4-position-2 a {
    color: #000;
    font-weight: bold;
}
#t4-position-2 p {
    margin-bottom: 8px;
}

/* -------------------------------------------------------------
    Contact
------------------------------------------------------------- */
.contact dl.contact-address {
    margin-top: 20px;
}
.contact dl.contact-address dd {
    margin-bottom: 0;
}
.btn.btn-primary {
    background-color: #CF2B21 !important;
    border-color: #CF2B21 inherit;
}
.btn.btn-primary {
    background-color: var(--color-primary);
    border-color: #CF2B21;
}
.contact .contact-miscinfo {
    --t4-alert-color: #000;
    --t4-alert-bg: #F5F5F5;
    --t4-alert-border-color: #cacaca;
    --t4-alert-link-color: #202020;
}
.contact h3 {
    border-bottom: 1px solid #cacaca;
}
.view-contact #system-message-container .alert-heading span.success {
    display: none;
}
joomla-alert[type="success"] {
    background-color: #f5f5f5;
    border-color: #cacaca;
    color: var(--jui-alert-success-color,#234423);
}

/* -------------------------------------------------------------
    Catégories de produits sur l'accueil
------------------------------------------------------------- */
.image-categorie-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
    text-align: center;
}
.image-categorie-grid-item {
    width: 180px;
    flex-shrink: 0;
}
.image-categorie-grid-item a {
    display: block;
    overflow: hidden;
}
.image-categorie-grid-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}
.image-categorie-grid-item img:hover {
    transform: translateY(-20px);
}
@media (max-width: 768px) {
    .image-categorie-grid-item {
        width: 45%;
    }
}
@media (max-width: 480px) {
    .image-categorie-grid-item {
        width: 100%;
    }
}

/* -------------------------------------------------------------
    Menu
------------------------------------------------------------- */
/*Barre de menu */
.t4-palette-mainnav {
    background-color: #000000;
    color: #FFFFFF;
}
.t4-palette-mainnav .t4-megamenu .navbar-nav > li.active > a, .t4-palette-mainnav .t4-megamenu .navbar-nav > li.active > .nav-link,
.t4-palette-mainnav .t4-megamenu .navbar-nav > li a:hover,
.t4-palette-mainnav .nav > li a, .t4-palette-mainnav .nav > li .nav-link,
.t4-offcanvas-toggle {
    color: #FFFFFF !important;
}
.nav.navbar-nav .nav-item.active,
.nav.navbar-nav .nav-item:hover {
    background-color: #CF2B21;
}

.t4-offcanvas-toggle:hover {
    color: #CF2B21;
}
/* Off canvas */
.t4-offcanvas .t4-off-canvas-body .navbar .nav-item.active > .nav-link,
.t4-offcanvas .t4-off-canvas-body .navbar .nav-link:hover,
.nav.navbar-nav .nav-item:hover a {
    color: #FFFFFF;
}

/* -------------------------------------------------------------
    Produits sur l'accueil
------------------------------------------------------------- */
.eshop-product .product-review p img {
    display: none;
}

/* -------------------------------------------------------------
    Eshop
------------------------------------------------------------- */
/* Onglets des produits */
.eshop-container div.product-info #product button {
    padding: 12px 20px;
}
/* Filtreur de produits */
.t4-module .eshop-filter > a {
    background-color: #000;
}
/* Couleurs */
#eshop_result .eshop-price, #eshop_result .eshop-sale-price, .eshop-product-price .eshop-sale-price, .eshop-product-price .price {
    color: #CF2B21;
}
.t4-module .eshop-filter .badge-info::after {
    border-right-color: #CF2B21;
}
.t4-module .eshop-filter .badge-info {
    background: #CF2B21;
}
.grid .sortPagiBar .btn-group .btn.grid {
    background: #CF2B21;
    border-color: #CF2B21;
}
#t4-featured-product .eshop-price, #t4-featured-product .eshop-sale-price {
    color: #CF2B21;
}
#t4-latest-product .eshop-price {
    color: #CF2B21;
}
.product-info .product-price h2 .eshop-price {
    color: #CF2B21;
}
.eshop-next-nav a.float-end, .eshop-pre-nav a.float-start {
    color: #696969 !important;
}

/* -------------------------------------------------------------
    Hide Google reCAPTCHA Badge
------------------------------------------------------------- */
.grecaptcha-badge {
    visibility: hidden;
}


