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

#wrapper {
    padding-top: 1.563rem;
    background: #FFFFFF;
}

/*modal flipbook*/
#myModal .modal-header {
    position: relative;
    padding: 0;
}

#myModal .close {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 15px;
    z-index: 1;
}

#myModal .modal-content{
    background-color: #ffffff4e;
}

.add-to-cart-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.add-to-cart-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 26px;
    border: 1px solid #888;
    width: 36%; /* Ajustez selon vos besoins, réduit pour une meilleure apparence */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Ajoute un peu d'ombre pour le style */
    border-radius: 8px; /* Bords arrondis pour le style */
}

.add-to-cart-modal-content p {
    color: rgb(20, 20, 20);
    font-size: 20px;
    margin-top: 16px;
}

.add-to-cart-close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer; /* Assure que le curseur change en main au survol */
}

.add-to-cart-close-modal:hover,
.add-to-cart-close-modal:focus {
    color: black; /* Couleur modifiée au survol pour plus de visibilité */
}


.add-to-cart-success {
    background-color: rgba(44, 171, 44, 0.95); /* Vert transparent */
    color: #004400; /* Vert plus foncé pour le texte, ajustez selon vos besoins */
}

.add-to-cart-error {
    background-color: rgba(255, 50, 50, 0.95); /* Rouge transparent */
    color: #880000; /* Rouge plus foncé pour le texte, ajustez selon vos besoins */
}
.fondCat{
    background: #FFF url(/img/csm_neuheiten-parallax02_fd6a77061a.jpg) no-repeat center right;
    height: 350px;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 120px;
    margin-bottom:10px;
}
.fondCat h1{
    color: #FFF;
    font-size: 2rem;
    text-transform: uppercase;
}
.row-full{
    margin-left: calc((100vw - 100%) / -2);
    width: 100vw;
}
.js-product.product{
    border:1px solid #000;
    margin:8px;
    padding: 0;
}
.js-product.product .product-miniature{
    flex-direction: column;
}
.product-miniature .product-title a{
    font-weight: 900;
    color:#024d9c;
}
.js-product.product .product-miniature > div.feat ul{
    background-color: #024d9c;
    padding: 10px;
    display: flex;
    color: #FFF;
    font-size: 0.75rem;
    margin:0;
}
.js-product.product .product-miniature > div.feat ul li{
    margin: 0 10px;
}
.product-miniature .thumbnail-container{
    flex: 1;
    display: flex;
    margin-bottom:2px;
}
#subcategories ul li .subcategory-image a{
    padding: 0;
}
.subcategory-image{
    position: relative;
    overflow: hidden!important;
}
figcaption {
    text-align: left;
}
figcaption {
    margin-top: 0.1rem;
    font-size: 0.8rem;
    overflow: hidden;
}
figcaption .overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    font-weight: 700;
    color: #fff;
    background-color: rgba(0, 79, 158, 0.85);
    font-size: 1.6rem;
    padding: 10px 20px;
    letter-spacing: 0.02em;
    font-family: "Roboto Condensed", sans-serif;
}
#subcategories ul li {
    width: calc(100% / 3 - 20px);
    min-width: 200px;
    margin: 10px;
    text-align: center;
}
.overlay-text p{
    color:#FFF;
    font-weight: bold;
}
#subcategories ul li:hover .subcategory-image{
  transition: transform .2s; /* Animation */
}
#subcategories ul li:hover .subcategory-image {
  transform: scale(1.05);
}
#subcategories ul li:hover .subcategory-image a{
    border: 0!important;
    padding: 0;
    margin: 0;
}
.product-miniature .product-description{
    flex:1;
}
.product-miniature .thumbnail-container {
    flex: 1;
    display: flex;
    margin-bottom: 2px;
}
.product-miniature .product-title {
    margin-top: .7rem;
    text-align: left;
    text-transform: capitalize;
}
.product-miniature .product-prix{
    display: flex;
    align-items: flex-end;
    padding:10px;
    font-weight:900;
    font-size:1.2rem;
}
.www-rcv-peinture-fr .fondCat{
    background: #FFF url(/img/csm_neuheiten-parallax02_fd6a77061a.jpg) no-repeat bottom right;
    height: 60px;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 40px;
    margin-bottom:10px;
}