/* POLICES */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* VARIABLES */

:root {
  --ivoire: #fff;
  --blanc: #FFF;
  --vert:  #50DA45;
  --border-test: 0px solid black;
  --violet: #383838;
  --shadow: 3px 4px 4px -2px #bbb;
  --times: 'Times New Roman', 'Times', serif;
  --title: 'Montserrat', sans-serif;
}

html {
  /* dÃ©finition du rem */
  font-size: 18px;
}

body {
  font-size: 1rem;
  font-family: var(--times);
}



/* 


ZONE DU HAUT 


*/

/* header nav, Panier et Connexion */

#header .header-nav {
  font-size: 0.8rem;
  font-style: italic;
  
  border-bottom: 4px solid var(--violet);
  max-height: 100px;
}

@media(max-width: 767px) {
  #header .header-nav {
    border-bottom: unset;
  }
}

#header .header-nav .blockcart {
  background: transparent;
}

#header .header-nav .cart-preview.active {
  background: var(--violet)
}

#_desktop_top_menu {
  float: right;
  width: 100%;
  border: var(--border-test);
}

#top-menu {
  text-align: right;
}

/* icones rÃ©seaux sociaux */

#header .block-social {
  width: 60%;
  text-align: right;
  border: var(--border-test);
  padding: 0;
  padding-right: 1rem;
}

#header .block-social ul {
  justify-content: flex-end;
  margin-bottom: 0;
}

.block-social ul  li {
  background-color:var(--violet);
  height: 2.3rem;
  width: 2.3rem;

}

.linkedin {
    background-image: url(linkedin.svg);
}

/* barre de recherche */

.search-widget {
  width: 40%;
  border: var(--border-test);
  padding: 0.15rem;
}

/* menus dÃ©roulants */

.top-menu .sub-menu {
  width: 80%;
  min-width: 30%;
  left: 20%;
  border: var(--border-test);
  padding: 1rem;
  background: var(--blanc);
}

/* titres principaux du menu */

#header .header-top a[data-depth="0"] {
  color: black;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* menu dÃ©roulant niveau 1 */

.top-menu a.dropdown-submenu {
  text-transform: none;
  
  margin: 0.5rem 0.1rem;
  border: 0px solid black;
  padding: 0.4rem;
  border-radius: 0.4rem;
  background: var(--ivoire);
  width: unset;
  display: inline-block;
}



/* span ajoutÃ© */
.titre_noeud_menu[data-depth="1"], .subcategory-item {
  text-transform: none;
  font-weight: 700;
  font-size: .9rem;
  border-bottom: 0rem solid #222;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 50px
}

.titre_noeud_menu[data-depth="1"]::after, .subcategory-item::after {
  content: '';
  position: relative;
  display: block;
  bottom: 3px;
  left:0px;
  top: -4px;
  height: 10px;
  width: 100%;
  min-width: 70px;
  border-radius: 100% 0 0 0;
  border-top: 1px solid black;
  border-left: 1px solid black;
}

/* niveau suivant */

.top-menu[data-depth="2"] {
  display: inherit;
  /* display: none; */
  padding-left: 1.2rem;
}

.top-menu .sub-menu ul[data-depth="1"] > li {
  margin: 0rem 11px;
}

.top-menu .sub-menu ul[data-depth="2"] > li {
  float: left; 
  margin-top:0.25rem;
  margin-right:1.5rem;
}

@media(max-width:767px) {
  .top-menu .sub-menu ul[data-depth="2"] > li {
    float: none;
  }
  .top-menu a.dropdown-submenu {
    padding: 0;
    margin:0
  }
}

.top-menu .sub-menu ul[data-depth="2"] > li a {
  font-weight: 500;
}

/* inutile puisque bloquÃ© dans le TPL */
.top-menu .sub-menu ul[data-depth="3"] > li a {
  float: none; 
  margin-top:0;
  font-weight: 400;
  padding: 0;
  margin-bottom: 0.2rem;
  font-size: 0.7rem;
}

/* menu de gauche */

.block-categories .category-sub-menu {
  font-family: var(--title);
}

.block-categories .category-sub-menu li[data-depth="0"] > a {
  font-size: 0.75rem;
  font-style: italic
}
.block-categories .category-sub-menu li[data-depth="1"] {
  margin-bottom: 0.2rem;
  margin-left: 0.5rem;
}

.block-categories .category-sub-menu .category-sub-link { 
  font-size: 0.7rem;
  font-weight: 500;
}

