* {
  box-sizing: border-box;
}

:root {
  --vitrine-space-xs: 6px;
  --vitrine-space-sm: 8px;
  --vitrine-space-md: 12px;
  --vitrine-space-lg: 16px;
  --vitrine-header-pad-x: 24px;
  --vitrine-header-pad-y: 20px;
  --vitrine-header-pad-bottom: 12px;
  --vitrine-header-grid-gap: 16px;
  --vitrine-cats-gap-top: 16px;
  --vitrine-main-pad: 24px;
  --vitrine-filters-pad-x: 24px;
  --vitrine-filters-gap: 14px;
  --vitrine-banner-max-h: clamp(72px, 22vw, 140px);
}

body.vitrine-page {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--brand-text, #f5f0e8);
  background: var(--brand-bg, #1a1410);
}

.vitrine-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: var(--vitrine-header-pad-y) var(--vitrine-header-pad-x) var(--vitrine-header-pad-bottom);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: visible;
  background-color: var(--vitrine-header-bg, var(--brand-bg, #1a1410));
}

.vitrine-header-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--vitrine-banner-max-h);
  z-index: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  pointer-events: none;
}

.vitrine-header-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: start;
  gap: var(--vitrine-header-grid-gap);
}

.vitrine-header-main {
  grid-row: 1;
  grid-column: 1;
  align-self: start;
  min-width: 0;
  --ha-header-tools-fg: var(--vitrine-header-link, var(--brand-primary, #c45c26));
  --ha-header-tools-bg: rgba(255, 255, 255, 0.05);
  --ha-header-tools-border: 1px solid rgba(255, 255, 255, 0.18);
}

.vitrine-header-main .vitrine-apk-link {
  margin-top: 12px;
}

.vitrine-header-tools {
  grid-row: 1;
  grid-column: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
  justify-self: end;
  align-self: start;
  --ha-header-tools-fg: var(--vitrine-header-link, var(--brand-primary, #c45c26));
  --ha-header-tools-bg: rgba(255, 255, 255, 0.05);
  --ha-header-tools-border: 1px solid rgba(255, 255, 255, 0.18);
  --ha-header-text-fg: var(--vitrine-header-text, var(--brand-text, inherit));
}

.vitrine-header-tools .translate-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--ha-translate-box-bg, #fff);
  border: var(--ha-translate-box-border, 1px solid rgba(0, 0, 0, 0.12));
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--ha-translate-box-fg, #1a1410);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.vitrine-header-tools .translate-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ha-header-tools-fg, var(--brand-primary, #c45c26));
}

.vitrine-header-tools .translate-help-text {
  color: var(--ha-translate-box-fg, #1a1410);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 118px;
  line-height: 1.2;
}

.vitrine-header-tools .ha-page-translate-select {
  background: var(--ha-translate-box-bg, #fff);
  color: var(--ha-translate-box-fg, #1a1410);
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 5px 22px 5px 8px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  max-width: min(136px, 38vw);
}

.vitrine-apk-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--ha-header-tools-bg, rgba(255, 255, 255, 0.05));
  border: var(--ha-header-tools-border, 1px solid rgba(255, 255, 255, 0.18));
  color: var(--ha-header-tools-fg, var(--brand-primary, #c45c26));
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.vitrine-apk-link:hover {
  opacity: 0.92;
  text-decoration: none;
}

/* Encart Banque d’images (largeur contenu, vidéo d’en-tête banque) */
.vitrine-banque-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 1.5rem;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #f3eee4;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  min-height: clamp(160px, 28vw, 220px);
  box-sizing: border-box;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.vitrine-banque-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 168, 90, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
  text-decoration: none;
  color: #f3eee4;
}

.vitrine-banque-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0e141c;
}

.vitrine-banque-card__video,
.vitrine-banque-card__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.vitrine-banque-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(18, 24, 32, 0.72) 6%,
    rgba(18, 24, 32, 0.35) 48%,
    rgba(18, 24, 32, 0.7) 100%
  );
  pointer-events: none;
}

.vitrine-banque-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.35rem;
  min-height: inherit;
  padding: 1.35rem 1.4rem 1.45rem;
  padding-right: min(12rem, 42%);
  box-sizing: border-box;
}

.vitrine-banque-card__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4a85a;
  font-weight: 600;
}

.vitrine-banque-card__title {
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.vitrine-banque-card__title strong {
  color: #d4a85a;
  font-weight: 700;
}

.vitrine-banque-card__cta {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(243, 238, 228, 0.82);
}

.vitrine-banque-card:hover .vitrine-banque-card__cta {
  color: #f3eee4;
}

.vitrine-banque-card__access {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f3eee4;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.vitrine-banque-card:hover .vitrine-banque-card__access {
  color: #d4a85a;
}

@media (max-width: 520px) {
  .vitrine-banque-card__body {
    padding-right: 1.25rem;
    padding-bottom: 3rem;
  }

  .vitrine-banque-card__access {
    font-size: 0.88rem;
  }
}

.vitrine-apk-link__label--short {
  display: none;
}

.vitrine-header--align-center {
  text-align: center;
}

.vitrine-header--align-center .vitrine-header-inner {
  position: relative;
  grid-template-columns: 1fr;
}

.vitrine-header--align-center .vitrine-header-main {
  width: 100%;
  justify-self: stretch;
}

.vitrine-header--align-center .vitrine-brand {
  width: 100%;
  justify-content: center;
}

.vitrine-header--align-center .vitrine-header-tools {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
}

.vitrine-header--align-center .vitrine-cats {
  justify-content: center;
}

.vitrine-header--align-right {
  text-align: right;
}

.vitrine-header--align-right .vitrine-cats {
  justify-content: flex-end;
}

.vitrine-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
}

.vitrine-brand--inline {
  flex-direction: row;
  flex-wrap: wrap;
}

.vitrine-brand--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.vitrine-header--align-center .vitrine-brand--stacked {
  align-items: center;
}

.vitrine-header--align-center .vitrine-brand--inline {
  justify-content: center;
}

.vitrine-header--align-right .vitrine-brand--stacked {
  align-items: flex-end;
}

.vitrine-header--align-right .vitrine-brand--inline {
  justify-content: flex-end;
}

.vitrine-logo {
  max-height: var(--vitrine-logo-max-h, 56px);
  max-width: var(--vitrine-logo-max-w, none);
  width: auto;
  height: auto;
  object-fit: contain;
}

.vitrine-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}


.vitrine-cats {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--vitrine-space-sm);
  margin-top: var(--vitrine-cats-gap-top);
  max-width: 100%;
  min-width: 0;
}

