/* ColoriModeTH — Bilingue TH (défaut) / EN + typographie adaptée au thaï */
html[data-lang="th"] [data-i18n-en]{display:none !important}
html[data-lang="en"] [data-i18n-th]{display:none !important}

body.colorimode-th{
  font-family:'IBM Plex Sans Thai','Sukhumvit Set','Thonburi','Leelawadee UI','Noto Sans Thai',system-ui,-apple-system,sans-serif;
}
html[data-lang="th"] body.colorimode-th,
html[data-lang="th"] body.colorimode-th *{
  letter-spacing:0 !important;
}
html[data-lang="th"] body.colorimode-th h1,
html[data-lang="th"] body.colorimode-th h2,
html[data-lang="th"] body.colorimode-th h3,
html[data-lang="th"] body.colorimode-th .cm-brand span,
html[data-lang="th"] body.colorimode-th .cm-profile-entry strong{
  font-family:'IBM Plex Sans Thai','Sukhumvit Set','Noto Sans Thai',sans-serif;
  line-height:1.3;
  text-wrap:balance;
}
html[data-lang="th"] body.colorimode-th h1{font-weight:700;line-height:1.22}
html[data-lang="th"] body.colorimode-th h2{font-weight:600;line-height:1.28}
html[data-lang="th"] body.colorimode-th h3{font-weight:600;line-height:1.34}
html[data-lang="th"] body.colorimode-th .cm-profile-entry strong{font-weight:600}
html[data-lang="th"] body.colorimode-th .cm-eyebrow{
  font-family:'IBM Plex Sans Thai','Sukhumvit Set',sans-serif;
  font-size:13px;
  font-weight:600;
  text-transform:none;
  margin-bottom:10px;
}
html[data-lang="th"] body.colorimode-th .cm-button,
html[data-lang="th"] body.colorimode-th .cm-text-link{
  font-weight:600;
}

