/* ══════════════════════════════════════════════════════════════════════
   FILTER CHIPS
   ══════════════════════════════════════════════════════════════════════ */

.filters-chips-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 30px !important;
}

#vr-chips-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  justify-content: center !important;
}

.filter-chip {
  padding: 10px 24px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(245, 230, 211, 0.3) !important;
  border-radius: 50px !important;
  color: #F5E6D3 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
  backdrop-filter: blur(10px) !important;
  white-space: nowrap !important;
  height: auto !important;
  align-self: center !important;
}
@media (max-width: 782px) {
  .filters-chips-container {
    gap: 10px !important;
    margin-bottom: 20px !important;
  }
  #vr-chips-row {
    gap: 8px !important;
  }
  .filter-chip {
    padding: 9px 12px !important;
    font-size: 12px !important;
  }
}
.filter-chip:hover {
  background: rgba(245, 230, 211, 0.2) !important;
  border-color: #F5E6D3 !important;
}
.filter-chip.active {
  background: #633b24 !important;
  border-color: #633b24 !important;
  color: #fff !important;
}

/* ── Chip Friends & Family — bordure rayée ──────────────────────────── */
.filter-chip[data-filter-category="friends-family"] {
  position: relative;
}
.filter-chip[data-filter-category="friends-family"]::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 4px;
  border-radius: inherit;
  background: repeating-linear-gradient(45deg, #635045 0 6px, #ffec80 6px 12px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  pointer-events: none;
}
.filter-chip.active[data-filter-category="friends-family"]::before {
  background: repeating-linear-gradient(45deg, #633b24 0 6px, #FFD700 6px 12px);
}

/* ══════════════════════════════════════════════════════════════════════
   BOUTON "Ajouter Ma Photo"
   ══════════════════════════════════════════════════════════════════════ */

#vr-add-btn-wrap {
  display: flex;
  justify-content: center;
}
#vr-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 18px;
  background: #633b24;
  border: 1.5px solid #633b24;
  border-radius: 100px;
  color: #F5E6D3;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
  box-shadow: 0 2px 12px rgba(99, 59, 36, 0.35);
}
#vr-add-btn:hover  { transform: scale(1.02); opacity: 0.92; }
#vr-add-btn:active { transform: scale(0.98); }
#vr-add-btn:focus-visible { outline: 2px solid #dbbd76; outline-offset: 3px; }

/* ══════════════════════════════════════════════════════════════════════
   ÉTATS CHARGEMENT / AUCUN RÉSULTAT
   ══════════════════════════════════════════════════════════════════════ */

