/* Design Detail page specific styles */

/* Individual Design Detail Page Styles */
.design-detail-hero {
  background: #000000;
  color: white;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
}

.design-detail-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(white, rgba(255, 255, 255, 0.15) 2px, transparent 40px),
    radial-gradient(white, rgba(255, 255, 255, 0.1) 1px, transparent 30px),
    radial-gradient(white, rgba(255, 255, 255, 0.07) 2px, transparent 40px),
    radial-gradient(
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.07) 2px,
      transparent 30px
    );
  background-size:
    550px 550px,
    350px 350px,
    250px 250px,
    150px 150px;
  background-position:
    0 0,
    40px 60px,
    130px 270px,
    70px 100px;
  animation: twinkle 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.design-detail-hero .hero-content {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 3rem;
  margin: 0 2rem;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.design-detail-hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
  letter-spacing: 2px;
}

.design-detail-hero .design-category {
  font-size: 1.3rem;
  margin-bottom: 0;
  opacity: 0.95;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.design-detail-content {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.design-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.design-image-section {
  position: sticky;
  top: 2rem;
}

.main-design-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.main-design-image:hover {
  transform: scale(1.02);
}

.design-placeholder-large {
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
}

.design-placeholder-large i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.design-info-section {
  padding: 2rem;
}

.design-header h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
  font-weight: bold;
}

.pricing-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-main {
  font-size: 3rem;
  font-weight: bold;
  color: #10b981;
  margin-bottom: 0.5rem;
}

.shipping-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.shipping-info i {
  color: #3b82f6;
}

.product-details {
  margin-bottom: 3rem;
}

.product-details h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 0.5rem;
}

.details-grid {
  display: grid;
  gap: 1rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.detail-value {
  font-weight: 500;
  color: #ffffff;
}

.status-active {
  color: #10b981;
}

.status-inactive {
  color: #ef4444;
}

.status-active i,
.status-inactive i {
  margin-right: 0.5rem;
}

.description-section {
  margin-bottom: 3rem;
}

.description-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 0.5rem;
}

.description-content {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: pre-line;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.related-designs {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-designs h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #ffffff;
}

.related-notice {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.related-notice p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.related-notice a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  text-transform: capitalize;
}

.related-notice a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

/* Responsive Design for Detail Page */
@media (max-width: 1024px) {
  .design-detail-hero {
    padding: 4rem 0;
  }

  .design-detail-hero .hero-content {
    margin: 0 1.5rem;
    padding: 2.5rem;
  }

  .design-layout {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .design-detail-hero {
    padding: 3rem 0;
    min-height: 50vh;
  }

  .design-detail-hero .hero-content {
    margin: 0 1rem;
    padding: 2rem;
  }

  .design-detail-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }

  .design-detail-hero .design-category {
    font-size: 1.1rem;
  }

  .design-detail-content {
    padding: 3rem 0;
  }

  .design-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .design-image-section {
    position: static;
  }

  .design-info-section {
    padding: 0;
  }

  .design-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .price-main {
    font-size: 2.5rem;
  }

  .price-shipping {
    font-size: 0.9rem;
  }

  .action-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn {
    justify-content: center;
    text-align: center;
    padding: 1rem 2rem;
  }

  .design-specs dl {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .design-specs dt {
    margin-bottom: 0.2rem;
  }

  .design-options {
    gap: 1rem;
  }

  .option-group {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .design-detail-hero {
    padding: 2rem 0;
  }

  .design-detail-hero .hero-content {
    margin: 0 0.75rem;
    padding: 1.5rem;
  }

  .design-detail-hero h1 {
    font-size: 2rem;
  }

  .design-detail-hero .design-category {
    font-size: 1rem;
  }

  .design-layout {
    padding: 0 0.75rem;
  }

  .design-header h2 {
    font-size: 1.7rem;
  }

  .price-main {
    font-size: 2.2rem;
  }

  .btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .design-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .design-specs dt {
    font-size: 0.9rem;
  }

  .design-specs dd {
    font-size: 0.85rem;
  }
}
