#bon_de_commande {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #ddd;
    font-size: 18px;
}

p.prix {
    font-weight: bold;
    color: #20b554;
    font-size: 20px;
}

#bon_de_commande td {
    text-align: left;
    padding: 12px;
    font-weight: normal;
}

#bon_de_commande td p {
    line-height: 1;
}

#bon_de_commande a.delete {
    color: red !important;
}

.select2-selection {
    min-height: 45px;
    margin-top: 0;
    border-radius: 2px !important;
    text-align: left;
    color: #000000;
    border: 1px solid #ddd !important;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgNTAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDUwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNMjIuNiw4YzAtMC4xLDAtMC4yLDAuMS0wLjJsMC41LTAuNWMwLjEtMC4xLDAuMS0wLjEsMC4yLTAuMWMwLjEsMCwwLjIsMCwwLjIsMC4xbDMuNywzLjdsMy43LTMuN2MwLjEtMC4xLDAuMS0wLjEsMC4yLTAuMXMwLjIsMCwwLjIsMC4xTDMyLDcuOEMzMiw3LjksMzIuMSw4LDMyLjEsOGMwLDAuMSwwLDAuMi0wLjEsMC4ybC00LjQsNC40Yy0wLjEsMC4xLTAuMSwwLjEtMC4yLDAuMXMtMC4yLDAtMC4yLTAuMWwtNC40LTQuNEMyMi43LDguMiwyMi42LDguMSwyMi42LDh6Ii8+PC9zdmc+) !important;
    background-repeat: no-repeat;
    background-position: 100% center;
    appearance: none;
    outline: none;
}

.select2-search--dropdown .select2-search__field {
    margin: 0;
    border: 1px solid #ddd;
    padding: 10px;
}

.select2-dropdown {
    top: -12px;
    border: 1px solid #ddd;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgNTAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDUwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNMjIuNiw4YzAtMC4xLDAtMC4yLDAuMS0wLjJsMC41LTAuNWMwLjEtMC4xLDAuMS0wLjEsMC4yLTAuMWMwLjEsMCwwLjIsMCwwLjIsMC4xbDMuNywzLjdsMy43LTMuN2MwLjEtMC4xLDAuMS0wLjEsMC4yLTAuMXMwLjIsMCwwLjIsMC4xTDMyLDcuOEMzMiw3LjksMzIuMSw4LDMyLjEsOGMwLDAuMSwwLDAuMi0wLjEsMC4ybC00LjQsNC40Yy0wLjEsMC4xLTAuMSwwLjEtMC4yLDAuMXMtMC4yLDAtMC4yLTAuMWwtNC40LTQuNEMyMi43LDguMiwyMi42LDguMSwyMi42LDh6Ii8+PC9zdmc+) !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #20b554;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 9px;
    right: 9px;
    width: 20px;
}

.select2-container--default .select2-selection--single:focus {
    border: 1px solid #20b554;
}

.select2-results__option {
    padding: 6px 6px 6px 15px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
    font-size: 16px;
    color: #000000;
    padding-left: 0;
}

.std-block-padding {
    padding: 0;
}

#menu-sidebar i {
    margin-right: 10px !important;
}

#menu-sidebar ul li.no-evts {
    cursor: pointer !important;
}

.widget-container ul li {
    margin-bottom: 0;
}

.widget-container ul li.no-evts>label,
.widget-container ul li.no-evts>a {
    pointer-events: all !important;
}

#menu-sidebar li a {
    padding: 24px 20px !important;
    display: block;
    transition: 0.3s;
    line-height: 1;
    min-height: 65px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#menu-sidebar li a.active i {
    color: #20b554;
}

#menu-sidebar li a:hover i {
    color: #20b554;
}

.nav-item .cursor-init {
    background-color: #000 !important;
}

#menu-sidebar li a:hover,
#menu-sidebar li a.active {
    background-color: #000 !important;
    color: #ffffff;
    pointer-events: inherit !important;
    cursor: pointer !important;
    opacity: 1 !important;
}



#bon_de_commande th {
    padding: 10px !important;
    font-size: 15px;
    background-color: #000000;
    color: #ffffff !important;
}

