
/* ================================================================
   BELLEO — PRESTATIONS SAAS V3
   Lisibilité, hiérarchie et cohérence catalogue / carte
   ================================================================ */

.service-tree-card,
.service-builder,
.catalogue-page {
  --service-border: #eadfd5;
  --service-soft: #fbf6f1;
  --service-soft-strong: #f6eee7;
  --service-text: #33251d;
  --service-muted: #7d6a5e;
  --service-brand: #98552d;
  --service-danger: #b94c40;
}

/* ------------------------------------------------
   EN-TÊTE DE LA CARTE
   ------------------------------------------------ */

.service-tree-card {
  border-radius: 26px;
  border-color: var(--service-border);
  box-shadow: 0 18px 50px rgba(72, 42, 25, .055);
}

.service-tree-main-head {
  padding: 28px 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(171, 101, 59, .08), transparent 32%),
    #fff;
}

.service-tree-main-head h2 {
  margin-top: 6px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
}

.service-tree-main-head p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.6;
}

.service-tree-main-head .btn {
  min-height: 48px;
  padding-inline: 18px;
  border-radius: 14px;
  font-size: 14px;
}

/* ------------------------------------------------
   FAMILLES
   ------------------------------------------------ */

.service-tree-families {
  gap: 20px;
  padding: 20px;
}

.service-family-card {
  border-radius: 22px;
  border-color: var(--service-border);
  background: var(--service-soft);
  box-shadow: 0 10px 30px rgba(70, 40, 22, .035);
}

.service-family-head {
  padding: 22px 24px;
  background:
    linear-gradient(135deg, #fff, #fbf4ed);
}

.service-family-head > div:first-child > span,
.service-type-head > div:first-child > span {
  font-size: 11px;
  letter-spacing: 1.2px;
}

.service-family-head h3 {
  margin-top: 6px;
  font-size: clamp(29px, 3vw, 37px);
  line-height: 1.05;
}

.service-family-head p {
  margin-top: 7px;
  font-size: 13px;
}

.service-family-actions,
.service-type-actions {
  gap: 10px;
}

.service-family-actions .btn,
.service-type-actions .btn {
  min-height: 42px;
  padding-inline: 14px;
  border-radius: 13px;
  font-size: 13px;
}

/* ------------------------------------------------
   TYPES / GAMMES
   ------------------------------------------------ */

.service-family-types {
  gap: 14px;
  padding: 16px;
}

.service-type-card {
  border-radius: 18px;
  border-color: var(--service-border);
  box-shadow: 0 10px 24px rgba(67, 39, 23, .035);
}

.service-type-head {
  padding: 17px 18px;
  background: #fffdfb;
}

.service-type-head h4 {
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.3;
}

.service-inline-editor > summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--service-border);
  border-radius: 12px;
  background: #fff;
  color: #68554a;
  font-size: 13px;
  font-weight: 800;
}

.service-inline-editor > summary:hover {
  background: var(--service-soft);
  color: var(--service-brand);
}

.service-inline-editor form {
  width: 330px;
  padding: 14px;
  border-radius: 16px;
}

.service-inline-editor form .input {
  min-height: 46px;
  font-size: 14px;
}

/* ------------------------------------------------
   LIGNES DE PRESTATIONS
   ------------------------------------------------ */

.service-tree-service > summary {
  grid-template-columns: 15px minmax(0, 1fr) auto auto;
  min-height: 82px;
  gap: 15px;
  padding: 15px 18px;
  transition:
    background .16s ease,
    box-shadow .16s ease;
}

.service-tree-service > summary:hover {
  background: #fffaf6;
  box-shadow: inset 4px 0 0 rgba(152, 85, 45, .24);
}

.service-tree-service[open] > summary {
  background: var(--service-soft);
}

.service-tree-dot {
  width: 13px;
  height: 13px;
  box-shadow: 0 0 0 6px rgba(166, 101, 60, .11);
}

.service-tree-copy strong {
  font-size: 15.5px;
  line-height: 1.35;
}

