
html {
  margin: 0 !important;
}

body {
  overflow-y: scroll;
}

.bg-custom {
  background: #f0f4f9;
}

.bg-custom-card {
  background: #e2e6eb;
}

html, body {
  margin: 0;
  padding: 0;
}

.hide-important {
    display: none !important;
}

.keep-inline {
    display: inline;
}

/* Navbar HOME – état initial */
body.home .navbar-home {
  background: transparent !important;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Liens en blanc sur la home */
body.home .navbar-home .nav-link,
body.home .navbar-home .open-artistes-btn,
body.home .navbar-home i,
body.home .navbar-home .prenom-text {
  color: #fff !important;
}

body.home .navbar-home .dropdown-item i,
body.home .navbar-home .dropdown-item span,
.dropdown-item i,
.dropdown-item span
{
    color: #000 !important;
}

body.home .navbar-home .dropdown-header i, body.home .navbar-home .dropdown-header span, .dropdown-header i, .dropdown-header span {
  color: #000 !important;
}

/* Logo si besoin */
body.home .navbar-home .logo-dark img {
  filter: brightness(0) invert(1); /* logo blanc */
}


.dropdown-item.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}


.menu-link.disabled,
button.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}



/* Bouton scroll */
.btn-scroll {
  background: transparent;
  border: none;
  color: white;
  font-size: 42px;
  cursor: pointer;
  animation: bounce 1.8s infinite;
  opacity: 0.85;
}

.btn-scroll:hover {
  opacity: 1;
}

/* Animation douce */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(8px);
  }
  60% {
    transform: translateX(-50%) translateY(4px);
  }
}













.swal2-modal .swal2-confirm {
  background-color: #555 !important;
  font-size: .875rem !important;
}

.swal2-popup {
  background-color: #000 !important;
  border-radius: .25rem;
}

.swal2-title {
  color: #fff !important;
}

.swal2-html-container {
    color: #fff;
}

.swal2-html-container p {
  color: #fff !important;
}

.swal2-popup .swal2-html-container {
  color: #fff !important;
}

@media (max-width: 767.98px) {
    .profile-dropdown {
        display: none !important;
    }
}

.custom-title-header {
  font-family: Google Sans,Roboto-Medium,HelveticaNeue-Medium,Helvetica Neue,sans-serif-medium,Arial,sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .3px;
  line-height: 24px;
  color: rgb(32,33,36);
  padding: 0 0 8px;
  margin: 0;
  white-space: normal;
}

.pb-15 {
  padding-bottom: 15px;
}

.paypal-button.paypal-button-shape-rect {
   border-radius: 25px !important;
 }

 .styleCart {
   background: #fff;
   border-radius: 8px !important;
   margin-bottom: 10px !important;
}



.btn-custom-resp {
    display: flex;                /* active le flex */
    align-items: center;          /* centre verticalement */
    justify-content: center;      /* centre horizontalement */
    height: 35px;
    min-height: 35px;
    max-height: 35px;
    padding: 0 1rem;             /* padding horizontal si nécessaire */
}

