/* ============================================
   PRODUCT NAME BANNER (Centered at top)
   ============================================ */
.product-name-banner {
  background: var(--dark);
  padding: 7rem 0 2rem;
  text-align: center;
}

.product-name-banner-title {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--light);
  text-align: center;
  margin: 0 0 1.2rem;
  line-height: 1.2;
}

/* ============================================
   RELATED PRODUCTS SECTION
   ============================================ */
.related-products-section {
  background: var(--darker);
  padding: 4rem 0 5rem;
}

.related-products-header {
  text-align: center;
  margin-bottom: 3rem;
}

.related-products-header .section-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.5rem;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.related-product-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.related-product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.related-product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--darker);
}

.related-product-image img,
.related-product-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.related-product-card:hover .related-product-image img,
.related-product-card:hover .related-product-image video {
  transform: scale(1.08);
}

.related-product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 14, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.related-product-card:hover .related-product-overlay {
  opacity: 1;
}

.related-product-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  transform: translateY(15px);
  transition: transform 0.4s ease;
}

.related-product-card:hover .related-product-view-btn {
  transform: translateY(0);
}

.related-product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.related-product-category {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.related-product-title {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.related-product-card:hover .related-product-title {
  color: var(--gold-light);
}

.related-product-subtitle {
  color: var(--primary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-product-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.related-product-brand {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.related-product-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.related-product-card:hover .related-product-arrow {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  transform: translateX(4px);
}

/* ============================================
   PRODUCT GALLERY SLIDER
   ============================================ */
.product-gallery-slider {
  margin-bottom: 2.5rem;
}

.product-gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  border: 1px solid var(--glass-border);
  background: var(--darker);
  margin-bottom: 1rem;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 15, 20, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--light);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
}

.product-gallery-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.product-gallery-prev {
  left: 1rem;
}

.product-gallery-next {
  right: 1rem;
}

.product-gallery-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.4rem 0.9rem;
  background: rgba(11, 15, 20, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--light);
  z-index: 5;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-gallery-thumb {
  width: 90px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--glass-border);
  padding: 0;
  background: var(--darker);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery-thumb:hover {
  border-color: rgba(201, 168, 76, 0.5);
}

.product-gallery-thumb.active {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.3);
}

/* ============================================
   PRODUCT CATALOG & DETAIL PAGE
   ============================================ */

/* ---- Product Catalog Section ---- */
.product-catalog-section {
  background: var(--dark);
  padding: 8rem 0 6rem;
}

.product-hero-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.6rem 1.8rem;
  border-radius: 24px;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.03));
  border: 1px solid var(--glass-border);
}

.product-hero-copy {
  max-width: 720px;
}

.product-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.product-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--light);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.product-nav-link.active,
.product-nav-link:hover {
  background: rgba(201, 168, 76, 0.16);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.28);
}

/* ---- Catalog Grid ---- */
.product-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-catalog-card {
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.35s ease;
}

.product-catalog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.product-catalog-link {
  text-decoration: none;
  color: inherit;
}

.product-card-image {
  border-radius: 16px;
  overflow: hidden;
  min-height: 210px;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.product-catalog-card .product-category {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.product-catalog-card .product-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--light);
  line-height: 1.35;
}

.product-subtitle {
  color: var(--primary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.product-catalog-card .btn-primary-gold {
  margin-top: auto;
  justify-content: center;
}

/* ---- Brand Row ---- */
.product-brand-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0.9rem;
  border-radius: 14px;
}

.product-brand-logo {
  width: 100%;
  min-height: 120px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  padding: 0;
}

.product-brand-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 120px;
  display: block;
}

.product-brand-name {
  font-weight: 600;
  color: var(--light);
  text-align: center;
  font-size: 0.9rem;
}

/* ---- Product Detail Layout (OLD - keep for backward compat) ---- */
.product-detail-section {
  background: var(--dark);
  padding: 8rem 0 6rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}

.product-detail-sidebar {
  position: sticky;
  top: 100px;
  padding: 1.25rem;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.product-side-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.product-side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.product-side-item:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateX(4px);
}

