.orderby-displaynumber {
    display: none;
}

.category-view h4 {
    margin: 5px;
    padding: 0;
}

.mod-languages ul.lang-inline li {
    display: inline-block;
    margin-top: 1rem;
    margin-left: .8rem;
}

.product-price .PricebasePriceVariant.vm-display.vm-price-value,
.product-price .PricesalesPrice.vm-display.vm-price-value,
.product-price .PricetaxAmount.vm-display.vm-price-value {
    display: none;
}

.product-price .PriceunitPrice.vm-display.vm-price-value .vm-price-desc,
.product-price .PriceunitPrice.vm-display.vm-price-value .PriceunitPrice {
    color: #A13A83;
    font-size: 18px;
    font-weight: bold;
}

.product-price .PricepriceWithoutTax.vm-display.vm-price-value .vm-price-desc,
.product-price .PricepriceWithoutTax.vm-display.vm-price-value .PricepriceWithoutTax {
    color: grey;
    font-size: 15px;
    font-weight: normal;
}

.qvariant-radio .controls {
    display: flex;
}

.qvariant-radio .controls .form-check.form-check-inline {
    margin: 0 20px 2px 0;
}

@media (min-width: 1400px) {
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 90%;
    }
}

.header {
    background-color: #f8f8f8;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.sticked-up {
    position: sticky;
    top: 0;
    z-index: 1000;
}

tbody,
tfoot,
tr,
td,
th {
    border-color: #333;
    border-style: dotted;
    border-width: 1px;
}

table.adminForm.user-details tbody,
table.adminForm.user-details tfoot,
table.adminForm.user-details tr,
table.adminForm.user-details td,
table.adminForm.user-details th {
    background-color: transparent !important;
    color: inherit;
    border-color: transparent;
}

.ask-a-question:hover {
    color: #6e004f;
}

.vm-button-correct {
    display: inline-block;
    font-size: 19px;
    font-weight: 700;
    text-align: center;
    background: #A13A83;
    color: #fff;
    border: 1px solid #BD4BA2;
    -webkit-border-radius: 4px;
    cursor: pointer;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 6px 12px 3px;
}

.vm-button-correct:hover {
    color: #f2f2f2;
    border: 1px solid #A13A83;
    background: #6e004f;
}

.btn-primary {
    --bs-btn-bg: #A13A83;
    --bs-btn-border-color: #A13A83;
    --bs-btn-hover-bg: #6e004f;
    --bs-btn-hover-border-color: #6e004f;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-bg: #6e004f;
    --bs-btn-active-border-color: #6e004f;
    --bs-btn-disabled-bg: #A0A0A0;
    --bs-btn-disabled-border-color: #A0A0A0;
}

.mod-vm-search .btn-primary {
    --bs-btn-bg: #6e004f;
    --bs-btn-border-color: #6e004f;
    --bs-btn-hover-bg: #A13A83;
    --bs-btn-hover-border-color: #6e004f;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-bg: #6e004f;
    --bs-btn-active-border-color: #6e004f;
    --bs-btn-disabled-bg: #A0A0A0;
    --bs-btn-disabled-border-color: #A0A0A0;
}

.btn-secondary {
    --bs-btn-color: #333;
    --bs-btn-bg: #EFEFEF;
    --bs-btn-border-color: #EFEFEF;
    --bs-btn-hover-bg: #6e004f;
    --bs-btn-hover-border-color: #6e004f;
    --bs-btn-active-bg: #333;
    --bs-btn-active-border-color: #333;
}

.btn.btn-sm.btn-primary.back-to-top-link {
    --bs-btn-bg: #6e004f;
    --bs-btn-border-color: #6e004f;
    --bs-btn-hover-bg: #6e004f;
    --bs-btn-hover-border-color: #6e004f;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-bg: #6e004f;
    --bs-btn-active-border-color: #6e004f;
    --bs-btn-disabled-bg: #A0A0A0;
    --bs-btn-disabled-border-color: #A0A0A0;
}


/*contact page*/

@media (min-width: 1200px) {
    .com-contact__container {
        grid-gap: 0.2rem;
        margin-bottom: 0.5em;
    }
}


/*map responsive*/

.com-contact {
    display: grid;
    grid-template-columns: 2fr 2fr;
    grid-template-rows: auto auto auto auto auto;
    grid-gap: 0.5rem;
}

@media (max-width: 768px) {
    .com-contact {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        grid-gap: 0.5rem;
    }
}