@media (max-width: 1381px) {
    .btn-custom-resp {
        height: 25px;
        min-height: 25px;
        max-height: 25px;
        font-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .btn-custom-resp {
        height: 35px;
        min-height: 35px;
        max-height: 35px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .btn-custom-resp {
        height: 45px;
        min-height: 45px;
        max-height: 45px;
        font-size: 1rem;
    }
}









.remove-item {
  position: absolute;
  top: 2px;
  right: 8px;

  width: 20px;
  height: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  line-height: 1;

  border-radius: 50%;
  background: transparent !important;
  color: crimson !important;
  font-size: 16px;
  border: 0 !important;
}


#wrapper {
  /*
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  */
  /*overflow-y: auto;*/
  -webkit-overflow-scrolling: touch;
}

.verified-badge-premium {
    background-color: #28a74533; /* vert clair transparent */
    color: #28a745; /* texte vert foncé */
    font-weight: 600;
    font-size: 0.85rem;
    padding: 3px 8px;
    border-radius: 12px; /* arrondi style pill */
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}

.verified-badge-premium svg {
    display: block;
    vertical-align: middle;
}

.verified-badge-animated {
  background-color: #000;
  color: #28a745;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-flex;          /* nécessaire pour align-items */
  align-items: center;           /* centre verticalement le contenu */
  justify-content: center;       /* centre horizontalement si besoin */
  gap: 5px;                      /* espace entre icône et texte */
  line-height: 1;                /* évite que le texte dépasse */
  vertical-align: middle;        /* au cas où c’est dans du texte */
  opacity: 0;
  transform: scale(0.8);
  animation: pop-in 0.4s ease-out forwards;
}



.verified-badge-animated svg.check-icon {
    display: inline-block;
    vertical-align: middle;
    transform: scale(0);
    animation: check-pop 0.4s ease-out forwards 0.2s;
}

.verified-badge-animated {
    padding: 0;
    top: 2px;
    right: 9px;
    background: #28a745;
    border-radius: 50%;
}

.verified-text {
    display: none;
}

.verified-badge-animated svg.check-icon {
    fill: #000; /* coche verte */
}

/* Masquer le texte sur mobile et garder juste le check */
@media (max-width: 768px) {
    .verified-badge-animated {
        padding: 0;
        top: 2px;
        right: 9px;
        background: #28a745;
        border-radius: 50%;
    }

    .verified-text {
        display: none;
    }

    .verified-badge-animated svg.check-icon {
        fill: #000; /* coche verte */
    }
}

/* Animations */
@keyframes pop-in {
    to { opacity: 1; transform: scale(1); }
}

@keyframes check-pop {
    to { transform: scale(1); }
}


.navbar-custom {
  /*position: fixed;*/
  top: 0; /* jamais env() ici */
  left: 0;
  right: 0;
  width: 100%;
  min-height: 55px;
  padding-top: env(safe-area-inset-top);
  box-sizing: border-box;
  transform: translateZ(0); /* optional pour iOS */
  transition: top 0.3s ease-in-out;
}

.content-page .content {
  padding-top: calc(0px + env(safe-area-inset-top)) !important;
}




#cart-count {
  position: absolute;
  top: -11px;
  right: -20px;
  background-color: red;
  color: white;
  font-size: 0.7rem;
  min-width: 18px;      /* taille minimum pour 1 chiffre */
  height: 18px;         /* hauteur fixe */
  padding: 0 6px;       /* largeur flexible pour 2+ chiffres */
  display: flex;         /* active Flexbox */
  align-items: center;   /* centre verticalement le texte */
  justify-content: center; /* centre horizontalement le texte */
  box-sizing: border-box;
}





.prenom-wrapper {
    display: inline-flex;
    align-items: center;
    max-width: 130px; /* Ajuste selon ton header */
}

.prenom-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    display: inline-block;
    line-height: 1; /* Évite un décalage vertical */
}

.chevron-fixed {
    margin-left: 4px;
    flex-shrink: 0; /* Ne jamais écraser l'icône */
    display: flex;
    align-items: center;
}


/*
.content-page .content {
  padding-top: calc(70px + env(safe-area-inset-top));
  box-sizing: border-box;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}
*/

body.authentication-bg {
  background-color: #eff3f8;
  background-size: cover;
  background-position: center;

}





.title {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #222;
  margin: 0;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}






body.no-scroll {
  overflow: hidden;
  padding-right: 15px;
}



.artist-info-btn{
  border: 0;
  background: transparent;
  padding: 0;
  color:#222;
  vertical-align: middle;
}

.cart-img-custom {
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .footer {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .cart-img-custom {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
  }
  .bg-white-mobile{
    background: #FFF !important;
  }
}


.footer {
  height: auto !important;
}


.button-list a {
  font-size: 30px
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}



.app-search-custom form span.search-icon {
  position: absolute;
  z-index: 4;
  font-size: 20px;
  line-height: 38px;
  left:14px;
  right: auto !important;
  top: 2px;
  z-index: 5;
  color: var(--ct-secondary);
}

/*
.logo-box {
  z-index: 9999;
}
*/
/*
.app-search{
  width: 350px;
}
*/
.app-search {
  min-width: 200px;
  max-width: 100%;
  flex-grow: 1;
}

.custom-logo-auth{
  background: transparent !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: auto !important;
}

.custom-logo-auth .logo-box{
  justify-content: left !important;
  height: auto !important;
  padding: 0 0 20px 0!important;
}

.cart-item:last-child {
  margin-bottom: 0 !important;
}

#like-btn {

}
#like-btn i {

}
#like-container {

}


.swal2-popup.swal2-toast {
  padding: 8px 5px !important;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px !important;
}

/*
.nav-user {
  padding: 0 !important;
}
*/

.shadow-custom{
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}




@media (min-width: 1400px) {
  html[data-layout-width="boxed"] .topbar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
  }
}


@media (max-width: 767.98px) {
  .page-title-box .page-title-right {
    display: inline-block !important;
  }
}

@media (min-width: 576px) {
  .dropdown-lg {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .show-until-xl {
    display: none !important;
  }
  #search-form {
    box-shadow: none;
  }
}