.service-tree-copy small {
  margin-top: 6px;
  color: var(--service-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.service-tree-service .badge {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.service-tree-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.service-tree-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--service-border);
  border-radius: 11px;
  background: #fff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform .14s ease,
    background .14s ease,
    border-color .14s ease;
}

.service-tree-action:hover {
  transform: translateY(-1px);
}

.service-tree-edit {
  color: var(--service-brand);
  background: #fff8f2;
  border-color: #e8d3c2;
}

.service-tree-duplicate {
  color: #5f5148;
}

.service-tree-duplicate:hover {
  color: var(--service-brand);
  border-color: #dcbda7;
  background: #fffaf6;
}

.service-tree-archive {
  color: var(--service-danger);
  border-color: #ecd4cf;
  background: #fffafa;
}

.service-tree-archive:hover {
  color: #963d34;
  background: #fff1ef;
  text-decoration: none;
}

/* ------------------------------------------------
   PANNEAU DE MODIFICATION
   ------------------------------------------------ */

.service-tree-editor {
  padding: 20px;
  background: #fbf7f3;
}

.service-tree-editor .field-label {
  font-size: 12px;
}

.service-tree-editor .input,
.service-tree-editor .select {
  min-height: 47px;
  font-size: 14px;
}

.service-tree-editor .btn {
  min-height: 44px;
  font-size: 13px;
}

.service-tree-editor .danger-link {
  font-size: 13px;
}

/* ------------------------------------------------
   CONSTRUCTEUR GUIDÉ
   ------------------------------------------------ */

.service-builder {
  border-radius: 26px;
  border-color: var(--service-border);
  box-shadow: 0 18px 50px rgba(72, 42, 25, .055);
}

.service-builder-head {
  padding: 25px 27px;
}

.service-builder-head h2 {
  font-size: clamp(31px, 4vw, 41px);
}

.service-builder-head p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.65;
}

.service-builder-draft {
  padding: 8px 11px;
  font-size: 10.5px;
}

.service-builder-path {
  min-height: 46px;
  font-size: 13px;
}

.service-builder .field-label {
  font-size: 12.5px;
}

.service-builder .field small {
  margin-top: 7px;
  font-size: 11.5px;
}

.service-builder-level {
  padding: 18px;
  border-radius: 18px;
}

