@font-face {
  font-family: 'Krona One';
  src: url('../Assets/Fonts/KronaOne-Regular.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'La Belle Aurore';
  src: url('../Assets/Fonts/LaBelleAurore-Regular.ttf') format('truetype');
}

.modal-content {
  width: 100%;
  height: 100%;
  background: #0b337c8f !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 100px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  align-items: center;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease forwards;
}

.modal {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

body.modal-open {
  overflow: hidden;
}

.modal:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.modal-image-section {
  width: 100%;
  height: 100%;
  max-height: 600px;
  max-width: 700px;
  border-radius: 18px;
  border: 5px solid #fff;
  overflow: hidden;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-self: center;
  justify-content: center;
}

.modal-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.modal-image-container:hover img {
  transform: scale(1.1);
}

.modal-info-section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-product-name {
  font-family: 'Krona One', Arial, sans-serif;
  font-size: 3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: left;
  filter: drop-shadow(0px 5px 7px rgba(0, 0, 0, 0.5));
  color: #fff;
}

.modal-product-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-product-price {
  font-size: 2rem;
  font-family: 'Krona One';
  color: #00FF1E;
  text-align: left;
  margin-bottom: 20px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 255, 30, 0.3);
  filter: drop-shadow(0px 0px 10px rgba(0, 255, 30, 0.3));
}

.modal-product-stock {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  padding: 15px 20px;
  font-family: 'Krona One', Arial, sans-serif;
  font-size: 1.1rem;
  color: #9fdfff;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  filter: drop-shadow(0px 5px 7px rgba(0, 0, 0, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-product-stock i {
  font-size: 1.8rem;
}

.modal-product-stock.in-stock i.bi-check-circle-fill {
  color: #00ff64;
}

.modal-product-stock.out-of-stock i.bi-x-circle-fill {
  color: #ff5252;
}

.modal-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.modal-btn {
  flex: 1;
  padding: 15px 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(to bottom, #7DA2FF, #2548A6);
  border: 2px solid white;
  border-radius: 15px;
  font-family: 'Krona One', Arial, sans-serif;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  font-size: 1rem;
  min-height: 50px;
}

.modal-btn i {
  font-size: 1.5rem;
}

.modal-btn:hover {
  background: linear-gradient(to bottom, #93B5FF, #3A5FC4);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-btn:focus {
  outline: 2px solid #93B5FF;
  outline-offset: 2px;
}

.modal-btn.secondary {
  background: linear-gradient(to bottom, #666, #333);
  border-color: #ccc;
}

.modal-btn.secondary:hover {
  background: linear-gradient(to bottom, #777, #444);
}

.modal-btn:disabled {
  background: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  border-color: #999;
  opacity: 0.6;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .modal-content {
    padding: 15px;
  }
  .modal-product-name {
    font-size: 1.8rem;
  }
  .modal-product-price {
    font-size: 1.5rem;
  }
  .modal-product-description {
    font-size: 1rem;
  }
  .modal-btn {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}