@media (max-width: 1199.98px) {

  body.no-scroll {
    overflow: hidden;
    padding-right: 0px;
  }




  .show-until-xl {
    display: inline-block;
  }
  .app-search-custom form span.search-icon {
    left: 72px;
    top: 7px;
  }


  .dropdown-menu .filter-active-type {
    background: transparent !important;
    color: crimson !important;
    border: 0px solid #000 !important;
    font-weight: bold;
  }

  /* Parent search-bar full screen */
  .app-search-custom.mobile-visible {
      position: fixed !important;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100vw !important;
      height: 100vh !important;
      display: block !important;
      background: white;
      z-index: 9999 !important;
      overflow: visible !important; /* pour que dropdown ne soit pas coupé */
  }

  /* Dropdown full height */
  .app-search-custom.mobile-visible #search-dropdown {
      display: block !important;
      position: absolute; /* détaché du flux pour remplir l’espace */
      top: 100%;           /* juste en dessous du form si besoin */
      left: 0;
      right: 0;
      bottom: 0;           /* descend jusqu’en bas */
      width: 100% !important;
      overflow-y: auto;    /* scroll si trop grand */
      -webkit-overflow-scrolling: touch; /* smooth scroll iOS */
      z-index: 10000;      /* plus haut que le parent */
      padding: 0 1rem 4rem 1rem;
  }
}

@media (max-width: 375px) {
  .navbar-custom .logo-box {
    display: flex !important;
  }
}

@media (max-width: 800px) {
  .d-cacher {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .modal-dialog{
    margin: 0 !important;
    height: auto;
  }

  .content, .navbar-custom {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.parsley-errors-list > li {
  font-size: 14px;
}

.app-search form .form-control {
  font-size: 16px;
  border: 1px solid transparent;
  background: #f0f4f9 !important;
}

.app-search form .form-control:hover,
.app-search form .form-control:active,
.app-search form .form-control:focus
{
  font-size: 16px;
  border: 1px solid #CCC !important;
}

#top-search {
  border: 1px solid transparent;
  border-radius: 25px;
}

#top-search:hover {
  border: 1px solid #eee;
}

#top-search:focus, #top-search:active {
  border-top-left-radius: 19px !important;
  border-top-right-radius: 19px !important;
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  border-bottom: 0 !important;
  border: 1px solid #ddd !important;
  background: #FFF !important;
}

#search-dropdown {
  border-radius: 0;
  top: 40px;
  max-height: 500px;
  overflow-y: auto;
}

#top-search.dropdown-open {
  border-top-left-radius: 19px !important;
  border-top-right-radius: 19px !important;
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  border-bottom: 1px solid #EEE;
  border: 1px solid #EEE;
  background: #FFF !important;
}

.max-width-450{
  max-width: 450px;
}

.form-check-input {
  border: 1px solid #CCC;
}

.swal2-popup.no-bg {
    background: none !important;
    box-shadow: none !important;
}

.breadcrumb-item.active {
  color: #999;
}

.sticky-toolbar {
  position: sticky;
  top: 69px;
  z-index: 9;
  background-color: inherit; /* ou la couleur de ton thème */
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 8px;
}

.btn-edit-profile {
  position: absolute;
  z-index: 15;
  margin-bottom: 0;
  border-radius: 100%;
  border: 0px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  color:#FFF;
  transition: all 0.2s ease-in-out;
  background:rgba(0,0,0,0.65);
  width: 34px;
  height: 34px;
  display: flex;            /* flex pour centrer l’icône */
  justify-content: center;  /* horizontal */
  align-items: center;      /* vertical */
}

.btn-edit-profile:hover {
    background: rgba(0,0,0,1);
}

#removeCoverBtn {
  position: absolute;
  right: 3px;
  bottom: 3px;
  z-index: 15;
  margin-bottom: 0;
  border-radius: 100%;
  border: 0px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  color:red;
  transition: all 0.2s ease-in-out;
  background:rgba(0,0,0,0.65);
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  padding: 0;
}

#removeCoverBtn:hover {
    background: rgba(0,0,0,1);
}




#removeAvatarBtn {
  position: absolute;
  left: 10px;
  bottom: 25px;
  z-index: 15;
  margin-bottom: 0;
  border-radius: 100%;
  border: 0px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  color:red;
  transition: all 0.2s ease-in-out;
  background:rgba(0,0,0,1);
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  padding: 0;
}

#removeAvatarBtn:hover {
    background: rgba(0,0,0,1);
}