.category-cover {
  width: 100%;
  height: auto;
  box-shadow: var(--shadow);
}

.category-cover img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.tabs {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.product-features > dl.data-sheet dd.value, .product-features > dl.data-sheet dt.name {
  text-transform: none;
}

/* Carousel */

.carousel {
  box-shadow: none;
  margin: 3rem auto;
}


.carousel .carousel-inner {
  height: 600px;
  width: 600px;
  margin: auto;
  max-width: 90vw;
  max-height: 90vw;
}

.carousel .carousel-item img {
  width: 80%;
  margin-left: 10%;
}

.carousel .carousel-item .caption {
  text-align: center;
  max-width: unset;
  width: 600px;
  position: relative;
  left: 0;
  right: 0;
  top: 15px;
}

.carousel .carousel-item .caption h2 {
  font-size: 1.3rem;
text-transform: none !important;
font-style: italic;
color: black;
}

.carousel .carousel-item .caption h3 {
  color: black;
  
}
.carousel .carousel-item .caption .caption-description p {
  color: black;
  text-decoration: underline;
  text-decoration-thickness: 1.3rem;
  text-decoration-color: rgba(255,255,255,0.7);
  text-underline-offset: -1rem;
  text-decoration-skip-ink: none;
  
}




#products .thumbnail-container, .top-menu .sub-menu, .products-sort-order .dropdown-menu, .btn-primary, .btn-secondary, .btn-tertiary, .card, .pagination .page-list, .footer-container, #products .highlighted-informations, .featured-products .highlighted-informations, .product-accessories .highlighted-informations, .product-miniature .highlighted-informations, .products-sort-order .select-title, .card, #search_filters, #search_filters_brands, #search_filters_suppliers, .block-categories, .featured-products .thumbnail-container, .product-accessories .thumbnail-container, .product-miniature .thumbnail-container {
  box-shadow: none;
  border: var(--border-test);
  border-radius:  0;
  box-shadow: var(--shadow);
}




/*

TYPOGRAPHIE

*/

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, .top-menu {
  font-family: var(--title);
  font-style: normal; 
  color: black;
  font-weight: 700;
}

h1, .h1 {
  font-size: 1.2rem
}

h3, .h3, #block_myaccount_infos .myaccount-title a {
  font-size: 1rem;
  color: black;
  font-weight: 600;
}


#wrapper, #header, .featured-products .product-description, #products .highlighted-informations, .featured-products .highlighted-informations, .product-accessories .highlighted-informations, .product-miniature .highlighted-informations, .product-accessories .product-description, .featured-products .thumbnail-container, .product-accessories .thumbnail-container {
  background: var(--ivoire);
}

#wrapper {
  border-top: 4px solid var(--violet);
  box-shadow: none;
}

@media(max-width: 767px) {
  #wrapper {
    border-top: 2px solid black;
    margin-top: 1.5rem;
  }
}


#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:none;
}

.products-sort-order .dropdown-menu, .facet-dropdown.open > .select-title {
  background: var(--blanc);
  
}

/* filtrer par */

.facet-dropdown, .facet-dropdown .select-title, .facet-dropdown .select-list, .facet-dropdown .dropdown-menu {
  border:none;
  background: var(--ivoire);
  box-shadow: none;
  
}

/* mise en page des listes de produits */

#products .products {
  display: flex;
  justify-content:  space-between;
}

#products .thumbnail-container .product-thumbnail, .product-miniature .thumbnail-container .product-thumbnail {
  height: 100%
}

#products .thumbnail-container .product-thumbnail img, .product-accessories .thumbnail-container .product-thumbnail img, .product-miniature .thumbnail-container .product-thumbnail img {
  position: absolute;
  height: 140px;
  top: 16px;
  height: 130px;
  margin-left: 15px;
  width: 130px;
  max-width: unset;
}

#products .product-miniature {
  width: 46%;
}

#products .thumbnail-container {
  width: 100%;
  height: 160px;
  margin-bottom: 2rem;
}

#products .product-description {
  width: calc(100% - 150px);
  left: 150px;
  height: 100%;
  border: 0px solid black;
}

/* en dessous de 992 px, une colonne*/

