/* TOTAL Tools Tunisie – « Mon catalogue » + pastille ISO 9001 */
:root { --tt-teal: #00737A; --tt-teal-dark: #005c62; --tt-orange: #F28C28; }

/* En-tête : bouton Mon catalogue */
.tt-cat-head { display: inline-flex; align-items: center; gap: 7px; margin-right: 14px; padding: 8px 14px; border-radius: 30px;
  background: var(--tt-teal) !important; color: #fff !important; font-weight: 600; font-size: 13px; line-height: 1; white-space: nowrap; }
.tt-cat-head:hover { background: var(--tt-orange) !important; color: #fff !important; }
.tt-cat-head svg { flex: 0 0 auto; }
.tt-cat-head-m { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--tt-teal) !important; }
.tt-cat-dot { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--tt-orange);
  color: #fff; font-size: 10px; font-weight: 700; line-height: 17px; text-align: center; }

/* Fiche produit : bouton sous la photo */
.tt-cat-add { margin: 16px 0 8px; text-align: center; }
.tt-cat-add-btn { display: flex; text-transform: none !important; box-shadow: none !important; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 46px; padding: 10px 18px;
  border: 1px solid var(--tt-teal) !important; border-radius: 6px; background: var(--tt-teal) !important; color: #fff !important; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .15s, border-color .15s; }
.tt-cat-add-btn:hover { background: var(--tt-orange) !important; border-color: var(--tt-orange) !important; color: #fff !important; }
.tt-cat-add-btn.is-in { background: #fff !important; color: var(--tt-teal) !important; }
.tt-cat-add-btn.is-in small { margin-left: 6px; font-weight: 400; text-decoration: underline; opacity: .75; }
.tt-cat-add-btn.is-in:hover { background: #fff !important; border-color: #c0392b !important; color: #c0392b !important; }
.tt-cat-add-link { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--tt-teal); text-decoration: underline; }

/* Page Mon catalogue */
.tt-cat-virtual { padding: 40px 15px 60px; }
.tt-cat-title { margin-bottom: 24px; }
.tt-cat-app { margin: 10px 0 40px; }
.tt-cat-loading { color: #777; }
.tt-cat-empty { max-width: 560px; margin: 30px auto; padding: 36px 24px; border: 1px dashed #c9d6d8; border-radius: 10px; text-align: center; color: #555; }
.tt-cat-empty svg { width: 42px; height: 42px; color: var(--tt-teal); margin-bottom: 10px; }
.tt-cat-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: 8px 8px 0 0; background: #f1f6f7; font-size: 14px; }
.tt-cat-all { margin: 0; cursor: pointer; font-weight: 600; }
.tt-cat-sum { color: #555; }
.tt-cat-list { margin: 0; padding: 0; list-style: none; border: 1px solid #e2e9ea; border-top: 0; border-radius: 0 0 8px 8px; }
.tt-cat-item { display: grid; grid-template-columns: 34px 76px 1fr auto 40px; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid #e2e9ea; }
.tt-cat-item:first-child { border-top: 0; }
.tt-cat-check { margin: 0; display: flex; justify-content: center; }
.tt-cat-check input, .tt-cat-all input { width: 18px; height: 18px; accent-color: var(--tt-teal); }
.tt-cat-thumb img { display: block; width: 76px; height: 76px; object-fit: contain; border: 1px solid #eef2f3; border-radius: 6px; background: #fff; }
.tt-cat-name { display: block; font-weight: 600; color: #222; line-height: 1.35; }
.tt-cat-name:hover { color: var(--tt-teal); }
.tt-cat-sku { display: block; margin-top: 4px; font-size: 12px; color: #888; }
.tt-cat-price { font-weight: 700; color: var(--tt-teal); white-space: nowrap; }
.tt-cat-del { width: 36px; height: 36px; padding: 0; border: 0 !important; border-radius: 50%; background: transparent !important; color: #999 !important; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tt-cat-del:hover { background: #fdecea !important; color: #c0392b !important; }
.tt-cat-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.tt-cat-btn { display: inline-flex; text-transform: none !important; box-shadow: none !important; align-items: center; gap: 8px; min-height: 46px; padding: 10px 22px; border: 1px solid var(--tt-teal) !important; border-radius: 6px;
  background: var(--tt-teal) !important; color: #fff !important; font-weight: 600; font-size: 15px; cursor: pointer; }
.tt-cat-btn:hover { background: var(--tt-orange) !important; border-color: var(--tt-orange) !important; }
.tt-cat-btn[disabled] { opacity: .5; cursor: not-allowed; }
.tt-cat-btn.is-busy { opacity: .8; cursor: progress; }
.tt-cat-clear { background: #fff !important; color: var(--tt-teal) !important; }
.tt-cat-clear:hover { background: #fff !important; border-color: #c0392b !important; color: #c0392b !important; }
.tt-cat-toast { position: fixed; left: 50%; bottom: 24px; z-index: 99999; transform: translateX(-50%); padding: 12px 18px; border-radius: 6px; background: #222; color: #fff; font-size: 14px; }
@media (max-width: 600px) {
  .tt-cat-item { grid-template-columns: 26px 60px 1fr 34px; gap: 10px; padding: 12px; }
  .tt-cat-thumb img { width: 60px; height: 60px; }
  .tt-cat-price { grid-column: 3; grid-row: 2; }
  .tt-cat-del { grid-column: 4; grid-row: 1; }
  .tt-cat-actions .tt-cat-btn { flex: 1 1 100%; justify-content: center; }
}

/* Pastille ISO 9001 */
.tt-iso-flex { display: flex !important; align-items: center; gap: 14px; }
.tt-iso-head { display: block; flex: 0 0 auto; line-height: 0; }
.tt-iso-head img { width: 54px; height: 54px; border-radius: 50%; }
.tt-iso-foot { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 22px 15px; border-top: 1px solid rgba(255,255,255,.18); text-align: left; }
.tt-iso-foot img { width: 84px; height: 84px; flex: 0 0 auto; border-radius: 50%; }
.tt-iso-foot strong { display: block; color: #fff; font-size: 15px; }
.tt-iso-foot span { display: block; margin-top: 3px; color: rgba(255,255,255,.75); font-size: 13px; }
@media (max-width: 575px) { .tt-iso-foot img { width: 68px; height: 68px; } }

.tt-cat-intro { margin: 0 0 16px; color: #555; }
.tt-cat-intro strong { color: var(--tt-teal); }