/* Hiérarchie titre thaï 2 niveaux inspirée des retours natifs */
.cmth-h2-main{
  display:block;
  font-size:clamp(32px,4.2vw,44px);
  font-weight:700;
  line-height:1.2;
}
.cmth-h2-sub{
  display:block;
  font-size:clamp(19px,2.2vw,24px);
  font-weight:600;
  line-height:1.38;
  margin-top:4px;
  color:var(--cm-ink,#241e17);
}

/* Correctifs mobile & cartes (retours iPhone) */
.cm-home .cm-studio-hero-media{margin:0}
.cm-home .cm-studio-hero-media img{display:block;width:100%;height:auto;border-radius:3px}
.cm-home .cm-studio-hero-media figcaption{
  margin:8px 0 0;
  font-size:12px;
  line-height:1.5;
  color:var(--cm-muted,#6b6257);
}
a.cm-profile-entry,
a.cm-profile-entry *{
  text-decoration:none !important;
}
a.cm-profile-entry:hover strong{
  color:var(--cm-rust,#a3472e);
}
a.cm-season{
  text-decoration:none !important;
  color:inherit;
}
a.cm-season h3{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:6px;
}
@media(max-width:700px){
  body.colorimode-th .cm-season h3{
    font-size:17px;
    line-height:1.28;
    word-break:keep-all;
  }
}

.cmth-demo-bar{
  background:#1f1c19;
  color:#f6f1e7;
  text-align:center;
  font-size:12px;
  line-height:1.4;
  padding:6px 14px;
  letter-spacing:.02em;
}

.cmth-header-tools{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}

.cmth-lang-switch{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:999px;
  background:#fff;
  padding:2px;
  gap:2px;
}

.cmth-lang-btn{
  border:0;
  background:transparent;
  color:var(--cm-ink,#1f1c19);
  font:700 11px/1 system-ui,sans-serif;
  letter-spacing:.06em;
  padding:7px 10px;
  min-width:34px;
  min-height:30px;
  border-radius:999px;
  cursor:pointer;
  transition:background .15s ease,color .15s ease;
}

.cmth-lang-btn[aria-pressed="true"]{
  background:var(--cm-ink,#1f1c19);
  color:#fff;
}

.cmth-lang-btn:hover:not([aria-pressed="true"]){
  color:var(--cm-rust,#9a482e);
}

/* Moteur de recherche & fiches produits Thaïlande */
.cmth-search-wrap{margin:16px 0 36px}
.cmth-search-form{margin-bottom:14px}
.cmth-query-row{
  display:flex;
  gap:8px;
  align-items:stretch;
  margin-bottom:10px;
  max-width:100%;
  box-sizing:border-box;
}
.cmth-query-row input[type="search"]{
  flex:1 1 auto;
  min-width:0;
  width:100%;
  box-sizing:border-box;
  min-height:46px;
  padding:10px 14px;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:3px;
  background:#fff;
  color:var(--cm-ink,#1f1c19);
  font:inherit;
}
.cmth-search-submit{flex:0 0 auto;min-height:46px;padding:10px 18px;gap:6px}
.cmth-reset-btn{
  flex:0 0 auto;
  min-height:46px;
  padding:10px 14px;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:3px;
  background:#fff;
  color:var(--cm-ink,#1f1c19);
  font:600 13px/1.2 inherit;
  cursor:pointer;
}
.cmth-reset-btn:hover{border-color:var(--cm-ink,#1f1c19)}
.cmth-quick-chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0 0 12px;
}
.cmth-chip-btn{
  border:1px solid var(--cm-line,#d8cfc2);
  background:#fff;
  color:var(--cm-ink,#1f1c19);
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  cursor:pointer;
}
.cmth-chip-btn:hover{border-color:var(--cm-rust,#a3472e);color:var(--cm-rust,#a3472e)}
.cmth-active-chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0 0 12px;
}
.cmth-parsed-chip{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:#2f6f5f;
  color:#fff;
  font-size:12px;
  font-weight:600;
}
.cmth-empty-box{
  grid-column:1 / -1;
  padding:24px;
  background:#fff;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:4px;
  color:var(--cm-muted,#665d55);
}

/* Barre discrète & formulaire d'avis bilingue TH / EN */
.cmth-avis-bar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:80;
  background:#241e17;
  color:#f6f1e7;
  border-top:1px solid #493f34;
  box-shadow:0 -4px 18px rgba(0,0,0,.18);
}
.cmth-avis-bar-inner{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
  padding:10px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:13px;
  line-height:1.4;
}
.cmth-avis-bar-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.cmth-avis-bar-cta{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:3px;
  background:#a3472e;
  color:#fff !important;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
}
.cmth-avis-bar-cta:hover{background:#7e3421}
.cmth-avis-bar-close{
  border:1px solid rgba(255,255,255,.35);
  background:transparent;
  color:#f6f1e7;
  width:32px;
  height:32px;
  border-radius:3px;
  font-size:18px;
  line-height:1;
  cursor:pointer;
}
body.colorimode-th{padding-bottom:68px}
.cmth-avis-form{display:flex;flex-direction:column;gap:20px;max-width:780px}
.cmth-avis-card{
  background:#fff;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:4px;
  padding:20px;
  margin:0;
  min-width:0;
}
.cmth-avis-card legend{
  font-weight:700;
  font-size:15px;
  padding:0 8px;
  color:var(--cm-rust,#a3472e);
}
.cmth-avis-q{margin:14px 0 0}
.cmth-avis-label{display:block;font-weight:600;font-size:14px;margin:0 0 8px}
.cmth-avis-choices{display:flex;flex-direction:column;gap:8px}
.cmth-avis-choices.cmth-avis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cmth-avis-choices label{
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:10px 12px;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:3px;
  background:#faf6ef;
  font-size:14px;
  cursor:pointer;
}
.cmth-avis-form textarea,.cmth-avis-form input[type="text"]{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  padding:10px 12px;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:3px;
  font:inherit;
  background:#fff;
  color:var(--cm-ink,#1f1c19);
}
.cmth-avis-error{
  padding:12px 14px;
  border-left:3px solid #a3472e;
  background:#f8e8e3;
  color:#5b1f10;
  font-size:14px;
  font-weight:600;
}
.cmth-avis-confirm{
  padding:24px;
  background:#eef4f1;
  border:1px solid #2f6f5f;
  border-radius:4px;
  max-width:740px;
}
.cmth-avis-confirm h2{margin-top:0;font-size:24px}
@media(max-width:640px){
  .cmth-query-row{flex-wrap:wrap}
  .cmth-query-row input[type="search"]{flex:1 1 100%}
  .cmth-search-submit,.cmth-reset-btn{flex:1 1 calc(50% - 4px)}
  .cmth-avis-bar-inner{flex-direction:column;align-items:stretch;gap:8px;padding:10px 0}
  .cmth-avis-bar-actions{justify-content:space-between}
  .cmth-avis-choices.cmth-avis-grid{grid-template-columns:1fr}
  body.colorimode-th{padding-bottom:108px}
}
.cmth-filters{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  padding:16px;
  background:#faf6ef;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:4px;
  margin-bottom:20px;
  max-width:100%;
  box-sizing:border-box;
}
.cmth-filter-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:13px;
  font-weight:600;
  min-width:0;
  max-width:100%;
}
.cmth-filter-field select{
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
  min-height:42px;
  padding:8px 10px;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:3px;
  background:#fff;
  color:var(--cm-ink,#1f1c19);
  font:inherit;
  overflow:hidden;
  text-overflow:ellipsis;
}
.cmth-count-bar{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin:0 0 16px;
  font-size:13px;
  color:var(--cm-muted,#665d55);
}
.cmth-product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.cmth-product-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px;
  background:#fff;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:4px;
}
.cmth-product-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--cm-rust,#9a482e);
}
.cmth-product-swatch{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:500;
  color:var(--cm-muted,#665d55);
  text-transform:none;
  letter-spacing:0;
}
.cmth-product-swatch i{
  display:inline-block;
  width:16px;
  height:16px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.16);
}
.cmth-product-card h3{
  font-size:17px;
  line-height:1.35;
  margin:0;
}
.cmth-product-card p{
  font-size:13px;
  line-height:1.5;
  margin:0;
  color:var(--cm-muted,#665d55);
}
.cmth-product-meta{
  font-size:12px;
  color:var(--cm-ink,#1f1c19);
  margin-top:auto;
  padding-top:8px;
  border-top:1px solid #eee7dc;
}
.cmth-product-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:8px 14px;
  background:var(--cm-ink,#1f1c19);
  color:#fff !important;
  text-decoration:none;
  border-radius:3px;
  font-size:13px;
  font-weight:600;
}
.cmth-product-cta:hover{background:var(--cm-rust,#9a482e)}

.cmth-note-box{
  padding:14px 16px;
  background:#efe8db;
  border-left:3px solid var(--cm-green,#3d5a46);
  font-size:13px;
  line-height:1.55;
  margin:14px 0 20px;
}

@media(max-width:900px){
  .cmth-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  body.colorimode-th .cm-header-inner{
    width:calc(100% - 24px);
    min-height:70px;
    gap:8px;
  }
  body.colorimode-th .cm-brand{
    min-width:0;
    flex:1 1 auto;
    gap:6px;
  }
  body.colorimode-th .cm-brand img{
    width:34px;
    height:25px;
    flex:0 0 auto;
  }
  body.colorimode-th .cm-brand>span{
    font-size:17px;
    line-height:1.15;
    letter-spacing:-.02em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  body.colorimode-th .cm-brand small{
    display:none;
  }
  body.colorimode-th .cmth-header-tools{
    flex:0 0 auto;
    gap:6px;
    margin-left:0;
  }
  body.colorimode-th .cmth-lang-switch{
    padding:2px;
    gap:1px;
  }
  body.colorimode-th .cmth-lang-btn{
    padding:5px 8px;
    min-width:30px;
    min-height:30px;
    font-size:11px;
  }
  body.colorimode-th .cm-mobile-nav summary{
    padding:6px 4px;
    gap:5px;
    font-size:13px;
    white-space:nowrap;
    min-height:38px;
  }
}
@media(max-width:640px){
  .cmth-filters{grid-template-columns:1fr;padding:12px}
  .cmth-product-grid{grid-template-columns:1fr}
}
@media(max-width:360px){
  body.colorimode-th .cm-header-inner{
    width:calc(100% - 16px);
    gap:6px;
  }
  body.colorimode-th .cm-brand img{
    width:28px;
    height:21px;
  }
  body.colorimode-th .cm-brand>span{
    font-size:15px;
  }
  body.colorimode-th .cmth-lang-btn{
    padding:4px 6px;
    min-width:26px;
    min-height:28px;
    font-size:10px;
  }
  body.colorimode-th .cm-mobile-nav summary{
    padding:4px 2px;
    gap:4px;
    font-size:12px;
  }
}

/* Desktop home vertical rhythm (strictement >= 961px, mobile intact) */
@media(min-width:961px){
  .cm-home .cm-hero{
    padding:34px 0 30px;
    gap:44px;
  }
  .cm-home .cm-studio-hero-media{
    margin:0;
    width:100%;
    max-width:350px;
    justify-self:center;
  }
  .cm-home .cm-studio-hero-media img{
    display:block;
    width:100%;
    height:auto;
    border-radius:3px;
  }
  .cm-home .cm-studio-hero-media figcaption{
    margin:8px 0 0;
    font-size:11px;
    line-height:1.45;
    color:var(--cm-muted,#6b6257);
  }
  .cm-home .cm-section{
    padding-block:34px;
  }
  .cm-home .cm-section-heading{
    margin-bottom:20px;
  }
  .cm-home .cm-steps{
    margin-block:0;
  }
  .cm-home .cm-profile-entries{
    margin:0;
  }
  .cm-home .cm-section:has(> .cm-note){
    padding-block:24px;
  }
}
@media(min-width:1500px){
  .cm-home .cm-hero{
    padding-block:40px 34px;
  }
}

/* Fiche Shopping LINE (exemple concret sur téléphone) & Page Partenaire */
.cmth-sheet-demo{
  max-width:760px;
  margin:22px 0 32px;
  background:#fff;
  border:1px solid var(--cm-line,#d8cfc2);
  border-top:4px solid var(--cm-green,#2f6f5f);
  border-radius:6px;
  padding:22px;
  box-shadow:0 8px 24px rgba(36,30,23,.06);
  box-sizing:border-box;
}
.cmth-sheet-head{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px 16px;
  padding-bottom:14px;
  border-bottom:1px solid var(--cm-line,#d8cfc2);
  margin-bottom:16px;
}
.cmth-sheet-head h3{margin:4px 0 0;font-size:22px;line-height:1.3}
.cmth-sheet-badge{
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border-radius:999px;
  background:#eef4f1;
  color:#204d41;
  font-size:11px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.cmth-sheet-swatches{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 18px;
}
.cmth-sheet-swatches span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:999px;
  background:#faf6ef;
  font-size:12px;
}
.cmth-sheet-swatches i{
  display:inline-block;
  width:14px;
  height:14px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.15);
}
.cmth-sheet-items{
  list-style:none;
  padding:0;
  margin:0 0 18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.cmth-sheet-items li{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:8px 14px;
  padding:12px 14px;
  background:#faf6ef;
  border:1px solid #e6ddd0;
  border-radius:4px;
}
.cmth-sheet-item-main{min-width:0;flex:1 1 220px}
.cmth-sheet-item-main strong{display:block;font-size:14px;color:var(--cm-ink,#241e17)}
.cmth-sheet-item-main small{display:block;font-size:12px;color:var(--cm-muted,#6b6257);margin-top:2px}
.cmth-sheet-item-link{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:3px;
  background:var(--cm-ink,#241e17);
  color:#fff !important;
  text-decoration:none;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}
.cmth-sheet-item-link:hover{background:var(--cm-rust,#a3472e)}
.cmth-sheet-formulas{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:0 0 14px;
}
.cmth-sheet-formula{
  padding:12px 14px;
  background:#fffdf9;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:4px;
  font-size:13px;
  line-height:1.5;
}
.cmth-sheet-tip{
  margin:0;
  padding:12px 14px;
  background:#efe8db;
  border-left:3px solid var(--cm-rust,#a3472e);
  font-size:13px;
  line-height:1.55;
}
.cmth-line-builder{
  max-width:760px;
  margin:22px 0 32px;
  padding:20px;
  background:#fff;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:6px;
  box-sizing:border-box;
}
.cmth-line-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-bottom:14px;
}
.cmth-line-preview{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  padding:12px 14px;
  background:#f4f8f5;
  border:1px solid #c9dcd0;
  border-radius:4px;
  font:13px/1.55 inherit;
  color:#1f2e25;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;
  overflow-x:auto;
  margin:0 0 14px;
}
.cmth-studio-app a{overflow-wrap:anywhere;word-break:break-word}
.cmth-studio-app .cmth-avis-confirm{box-sizing:border-box;max-width:100%}
.cmth-line-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:11px 20px;
  border:0;
  border-radius:3px;
  background:#047835;
  color:#fff !important;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}
.cmth-line-btn:hover{background:#035c28}
.cmth-partner-highlight{
  padding:18px 20px;
  background:#eef4f1;
  border:1px solid #2f6f5f;
  border-left:4px solid #2f6f5f;
  border-radius:4px;
  margin:18px 0 24px;
  max-width:790px;
}
.cmth-role-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:18px 0 26px;
  max-width:860px;
}
.cmth-role-card{
  background:#fff;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:4px;
  padding:18px 20px;
}
.cmth-role-card h3{margin:4px 0 10px;font-size:20px}
.cmth-role-card ul{margin:0;padding-left:18px;font-size:14px;line-height:1.6}
@media(max-width:640px){
  .cmth-sheet-demo,.cmth-line-builder{padding:16px}
  .cmth-sheet-formulas,.cmth-line-grid,.cmth-role-grid{grid-template-columns:1fr}
}

/* Partner Studio Automation Tool (/studio-partenaire/) */
.cmth-studio-app{max-width:920px}
.cmth-pin-box{
  max-width:440px;
  padding:20px;
  background:#fff;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:4px;
}
.cmth-pin-box input[type="password"]{
  flex:1 1 auto;
  min-width:0;
  min-height:46px;
  padding:10px 12px;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:3px;
  font:inherit;
}
.cmth-studio-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0;
}
.cmth-tab-btn{
  border:1px solid var(--cm-line,#d8cfc2);
  background:#fff;
  color:var(--cm-ink,#241e17);
  padding:10px 14px;
  border-radius:3px;
  font:600 13px/1.2 inherit;
  cursor:pointer;
}
.cmth-tab-btn[aria-selected="true"]{
  background:var(--cm-ink,#241e17);
  border-color:var(--cm-ink,#241e17);
  color:#fff;
}
.cmth-inline-pair{
  display:flex;
  gap:8px;
  align-items:center;
}
.cmth-inline-pair > *{min-width:0;flex:1 1 auto}
.cmth-inline-pair select{flex:0 0 84px}
.cmth-studio-app input[type="text"],
.cmth-studio-app input[type="url"],
.cmth-studio-app input[type="number"]{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  min-height:42px;
  padding:8px 10px;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:3px;
  background:#fff;
  color:var(--cm-ink,#241e17);
  font:inherit;
}
.cmth-picker-head{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin:14px 0 10px;
  font-size:14px;
}
.cmth-inline-check{display:inline-flex;align-items:center;gap:6px;font-size:13px;cursor:pointer}
.cmth-item-picker{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  max-height:360px;
  overflow-y:auto;
  padding:4px;
}
.cmth-pick-card{
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:10px;
  background:#faf6ef;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:4px;
  cursor:pointer;
  font-size:13px;
}
.cmth-pick-dot{
  flex:0 0 14px;
  width:14px;
  height:14px;
  margin-top:3px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.18);
}
.cmth-pick-body{min-width:0;flex:1 1 auto}
.cmth-pick-body strong{display:block;font-size:13px;line-height:1.35}
.cmth-pick-body small{display:block;font-size:11px;color:var(--cm-muted,#6b6257);margin-top:2px}
.cmth-hist-list{display:flex;flex-direction:column;gap:10px}
.cmth-hist-card{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:14px 16px;
  background:#fff;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:4px;
  font-size:14px;
}
.cmth-hist-actions{display:flex;gap:8px;align-items:center}
@media(max-width:640px){
  .cmth-item-picker{grid-template-columns:1fr}
}

/* Silhouettes SVG vêtements éditoriales teintées à la couleur #HEX */
.cmth-garment-stage{
  display:flex;
  align-items:center;
  justify-content:center;
  height:164px;
  padding:10px;
  background:radial-gradient(circle at 50% 42%, #fffdf9 0%, #f3ece0 100%);
  border:1px solid #ebe2d4;
  border-radius:4px;
  margin-bottom:4px;
  overflow:hidden;
}
.cmth-garment-stage svg{
  width:auto;
  height:100%;
  max-width:136px;
  display:block;
}
.cmth-garment-stage.is-photo{padding:0}
.cmth-garment-stage.is-photo img{width:100%;height:100%;object-fit:cover;display:block}
.cmth-garment-thumb{
  flex:0 0 64px;
  width:64px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4px;
  background:#fffdf9;
  border:1px solid #e6ddd0;
  border-radius:4px;
  box-sizing:border-box;
  overflow:hidden;
}
.cmth-garment-thumb svg{width:100%;height:100%;display:block}
.cmth-garment-thumb.is-photo{padding:0}
.cmth-garment-thumb.is-photo img{width:100%;height:100%;object-fit:cover;display:block}
.cmth-garment-mini{
  flex:0 0 42px;
  width:42px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2px;
  background:#fffdf9;
  border:1px solid #e6ddd0;
  border-radius:3px;
  box-sizing:border-box;
  overflow:hidden;
}
.cmth-garment-mini svg{width:100%;height:100%;display:block}
.cmth-garment-mini.is-photo{padding:0}
.cmth-garment-mini.is-photo img{width:100%;height:100%;object-fit:cover;display:block}
.cmth-sil-preview-box{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  background:#faf6ef;
  border:1px solid var(--cm-line,#d8cfc2);
  border-radius:4px;
  font-size:12px;
  color:var(--cm-muted,#6b6257);
}

/* Variante Home B (/home-b/) : bandeau offre lancement + barre réassurance + avis */
.cmth-promo-strip{
  background:#2f594c;
  color:#fffdf9;
  padding:10px 16px;
}
.cmth-promo-inner{
  width:min(1180px,calc(100% - 24px));
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px 14px;
  font-size:13px;
  line-height:1.45;
  text-align:center;
}
.cmth-promo-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.32);
  font-weight:700;
  font-size:12px;
  white-space:nowrap;
}
.cmth-promo-link{
  color:#fffdf9 !important;
  font-weight:700;
  text-decoration:underline;
  white-space:nowrap;
}
.cmth-trust-strip{
  background:var(--cm-white,#fffdf9);
  border-top:1px solid var(--cm-line,#ded5c7);
  border-bottom:1px solid var(--cm-line,#ded5c7);
  padding:18px 0;
}
.cmth-trust-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.cmth-trust-item{
  text-align:center;
  padding:4px 8px;
}
.cmth-trust-item strong{
  display:block;
  font-size:16px;
  font-weight:700;
  color:var(--cm-ink,#241e17);
}
.cmth-trust-item span{
  display:block;
  font-size:12px;
  color:var(--cm-muted,#6b6257);
  margin-top:2px;
}
.cmth-offer-card{
  background:var(--cm-white,#fffdf9);
  border:1px solid var(--cm-line,#ded5c7);
  border-top:4px solid var(--cm-rust,#a3472e);
  border-radius:4px;
  padding:24px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:18px 28px;
}
.cmth-offer-price{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin:8px 0 6px;
}
.cmth-offer-now{
  font-size:32px;
  font-weight:700;
  color:var(--cm-rust,#a3472e);
  line-height:1.1;
}
.cmth-offer-old{
  font-size:16px;
  color:var(--cm-muted,#6b6257);
  text-decoration:line-through;
}
.cmth-reviews-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.cmth-review-card{
  background:var(--cm-white,#fffdf9);
  border:1px dashed var(--cm-line,#c9bfb0);
  border-radius:4px;
  padding:18px;
  font-size:13px;
  line-height:1.55;
  color:var(--cm-muted,#6b6257);
}
.cmth-review-card strong{
  display:block;
  color:var(--cm-ink,#241e17);
  font-size:14px;
  margin-bottom:6px;
}
.cmth-ab-bar{
  margin:0;
  padding:14px 18px;
  background:#efe8db;
  border-left:3px solid var(--cm-green,#2f6f5f);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px 16px;
  font-size:13px;
}
@media(max-width:700px){
  .cmth-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cmth-reviews-grid{grid-template-columns:1fr}
}