@media (max-width: 1199px) {
  #products .product-miniature {
    width: 100%;
  }
  #products .thumbnail-container {
    height: 140px; 
    margin-bottom: 0.8rem;
  }
  #products .thumbnail-container .product-thumbnail img {
    height: 120px;
    width: 120px;
    top: 2px;
    margin-left: 0px;
  }
  #products .product-description {
    width: calc(100% - 120px);
    left: 122px;
    box-shadow: none!important;
  }
}


#products .product-title a {
  font-size: .80rem;
  text-transform: none;
  color: black;
  font-weight: 500;
}



#products .product-price-and-shipping {

}

#products .highlighted-informations {
  /*! width: 180px; */
  left: 40px;
  top: 0px;
  border: 0px solid green;
}


/* titre des livres dans la liste */

#products .product-title {
  position: relative;
  width: 98%;
  text-align: left;
  max-height: 70px;
  margin-top: 4%;
  margin-left: 2%;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  
}

@media(max-width:1199px) {
  #products .product-title {
    position: relative;
    margin-top: 2%;
    margin-right: 2%;
    margin-left: 2%;
    margin-bottom: 4px;
    width: 93%;
    max-height: 60px;
    /*
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    */
    border: 0px solid black;
  }

  #products .product-title a {
    font-size: 0.9rem;
  }
}

/* prix dans la liste */

#products .product-price-and-shipping {
  position: absolute;
  bottom: 7%;
  left: 2%;
  font-family: var(--title);
}

/* aperÃ§u rapide */

#products .highlighted-informations .quick-view {
  position: absolute;
  bottom: 1%;
  right: 0px;
  font-size: 0.8rem;
}

/* Ã©tiquette "NEUF" */

.product-flags {
  position: absolute;
  top: -24px;
  left:-25px;
}

.product-flags li.product-flag {
  background: var(--vert);
  border-radius: 100%;
  width: 70px;
  height: 70px;
  padding: 4px;
  padding-top: 25px;
  transform: rotate(-26deg);
  box-shadow: none;
  font-size: 0.7rem;
  text-align: center;
}

#products .highlighted-informations, .product-accessories .highlighted-informations, .product-miniature .highlighted-informations {
  width: 50%;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  z-index: 4;
  position: absolute;
  left: 46%;
  top: 55%;
  text-align: right;
  padding: 0;
  height: 40%;
}

/* div ajoutÃ©e pour la description courte dans la liste des produits */

.pro_desc_short {
  position: relative;
  left: 2%;
  width: 96%;
  max-height: 58px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--times);
  font-weight: 300!important;;
  color:rgba(0,0,0,0.5)!important;;
  font-size: 0.7rem !important;
  line-height: 0.8rem;
  margin:0;
  font-style: normal;
}

.pro_desc_short h2, .pro_desc_short h3, .pro_desc_short h4, .pro_desc_short p, .pro_desc_short strong, .pro_desc_short span {
  font-family: var(--times);
  font-weight: 300!important;
  color:rgba(0,0,0,0.5)!important;
  font-size: 0.7rem !important;
  line-height: 0.8rem;
  margin:0;
  font-style: normal;
}

@media(max-width:1199px) {
  .pro_desc_short {
    position: relative;
    margin-left: 2%;
    font-size: 0.8rem!important;
    line-height: 1rem;
    width: 93%;
    max-height: 50px;
  }
}

/*

VIENT DE SORTIR 
featured products

*/


.featured-products .highlighted-informations {
  display: none;
}

.featured-products .products {
  display: flex;
  justify-content: space-around
}

.featured-products .thumbnail-container .product-thumbnail {
  width: 100%;
  max-height: 100%;
}

.featured-products .thumbnail-container .product-thumbnail img {
  margin: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  top: 0;
}

.featured-products .products-section-title {
  margin-top: 2rem;
  margin-bottom: 3rem;
  text-align: left;
}

.featured-products .product-title {
  text-transform: none;
}
.featured-products .product-description {
  height: 90px;
  width: 100%;
  /*! border-radius:5px */
  background: transparent;
  display: none;
}
.featured-products .thumbnail-container {
  height: 370px;
}

.featured-products .thumbnail-container:hover .highlighted-informations.no-variants {
  bottom: 80px;
}

@media(max-width: 767px) {
  .featured-products .products {
    display: flex;
    justify-content: space-around
  }
  .featured-products .product-miniature {
    width: 180px%;
    margin: 0;
  }
  .featured-products .thumbnail-container {
    height: 270px;
    width: 180px;
  }
}

.featured-products .all-product-link {
  font-family: var(--times);
  color: black;
  font-style: italic;
  font-weight: normal;
  font-size: 1.2rem;
}

