.tutor-ratio-16x9 {
  padding-top: 56.25%;
  height: 300px;
}
/* Custom CSS for Buy Now Button in Edumoon Child Theme */

/* Buy Now Button Styling */
.tutor-buy-now-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: linear-gradient(135deg, #4f46e5 0%, #0f2b5a 100%);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  min-height: 60px;
}

.tutor-buy-now-btn:hover {
  background: linear-gradient(135deg, #0d5ff9 0%, #4f46e5 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.tutor-buy-now-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

/* Icon Styling */
.tutor-buy-now-btn .btn-icon {
  margin-right: 12px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text Container */
.tutor-buy-now-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.2;
}

.tutor-buy-now-text .buy-now-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tutor-buy-now-text .buy-now-price {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .tutor-buy-now-btn {
    padding: 14px 20px;
    min-height: 56px;
  }

  .tutor-buy-now-text .buy-now-label {
    font-size: 13px;
  }

  .tutor-buy-now-text .buy-now-price {
    font-size: 16px;
  }

  .tutor-buy-now-btn .btn-icon {
    margin-right: 10px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .tutor-buy-now-btn {
    padding: 12px 16px;
    min-height: 52px;
  }

  .tutor-buy-now-text {
    font-size: 14px;
  }

  .tutor-buy-now-text .buy-now-label {
    font-size: 12px;
  }

  .tutor-buy-now-text .buy-now-price {
    font-size: 15px;
  }
}

/* Loading State */
.tutor-buy-now-btn.tutor-is-loading {
  pointer-events: none;
  opacity: 0.7;
}

.tutor-buy-now-btn.tutor-is-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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