.collier-page { min-height: 100vh; background: #f8f9fa; padding: 32px 0 96px; }
.collier-wrap { max-width: 72rem; }
/* .collier-breadcrumb : styles dans main.css (partagé avec les pages médailles) */
.collier-header { text-align: center; margin-bottom: 12px; }
.collier-header h1 { margin: 0 0 4px 0; font-size: 20px; font-weight: 700; color: #2c3e50; }
.collier-header__tagline {
  margin: 0 auto 0;
  max-width: 40rem;
  font-size: 14px;
  line-height: 1.45;
  font-style: italic;
  color: #5c6c7a;
}

.collier-pinterest-admin {
  margin: 10px auto 16px;
  max-width: 720px;
  text-align: left;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 10px;
}
.collier-pinterest-admin__title {
  font-size: 12px;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 6px;
}
.collier-pinterest-admin__input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  font-size: 12px;
  color: #1e3a8a;
  background: #fff;
  margin-bottom: 8px;
  box-sizing: border-box;
}
.collier-pinterest-admin__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.collier-pinterest-admin__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}
.collier-pinterest-admin__btn--primary {
  border: 1px solid #2563eb;
  background: #2563eb;
  color: #fff;
}
.collier-pinterest-admin__btn--ghost {
  border: 1px solid #93c5fd;
  background: #fff;
  color: #1d4ed8;
}
.collier-pinterest-admin__status {
  font-size: 12px;
  align-self: center;
}

@media (min-width: 1024px) {
  .collier-pinterest-admin {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px 12px;
    max-width: none;
    width: 100%;
  }
  .collier-pinterest-admin__title {
    margin-bottom: 0;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .collier-pinterest-admin__input {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    margin-bottom: 0;
    overflow-x: auto;
  }
  .collier-pinterest-admin__actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
  }
}

