/* Product Line Page - Complete React Parity */
.product-line-page {
  width: 100%;
  overflow-x: hidden;
  background-color: #f9f9f9;
}

/* ===========================
   Collection Hero Section (from CollectionHero.css)
   =========================== */
.collection-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  margin-top: 0;
  margin-bottom: 0;
}

.collection-hero .hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  z-index: 1;
  overflow: hidden;
}

.collection-hero .hero-slide-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 1;
}

.collection-hero .hero-slide-wrapper.active {
  opacity: 1;
  z-index: 2;
}

.collection-hero .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.collection-hero .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.4);
  transform: scale(1);
  transition: transform 0.3s ease;
}

.collection-hero .hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
}

.collection-hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  opacity: 1;
  width: 90%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.collection-hero .hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #fff, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 10px 30px rgba(0, 31, 63, 0.3);
  text-align: center;
  width: 100%;
}

.collection-hero .hero-tagline {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.collection-hero .scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: collection-hero-bounce 2s infinite;
}

@keyframes collection-hero-bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Hero Navigation Arrows */
.collection-hero .hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.collection-hero .hero-nav:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.collection-hero .hero-nav-prev {
  left: 2rem;
}

.collection-hero .hero-nav-next {
  right: 2rem;
}

/* Hero Indicators */
.collection-hero .hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.75rem;
}

.collection-hero .hero-indicator {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.collection-hero .hero-indicator:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.collection-hero .hero-indicator.active {
  background-color: #d4af37;
  width: 50px;
}

/* ===========================
   Intro Section
   =========================== */
.collection-intro {
  padding: 6rem 2rem;
  background: #fff;
  text-align: center;
}

.intro-container {
  max-width: 900px;
  margin: 0 auto;
}

.intro-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 3rem;
}

/* ===========================
   Products Grid
   =========================== */
.collection-products {
  padding: 4rem 2rem 8rem;
  background: #f5f5f5;
  text-align: center;
}

.product-line-page .section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: #001f3f;
  position: relative;
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.product-line-page .section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #d4af37;
}

.product-line-page .collection-features .section-title {
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.products-grid .product-card {
  max-width: 450px;
  margin: 0 auto;
}

/* ===========================
   Video Section
   =========================== */
.collection-video-section {
  padding: 4rem 2rem;
  background: #fff;
}

.collection-video {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
  width: 100%;
  height: 100%;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}

.video-overlay-text h2 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Wide Video Section */
.collection-video-section.wide-16-9 {
  height: auto;
  min-height: unset;
  padding: 4rem 0;
  background: #fdfdfd;
}

.collection-video-section.wide-16-9 .collection-video {
  height: auto;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.collection-video-section.wide-16-9 .video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.collection-video-section.wide-16-9 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================
   Features Section
   =========================== */
.collection-features {
  padding: 6rem 2rem;
  background: #001f3f;
  color: #fff;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
  font-size: 2rem;
  color: #d4af37;
  margin-bottom: 1.5rem;
}

.feature-text {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===========================
   Home-style Video Section
   =========================== */
.product-line-video-home {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(to bottom, var(--color-white) 0%, var(--color-grey-light) 100%);
  position: relative;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.product-line-video-home .single-video-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  margin-left: auto;
  margin-right: auto;
  width: 92%;
  max-width: 1200px;
}

.product-line-video-home .single-video-wrapper {
  position: relative;
  flex: 1;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  background-color: #000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.product-line-video-home .single-video-wrapper:hover:not(.expanded) {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 47, 95, 0.25);
}

.product-line-video-home .single-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.4s ease;
}

.product-line-video-home .single-video-wrapper:hover:not(.expanded) .single-video-player {
  transform: scale(1.05);
}

.product-line-video-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 47, 95, 0.05) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(25%, -20px, 0);
  }
}

/* ===========================
   SEO Detailed Content Section
   =========================== */
.seo-detailed-info {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, #fdfdfd 0%, #f4f7f9 100%);
  position: relative;
  overflow: hidden;
}

.seo-detailed-info::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
  z-index: 0;
}

.seo-detailed-info .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.seo-content-grid.single-col {
  grid-template-columns: 1fr;
}

.seo-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.seo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(212, 175, 55, 0.1);
}

.seo-card h3 {
  font-size: 1.75rem;
  color: #001f3f;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.seo-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #d4af37;
}

.seo-list {
  list-style: none;
  padding: 0;
}

.seo-list li {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.bullet-icon {
  color: #d4af37;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.seo-list.compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.seo-list.compact li {
  margin-bottom: 0;
  padding: 0.75rem 1.25rem;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 8px;
  font-size: 1rem;
  justify-content: center;
  text-align: center;
}

.standards-card {
  width: 100%;
  border-left: 4px solid #d4af37;
}

.standards-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
}