.cover-position-camera {
  left: 8px;
  top: 8px;
}

.profile-position-camera {
  right: 0px;
  top: 10px;
}





.bg-royalblue {
  background-color: rgb(209, 221, 232) !important;
}

.border-radius {
  border-radius: 16px !important;
}

.btnCon:hover {
  background: #115EA3 !important;
  border: 1px solid transparent !important;
  color: #fff;
  transition: all 0.2s ease-in;
}

.btnCon {
  font-weight: 500;
  margin: 0;
  margin-top: 0px;
  background: #0F6CBD !important;
  border: 0 !important;
  border-radius: 4px;
  color: #FFF;
  border: 1px solid transparent !important;
  transition: all 0.2s ease-out !important;
}

.colorbtn-custom {
  color: #0F6CBD;
}

.posFixed{
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 25;
}
/*
.menu-link-files.active {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}
*/

.nav-user img {
  height: 38px;
  width: 38px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
}

.imgsearch{
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
  border-radius: 50% !important;
}

.imgprofil{
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
}




.imgListCreation,
.imgPageProfil,
.imgprofil,
.profileImageTopbar,
.imgArtistSearch
{
  object-fit: cover;
  background: #EEE;
}

/*
.imgPageProfil {
  display: inline-block;
  background: linear-gradient(135deg, #555555, #222222);
}
*/
.imgPageProfil {
  display: block;
  width: 100%;
  height: 150px;
  /*background: linear-gradient(135deg, #555555, #222222);*/
  object-fit: cover;
  background-color: #D5D5D5;
  color: transparent;
}

.profile-wrapper img {
  width: 120px;
  height: 120px;
  border: 3px solid white;
  object-fit: cover;
  background-color: #333;
  color: transparent;
}

#coverImage{
  background: #D5D5D5;
}





#row-count {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
#row-count.visible {
  opacity: 1;
}




#profileImageMenu{
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
}

.menu .menu-item .menu-link {
  padding: var(--ct-menu-link-padding-y) var(--ct-menu-link-padding-x) !important;
  padding-left: 0 !important;
}

.card {
  border-radius: 8px;
}

#result-message{
  padding: 10px 20px;
}

.hidden {
    display: none;
}

.mail-list a {
  color: var(--ct-body-color);
  padding: 2px 10px;
  display: block;
  font-size: 15px;
}

.form-floating > label {
  top:2px;
  padding-left: 0px;
}


.form-floating > .form-select {
  padding-left: 15px;
  cursor: pointer;
}



.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  background-color: #222;
}

.footable-pagination li.active a {
  color: #fff;
  background-color: #222;
  border-color:#222;
}

.btn-group-sm > .btn, .btn-sm {
  --ct-btn-padding-y: 0.2rem;
}

/* CSS personnalisé pour cacher les indicateurs de tri */
.footable-sort-indicator {
    display: none !important;
}

.page-title {
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #333;
}

.bold {
  font-weight: 600;
}

.card {
  margin-bottom: 0px;
  box-shadow: none !important;
}

.ql-editor {
  font-size: 14px;
  /*padding: 0;*/
}

.auth-brand {
  display: inline-block;
}

.logo-box .logo-lg, .logo-box .logo-sm {
  width: 80px;
  height: auto;
}

.logo-dark {
  display: flex !important;          /* active flex sur le lien */
  align-items: center;    /* centre verticalement les enfants */
  justify-content: center; /* optionnel : centre horizontalement */
  gap: 5px;               /* optionnel : espace entre images si besoin */
}

.logo-dark img {
  max-height: 50px; /* ajuste la hauteur maximale selon ton design */
  height: auto;
  width: auto;       /* conserve les proportions */
}


/*
.footer {
  background-color: transparent;
  height: 40px;
  box-shadow: none !important;
  padding: 0 12px;
}
*/


