/* Reprise des modifs entre les fichier theme.css des thèmes classic et m3soft */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0;
}

a {
  color: #d7bd8f;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0;
}

.display-1 {
  font-size: 2.5rem;
}

.btn-primary {
  background-color: #d7bd8f;
}
.btn-primary.focus,
.btn-primary:focus,
.btn-primary:hover {
  background-color: #c49d59;
}
.btn-primary.active,
.btn-primary:active,
.open > .btn-primary.dropdown-toggle {
  background-color: #c49d59;
}

.btn-primary.disabled.focus,
.btn-primary.disabled:focus,
.btn-primary.disabled:hover,
.btn-primary:disabled.focus,
.btn-primary:disabled:focus,
.btn-primary:disabled:hover {
  background-color: #d7bd8f;
}

.btn-outline-primary {
  color: #d7bd8f;
  border-color: #d7bd8f;
}
.btn-outline-primary.active,
.btn-outline-primary.focus,
.btn-outline-primary:active,
.btn-outline-primary:focus,
.btn-outline-primary:hover,
.open > .btn-outline-primary.dropdown-toggle {
  background-color: #d7bd8f;
  border-color: #d7bd8f;
}

.btn-link {
  color: #d7bd8f;
}

.dropdown-item.active,
.dropdown-item.active:focus,
.dropdown-item.active:hover {
  background-color: #d7bd8f;
}

.nav-pills .nav-item.open .nav-link,
.nav-pills .nav-item.open .nav-link:focus,
.nav-pills .nav-item.open .nav-link:hover,
.nav-pills .nav-link.active,
.nav-pills .nav-link.active:focus,
.nav-pills .nav-link.active:hover {
  background-color: #d7bd8f;
}

/* Panier */
.card {
  border: none;
}
.card-header {
  border: none;
}
.card-footer {
  border: none;
}
.card-primary {
  background-color: #d7bd8f;
  border-color: #d7bd8f;
}
.card-outline-primary {
  border-color: #d7bd8f;
}

.page-item.active .page-link,
.page-item.active .page-link:focus,
.page-item.active .page-link:hover {
  background-color: #d7bd8f;
  border-color: #d7bd8f;
}

.page-link {
  color: #d7bd8f;
}
.tag-primary {
  background-color: #d7bd8f;
}
.tag-primary[href]:focus,
.tag-primary[href]:hover {
  background-color: #c49d59;
}

.list-group-item.active,
.list-group-item.active:focus,
.list-group-item.active:hover {
  background-color: #d7bd8f;
  border-color: #d7bd8f;
}

.popover {
  /* Sous-catégorie dans le menu principal */
  left: auto; /* écrase le left:0 */
}

.bg-primary {
  background-color: #d7bd8f !important;
}
a.bg-primary:focus,
a.bg-primary:hover {
  background-color: #c49d59 !important;
}

.text-primary {
  color: #d7bd8f !important;
}
a.text-primary:focus,
a.text-primary:hover {
  color: #c49d59 !important;
}

/* @font-face lignes 618 à 6228 remplacées par : */
@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap");

body {
  font-family: "Titillium Web", sans-serif;
  font-size: 0.875rem;
}

a:hover {
  color: #d7bd8f;
}

.btn-tertiary {
  box-shadow: none;
}

.btn-unstyle:focus .expand-more {
  color: #d7bd8f;
}

.card {
  box-shadow: none;
}

.form-control:focus,
.input-group.focus {
  outline: 0.1875rem solid #d7bd8f;
}

.bootstrap-touchspin .group-span-filestyle .btn-touchspin,
.group-span-filestyle .bootstrap-touchspin .btn-touchspin,
.group-span-filestyle .btn-default {
  background: #d7bd8f;
}

.bootstrap-touchspin {
  box-shadow: none;
}

.custom-radio input[type="radio"]:checked + span {
  background-color: #d7bd8f;
}

.dropdown:hover .expand-more {
  color: #d7bd8f;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #d7bd8f;
}

/* Recherche */
#search_widget form input {
  border: 1px solid #cccccc;
  background: white;
}
#search_widget form input:focus {
  border: 1px solid #d7bd8f;
}