.map-container {
    grid-column: 2/5;
    grid-row: 3/5;
    position: relative;
    overflow: hidden;
    /*padding-top: 56.25%;  Rapport hauteur/largeur pour un aspect ratio de 16:9 */
    padding-top: 90%;
    height: 0;
}

@media (max-width: 768px) {
    .map-container {
        grid-column: 1/1;
        grid-row: 3/4;
        position: relative;
        overflow: hidden;
        /*padding-top: 56.25%;  Rapport hauteur/largeur pour un aspect ratio de 16:9 */
        padding-top: 56.25%;
        height: 0;
    }
}

.map {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 100%;
}

.com-contact__form {
    grid-column: 1/1;
    grid-row: 3/5;
}

@media (max-width: 768px) {
    .com-contact__form {
        grid-column: 1/1;
        grid-row: 2/3;
    }
}

.com-contact__miscinfo {
    grid-column: 1/2;
    grid-row: 5/6;
}

@media (max-width: 768px) {
    .com-contact__miscinfo {
        grid-column: 1/1;
        grid-row: 5/6;
    }
}

.logo-border {
    border: 1px solid black;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    max-height: 60px;
    padding: 5px;
    border-radius: 8px;
    /*border: 1px solid #e0e0e0;*/
    background-color: white;
}

.main-search input {
    width: 100%;
    padding: 10px 15px;
    /*border-radius: 25px;*/
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 16px;
}

.main-search input::placeholder {
    color: #aaa;
}

.main-search button {
    background-color: #A13A83;
    border: none;
    padding: 10px 12px;
    border-radius: 0;
    color: white;
}

.cart-module button {
    background-color: transparent;
    font-size: 15px;
}

.cart-module .bi-list {
    color: #A13A83;
    transition: 0.3s;
}

.cart-module .bi-list:hover {
    color: #6e004f;
}


/* Style de base pour les liens <a> */

.main-menu .container-xxl .row .col .mod-menu.mod-list.nav .nav-item>.mod-menu__sub.list-unstyled .nav-item>a {
    color: #A13A83;
    background-color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}


/* Style au survol (hover) */

.main-menu .container-xxl .row .col .mod-menu.mod-list.nav .nav-item>.mod-menu__sub.list-unstyled .nav-item>a:hover {
    color: white;
    background-color: #6e004f;
}


/* Style pour les liens current ou active */

.main-menu .container-xxl .row .col .mod-menu.mod-list.nav .nav-item>.mod-menu__sub.list-unstyled .nav-item>.current a,
.main-menu .container-xxl .row .col .mod-menu.mod-list.nav .nav-item>.mod-menu__sub.list-unstyled .nav-item>.visited a,
.main-menu .container-xxl .row .col .mod-menu.mod-list.nav .nav-item>.mod-menu__sub.list-unstyled .nav-item>.active a {
    color: #6e004f;
    background-color: #fff;
    font-weight: bold;
}

.main-menu {
    background-color: white;
    padding: 0 0;
    text-align: left;
}

.main-menu a {
    display: inline-block;
    padding: 2px 20px;
    border-radius: 0;
    background-color: #fff;
    color: #A13A83;
    font-weight: 400;
    /*text-transform: capitalize;*/
    font-size: 16px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .main-search,
    .cart-module {
        flex-grow: 1;
        text-align: center;
    }
}

.btn.btn-secondary.btn-sm.show-cart.me-auto {
    --bs-btn-color: white;
    --bs-btn-bg: #A13A83;
    --bs-btn-border-color: #A13A83;
    --bs-btn-hover-bg: #6e004f;
    --bs-btn-hover-border-color: #6e004f;
    --bs-btn-active-bg: #333;
    --bs-btn-active-border-color: #333
}

a {
    color: #A13A83;
}

.small,
small {
    font-size: .775em
}


/* Style par défaut pour les liens */


/*.main-menu a {
    color: #6e004f;
    background-color: transparent;
    text-decoration: none;
}*/


/* États actifs, survolés ou en focus */

.main-menu a:hover,
.main-menu a.active,
.main-menu a:visited,
.main-menu a:focus {
    background-color: #6e004f;
    color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}


/* Éviter les conflits pour les liens non actifs */

.main-menu a:not(.active):not(:hover):not(:focus) {
    background-color: #fff;
    color: #A13A83;
}

.sticked-up hr {
    margin: 2px;
    opacity: .10;
}

body {
    font-size: 0.8em;
    color: #333;
}

.collapse-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

button[aria-expanded="true"] .collapse-icon {
    transform: rotate(180deg);
}