.logo_societe {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.menu-sidebar {
  border: none;
  background: transparent;
  font-size: 24px;
  color: #222;
}

.button-close-menu {
  position: absolute;
  right: 15px;
  top: 17px;
  z-index: 9999;
}



.button-toggle-menu {
  width: auto !important;
  padding: 0 0 0 0;
}



.swal2-content, .swal2-html-container {
  margin-top: 0 !important;
}


.custom-form-floating .form-control,
.custom-form-floating .form-select,
.custom-form-floating .form-control{
  /*border: 1px solid #CCC;*/
  border-width: 0px 0px 1px 0px !important;
  border-radius: 0;
  font-size: 14px;
  color: #000;
  padding-left: 3px;
}

.form-control.is-invalid:focus, .was-validated .form-control:invalid:focus,
.form-select.is-invalid:focus, .was-validated .form-select:invalid:focus
{
  box-shadow: none !important;
  outline: none;
}

.form-control.is-valid, .was-validated .form-control:valid,
.form-select.is-valid, .was-validated .form-select:valid
{
  box-shadow: none !important;
  outline: none;
}


.custom-btn {
  background: #2198d0;
  border: 1px solid #2198d0;
  font-size: 14px;
}
.custom-btn:hover {
  background: #1184bc;
  border: 1px solid #1184bc;
}
.custom-text-color {
  color: #0F6CBD !important;
}
.custom-size {
  font-size: 15px;
}
.menu .menu-item.menuitem-active > .menu-link {
  color: #222;
}
.menu .menu-item .menu-link.show, .menu .menu-item .menu-link:focus, .menu .menu-item .menu-link:hover, .menu .menu-item .menu-link[aria-expanded="true"] {}

.header-title {
  font-size: 14px;
  margin: 0 0 3px 0;
}

.custopBadge {
  font-size: 14px;
  line-height: 19px;
}
.badge {
  vertical-align: middle;
  background: #FFF;
}

.depuis{
  font-size: 12px;
  display: block;
  font-weight: bold;
}
.btn-group a {
  padding-right: 2px;
}

.color32383e{
  color: #32383e;
}

.form-control:hover, .form-control:focus, .form-control:active {
  border: 1px solid #2198d0;
}

.disabeled {
  /*
  border: 1px solid #F5F5F5 !important;
  background: #F5F5F5 !important;
  */
}

.user-box {}

html[data-sidenav-size="condensed"]:not([data-layout="horizontal"]) .app-menu .user-box {
  display: none;
}

.form-check-input:checked {
  background-color: #000;
  border-color: #000;
}

.empty_data {}

.empty_data div p {
  text-align: center;
}

.card-body {
  border: 0px solid #dee2e6;
  border-radius: 4px;
}

.alert {
  border: 0;
}

.list-group-item {
  /*background: #2097cf17;*/
}

.btn-custom {
  padding: 4px !important;
  line-height: 0 !important;
  float: none;
}

.img-wrapper img {
  display: block;
  width: 100%;
  height: auto; /* Hauteur auto selon image */
  filter: grayscale(100%) blur(8px);
  opacity: 0;
  transition: filter 1s ease, opacity 1s ease;
  border-radius: 4px;
}

.img-wrapper img.loaded {
  opacity: 1;
  filter: none;
  animation: none;
}

.artist-gallery.grid {
  /*display: grid;*/
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

/* Desktop — normal, en plusieurs lignes */
.artist-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

/* Mobile — scroll horizontal */
@media (max-width: 768px) {



  .artist-filters {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 0.3rem;
    padding-bottom: 0.3rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;       /* Firefox */
  }

  .artist-filters::-webkit-scrollbar {
    width: 0 !important;         /* Chrome/Safari */
    height: 0 !important;
  }

  .artist-gallery.grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .artist-filters button {
    flex: 0 0 auto;              /* Pas d’étirement */
    white-space: nowrap;         /* Pas de retour à la ligne */
  }
  .artist-filters button:hover {
    background: transparent !important;
    border: 1px solid #CCC !important;
    color: #000 !important;
  }
  .artist-filters button.active {
    background: #000 !important;
    border: 1px solid #000 !important;
    color: #FFF !important;
  }
}


@media (max-width: 994.98px) {
  .custom-d-none {
    display: none;
  }
}

.f-bold {
  font-weight: bold;
}



.filter-active-type {
  /*box-shadow: rgb(0, 0, 0) 0px 2px 0px, rgb(0, 0, 0) 0px 0px 0px 0px;*/
  background: #000 !important;
  color: #FFF !important;
  border: 1px solid #000 !important;
}

.filter-active-theme {
  background: #000 !important;
  color: #FFF !important;
  border: 1px solid #000 !important;
}



.navbar-custom .topbar .nav-link {
  color: #000 !important;
  height: 55px;
  /*font-size: 16px !important;*/
  /*font-weight: 600 !important;*/
}

.custom-text-black {
  color: #222 !important;
}

.active-menu {
    color: #000 !important;
    font-weight: 900;
    box-shadow: inset 0 -3px 0 0 #000;
}




.custom-title-artist{
  color: #000 !important;
}

.custom-title-categorie{
}

.custom-inner-search{
  font-size: 14px;
}

.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  animation: fadeIn 0.3s ease forwards;
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.8;
  }
}


