/* PRODUCT DETAIL PAGE - MODERN DESIGN */

/* Hero Section */
.product-hero {
  background: linear-gradient(135deg, #7e1f6e 0%, #5a1550 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 0 80px;
}

.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1557683316-973673baf926?q=80&w=2029') center/cover;
  opacity: 0.1;
  mix-blend-mode: overlay;
}

.product-hero .blob-1 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: #a3cf34;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.product-hero .blob-2 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: #ec4899;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.hero-breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.hero-breadcrumb a:hover {
  color: #fff;
}

.hero-breadcrumb .current {
  color: #fff;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.hero-wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

@media (min-width: 768px) {
  .hero-wave svg {
    height: 80px;
  }
}

/* Product Detail Section */
.product-detail-section {
  background: #f8f9fa;
  padding: 3rem 0 4rem;
}

/* Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
  aspect-ratio: 4/3;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.main-image-wrapper:hover .main-image {
  transform: scale(1.05);
}

.zoom-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
  color: #333;
}

.zoom-btn:hover {
  background: #7e1f6e;
  color: #fff;
}

.product-code-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 100%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.thumbnail-btn {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s;
  padding: 0;
  background: none;
}

.thumbnail-btn:hover {
  opacity: 1;
  border-color: rgba(126, 31, 110, 0.5);
}

.thumbnail-btn.active {
  opacity: 1;
  border-color: #7e1f6e;
  box-shadow: 0 0 0 3px rgba(126, 31, 110, 0.2);
}

.thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-more {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Product Info Card */
.product-info-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.product-category-badge {
  display: inline-block;
  background: rgba(163, 207, 52, 0.15);
  color: #5a8c1a;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.375rem 0.875rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}

.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #7e1f6e;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  color: #facc15;
  font-size: 1rem;
}

.product-rating .count {
  color: #6b7280;
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

.product-description {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Features List */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
}

.feature-item .material-icons-round {
  color: #a3cf34;
  font-size: 1.25rem;
}

/* Tags */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-tag {
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
}

/* CTA Section */
.product-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

@media (min-width: 640px) {
  .product-cta {
    flex-direction: row;
    align-items: center;
  }
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  overflow: hidden;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.2s;
}

.quantity-btn:hover {
  background: #f3f4f6;
}

.quantity-input {
  width: 50px;
  height: 40px;
  border: none;
  text-align: center;
  font-weight: 500;
  background: transparent;
}

.btn-quote {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #1f2937;
  font-weight: 700;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
  transition: all 0.3s;
  text-decoration: none;
}

.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

/* Tabs Section */
.product-tabs-section {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 3rem;
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  gap: 0.5rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  color: #6b7280;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab-btn:hover {
  color: #7e1f6e;
}

.tab-btn.active {
  color: #7e1f6e;
  border-bottom-color: #7e1f6e;
  font-weight: 700;
}

.tab-content {
  background: #fff;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid #f3f4f6;
}

.tab-content h3 {
  color: #7e1f6e;
  font-family: 'Playfair Display', serif;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.tab-content h3:first-child {
  margin-top: 0;
}

.tab-content p {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.tab-content ul {
  padding-left: 1.5rem;
  color: #4b5563;
}

.tab-content ul li {
  margin-bottom: 0.5rem;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .product-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .thumbnail-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
}
