/* Styles généraux */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
html {
    scroll-behavior: smooth;
}
body#index {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
/* Suppression des marges par défaut sur la page d'accueil */
body#index #wrapper {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    box-shadow: none;
    background: transparent;
}
body#index #wrapper .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}
body#index #wrapper .row {
    margin: 0;
}
body#index #content-wrapper {
    padding: 0;
}
body#index #content {
    padding: 0;
    margin: 0;
}

.right-nav {
    display: flex;
    gap: 15px;
}
.material-icons {
    font-size: 35px;
}
#wrapper {
    padding-top: 1.563rem;
    background: #ffffff00;
    min-height: 84vh;
}
h3,h4 {
    font-weight: 800;
}
.page-cms .breadcrumb, 
.page-cms .page-header{
    display: none;
}

.page-cms .container .row {
    margin-right: unset;
    margin-left: unset;
}

/* Layout principal */
.bbsoft-homepage-container {
    display: flex;
    min-height: 80vh;
}

/* Sidebar */
.bbsoft-sidebar {
    width: 250px;
    background-color: #1C5B6A;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bbsoft-logo-section {
    padding: 20px 0;
    text-align: center;
}

.bbsoft-logo {
    max-width: 180px;
}

.bbsoft-menu {
    margin-top: 2rem;
    position: fixed;
}

.menu-item {
    padding: 15px 0;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.menu-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-item.active {
    background-color: #0D3831;
}

/* Contenu principal */
.bbsoft-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
body#index #header {
    margin-bottom: 0;
}

.header-nav,
.header-top {
    background-color: white !important;
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
}
#header .header-top a[data-depth="0"] {
    color: #1C5B6A;
    font-weight: 600;
}
/* Contenu de la page d'accueil */
.barcode-image {
    max-width: 100%;
}
.barcode-image-container {
    position: relative;
    width: 250px;
    overflow: hidden;
}
.bbsoft-content {
    padding: 40px 60px 40px 10px;
}
.bbsoft-title {
    color: #F39300;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}
.bbsoft-subtitle {
    color: #F39300;
    font-size: 32px;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 30px;
}
.bbsoft-description p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}
.savoir-plus-container {
    margin: 30px 0;
}
.btn-savoir-plus {
    display: inline-block;
    padding: 12px 30px;
    background-color: white;
    border: 1px solid #0D3831;
    color: #0D3831;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-savoir-plus:hover {
    background-color: #1c5a6a87;
    color: white !important;
}
/* Palette de couleurs */
.color-palette {
    display: flex;
    margin-top: 80px;
    align-items: flex-end;
}
.color-sample {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    position: relative;
}
.color-code {
    position: absolute;
    bottom: -25px;
    font-size: 12px;
    width: 100%;
    text-align: center;
}
.font-info {
    margin-left: 40px;
}
.font-name {
    font-weight: bold;
}
.font-name-regular {
    font-weight: normal;
}
/* Styles du header pour la navigation principale */
#header .header-nav {
    border: none;
    max-height: none;
    margin-bottom: 0;
}
#header {
    background-color: white;
}
.top-menu a[data-depth="0"] {
    color: #1C5B6A;
    font-weight: bold;
    padding: 15px 20px;
}
/* Panier et compte utilisateur */
.user-info a,
.cart-preview .header {
    color: #1C5B6A;
}
/* Masquer les sections par défaut de la page d'accueil */
body#index .products-section-title,
body#index .featured-products,
body#index .banner,
body#index .custom-text,
body#index #footer {
    display: none !important;
}
/* Correction pour les problèmes de mode quirks */
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
/* Correction pour éviter les problèmes de marge */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}
/* Correction pour le footer */
body#index #footer {
    margin-top: 0;
}
.header-banner,
.header-nav,
.header-top
 {
    background: url('../img/header-background.jpg') no-repeat center center;
    background-size: cover;
}
.header-top{
    border-bottom: none;
}
#header .logo {
    max-width: 160px;
    margin-left: 1.5rem;
}
#header .header-top a,
.dropdown-item{
    color: white !important;
    font-weight: 400 !important;
}
#header .header-top {
    padding: 0.85rem !important;
}
.page-content.page-cms {
    padding: 0;
}
.bbsoft-menu a {
    color: white !important;
    display: flex;
    justify-content: end;
}
.footer-container {
    background-color: #1c5b6a;
    padding: 10px 0;
    color: white;
    text-align: center;
}
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.copyright {
    font-size: 14px;
}
.brand {
    font-weight: bold;
    font-size: 16px;
}
.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    margin-left: 10px;
}
.footer-links a:hover {
    text-decoration: underline;
}
.page-footer {
    display: none;
}
.anchor-link {
    padding: 10px;
    text-decoration: none;
    color: black;
    transition: color 0.3s;
}
.anchor-link.active {
    color: red;
    font-weight: bold;
}
.next-to {
    display: flex;
    align-items: center;
    min-height: 100vh;
    /* Aligne verticalement les éléments au centre */
}
.barcode-image-container {
    flex-shrink: 0;
    /* Empêche l'image de rétrécir */
    margin-right: 20px;
    /* Ajoute un espace entre l'image et le texte */
}
.bbsoft-content {
    flex-grow: 1;
    /* Permet au contenu de prendre l'espace restant */
}
  .logos {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 20px;
  }
  .logos img {
      width: 150px;
      height: auto;
  }
  .text {
      text-align: center;
      font-size: 1.2em;
      color: #333;
  }
  .button {
      margin-top: 20px;
  }
  .button button {
      padding: 10px 20px;
      font-size: 1em;
      color: #fff;
      background-color: #007BFF;
      border: none;
      border-radius: 5px;
      cursor: pointer;
  }
  .button button:hover {
      background-color: #0056b3;
  }
  .partner-image {
    max-width: 220px;
    margin: 1rem 2rem 2rem 0;
  }
  .bbsoft-container {
      font-family: Arial, sans-serif;
      max-width:1000px;
      margin: 0 auto;
      text-align: center;
  }