@media (max-width: 575.98px) {
  #search-dropdown {
    width: auto !important;
  }

  #top-search {
    width: 99%;
  }
  .mtCustom{
    margin-top: 0 !important;
  }
}

.p-close-mobile-search {
  display: none;
}

@media (max-width: 1199.98px) {
  #top-search:hover, #top-search:focus, #top-search:active {
    border-top-left-radius: 19px !important;
    border-top-right-radius: 19px !important;
    border-bottom-left-radius: 19px !important;
    border-bottom-right-radius: 19px !important;
    border: 1px solid transparent !important;
  }

  .offcanvas.offcanvas-start {
    width: 100% !important;
    border:0;
  }

  .offcanvas.offcanvas-end {
    width: 100% !important;
    border:0;
  }

  .dropdown-item {
    padding: 5px 15px;
  }

  .dropdown-item:hover{
    background-color: transparent;
  }

  .filtersMobile{
    width:100%
  }

  .menu .menu-item .menu-link > .menu-icon {
    /*display: none;*/
    margin-right: 6px;
  }

  .menu .menu-item .menu-link > .menu-icon i {
    font-size: 22px !important;
    color: #222;
  }

  .menu .menu-item .menu-link > .menu-text {
    font-size: 18px !important;
    color: #000 !important;
    font-weight: 600;
  }

  .closeOffcanvasModal {
    top: 20px !important;
  }


  .offcanvas .logo-box {
    justify-content: left !important;
    padding-left: 12px !important;
  }

  .menu .menu-item .menu-link {
    padding-left: 4px;
  }




  .custom-border{
    border: 0px solid #ddd !important;
    padding: 0 !important;
    border-radius: 3px;
  }
  .custom-justify-center-50{
    justify-content: center !important;
    width: 50%;
  }
  .custom-ps-0{
    padding-right: .75rem !important;
    padding-left: .75rem !important;
  }

  .custom-border-right-mobile{
    border-right: 2px solid transparent !important;
  }

  .custom-border-left-mobile{
    border-left: 2px solid transparent !important;
  }

  .custom-pb{
    padding-bottom: 6px !important;
  }

  #price_min{
    margin-right: 0px !important;
  }

  #price_max{
    margin-left: 0px !important;
  }


  .filter-active-type {
    border-radius: 0;
    box-shadow: none !important;
    background: #EEE;
  }


  .app-search-custom {
    display: none !important;
    position: relative;
  }
  /*
  .app-search-custom.mobile-visible {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh !important;
    width: 100vw !important;
    display: block !important;
    background: white;
    z-index: 9999 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 !important;
    padding: 0 !important;
  }
  */

  .app-search-custom.mobile-visible {
      position: fixed !important;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100vw !important;
      height: 100vh !important;
      display: block !important;
      background: white;
      z-index: 9999 !important; /* au-dessus de la navbar */
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      margin: 0 !important;
      padding: 0 !important;
  }



  #search-dropdown {
    position: fixed !important;
    top: 0;
    left: 0 !important;
    right: 0 !important;
    bottom: 0;

    width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;

    background: white;
    z-index: 2000 !important;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    /* Gérer uniquement l’encoche */
    padding-top: calc(env(safe-area-inset-top) + 60px);
    padding-bottom: env(safe-area-inset-bottom, 0); /* ✅ supprime le vide */

    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* IMPORTANT : enlever effets du parent */
  .navbar-nav, .topnav-navbar, .navbar {
    overflow: visible !important;
  }

  #search-dropdown.mobile-visible {
    display: block !important;
  }






  .p-close-mobile-search {
    display: inline-block;
    padding: 3px !important;
    padding: 0 !important;
    margin: 0;
  }


#search-form {
  position: absolute;
  border-radius: 0;
  top: 0;
  padding: 6px 0 6px 0;
  background: #FFF;
  z-index: 999999;
  left: 0;
}

#close-mobile-search {
  z-index: 99999;
  position: relative;
  border: 0;
  background: transparent;
  width: 35px;
  margin-right: 23px;
  padding-left: 16px;
  color: #222;
}





  #top-search {
    margin-right: 10px !important;
  }

  #top-search, #top-search:active,#top-search:focus{
    margin: 0 auto;
    background: #eee !important;
  }

  #search-form .search-icon{
    /*display: none;*/
  }



  #mobile-search-toggle {
    /*display: inline-block !important;*/
  }
}

@media (min-width: 1200px) {
  #mobile-search-toggle {
    display: none !important;
  }

  .profile-dropdown {
    max-width: 250px;
  }
}

.navbar-custom .topbar li {
  list-style: none;
}