.btn-outline-custom {
    color: #333;
    /* Gris clair */
    border: 1px solid #ccc;
    /* Bordure grise claire */
    background-color: transparent;
}

.btn-outline-custom:hover {
    color: #222;
    /* Texte un peu plus sombre au survol */
    border-color: #aaa;
    /* Bordure un peu plus sombre */
    background-color: rgba(0, 0, 0, 0.05);
    /* Légère ombre */
}

.custom-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    padding: 1rem;
    border-radius: 0;
    color: #555;
    background-color: #fff;
    border: 1px solid #777;
    transition: all 0.2s ease-in-out;
}

.custom-btn:hover {
    background-color: #f5f5f5;
    color: #000;
    border-color: #000;
}

.custom-btn::after {
    content: "▼";
    font-size: 1em;
    transition: transform 0.2s ease-in-out;
}

.custom-btn[aria-expanded="true"]::after {
    transform: rotate(-180deg);
}

.custom-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.custom-collapse.show {
    max-height: 1000px
}

.custom-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: #fff;
    border: 1px solid #333;
    border-top: none;
}

@media screen and (min-width: 769px) {
    .custom-card-body {
        flex: 1 1 auto;
        padding: 1.25rem;
        display: grid;
        /* Affichage en colonnes par défaut */
        /*grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
        grid-template-columns: repeat(2, 1fr);
        /* Colonnes flexibles */
    }
}

.custom-card-body p {
    margin-bottom: 0.2rem;
}

@media screen and (max-width: 768px) {
    .custom-card-body {
        display: block;
        /* Revenir à l'affichage normal en une seule colonne */
    }
    .custom-card-body p {
        display: block;
        /* Assurer l'affichage sur une seule ligne */
        margin-bottom: 0.1rem;
        /* Ajouter de l'espace entre les paragraphes */
    }
}

a,
.btn-link {
    color: #666;
    text-decoration: none;
}

.text-secondary {
    color: #666 !important;
}


/* Style global : affiche tout par défaut */

.cart-summary th,
.cart-summary td {
    display: table-cell;
    /* Toutes les colonnes visibles par défaut */
}


/* Masquer les colonnes non nécessaires sur les écrans de moins de 768px */

@media (max-width: 768px) {
    /* Masquer toutes les colonnes par défaut */
    .cart-summary th,
    .cart-summary td {
        display: none;
    }
    /* Afficher les colonnes Référence, Quantité et Prix TTC */
    .cart-summary th:nth-child(2),
    /* Référence */
    .cart-summary td:nth-child(2),
    .cart-summary th:nth-child(4),
    /* Quantité */
    .cart-summary td:nth-child(4),
    .cart-summary th:nth-child(7),
    /* Prix TTC */
    .cart-summary td:nth-child(7) {
        display: table-cell !important;
    }
    /* Afficher les méthodes de paiement */
    .cart-summary td[style*="align:left;vertical-align:top;"] {
        display: table-cell !important;
        width: 100%;
        /* S'assurer que ça prend toute la largeur */
    }
    /* Rétrécir et aligner les options de paiement */
    .vm-payment-plugin-single {
        display: flex !important;
        align-items: center;
        margin-bottom: 5px;
        font-size: 10px;
    }
    /* Ajuster les boutons radio */
    .vm-payment-plugin-single input[type="radio"] {
        margin-right: 6px;
        transform: scale(1);
    }
    /* Masquer les totaux en bas */
    .cart-summary tr:last-child,
    .cart-summary tr:nth-last-child(2),
    .cart-summary tr:nth-last-child(3) {
        display: none !important;
    }
}

h1 {
    font-size: 25px;
    color: #6e004f;
}


/* Pour le Footer */

footer {
    background-color: #ebe9e9;
    color: #333;
    padding: 0 40px;
    margin-bottom: 0;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.social-icons {
    text-align: center;
    margin-bottom: 20px;
}

.social-icons a {
    font-size: 20px;
    margin: 0 10px;
    color: #333;
    text-decoration: none;
}

.social-icons a:hover {
    color: #791d9e;
}

.footer-middle {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 2px solid #791d9e;
    padding-bottom: 5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #791d9e;
}

footer .footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #777;
    border-top: 2px solid #791d9e;
}


/*.vm-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}*/


/* DIV "Notre Gamme de textile" a cassé l'affichage de product-container !*/