#header {
  box-shadow: none;
}
#header .top-menu a[data-depth="0"] {
  font-size: 1em;
}
#header .top-menu a[data-depth="0"]:hover {
  color: #d7bd8f;
}

/* #dev ici à vérifier : classic 6872-6880, m3soft 6825-6833*/
.top-menu .sub-menu {
  margin-left: auto;
  width: auto;
  min-width: auto;
}

.top-menu .sub-menu ul[data-depth="1"] > li {
  float: none;
}
.top-menu .sub-menu a:hover {
  color: #d7bd8f;
}

body#checkout section.checkout-step .address-item.selected {
  border: 3px solid #d7bd8f;
}

.page-my-account #content .links a:hover i {
  color: #d7bd8f;
}

.carousel {
  box-shadow: none;
}

.carousel .carousel-item .caption {
  color: #000;
}
.carousel .carousel-item .caption .caption-description p {
  color: #000;
}
.carousel .carousel-control .icon-next:hover i,
.carousel .carousel-control .icon-prev:hover i {
  color: #d7bd8f;
}

.brands {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}
.brand-img {
  position: relative;
  margin-bottom: 1.563rem;
  height: 210px;
  width: 210px;
  background: #fff;
}
.brand-infos {
  text-align: center;
}
.brand-miniature {
  margin: 0 0.8125rem;
}
#products .thumbnail-container,
.featured-products .thumbnail-container,
.product-accessories .thumbnail-container,
.product-miniature .thumbnail-container {
  box-shadow: none;
}

#products .thumbnail-container:focus .product-description:after,
#products .thumbnail-container:hover .product-description:after,
.featured-products .thumbnail-container:focus .product-description:after,
.featured-products .thumbnail-container:hover .product-description:after,
.product-accessories .thumbnail-container:focus .product-description:after,
.product-accessories .thumbnail-container:hover .product-description:after,
.product-miniature .thumbnail-container:focus .product-description:after,
.product-miniature .thumbnail-container:hover .product-description:after {
  border-top: none;
}

#products .highlighted-informations,
.featured-products .highlighted-informations,
.product-accessories .highlighted-informations,
.product-miniature .highlighted-informations {
  box-shadow: none;
  display: none; /* #dev à vérifier */
}

#products .highlighted-informations .quick-view:hover,
.featured-products .highlighted-informations .quick-view:hover,
.product-accessories .highlighted-informations .quick-view:hover,
.product-miniature .highlighted-informations .quick-view:hover {
  color: #d7bd8f;
}

@media (max-width: 767px) {
  #products .thumbnail-container,
  .featured-products .thumbnail-container,
  .product-accessories .thumbnail-container {
    box-shadow: none;
  }
  #products .thumbnail-container .product-description,
  .featured-products .thumbnail-container .product-description,
  .product-accessories .thumbnail-container .product-description {
    box-shadow: none;
  }
}

.products-sort-order .select-title {
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: none;
}

.products-sort-order .select-list:hover {
  background: #d7bd8f;
}

.facet-dropdown.open > .select-title {
  border: 3px solid #d7bd8f;
}

.facet-dropdown .select-list:hover {
  background: #d7bd8f;
}

#search_filters,
#search_filters_brands,
#search_filters_suppliers {
  box-shadow: none;
}

.pagination .page-list {
  box-shadow: none;
}

.pagination .current a {
  color: #d7bd8f;
}

.block-categories {
  box-shadow: none;
  background: #f5f5f5;
}
.block-categories .h6 {
  font-size: 1rem;
}
.block-categories .collapse-icons .add:hover,
.block-categories .collapse-icons .remove:hover {
  color: #d7bd8f;
}
.block-categories .arrows .arrow-down:hover,
.block-categories .arrows .arrow-right:hover {
  color: #d7bd8f;
}
.block-categories .category-top-menu li[data-depth="0"] > a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

/* Titres des facettes */
#search_filters > .h6,
#search_filters_brands > .h6,
#search_filters_suppliers > .h6 {
  font-size: 1rem;
  font-weight: 500;
}
#search_filters .facet .facet-title,
#search_filters_brands .facet .facet-title,
#search_filters_suppliers .facet .facet-title {
  color: #7a7a7a;
  font-size: 0.9rem;
}
#search_filters .facet .facet-label a,
#search_filters_brands .facet .facet-label a,
#search_filters_suppliers .facet .facet-label a {
  font-size: 0.85rem;
}