/* Empêche le cutoff du dropdown dans ce li */
.navbar-custom .topbar li:not(.app-search-custom) {
  max-height: var(--ct-topbar-height);
}

/* Permet au dropdown de s'afficher normalement */
.app-search-custom {
  position: relative;
  overflow: visible;
}



/* Par défaut (desktop) : pas de scroll horizontal */
/*
.theme-scroll-wrapper {
  overflow-x: visible;
}
*/
.theme-scroll-wrapper {
  position: relative;
}

.theme-scroll-inner {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}

.theme-scroll-inner::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.theme-arrow {
  position: absolute;
  z-index: 10;
  top: 42%;
  transform: translateY(-50%);
  background: transparent;
  color: #000;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.2s;
}

.theme-arrow:hover {
  /*background: rgba(255,255,255,0.35);*/
}

.left-arrow {
  left: -10px;
}

.right-arrow {
  right: -10px;
}

.theme-scroll-inner.dragging {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

.theme-scroll-inner {
  cursor: grab;
}



@media (max-width: 991.98px) {
  .theme-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }

  .theme-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
  }

  .theme-scroll-inner {
    display: flex;
    gap: 0.2rem;
    padding-inline: 1rem;
    width: max-content;
  }

  .theme-scroll-inner button {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

.theme-scroll-inner {
    display: flex;
    gap: 0.2rem;
    padding-inline: 1rem;
    /*width: max-content;*/
  }


.topbar {
  height: 55px;
}

.app-search-custom {
  position: relative;
}

#search-form {
  width: 100%;
}

#top-search {
  width: 100%;
}

#price_min{
  margin-right: 1px;
}

#price_max{
  margin-left: 1px;
}


.mb-custom {
  margin-bottom: 0px;
  margin-top: 5px;
}

.color-custom-muted {
  color: #888;
}

.custom-modal-artist {
  max-height: 100%;
  overflow: hidden;
  height: 100vh;
  background: #111;
  border-radius: 0;
}

.add-to-cart{
  cursor: pointer;
}

.added-to-cart {}

.item-block {
  display: block;width: 100%;
  border: 0.05em solid #F0F0F0;
}

.d-block:last-child .item-block {
  border: 0px;
}

.custom-delete-item {
  float: right;
  background: #EEE;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.simplebar-content{
  padding-top: 0 !important;
}




.closeOffcanvasModal {
  /*
  background-color: rgb(238, 238, 238);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px !important;
  top: 20px;
  position: absolute;
  right: 15px;
  font-size: 10px !important;
  color: #000 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  top: 20px;
  */
}

.offcanvas-header .btn-close {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.offcanvas-header .logo-box {
  height: auto !important;
}




.index-gallery-grid {
  display: grid;
  gap: 1rem; /* espace entre les cartes */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}


.index-gallery-grid .card {
  transition: transform 0.2s ease;
  margin-bottom: 0;
}
.index-gallery-grid .card:hover {
  transform: translateY(-4px);
}

.footer {
  background: transparent !important;
  position: static;
}



.empty-cart {
    text-align: center;
    padding: 60px 20px;
    /*background: linear-gradient(135deg, #f8f9fa, #ffffff);*/
    border-radius: 20px;
    /*
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    */
  }

  .empty-cart:hover {
    /*
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    */
  }

  .empty-cart span {
    display: block;
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
  }




  .artwork-detail-title {
      font-weight: 600;
      font-size: 1.4rem;
      position: relative;
      line-height: 1.3;
  }

  /* Fade-in des artistes */
  .artistes-content.opacity-0 {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .artistes-content.visible {
    opacity: 1;
  }

  .fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .fade-in.show {
    opacity: 1;
    transform: translateY(0);
  }



  .artistes-content li {
    padding: 9px 15px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease, transform 0.2s ease;
  }

  .artistes-content li:hover {
    background: #f0f4f9;
    /*transform: translateX(5px);*/
  }

  .pt-55 {
    padding-top: 55px !important;
  }

  .footable-pagination li a {
    border: 0px solid #DDD;
    border-radius: 50% !important;
    width: 34px;
    height: 34px;
  }

  .imgPageArtiste {
    max-width: 150px;
    max-height: 150px;
    width: 150px;
    height: 150px;
    object-fit: cover;
  }

  #like-btn, #like-artiste-btn {
    transition: transform 0.2s ease, background-color 0.2s;
  }

  #like-btn.pulse, #like-artiste-btn.pulse {
    transform: scale(1.2);
  }

  #like-btn:hover, #like-artiste-btn:hover {
    /*background-color: #f8f9fa;*/
  }