.service-builder-number {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.service-builder .input,
.service-builder .select {
  min-height: 48px;
  font-size: 14px;
}

.service-builder-services {
  border-radius: 19px;
}

.service-builder-services-head {
  padding: 17px 18px;
}

.service-builder-services-head strong {
  font-size: 14px;
}

.service-builder-services-head p {
  margin-top: 5px;
  font-size: 11.5px;
}

.service-builder-services-head .btn {
  min-height: 43px;
  font-size: 13px;
}

.service-builder-row {
  grid-template-columns:
    30px
    minmax(210px, 1.7fr)
    minmax(125px, .58fr)
    minmax(125px, .58fr)
    minmax(145px, .72fr)
    38px;
  gap: 11px;
  padding: 13px;
  border-radius: 15px;
}

.service-builder-row-index {
  width: 28px;
  height: 28px;
  font-size: 10px;
}

.service-builder-foot p {
  font-size: 12px;
}

.service-builder-foot .btn {
  min-height: 47px;
  font-size: 14px;
}

/* ------------------------------------------------
   CATALOGUE BELLEO
   ------------------------------------------------ */

.catalogue-page {
  gap: 18px;
}

.catalogue-page .catalogue-hero {
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(70, 40, 23, .045);
}

.catalogue-page .catalogue-hero h2 {
  font-size: clamp(34px, 4vw, 48px);
}

.catalogue-page .catalogue-hero p {
  font-size: 14px;
}

.catalogue-trade-list span {
  padding: 7px 11px;
  font-size: 12px;
}

.catalogue-kpis div {
  min-height: 74px;
  border-radius: 17px;
}

.catalogue-kpis strong {
  font-size: 30px;
}

.catalogue-kpis span {
  font-size: 12px;
}

.catalogue-toolbar {
  padding: 17px;
  border-radius: 19px;
}

.catalogue-search input,
.catalogue-toolbar select {
  font-size: 14px;
}

.catalogue-toolbar .btn {
  min-height: 46px;
  font-size: 13px;
}

.catalogue-selection-bar {
  padding: 15px 17px;
  border-radius: 17px;
}

.catalogue-selection-bar strong {
  font-size: 14px;
}

.catalogue-selection-bar span {
  margin-top: 3px;
  font-size: 11.5px;
}

.catalogue-selection-bar .btn {
  min-height: 42px;
  font-size: 12.5px;
}

.service-catalogue-grid {
  gap: 14px;
}

.service-catalogue-card {
  min-height: 255px;
  padding: 19px;
  border-radius: 19px;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    border-color .16s ease;
}

.service-catalogue-card:hover {
  transform: translateY(-2px);
  border-color: #d9bda8;
  box-shadow: 0 15px 34px rgba(70, 40, 23, .075);
}

.catalogue-card-body > strong {
  font-size: 16px;
  line-height: 1.45;
}

.catalogue-card-category {
  font-size: 12.5px;
  line-height: 1.5;
}

.catalogue-card-meta span {
  font-size: 11.5px;
}

.catalogue-card-trades i {
  font-size: 11px;
}

/* ------------------------------------------------
   TABLETTE ET MOBILE
   ------------------------------------------------ */

@media (max-width: 1050px) {
  .service-tree-service > summary {
    grid-template-columns: 15px minmax(0, 1fr) auto;
  }

  .service-tree-actions {
    grid-column: 2 / 4;
    justify-content: flex-start;
  }

  .service-builder-row {
    grid-template-columns: 30px minmax(180px, 1.4fr) repeat(3, minmax(110px, .7fr)) 38px;
  }
}

@media (max-width: 800px) {
  .service-tree-main-head,
  .service-family-head,
  .service-type-head {
    gap: 15px;
  }

  .service-tree-main-head {
    padding: 22px 20px;
  }

  .service-tree-families {
    padding: 13px;
  }

  .service-family-head {
    padding: 19px;
  }

  .service-family-types {
    padding: 11px;
  }

  .service-type-head {
    padding: 15px;
  }

  .service-family-actions,
  .service-type-actions {
    width: 100%;
  }

  .service-family-actions .btn,
  .service-type-actions .btn {
    flex: 1;
  }

  .service-tree-service > summary {
    grid-template-columns: 14px minmax(0, 1fr);
    padding: 16px;
  }

  .service-tree-service > summary .badge {
    grid-column: 2;
    justify-self: start;
  }

  .service-tree-actions {
    grid-column: 2;
    width: 100%;
    justify-content: flex-start;
  }

  .service-tree-action {
    min-height: 38px;
    font-size: 12px;
  }

  .service-tree-copy strong {
    font-size: 15px;
  }

  .service-tree-copy small {
    font-size: 12px;
  }

  .service-builder-form,
  .service-builder-head {
    padding: 19px;
  }

  .service-builder-row {
    grid-template-columns: 30px minmax(0, 1fr) 38px;
  }

  .service-catalogue-card {
    min-height: auto;
  }
}

/* ================================================================
   AJUSTEMENT FINAL — TYPOGRAPHIE ALIGNÉE AU RESTE DU SAAS
   ================================================================ */

.service-tree-main-head{
  padding:24px 26px;
}

.service-tree-main-head h2{
  font-size:clamp(28px,3vw,36px);
}

.service-tree-main-head p{
  margin-top:7px;
  font-size:12.5px;
  line-height:1.55;
}

.service-tree-main-head .btn{
  min-height:44px;
  padding-inline:16px;
  font-size:12px;
}

.service-family-head{
  padding:19px 21px;
}

.service-family-head > div:first-child > span,
.service-type-head > div:first-child > span{
  font-size:9.5px;
  letter-spacing:1px;
}

.service-family-head h3{
  margin-top:5px;
  font-size:clamp(24px,2.5vw,30px);
}

.service-family-head p{
  margin-top:6px;
  font-size:11.5px;
}

.service-family-actions .btn,
.service-type-actions .btn{
  min-height:39px;
  padding-inline:12px;
  font-size:11.5px;
}

.service-inline-editor > summary{
  min-height:38px;
  padding-inline:11px;
  font-size:11.5px;
}

.service-type-head{
  padding:15px 17px;
}

.service-type-head h4{
  margin-top:5px;
  font-size:14px;
}

.service-tree-service > summary{
  min-height:74px;
  padding:13px 16px;
}

.service-tree-copy strong{
  font-size:14px;
}

.service-tree-copy small{
  margin-top:5px;
  font-size:11.5px;
}

.service-tree-service .badge{
  min-height:31px;
  padding-inline:10px;
  font-size:10.5px;
}

.service-tree-action{
  min-height:34px;
  padding-inline:9px;
  font-size:11.5px;
}

.service-tree-editor{
  padding:17px;
}

.service-tree-editor .field-label{
  font-size:11px;
}

.service-tree-editor .input,
.service-tree-editor .select{
  min-height:44px;
  font-size:13px;
}

.service-tree-editor .btn,
.service-tree-editor .danger-link{
  font-size:12px;
}

.service-builder-head{
  padding:22px 24px;
}

.service-builder-head h2{
  font-size:clamp(28px,3.5vw,34px);
}

.service-builder-head p{
  margin-top:7px;
  font-size:12.5px;
}

.service-builder-draft{
  font-size:9.5px;
}

.service-builder-path{
  min-height:43px;
  font-size:12px;
}

.service-builder .field-label{
  font-size:11.5px;
}

.service-builder .field small{
  font-size:10.5px;
}

.service-builder .input,
.service-builder .select{
  min-height:45px;
  font-size:13px;
}

.service-builder-services-head strong{
  font-size:13px;
}

.service-builder-services-head p{
  font-size:10.5px;
}

.service-builder-services-head .btn,
.service-builder-foot .btn{
  min-height:41px;
  font-size:12px;
}

.service-builder-foot p{
  font-size:11px;
}

.catalogue-page .catalogue-hero{
  padding:25px;
}

.catalogue-page .catalogue-hero h2{
  font-size:clamp(30px,3.5vw,40px);
}

.catalogue-page .catalogue-hero p{
  font-size:13px;
}

.catalogue-trade-list span{
  padding:6px 9px;
  font-size:11px;
}

.catalogue-kpis div{
  min-height:66px;
}

.catalogue-kpis strong{
  font-size:26px;
}

.catalogue-kpis span{
  font-size:11px;
}

.catalogue-toolbar .btn,
.catalogue-selection-bar .btn{
  font-size:11.5px;
}

.catalogue-selection-bar strong{
  font-size:13px;
}

.catalogue-selection-bar span{
  font-size:10.5px;
}

.catalogue-card-body > strong{
  font-size:14.5px;
}

.catalogue-card-category{
  font-size:11.5px;
}

.catalogue-card-meta span,
.catalogue-card-trades i{
  font-size:10.5px;
}

@media(max-width:800px){
  .service-tree-main-head h2{
    font-size:29px;
  }

  .service-family-head h3{
    font-size:25px;
  }

  .service-tree-copy strong{
    font-size:13.5px;
  }

  .service-tree-action{
    font-size:11px;
  }
}


/* BELLEO MOBILE PRESTATIONS FINAL */

@media (max-width: 800px) {

  .service-tree-card,
  .service-family-card,
  .service-type-card,
  .service-tree-families,
  .service-family-types,
  .service-tree-service,
  .service-tree-service > summary,
  .service-tree-copy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .service-tree-card {
    overflow: hidden !important;
    border-radius: 18px !important;
  }

  .service-tree-main-head {
    padding: 19px 17px !important;
  }

  .service-tree-main-head h2 {
    font-size: 27px !important;
  }

  .service-tree-main-head p {
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  .service-tree-families {
    padding: 9px !important;
    gap: 12px !important;
  }

  .service-family-card {
    border-radius: 17px !important;
  }

  .service-family-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 17px 15px !important;
    gap: 13px !important;
  }

  .service-family-head h3 {
    font-size: 24px !important;
    line-height: 1.1 !important;
  }

  .service-family-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .service-family-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
    padding-inline: 9px !important;
    font-size: 11px !important;
  }

  .service-family-types {
    padding: 8px !important;
    gap: 10px !important;
  }

  .service-type-card {
    border-radius: 15px !important;
  }

  .service-type-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 13px !important;
    padding: 15px 13px !important;
  }

  .service-type-head h4 {
    font-size: 15px !important;
  }

  .service-type-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .service-type-actions .btn,
  .service-inline-editor > summary {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding-inline: 9px !important;
    font-size: 11px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .service-inline-editor form {
    width: min(310px, calc(100vw - 70px)) !important;
    max-width: calc(100vw - 70px) !important;
  }

  /*
   * Chaque prestation occupe maintenant une vraie ligne mobile :
   *
   * point | nom et informations
   *       | statut
   * actions sur toute la largeur
   */

  .service-tree-service > summary {
    display: grid !important;
    grid-template-columns: 14px minmax(0, 1fr) !important;
    grid-template-areas:
      "dot copy"
      ". status"
      "actions actions" !important;
    align-items: start !important;
    gap: 10px 12px !important;
    min-height: 0 !important;
    padding: 15px 13px !important;
    overflow: visible !important;
  }

  .service-tree-dot {
    grid-area: dot !important;
    align-self: start !important;
    margin-top: 5px !important;
  }

  .service-tree-copy {
    grid-area: copy !important;
    display: block !important;
    overflow: visible !important;
  }

  .service-tree-copy strong {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .service-tree-copy small {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 5px !important;
    overflow: visible !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    font-size: 11.5px !important;
    line-height: 1.55 !important;
  }

  .service-tree-service > summary > .badge {
    grid-area: status !important;
    justify-self: start !important;
    align-self: start !important;
    margin: 0 !important;
  }

  .service-tree-actions {
    grid-area: actions !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    width: 100% !important;
    max-width: none !important;
    gap: 7px !important;
    margin-top: 2px !important;
  }

  .service-tree-action,
  .service-tree-edit,
  .service-tree-duplicate,
  .service-tree-archive {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    padding: 0 6px !important;
    font-size: 10.5px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  .service-tree-editor {
    padding: 14px 12px !important;
  }

  .service-tree-editor .field-row,
  .service-tree-editor .field-row.three,
  .service-builder-grid,
  .service-builder-row {
    grid-template-columns: 1fr !important;
  }

  .service-tree-editor .option-check-grid {
    grid-template-columns: 1fr !important;
  }

  .service-builder-form,
  .service-builder-head {
    padding: 16px 14px !important;
  }

  .service-builder-level,
  .service-builder-services {
    padding: 13px !important;
  }

  .service-builder-row {
    display: grid !important;
    gap: 10px !important;
  }

  .service-builder-row-index,
  .service-builder-row-remove {
    justify-self: start !important;
  }
}

@media (max-width: 390px) {
  .service-tree-actions {
    gap: 5px !important;
  }

  .service-tree-action,
  .service-tree-edit,
  .service-tree-duplicate,
  .service-tree-archive {
    padding-inline: 4px !important;
    font-size: 10px !important;
  }
}


/* BELLEO PRESTATIONS AJOUT BAS ET ORDRE */

.service-builder-foot-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tree-hidden-form {
  display: none;
}

.service-tree-order {
  display: grid;
  grid-template-columns: repeat(2, 34px);
  gap: 5px;
  flex: 0 0 auto;
}

.service-tree-order-button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--b-line);
  border-radius: 10px;
  background: var(--b-surface);
  color: var(--b-ink);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition:
    border-color .15s ease,
    background .15s ease,
    transform .15s ease;
}

