/* 
 Theme Name:     Mleef
 Author:         qwerty-soft
 Author URI:     http://marketleef.com
 Template:       Divi
 Version:        1.712
 Description:   A Child Theme built for the Divi theme.
*/

/* Purchase Section Preloader */
.purchase-preloader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.3s ease-in-out;
}

.purchase-preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  color: #333;
}

.preloader-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid #3c9845;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(2) {
  animation-delay: 0.1s;
  border-top-color: #28a745;
}

.spinner-ring:nth-child(3) {
  animation-delay: 0.2s;
  border-top-color: #20c997;
}

.spinner-ring:nth-child(4) {
  animation-delay: 0.3s;
  border-top-color: #17a2b8;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.preloader-text {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  margin-top: 10px;
}

.custom-product-section__purchase {
  position: relative;
  min-height: 300px;
}

.purchase-content {
  transition: opacity 0.3s ease-in-out;
}

.purchase-content.visible {
  display: block !important;
  opacity: 1;
}
