.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: cc_Z0fv8wUkj4_v2T2bRAH6H_mirage-fade 0.3s ease both;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-card {
  position: relative;
  max-width: 460px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: cc_Z0fv8wUkj4_v2T2bRAH6H_mirage-pop 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Opsiyonel üst görsel — sabit yükseklik + cover: eski max-height kırpması
   görseli üstten rastgele kesiyordu, artık ortadan düzgün kadraj alınır.
   gorselYukseklik=0 → data-media="otomatik": görsel kendi oranında tam görünür. */
.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-media {
  width: 100%;
  height: var(--mirage-media-h, 220px);
  overflow: hidden;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-card[data-media="otomatik"] .mirage-media { height: auto; }
.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-card[data-media="otomatik"] .mirage-img { height: auto; }

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-card:hover .mirage-img {
  transform: scale(1.06);
}

/* ---- Gövde / form ---- */
.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-body {
  padding: 34px clamp(24px, 5vw, 40px) 36px;
  text-align: center;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-title {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3.2vw, 31px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-desc {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.75;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-error-banner {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  background: rgba(200, 80, 70, 0.1);
  color: #b3261e;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-field {
  display: flex;
  gap: 10px;
}

@media (max-width: 480px) {
  .cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-field { flex-direction: column; }
}

/* ---- Mobil: varsayılan ORTALANMIŞ kompakt modal (masaüstüyle aynı konum).
   "Mobilde Alttan Bant" (mobilAltBant) açılırsa eski bottom-sheet davranışı. ---- */
@media (max-width: 640px) {
  .cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-overlay { padding: 18px; }
  .cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-card { max-width: 400px; max-height: 88vh; overflow-y: auto; }
  .cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-media { height: min(var(--mirage-media-h, 220px), 30vh); }
  .cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-body { padding: 22px 20px 26px; }
  .cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-title { font-size: 22px; }
  .cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-desc { font-size: 13.5px; margin-bottom: 16px; }

  /* alt bant modu */
  .cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-overlay[data-m-konum="alt"] {
    align-items: flex-end;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-overlay[data-m-konum="alt"] .mirage-card {
    max-width: none;
    border-radius: 22px 22px 0 0;
    max-height: 78vh;
    animation: cc_Z0fv8wUkj4_v2T2bRAH6H_mirage-sheet-up 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
  /* otomatik modda mobilde de kendi oranında kalır */
  .cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-card[data-media="otomatik"] .mirage-media { height: auto; max-height: 34vh; }
}

@keyframes cc_Z0fv8wUkj4_v2T2bRAH6H_mirage-sheet-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: inherit;
  border: 1.5px solid var(--mirage-input-border, rgba(26, 26, 24, 0.18));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-input::placeholder { opacity: 0.5; }

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-input:focus {
  outline: none;
  border-color: currentColor;
  box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.16);
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-input[data-state="error"] {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-submit {
  flex-shrink: 0;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.02em;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(200, 149, 108, 0.32);
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-submit:disabled { opacity: 0.6; cursor: default; }

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-helper {
  display: block;
  font-size: 12.5px;
  color: #b3261e;
  text-align: left;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.45;
  text-align: left;
  opacity: 0.78;
  cursor: pointer;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-consent input {
  margin-top: 1px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ---- Başarı / indirim kodu ---- */
.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-success-icon {
  display: inline-flex;
  margin-bottom: 6px;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-code-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 8px;
  padding: 8px 8px 8px 18px;
  border: 1.5px dashed;
  border-radius: 14px;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-code {
  flex: 1;
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-copy {
  flex-shrink: 0;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-copy:hover { transform: translateY(-1px); }
.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-copy:active { transform: translateY(0); opacity: 0.85; }

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1.5px solid;
  border-radius: 12px;
  transition: opacity 0.2s ease;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-cta:hover { opacity: 0.65; }

/* ---- Kapat butonu ---- */
.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-close:hover {
  transform: rotate(90deg);
  background: #ffffff;
}

@keyframes cc_Z0fv8wUkj4_v2T2bRAH6H_mirage-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cc_Z0fv8wUkj4_v2T2bRAH6H_mirage-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-overlay, .cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-card { animation: none; }
  .cc_Z0fv8wUkj4_v2T2bRAH6H .mirage-img { transition: none; }
}
