
html {
  margin: 0 !important;
}

body {
  overflow-y: scroll;
}

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


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

.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: 0;
  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 1rem 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: #eee !important;
}

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

#top-search:hover {}

#top-search:focus, #top-search:active {}

#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;
  right: 60px;
  z-index: 1;
  top: 3px;
  display: inline-block;
  margin-bottom: 0;
  border-radius: 100%;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
  background:#FFFFFF;
  width: 34px;
  height: 34px;
}
*/

.btn-edit-profile {
  border: 0;
  padding: 0 !important;
}


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

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

.btnCon:hover {
  background: #115EA3 !important;
  border: 1px solid #222 !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
{
  object-fit: cover;
  background: #EEE;
  /*filter: blur(10px);*/
  /*transition: filter 0.3s ease-in-out;*/
}

/*
.imgListCreation.loaded,
.imgPageProfil.loaded,
.imgprofil.loaded,
.profileImageTopbar.loaded
{
  filter: blur(0);
}
*/




.imgPageProfil {
  max-width: 100px;
  max-height: 100px;
  width: 100px;
  height: 100px;
}







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


.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: 24px;
  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;
  font-size: 14px;
  color: #000;
}

.custom-btn {
  background: #2198d0;
  border: 1px solid #2198d0;
  font-size: 15px;
}
.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: #2198d0;
  border-color: #2198d0;
}

.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;
  font-weight: bold;
  font-size: 16px;
}

.custom-title-categorie{
  font-size: 15px;
}

.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) {
  .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: 20px !important;
    color: #000 !important;
    font-weight: bold;
  }

  .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: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-bottom: 0px solid #EEE;
    border: 1px solid #EEE;
    background: #FFF !important;
  }
  */

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

  /* 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: #EEE;
    /*transform: translateX(5px);*/
  }

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

  .footable-pagination li a {
    border: 1px solid #DDD;
  }

  .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;
  }


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

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

.artistDetail-info span.separator {
  color: #fff;
  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%;   /* mieux si tu veux que ça s’adapte */
  max-height: 300px;
  object-fit: contain;

  max-width: 100%;
}

@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;
}