.bbsoft-container h1 {
  font-size: 2.5em;
  color: #F39300;
  text-align: left;
  max-width: 300px;
}
  .bbsoft-container p {
      font-size: 1.2em;
      color: #666;
      line-height: 1.6;
      text-align: left;
      max-width: 350px;
      margin: 2rem 0 3rem;
  }
  .bbsoft-container hr {
      border: 0;
      height: 1px;
      background: #ddd;
      margin: 20px 0;
  }
  .bbsoft-container h2 {
      font-size: 2em;
      color: #333;
      margin-bottom: 10px;
  }
  .step-container-grey,
  .step-container-blank {
      display: flex;
      max-width: 100%;
      margin: 0 auto;
      min-height: 120px;
      padding:2rem;
  }
  .step-container-grey {
    background-color: #ededed;
  }
.login-cart {
    position: absolute;
    right: 3rem;
}
.inside-step-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    gap: 30px;
}
.inside-step-container-text {
    display: flex;
    flex-direction: column;
}
.inside-step-container-text p {
    max-width: 600px;
}
.bootstrap-touchspin .group-span-filestyle .btn-touchspin,
.group-span-filestyle .bootstrap-touchspin .btn-touchspin,
.group-span-filestyle .btn-default,
.btn.btn-primary,
.product-flags li.product-flag {
    background: #2d7373 !important;
}
a{
    color: #2d7373 !important;
}
a:hover,
#header .top-menu a[data-depth="0"]:hover{
    color: #858585 !important;
}
#left-column {
    display: none;
}
.page-category #content-wrapper {
    width: 100%;
    margin: 0 auto;
}
.inside-step-container-text p {
    color: black;
}
.menu-item.anchor-link {
    border-bottom: 1px solid white;
    width: 210px;
    margin-bottom: 2rem;
}
.page-contact #content-wrapper {
    width: 100% !important;
    margin: 0 auto;
}
.contact-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    gap: 60px;
    margin-top:2rem;
}
.contact-right {
    width: 35%;
}
.contact-right p {
    color: black;
}
.contact-left h4,
.contact-right h3
{
    color: #F39300;
}
.class-name div:nth-of-type(3) {
    display: flex;
    justify-content: center;
    margin: 2rem;
}

.contact-img {
    display: flex;
    justify-content: center;
    margin: 2rem;
}

.contact-img img {
    width: 30%;
}
.footer-content p {
    margin: 0;
    color: white;
}
.footer-links a {
    color: white !important;
}
.contact-right h3 {
    width: 80%;
    font-size: 25px;
    margin-bottom: 15px;
}
.breadcrumb {
    display: none;
}
#js-product-list-top {
    display: none;
}
.contact-form {
    max-width: 1200px;
    margin: 0 auto;
}
.main-catalog {
    max-width: 1200px;
    margin: auto;
}
#category-description h1 {
    font-size:3rem;
    font-weight: 700;
}
.card-block.category-additional-description h2 {
    font-weight: 400;
    max-width: 800px;
}
.pagination {
    display: none;
}

#mobile_top_menu_wrapper {
    background-color: #1c5a6a19;
}

.brand img {
    max-width: 100px;
}

/* // Rajout modif bootstrap  */

.bootstrap-touchspin .group-span-filestyle .btn-touchspin,
.group-span-filestyle .bootstrap-touchspin .btn-touchspin,
.group-span-filestyle .btn-default,
.btn.btn-primary,
.product-flags li.product-flag {
    background: #2d7373 !important;
    color: white !important;
}

/* au dessus de 768  */
  @media (min-width: 768px) { 
      .row {
          margin-right: 0;
          margin-left: 0;
      }
  }
/* au dessus de 992 */
  @media (max-width: 992px) {
    #header .header-top {
            padding: 2rem 0 !important;
        }
        .hidden-md-up.text-sm-center.mobile.menu-responsive {
            display: flex;
            justify-content: space-evenly;
        }
        #menu-icon {
            position: absolute;
            right: 0;
        }
        #_mobile_user_info {
            position: absolute;
            right: -2.25rem;
            top: -3px;
        }
      .bbsoft-homepage-container {
          flex-direction: column;
      }
      .bbsoft-sidebar {
          width: 100%;
          order: 2;
      }
      .bbsoft-main-content {
          order: 1;
      }
      .bbsoft-content {
          padding: 20px;
      }
    .next-to {
        min-height: unset;
    }
      .barcode-image-container {
        display: none;
      }
      #references section:nth-of-type(1) {
        display: none;
      }
    .login-cart {
        width: 100%;
    }
    .bbsoft-container {
        max-width: 90%;
        margin: 0 25px;
    }
    .inside-step-container {
        flex-direction: column;
    }

    .step-container-grey,
    .step-container-blank {
        padding: 1.5rem;
        text-align: center;
    }
    .category-informations {
        max-width: 90%;
        margin: 0 auto;
    }

    #category-description h1 {
        font-size: 2.5rem;
        font-weight: 600;
    }

    .contact-wrapper {
        max-width: 90%;
        margin: 0 auto;
        flex-direction: column;
    }
    .contact-left {
        width: 100%;
        font-size: 1.2rem;
    }
    .contact-left h4 {
        font-size: larger;
    }
    .contact-right {
        width: 100%;
    }
    .row {
        margin-right: 0;
        margin-left: 0;
    }
  }