.vitrine-page--ha3d1c-header .vitrine-cats-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 18px 12px;
  background: #0b1a2b;
  border-bottom: 1px solid rgba(245, 196, 0, 0.22);
}

.vitrine-page--ha3d1c-header .vitrine-cats-bar .vitrine-cats {
  grid-column: auto;
  grid-row: auto;
  margin-top: 0;
  flex: 1 1 auto;
}

@media (max-width: 640px) {
  :root {
    --vitrine-header-pad-x: 16px;
    --vitrine-header-pad-y: 12px;
    --vitrine-header-pad-bottom: 8px;
    --vitrine-header-grid-gap: var(--vitrine-space-sm);
    --vitrine-cats-gap-top: var(--vitrine-space-sm);
    --vitrine-main-pad: var(--vitrine-space-lg);
    --vitrine-filters-pad-x: var(--vitrine-space-lg);
    --vitrine-filters-gap: var(--vitrine-space-md);
    --vitrine-banner-max-h: clamp(48px, 16vw, 88px);
  }

  .vitrine-header {
    padding: var(--vitrine-header-pad-y) var(--vitrine-header-pad-x) var(--vitrine-header-pad-bottom);
  }

  .vitrine-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--vitrine-header-grid-gap);
    align-items: start;
  }

  /* Mobile : grille logo + outils (plus de position absolue qui chevauche le titre). */
  .vitrine-header--align-center {
    text-align: left;
  }

  .vitrine-header--align-center .vitrine-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .vitrine-header--align-center .vitrine-header-main {
    width: auto;
    justify-self: stretch;
    min-width: 0;
    max-width: calc(100% - var(--vitrine-mobile-tools-w, 108px));
  }

  .vitrine-header--align-center .vitrine-brand {
    width: auto;
    justify-content: flex-start;
  }

  .vitrine-header--align-center .vitrine-brand--stacked {
    align-items: flex-start;
  }

  .vitrine-header--align-center .vitrine-cats {
    justify-content: flex-start;
  }

  .vitrine-header--align-center .vitrine-header-tools {
    position: static;
    top: auto;
    right: auto;
    justify-self: end;
    align-self: start;
  }

  .vitrine-header-tools .translate-help-text {
    display: none;
  }

  .vitrine-header-tools .ha-page-translate-select {
    max-width: 3.6rem;
    padding: 5px 16px 5px 6px;
  }

  .vitrine-brand--stacked .vitrine-logo {
    max-height: min(var(--vitrine-logo-max-h, 56px), 20vw, 72px);
    max-width: min(var(--vitrine-logo-max-w, 9999px), 72vw, 240px);
  }

  .vitrine-brand--stacked .vitrine-title {
    font-size: clamp(0.9rem, 3.8vw, 1.35rem);
    text-align: left;
  }

  .vitrine-apk-link__label--long {
    display: none;
  }

  .vitrine-apk-link__label--short {
    display: inline;
  }

  .vitrine-title {
    font-size: clamp(1.05rem, 4.8vw, 1.5rem);
    line-height: 1.2;
  }

  .vitrine-logo {
    max-height: min(var(--vitrine-logo-max-h, 56px), 22vw, 96px);
    max-width: min(var(--vitrine-logo-max-w, 9999px), 72vw, 280px);
  }

  .vitrine-brand--inline {
    gap: 10px;
  }

  .vitrine-cats {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    gap: var(--vitrine-space-xs);
    margin-top: var(--vitrine-cats-gap-top);
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 0 var(--vitrine-space-xs);
  }

  .vitrine-cats::-webkit-scrollbar {
    display: none;
  }

  .vitrine-cats::after {
    content: "";
    flex: 0 0 16px;
  }

  .vitrine-cat-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
    font-size: 12px;
    padding: 7px 12px;
  }

  .vitrine-filters {
    padding: 0 var(--vitrine-filters-pad-x);
    gap: var(--vitrine-filters-gap);
    margin-bottom: var(--vitrine-space-sm);
  }

  .vitrine-filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--vitrine-space-sm);
  }

  .vitrine-filter-row--budget {
    align-items: stretch;
  }

  .vitrine-filter-label {
    margin-top: 0;
  }

  .vitrine-filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 0 4px;
  }

  .vitrine-filter-chips::-webkit-scrollbar {
    display: none;
  }

  .vitrine-filter-chips::after {
    content: "";
    flex: 0 0 16px;
  }

  .vitrine-filter-chip {
    flex-shrink: 0;
    scroll-snap-align: start;
    font-size: 12px;
    padding: 7px 12px;
  }

  .vitrine-price-slider-reset {
    margin-left: 0;
  }

  .vitrine-main {
    padding: var(--vitrine-main-pad);
  }

  .vitrine-section + .vitrine-section {
    margin-top: var(--vitrine-space-lg);
  }

  .vitrine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .vitrine-brand--inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .vitrine-header--align-center .vitrine-brand--inline {
    align-items: flex-start;
  }

  .vitrine-header--align-right .vitrine-brand--inline {
    align-items: flex-end;
  }

  .vitrine-detail-inner {
    padding: 14px 16px 40px;
  }

  .vitrine-detail-title {
    font-size: clamp(1.15rem, 5vw, 1.5rem);
    overflow-wrap: anywhere;
  }

  .vitrine-license-chip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .vitrine-license-chip-price {
    white-space: normal;
  }

  .vitrine-order-field input {
    max-width: 100%;
  }

  .vitrine-motif-grid {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .vitrine-grid {
    grid-template-columns: 1fr;
  }

  .vitrine-header-tools .ha-page-translate-select {
    max-width: 3.4rem;
    padding: 5px 14px 5px 6px;
  }
}