.featured-products .all-product-link:hover {
  text-decoration: underline;
}


/* 


FOOTER

*/


/* block social */

.block-social ul {
  display: flex;
  justify-content: center;
}


.block-category {
  min-height: unset;
  margin-bottom: 1.563rem;
  padding: 0;
  background: transparent;
  box-shadow: none
}

.block-category h1 {
  text-align: center
}

.block-category-inner {
  text-align: center;
  justify-content: center !important;
}


/*  BOUTONS  */

.btn-primary {
  background: var(--vert);
  border-radius: 2rem;
  text-transform: none;
  font-weight: 500;
  font-family: var(--title);
}


/*


PAGE PRODUIT 


*/

.product-cover img, .product-images > li.thumb-container > .thumb, .bootstrap-touchspin, .tabs, .social-sharing li {
  box-shadow: var(--shadow);
}

.tabs .nav-tabs .nav-link {
  font-family: var(--title);
  font-weight: 600;
  font-size: 0.8rem
}

.tabs .nav-tabs .nav-link.active, .tabs .nav-tabs .nav-link:hover {
    border: none;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}


@media(max-width: 767px) {
  .tabs {
    padding: 1.1rem 0.8rem;
  }
}

.product-prices {
  margin-bottom: 1rem;
  text-align: right
}

.product-prices div {
  margin-bottom: 1rem;
  display: inline;
}
.product-prices .tax-shipping-delivery-label {
  font-family: var(--title);
    font-size: 0.8rem;
  font-weight: 600;
  width: 50%;
  display: inline;
}

body#checkout #delivery > label {
  font-size: 1rem;
}


.everblock p {
  margin-bottom: .3125rem;
  font-size: .875rem;
}

.page-content.page-cms {
  box-shadow: var(--shadow)
}


.quickview .modal-content, #blockcart-modal .modal-body {
  background: var(--ivoire);
}

.btn-secondary, .btn-tertiary {
  background: var(--ivoire);
  border-radius: 5rem;
  font-family: var(--title);
  text-transform: none;
}

.label {
  font-size: 1rem;
}


/*  RÉASSURANCE  */

.blockreassurance_product .block-title {
  font-family: var(--title);
  font-weight: 700
}

.blockreassurance_product .item-product {
  margin-right: 0.3rem;
  height: 60px;
  width: 60px;
}

.blockreassurance_product .item-product img, .blockreassurance_product .item-product svg {
  height: 45px;
  width: 45px;
}

body#checkout section.checkout-step {
  box-shadow: var(--shadow)
}


body#checkout .additional-information {
    font-size: .875rem;
    margin-left: 2.875rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

body#checkout .additional-information p {
  color: var(--vert);
}

#order-confirmation #registration-form {
  margin-top: 2rem;
}

#content-hook_order_confirmation {
  margin-bottom: 2rem; 
}

/*


pages Mon compte 


*/

.page-my-account #content .links a {
  font-family: var(--title);
  font-size: 0.9rem;
  text-transform: none
}
.page-my-account #content .links a span.link-item {
  box-shadow: var(--shadow)
}

.page-customer-account #content, .page-addresses .address, .page-customer-account #content {
  box-shadow: var(--shadow)
}


/* PAGE DES CATEGORIES */

#subcategories {
  padding: 1rem;
}

.subcategory-heading {
  color: black;
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem
}

#subcategories ul {
  
}

.subcategory-item {
  /*! border: 1px solid black; */
  display: block;
  float: left;
  margin-right: 3rem;
  margin-bottom: 1rem;
}

.subcategory-item a {
  color: black;
}

.subcategory-item a:hover {
  color: #2fb5d2;
}


/* MEDIA QUERIES */

@media (min-width:576px) {
 .container {
  width:95%;
  max-width:100%
}

}

@media(max-width:767px) {
  .col-sm-4 {
    float: left;
    width: 0%;
    display: none
  }
  .col-sm-8 {
    width: 100%
  }
  .everblock{
    padding: 1rem;
  }

  #top-menu {
    text-align: left;
  }

  #products .thumbnail-container {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
  }
}


@media (min-width:768px) {
   .container {
    width:95%;
    max-width:100%
  }
}

@media (min-width:992px) {
   .container {
    width:95%;
    max-width:100%
  }
}

@media (min-width:1200px) {
  .container {
    width:95%;
  }
}