/* Product Detail Section */
.product-detail-section {
  padding: 4rem 0;
  background: white;
}

.product-badge {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    #ea580c 100%
  );
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.product-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.product-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 4px solid var(--secondary-color);
}

.product-description {
  font-size: 1.063rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.product-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-section-title i {
  color: var(--secondary-color);
  font-size: 1.25rem;
}

/* Variants List */
.variants-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.variants-list li {
  background: var(--bg-light);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 3.5rem;
}

.variants-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.variants-list li:hover {
  background: white;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.15);
  transform: translateX(8px);
  border-left-color: var(--secondary-color);
}

.variants-list li strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* Action Buttons */
.product-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.btn-primary-custom {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    #ea580c 100%
  );
  border: none;
  color: white;
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.4);
  color: white;
}

.btn-secondary-custom {
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-secondary-custom:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.3);
}

/* Image Gallery */
.main-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.main-image-wrapper:hover .main-image {
  transform: scale(1.05);
}

.image-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.625rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(30, 64, 175, 0.8) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: white;
  font-weight: 700;
  font-size: 0.938rem;
  margin: 0;
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  );
  gap: 1.5rem;
  margin-top: 3rem;
}

.info-card {
  background: linear-gradient(
    135deg,
    #eff6ff 0%,
    #dbeafe 100%
  );
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.15);
}

.info-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.info-card-icon i {
  font-size: 1.75rem;
  color: white;
}

.info-card h6 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.info-card p {
  font-size: 0.938rem;
  color: var(--text-muted);
  margin: 0;
}

/* Related Products CTA */
.related-cta {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  border-radius: 20px;
  padding: 3rem;
  margin-top: 4rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.related-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      30deg,
      rgba(255, 255, 255, 0.05) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(255, 255, 255, 0.05) 87.5%
    ),
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.05) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(255, 255, 255, 0.05) 87.5%
    );
  background-size: 80px 140px;
  opacity: 0.3;
}

.related-cta-content {
  position: relative;
  z-index: 2;
}

.related-cta h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.related-cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-light-custom {
  background: white;
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-light-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.3);
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .product-detail-section {
    padding: 2.5rem 0;
  }

  .product-title {
    font-size: 2rem;
  }

  .product-lead {
    font-size: 1.063rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
    justify-content: center;
  }

  .gallery-item img {
    height: 150px;
  }

  .related-cta {
    padding: 2rem;
  }

  .related-cta h3 {
    font-size: 1.5rem;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out backwards;
}

.animate-in:nth-child(1) {
  animation-delay: 0.1s;
}
.animate-in:nth-child(2) {
  animation-delay: 0.2s;
}
.animate-in:nth-child(3) {
  animation-delay: 0.3s;
}
