.product-grid {
    /* border-radius: 15px; */
    /* border: 1px solid #e7e7e7; */
    overflow: hidden;
    transition: all 0.2s ease-out;
}

.product-grid:hover {
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.1);
    transform: scale(1.015);
}

.product-grid .product-image {
    position: relative;
}

.product-grid .product-image a.image {
    display: block;
}

.product-grid .product-image img {
    width: 100%;
    height: auto;
}

.product-detail #product-text-content {
    position: relative;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
}

.product-detail #product-text-content.white-gradient:after {
    position: absolute;
    bottom: 0;
    height: 100%;
    width: 100%;
    content: "";
    background: linear-gradient(to top,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
    /* so the text is still selectable */
}

.product-discount-label,
.cart-discount {
    color: #ffffff;
    display: inline-block;
    background: #51c400;
    /* background-color: #000000; */
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 2px;
}

.cart-discount {
    color: #ffffff !important;
    font-size: 10px;
    line-height: 1.4;
}

.product-grid .product-discount-label {
    position: absolute;
    top: 12px;
    left: 12px;
}

.product-grid .product-links {
    width: 145px;
    padding: 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    top: 65%;
    left: 50%;
    transition: all 0.4s ease 0s;
}

.product-grid:hover .product-links {
    opacity: 1;
    top: 50%;
}

.product-grid .product-links li {
    display: inline-block;
    margin: 0 2px;
}

.product-grid .product-links li a {
    color: #2c2c2c;
    background: #fff;
    font-size: 16px;
    line-height: 42px;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    display: block;
    position: relative;
    transition: all 0.4s ease-out 0s;
}

.product-grid .product-links li a:hover {
    color: #fff;
    background: #78a206;
    box-shadow: 1px 1px 30px 0 rgba(0, 0, 0, 0.2);
}

.product-grid .product-links li a:before,
.product-grid .product-links li a:after {
    content: attr(data-tip);
    color: #fff;
    background-color: #555;
    font-size: 12px;
    line-height: 18px;
    padding: 5px 10px;
    white-space: nowrap;
    display: none;
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    top: -40px;
    transition: all 0.3s ease 0s;
}

.product-grid .product-links li a:after {
    content: '';
    height: 10px;
    width: 10px;
    padding: 0;
    transform: translateX(-50%) rotate(45deg);
    top: -18px;
    z-index: -1;
}

.product-grid .product-links li a:hover:before,
.product-grid .product-links li a:hover:after {
    display: block;
}

.product-grid .product-content {
    padding: 12px 12px 15px;
    position: relative;
}

.rating {
    padding: 0;
    list-style: none;
    margin: 0;
    font-size: 0;
}

.rating li {
    color: #feab3f;
    font-size: 10px;
}

.product-grid .title {
    min-height: 40px;
}

.product-grid .cat-title {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
}

.product-grid .cat-title a {

    font-weight: 800;
}

.product-grid .cat-title a:hover {

    color: #00174f;
}

.product-grid .prod-title {
    font-size: 12px;
    font-weight: 300;
    min-height: 40px;
    color: #9e9e9e;
    line-height: 1.4;
}

.product-grid .price {
    font-size: 16px;
    font-weight: 700;
    display: block;
    transition: all 0.4s ease-in-out;
}

.product-grid .price span {
    color: #999;
    font-weight: 500;
    text-decoration: line-through;
}

.product-grid .add-to-cart:hover {
    background-color: #2f2f2f;
}

.product-grid .price-and-stars {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-grid:hover .add-to-cart {
    opacity: 1;
    bottom: 8px;
}

@media screen and (max-width:1200px) {
    .product-grid {
        margin: 0 0 30px;
    }
}

section.product-detail .qte,
section.product-detail .selection-photos {
    padding: 15px 0px;
}



section.product-detail h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

section.product-detail .prod-qte {
    max-width: 30px;
    background-color: #fff;
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 22px;
    display: inline-block;
    border: none;
    color: #495554;
    height: auto;
    background: transparent;
}

.qteMoins,
.qtePlus {
    touch-action: manipulation;
    display: inline-block;
    cursor: pointer;
    font-size: 26px;
    padding: 2px;
    font-weight: 500;
    background-color: #000000;
    color: #fff;
    border-radius: 50%;
    width: 39px;
    height: 39px;
    text-align: center;
    line-height: 1;
    padding-top: 5.5px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.qteMoins:hover,
.qtePlus:hover {
    text-decoration: none;
    background-color: #212834;
    color: #fff;
}

section.panier .qte {
    min-width: 120px;
    text-align: right;
}

section.panier .qteMoins,
section.panier .qtePlus {
    font-size: 12px;
    width: 25px;
    height: 25px;
}

.qtePlus {
    margin-left: 10px;
}

.qteMoins {
    margin-right: 10px;
}

p.price small {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 300;
}

.product-list.cross-sell {
    margin-top: 60px;
}

.product-list.cross-sell h2 {
    padding-bottom: 40px;
    padding-top: 40px;
    text-align: center;
}

#popin-replace-img img {
    max-width: 100%;
}

img.galery-img {
    cursor: pointer;
    border: 6px solid #fff;
    transition: border-color 0.2s;
}

img.galery-img:hover {
    border: 6px solid #95c5cb;
}

section.product-detail hr {
    border-top: 1px solid #495554;
    margin-left: 0;
    max-width: 80%;
}

section.product-detail h1 {
    padding-right: 40px;
    color: #333333;
}

.parametre-commande {
    margin-right: 80px;
}

.gallery-list {
    /* height: 55vh; */
    overflow: auto;
    margin-top: 10px;
}

.gallery-list img {
    width: 100%;
}

.gallery-list .col {
    padding-left: 8px;
    padding-right: 8px;
}

#gallery-list figure {
    text-align: center;
    margin-bottom: 0px;
}