.vitrine-cat-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: var(--ha-translate-box-border, 1px solid rgba(0, 0, 0, 0.12));
  background: var(--ha-translate-box-bg, #fff);
  color: var(--ha-translate-box-fg, #1a1410);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.vitrine-cat-btn:hover,
.vitrine-cat-btn.active {
  border-color: var(--brand-primary, #c45c26);
  color: var(--brand-primary, #c45c26);
  background: var(--ha-translate-box-bg, #fff);
}

[hidden] {
  display: none !important;
}

.vitrine-filters {
  max-width: 960px;
  margin: 0 auto var(--vitrine-space-sm);
  padding: 0 var(--vitrine-filters-pad-x);
  display: flex;
  flex-direction: column;
  gap: var(--vitrine-filters-gap);
}

.vitrine-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 14px;
}

.vitrine-filter-label {
  flex: 0 0 auto;
  min-width: 5.5rem;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}

.vitrine-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 12rem;
  min-width: 0;
}

.vitrine-filter-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.vitrine-filter-chip:hover,
.vitrine-filter-chip.active {
  border-color: var(--brand-primary, #c45c26);
  background: color-mix(in srgb, var(--brand-primary, #c45c26) 18%, transparent);
}

.vitrine-filter-row--budget {
  align-items: center;
}

.vitrine-price-slider {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 520px;
}

@media (min-width: 521px) {
  .vitrine-brand--inline .vitrine-title {
    flex: 1 1 8rem;
  }
}

@media (min-width: 641px) {
  .vitrine-price-slider {
    flex: 1 1 16rem;
  }
}

.vitrine-price-slider-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.vitrine-price-slider-sep {
  opacity: 0.55;
}

.vitrine-price-slider-reset {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: inherit;
  font-size: 12px;
  cursor: pointer;
}

.vitrine-price-slider-reset:hover {
  border-color: var(--brand-primary, #c45c26);
}

.vitrine-price-slider-track-wrap {
  position: relative;
  height: 28px;
}

.vitrine-price-slider-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.vitrine-price-slider-range {
  position: absolute;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: var(--brand-primary, #c45c26);
}

.vitrine-price-slider-input {
  position: absolute;
  left: 0;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  height: 28px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.vitrine-price-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--brand-primary, #c45c26);
  background: var(--brand-bg, #1a1410);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.vitrine-price-slider-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--brand-primary, #c45c26);
  background: var(--brand-bg, #1a1410);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.vitrine-price-slider-input::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.vitrine-price-slider-input::-moz-range-track {
  height: 4px;
  background: transparent;
}

.vitrine-price-slider-input--max {
  z-index: 2;
}

.vitrine-price-slider-input--min {
  z-index: 3;
}

.vitrine-main {
  padding: var(--vitrine-main-pad);
  max-width: 1100px;
  margin: 0 auto;
}

.vitrine-section h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  color: var(--brand-primary, #c45c26);
}

.vitrine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.vitrine-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s;
}

.vitrine-card-click {
  cursor: pointer;
}

.vitrine-card-click:focus-visible {
  outline: 2px solid var(--brand-primary, #c45c26);
  outline-offset: 2px;
}

.vitrine-card:hover {
  border-color: var(--brand-primary, #c45c26);
}

.vitrine-card-media img,
.vitrine-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: rgba(0, 0, 0, 0.2);
}

.vitrine-card-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(0, 0, 0, 0.25);
}

.vitrine-card-body {
  padding: 10px 12px 12px;
}

.vitrine-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.vitrine-card-price {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-primary, #c45c26);
}

.vitrine-card-meta {
  margin: 4px 0 0;
  font-size: 11px;
  opacity: 0.65;
}

.vitrine-card-variants {
  margin: 4px 0 0;
  font-size: 11px;
  opacity: 0.75;
}

.vitrine-empty {
  text-align: center;
  opacity: 0.7;
  padding: 32px 0;
}

.vitrine-footer {
  text-align: center;
  padding: 32px 16px 48px;
  font-size: 12px;
  opacity: 0.45;
}

.vitrine-footer-brand {
  color: var(--ha-gold, #f5c400);
  font-weight: 800;
}

.vitrine-footer-brand .ha3d1c-brand-w,
.vitrine-platform-credit a .ha3d1c-brand-w {
  color: #fff;
}

.vitrine-platform-credit a.ha3d1c-brand-link {
  color: var(--ha-gold, #f5c400) !important;
  font-weight: 800;
  text-decoration: none;
}

.vitrine-footer-client {
  font-size: 14px;
  line-height: 1.55;
  opacity: 1;
  color: var(--brand-text, #f5f0e8);
}

body.vitrine-detail-open {
  overflow: hidden;
}

.vitrine-detail {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--brand-bg, #1a1410);
  overflow-y: auto;
}

.vitrine-detail-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px 48px;
}

.vitrine-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 14px;
  cursor: pointer;
}

.vitrine-detail-back:hover {
  border-color: var(--brand-primary, #c45c26);
}

.vitrine-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 720px) {
  .vitrine-detail-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.vitrine-detail-img {
  width: 100%;
  max-height: min(70vh, 520px);
  object-fit: contain;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  display: block;
}

.vitrine-detail-img-empty {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.vitrine-detail-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
}

.vitrine-detail-price {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-primary, #c45c26);
}

.vitrine-detail-price-sub,
.vitrine-card-price-sub {
  font-size: 0.82em;
  font-weight: 600;
  opacity: 0.88;
}

.vitrine-license-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.vitrine-license-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

.vitrine-license-chip:hover {
  border-color: var(--brand-primary, #c45c26);
}

.vitrine-license-chip.active {
  border-color: var(--brand-primary, #c45c26);
  background: color-mix(in srgb, var(--brand-primary, #c45c26) 22%, transparent);
}

.vitrine-license-chip-title {
  font-weight: 600;
  line-height: 1.35;
}

.vitrine-license-chip-price {
  font-weight: 800;
  white-space: nowrap;
  color: var(--brand-primary, #c45c26);
}

.vitrine-detail-ref {
  margin: 0 0 12px;
  font-size: 13px;
  opacity: 0.65;
}

.vitrine-detail-label {
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.vitrine-color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vitrine-color-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.vitrine-color-chip:hover {
  border-color: var(--brand-primary, #c45c26);
}

.vitrine-color-chip.active {
  border-color: var(--brand-primary, #c45c26);
  background: color-mix(in srgb, var(--brand-primary, #c45c26) 22%, transparent);
}

.vitrine-color-chip.out {
  opacity: 0.55;
  text-decoration: line-through;
}

.vitrine-color-chip.low {
  border-color: #e8a317;
}

.vitrine-detail-stock {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.vitrine-detail-stock.out {
  color: #f87171;
}

.vitrine-detail-stock.low {
  color: #fbbf24;
}

.vitrine-detail-sizes {
  margin: 12px 0 0;
  font-size: 14px;
}

.vitrine-detail-notes {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.9;
}

.vitrine-order-form {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.vitrine-order-form h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

.vitrine-order-field {
  display: block;
  margin-bottom: 12px;
}

.vitrine-order-field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.vitrine-order-field input {
  width: 100%;
  max-width: 360px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font-size: 15px;
  box-sizing: border-box;
}

.vitrine-cgv-accept {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 14px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  font-size: 12.5px;
  line-height: 1.45;
  cursor: pointer;
  opacity: 0.95;
}
.vitrine-cgv-accept input {
  margin-top: 3px;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  max-width: 16px;
  accent-color: #f5c400;
}
.vitrine-cgv-accept > span {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
}
.vitrine-cgv-accept a {
  color: #f5c400;
  text-decoration: underline;
}

/* Dans les formulaires offre (viewer / plan de vol / compteur uMap) :
   ne pas appliquer width:100% au checkbox CGV. */
.vitrine-viewer-embed-form .vitrine-cgv-accept {
  max-width: none;
  margin: 8px 0 4px;
}
.vitrine-viewer-embed-form .vitrine-cgv-accept input[type="checkbox"] {
  width: 16px;
  height: 16px;
  max-width: 16px;
  padding: 0;
  margin-top: 2px;
  flex: 0 0 16px;
  border: none;
  background: transparent;
  accent-color: #f5c400;
}
.vitrine-viewer-embed-form .vitrine-cgv-accept > span {
  display: block;
  margin-bottom: 0;
  font-size: 12.5px;
  line-height: 1.45;
  opacity: 0.95;
}
.vitrine-order-status.is-error {
  color: #f5a6a6;
}

.vitrine-order-btn {
  margin-top: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 999px;
  background: var(--brand-primary, #c45c26);
  color: #111;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.vitrine-order-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.vitrine-order-status {
  margin-top: 12px;
  font-size: 14px;
  min-height: 1.2em;
}

.vitrine-order-status.ok {
  color: #34d399;
}

.vitrine-order-status.err {
  color: #f87171;
}

.vitrine-order-pay-hint {
  margin: 0 0 12px;
  font-size: 13px;
  opacity: 0.85;
}

.vitrine-payment-flash {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.45;
}

.vitrine-payment-flash--ok {
  background: rgba(38, 194, 129, 0.15);
  border: 1px solid rgba(38, 194, 129, 0.45);
  color: #b8f5d8;
}

.vitrine-payment-flash--warn {
  background: rgba(245, 196, 0, 0.12);
  border: 1px solid rgba(245, 196, 0, 0.35);
  color: #ffeaa0;
}

.vitrine-order-flash {
  position: sticky;
  top: 12px;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.vitrine-order-flash-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.vitrine-order-flash-text {
  margin: 0;
  flex: 1;
  font-weight: 600;
}

.vitrine-order-flash-close {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  padding: 0 4px;
}

.vitrine-order-flash-close:hover {
  opacity: 1;
}

.vitrine-order-motifs {
  margin-bottom: 16px;
}

.vitrine-motif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  max-width: 420px;
}

.vitrine-motif-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.vitrine-motif-tile.selected {
  border-color: var(--brand-primary, #c45c26);
  box-shadow: 0 0 0 1px var(--brand-primary, #c45c26);
}

.vitrine-motif-tile img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.vitrine-motif-tile span {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.vitrine-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* H / 3D / Vidéo — jaune logo HA3D1C, indépendant du branding client */
.vitrine-card-badge--3d,
.vitrine-card-badge--video {
  background: var(--ha-gold, #f5c400);
  color: #1a1410;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.vitrine-card-media {
  position: relative;
}

.vitrine-card-placeholder--3d {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.25));
  color: var(--ha-gold, #f5c400);
  font-weight: 700;
  font-size: 1.4rem;
}

.vitrine-detail-layout--3d .vitrine-detail-media {
  min-height: 0;
}

.vitrine-detail-layout--3d-top .vitrine-detail-media .vitrine-3d-block {
  margin-bottom: 20px;
}

.vitrine-3d-block {
  margin-bottom: 16px;
}

.vitrine-embed-viewer-wrap {
  --embed-bar-height: 44px;
  position: relative;
  width: 100%;
  max-width: 100%;
  /* barre du viewer + zone 3D en 16:9 */
  padding-top: calc(56.25% + var(--embed-bar-height));
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

.vitrine-embed-viewer-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vitrine-sketchfab-wrap {
  position: relative;
  width: min(100%, calc(min(360px, 50vh) * 16 / 9));
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

.vitrine-sketchfab-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vitrine-viewer-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--ha-gold, #f5c400);
  text-decoration: none;
  font-weight: 600;
}

.vitrine-viewer-link:hover {
  text-decoration: underline;
}

.vitrine-card-badge--listing {
  left: auto;
  right: 8px;
  background: rgba(0, 0, 0, 0.72);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.vitrine-card-badge--video {
  left: 8px;
  top: auto;
  bottom: 8px;
  font-size: 11px;
}

.vitrine-card-badge--3d {
  top: 10px;
  left: 10px;
}

.vitrine-3d-block .vitrine-detail-label,
.vitrine-video-block .vitrine-detail-label {
  color: var(--ha-gold, #f5c400);
}

.vitrine-video-block {
  margin: 16px 0;
}

.vitrine-video-embed {
  width: 100%;
  height: min(420px, 56vw);
  border: 0;
  border-radius: 12px;
  background: #111;
}

.vitrine-video-player {
  width: 100%;
  max-height: min(420px, 56vw);
  border-radius: 12px;
  background: #111;
}

.vitrine-property-block {
  margin-bottom: 12px;
}

.vitrine-detail-location {
  margin: 0 0 8px;
  font-size: 15px;
  opacity: 0.9;
}

.vitrine-prop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vitrine-prop-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.vitrine-prop-chip--type {
  background: color-mix(in srgb, var(--brand-primary, #c45c26) 22%, transparent);
  border-color: color-mix(in srgb, var(--brand-primary, #c45c26) 45%, transparent);
  font-weight: 600;
}

.vitrine-prop-chip--terrain {
  opacity: 0.8;
  font-style: italic;
}

.vitrine-photo-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vitrine-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vitrine-gallery-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  width: 72px;
  height: 72px;
  cursor: pointer;
  background: transparent;
}

.vitrine-gallery-thumb.active {
  border-color: var(--brand-primary, #c45c26);
}

.vitrine-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vitrine-download-flash .vitrine-order-flash-inner {
  flex-wrap: wrap;
  gap: 12px;
}

#vitrine-payment-return {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

#vitrine-payment-return-text {
  margin: 0;
}

.vitrine-payment-return-hint {
  margin: 0;
  font-size: 14px;
  opacity: 0.85;
}

#vitrine-payment-return-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#vitrine-payment-return-actions .vitrine-download-btn {
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.vitrine-download-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--brand-primary, #c45c26);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.vitrine-download-btn:hover {
  filter: brightness(1.08);
}

.vitrine-viewer-embed-card--free {
  margin-bottom: 14px;
}

.vitrine-viewer-embed-summary-price--free {
  color: #76e4f7;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.viewer-embed-free-generator {
  margin-top: 8px;
}

.vitrine-section--viewer-embed {
  margin-bottom: 16px;
}

.vitrine-viewer-embed-card {
  border-radius: 12px;
  border: 1px solid rgba(245, 196, 0, 0.22);
  background: linear-gradient(145deg, rgba(245, 196, 0, 0.06), rgba(12, 18, 32, 0.45));
  overflow: hidden;
}

.vitrine-viewer-embed-card--compact .vitrine-viewer-embed-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.vitrine-viewer-embed-card--compact .vitrine-viewer-embed-summary:hover {
  background: rgba(245, 196, 0, 0.06);
}

.vitrine-viewer-embed-summary-text {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.vitrine-viewer-embed-summary-title {
  font-size: 15px;
  font-weight: 700;
}

.vitrine-viewer-embed-summary-tagline {
  font-size: 12px;
  opacity: 0.8;
}

.vitrine-viewer-embed-summary-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5c400;
}

.vitrine-map-studio-flagship {
  border-color: rgba(245, 196, 0, 0.55);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  background: linear-gradient(155deg, rgba(245, 196, 0, 0.14), rgba(12, 18, 32, 0.55));
  margin-bottom: 14px;
}

.vitrine-map-studio-flag {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f5c400;
}

.vitrine-map-studio-founder {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(245, 196, 0, 0.35);
  background: rgba(245, 196, 0, 0.1);
  font-size: 13px;
  line-height: 1.4;
}

.vitrine-map-studio-institutions {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(125, 206, 160, 0.4);
  background: rgba(125, 206, 160, 0.1);
  font-size: 13px;
  line-height: 1.45;
}

.vitrine-map-studio-plans {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.vitrine-map-studio-plans li {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

.vitrine-map-studio-plan-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
}

.vitrine-map-studio-plans p {
  margin: 6px 0 0;
  font-size: 12px;
  opacity: 0.85;
  line-height: 1.4;
}

.vitrine-map-studio-plan-renew {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.7;
}

.vitrine-map-studio-plan-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(245, 196, 0, 0.2);
  color: #f5e6a8;
  vertical-align: middle;
}

.vitrine-viewer-embed-summary-price {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-primary, #f5c400);
}

.vitrine-viewer-embed-summary-chevron {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
  transition: transform 0.2s ease;
  margin-left: 4px;
}

.vitrine-viewer-embed-card[data-collapsed="false"] .vitrine-viewer-embed-summary-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.vitrine-viewer-embed-panel {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vitrine-viewer-embed-panel .vitrine-viewer-embed-desc {
  margin-top: 12px;
  font-size: 14px;
}

.vitrine-viewer-embed-actions-row {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

@media (min-width: 720px) {
  .vitrine-viewer-embed-actions-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
}

.vitrine-viewer-embed-try-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(245, 196, 0, 0.45);
  color: var(--brand-primary, #f5c400);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.vitrine-viewer-embed-try-btn:hover {
  background: rgba(245, 196, 0, 0.1);
}

.viewer-embed-configurator-host--delivery {
  margin: 12px 0;
}

.vitrine-viewer-embed-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary, #f5c400);
}

.vitrine-viewer-embed-desc {
  margin: 0 0 10px;
  line-height: 1.45;
  opacity: 0.9;
}

.vitrine-viewer-embed-features {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.85;
}

.vitrine-umap-howto {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(245, 196, 0, 0.35);
  background: rgba(245, 196, 0, 0.08);
}
.vitrine-umap-howto-title {
  margin: 0 0 8px;
  font-size: 14px;
  color: #f5c400;
}
.vitrine-umap-howto-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.95;
}
.vitrine-umap-howto-list li {
  margin: 0 0 8px;
}
.vitrine-umap-howto-list li:last-child {
  margin-bottom: 0;
}

.vitrine-viewer-embed-form {
  display: grid;
  gap: 10px;
}

.vitrine-viewer-embed-form .vitrine-field span {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  opacity: 0.9;
}

.vitrine-viewer-embed-form input,
.vitrine-viewer-embed-form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font: inherit;
}

.vitrine-viewer-embed-submit {
  margin-top: 4px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-primary, #f5c400);
  color: #1a1410;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

a.vitrine-viewer-embed-submit {
  color: #1a1410;
  text-decoration: none;
}

a.vitrine-viewer-embed-submit:hover,
a.vitrine-viewer-embed-submit:focus {
  color: #1a1410;
}

.vitrine-viewer-embed-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vitrine-viewer-embed-recover-wrap {
  margin: 10px 0 0;
  text-align: center;
}

.vitrine-viewer-embed-recover-link {
  font-size: 13px;
  color: rgba(232, 238, 248, 0.75);
  text-decoration: none;
}

.vitrine-viewer-embed-recover-link:hover {
  color: #f5c400;
  text-decoration: underline;
}

.vitrine-embed-email-hint {
  margin: 0 0 12px;
  font-size: 13px;
  opacity: 0.9;
}

.vitrine-download-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: inherit;
}

.vitrine-viewer-embed-hint {
  margin: 0;
  font-size: 13px;
  opacity: 0.8;
}

.vitrine-plan-vol-form {
  margin: 0 0 16px;
}

.vitrine-plan-vol-demo {
  margin: 0 0 16px;
}

.vitrine-plan-vol-demo-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.vitrine-plan-vol-demo-video {
  display: block;
  width: 100%;
  max-height: min(420px, 56vw);
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.vitrine-plan-vol-form .vitrine-order-pay-hint {
  margin: 0 0 10px;
  font-size: 13px;
  opacity: 0.85;
}

.vitrine-payment-return-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.vitrine-plan-vol-plans li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.vitrine-plan-vol-plan-label {
  font-weight: 600;
}

.vitrine-plan-vol-plan-price {
  font-weight: 700;
  color: #f5c400;
  white-space: nowrap;
}

.vitrine-plan-vol-free {
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(245, 196, 0, 0.35);
  background: rgba(245, 196, 0, 0.08);
}

.vitrine-plan-vol-free-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: #f5c400;
}

.vitrine-plan-vol-free-text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.92;
}

.vitrine-plan-vol-free .vitrine-viewer-embed-try-btn {
  display: inline-flex;
}

.vitrine-embed-delivery {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.vitrine-embed-code-label {
  font-size: 13px;
  margin: 8px 0 4px;
}

.vitrine-embed-code {
  width: 100%;
  min-height: 140px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: inherit;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  resize: vertical;
}

.vitrine-embed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.vitrine-embed-domain {
  margin: 0;
  font-size: 14px;
}

.vitrine-embed-instructions {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
}

/* —— Configurateur viewer embed —— */
.evc-root {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.evc-preview-wrap {
  width: 100%;
}

.evc-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 220px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c1220;
}

.evc-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  flex: 1;
  min-height: 0;
}

.evc-bar {
  --evc-bar-bg: #121a2a;
  --evc-primary: #f5c400;
  --evc-text: #e8eef8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: var(--evc-bar-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--evc-primary) 30%, transparent);
  flex-shrink: 0;
}

.evc-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.evc-brand img {
  height: 24px;
  max-width: 110px;
  object-fit: contain;
}

.evc-badge {
  height: 16px !important;
  opacity: 0.85;
}

.evc-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--evc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.evc-measure {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--evc-primary) 50%, transparent);
  background: color-mix(in srgb, var(--evc-primary) 12%, transparent);
  color: var(--evc-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.evc-stage {
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 180px;
  background: #000;
}

.evc-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.evc-stage-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 196, 0, 0.45);
  font-weight: 700;
}

.evc-resize-handle {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  cursor: nwse-resize;
  background: linear-gradient(135deg, transparent 50%, rgba(245, 196, 0, 0.75) 50%);
  opacity: 0.85;
}

.evc-resize-handle:hover {
  opacity: 1;
}

.evc-controls {
  display: grid;
  gap: 12px;
}

.evc-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.evc-fieldset legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.evc-ratio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.evc-ratio-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.evc-ratio-btn.active {
  border-color: var(--brand-primary, #f5c400);
  background: color-mix(in srgb, var(--brand-primary, #f5c400) 18%, transparent);
  color: var(--brand-primary, #f5c400);
  font-weight: 700;
}

.evc-label {
  display: grid;
  gap: 4px;
  font-size: 13px;
}

.evc-optional {
  font-weight: 400;
  opacity: 0.75;
}

.evc-colors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.evc-color input[type="color"] {
  width: 100%;
  height: 36px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.evc-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.evc-snippet {
  width: 100%;
  min-height: 120px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: inherit;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  resize: vertical;
}

.evc-label input[type="url"],
.evc-label input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font: inherit;
}

.evc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.evc-btn {
  padding: 10px 16px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.evc-btn-copy,
.evc-btn-save {
  background: var(--brand-primary, #f5c400);
  color: #1a1410;
}

.evc-codes-cta {
  margin-top: 8px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(245, 196, 0, 0.08);
  border: 1px solid rgba(245, 196, 0, 0.25);
}

.evc-codes-cta-text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
}

.evc-btn-codes {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand-primary, #f5c400);
  color: #1a1410;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.evc-hint {
  margin: 0;
  font-size: 12px;
  opacity: 0.85;
}

.ecg-root {
  display: grid;
  gap: 16px;
}

.ecg-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.92;
}

.ecg-mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ecg-mode-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ecg-mode-btn.active {
  border-color: rgba(245, 196, 0, 0.45);
  background: rgba(245, 196, 0, 0.15);
  color: #f5c400;
}

.ecg-label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.ecg-optional {
  font-weight: 400;
  opacity: 0.75;
}

.ecg-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font: inherit;
  font-weight: 400;
}

.ecg-hint {
  margin: -8px 0 0;
  font-size: 12px;
  opacity: 0.85;
  line-height: 1.45;
}

.ecg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ecg-btn {
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.ecg-btn-primary {
  background: #f5c400;
  color: #1a1410;
}

.ecg-btn-copy {
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.ecg-btn-small {
  padding: 6px 12px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}

.ecg-status {
  margin: 0;
  font-size: 13px;
}

.ecg-status--ok {
  color: #6dd99a;
}

.ecg-status--error {
  color: #f88;
}

.ecg-result {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ecg-result-title,
.ecg-history-title {
  margin: 0 0 10px;
  font-size: 1rem;
}

.ecg-preview-wrap {
  margin-bottom: 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 16 / 9;
  background: #000;
}

.ecg-preview-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ecg-snippet {
  width: 100%;
  min-height: 120px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: inherit;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  resize: vertical;
}

.ecg-history {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ecg-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ecg-history-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 13px;
}

.ecg-history-label {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ecg-history-date {
  font-size: 11px;
  opacity: 0.7;
}

.vitrine-embed-actions--top {
  margin-bottom: 16px;
}

.vitrine-download-btn--primary {
  background: var(--brand-primary, #f5c400);
  color: #1a1410;
  font-weight: 700;
}

@media (max-width: 860px) {
  .evc-colors {
    grid-template-columns: 1fr;
  }
}