.profileInitialsArtist{
    width: 120px;
    height: 120px;
    border: 3px solid white;
    font-weight: bold;
    font-size: 38px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex; /* ⚡ flex pour centrer */
    justify-content: center; /* centrer horizontalement */
    align-items: center; /* centrer verticalement */
    background: linear-gradient(135deg, rgb(85, 85, 85), rgb(34, 34, 34));
    color: white;
    border-radius: 50%;
    z-index: 1;
    text-align: center; /* sécurité */
}




.imgBKGInitial, .initials-placeholder {
  background: linear-gradient(135deg, #555555, #222222);
  color: var(--ct-gray) !important;
  font-weight: bold !important;
}

.artistDetail-info {
    font-size: 0.9rem;
    color: #666;
}

.artistDetail-info span.separator {
  color: rgba(255,255,255,0.55);
  padding: 0 5px;
}

.filter-btn {
  border: 1px solid #CCC;
  color: #000;
  padding-top: 3px;
  padding-bottom: 4px;
}




/* Image oeuvre dans detail*/
.artwork-img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.artwork-img-exp {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 200px;
  /*height: 200px;*/
  object-fit: contain;
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .artwork-img {
    max-height: 350px;
  }
}

@media (min-width: 992px) {
  .artwork-img {
    max-height: 450px;
  }
}

.artwork-layout {
  max-width: 1200px;   /* ou 1000px selon ce que tu veux */
  margin: 0 auto;     /* centre la row */
}











.artwork-text-container {
  text-align: left; /* Desktop par défaut */
}

@media (max-width: 991.98px) {
  .artwork-text-container {
    text-align: center; /* Centrer sur mobile */
  }
}






.edition-min {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}




.dragging {
  cursor: grabbing !important;
  user-select: none;
}

.scroll-track img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.scroll-track * {
  -webkit-user-drag: none;
}


/*
.btn-favoris:hover i{
  color: #e74c3c;
}
*/

.btn-favoris.favoris-active i {
    color: #e74c3c; /* ou ta couleur de cœur favorite */
}



.swal-text-light {
  color: #ecf0f1 !important;
}



.custom-password {
  position: absolute;
  top: 20px;
  right: 8px;
  font-size: 12px;
  color: #CCC;
  background: rgba(255,255,255,0.7);
  padding: 2px 4px;
  border-radius: 3px;
  z-index:99;
  border: 0;
}










/* Search input artistes */
/* Conteneur relatif pour position absolute des icônes */
.search-wrapper-artist {
  position: relative;
  width: 100%;
}

/* Input style Facebook-like */
.search-input-artist {
  border-radius: 50px;             /* pill */
  padding: 0.5rem 2.5rem 0.5rem 2.5rem; /* espace pour icônes gauche et droite */
  font-size: 1rem;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: border-color 0.2s, box-shadow 0.2s;
}
/*
.search-input-artist:focus {
  border-color: #1877f2;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.25);
  outline: none;
}
*/

/* Icône loupe à gauche */
.search-icon-artist {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 1rem;
  pointer-events: none; /* pour ne pas bloquer le focus */
}

.search-input-artist:hover, .search-input-artist:focus, .search-input-artist:active {
  border: 1px solid #999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  outline: none;
}

/* Croix pour vider à droite */
#clear-artistes-search {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #888;
  cursor: pointer;
  display: none;  /* affichée via JS quand input a du texte */
  transition: color 0.2s, transform 0.2s;
}

#clear-artistes-search:hover {
  color: #ff3b3b;
  transform: translateY(-50%) scale(1.2);
}

/* Placeholder style */
.search-input-artist::placeholder {
  color: #aaa;
  opacity: 1;
}

.custom-select-artist .selectize-input {
  border-width: 0px 0px 0px 0px !important;
  font-size: 14px;
  background: #F0F4F9 !important;
  padding: 8px;
  color:#222;
}


.selectize-input {
  padding-left: 0px;
  border-width: 0px 0px 1px 0px !important;
  font-size: 16px;
}



.noborder .selectize-input {
  border-width: 0px 0px 0px 0px !important;
}

#description-counter{
  font-size: 10px;
  height: 15px;
  display: inline-block;
}

.btnDeconnect {
  background: #f0f4f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.1s ease;
}
/*
.btnDeconnect:hover {
  background: #e1e7ef;
  transform: translateY(-1px);
}

.btnDeconnect:active {
  transform: translateY(0);
}
*/

.dimensions-text {
  /*
    font-family: 'Roboto Mono', monospace !important;
    font-weight: 400;
    */
}