#gallery-list a {
    display: inline-block;
    background-color: #FECD3F;
    border-radius: 50%;
    width: 30px;
    padding-top: 5px;
    height: 30px;
    color: white;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

#gallery-list a:hover {
    background-color: #477377;
}

.single-product-gallery .slick-slide {
    padding-left: 0px;
    padding-right: 0px;
}

.prod-ico {
    display: block;
    width: 50px;
    height: 50px;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    border-radius: 100%;
    font-size: 0.7rem;
    line-height: 0.8rem;
    font-weight: 600;
    padding-top: 12px;
    color: #fff;
    z-index: 1;
    text-align: center;
}



.badge.bg-cat {
    display: inline-block;
    background-color: #efeff0;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    padding: 12px;
    border-radius: 0px;
}

.badge.bg-cat span {
    font-size: 14px;
}

.cat-list-badge-container {
    text-align: center;
}

section.product-detail .product-selection h3,
.sizes-guide-link a,
.sizes-guide-link,
section.product-detail h3.product-section-title {
    font-size: 14px;
    color: #969696;
    font-weight: 300;

}

.sizes-guide-link a:hover {
    color: #969696;
    text-decoration: underline;
}

.color-swatch {
    display: inline-block;
    cursor: pointer;
    width: 30px;
    height: 30px;
    margin-top: 8px;
    border: 3px solid #FFF;
    border-radius: 18px;
}

.color-swatch.selected {
    box-shadow: 0 0 1px rgb(0 0 0);
}

.wrapper-attributes-selection {
    display: inline-flex;
    flex-wrap: wrap;
    margin-bottom: 4px;
    width: 100%;
    gap: 4px;
}

button.attribute-selector {
    width: 75px;
    height: 60px;
    border-radius: 4px;
    display: block;
    color: #333333;
    border: 1px solid #e5e5e5;
    padding: 0;
    position: relative;
    background-color: #f7f7f9;
    line-height: 1.2;

}

button.attribute-selector:hover {
    border-color: #75939E;
}

button.attribute-selector.selected {
    border-color: #212834;
}

button.attribute-selector[disabled="disabled"] {
    opacity: 0.3;
}

section.product-detail .product-selection h3 span {
    color: #333;
    font-weight: 600;
}


.out-of-stock {
    color: red !important;
    font-weight: 300 !important;
    font-size: 11px;
}

section.panier .card.cart-list {
    border: 0;
}

section.panier .card.cart-list h5 {
    font-size: 16px;

}

section.panier .card.cart-list.confirmation h5 {
    font-size: 14px;

}

section.panier .card.cart-list.confirmation h1 {
    font-size: 24px;

}

section.panier .card.cart-list.confirmation p.price small {
    font-size: 80%;
}

section.panier .card.cart-list.confirmation p.price {
    line-height: 1.2;
}

.mfp-content h1 {
    font-size: 30px;
}

.zoomzoom {
    overflow: hidden;
    height: auto;
    width: auto;
}

.single-product-slide:hover {
    cursor: zoom-in;
}


@media (max-width: 992px) {

    .cat-list-badge-container {
        display: flex;
        justify-content: left;
        overflow: scroll;
        overflow-y: hidden;
        flex-wrap: nowrap;
    }
}


.color-swatch-container {
    display: flex;
    gap: 5px;
}

.color-swatch-container.category {
    justify-content: center;
    align-items: center;
    position: absolute;
    margin-top: -50px;
    left: 50%;
    transform: translateX(-50%);
}


.color-swatch {
    cursor: pointer;
    width: 26px;
    height: 26px;
    border-radius: 18px;
}

.color-swatch.selected {
    box-shadow: 0 0 1px rgb(0, 0, 0);
}

.color-swatch-container.category .color-swatch {
    cursor: default;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid #FFF;
}

.color-swatch-container.category p {
    color: #000000;
    font-size: 13px;
    font-weight: 300;
}

.color-swatch-container.category p {
    color: #000000;
    font-size: 13px;
    font-weight: 300;
}