.product-container {
    background-color: #f9f9f9;
    /*border-radius: 10px;*/
    padding: 15px;
    /*text-align: center;*/
    /* affiche TOUT les contenus centrés, ce n'est pas l'ojectif*/
    /*il faut mieux cibler, voire ajouter une classe pour centrer un item*/
    flex: 1 1 calc(25% - 20px);
    /*max-width: calc(25% - 20px);*/
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-container :hover {
    /*transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);*/
    /* Pas d'ombres, ca fait tout bouger ici */
}

.vm-product-media-container {
    flex: 0 0 auto;
    margin-bottom: 10px;
}


/* a cassé l'affichage de product-container */


/*.vm-product-media-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}*/

.vm-product-title {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
    flex: 0 0 auto;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .product-container {
        flex: 1 1 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .product-container {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 767px) {
    .product-container {
        flex: 1 1 100%;
        max-width: 100%;
    }
}


/* Le petit bandeau pour choisir les menus */

.main-menu {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.main-menu .container-xxl {
    max-width: 91%;
    margin: 0 auto;
    /*padding: 0 15px;*/
}

.main-menu .mod-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: start;
    gap: 5px;
}

.main-menu .mod-menu .nav-item {
    position: relative;
}

.main-menu .mod-menu .nav-item a {
    text-decoration: none;
    font-size: 14px;
    /*font-weight: bold;*/
    /*color: #333;*/
    padding: 10px 15px;
    /*border-radius: 5px;*/
    transition: all 0.3s ease;
}


/*.main-menu .mod-menu .nav-item a:hover,
.main-menu .mod-menu .nav-item a:focus {
    background-color: #f4f4f4;
    color: #880E4F;
}*/

.main-menu .mod-menu .nav-item.current>a {
    background-color: #6e004f;
    color: #ffffff;
}

.main-menu .mod-menu__sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    border-radius: 5px;
    z-index: 10;
    min-width: 150px;
}

.main-menu .mod-menu .nav-item:hover>.mod-menu__sub {
    display: block;
}

.main-menu .mod-menu__sub .nav-item a {
    padding: 10px 15px;
    /*color: #555;*/
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.main-menu .mod-menu__sub .nav-item a:hover {
    background-color: #f4f4f4;
    color: #6e004f;
}

.main-menu .mod-menu .subtoggle {
    background: none;
    border: none;
    padding: 0;
    margin-left: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: #333;
    transition: transform 0.3s ease;
}

.main-menu .mod-menu .subtoggle:hover {
    color: #6e004f;
}

.main-menu .mod-menu .subtoggle svg {
    width: 12px;
    height: 12px;
}

@media (max-width: 768px) {
    .main-menu .mod-menu {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-menu .mod-menu .nav-item {
        width: 100%;
    }
    .main-menu .mod-menu .nav-item a {
        display: block;
        width: 100%;
    }
    .main-menu .mod-menu__sub {
        position: static;
        box-shadow: none;
        margin-left: 20px;
    }
    .main-menu .mod-menu .subtoggle {
        display: inline-flex;
    }
}


/* Page de Contact */

.com-contact__form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.com-contact__form legend {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.com-contact__form .red {
    color: #ff0800;
}

.com-contact__form .control-group {
    margin-bottom: 15px;
}

.com-contact__form .control-label label {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.com-contact__form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.com-contact__form .form-control:focus {
    border-color: #6e004f;
    outline: none;
    box-shadow: 0 0 4px rgba(136, 14, 79, 0.2);
}

.com-contact__form .btn-primary {
    background-color: #6e004f;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.com-contact__form .btn-primary:hover {
    background-color: #A13A83;
}

.com-contact__form .form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.com-contact__form .form-check-inline label {
    font-size: 14px;
    color: #555;
    vertical-align: middle;
}

.com-contact__form textarea.form-control {
    resize: vertical;
    height: 150px;
}

@media (max-width: 768px) {
    .com-contact__form {
        padding: 15px;
    }
    .com-contact__form legend {
        font-size: 20px;
    }
    .com-contact__form .form-control {
        font-size: 14px;
    }
    .com-contact__form .btn-primary {
        font-size: 14px;
    }
}

.nextend-shadow {
    display: none;
}

.productdetails-view {
    max-width: 90%;
    margin: auto;
}


/*menu déroulant sur plusieurs colonnes*/

.menu-multi-column {
    columns: 3;
    column-gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-multi-column li {
    break-inside: avoid;
}

.main-menu .parent>a::after, .main-menu .parent>span::after {
    width: 0px !important;
    margin-left: 0px !important;
}