/* React parity - desktop style from FicheProduit.tsx */
.collier-fiche { margin: 8px 0; display: block; text-align: center; width: 100%; background: transparent; }
.collier-fiche summary { cursor: pointer; font-weight: 600; border: 1px solid #ddd; border-radius: 20px; background: transparent; padding: 6px 14px; color: #555; font-size: 13px; list-style: none; display: inline-flex; align-items: center; gap: 6px; transition: all .2s; }
.collier-fiche summary::before { content: ""; display: inline-block; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E") no-repeat center/contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E") no-repeat center/contain; opacity: .9; }
.collier-fiche summary::after { content: "▾"; font-size: 11px; line-height: 1; margin-left: 2px; color: #6b7280; }
.collier-fiche summary::-webkit-details-marker { display: none; }
.collier-fiche summary::marker { content: ""; }
.collier-fiche[open] summary::after { content: "▴"; }
.collier-fiche summary:hover { background: #f9f9f9; border-color: #bbb; }
.collier-fiche[open] summary { margin-bottom: 10px; }
.collier-fiche p {
  margin-top: 10px;
  color: rgb(68, 68, 68);
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
  background-color: rgb(250, 250, 250);
  border: 1px solid rgb(229, 229, 229);
  border-radius: 12px;
  padding: 16px 20px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 0.2s ease;
}

.collier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.collier-preview-column { min-width: 0; }
.collier-preview-spacer {
  display: none;
}
.collier-preview-card { box-sizing: border-box; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.collier-simple-copy {
  box-sizing: border-box;
  margin-top: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  color: #2c3e50;
}
.collier-complet-copy { margin-top: 10px; }
.collier-copy-block { margin-top: 12px; }
.collier-copy--mobile { display: none; }
.collier-simple-copy__title {
  margin: 0 0 8px 0;
  font-size: 15px;
  font-weight: 800;
  color: #1f2937;
}
.collier-simple-copy p {
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #4b5563;
}
.collier-simple-copy__subtitle {
  margin-top: 10px;
  font-weight: 800;
  color: #374151;
}
.collier-simple-copy ul {
  margin: 8px 0 10px 18px;
  padding: 0;
}
.collier-simple-copy li {
  margin: 6px 0;
  font-size: 13px;
  line-height: 1.55;
  color: #4b5563;
}
.collier-options-card { display: flex; flex-direction: column; gap: 6px; }
.collier-mode-switch { display: flex; justify-content: center; gap: 8px; margin-bottom: 8px; }
.collier-mode-switch button { border-radius: 6px; background: #fff; padding: 6px 12px; cursor: pointer; font-weight: 600; font-size: 12px; transition: all .2s; border: 2px solid #e0e0e0; color: #666; }
.collier-mode-switch button.is-active { border-color: #3498db; color: #3498db; background: #ecf7ff; }
.collier-mode-switch button[data-mode-btn="complet"].is-active { border-color: #e67e22; color: #e67e22; background: #fff4e6; }

.collier-preview { position: relative; width: 100%; aspect-ratio: 16/10; border-radius: 8px; background: #f5f5f5; overflow: hidden; box-shadow: inset 0 2px 8px rgba(0,0,0,0.05); }
.collier-preview .layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.base-img { object-fit: contain; }
.mask-collier,
.mask-passant,
.mask-boucle,
.mask-anneau,
.mask-anneaud2,
.mask-attache,
.mask-poignee {
  -webkit-mask-image: var(--mask-image);
  mask-image: var(--mask-image);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.base-collier { z-index: 1; }
.img-passant { z-index: 9; }
.img-boucle { z-index: 15; }
.img-anneau { z-index: 11; }
.img-anneaud2 { z-index: 13; }
.img-attache { z-index: 9; }
.img-poignee { z-index: 7; }

.mask-collier { z-index: 0; }
.mask-passant { z-index: 8; }
.mask-boucle { z-index: 5; }
.mask-anneau { z-index: 5; }
.mask-anneaud2 { z-index: 12; }
.mask-attache { z-index: 8; }
.mask-poignee { z-index: 6; }
.collier-preview[data-mode="simple"] .only-complet, .collier-preview.hide-handle .only-handle, .collier-preview.hide-attache .only-attache { display: none; }

/* Téléphone — même logique que CollierCustomization.tsx : hauteur limitée, puis bloc fixé sous la nav au scroll */
@media (max-width: 767px) {
  .collier-preview-column--fixed .collier-preview-spacer {
    display: block;
    height: 35vh;
    min-height: 200px;
    flex-shrink: 0;
  }

  .collier-preview-card {
    max-height: 40vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .collier-mode-switch {
    flex-shrink: 0;
  }

  .collier-preview {
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(40vh - 44px);
  }

  .collier-preview-column--fixed .collier-preview-card {
    position: fixed;
    /* Hauteur barre = .therion-nav (4rem), pas 56px comme l’ancienne app React */
    top: 4rem;
    left: 8px;
    right: 8px;
    z-index: 15;
    max-height: 35vh;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .collier-preview-column--fixed .collier-preview {
    max-height: calc(35vh - 44px);
  }

  /* Mobile: show the copy block before the finished gallery */
  .collier-copy--desktop { display: none; }
  .collier-copy--mobile { display: block; }
}

.option-card { background: #fff; border-radius: 8px; padding: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 0; }
.option-card--breed {
  position: relative;
  z-index: 2;
  overflow: visible;
  flex-shrink: 0;
}
.option-card__breed-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.option-card__breed-heading-icon {
  display: inline-flex;
  color: #2c3e50;
  flex-shrink: 0;
}
.option-card__breed-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
}
.option-card__breed-hint {
  font-size: 10px;
  color: #7f8c8d;
  font-weight: 400;
}
.breed-dropdown-root {
  position: relative;
}
.breed-search-wrap {
  position: relative;
}
.breed-search-wrap__icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  color: #95a5a6;
  pointer-events: none;
}
.breed-search-wrap input[type="text"] {
  width: 100%;
  padding: 8px 10px 8px 30px;
  border-radius: 6px;
  border: 2px solid var(--secondary-200, #e2e8f0);
  font-size: 13px;
  box-sizing: border-box;
}
.breed-selected__card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  background-color: var(--primary-50, #f0f9ff);
  border: 2px solid var(--primary-200, #bae6fd);
}
.breed-selected__icon {
  display: inline-flex;
  color: var(--primary-500, #0ea5e9);
  flex-shrink: 0;
}
.breed-selected__text {
  flex: 1;
  min-width: 0;
}
.breed-selected__name {
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
}
.breed-selected__stats {
  font-size: 10px;
  color: var(--primary-600, #0284c7);
  margin-top: 1px;
}
.breed-selected__clear {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7f8c8d;
  flex-shrink: 0;
  transition: background-color 0.2s, color 0.2s;
}
.breed-selected__clear:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #e74c3c;
}
.breed-selected__note {
  margin: 6px 0 0;
  font-size: 10px;
  color: var(--primary-500, #0ea5e9);
  font-style: italic;
  padding-left: 2px;
}
.option-card__title { font-size: 13px; font-weight: 600; color: #1e293b; margin: 0 0 8px; line-height: 1.25; }
.option-card__title > span { font-size: 10px; font-weight: 400; color: #7f8c8d; }
.measure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-items: baseline; }
.measure-grid.is-complet { grid-template-columns: 1fr 1fr 1fr; }
.field { display: grid;  }
.field label { font-size: 11px; color: #64748b; font-weight: 500; }
.field input[type="text"], .field input[type="number"], .field select { width: 100%; border: 2px solid var(--secondary-200, #e2e8f0); border-radius: 6px; padding: 8px 12px; font-size: 13px; background: #fff; }
.field small { font-size: 11px; color: #64748b; }
.field small.warn { color: #b45309; }
.inline-checks { grid-template-columns: 1fr 1fr; gap: .4rem; }
.inline-checks label { display: flex; align-items: center; gap: .4rem; font-size: 12px; font-weight: 400; color: #2c3e50; }

/* Mesures — aligné sur CollierCustomization (sans lien « Comment mesurer ») */
.option-card--measures {
  background-color: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  position: relative;
  z-index: 1;
  overflow: visible;
}
.option-card__measures-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.option-card__measures-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.2;
}
.option-card--measures .field label .req {
  color: #e74c3c;
  font-weight: 600;
}
.option-card--measures .field {
  gap: 5px !important;
}
.option-card--measures .field label {
  font-size: 11px !important;
  color: #5f6875 !important;
  font-weight: 500 !important;
}
.option-card--measures .field input[type="number"],
.option-card--measures .field select {
  border: 2px solid #c9c9cc !important;
  border-radius: 8px !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 6px 10px !important;
  font-size: 13px !important;
  color: #2f3a4c !important;
  background: #f9f9fa !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
}
.option-card--measures .field input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.option-card--measures .field input[type="number"]::-webkit-outer-spin-button,
.option-card--measures .field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.option-card--measures .field input[type="number"]::placeholder {
  color: #8e98a7 !important;
}
.option-card--measures .measure-grid {
  gap: 8px !important;
}
.option-card--measures .field select {
  background-color: #f9f9fa !important;
}

.complet-color-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toggle-active-btn { padding: 4px 10px; border-radius: 6px; border: 2px solid var(--secondary-200, #e2e8f0); font-weight: 500; cursor: pointer; font-size: 11px; flex-shrink: 0; transition: all .2s; background: #fff; color: #666; }
.toggle-active-btn--on { background: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }
.toggle-active-btn--off { background: #fff; color: #666; border-color: var(--secondary-200, #e2e8f0); }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 45px; height: 45px; border-radius: 15px; border: 2px solid #cfd6e2; cursor: pointer; overflow: hidden; padding: 0; position: relative; }
.swatch.is-active { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, .18); transform: scale(1.06); }
.swatch .swatch-img { width: 100%; height: 100%; display: block; }
.swatch .swatch-paw { width: 18px; height: 18px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.breed-list-anchor {
  position: relative;
}

/* Panneau liste / vide — aligné sur CollierCustomization.tsx */
.breed-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: -2px;
  z-index: 100;
  background: #fff;
  border: 1px solid var(--secondary-200, #e2e8f0);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.breed-list {
  max-height: 200px;
  overflow-y: auto;
}

.breed-list-empty {
  padding: 10px;
  font-size: 12px;
  color: #7f8c8d;
  text-align: center;
}

.breed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 12px;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.1s;
}

.breed-item:last-child {
  border-bottom: none;
}

.breed-item:hover {
  background-color: var(--primary-50, #f0f9ff);
}

.breed-item__name {
  color: #2c3e50;
  font-weight: 400;
  min-width: 0;
  text-align: left;
}

.breed-item:hover .breed-item__name {
  font-weight: 600;
}

.breed-item__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.breed-item__cm {
  font-size: 10px;
  color: #7f8c8d;
}

.breed-item__tag {
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  background-color: var(--primary-500, #0ea5e9);
  padding: 1px 5px;
  border-radius: 3px;
  line-height: 1.35;
}

.metal-options { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.metal-btn {
  flex: 0 0 auto;
  min-width: auto;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 6px 10px;
  min-height: 34px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  color: #666;
  background: #fff !important;
  text-transform: capitalize;
  transition: all 0.2s;
}
.metal-btn:hover:not([disabled]) {
  border-color: var(--primary-600, #0284c7);
  background: var(--primary-50, #f0f9ff) !important;
  color: var(--primary-700, #0369a1);
}
.metal-btn.is-active {
  background: var(--primary-700, #0369a1) !important;
  border-color: var(--primary-800, #075985) !important;
  color: var(--primary-50, #f0f9ff) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  outline: none !important;
}
.metal-btn.is-active:hover:not([disabled]) {
  background: var(--primary-600, #0284c7) !important;
  border-color: var(--primary-800, #075985) !important;
  color: var(--primary-50, #f0f9ff) !important;
}
.metal-btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
  background: #f8fafc !important;
  border-color: #e5e7eb !important;
}
.metal-empty {
  margin: 0;
  font-size: 12px;
  color: #e74c3c;
  font-style: italic;
}

.engraving-main-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.engraving-main-check { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #2c3e50; font-weight: 500; cursor: pointer; flex: 1; }
.engraving-main-check input[type="checkbox"] { width: 18px; height: 18px; margin: 0; flex-shrink: 0; cursor: pointer; }
.engraving-free { color: #27ae60; font-size: 12px; font-weight: 600; white-space: nowrap; }
.engraving-panel { margin-top: 8px; display: grid; gap: 8px; }
.engraving-sub-checks { display: flex; gap: 8px; align-items: center; width: 100%; }
.engraving-sub-checks label {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  font-size: 11px;
  color: #2c3e50;
  cursor: pointer;
  font-weight: 400;
}
.engraving-sub-checks input[type="checkbox"] { width: 16px; height: 16px; margin: 0; cursor: pointer; flex-shrink: 0; }
.engraving-text-zone { display: grid; gap: 4px; }
.engraving-text-zone label { font-size: 11px; color: #7f8c8d; font-weight: 500; }
.engraving-text-zone .req { color: #ef4444; }
.engraving-input-shell {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 2px solid var(--secondary-200, #e2e8f0);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-sizing: border-box;
  font-family: inherit;
}
.engraving-input-shell:focus-within { border-color: var(--primary-500, #0ea5e9); }
.engraving-pattern-slot {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
}
.engraving-pattern-slot img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}
.engraving-text-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.engraving-text-inner.has-before { padding-left: 6px; }
.engraving-text-inner.has-after { padding-right: 6px; }
/* Aligné .ci-gravage-text-input (page objets personnalisables) : encre / relief uniquement sur l’input */
#gravage-text,
#gravage-text.ci-gravage-text-input {
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.6px;
  color: inherit;
  text-shadow: none;
  padding: 0;
  margin: 0;
  width: 10em;
  max-width: 100%;
  box-sizing: border-box;
  caret-color: currentColor;
}
#gravage-text::placeholder {
  color: inherit;
  opacity: 0.88;
}
/* Masquer le placeholder dès le focus pour ne pas le confondre avec la saisie */
#gravage-text:focus::placeholder {
  color: transparent;
  opacity: 0;
}
#gravage-text:focus { outline: none; }
#gravage-text:disabled {
  cursor: default;
  opacity: 0;
  pointer-events: none;
}
#gravage-count { font-size: 11px; color: #4b5563; }
/* Gravure : tant que la case principale n’est pas cochée, aucun sous-bloc (texte, motifs). */
.engraving-panel[hidden] {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.engraving-patterns-zone[hidden] {
  display: none !important;
}
.engraving-patterns-zone { display: grid; gap: 6px; }
.engraving-patterns-title { font-size: 12px; color: #4b5563; font-weight: 500; }
.engraving-patterns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.engraving-side-label { font-size: 11px; color: #4b5563; margin-bottom: 4px; }
.patterns { display: flex; flex-wrap: wrap; gap: 6px; }
.pattern-btn {
  border: 2px solid #e5e7eb;
  background: #fff;
  border-radius: 6px;
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.pattern-btn img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.pattern-btn__svg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.pattern-btn__svg svg { max-width: 32px; max-height: 32px; }
.pattern-btn.is-active {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
}

/* Bloc prix + CTA — même carte que CollierCustomization.tsx */
.collier-checkout-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}
.collier-checkout-card .add-btn {
  margin-top: 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 2px solid #e0e0e0;
}
.price-row__label {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}
.price-row__amount {
  font-size: 24px;
  font-weight: 700;
  color: #27ae60;
}
.add-btn {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 10px 20px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary-500, #0ea5e9) 0%, var(--primary-700, #0369a1) 100%);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.add-btn__icon {
  display: inline-flex;
  flex-shrink: 0;
}
.add-btn__icon svg {
  display: block;
}
.add-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}
.add-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.3);
}
.shipping-note { margin-top: 8px; font-size: 12px; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 10px; line-height: 1.45; }

/* Encarts info bas de page — aligné sur InfoBannerForPage.tsx (Tailwind bg-blue-50 / border-l-4 blue-500) */
.collier-banners {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.collier-info-banner {
  background-color: #eff6ff;
  border-left: 4px solid #3b82f6;
  border-radius: 0 0.5rem 0.5rem 0;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  overflow: hidden;
  /* Défilement type ancre : laisser la place à la nav fixe (.therion-nav = 4rem) */
  scroll-margin-top: calc(4rem + 12px);
}

.collier-info-banner__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 0;
  box-sizing: border-box;
  transition: background-color 0.2s;
}

.collier-info-banner__summary::-webkit-details-marker {
  display: none;
}

.collier-info-banner__summary::marker {
  content: '';
}

.collier-info-banner__summary:hover {
  background-color: #dbeafe;
}

.collier-info-banner__summary-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.collier-info-banner__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #2563eb;
}

.collier-info-banner__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e3a8a;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .collier-info-banner__title {
    font-size: 1rem;
  }
}

.collier-info-banner__chev {
  display: inline-flex;
  flex-shrink: 0;
  color: #2563eb;
  transition: transform 0.2s ease;
}

.collier-info-banner[open] .collier-info-banner__chev {
  transform: rotate(180deg);
}

.collier-info-banner__body {
  padding: 0 1rem 1rem;
}

.collier-info-banner__content {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.625;
  color: #1e40af;
}

@media (min-width: 640px) {
  .collier-info-banner__content {
    font-size: 0.875rem;
  }
}

.collier-info-banner__content strong {
  font-weight: 600;
  color: #1e3a8a;
}

.collier-gallery { margin-top: 1rem; }
.collier-gallery h3 { margin: 0 0 .55rem; color: #1f2937; font-size: 1rem; }
.gallery-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .55rem; }
.gallery-row img { width: 100%; height: 170px; object-fit: cover; border-radius: .7rem; cursor: pointer; transition: transform .25s ease; }
.gallery-row img:hover { transform: scale(1.02); }

.therion-lightbox { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.therion-lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.9); }
.therion-lightbox__panel { position: relative; z-index: 2; max-width: min(1100px, 96vw); width: 100%; display: flex; flex-direction: column; align-items: center; }
.therion-lightbox__panel img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: .5rem; }
.therion-lightbox__close { position: absolute; top: -.7rem; right: 0; border: 0; background: rgba(0,0,0,.45); color: #fff; width: 38px; height: 38px; border-radius: 999px; cursor: pointer; font-size: 1.4rem; }
.therion-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); border: 0; width: 44px; height: 44px; border-radius: 999px; background: rgba(0,0,0,.4); color: #fff; font-size: 1.8rem; cursor: pointer; }
.therion-lightbox__nav--prev { left: .35rem; }
.therion-lightbox__nav--next { right: .35rem; }
.therion-lightbox__caption, .therion-lightbox__counter { color: #e5e7eb; margin-top: .45rem; font-size: .85rem; }

.therion-lightbox[hidden] { display: none !important; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1024px) {
  .collier-grid { grid-template-columns: 1fr; }
  .measure-grid { grid-template-columns: 1fr; }
  .measure-grid.is-complet { grid-template-columns: 1fr; }
}