.service-tree-order-button:hover:not(:disabled) {
  border-color: var(--b-brand);
  background: var(--b-brand-pale);
  transform: translateY(-1px);
}

.service-tree-order-button:disabled {
  opacity: .28;
  cursor: not-allowed;
}

.service-publication-help {
  display: block;
  margin-top: 7px;
  color: var(--b-muted);
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .service-builder-foot {
    align-items: stretch;
  }

  .service-builder-foot-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .service-builder-foot-actions .btn {
    width: 100%;
  }

  .service-tree-order {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .service-tree-order-button {
    width: 100%;
    min-height: 38px;
  }
}


/* BELLEO ORDRE FAMILLES V2 */

.service-family-order {
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-family-order form {
  margin: 0;
}

.service-family-order-button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--b-line);
  border-radius: 10px;
  background: var(--b-surface);
  color: var(--b-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.service-family-order-button:hover:not(:disabled) {
  border-color: var(--b-brand);
  background: var(--b-brand-pale);
}

.service-family-order-button:disabled {
  opacity: .28;
  cursor: not-allowed;
}

@media (max-width: 800px) {
  .service-family-order {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .service-family-order form,
  .service-family-order-button {
    width: 100%;
  }

  .service-family-order-button {
    min-height: 40px;
  }
}


/* BELLEO BOUTONS ORDRE FAMILLES POLISH */

.service-family-order {
  gap: 9px !important;
  padding: 4px;
  border: 1px solid rgba(226, 216, 205, .82);
  border-radius: 14px;
  background: rgba(255, 253, 250, .72);
}

.service-family-order form {
  margin: 0 !important;
}

.service-family-order-button {
  min-height: 38px !important;
  padding: 0 12px !important;
  border-color: transparent !important;
  border-radius: 11px !important;
  background: var(--b-surface) !important;
  box-shadow:
    0 1px 2px rgba(51, 31, 18, .05),
    0 5px 13px rgba(51, 31, 18, .055);
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    color .15s ease,
    background .15s ease !important;
}

.service-family-order-button:hover:not(:disabled) {
  color: var(--b-brand-dark) !important;
  background: var(--b-brand-pale) !important;
  box-shadow:
    0 2px 5px rgba(51, 31, 18, .07),
    0 8px 18px rgba(164, 101, 61, .11);
  transform: translateY(-1px);
}

.service-family-order-button:active:not(:disabled) {
  transform: translateY(0);
}

.service-family-order-button:disabled {
  background: transparent !important;
  box-shadow: none;
  opacity: .3 !important;
}

@media (max-width: 800px) {
  .service-family-order {
    gap: 10px !important;
    padding: 5px;
  }

  .service-family-order-button {
    min-height: 42px !important;
  }
}