*:not(cart-items) .product-price {
  color: #d7bd8f;
}
.cart-items .product-price {
  color: #000000;
}

.tabs {
  box-shadow: none;
  border: solid 1px #eeeeee;
}
.tabs .nav-tabs .nav-link.active {
  color: #d7bd8f;
}
.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link:hover {
  border-bottom: 3px solid #d7bd8f;
}
.product-cover img {
  box-shadow: none;
}

#product-modal .modal-content .modal-body .product-images img:hover {
  border: 3px solid #d7bd8f;
}

#blockcart-modal .product-name {
  color: #d7bd8f;
}
.card-block.cart-detailed-subtotals + .cart-summary-totals .cart-total,
body#checkout .card-block.cart-summary-totals .cart-summary-line.cart-total {
  background: #efefef;
  border: none;
  padding: 10px;
}
.product-line-info a.label {
  color: #d7bd8f;
}
.product-images > li.thumb-container > .thumb.selected,
.product-images > li.thumb-container > .thumb:hover {
  border: 3px solid #d7bd8f;
}

.product-features {
  margin-top: 0;
  margin-left: 0;
}
/* dl/dt remplacés par des p dans le template (pour casser l'alignement) */
.product-features p {
  color: #000000;
  margin-bottom: 0;
}
.product-features .name {
  font-weight: 400;
}
#product-details .label {
  font-weight: 700;
}

.product-variants > .product-variants-item select {
  box-shadow: none;
}
.product-flags li.product-flag {
  background: #d7bd8f;
}

.product-customization .product-message:focus {
  outline: 0.1875rem solid #d7bd8f;
}

.cart-grid-body a.label:hover {
  color: #d7bd8f;
}

.block-promo .promo-input + button {
  border: 2px solid #d7bd8f;
}

.block-promo .promo-code-button.cancel-promo {
  color: #d7bd8f;
}

.block_newsletter form input[type="text"]:focus {
  outline: 1px solid #d7bd8f;
}
.block_newsletter form input[type="text"]:focus + button .search {
  color: #d7bd8f;
}

.block_newsletter form button[type="submit"] .search:hover {
  color: #d7bd8f;
}
.block_newsletter form input[type="email"] {
  border: solid 1px #eeeeee;
}
.block_newsletter form input[type="email"]:focus {
  border: 3px solid #d7bd8f;
}
.account-list a:hover {
  color: #d7bd8f;
}
.block-contact-title,
.blockcms-title,
.myaccount-title,
.myaccount-title a {
  font-size: 1.125rem;
}
.block-social ul li:hover {
  background-color: #d7bd8f;
}

.footer-container {
  box-shadow: none;
}

.footer-container li a:hover {
  color: #d7bd8f;
}
#pagenotfound .page-not-found,
#products .page-not-found {
  box-shadow: none;
  background: none;
}

#header .logo {
  padding-bottom: 1rem;
}
#header a:hover {
  color: #d7bd8f;
}
#header .header-nav .cart-preview.active {
  background: #d7bd8f;
}
#header .header-nav .blockcart a:hover {
  color: #d7bd8f;
}
#header .header-top .menu {
  padding-top: 10px;
}
#header .header-top a[data-depth="0"] {
  color: #000000;
}

#wrapper {
  background: #ffffff;
  box-shadow: none;
}

#footer {
  background-color: #f5f5f5;
}

@media (max-width: 767px) {
  #header .header-nav .user-info .logged {
    color: #d7bd8f;
  }
}

.ui-autocomplete {
  font-size: small !important;
}

/* Checkout */
body#checkout
  section.checkout-step
  .delivery-options
  .delivery-option
  label
  .carrier:not(.carrier-hasLogo)
  > .col-xs-12 {
  padding-left: 0px;
}

/* Ajouts par comparaison */
#custom-text p {
  font-size: 1.1em;
}

.footer-container .h3,
.footer-container .h4 {
  margin-bottom: 0;
}

.copyrightM3soft {
  display: block;
  padding: 3rem !important;
}

body#checkout .cart-grid-body {
  box-shadow: 0px 0px 10px #ddd;
  padding-bottom: 25px;
}
