@font-face {
  font-family: "Kegilka";
  src:
    url("police/Kegilka.otf") format("opentype"),
    url("police/Kegilka.ttf") format("truetype"),
    local("Kegilka");
  font-display: swap;
}

@font-face {
  font-family: "Eyesome Script";
  src: local("Eyesome Script"), local("EyesomeScript");
  font-display: swap;
}

@font-face {
  font-family: "TEX GYRE TERMES";
  src: local("TeX Gyre Termes"), local("TEX GYRE TERMES"), local("TexGyreTermes");
  font-display: swap;
}

:root {
  --mh-bg: #f3f3ee;
  --mh-surface: #f3f3ee;
  --mh-card: #ffffff;
  --mh-text: #1a1a1a;
  --mh-muted: #746b5f;
  --mh-primary: #caa34c;
  --mh-primary-dark: #000000;
  --mh-accent: #d1c4b2;
  --mh-border: rgba(209, 196, 178, 0.6);
  --mh-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --mh-bottom-nav-h: 70px;
}

body {
  font-family: "TEX GYRE TERMES", "Times New Roman", serif;
  background: linear-gradient(180deg, var(--mh-surface) 0%, var(--mh-bg) 100%);
  color: var(--mh-text);
  min-height: 100dvh;
  padding-bottom: calc(var(--mh-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

.app-header {
  background: linear-gradient(110deg, #c9bca9 0%, #bfae95 45%, #caa34c 100%);
  color: #2a241f;
  box-shadow: var(--mh-shadow);
  border-bottom: 1px solid rgba(143, 116, 65, 0.35);
}

.app-header h1,
h1,
h2,
h3,
h4,
h5,
h6,
.nav-link {
  font-family: "Kegilka", "TEX GYRE TERMES", "Times New Roman", serif;
  letter-spacing: 0.02em;
}

.mh-bnav-item,
.mh-bnav-item span,
.btn-data-menu {
  font-family: "Kegilka", "TEX GYRE TERMES", "Times New Roman", serif;
}

.app-header h1 {
  font-size: 2.05rem;
  color: #000000;
}

.app-header .text-muted {
  color: rgba(47, 42, 36, 0.74) !important;
  font-family: "Eyesome Script", "Kegilka", "TEX GYRE TERMES", "Times New Roman", serif;
  letter-spacing: 0.01em;
}

.brand-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.24));
}

.brand-fallback {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(243, 243, 238, 0.94);
  color: #8f7441;
  font-weight: 700;
  font-size: 1.2rem;
}

.nav-pills .nav-link {
  background: rgba(243, 243, 238, 0.95);
  color: #1d1d1d;
  border: 1px solid #d1c4b2;
  border-radius: 999px;
  font-size: clamp(0.8rem, 1.35vw, 1.02rem);
  padding: 0.42em 0.95em;
}

.nav-pills .nav-link.active {
  background: linear-gradient(120deg, #000000, #3a3328);
  border-color: #000000;
  color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.mh-header-nav .nav-link {
  border: none;
  background: transparent;
  color: rgba(0, 0, 0, 0.85);
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  font-size: 0.95rem;
}

.mh-header-nav .nav-link:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #000000;
}

.mh-header-nav .nav-link.active {
  background: rgba(0, 0, 0, 0.2);
  color: #000000;
}

.mh-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--mh-bottom-nav-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(243, 243, 238, 0.98);
  border-top: 1px solid #d1c4b2;
  z-index: 1030;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  box-shadow: 0 -4px 22px rgba(43, 36, 33, 0.08);
}

.mh-bnav-item {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--mh-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mh-bnav-item i {
  font-size: 1.2rem;
  line-height: 1;
}

.mh-bnav-item.active {
  color: #000000;
}

.mh-bnav-item:active {
  background: rgba(202, 163, 76, 0.16);
}

@media (max-width: 575.98px) {
  .app-header .container {
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
  }

  .app-header-main {
    min-width: 0;
    flex: 1 1 auto;
    gap: 0.55rem !important;
  }

  .app-header-main > div:last-child {
    min-width: 0;
  }

  .app-header h1 {
    font-size: 1.45rem;
    line-height: 1;
  }

  .app-header .text-muted {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-logo,
  .brand-fallback {
    width: 62px;
    height: 62px;
  }

  .header-data-menu {
    flex: 0 0 auto;
  }

  .btn-data-menu {
    font-size: 0.75rem;
    padding: 0.22rem 0.46rem;
    border-radius: 8px;
    line-height: 1.15;
    white-space: nowrap;
  }
}

.tab-section {
  display: none;
}

.tab-section.active {
  display: block;
}

.chart-box {
  position: relative;
  min-height: 280px;
}

.kpi-card {
  background: var(--mh-card);
  border: 1px solid var(--mh-border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 4px 14px rgba(43, 36, 33, 0.05);
}

.kpi-label {
  margin: 0;
  color: var(--mh-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.kpi-value {
  margin: 0.25rem 0 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: #000000;
}

.card {
  border: 1px solid var(--mh-border);
  border-radius: 16px;
  background: var(--mh-card);
  box-shadow: 0 4px 14px rgba(43, 36, 33, 0.05);
}

.catalog-card {
  border: 1px solid var(--mh-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #faf8f4);
  padding: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

#catalogPreview .catalog-card {
  border-color: #dfd3c1;
}

.catalog-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #e7ddce;
  margin-bottom: 0.7rem;
}

.catalog-count {
  font-size: 0.72rem;
  color: var(--mh-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.presta-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.presta-item {
  border: 1px solid #ebe1d2;
  border-radius: 10px;
  background: #fff;
  padding: 0.55rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.presta-main {
  min-width: 0;
}

.presta-name {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.2;
  color: #222;
}

.presta-price {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #000;
}

.presta-actions {
  display: flex;
  gap: 0.35rem;
}

.presta-item:hover {
  background: #fcfaf7;
  border-color: #dccdb8;
}

#serviceAmountDisplay[readonly] {
  background: #f5f1e8;
  font-weight: 600;
}

#tab-services .table tbody tr:hover {
  background: #faf7f2;
}

#tab-services .card h3.h6,
#tab-services .card h2.h5 {
  letter-spacing: 0.03em;
}

.btn-service-save {
  min-width: 220px;
  width: auto;
  padding: 0.5rem 1rem;
}

@media (max-width: 991.98px) {
  .btn-service-save {
    width: 100%;
    min-width: 0;
  }
}

#operationsSwitcher .nav-link {
  font-size: clamp(0.68rem, 1.05vw, 0.84rem);
  padding: 0.32em 0.55em;
  text-align: center;
  white-space: nowrap;
  min-width: 0;
  line-height: 1.15;
}

#operationsSwitcher .nav {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

@media (min-width: 768px) {
  #operationsSwitcher .nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  #operationsSwitcher .nav-link {
    font-size: clamp(0.62rem, 2.7vw, 0.72rem);
    padding: 0.28em 0.45em;
  }
}

.stock-card {
  border: 1px solid var(--mh-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.stock-thumb-wrap {
  position: relative;
}

.stock-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f2ede4;
  display: block;
}

.stock-thumb--empty {
  display: grid;
  place-items: center;
  color: #8b7d68;
  font-size: 1.4rem;
}

.stock-thumb-status-badge {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  backdrop-filter: blur(2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

.stock-thumb-status-badge--ok {
  color: #1f4630;
  background: rgba(214, 242, 224, 0.94);
  border-color: rgba(75, 146, 104, 0.45);
}

.stock-thumb-status-badge--low {
  color: #6e4a10;
  background: rgba(255, 238, 196, 0.95);
  border-color: rgba(202, 163, 76, 0.58);
}

.stock-thumb-status-badge--out {
  color: #7d2c25;
  background: rgba(255, 224, 220, 0.95);
  border-color: rgba(184, 92, 82, 0.62);
}

.stock-card-body {
  padding: 0.85rem;
}

.stock-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stock-section {
  border-top: 1px solid #e9dfd0;
  padding-top: 0.6rem;
  margin-top: 0.55rem;
}

.stock-section-title {
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6f6454;
  margin: 0 0 0.35rem;
}

.stock-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
}

.stock-kv-label {
  display: block;
  font-size: 0.82rem;
  color: #6f6454;
}

.stock-kv-value {
  display: block;
  font-size: 1rem;
  color: #111;
}

.stock-flow {
  border-top: 1px solid #eee3d4;
  padding-top: 0.45rem;
}

.stock-flow-value {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
}

.stock-kv-grid-span {
  grid-column: 1 / -1;
}

.stock-kv-grid-span .stock-kv-label {
  font-size: 0.78rem;
  font-style: italic;
}

.stock-sale-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: flex-end;
}

.stock-sale-field {
  flex: 1 1 140px;
  min-width: 120px;
}

.stock-sale-field--qty {
  flex: 0 1 110px;
  max-width: 130px;
}

.stock-sale-label {
  display: block;
  font-size: 0.72rem;
  color: #6f6454;
  margin-bottom: 0.15rem;
}

/* Panneau alertes stock (remplace les alertes Bootstrap) */
.stock-alert-panel {
  border-radius: 14px;
  border: 1px solid rgba(209, 196, 178, 0.85);
  background: linear-gradient(165deg, #fffefb 0%, #faf6ef 48%, #f3ebe0 100%);
  box-shadow: 0 4px 18px rgba(43, 36, 33, 0.06);
  overflow: hidden;
}

.stock-alert-panel__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: rgba(202, 163, 76, 0.12);
  border-bottom: 1px solid rgba(209, 196, 178, 0.65);
}

.stock-alert-panel__head-icon {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: #8a6d3a;
  font-size: 0.9rem;
}

.stock-alert-panel__head-title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c5346;
}

.stock-alert-panel__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0.6rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.stock-alert-item {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  border: 1px solid transparent;
}

.stock-alert-item__glyph {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 10px;
  font-size: 0.96rem;
}

.stock-alert-item__body {
  min-width: 0;
}

.stock-alert-item__title {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #2a241f;
  margin-bottom: 0.12rem;
  letter-spacing: 0.02em;
}

.stock-alert-item__msg {
  font-size: 0.8rem;
  line-height: 1.38;
  color: #5c5346;
}

.stock-alert-item__msg strong {
  color: #1f1c18;
  font-weight: 600;
}

.stock-alert-item--rupture {
  background: rgba(255, 248, 245, 0.95);
  border-color: rgba(196, 120, 108, 0.35);
  box-shadow: inset 3px 0 0 0 #b85c52;
}

.stock-alert-item--rupture .stock-alert-item__glyph {
  background: rgba(184, 92, 82, 0.12);
  color: #9a3d35;
}

.stock-alert-item--low {
  background: rgba(255, 252, 245, 0.98);
  border-color: rgba(202, 163, 76, 0.4);
  box-shadow: inset 3px 0 0 0 #caa34c;
}

.stock-alert-item--low .stock-alert-item__glyph {
  background: rgba(202, 163, 76, 0.18);
  color: #8a6d2e;
}

.journal-grid--stock {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-journal-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.journal-card {
  border: 1px solid #e7ddce;
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem;
}

.journal-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.journal-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1d1d1d;
}

.journal-sub {
  font-size: 0.84rem;
  color: #6f6454;
}

.journal-actions {
  display: flex;
  gap: 0.4rem;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem 0.65rem;
  align-items: start;
}

.journal-cell {
  min-width: 0;
}

.journal-grid span {
  display: block;
  font-size: 0.72rem;
  color: #6f6454;
  line-height: 1.2;
}

.journal-grid strong {
  display: block;
  font-size: 0.88rem;
  color: #111;
  line-height: 1.25;
  word-break: break-word;
}

.journal-supplements {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(209, 196, 178, 0.9);
}

.journal-supplements-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6f6454;
  margin: 0;
}

.journal-supplements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.journal-supplements-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #333;
  padding: 0.15rem 0;
  border-bottom: 1px solid rgba(231, 221, 206, 0.7);
}

.journal-supplements-list li:last-child {
  border-bottom: none;
}

.journal-sup-name {
  flex: 1;
  min-width: 0;
}

.journal-sup-amt {
  flex-shrink: 0;
  font-weight: 600;
  color: #1a1a1a;
}

.journal-supplements-total {
  color: #5f5648;
}

.empty-journal {
  border: 1px dashed #d8c9b4;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  color: #6f6454;
}

@media (max-width: 767.98px) {
  .journal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem 0.35rem;
  }

  .journal-grid--stock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-grid .journal-cell-total {
    grid-column: 1 / -1;
  }

  .journal-grid--stock .journal-cell-total {
    grid-column: 1 / -1;
  }

  .journal-grid span {
    font-size: 0.68rem;
  }

  .journal-grid strong {
    font-size: 0.82rem;
  }
}

.table {
  --bs-table-bg: transparent;
}

.table > :not(caption) > * > * {
  border-bottom-color: #e6ddd1;
}

.table thead th {
  color: #59544d;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.depense-note {
  display: inline-block;
  max-width: min(26ch, 100%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #5f5648;
  font-size: clamp(0.72rem, 1vw, 0.82rem);
}

.depense-note-trigger {
  border: none;
  cursor: pointer;
}

.depense-note-trigger:hover,
.depense-note-trigger:focus-visible {
  filter: brightness(0.96);
  outline: 2px solid rgba(202, 163, 76, 0.35);
  outline-offset: 1px;
}

.form-control,
.form-select {
  border-color: #d1c4b2;
  border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(202, 163, 76, 0.66);
  box-shadow: 0 0 0 0.2rem rgba(202, 163, 76, 0.18);
}

.btn-primary {
  background: linear-gradient(120deg, #000000, #2f2a22);
  border: 1px solid #000000;
  border-radius: 10px;
  font-weight: 600;
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(120deg, #1a1a1a, #000000);
  color: #fff;
}

.mh-journal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  font-size: clamp(0.74rem, 1.1vw, 0.9rem);
}

.mh-journal-btn i {
  line-height: 1;
}

.mh-journal-btn--icon {
  width: 2.2rem;
  height: 2.2rem;
  justify-content: center;
  padding: 0;
}

.badge-soft {
  background: #efe8dc;
  color: #6b5940;
  border: 1px solid #d1c4b2;
}

/* Liste cliente au-dessus des champs voisins (evite le melange visuel avec Categorie / "Soins" etc.) */
#modalServiceSale .modal-body {
  overflow-x: visible;
}

.mh-client-field-col {
  position: relative;
  z-index: 40;
}

.mh-client-combo-inner {
  position: relative;
  z-index: 41;
}

.mh-service-meta-col {
  position: relative;
  z-index: 1;
}

.mh-client-suggest {
  z-index: 1080;
  top: 100%;
  left: 0;
  margin-top: 0.125rem;
  max-height: 240px;
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid var(--mh-border);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.mh-client-suggest .list-group-item {
  cursor: pointer;
  border-color: rgba(209, 196, 178, 0.45);
  font-size: 0.92rem;
  background-color: #fff !important;
}

.mh-client-suggest .list-group-item.active,
.mh-client-suggest .list-group-item:hover {
  background-color: rgba(202, 163, 76, 0.2) !important;
}

/* Badges depenses : couleur stable par type (index 0-11) */
.mh-dep-badge {
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.4em 0.65em;
  border-radius: 8px;
  border: 1px solid transparent;
}

.mh-dep-badge--0 {
  background: #e8e4dc;
  color: #3d3428;
  border-color: rgba(61, 52, 40, 0.2);
}
.mh-dep-badge--1 {
  background: #ede6d8;
  color: #5c4a32;
  border-color: rgba(202, 163, 76, 0.35);
}
.mh-dep-badge--2 {
  background: #dfe8e4;
  color: #2d4a3e;
  border-color: rgba(45, 74, 62, 0.25);
}
.mh-dep-badge--3 {
  background: #e8e0ec;
  color: #4a3552;
  border-color: rgba(74, 53, 82, 0.2);
}
.mh-dep-badge--4 {
  background: #ebe3d6;
  color: #6b4e1a;
  border-color: rgba(202, 163, 76, 0.4);
}
.mh-dep-badge--5 {
  background: #e0e8f0;
  color: #2c3d52;
  border-color: rgba(44, 61, 82, 0.25);
}
.mh-dep-badge--6 {
  background: #f0e8e0;
  color: #5c3d28;
  border-color: rgba(92, 61, 40, 0.2);
}
.mh-dep-badge--7 {
  background: #e5ebe8;
  color: #354038;
  border-color: rgba(53, 64, 56, 0.22);
}
.mh-dep-badge--8 {
  background: #eee8dc;
  color: #4a4030;
  border-color: rgba(74, 64, 48, 0.25);
}
.mh-dep-badge--9 {
  background: #e4e0f5;
  color: #3a3560;
  border-color: rgba(58, 53, 96, 0.2);
}
.mh-dep-badge--10 {
  background: #ecf0e4;
  color: #3d4a2a;
  border-color: rgba(61, 74, 42, 0.22);
}
.mh-dep-badge--11 {
  background: #f2e8dc;
  color: #5a3d22;
  border-color: rgba(202, 163, 76, 0.35);
}

.mh-service-sup-checks {
  max-height: 200px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.65);
}

.catalog-sup-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
  border: 1px solid rgba(209, 196, 178, 0.75);
  border-radius: 12px;
  padding: 0.8rem 0.85rem 0.75rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.catalog-sup-card:hover {
  border-color: rgba(202, 163, 76, 0.75);
  transform: translateY(-1px);
}

.catalog-sup-card-kicker {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a7f70;
}

.catalog-sup-card-title {
  font-family: "TEX GYRE TERMES", "Times New Roman", serif;
  color: var(--mh-text);
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 600;
}

.catalog-sup-card-price {
  display: inline-block;
  font-weight: 700;
  color: #1f1f1f;
  font-size: 0.86rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(202, 163, 76, 0.16);
  border: 1px solid rgba(202, 163, 76, 0.35);
}

.catalog-sup-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.catalog-sup-card-actions .btn {
  border-radius: 8px;
}

.catalog-sup-card-actions .btn-outline-dark {
  font-size: 0.76rem;
  line-height: 1.15;
  padding: 0.2rem 0.45rem;
}

.client-card-line {
  font-size: 0.8rem;
  color: #5c5346;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.supplement-sale-card {
  background: linear-gradient(165deg, #ffffff 0%, #faf7f1 55%, #f6f1e8 100%);
  border: 1px solid rgba(209, 196, 178, 0.78);
  border-radius: 12px;
  padding: 0.85rem 0.9rem 0.75rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.supplement-sale-card:hover {
  border-color: rgba(202, 163, 76, 0.65);
  box-shadow: 0 6px 18px rgba(43, 36, 33, 0.08);
  transform: translateY(-1px);
}

.supplement-sale-card-kicker {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a7f70;
  margin: 0 0 0.35rem;
}

.supplement-sale-card-client {
  font-weight: 600;
  font-family: "TEX GYRE TERMES", "Times New Roman", serif;
  font-size: 0.92rem;
  line-height: 1.28;
  color: var(--mh-text);
  margin: 0 0 0.45rem;
}

.supplement-sale-card-date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #6f6454;
  margin-bottom: 0.55rem;
  text-transform: capitalize;
}

.supplement-sale-card-date i {
  font-size: 0.85rem;
  opacity: 0.85;
}

.supplement-sale-card-article {
  flex: 1 1 auto;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #4a4338;
  margin: 0 0 0.65rem;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(231, 221, 206, 0.95);
}

.supplement-sale-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.35rem;
  border-top: 1px dashed rgba(209, 196, 178, 0.65);
}

.supplement-sale-card-price {
  display: inline-block;
  font-weight: 700;
  font-size: 0.86rem;
  color: #1a1a1a;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(202, 163, 76, 0.18);
  border: 1px solid rgba(202, 163, 76, 0.38);
}

.supplement-sale-card-del {
  border-radius: 8px;
  padding: 0.25rem 0.45rem;
  line-height: 1;
}

.supplement-sale-empty {
  border: 1px dashed rgba(209, 196, 178, 0.95);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  text-align: center;
  color: #6f6454;
  font-size: 0.88rem;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.55);
}



