/* DESIGN SYSTEM COMPLIANT LUXURY CORE STYLES */
.products-page-container {
  --brand-primary: #0f6b4b;
  --brand-accent: #d4af37;
  --brand-dark: #073525;
  --text-primary: #111612;
  --text-muted: #55605a;
  --bg-main: #ffffff;
  --bg-tint: #f4f8f5;
  --shadow-elegant:
    0 30px 60px -15px rgba(15, 107, 75, 0.05),
    0 10px 30px -10px rgba(0, 0, 0, 0.02);
  --border-subtle: rgba(15, 107, 75, 0.08);

  padding: clamp(60px, 8vw, 120px) 20px;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

.products-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.products-hero-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.products-main-title {
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* SECTION 1: COMPACT LUXURY CAROUSEL ARCHITECTURE */
.showroom-carousel-wrapper {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
  min-height: 380px;
}

.carousel-side-metrics {
  background: var(--brand-dark);
  padding: 44px;
  color: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.matrix-mesh-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.04) 1.5px,
    transparent 1.5px
  );
  background-size: 16px 16px;
  z-index: 1;
}

.active-index-counter {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}
.slide-sep {
  color: rgba(255, 255, 255, 0.15);
  margin: 0 6px;
}
.total-slides {
  color: rgba(255, 255, 255, 0.3);
  font-size: 24px;
}

.metrics-dynamic-data {
  position: relative;
  z-index: 2;
  margin: 40px 0;
}
.meta-label-strip {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.spec-pills-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.canvas-spec-pill {
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-block;
}

.carousel-progress-rail {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.carousel-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--brand-accent);
}

.carousel-main-content {
  padding: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showroom-slides-container {
  position: relative;
  width: 100%;
}

.showroom-slide {
  display: none;
  opacity: 0;
  transform: translateY(15px);
}
.showroom-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.market-segment-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-primary);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}

.showroom-slide h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.showroom-slide p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.carousel-control-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.showroom-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(15, 107, 75, 0.15);
  background: #ffffff;
  color: var(--brand-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
}
.showroom-nav-btn:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

/* ==================== SECTION 2: DOMESTIC CARD DECK ENGINE (No-Vibrate) ==================== */
.domestic-showroom-section {
  margin-top: clamp(64px, 8vw, 100px);
  position: relative;
}

.domestic-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px; /* Enhanced headroom configuration layout */
}

.domestic-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--brand-dark);
  margin: 14px 0;
  letter-spacing: -0.02em;
}

.domestic-header p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.vertical-flip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  perspective: 2000px;
}

/* Base anchor handles bounding dimensions safely to resolve vibration issues entirely */
.unfold-card-3d {
  position: relative;
  min-height: 300px;
  background: transparent;
}

/* Inner engine isolates hardware execution vectors cleanly */
.unfold-card-inner-engine {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.unfold-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  padding: 36px 24px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-elegant);
  border: 1px solid var(--border-subtle);
}

.unfold-card-face.front-face {
  background: #ffffff;
  z-index: 2;
  transform: rotateY(0deg);
}

.unfold-card-face.back-face {
  background: var(--bg-tint);
  border-color: rgba(15, 107, 75, 0.15);
  z-index: 1;
  transform: rotateY(180deg); /* Queued safely behind baseline layer */
}

.face-content {
  text-align: center;
  width: 100%;
}

.unfold-icon {
  font-size: 36px;
  color: var(--brand-primary);
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.front-face h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
}

.unfold-action-hint {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-accent);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.back-face h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-primary);
  margin: 0 0 10px 0;
}
.back-face p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 18px 0;
}

.tech-pill-dom {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-dark);
  background: rgba(15, 107, 75, 0.06);
  padding: 5px 12px;
  border-radius: 6px;
  display: inline-block;
}

/* Left-to-Right structural book rotation execution hooks */
.unfold-card-3d:hover .unfold-card-inner-engine,
.unfold-card-3d.dom-highlight-active .unfold-card-inner-engine {
  transform: rotateY(180deg);
}

.unfold-card-3d:hover .unfold-icon {
  transform: scale(1.08);
}

/* SECTION 3: OEM PANELS SPECIFICS */
.oem-capabilities-panel {
  background: var(--bg-tint);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-elegant);
}
.oem-grid-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.oem-content-left h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--brand-dark);
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}
.oem-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}
.oem-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.oem-spec-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand-dark);
}
.oem-spec-list i {
  color: var(--brand-primary);
  font-size: 16px;
  width: 20px;
}
.capabilities-glass-card {
  background: var(--brand-dark);
  border-radius: 20px;
  padding: 28px;
  color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(7, 53, 37, 0.2);
}
.glass-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-accent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.glass-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.g-stat {
  display: flex;
  flex-direction: column;
}
.g-num {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  color: #fff;
}
.g-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  font-weight: 700;
}
.glass-ticker-footer {
  font-family: monospace;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
}
.ticker-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-accent);
  border-radius: 50%;
  animation: pulseFade 1.4s infinite ease-in-out;
}
.luxury-divider {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-subtle) 20%,
    var(--border-subtle) 80%,
    transparent
  );
  margin: clamp(48px, 6vw, 72px) 0;
}

@media (max-width: 992px) {
  .showroom-carousel-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .carousel-side-metrics {
    padding: 32px;
    gap: 24px;
  }
  .vertical-flip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .oem-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 640px) {
  .products-page-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .vertical-flip-grid {
    grid-template-columns: 1fr;
  }
  .unfold-card-3d {
    min-height: 260px;
  }
  .oem-capabilities-panel {
    padding: 24px 16px;
  }
}

.product-slider {
  max-width: 1200px;
  margin: 80px auto;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}
.slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  padding: 70px;
}
.product-image {
  flex: 1;
  text-align: center;
}
.product-image img {
  width: 100%;
  max-width: 420px;
  transition: 0.4s;
}
.product-image img:hover {
  transform: scale(1.05);
}
.product-content {
  flex: 1;
}
.product-category {
  display: inline-block;
  color: #d8a62a;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.product-content h2 {
  font-size: 48px;
  color: #083d34;
  margin-bottom: 20px;
  line-height: 1.2;
}
.product-content p {
  color: #5d6673;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.features {
  margin-bottom: 35px;
}
.features span {
  display: block;
  color: #083d34;
  font-size: 17px;
  margin-bottom: 12px;
  font-weight: 600;
}
.features span::before {
  content: "●";
  color: #d8a62a;
  margin-right: 10px;
}
.btn {
  display: inline-block;
  padding: 14px 38px;
  background: #083d34;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}
.btn:hover {
  background: #d8a62a;
  color: #083d34;
}
@media (max-width: 991px) {
  .slide {
    flex-direction: column;
    text-align: center;
    padding: 50px 30px;
    gap: 40px;
  }
  .product-content h2 {
    font-size: 36px;
  }
  .product-image img {
    max-width: 300px;
  }
}
