/* =========================================================
   GIYIMCENTER – SWEETALERT v1 FINAL OVERRIDE (BODY PREFIX)
   ========================================================= */

body .swal-overlay {
  background: rgba(11,11,11,.45) !important;
  backdrop-filter: blur(6px);
}

/* MODAL */
body .swal-overlay .swal-modal {
  width: calc(100% - 32px) !important;
  max-width: 460px !important;
  padding: 24px 8px 8px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(235, 233, 228,.9) !important;
  box-shadow: none !important;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif!important;
}

/* TITLE */
body .swal-overlay .swal-modal .swal-title {
  text-align: center !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0b0b0b !important;
  margin: 6px 0 !important;
  padding: 0 !important;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}

/* TEXT */
body .swal-overlay .swal-modal .swal-text {
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #333333 !important;
  margin: 4px 0 0 0 !important;
}

/* =========================================================
   ICON FIX
   ========================================================= */

body .swal-overlay .swal-modal .swal-icon {
  margin: 10px auto 12px !important;
  transform: scale(.9);
}

/* SUCCESS – SADE CHECK */
body .swal-icon--success {
  border: none !important;
}

body .swal-icon--success__ring {
    background: #c6f432;

}

body .swal-icon--success__line {
  background-color: #fff !important;
}

/* ERROR – KIRMIZI DAİRE + X */
body .swal-icon--error {
  border: 1px solid #e5484d;
  background: #e5484d;
}

body .swal-icon--error::before {
  content: "";
  width: 56px;
  height: 56px;
  background: #e5484d;
  border-radius: 50%;
  position: absolute;
  inset: 0;
  margin: auto;
}

body .swal-icon--error__x-mark {
  position: relative;
  z-index: 2;
}

body .swal-icon--error__line {
  background-color: #ffffff !important;
  height: 4px !important;
}

/* =========================================================
   FOOTER
   ========================================================= */

body .swal-overlay .swal-modal .swal-footer {
  background: #ffffff !important;
  border-top: none !important;
  margin-top: 4px !important;
  padding: 14px 0 0 !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

/* BUTTON CONTAINER */
body .swal-overlay .swal-modal .swal-button-container {
  margin: 0 !important;
}

/* BUTTONS */
body .swal-overlay .swal-modal .swal-button {
  border-radius: 10px !important;
  padding: 8px 18px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  border: none !important;
  transition: all .15s ease !important;
}

/* HOVER */
body .swal-overlay .swal-modal .swal-button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* CONFIRM */
body .swal-overlay .swal-modal .swal-button--confirm,
body .swal-overlay .swal-modal .swal-button--confirm.btn-theme-3 {
  background: #4d4d4d !important;
  color: #ffffff !important;
}

/* SEPETE GİT */
body .swal-overlay .swal-modal .swal-button--cart,
body .swal-overlay .swal-modal .swal-button--cart.btn-theme-4 {
  background: #0b0b0b !important;
  color: #ffffff !important;
}
body .swal-overlay .swal-modal .swal-button--cart:hover,
body .swal-overlay .swal-modal .swal-button--cart.btn-theme-4:hover {
  background: #0b0b0b !important;
}

/* ERROR CONFIRM */
body .swal-overlay .swal-modal.sd-swal-error .swal-button--confirm {
  background: #e5484d !important;
}

/* MOBILE */
@media (max-width: 480px) {
  body .swal-overlay .swal-modal {
    max-width: 100% !important;
  }

  body .swal-overlay .swal-modal .swal-footer {
    justify-content: right !important;
  }
}