.outfits-results-count {
  text-align: center;
  padding: 15px;
  color: rgba(245, 230, 211, 0.8);
  font-size: 14px;
  margin-bottom: 20px;
}
.loading-state {
  text-align: center;
  padding: 60px 20px;
  color: rgba(245, 230, 211, 0.8);
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(245, 230, 211, 0.2);
  border-top-color: #F5E6D3;
  border-radius: 50%;
  animation: vr-spin 0.8s linear infinite;
  margin: 0 auto 15px;
}
@keyframes vr-spin { to { transform: rotate(360deg); } }
.no-results { text-align: center; padding: 60px 20px; color: rgba(245, 230, 211, 0.7); }
.no-results h3 { font-size: 24px; margin-bottom: 10px; color: #F5E6D3; }

/* ══════════════════════════════════════════════════════════════════════
   GRILLE OUTFITS — Masonry colonnes (ordre L→R chronologique)
   ══════════════════════════════════════════════════════════════════════ */

.outfits-container {
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
  padding: 0 20px !important;
}
.wp-block-kadence-column .outfits-container { display: flex !important; }

.masonry-col {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  min-width: 0 !important;
}

/* ══════════════════════════════════════════════════════════════════════
   CARTES OUTFITS
   ══════════════════════════════════════════════════════════════════════ */

.searchable-outfit {
  width: 100% !important;
  position: relative !important;
  margin: 0 !important;
  border-radius: 15px !important;
  overflow: visible !important;
}
@media (max-width: 782px) {
  .outfits-container {
    gap: 12px !important;
    padding: 0 12px !important;
  }
  .masonry-col {
    gap: 12px !important;
  }
}

/* Wrapper interne (notre nouveau format) */
.searchable-outfit .outfit-inner {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  border-radius: 15px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  position: relative !important;
}

/* Wrapper Kadence (ancien format, compatibilité) */
.searchable-outfit .kt-inside-inner-col {
  width: 100% !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  border-radius: 15px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  position: relative !important;
}

/* Images */
.searchable-outfit .outfit-inner img:not(.details-icon),
.searchable-outfit .kt-inside-inner-col img:not(.details-icon),
.searchable-outfit .wp-block-kadence-image img:not(.details-icon),
.searchable-outfit figure img:not(.details-icon),
.searchable-outfit .kb-is-ratio-image img:not(.details-icon),
.searchable-outfit img.kb-img:not(.details-icon) {
  position: relative !important;
  top: auto !important; left: auto !important;
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  max-width: 100% !important;
  border-radius: 15px !important;
  display: block !important;
}

/* ── Label @username ────────────────────────────────────────────────── */
.outfit-author {
  position: absolute !important;
  top: 10px !important; left: 10px !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-family: 'Comic Neue', 'Comic Sans MS', 'Chalkboard SE', cursive !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #ffffff !important;
  text-shadow:
    -1px -1px 0 #000,  0 -1px 0 #000,  1px -1px 0 #000,
    -1px  0   0 #000,  1px  0   0 #000,
    -1px  1px 0 #000,  0    1px 0 #000,  1px  1px 0 #000;
  z-index: 10 !important;
  pointer-events: none !important;
}
@media (max-width: 782px) {
  .outfit-author { font-size: 12px !important; }
}

/* ── Bouton détails (bulle "!?") ────────────────────────────────────── */
.outfit-details-trigger {
  position: absolute !important;
  bottom: 10px !important; right: 10px !important;
  width: 45px !important; height: 45px !important;
  border: 2px solid rgba(245, 230, 211, 0.3);
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
  transition: transform 0.2s ease, background 0.2s ease !important;
  z-index: 10 !important;
  backdrop-filter: blur(5px);
  color: #F5E6D3 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  background: transparent !important;
}
.outfit-details-trigger:hover {
  background: rgba(245, 230, 211, 0.15) !important;
  transform: scale(1.15) !important;
}
/* Taille du logo dans la bulle — modifier ici */
.outfit-details-trigger .details-icon {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
  pointer-events: none !important;
  display: block !important;
}
@media (max-width: 782px) {
  .outfit-details-trigger { width: 35px !important; height: 35px !important; bottom: 8px !important; right: 8px !important; }
  .outfit-details-trigger .details-icon { width: 18px !important; height: 18px !important; max-width: 18px !important; max-height: 18px !important; }
}

/* ── Bordure Friends & Family — canne à sucre ──────────────────────── */
.searchable-outfit.data-category-friends-family {
  position: relative !important;
}
.searchable-outfit.data-category-friends-family::before {
  content: '';
  position: absolute !important;
  inset: 0;
  padding: 4px;
  border-radius: 15px;
  background: repeating-linear-gradient(45deg, #633b24 0 6px, #FFD700 6px 12px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 99;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════════
   ZOOM SIMPLE
   ══════════════════════════════════════════════════════════════════════ */

.simple-zoom-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999998;
}
.simple-zoom-overlay.active { display: block; }

.simple-zoom-container {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
}
.simple-zoom-container.active { display: block; }

.simple-zoom-image-wrapper {
  position: relative;
  width: 400px; height: 572px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}
.simple-zoom-image-wrapper.friends-family::before {
  content: '';
  position: absolute; inset: 0;
  padding: 6px;
  border-radius: inherit;
  background: repeating-linear-gradient(45deg, #633b24 0 6px, #FFD700 6px 12px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 10;
  pointer-events: none;
}
.simple-zoom-image { width: 100%; height: 100%; object-fit: cover; }

.simple-zoom-close {
  position: absolute; top: -5px; right: -5px;
  width: 45px; height: 45px;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px;
  z-index: 10; line-height: 1;
  transition: transform 0.2s ease;
}
.simple-zoom-close:hover { transform: scale(1.15); background: transparent !important; }

@media (max-width: 782px) {
  .simple-zoom-image-wrapper { width: 300px; height: 450px; }
  .simple-zoom-close { width: 40px; height: 40px; font-size: 24px; }
}

/* ══════════════════════════════════════════════════════════════════════
   OVERLAY DRAWER
   ══════════════════════════════════════════════════════════════════════ */

.search-overlay {
  display: none;
  position: fixed;
  top: -50px; left: 0;
  width: 100%; height: calc(100vh + 50px); height: calc(100dvh + 50px);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999998;
}
.search-overlay.active { display: block; }

/* ── Cacher le header quand le drawer est ouvert ────────────────────── */
body.drawer-open > header,
body.drawer-open > .site-header,
body.drawer-open > #masthead,
body.drawer-open .site > header,
body.drawer-open #page > header,
body.drawer-open .site-header,
body.drawer-open header:not(.popup-header) { display: none !important; }

/* ══════════════════════════════════════════════════════════════════════
   DRAWER DÉTAILS
   ══════════════════════════════════════════════════════════════════════ */

.outfit-details-drawer {
  position: fixed;
  bottom: -300%; left: 0;
  width: 100%; height: 60vh;
  background: #2e2016;
  border-radius: 30px 30px 0 0;
  z-index: 999999;
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}
.outfit-details-drawer.active { bottom: 0; }
@media (max-width: 782px) { .outfit-details-drawer { height: 40vh; } }

.drawer-outfit-image-wrapper {
  position: absolute;
  top: -250px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 286px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  z-index: 999;
}
.drawer-outfit-image-wrapper.friends-family::before {
  content: '';
  position: absolute; inset: 0; padding: 6px;
  border-radius: inherit;
  background: repeating-linear-gradient(45deg, #633b24 0 6px, #FFD700 6px 12px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 10; pointer-events: none;
}
.drawer-outfit-image { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 782px) {
  .drawer-outfit-image-wrapper { width: 270px; height: 405px; top: -375px; }
}

.drawer-content {
  padding-top: 50px;
  height: 100%;
  display: flex; flex-direction: column;
  position: relative;
}
@media (max-width: 782px) { .drawer-content { padding-top: 20px; } }

.drawer-header { display: none !important; }

.drawer-close {
  position: absolute; top: 20px; right: 20px;
  background: transparent; border: none;
  width: 45px; height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #F5E6D3;
  z-index: 30;
  transition: transform 0.2s ease;
}
.drawer-close:hover { transform: rotate(90deg) scale(1.15); background: transparent !important; }

/* ══════════════════════════════════════════════════════════════════════
   CAROUSEL
   ══════════════════════════════════════════════════════════════════════ */

.carousel-container {
  flex: 1;
  position: relative;
  display: flex; align-items: center;
  padding: 20px 0;
  overflow: hidden;
}

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(245, 230, 211, 0.15);
  border: 2px solid rgba(245, 230, 211, 0.3);
  width: 50px; height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #F5E6D3; font-size: 20px;
  z-index: 10; backdrop-filter: blur(5px);
  transition: background 0.2s ease, border-color 0.2s ease;
  outline: none !important; box-shadow: none !important;
}
.carousel-arrow:hover { background: rgba(245, 230, 211, 0.25); border-color: #F5E6D3; transform: translateY(-50%) scale(1.1); }
.carousel-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.carousel-arrow-left  { left: 20px; }
.carousel-arrow-right { right: 20px; }

.carousel-track-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 0 80px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: grab;
  padding-right: 80px;
}
.carousel-track.dragging { cursor: grabbing; transition: none; }

.carousel-slide {
  flex: 0 0 200px;
  background: #DDDDDD;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease;
  user-select: none;
}
.carousel-slide:hover { transform: translateY(-2px); }
.carousel-slide-image { width: 100%; height: 200px; object-fit: cover; border-radius: 15px 15px 0 0; }
.carousel-slide-content { padding: 12px; text-align: center; }
.carousel-slide-title { font-size: 14px; font-weight: 600; color: #000; margin: 0 0 6px; line-height: 1.3; }
.carousel-slide-price { font-size: 16px; font-weight: 700; color: #000; margin: 0; }

.carousel-indicators {
  display: none !important;
}
.carousel-indicator {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(245, 230, 211, 0.3);
  border: none; cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
  padding: 0;
}
.carousel-indicator.active { background: #F5E6D3; width: 30px; border-radius: 5px; }

@media (max-width: 782px) {
  .carousel-track-wrapper {
    padding: 0 30px;
    overflow-x: scroll; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .carousel-track-wrapper::-webkit-scrollbar { display: none; }
  .carousel-track {
    padding-right: 30px;
    transition: none !important;
    transform: none !important;
    cursor: default;
  }
  .carousel-slide { flex: 0 0 80px; scroll-snap-align: start; }
  .carousel-slide-image { height: 80px; }
  .carousel-slide-title { font-size: 10px; }
  .carousel-slide-price { font-size: 12px; }
  .carousel-arrow { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   POPUP SOUMISSION VISITEUR — Backdrop
   ══════════════════════════════════════════════════════════════════════ */

#vr-backdrop {
  position: fixed; inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#vr-backdrop[hidden] { display: none !important; }
#vr-backdrop.vr-visible { opacity: 1; }
#vr-backdrop.vr-visible #vr-popup { transform: translateY(0); }

#vr-popup {
  position: relative;
  width: 100%; max-width: 480px;
  background: #2e2016;
  border-radius: 28px 28px 0 0;
  padding: 28px 22px 36px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 -8px 48px rgba(0,0,0,0.55), 0 -2px 8px rgba(0,0,0,0.3);
  box-sizing: border-box;
}

@media (min-width: 640px) {
  #vr-backdrop { align-items: center; padding: 24px; }
  #vr-popup { border-radius: 24px; transform: translateY(12px); box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.3); }
}

#vr-close {
  position: absolute; top: 10px; right: 12px;
  background: rgba(245, 230, 211, 0.1);
  border: none; border-radius: 50%;
  width: 44px; height: 44px;
  color: #F5E6D3; font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
  /* Hitbox élargie sur mobile */
  touch-action: manipulation;
}
#vr-close:hover { background: rgba(245, 230, 211, 0.2); transform: scale(1.1); }
#vr-close:focus-visible { outline: 2px solid #dbbd76; outline-offset: 2px; }

#vr-title {
  color: #F5E6D3; font-size: 22px; font-weight: 700;
  letter-spacing: -0.03em; margin: 0 0 24px; text-align: center;
}

/* ── Drop zone ──────────────────────────────────────────────────────── */
#vr-drop-zone {
  border: 2px dashed rgba(245, 230, 211, 0.25);
  border-radius: 16px;
  background: rgba(245, 230, 211, 0.03);
  min-height: 110px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden; position: relative;
  margin-bottom: 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
#vr-drop-zone:hover,
#vr-drop-zone:focus-visible,
#vr-drop-zone.vr-drag-over {
  border-color: #dbbd76;
  background: rgba(219, 189, 118, 0.06);
  outline: none;
}
#vr-drop-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 24px;
  color: rgba(245, 230, 211, 0.55); font-size: 14px; text-align: center;
}
#vr-drop-inner svg { color: rgba(245, 230, 211, 0.35); }
.vr-hint { font-size: 12px; color: rgba(245, 230, 211, 0.3); }
#vr-preview { width: 100%; max-height: 220px; object-fit: cover; border-radius: 14px; display: block; }
#vr-preview[hidden] { display: none !important; }

/* ── Champs ─────────────────────────────────────────────────────────── */
.vr-field { margin-bottom: 16px; }
.vr-field label { display: block; color: rgba(245, 230, 211, 0.65); font-size: 13px; margin-bottom: 6px; }
.vr-field input[type="text"] {
  width: 100%;
  background: rgba(245, 230, 211, 0.06);
  border: 1.5px solid rgba(245, 230, 211, 0.12);
  border-radius: 10px; padding: 10px 14px;
  color: #F5E6D3; font-size: 15px; box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.vr-field input[type="text"]:focus { outline: none; border-color: rgba(219, 189, 118, 0.55); }
.vr-field input[type="text"]::placeholder { color: rgba(245, 230, 211, 0.22); }

/* ── CGU ────────────────────────────────────────────────────────────── */
.vr-terms-label {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; color: rgba(245, 230, 211, 0.7); font-size: 14px; line-height: 1.5;
}
.vr-terms-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: #633b24; flex-shrink: 0; cursor: pointer; }
.vr-terms-label a { color: #dbbd76; text-decoration: underline; }
.vr-terms-label a:hover { opacity: 0.8; }

/* ── Erreur ─────────────────────────────────────────────────────────── */
#vr-error { color: #ff7a7a; font-size: 13px; margin: 8px 0; text-align: center; line-height: 1.5; }
.vr-field input[type="text"].vr-input-error {
  border-color: rgba(255, 100, 100, 0.7);
  color: #ff7a7a;
}

/* ── Bouton envoi ───────────────────────────────────────────────────── */
#vr-submit {
  display: block; width: 100%; padding: 14px;
  background: #633b24; border: none; border-radius: 12px;
  color: #F5E6D3; font-size: 16px; font-weight: 700;
  letter-spacing: -0.01em; cursor: pointer; margin-top: 20px;
  box-shadow: 0 4px 20px rgba(99,59,36,0.45), 0 1px 4px rgba(0,0,0,0.3);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
}
#vr-submit:hover  { transform: scale(1.02); opacity: 0.93; }
#vr-submit:active { transform: scale(0.98); }
#vr-submit:focus-visible { outline: 2px solid #dbbd76; outline-offset: 3px; }

/* ── Loader ─────────────────────────────────────────────────────────── */
#vr-loader { display: flex; justify-content: center; padding: 24px 0; }
#vr-loader[hidden] { display: none !important; }
.vr-spinner {
  width: 32px; height: 32px;
  border: 3px solid rgba(245, 230, 211, 0.12);
  border-top-color: #dbbd76;
  border-radius: 50%;
  animation: vr-spin 0.75s linear infinite;
}

/* ── Écran succès ───────────────────────────────────────────────────── */
#vr-success-screen[hidden] { display: none !important; }
#vr-success-screen {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 16px 0 8px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#vr-success-screen.vr-success-visible { opacity: 1; transform: translateY(0); }
#vr-success-screen h2 { color: #F5E6D3; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; margin: 20px 0 10px; }
#vr-success-screen p  { color: rgba(245, 230, 211, 0.8); font-size: 15px; line-height: 1.7; margin: 3px 0; }
.vr-hint-success { color: rgba(245, 230, 211, 0.45) !important; font-size: 13px !important; margin-top: 18px !important; max-width: 340px; }
.vr-contact a { color: #dbbd76; text-decoration: underline; }

/* ── Animation checkmark SVG ────────────────────────────────────────── */
#vr-check-wrap { width: 80px; height: 80px; }
.vr-check-icon { width: 80px; height: 80px; }
.vr-check-circle {
  stroke: #4caf7a; stroke-width: 2; stroke-dasharray: 166; stroke-dashoffset: 166;
  stroke-linecap: round;
  animation: vr-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.15s forwards;
}
.vr-check-path {
  stroke: #4caf7a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: vr-stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.65s forwards;
}
@keyframes vr-stroke { to { stroke-dashoffset: 0; } }

/* ── Fixes hidden attribute ─────────────────────────────────────────── */
#vr-backdrop[hidden]        { display: none !important; }
#vr-loader[hidden]          { display: none !important; }
#vr-success-screen[hidden]  { display: none !important; }