#liste_commande th {
    padding: 10px !important;
    font-size: 15px;
    background-color: #000000;
    color: #ffffff !important;
}

#bon_de_commande td h3 {
    font-size: 15px;
    font-family: "inter";
    margin-top: 0;
    color: #000;
}

#bon_de_commande th,
#bon_de_commande td p {
    margin-top: 0;
}

#bon_de_commande th,
#bon_de_commande td p strong {
    color: #888888;
}

#bon_de_commande tr {
    /* Add a bottom border to all table rows */
    border-bottom: 1px solid #ddd;
}

.filters {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filters select {
    margin-top: 0;
    width: 360px;
    font-size: 16px;
    border: 1px solid #ddd !important;
    min-height: 45px;
}

.filters select:focus {
    border: 1px solid #20b554;
}

.filters input[type="text"] {
    width: 280px;
}

/*--------- Image produits --------*/
#bon_de_commande td.image-produit {
    text-align: center;
    max-width: 50px;
    padding: 0;
}

/*--------- SKU produits --------*/
#bon_de_commande td.sku {
    text-align: center;
    max-width: 75px;
}

/*--------- marque produits --------*/
#bon_de_commande td.marque {
    text-align: center;
    max-width: 75px;
}

/*--------- prix produits --------*/
#bon_de_commande td.prix {
    text-align: center;
    max-width: 75px;
}

/*--------- commander produits --------*/
#bon_de_commande .commande {
    text-align: center;
    max-width: 159px;
}

#bon_de_commande .commander {
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

#bon_de_commande .commander a {
    cursor: pointer !important;
    font-size: 12px;
    font-weight: bold;
}

.commander label {
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1 !important;
}

#bon_de_commande .commander input {
    max-width: 65px;
    padding: 5px;
    margin-top: 0;
}

.style-light select:not([multiple]) {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgNTAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDUwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNMjIuNiw4YzAtMC4xLDAtMC4yLDAuMS0wLjJsMC41LTAuNWMwLjEtMC4xLDAuMS0wLjEsMC4yLTAuMWMwLjEsMCwwLjIsMCwwLjIsMC4xbDMuNywzLjdsMy43LTMuN2MwLjEtMC4xLDAuMS0wLjEsMC4yLTAuMXMwLjIsMCwwLjIsMC4xTDMyLDcuOEMzMiw3LjksMzIuMSw4LDMyLjEsOGMwLDAuMSwwLDAuMi0wLjEsMC4ybC00LjQsNC40Yy0wLjEsMC4xLTAuMSwwLjEtMC4yLDAuMXMtMC4yLDAtMC4yLTAuMWwtNC40LTQuNEMyMi43LDguMiwyMi42LDguMSwyMi42LDh6Ii8+PC9zdmc+) !important;
}

#search_input {
    background-image: url("/wp-content/uploads/2024/07/search.png");
    background-position: 10px 12px;
    background-repeat: no-repeat;
    width: 100%;
    font-size: 16px;
    margin-top: 0;
    padding: 12px 20px 12px 40px;
    border: 1px solid #ddd;
}

#search_input:focus {
    border: 1px solid #20b554;
}

tr:hover {
    background-color: #f2f2f2 !important;
}

.pc_login_form:not(.pc_widget_login) {
    min-width: 100% !important;
    max-width: auto;
}

.pc_login_form button,
.pvtcont_form button {
    background: #000 !important;
    border: 1px solid #000 !important;
    border-radius: 2px !important;
    box-shadow: none;
    color: #ffffff !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    width: 100%;
}

ul.liste-marques {
    list-style-type: none !important;
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(5, 1fr) !important;
}

ul.liste-marques li a {
    color: #000 !important;
    display: block;
    border: 1px solid #dddddd;
    padding: 20px;
    cursor: pointer;
}

ul.liste-marques li a:hover {
    border: 1px solid #20b554;
}




















/* 20240902 - Talha */
#bon_de_commande .commander a.btn-cart {
    margin-left: auto;
}

#bon_de_commande .commander a.btn-cart.btn-cart-remove {
    color: red;
}