/* FAQ Section */
.faq-card {
  margin-top: 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 1.5rem;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-question {
  color: #002F5F;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.faq-answer {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===========================
   Mobile Responsive
   =========================== */
@media (max-width: 768px) {
  .product-line-page {
    overflow-x: hidden;
  }

  /* Hero Mobile */
  .collection-hero {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 65vh;
  }

  .collection-hero .hero-slide img {
    object-position: var(--mobile-position, center center);
    transform: scale(var(--mobile-scale, 1));
  }

  .collection-hero .hero-content {
    padding: 1rem;
    width: 95%;
    max-width: 100%;
  }

  .collection-hero .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    word-wrap: break-word;
  }

  .collection-hero .hero-tagline {
    font-size: clamp(1rem, 4vw, 1.25rem);
    margin-bottom: 1rem;
    line-height: 1.4;
  }

  .collection-hero .hero-nav {
    width: 36px;
    height: 36px;
  }

  .collection-hero .hero-nav-prev {
    left: 0.5rem;
  }

  .collection-hero .hero-nav-next {
    right: 0.5rem;
  }

  .collection-hero .hero-indicators {
    bottom: 1rem;
    gap: 0.5rem;
  }

  .collection-hero .hero-indicator {
    width: 30px;
    height: 3px;
  }

  .collection-hero .hero-indicator.active {
    width: 40px;
  }

  .collection-hero .scroll-indicator {
    bottom: 1rem;
  }

  /* Intro & Products Mobile */
  .collection-intro {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .intro-container {
    max-width: 100%;
  }

  .intro-text {
    font-size: clamp(1rem, 4vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
  }

  .collection-products {
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-xl);
  }

  .product-line-page .section-title {
    font-size: clamp(1.75rem, 6vw, 2rem);
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-sm);
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-sm);
  }

  .products-grid .product-card {
    max-width: 100%;
  }

  /* Video Mobile */
  .collection-video-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .collection-video {
    border-radius: 8px;
  }

  .video-overlay-text {
    padding: var(--spacing-sm);
  }

  .video-overlay-text h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: 0.5rem;
  }

  .product-line-video-home .single-video-container {
    padding: 0 var(--spacing-md);
  }

  .product-line-video-home .single-video-player {
    width: 100%;
  }

  /* Features Mobile */
  .collection-features {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-sm);
  }

  .feature-item {
    padding: var(--spacing-md);
  }

  .feature-icon {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
  }

  .feature-text {
    font-size: 1rem;
  }

  /* SEO Mobile */
  .seo-detailed-info {
    padding: 4rem 1.5rem;
  }

  .seo-content-grid {
    grid-template-columns: 1fr;
  }

  .seo-card {
    padding: 2rem;
  }

  .seo-card h3 {
    font-size: 1.5rem;
  }

  .standards-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 992px) {
  .seo-content-grid {
    grid-template-columns: 1fr;
  }
}

/* RTL Adjustments */
[dir="rtl"] .seo-card h3::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .standards-card {
  border-left: none;
  border-right: 4px solid #d4af37;
}

[dir="rtl"] .faq-question,
[dir="rtl"] .faq-answer {
  text-align: right;
}

/* ===========================
   Product Card (from React ProductCard.css)
   =========================== */
.product-card {
  background: var(--color-white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  max-width: 100%;
  width: 100%;
  border: 1px solid transparent;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  width: 100%;
  position: relative;
  z-index: 1;
}

.card-image-wrapper {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: var(--color-white);
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.card-images-container {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  align-items: center;
  justify-items: center;
}

.card-images-container:has(.card-image-secondary) {
  grid-template-columns: 1fr 1fr;
}

.card-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}

.card-image-secondary {
  border-left: 1px solid var(--color-grey-medium);
  padding-left: 0.5rem;
}

.product-card:hover .card-image {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #D4AF37;
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.card-content {
  padding: 1rem;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-product-line {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-charcoal);
  line-height: 1.3;
  letter-spacing: 0.3px;
  font-family: var(--font-heading);
}

.card-desc {
  color: var(--color-charcoal-light);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.card-product-id {
  color: var(--color-charcoal-light);
  margin: 0;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
}

/* Base styles required if they are not loaded */
.products-grid .product-card {
  max-width: 100%;
  /* Override the 450px limitation if needed or keep consistent */
}

@media (max-width: 768px) {
  .product-card {
    border-radius: 0;
    margin-bottom: var(--spacing-sm);
  }

  .card-image-wrapper {
    padding: 0.75rem;
  }

  .card-images-container {
    gap: 0.25rem;
  }

  .card-image-secondary {
    padding-left: 0.25rem;
    border-left-width: 1px;
  }

  .card-content {
    padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-md);
  }

  .card-product-line {
    font-size: clamp(1.05rem, 3.5vw, 1.15rem);
    margin-bottom: 0.25rem;
  }

  .card-desc {
    font-size: clamp(0.85rem, 2.5vw, 0.9rem);
    margin-bottom: 0.25rem;
  }

  .card-product-id {
    font-size: clamp(0.8rem, 2vw, 0.85rem);
  }

  .product-tag {
    top: 6px;
    right: 6px;
    padding: 3px 10px;
    font-size: 0.7rem;
  }
}