.product-main-card {
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.product-hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
}

.product-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.product-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 10, 14, 0.8), transparent 60%);
}

.product-brand-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-brand-card .product-hero-badge {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.product-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  color: var(--primary);
}

.product-feature-item i {
  color: var(--gold);
  margin-top: 0.2rem;
}

.product-contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.product-contact-card a {
  color: var(--light);
  text-decoration: none;
}

.product-contact-card a:hover {
  color: var(--gold);
}

/* ---- Product Images Grid (3 images like service details) ---- */
.product-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.product-image-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}

.product-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-image-item:hover img {
  transform: scale(1.05);
}

/* ---- Product Category Badge (pill style) ---- */
.product-hero-badge {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(201, 168, 76, 0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  margin-bottom: 20px;
}

/* ---- Product Brand Row Compact ---- */
.product-brand-row-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1rem;
}

.product-brand-logo-sm {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 2/1;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  padding: 0;
}

.product-brand-logo-sm img {
  width: auto;
  height: auto;
  max-width: 400px;
  max-height: 200px;
  display: block;
}

.product-brand-name-sm {
  font-size: 1rem;
  font-weight: 600;
  color: var(--light);
  text-align: center;
  display: none;
}

/* ---- Product Info Flex Row ---- */
.product-info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* ---- Product CTA Section ---- */
.product-cta-section {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-cta-section .product-contact-card {
  width: 100%;
}

.product-detail-section-new {
  background: var(--dark);
  padding: 8rem 0 6rem;
}

/* ---- Brand Info Line (for detail page) ---- */
.product-brand-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ---- Product Detail Info ---- */
.product-detail-description {
  font-size: 1.05rem;
  line-height: 1.9;
}

/* ============================================
   UTILITY CLASSES FOR REPLACED INLINE STYLES
   ============================================ */

.gold-line-center {
  margin: 1.5rem auto;
}

.section-body-center {
  margin: 0 auto;
  text-align: center;
  max-width: 800px;
}

.service-detail-cta-margin-top {
  margin-top: 2.5rem;
}

.product-info-row-gap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.contact-card-full-width {
  width: 100%;
}

.contact-links-column {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-subtitle-margin {
  margin-top: 0.3rem;
}

.gold-line-margin-bottom {
  margin-bottom: 2rem;
}

.product-contact-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-label-margin-lg {
  margin-bottom: 1.5rem;
  display: block;
}

.section-label-margin-sm {
  margin-bottom: 1rem;
}

.footer-contact-text {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.footer-contact-mt {
  margin-top: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
  .product-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hero-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-sidebar {
    position: relative;
    top: 0;
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .product-images-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-image-item {
    height: 260px;
  }

  .related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-gallery-main {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .product-name-banner {
    padding: 6rem 0 1.5rem;
  }

  .product-name-banner-title {
    font-size: 2.2rem;
  }

  .related-products-section {
    padding: 3rem 0 4rem;
  }

  .related-products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .related-product-image {
    height: 200px;
  }

  .related-product-body {
    padding: 1.25rem;
  }

  .related-product-title {
    font-size: 1.25rem;
  }

  .product-gallery-main {
    height: 320px;
  }

  .product-gallery-nav {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  .product-gallery-thumb {
    width: 72px;
    height: 52px;
  }

  .product-catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-banner {
    padding: 1.2rem;
  }

  .product-card-image,
  .product-card-image img {
    min-height: 180px;
  }

  .product-gallery-grid,
  .product-feature-list {
    grid-template-columns: 1fr;
  }

  .product-main-card {
    padding: 1.25rem;
  }

  .product-contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-images-grid {
    grid-template-columns: 1fr;
  }

  .product-image-item {
    height: 240px;
  }

  .product-brand-logo-sm {
    max-width: 100%;
    height: auto;
    aspect-ratio: 2/1;
  }

  .product-brand-logo-sm img {
    max-width: 100%;
    max-height: 120px;
  }

  .product-brand-row-compact {
    padding: 1rem 0.75rem;
  }
}