/* ========================================
   PRODUCT DETAIL PAGE STYLES
   ======================================== */

/* Hero Section */
.product-hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    #050505 0%,
    #121212 30%,
    #161616 60%,
    #242424 100%
  );
  overflow: hidden;
  padding-top: 100px;
}

.product-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 102, 0, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.product-hero .con {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 100px);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.product-hero-left {
  flex: 1;
  max-width: 550px;
  padding: 60px 0;
}

.product-hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.product-hero-right img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
  animation: heroImageFloat 6s ease-in-out infinite;
}

@keyframes heroImageFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Series Badge */
.product-series-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-series-badge .badge-icon {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.1;
  padding: 4px;
}

.product-series-badge .badge-text {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

/* Key Facts */
.product-key-facts {
  margin-top: 32px;
}

.product-key-facts h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.product-key-facts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-key-facts ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.product-key-facts ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #ff6600;
  border-radius: 2px;
}

/* Get a Quote Button */
.product-cta-btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 36px;
  background: #ff6600;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.product-cta-btn:hover {
  background: #e05500;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.35);
}

/* ========================================
   MODELS SECTION (Tabs for variants)
   ======================================== */
.product-models-section {
  background: linear-gradient(180deg, #050505 0%, #0c0c0c 100%);
  padding: 80px 0;
}

.product-models-section .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

.model-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.model-tab {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.model-tab:hover {
  background: rgba(255, 102, 0, 0.15);
  border-color: rgba(255, 102, 0, 0.4);
  color: #fff;
}

.model-tab.active {
  background: #ff6600;
  border-color: #ff6600;
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.3);
}

.model-content {
  display: none;
}

.model-content.active {
  display: block;
  animation: fadeInContent 0.4s ease;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   SPECS TABLE
   ======================================== */
.specs-section {
  background: #0c0c0c;
  padding: 80px 0;
}

.specs-section .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
}

.specs-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table thead th {
  background: rgba(255, 102, 0, 0.15);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.specs-table tbody tr {
  transition: background 0.2s ease;
}

.specs-table tbody tr:hover {
  background: rgba(255, 102, 0, 0.06);
}

.specs-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.specs-table tbody tr:nth-child(even):hover {
  background: rgba(255, 102, 0, 0.06);
}

.specs-table td {
  padding: 14px 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.specs-table td:first-child {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  width: 40%;
}

/* ========================================
   IMAGE GALLERY
   ======================================== */
.gallery-section {
  background: linear-gradient(180deg, #0c0c0c 0%, #050505 100%);
  padding: 80px 0;
}

.gallery-section .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
}

.gallery-main {
  max-width: 700px;
  margin: 0 auto 32px;
  aspect-ratio: 4/3;
  background: transparent;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.gallery-main img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

.gallery-thumbs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.gallery-thumb:hover {
  border-color: rgba(255, 102, 0, 0.5);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.gallery-thumb.active {
  border-color: #ff6600;
  background: rgba(255, 102, 0, 0.08);
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

.gallery-thumb img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

/* ========================================
   FEATURES GRID
   ======================================== */
.features-section {
  background: #050505;
  padding: 80px 0;
}

.features-section .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 102, 0, 0.08);
  border-color: rgba(255, 102, 0, 0.2);
  transform: translateY(-4px);
}

.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: rgba(255, 102, 0, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ff6600;
  fill: none;
  stroke-width: 2;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ========================================
   RELATED PRODUCTS
   ======================================== */
.related-section {
  background: linear-gradient(180deg, #050505 0%, #0c0c0c 100%);
  padding: 80px 0 100px;
}

.related-section .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
}

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

.related-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-card:hover {
  border-color: rgba(255, 102, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.related-card .related-img {
  height: 200px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-card .related-img img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.related-card .related-info {
  padding: 20px;
}

.related-card .related-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.related-card .related-info p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ========================================
   BREADCRUMB
   ======================================== */
.product-breadcrumb {
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  z-index: 5;
  padding: 16px 0;
}

.product-breadcrumb .con {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.product-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

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

.product-breadcrumb .sep {
  color: rgba(255, 255, 255, 0.3);
}

.product-breadcrumb .current {
  color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-hero .con {
    flex-direction: column;
    text-align: center;
    padding-top: 30px;
    min-height: auto;
  }

  .product-hero-left {
    max-width: 100%;
    padding: 40px 0 20px;
  }

  .product-hero-right {
    padding-bottom: 40px;
  }

  .product-hero-right img {
    max-height: 300px;
  }

  .product-key-facts ul li {
    text-align: left;
  }

  .product-series-badge {
    justify-content: center;
  }

  .product-cta-btn {
    display: block;
    text-align: center;
  }

  .specs-table td:first-child {
    width: auto;
  }

  .specs-table-wrapper {
    overflow-x: auto;
  }

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

  .gallery-main {
    margin: 0 16px 24px;
    border-radius: 12px;
  }

  .gallery-thumb {
    width: 60px;
    height: 60px;
  }

  .product-models-section,
  .specs-section,
  .gallery-section,
  .features-section,
  .related-section {
    padding: 50px 0;
  }

  .product-models-section .section-title,
  .specs-section .section-title,
  .gallery-section .section-title,
  .features-section .section-title,
  .related-section .section-title {
    font-size: 28px;
  }

  .model-tabs {
    padding: 0 16px;
  }

  .model-tab {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* ========================================
   LIGHT THEME OVERRIDES FOR PRODUCT DETAILS
   ======================================== */
html.light-theme .product-hero {
  background: var(--hero-gradient);
}

html.light-theme .product-series-badge .badge-icon,
html.light-theme .product-series-badge .badge-text,
html.light-theme .product-key-facts h2,
html.light-theme .product-models-section .section-title,
html.light-theme .specs-section .section-title,
html.light-theme .gallery-section .section-title,
html.light-theme .features-section .section-title,
html.light-theme .related-section .section-title,
html.light-theme .feature-card h3,
html.light-theme .related-card .related-info h3,
html.light-theme .product-breadcrumb a:hover,
html.light-theme .specs-table thead th {
  color: var(--white) !important;
}

html.light-theme .product-key-facts ul li {
  color: rgba(0, 0, 0, 0.8) !important;
}

html.light-theme .product-models-section {
  background: var(--navy-light) !important;
}

html.light-theme .model-tab {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: rgba(0, 0, 0, 0.6) !important;
}

html.light-theme .model-tab:hover {
  background: rgba(255, 102, 0, 0.1) !important;
  border-color: rgba(255, 102, 0, 0.3) !important;
  color: var(--accent) !important;
}

html.light-theme .model-tab.active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

html.light-theme .specs-section {
  background: var(--navy) !important;
}

html.light-theme .specs-table-wrapper {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html.light-theme .specs-table thead th {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

html.light-theme .specs-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02) !important;
}

html.light-theme .specs-table tbody tr:hover,
html.light-theme .specs-table tbody tr:nth-child(even):hover {
  background: rgba(255, 102, 0, 0.05) !important;
}

html.light-theme .specs-table td {
  color: rgba(0, 0, 0, 0.8) !important;
  border-bottom-color: rgba(0, 0, 0, 0.05) !important;
}

html.light-theme .specs-table td:first-child {
  color: rgba(0, 0, 0, 0.95) !important;
}

html.light-theme .gallery-section {
  background: var(--navy-light) !important;
}

html.light-theme .gallery-thumb {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html.light-theme .gallery-thumb.active {
  border-color: var(--accent) !important;
}

html.light-theme .features-section {
  background: var(--navy) !important;
}

html.light-theme .feature-card {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
}

html.light-theme .feature-card:hover {
  background: rgba(255, 102, 0, 0.04) !important;
  border-color: rgba(255, 102, 0, 0.2) !important;
}

html.light-theme .feature-card p {
  color: rgba(0, 0, 0, 0.6) !important;
}

html.light-theme .related-section {
  background: var(--navy-light) !important;
}

html.light-theme .related-card {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
}

html.light-theme .related-card:hover {
  border-color: var(--accent) !important;
}

html.light-theme .related-card .related-info p {
  color: rgba(0, 0, 0, 0.55) !important;
}

html.light-theme .product-breadcrumb a {
  color: rgba(0, 0, 0, 0.5) !important;
}

html.light-theme .product-breadcrumb .sep {
  color: rgba(0, 0, 0, 0.3) !important;
}

html.light-theme .product-breadcrumb .current {
  color: rgba(0, 0, 0, 0.8) !important;
}

/* ========================================
   AVAILABLE MODELS TABLE STYLES (.sc24)
   ======================================== */
.sc23-out {
  padding: 80px 0;
  background: #080808;
}
.sc24-out {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.sc24-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: rgba(255, 102, 0, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sc24-name-left {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.sc24 {
  width: 100%;
}
.sc24-tou {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
}
.sc24-tou .sc24-lie {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sc24-hang {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease;
}
.sc24-hang:hover {
  background: rgba(255, 102, 0, 0.05);
}
.sc24-hang:last-child {
  border-bottom: none;
}
.sc24-lie {
  flex: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10px;
}
.sc24-lie.sc24-lie-pd {
  justify-content: flex-start;
  text-align: left;
  font-weight: 700;
  color: #fff;
}
/* Width distribution for table columns */
.sc24-tou .sc24-lie,
.sc24-hang .sc24-lie {
  width: 14%;
}
.sc24-tou .sc24-lie:first-child,
.sc24-hang .sc24-lie:first-child {
  width: 18%;
  flex: 1.2;
}
.sc24-tou .sc24-lie:nth-child(2),
.sc24-hang .sc24-lie:nth-child(2) {
  width: 10%;
  flex: 0.8;
}
.sc24-tou .sc24-lie:nth-child(3),
.sc24-hang .sc24-lie:nth-child(3) {
  width: 16%;
  flex: 1.1;
}

/* Light Theme Overrides */
html.light-theme .sc23-out {
  background: var(--navy-light) !important;
}
html.light-theme .sc24-out {
  border-color: rgba(0, 0, 0, 0.08) !important;
  background: #fff !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}
html.light-theme .sc24-name {
  background: rgba(255, 102, 0, 0.08) !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
html.light-theme .sc24-name-left {
  color: #111827 !important;
}
html.light-theme .sc24-tou {
  background: rgba(0, 0, 0, 0.02) !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
html.light-theme .sc24-tou .sc24-lie {
  color: rgba(0, 0, 0, 0.6) !important;
}
html.light-theme .sc24-hang {
  border-bottom-color: rgba(0, 0, 0, 0.05) !important;
}
html.light-theme .sc24-hang:hover {
  background: rgba(255, 102, 0, 0.04) !important;
}
html.light-theme .sc24-lie {
  color: rgba(0, 0, 0, 0.8) !important;
}
html.light-theme .sc25-lie.sc25-lie-pd {
  color: #111827 !important;
}

/* ========================================
   PRODUCT VIDEOS SECTION
   ======================================== */
.product-videos-section {
  padding: 80px 0;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.product-videos-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 10% 80%,
    rgba(255, 102, 0, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.product-videos-section .con {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.video-left {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.video-section-title {
  margin-bottom: 40px;
  text-align: left;
}

.video-section-title h2 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.video-section-title h2 span {
  display: block;
  color: #ff6600;
  position: relative;
}

.video-section-title h2 span::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ff6600;
  margin-left: 6px;
  border-radius: 2px;
}

.video-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-item:hover {
  background: rgba(255, 102, 0, 0.04);
  border-color: rgba(255, 102, 0, 0.3);
  transform: translateX(4px);
}

.video-item.active {
  background: rgba(255, 102, 0, 0.1);
  border-color: #ff6600;
}

.video-icon-box {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.video-item:hover .video-icon-box {
  color: rgba(255, 102, 0, 0.8);
}

.video-item.active .video-icon-box {
  color: #ff6600;
}

.video-item-title {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  transition: color 0.3s ease;
}

.video-item:hover .video-item-title {
  color: #fff;
}

.video-item.active .video-item-title {
  color: #fff;
  font-weight: 600;
}

.video-right {
  width: 50%;
  display: flex;
  align-items: center;
}

.video-player-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: #000;
}

.video-player-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Videos Styles */
@media (max-width: 991px) {
  .product-videos-section .con {
    flex-direction: column;
    gap: 32px;
  }
  .video-left,
  .video-right {
    width: 100%;
  }
  .video-section-title h2 {
    font-size: 32px;
  }
}

@media (max-width: 575px) {
  .product-videos-section {
    padding: 60px 0;
  }
  .video-section-title h2 {
    font-size: 28px;
  }
  .video-item {
    padding: 12px 16px;
    gap: 12px;
  }
  .video-item-title {
    font-size: 14px;
  }
}

/* Light Theme Product Videos Overrides */
html.light-theme .product-videos-section {
  background: var(--navy-light) !important;
  border-top-color: rgba(0, 0, 0, 0.06) !important;
  border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

html.light-theme .video-section-title h2 {
  color: #111827 !important;
}

html.light-theme .video-item {
  background: #fff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

html.light-theme .video-item:hover {
  background: rgba(255, 102, 0, 0.04) !important;
  border-color: rgba(255, 102, 0, 0.3) !important;
}

html.light-theme .video-item.active {
  background: rgba(255, 102, 0, 0.08) !important;
  border-color: #ff6600 !important;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.1);
}

html.light-theme .video-icon-box {
  color: rgba(0, 0, 0, 0.3) !important;
}

html.light-theme .video-item:hover .video-icon-box {
  color: #ff6600 !important;
}

html.light-theme .video-item.active .video-icon-box {
  color: #ff6600 !important;
}

html.light-theme .video-item-title {
  color: rgba(0, 0, 0, 0.7) !important;
}

html.light-theme .video-item:hover .video-item-title,
html.light-theme .video-item.active .video-item-title {
  color: #111827 !important;
}

html.light-theme .video-player-container {
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

html.light-theme .sc23-out .section-title {
  color: #111827 !important;
}

/* ========================================
   OPTIONS TABLE STYLES (.sc25)
   ======================================== */
.sc25-out {
  padding: 80px 0;
  background: #0c0c0c;
}
.sc25-out .con {
  max-width: 1000px;
  margin: 0 auto;
}
.sc25-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.sc25-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: rgba(255, 102, 0, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sc25-name-left {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.sc25 {
  width: 100%;
}
.sc25-tou {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
}
.sc25-tou .sc25-lie {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sc25-hang {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease;
}
.sc25-hang:hover {
  background: rgba(255, 102, 0, 0.05);
}
.sc25-hang:last-child {
  border-bottom: none;
}
.sc25-lie {
  flex: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10px;
}
.sc25-lie.sc25-lie-pd {
  justify-content: flex-start;
  text-align: left;
  font-weight: 700;
  color: #fff;
}
/* Width distribution for options table columns */
.sc25-tou .sc25-lie,
.sc25-hang .sc25-lie {
  width: 30%;
}
.sc25-tou .sc25-lie:first-child,
.sc25-hang .sc25-lie:first-child {
  width: 15%;
  flex: 0.5;
  justify-content: flex-start;
  text-align: left;
}
.sc25-tou .sc25-lie:nth-child(2),
.sc25-hang .sc25-lie:nth-child(2) {
  width: 55%;
  flex: 2;
  justify-content: flex-start;
  text-align: left;
}
.sc25-tou .sc25-lie:nth-child(3),
.sc25-hang .sc25-lie:nth-child(3) {
  width: 30%;
  flex: 1;
  justify-content: flex-start;
  text-align: left;
}

/* Light Theme Options Overrides */
html.light-theme .sc25-out {
  background: var(--navy-light) !important;
}
html.light-theme .sc25-wrapper {
  border-color: rgba(0, 0, 0, 0.08) !important;
  background: #fff !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}
html.light-theme .sc25-name {
  background: rgba(255, 102, 0, 0.08) !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
html.light-theme .sc25-name-left {
  color: #111827 !important;
}
html.light-theme .sc25-tou {
  background: rgba(0, 0, 0, 0.02) !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
html.light-theme .sc25-tou .sc25-lie {
  color: rgba(0, 0, 0, 0.6) !important;
}
html.light-theme .sc25-hang {
  border-bottom-color: rgba(0, 0, 0, 0.05) !important;
}
html.light-theme .sc25-hang:hover {
  background: rgba(255, 102, 0, 0.04) !important;
}
html.light-theme .sc25-lie {
  color: rgba(0, 0, 0, 0.8) !important;
}
html.light-theme .sc25-lie.sc25-lie-pd {
  color: #111827 !important;
}

/* ========================================
   RESPONSIVE ENHANCEMENTS & OPTIMIZATIONS
   ======================================== */

/* Horizontal scroll support for Available Models Table (.sc24) and Options Table (.sc25) */
@media (max-width: 768px) {
  .sc24 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
  }
  .sc24-tou,
  .sc24-hang {
    min-width: 850px; /* Keep standard width for table columns */
  }

  .sc25 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
  }
  .sc25-tou,
  .sc25-hang {
    min-width: 750px; /* Options table has 3 columns, 750px is plenty */
  }
}

/* Horizontal swipe-scrolling for model tabs and gallery thumbnails */
@media (max-width: 576px) {
  .model-tabs {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none; /* Firefox */
  }
  .model-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  .model-tab {
    flex-shrink: 0;
  }

  .gallery-thumbs {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none; /* Firefox */
  }
  .gallery-thumbs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  .gallery-thumb {
    flex-shrink: 0;
  }
}