/* On single produit page */
span.btn-container a.btn-cart.btn-cart-remove {
    background-color: red !important;
    border-color: red !important;
}

span.btn-container a.btn-cart.btn-cart-remove:hover {
    /* Not working */
    color: red !important;
    border-color: red !important;
}


/* Checkout page */
#checkout h2 {
    font-family: 'inter', sans-serif;
}

#checkout .form-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

#checkout .form-group {
    margin-bottom: 8px;
    width: 100%;
}

#checkout .form-group input,
#checkout .form-group textarea {
    margin-top: 0;
    width: 100%;
}

/* End 20240902 - Talha */



#pagination {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

#pagination li {
    margin: 0 5px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

#pagination li.active {
    background-color: #20b554;
    color: #fff;
    border-color: #20b554;
}

#pagination li:hover:not(.active) {
    background-color: #f0f0f0;
}

#pagination li.disabled {
    pointer-events: none;
    color: #999;
}


.disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.6;
}







/* Nested dropdown for the category on the boutique page  */
.category-dropdown-container {
    position: relative;
    width: 360px;
}

@media(min-width: 768px) {
    body div.filters {
        /* grid-template-columns: 280px 360px 180px 220px !important; */
    }
}

.dropdown-toggle {
    display: block;
    width: 100%;
    max-width: 360px;
    padding: 4px 12px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 0px;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    height: 46px;
}

.dropdown-toggle:after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
}

.dropdown-toggle.active:after {
    content: '▲';
}

.multi-level-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background-color: white;
}

.dropdown-toggle.active+.multi-level-dropdown {
    display: block;
}

.dropdown-menu {
    list-style: none !important;
    padding: 0;
    margin: 0;
    margin-left: -10px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.dropdown-menu li {
    text-align: left !important;
}

.dropdown-menu.level-1 {
    z-index: 1;
}

.dropdown-menu.level-2 {
    z-index: 20;
}

.dropdown-menu.level-3 {
    z-index: 300;
}

.dropdown-menu.level-1>li {
    position: relative;
    padding: 10px 15px;
    border-bottom: 1px solid #efefef;
    cursor: pointer;
}

.dropdown-menu.level-1>li:last-child {
    border-bottom: none;
}

.dropdown-menu.level-1>li:hover,
.dropdown-menu.level-1>li.active {
    background-color: #f8f9fa;
}

.has-children:after {
    content: '►';
    position: absolute;
    right: 15px;
    font-size: 10px;
    color: #999;
}

.dropdown-menu.level-2 {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    display: none;
    border-left: none;
}

.dropdown-menu.level-2.open-to-left,
.dropdown-menu.level-3.open-to-left {
    left: auto;
    right: 100%;
    border-right: none;
    border-left: 1px solid #ddd;
}

.dropdown-menu.level-2>li {
    padding: 10px 15px;
    border-bottom: 1px solid #efefef;
    position: relative;
    cursor: pointer;
}

.dropdown-menu.level-2>li:last-child {
    border-bottom: none;
}

.dropdown-menu.level-2>li:hover,
.dropdown-menu.level-2>li.active {
    background-color: #f8f9fa;
}

.dropdown-menu.level-3 {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    display: none;
    border-left: none;
}

.dropdown-menu.level-3>li {
    padding: 10px 15px;
    border-bottom: 1px solid #efefef;
    cursor: pointer;
}

.dropdown-menu.level-3>li:last-child {
    border-bottom: none;
}

.dropdown-menu.level-3>li:hover {
    background-color: #f8f9fa;
}

@media (max-width: 768px) {

    .dropdown-menu.level-2,
    .dropdown-menu.level-3,
    .dropdown-menu.level-2.open-to-left,
    .dropdown-menu.level-3.open-to-left {
        position: static;
        display: none;
        width: 100%;
        margin-top: 5px;
        margin-left: 15px;
        box-shadow: none;
        border: none;
        background-color: #f8f9fa;
        right: auto;
    }

    .has-children:after {
        content: '▼';
    }

    .has-children.active:after {
        content: '▲';
    }
}































.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 480px;
    min-height: 360px;
}

.popup-close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}