/* Product Detail Page Styles */

.product-detail-page {
  min-height: 100vh;
  background: #f5f7fa;
}

/* Breadcrumb */
.breadcrumb-section {
  background: white;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #eb0a1e;
}

.breadcrumb .separator {
  color: #999;
}

.breadcrumb .current {
  color: #1a1a1a;
  font-weight: 600;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Product Hero */
.product-hero {
  background: white;
  padding: 3rem 0;
}

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

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: 80px;
}

.main-image {
  position: relative;
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.badge-terlaris {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #eb0a1e;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(235, 10, 30, 0.3);
}

.thumbnail-gallery {
  display: flex;
  gap: 1rem;
}

.thumbnail {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: #eb0a1e;
}

/* Product Info */
.product-info-main {
  padding: 1rem 0;
}

.product-category {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #eb0a1e;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.product-spec {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.product-price-box {
  background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border-left: 4px solid #eb0a1e;
}

.price-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #eb0a1e;
  margin-bottom: 0.5rem;
}

.price-note {
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
}

.product-actions-main {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-whatsapp,
.btn-price-list {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  border: 2px solid #25d366;
}

.btn-whatsapp:hover {
  background: #20ba5a;
  border-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
}

.btn-price-list {
  background: white;
  color: #eb0a1e;
  border: 2px solid #eb0a1e;
}

.btn-price-list:hover {
  background: #eb0a1e;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(235, 10, 30, 0.3);
}

.quick-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 12px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #666;
  font-size: 0.95rem;
}

.info-item svg {
  color: #eb0a1e;
  flex-shrink: 0;
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background: white;
}

.features-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #eb0a1e;
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-icon svg {
  color: white;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
  padding-top: 0.5rem;
}

/* Promo Section */
.promo-section {
  padding: 4rem 0;
  background: #f5f7fa;
}

/* Detail Fitur CTA */
.detail-fitur-cta {
  padding: 4rem 0;
  background: #f5f7fa;
}

.detail-cta-box {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  transition: all 0.3s ease;
}

.detail-cta-box:hover {
  border-color: #eb0a1e;
  box-shadow: 0 8px 16px rgba(235, 10, 30, 0.1);
}

.detail-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #eb0a1e 0%, #c00818 100%);
  border-radius: 50%;
  flex-shrink: 0;
}

.detail-cta-icon svg {
  color: white;
}

.detail-cta-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.detail-cta-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.btn-detail-fitur {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 2rem;
  background: #eb0a1e;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 6px rgba(235, 10, 30, 0.3);
}

.btn-detail-fitur:hover {
  background: #c00818;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(235, 10, 30, 0.4);
}

.btn-detail-fitur svg {
  width: 20px;
  height: 20px;
}

/* Promo Section (existing) */
.promo-section {
  padding: 4rem 0;
  background: #f5f7fa;
}

.promo-box {
  background: linear-gradient(135deg, #eb0a1e 0%, #c00818 100%);
  color: white;
  border-radius: 12px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.promo-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.promo-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.promo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.promo-list li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 0.95rem;
}

.promo-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 1.2rem;
}

.promo-cta {
  text-align: center;
}

.btn-promo-large {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem 2.5rem;
  background: white;
  color: #eb0a1e;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-promo-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Related Products */
.related-section {
  padding: 4rem 0;
  background: white;
}

.related-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 3rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.related-card {
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-card a {
  text-decoration: none;
  display: block;
}

.related-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-info {
  padding: 1.5rem;
}

.related-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.related-price {
  font-size: 1rem;
  font-weight: 700;
  color: #eb0a1e;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 4rem 0;
}

.cta-section .container {
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.btn-primary {
  background: #25d366;
  color: white;
  box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
  background: white;
  color: #1a1a1a;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-gallery {
    position: relative;
    top: 0;
  }

  .promo-box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .detail-cta-box {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .detail-cta-icon {
    margin: 0 auto;
  }

  .btn-detail-fitur {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .product-title {
    font-size: 2rem;
  }

  .price-value {
    font-size: 2rem;
  }

  .product-actions-main {
    flex-direction: column;
  }

  .features-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 1.5rem;
  }

  .price-value {
    font-size: 1.8rem;
  }

  .promo-box {
    padding: 2rem 1.5rem;
  }

  .btn-promo-large {
    padding: 1.2rem 2rem;
    font-size: 1rem;
  }
}
