.danger-toast {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
  border: 2px solid #ef4444 !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 1rem !important;
  font-size: 15px !important;
  line-height: 20px !important;
  z-index: 1000 !important;
  box-shadow: 0 10px 25px -3px rgba(239, 68, 68, 0.4), 0 4px 6px -2px rgba(239, 68, 68, 0.2) !important;
  animation: slideInRight 0.3s ease-out !important;
  position: fixed !important;
  top: 120px !important;
  right: 1rem !important;
  max-width: 400px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Daha spesifik selector */
.toast.danger-toast {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
  border: 2px solid #ef4444 !important;
  color: #ffffff !important;
}

/* Bootstrap override */
.toast.align-items-center.danger-toast {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
  border: 2px solid #ef4444 !important;
}

/* En güçlü override */
div.toast.align-items-center.danger-toast[role="alert"] {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
  border: 2px solid #ef4444 !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 1rem !important;
  box-shadow: 0 10px 25px -3px rgba(239, 68, 68, 0.4), 0 4px 6px -2px rgba(239, 68, 68, 0.2) !important;
}

/* Danger toast için özel ikon container */
.danger-toast::before {
  content: "✕";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #ef4444;
  border-radius: 50%;
  flex-shrink: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

/* Danger toast text styling */
.danger-toast .d-flex {
  flex: 1;
  align-items: center;
  gap: 12px;
}

/* Danger toast close button */
.danger-toast button.btn-close {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.3);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.danger-toast button.btn-close:hover {
  background: rgba(239, 68, 68, 0.3);
  transform: scale(1.05);
}

.danger-toast button.btn-close svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
}

.warning-toast {
  background: var(--background-toast-warning);
  border: none;
  color: var(--color-toast-warning);
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 16px;
  line-height: 22px;
}

.info-toast {
  background: linear-gradient(135deg, #131c2e 0%, #0f1521 100%) !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 16px !important;
  padding: 1.25rem !important;
  font-size: 14px !important;
  line-height: 20px !important;
  width: 100% !important;
  max-width: 420px !important;
  position: fixed !important;
  z-index: 1000 !important;
  right: 1rem !important;
  top: 120px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(8px) !important;
  animation: slideInRight 0.3s ease-out !important;
}

/* Daha spesifik selector */
.toast.info-toast {
  background: linear-gradient(135deg, #131c2e 0%, #0f1521 100%) !important;
  border: none !important;
  color: #ffffff !important;
}

/* Bootstrap override */
.toast.align-items-center.info-toast {
  background: linear-gradient(135deg, #131c2e 0%, #0f1521 100%) !important;
  border: none !important;
}

/* En güçlü override */
div.toast.align-items-center.info-toast[role="alert"] {
  background: linear-gradient(135deg, #131c2e 0%, #0f1521 100%) !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 16px !important;
  padding: 1.25rem !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(8px) !important;
}

/* Tüm toast elementleri için */
[id*="addtocart-toast"] {
  background: linear-gradient(135deg, #131c2e 0%, #0f1521 100%) !important;
  border: none !important;
  border-radius: 16px !important;
}

.notification-toast {
  background: #22283C;
  border: none;
  color: var(--color-toast-info);
  border-radius: 12px;
  padding: 0.7rem;
  font-size: 16px;
  line-height: 22px;
  width: 100%;
  max-width: 658px;
  position: fixed;
  z-index: 99;
  right: 197px;
  top: 150px;
}

.success-toast {
  background-color: var(--background-toast-success);
  border: none;
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 16px;
  line-height: 22px;
  color: var(--color-toast-success);
  max-width: 423px;
}

.success-toast a {
  color: var(--color-toast-success);
  font-weight: 600;
}

p.m-0.addtocart-toast-product-name {
  color: #f58331;
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  margin-bottom: 4px;
  line-height: 1.4;
}

.addtocart-toast-image {
  border-radius: 8px;
  margin-right: 12px;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: none;
}

.addtocart-toast-product-name {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  text-transform: none;
  color: #f58331;
  margin-bottom: 4px;
}

.toast button.btn-close {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(245, 131, 49, 0.1);
  border: none;
  transition: all 0.2s ease;
}

.toast button.btn-close:hover {
  background: rgba(245, 131, 49, 0.2);
  transform: scale(1.05);
}

.toast button.btn-close svg {
  width: 20px;
  height: 20px;
}

.product-rawprice {
  font-size: 20px;
  font-weight: 600;
  color: #ccc;
  margin-top: 25px;
  float: left;
  text-decoration: line-through;
  display: block;
}

.product-specialprice {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 25px;
  float: left;
  margin-left: 10px;
}

.notification-toast .discount-percentage {
  margin-top: 10px;
  display: inline-flex;
  width: 60px;
  padding: 5px;
  font-size: 18px;
  padding-top: 0;
  padding-bottom: 0;
}

.notification-toast .text-uppercase.product__purchase.w-100.voidu-button.voidu-button--primary {
    width: 135px !important;
    margin-left: 10px;
    margin-top: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

.notification-product-dialog-close {
  all: unset;
  border-radius: .125rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  transition: transform .25s;
}

/* Toast Animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.toast.hide {
  animation: slideOutRight 0.3s ease-in forwards;
}

/* Success message styling */
.info-toast .me-3 {
  color: #e5e7eb;
  font-size: 14px;
  line-height: 1.4;
}

/* Mobil cihazlar için düzenleme */
@media (max-width: 768px) {
  .info-toast {
    right: 0.5rem;
    left: 0.5rem;
    max-width: none;
    top: 100px;
  }

  .danger-toast {
    right: 0.5rem !important;
    left: 0.5rem !important;
    max-width: none !important;
    top: 100px !important;
    width: calc(100% - 1rem) !important;
    padding: 0.875rem !important;
    font-size: 14px !important;
  }

  .danger-toast::before {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .danger-toast button.btn-close {
    width: 24px;
    height: 24px;
  }

  .danger-toast button.btn-close svg {
    width: 14px;
    height: 14px;
  }

  .toast {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem;
  }

  .addtocart-toast-image {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    margin-right: 10px;
  }

  .product-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
  }

  .addtocart-toast-product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .info-toast .me-3 {
    font-size: 13px;
  }

  .toast button.btn-close {
    width: 28px;
    height: 28px;
  }

  .toast button.btn-close svg {
    width: 16px;
    height: 16px;
  }

  .notification-toast {
    background: #22283C;
    border: none;
    border-radius: 12px;
    padding: 0.7rem;
    font-size: 16px;
    line-height: 20px;
    color: var(--color-toast-info);
    width: 95%;
    max-width: 100%;
    position: fixed;
    z-index: 99;
    right: 11px;
    top: 150px;
  }
  .notification-toast .m-0.addtocart-toast-product-name {
    font-size: 21px;
  }

  .notification-toast .discount-percentage {
    width: 44px;
    font-size: 14px;
  }

  .product__purchase {
      margin-top: 10px;
      text-align: center;
      padding: 8px;
      font-size: 14px;
  }
  .notification-toast .text-uppercase.product__purchase.w-100.voidu-button.voidu-button--primary {
    font-size: 13px;
    padding: 0;
    margin-top: 88px;
  }
}

@media (max-width: 768px) {
  .me-3.mt-3 {
    margin-right: 0.5rem !important; /* `me-2` eşdeğeri */
    margin-top: 0.5rem !important; /* `mt-2` eşdeğeri */
    margin-bottom: 0.50rem !important; /* `mb-1` eşdeğeri */
  }
}
