/**
 * Product Detail Page (PDP) Stylesheet
 * Scalable, Replicable, Templatised, Componentised
 * Adheres to Visual 17 (Split Hero) and Visual 18 (Description Grid)
 */

/* ==========================================================================
   01. Core Root Variables & PDP Layout Scope
   ========================================================================== */
.pdp-main {
  --product-accent: #00965e;
  --product-accent-x: #85bb5a;
  --product-badge: #00965e;
  --product-accent-soft: rgba(0, 150, 94, 0.08);
  --color-brand-surface-gray: #f7f8f8;
  position: relative;
  width: 100%;
  background-color: #ffffff;
  color: var(--color-text-primary, #111111);
  overflow-x: clip;
}

.brand-name-green {
  color: var(--product-accent, #00965e);
}

.brand-name-x {
  color: var(--product-accent-x, #85bb5a);
}

.brand-name-smart,
.brand-name-paxi,
.brand-name-ez,
.brand-name-vsp {
  color: var(--color-brand-red, #db082f);
}

.brand-name-plus {
  color: var(--color-brand-orange, #ed6d1d);
}

.brand-name-a9 {
  color: var(--color-brand-a9, #6d6863);
}

.brand-name-ez-suffix {
  color: var(--color-brand-ez-suffix, #59554c);
}

.brand-name-ezsoft,
.brand-name-software,
.brand-name-cleverone,
.brand-name-davis {
  color: var(--color-brand-software-primary, #00a271);
}

.brand-name-ezsoft-suffix {
  color: var(--color-brand-software-suffix, #8cc448);
}

/* ==========================================================================
   02. Hero Section (Approved Visual 17: Split-Plane Canvas)
   ========================================================================== */
.pdp-hero {
  position: relative;
  width: 100%;
  padding-top: var(--header-height, 80px);
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 50%,
    #f7f8f8 50%,
    #f7f8f8 100%
  );
  overflow: visible;
}

.pdp-hero-canvas {
  position: static;
  width: 100%;
  min-height: clamp(640px, 82vh, 880px);
  display: flex;
  align-items: stretch;
}

.pdp-hero-container {
  position: static;
  display: grid;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  max-width: 100%;
  height: 100%;
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 64px);
  z-index: 2;
}

/* --- Top Row: Eyebrow (Left) & Highlights List (Right) --- */
.pdp-hero-top-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: flex-start;
}

.pdp-hero-top-left {
  padding-right: 20px;
}

.pdp-eyebrow-red {
  display: inline-block;
  color: var(--color-brand-red, #db072f);
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pdp-hero-top-right {
  display: flex;
  justify-content: flex-end;
}

.pdp-hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

.pdp-hero-highlights li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 400;
  line-height: 1.5;
  color: #2b2b2b;
}

.pdp-bullet {
  color: #2b2b2b;
  font-size: 1.2em;
  line-height: 1;
  flex-shrink: 0;
}

.pdp-highlight-text {
  flex: 1;
}

/* --- Seam-Crossing Hardware Stage (Size Hierarchy & Top Alignment) --- */
.pdp-hero-hardware-stage {
  position: absolute;
  top: clamp(105px, 13vh, 135px);
  left: 32%;
  transform: translateX(-50%);
  width: auto;
  height: clamp(624px, 88.4vh, 988px);
  max-height: 110%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* 3D and 2D Systems: Increase hero image size by an additional 50% */
.pdp-hero--cat-3d .pdp-hero-hardware-stage,
.pdp-hero--cat-2d .pdp-hero-hardware-stage {
  height: clamp(936px, 132.6vh, 1482px);
  max-height: 165%;
}

/* 3D Model Exceptions */
.pdp-hero--prod-a9 .pdp-hero-hardware-stage {
  /* A9 reduced in size by 20% */
  height: clamp(749px, 106vh, 1186px);
  max-height: 132%;
}

/* Intraoral Product Exceptions: Tailored dimensional scalings */
.pdp-hero--prod-ezray-air-wall .pdp-hero-hardware-stage {
  /* EzRay Air Wall reduced in size by 10% */
  height: clamp(562px, 79.5vh, 889px);
  max-height: 99%;
}

.pdp-hero--prod-ezsensor-classic .pdp-hero-hardware-stage {
  /* EzSensor Classic reduced in size by 30% */
  height: clamp(437px, 62vh, 692px);
  max-height: 77%;
}

.pdp-hero--prod-ezsensor-classic-hd .pdp-hero-hardware-stage {
  /* EzSensor Classic HD reduced in size by an additional 20% */
  height: clamp(399px, 56.5vh, 632px);
  max-height: 70%;
}

.pdp-hero--prod-vsp .pdp-hero-hardware-stage {
  /* VSP intraoral scanner increased in size by 10% */
  height: clamp(686px, 97.2vh, 1087px);
  max-height: 121%;
}

/* Software Category: Landscape monitor display scaling */
.pdp-hero--cat-software .pdp-hero-hardware-stage {
  left: 26%;
  height: clamp(400px, 55vh, 580px);
  max-width: 44vw;
}

.pdp-hero--cat-software .pdp-hero-hardware-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.pdp-hero-hardware-inner {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  will-change: transform;
}

.pdp-hero-hardware-inner .v-img-shell {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.pdp-hero-hardware-inner .v-img-shell__picture {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.pdp-hero-hardware-img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center top;
  vertical-align: top;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.09));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Bottom Row: Brand Title (Left) & Punchline / CTA (Right) --- */
.pdp-hero-bottom-row {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: flex-end;
}

.pdp-hero-bottom-left {
  position: relative;
  z-index: 5;
  padding-bottom: 8px;
}

.pdp-hero-product-name {
  position: relative;
  z-index: 5;
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: none;
  margin: 0;
}

.pdp-hero-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(20px, 2.5vw, 32px);
  max-width: 540px;
  justify-self: flex-end;
}

.pdp-hero-punchline {
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #111111;
  margin: 0;
}

.pdp-hero-cta-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  flex-wrap: wrap;
}

.pdp-hero-badge-wrap {
  display: flex;
  align-items: center;
}

.pdp-hero-sublogo {
  height: clamp(34px, 3.8vw, 48px);
  width: auto;
  object-fit: contain;
}

.pdp-btn-brochure {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 9999px;
  padding: 13px 26px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-btn-brochure:hover {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pdp-btn-brochure .pdp-cta-icon {
  font-size: 13px;
  transition: transform 0.3s ease;
}

.pdp-btn-brochure:hover .pdp-cta-icon {
  transform: translateY(2px);
}

/* ==========================================================================
   03. Sticky Sub-Navigation Multi-Button Bar (Enhanced)
   ========================================================================== */
.pdp-nav-sticky-wrap {
  position: sticky;
  top: var(--site-header-height, 70px);
  z-index: 950;
  padding: 12px 0 24px;
  pointer-events: none;
  background: transparent;
  transition: padding 0.25s ease, background-color 0.25s ease;
}

.pdp-nav-sticky-wrap.is-stuck {
  padding: 8px 0 14px;
}

.pdp-nav-container {
  max-width: var(--container-max-width, 1440px);
  margin: 0 auto;
  padding-left: var(--container-padding, 32px);
  padding-right: var(--container-padding, 32px);
  display: flex;
  justify-content: center;
  pointer-events: auto;
}

/* Single Unified Multi-Button Navigation Bar (Pill Capsule) */
.pdp-quick-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  transition: all 0.25s ease;
}

.pdp-quick-nav-bar::-webkit-scrollbar {
  display: none;
}

.pdp-nav-sticky-wrap.is-stuck .pdp-quick-nav-bar {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.1);
}

/* Dedicated Product Name Brand Label at the Beginning of the Subnav Bar */
.pdp-nav-brand-label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 6px 14px 6px 6px;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  margin-right: 4px;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pdp-nav-brand-label:hover {
  opacity: 0.8;
  transform: translateY(-0.5px);
}

/* Navigation Buttons Group */
.pdp-nav-buttons-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Category Navigation Buttons */
.pdp-category-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 9999px;
  padding: 8px 16px;
  font-family: var(--font-body, "Pretendard", sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: #222222;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  flex: 0 0 auto;
  transition: all 200ms ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.pdp-category-nav-btn:hover {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-1px);
}

.pdp-category-nav-btn:hover span,
.pdp-category-nav-btn:hover i {
  color: #ffffff !important;
}

.pdp-category-nav-btn.is-active {
  background-color: var(--product-accent, var(--color-brand-red, #db072f));
  color: #ffffff;
  border-color: var(--product-accent, var(--color-brand-red, #db072f));
  font-weight: 600;
  box-shadow: 0 4px 14px var(--product-accent-soft, rgba(0, 0, 0, 0.28));
}

.pdp-category-nav-btn.is-active span,
.pdp-category-nav-btn.is-active i {
  color: #ffffff !important;
}

/* Brochure CTA specific styling */
.pdp-category-nav-btn--cta {
  border-color: rgba(0, 0, 0, 0.18);
}

.pdp-category-nav-btn--cta .pdp-nav-btn__icon {
  font-size: 11px;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.pdp-category-nav-btn--cta:hover .pdp-nav-btn__icon {
  transform: translateY(2px);
}

/* Scroll margin for PDP sections to clear sticky header and sticky subnav bar */
.pdp-section,
.pdp-related-section {
  scroll-margin-top: calc(var(--site-header-height, 70px) + 74px);
}

@media (max-width: 768px) {
  .pdp-nav-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pdp-quick-nav-bar {
    justify-content: flex-start;
    padding: 6px 8px;
    gap: 6px;
  }

  .pdp-category-nav-btn {
    padding: 7px 12px;
    font-size: 12px;
  }

  .pdp-nav-sticky-wrap {
    padding: 8px 0 16px;
  }
}

/* ==========================================================================
   Back-to-Top Floating Viewport Button
   Fades in when subnav bar switches to sticky state, fades out when not sticky.
   ========================================================================== */
.pdp-back-to-top {
  position: fixed;
  bottom: clamp(24px, 3vw, 36px);
  right: clamp(24px, 3vw, 36px);
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  color: #222222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              color 0.2s ease,
              box-shadow 0.2s ease;
}

.pdp-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.pdp-back-to-top:hover {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.pdp-back-to-top:hover i {
  transform: translateY(-2px);
}

.pdp-back-to-top i {
  transition: transform 0.2s ease;
}

.pdp-back-to-top:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .pdp-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 13px;
  }
}

/* ==========================================================================
   04. Description Grid Section (Approved Visual 18)
   ========================================================================== */
.pdp-description-section {
  padding: clamp(64px, 8vw, 120px) 0;
  background-color: #ffffff;
}

.pdp-breadcrumbs {
  margin-bottom: 12px;
}

.pdp-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pdp-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pdp-breadcrumb-link {
  color: var(--color-brand-red, #db072f);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.pdp-breadcrumb-link:hover {
  opacity: 0.8;
}

.pdp-breadcrumb-sep {
  color: var(--color-brand-red, #db072f);
  font-weight: 400;
}

.pdp-breadcrumb-current {
  color: var(--color-brand-red, #db072f);
}

.pdp-section-headline {
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #111111;
  margin: 0 0 clamp(36px, 4vw, 56px) 0;
}

/* --- 2-Column Architectural Cards Matrix --- */
.pdp-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  width: 100%;
  box-sizing: border-box;
}

.pdp-card {
  background-color: #f7f8f8;
  border-radius: 0px;
  padding: clamp(28px, 3.2vw, 44px);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pdp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.pdp-card-media {
  margin-bottom: clamp(24px, 2.5vw, 36px);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.pdp-card-content {
  margin-top: auto;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pdp-card-title {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111111;
  margin: 0 0 14px 0;
}

.pdp-card-body {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: clamp(14px, 1.05vw, 15px);
  font-weight: 400;
  line-height: 1.65;
  color: #3f3f3f;
  margin: 0;
}

/* ==========================================================================
   05. Feature Card Widgets (The 6 Standardized Components)
   ========================================================================== */

/* --- Widget 1: Comparison A/B (CST Technology) --- */
.pdp-widget-comparison {
  width: 100%;
}

.pdp-comparison-media-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0d0d0d;
}

.pdp-comparison-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.pdp-comparison-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.pdp-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.pdp-tag-normal {
  background: rgba(0, 0, 0, 0.65);
  color: #dddddd;
}

.pdp-tag-accent {
  background: rgba(0, 150, 94, 0.9);
  color: #ffffff;
}

.pdp-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

/* --- Widget 2: Multi-Modal Scan Gallery --- */
.pdp-widget-scan-gallery {
  width: 100%;
}

.pdp-scan-media-wrap {
  position: relative;
  width: 100%;
  background: #0d0d0d;
  overflow: hidden;
}

.pdp-scan-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.pdp-scan-indicator {
  position: absolute;
  bottom: 14px;
  right: 14px;
}

.pdp-scan-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pdp-scan-modalities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pdp-modality-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  padding: 5px 12px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 11.5px;
  font-weight: 600;
  color: #444444;
}

.pdp-modality-pill i {
  color: var(--product-accent, #00965e);
  font-size: 10px;
}

/* --- Widget 3: Micro-Resolution (0.05mm Voxel) --- */
.pdp-widget-micro-resolution {
  width: 100%;
}

.pdp-micro-media-wrap {
  position: relative;
  width: 100%;
  background: #0d0d0d;
  overflow: hidden;
}

.pdp-micro-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.pdp-micro-overlay {
  display: none !important;
}

/* --- Widget 4: Multi-FOV Selection --- */
.pdp-widget-fov {
  width: 100%;
}

.pdp-fov-media-wrap {
  width: 100%;
  background: #ffffff;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.pdp-fov-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.pdp-fov-chips-bar {
  margin-top: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pdp-fov-chips-bar::-webkit-scrollbar {
  display: none;
}

.pdp-fov-chips-scroll {
  display: flex;
  gap: 8px;
}

.pdp-fov-chip {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.pdp-fov-chip:hover {
  border-color: var(--product-accent, #00965e);
  color: var(--product-accent, #00965e);
}

.pdp-fov-chip.active {
  background: var(--product-accent, #00965e);
  border-color: var(--product-accent, #00965e);
  color: #ffffff;
}

.pdp-fov-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pdp-fov-active-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12.5px;
  color: #444444;
}

.pdp-fov-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pdp-fov-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111111;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.pdp-fov-more-link:hover {
  color: var(--product-accent, #00965e);
}

/* --- Widget 5: Speedometer Gauges --- */
.pdp-widget-gauges {
  width: 100%;
}

.pdp-card-gauges .pdp-card-content {
  margin-top: 0;
}

.pdp-gauges-grid {
  display: grid;
  gap: 16px;
  background: #ffffff;
  padding: 24px 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.pdp-gauges-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 480px;
  margin: 0 auto;
}

.pdp-gauges-grid--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pdp-gauge-num--text {
  font-size: clamp(16px, 1.4vw, 20px) !important;
}

.pdp-gauge-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pdp-gauge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  padding: 5px 12px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 11.5px;
  font-weight: 600;
  color: #444444;
}

.pdp-gauge-pill i {
  color: var(--product-accent, #00965e);
  font-size: 10px;
}

.pdp-gauge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pdp-gauge-svg-wrap {
  position: relative;
  width: 100%;
  max-width: 130px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-gauge-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pdp-gauge-needle-group {
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-gauge-readout {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pdp-gauge-num {
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: #111111;
  line-height: 1;
}

.pdp-gauge-unit {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 11px;
  font-weight: 600;
  color: #777777;
}

.pdp-gauge-label {
  margin-top: 8px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #222222;
}

.pdp-gauges-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12px;
  color: #555555;
  line-height: 1.4;
}

/* --- Widget 6: Dosage Comparison Bar --- */
.pdp-widget-dosage {
  width: 100%;
}

.pdp-dosage-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  background: #ffffff;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  align-items: center;
}

.pdp-dosage-bars-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pdp-dosage-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-dosage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13px;
  font-weight: 600;
}

.pdp-dosage-name {
  color: #333333;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pdp-dosage-track {
  width: 100%;
  height: 16px;
  background: #ebeeee;
  border-radius: 9999px;
  overflow: hidden;
}

.pdp-dosage-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-fill-baseline {
  background-color: #2b2b2b;
}

.pdp-dosage-badge-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdp-reduction-circle-badge {
  width: 130px;
  height: 130px;
  border: 2px solid var(--product-accent, #00965e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 150, 94, 0.08);
}

.pdp-reduction-circle-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pdp-reduction-highlight {
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.pdp-reduction-sub {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #444444;
  line-height: 1.2;
}

.pdp-dosage-footnote {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 11.5px;
  color: #777777;
}

/* ==========================================================================
   06. Specifications Section
   ========================================================================== */
.pdp-specs-section {
  padding: clamp(64px, 8vw, 120px) 0;
  background-color: #f7f8f8;
}

.pdp-section-header {
  margin-bottom: clamp(36px, 4vw, 56px);
}

.pdp-section-eyebrow {
  display: block;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-red, #db072f);
  margin-bottom: 8px;
}

.pdp-specs-table-wrapper {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  overflow-x: auto;
}

.pdp-specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pdp-specs-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pdp-specs-row:last-child {
  border-bottom: none;
}

.pdp-specs-label {
  padding: 18px 28px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  color: #222222;
  width: 32%;
  background: rgba(0, 0, 0, 0.015);
  vertical-align: middle;
}

.pdp-specs-val {
  padding: 18px 28px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14.5px;
  font-weight: 400;
  color: #444444;
  vertical-align: middle;
}

.pdp-specs-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.pdp-btn-specs-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 9999px;
  padding: 14px 30px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pdp-btn-specs-download:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* ==========================================================================
   07. Dimensions Section
   ========================================================================== */
.pdp-dimensions-section {
  padding: clamp(64px, 8vw, 120px) 0;
  background-color: #ffffff;
}

.pdp-dim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.pdp-dim-card {
  background: #f7f8f8;
  padding: 36px 28px;
  border-radius: 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.pdp-dim-icon-wrap {
  font-size: 28px;
}

.pdp-dim-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pdp-dim-type {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #666666;
}

.pdp-dim-primary {
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: #111111;
  line-height: 1.1;
}

.pdp-dim-primary small {
  font-size: 0.5em;
  font-weight: 500;
  color: #777777;
}

.pdp-dim-secondary {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13.5px;
  color: #666666;
}

.pdp-dim-advisory {
  background: #f7f8f8;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.pdp-dim-advisory-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.pdp-dim-advisory-text {
  margin: 0;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14px;
  color: #444444;
  line-height: 1.5;
}

/* ==========================================================================
   08. Images & Clinical Gallery Section
   ========================================================================== */
.pdp-gallery-section {
  padding: clamp(64px, 8vw, 120px) 0;
  background-color: #f7f8f8;
}

.pdp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.pdp-gallery-card {
  margin: 0;
  background: #ffffff;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.pdp-gallery-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ffffff;
}

.pdp-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: var(--transition-image-hover, transform 500ms cubic-bezier(0.16, 1, 0.3, 1));
}

.pdp-gallery-card:hover .pdp-gallery-img,
.pdp-gallery-card:focus-within .pdp-gallery-img {
  transform: scale(1.04);
}

.pdp-gallery-scrim {
  position: absolute;
  top: 14px;
  left: 14px;
}

.pdp-gallery-category {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-gallery-caption {
  padding: 18px 24px;
}

.pdp-gallery-title {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: #222222;
}

/* ==========================================================================
   09. Brochure Modal Dialog
   ========================================================================== */
.pdp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pdp-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.pdp-modal-backdrop[hidden] {
  display: none !important;
}

.pdp-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  border-radius: 0px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  margin: auto;
  box-sizing: border-box;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-modal-backdrop.is-open .pdp-modal-dialog {
  transform: translateY(0);
}

.pdp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.pdp-modal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.pdp-modal-eyebrow {
  display: block;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.pdp-modal-title {
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: #111111;
  margin: 0;
}

.pdp-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #666666;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.pdp-modal-close:hover {
  color: #111111;
}

.pdp-modal-desc {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
  margin: 0 0 24px 0;
}

.pdp-brochure-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pdp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pdp-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-form-group--full {
  grid-column: 1 / -1;
}

.pdp-label {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: #333333;
}

.pdp-label .req {
  color: var(--color-brand-red, #db072f);
}

.pdp-input,
.pdp-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14px;
  color: #111111;
  background: #ffffff;
  transition: border-color 0.2s ease;
}

.pdp-input:focus,
.pdp-select:focus {
  outline: none;
  border-color: var(--product-accent, #00965e);
}

.pdp-form-actions {
  margin-top: 8px;
}

.pdp-btn-submit {
  width: 100%;
  padding: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 9999px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pdp-btn-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.pdp-form-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0 0;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 11px;
  color: #777777;
  line-height: 1.4;
}

.pdp-modal-success {
  text-align: center;
  padding: 30px 10px;
}

.pdp-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.pdp-modal-success h4 {
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.pdp-modal-success p {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14px;
  color: #555555;
  margin: 0 0 24px 0;
}

.pdp-modal-success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  max-width: 380px;
  margin: 0 auto;
}

.pdp-btn-download-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 9999px;
  text-decoration: none;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pdp-btn-view-brochure {
  background: #ffffff;
  color: #111111;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
}

.pdp-btn-view-brochure:hover {
  background: #f8fafc;
  color: #111111;
  border-color: #111111;
  transform: translateY(-1px);
}

.pdp-btn-download-file {
  background: #111111;
  color: #ffffff;
  border: 1.5px solid #111111;
}

.pdp-btn-download-file:hover {
  background: #222222;
  border-color: #222222;
  color: #ffffff;
  transform: translateY(-1px);
}

.pdp-cooldown-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #065f46;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(6, 95, 70, 0.08);
}

.pdp-switch-user-wrap {
  margin-top: 22px;
}

.pdp-switch-user-btn {
  background: none;
  border: none;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12.5px;
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.15s ease;
}

.pdp-switch-user-btn:hover {
  color: #0f172a;
}

/* ==========================================================================
   09. Zoomable Media & Accessible Image Lightbox Modal
   ========================================================================== */
.pdp-zoomable-media {
  position: relative;
  display: block;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 4px;
}

.pdp-zoomable-blueprint {
  display: inline-block;
  width: 100%;
}

.pdp-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(17, 17, 17, 0.85);
  color: #ffffff;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pdp-zoomable-media:hover .pdp-zoom-badge,
.pdp-zoomable-media:focus-visible .pdp-zoom-badge {
  opacity: 1;
  transform: translateY(0);
}

.pdp-zoom-badge i {
  font-size: 11px;
  color: var(--product-accent, #00965e);
}

/* Accessible Image Lightbox Modal */
.pdp-img-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overscroll-behavior: contain;
}

.pdp-img-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.pdp-img-modal-backdrop[hidden] {
  display: none !important;
}

.pdp-img-modal-dialog {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  max-width: 1120px;
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-img-modal-backdrop.is-open .pdp-img-modal-dialog {
  transform: scale(1);
}

.pdp-img-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #111111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.pdp-img-modal-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pdp-img-modal-eyebrow {
  display: block;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pdp-img-modal-title {
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.pdp-img-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pdp-img-modal-counter {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12.5px;
  font-weight: 500;
  color: #cccccc;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.2;
}

.pdp-img-modal-counter[hidden],
.pdp-img-modal-nav[hidden] {
  display: none !important;
}

.pdp-img-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #aaaaaa;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.pdp-img-modal-close:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.pdp-img-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.pdp-img-modal-nav:hover {
  background: rgba(40, 40, 40, 0.95);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.06);
}

.pdp-img-modal-nav:focus-visible {
  outline: 2px solid var(--product-accent, #00965e);
  outline-offset: 2px;
}

.pdp-img-modal-prev {
  left: 16px;
}

.pdp-img-modal-next {
  right: 16px;
}

.pdp-img-modal-body {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.pdp-img-modal-viewport {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 160px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.pdp-img-modal-display {
  max-width: 100%;
  max-height: calc(100dvh - 190px);
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
  cursor: zoom-in;
  background: #ffffff;
  border-radius: 2px;
}

.pdp-img-modal-viewport.is-zoomed {
  align-items: flex-start;
  justify-content: flex-start;
}

.pdp-img-modal-viewport.is-zoomed .pdp-img-modal-display {
  max-width: none;
  max-height: none;
  width: 200%;
  cursor: zoom-out;
}

.pdp-img-modal-footer {
  padding: 10px 20px;
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.pdp-img-modal-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pdp-img-modal-hint {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12px;
  color: #888888;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pdp-img-modal-hint i {
  color: var(--product-accent, #00965e);
}

.pdp-img-modal-zoom-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pdp-img-modal-zoom-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}


/* ==========================================================================
   10. Responsive Breakpoints & Adaptive Layouts
   ========================================================================== */

/* High-Resolution Screens & Smaller Desktops (<= 1780px) */
@media (max-width: 1780px) {
  .pdp-hero--cat-software .pdp-hero-hardware-stage {
    left: 24%;
    height: clamp(340px, 46vh, 480px);
    max-width: 38vw;
  }

  .pdp-hero--cat-software .pdp-hero-top-row {
    grid-template-columns: 1.15fr 1fr;
    gap: 32px;
  }

  .pdp-hero--cat-software .pdp-hero-highlights {
    max-width: 480px;
  }
}

/* Laptops & Standard Desktops (<= 1440px) */
@media (max-width: 1440px) {
  .pdp-hero--cat-software .pdp-hero-hardware-stage {
    left: 22%;
    height: clamp(280px, 40vh, 400px);
    max-width: 36vw;
  }

  .pdp-hero--cat-software .pdp-hero-highlights {
    max-width: 420px;
    gap: 10px;
  }

  .pdp-hero--cat-software .pdp-hero-highlights li {
    font-size: clamp(14px, 1.05vw, 16px);
  }
}

/* Small Laptops (<= 1200px) */
@media (max-width: 1200px) {
  .pdp-hero--cat-software .pdp-hero-hardware-stage {
    left: 21%;
    height: clamp(250px, 35vh, 340px);
    max-width: 34vw;
  }

  .pdp-hero--cat-software .pdp-hero-top-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .pdp-hero--cat-software .pdp-hero-highlights {
    max-width: 360px;
  }
}

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .pdp-hero-hardware-stage {
    top: clamp(90px, 11vh, 120px);
    left: 28%;
    transform: translateX(-50%);
    height: clamp(494px, 65vh, 728px);
    max-height: 110%;
    z-index: 1;
    align-items: flex-start;
  }

  /* Software Category Tablet Scaling */
  .pdp-hero--cat-software .pdp-hero-hardware-stage {
    left: 20%;
    height: clamp(230px, 32vh, 300px);
    max-width: 34vw;
  }

  /* 3D and 2D Systems Tablet Scaling (+50%) */
  .pdp-hero--cat-3d .pdp-hero-hardware-stage,
  .pdp-hero--cat-2d .pdp-hero-hardware-stage {
    height: clamp(741px, 97.5vh, 1092px);
    max-height: 165%;
  }

  /* 3D Model Exceptions Tablet Scaling */
  .pdp-hero--prod-a9 .pdp-hero-hardware-stage {
    height: clamp(593px, 78vh, 874px);
    max-height: 132%;
  }

  /* Intraoral Product Exceptions Tablet Scaling */
  .pdp-hero--prod-ezray-air-wall .pdp-hero-hardware-stage {
    height: clamp(445px, 58.5vh, 655px);
    max-height: 99%;
  }

  .pdp-hero--prod-ezsensor-classic .pdp-hero-hardware-stage {
    height: clamp(346px, 45.5vh, 510px);
    max-height: 77%;
  }

  .pdp-hero--prod-ezsensor-classic-hd .pdp-hero-hardware-stage {
    height: clamp(316px, 41.5vh, 466px);
    max-height: 70%;
  }

  .pdp-hero--prod-vsp .pdp-hero-hardware-stage {
    height: clamp(543px, 71.5vh, 801px);
    max-height: 121%;
  }

  .pdp-cards-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pdp-dim-grid {
    grid-template-columns: 1fr;
  }

  .pdp-dim-advisory {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdp-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .pdp-hero {
    background: #ffffff;
    padding-top: var(--header-height, 70px);
  }

  .pdp-hero-canvas {
    min-height: auto;
    display: block;
  }

  .pdp-hero-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 16px;
    padding-bottom: 0;
  }

  /* 1. Equipment Hardware Stage (Top on mobile, sits directly above brand section with minimal spacing) */
  .pdp-hero-hardware-stage {
    order: 1;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: 360px;
    margin: 0 0 2px 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .pdp-hero-hardware-inner {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .pdp-hero--cat-3d .pdp-hero-hardware-stage,
  .pdp-hero--cat-2d .pdp-hero-hardware-stage {
    height: 400px;
  }

  .pdp-hero--prod-a9 .pdp-hero-hardware-stage {
    height: 336px;
  }

  .pdp-hero--prod-ezray-air-wall .pdp-hero-hardware-stage {
    height: 325px;
  }

  .pdp-hero--prod-ezsensor-classic .pdp-hero-hardware-stage {
    height: 260px;
  }

  .pdp-hero--prod-ezsensor-classic-hd .pdp-hero-hardware-stage {
    height: 232px;
  }

  .pdp-hero--prod-vsp .pdp-hero-hardware-stage {
    height: 380px;
  }

  .pdp-hero-hardware-img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-position: center bottom;
    margin: 0 auto;
  }

  /* 2. Hero Bottom Row (Product Display Brand section first, tight to image, followed by punchline & logo/CTA) */
  .pdp-hero-bottom-row {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f7f8f8;
    margin: 0 calc(-1 * var(--container-padding, 20px));
    padding: 14px var(--container-padding, 20px) 24px;
  }

  .pdp-hero-bottom-left {
    padding-bottom: 0;
  }

  .pdp-hero-product-name {
    margin: 0;
    font-size: clamp(34px, 8.5vw, 44px);
    line-height: 1.05;
  }

  .pdp-hero-bottom-right {
    justify-self: auto;
    gap: 16px;
    max-width: 100%;
  }

  .pdp-hero-punchline {
    font-size: clamp(20px, 5.2vw, 26px);
    line-height: 1.15;
  }

  .pdp-hero-cta-actions {
    gap: 16px;
    align-items: center;
  }

  /* 3. Hero Top Row: Eyebrow and highlight bullet list appear only after hero bottom row, after the logo */
  .pdp-hero-top-row {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f7f8f8;
    margin: 0 calc(-1 * var(--container-padding, 20px));
    padding: 18px var(--container-padding, 20px) 36px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .pdp-hero-top-left {
    padding-right: 0;
  }

  .pdp-eyebrow-red {
    font-size: 12.5px;
    letter-spacing: 0.08em;
  }

  .pdp-hero-top-right {
    justify-content: flex-start;
    width: 100%;
  }

  .pdp-hero-highlights {
    gap: 10px;
    max-width: 100%;
  }

  .pdp-hero-highlights li {
    font-size: 14.5px;
    line-height: 1.45;
    gap: 10px;
  }

  .pdp-form-row {
    grid-template-columns: 1fr;
  }

  /* Hide comparison badge overlays on mobile to prevent obstructing clinical imagery */
  .pdp-comparison-overlay {
    display: none !important;
  }

  /* Make zoom indicators visible on mobile viewports */
  .pdp-zoom-badge {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  /* Mobile Image Lightbox Navigation & Counter */
  .pdp-img-modal-nav {
    width: 42px;
    height: 42px;
    font-size: 16px;
    background: rgba(17, 17, 17, 0.88);
  }

  .pdp-img-modal-prev {
    left: 8px;
  }

  .pdp-img-modal-next {
    right: 8px;
  }

  .pdp-img-modal-counter {
    font-size: 11.5px;
    padding: 3px 8px;
  }

  .pdp-img-modal-header {
    padding: 12px 14px;
  }

  .pdp-img-modal-footer {
    padding: 8px 14px;
  }

  .pdp-img-modal-hint {
    font-size: 11px;
  }

  /* Responsive Brochure Modal (Mobile Viewports <= 768px) */
  .pdp-modal-backdrop {
    padding: 14px 12px;
  }

  .pdp-modal-dialog {
    max-height: calc(100dvh - 24px);
    padding: 22px 18px 18px;
  }

  .pdp-modal-header {
    margin-bottom: 12px;
  }

  .pdp-modal-title {
    font-size: 20px;
  }

  .pdp-modal-desc {
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.45;
  }

  .pdp-brochure-form {
    gap: 12px;
  }

  .pdp-form-row {
    gap: 12px;
  }

  .pdp-form-group {
    gap: 4px;
  }

  .pdp-input,
  .pdp-select {
    padding: 10px 12px;
    font-size: 14px;
  }

  .pdp-btn-submit {
    padding: 12px 20px;
    font-size: 14px;
  }

  .pdp-specs-label {
    width: 40%;
    padding: 14px 18px;
  }

  .pdp-specs-val {
    padding: 14px 18px;
  }

  .pdp-dosage-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   Small Screen Heights / Mobile Devices (Height <= 667px, e.g. iPhone SE)
   Ensures technical brochure request form and modals are 100% accessible
   ========================================================================== */
@media (max-height: 667px) {
  .pdp-modal-backdrop {
    padding: 8px !important;
  }

  .pdp-modal-dialog {
    max-height: calc(100dvh - 16px) !important;
    padding: 16px 16px 12px !important;
  }

  .pdp-modal-header {
    margin-bottom: 6px !important;
  }

  .pdp-modal-eyebrow {
    font-size: 9.5px !important;
    margin-bottom: 2px !important;
  }

  .pdp-modal-title {
    font-size: 17px !important;
  }

  .pdp-modal-close {
    font-size: 18px !important;
    padding: 2px !important;
  }

  .pdp-modal-desc {
    font-size: 12px !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
  }

  .pdp-brochure-form {
    gap: 8px !important;
  }

  .pdp-form-row {
    grid-template-columns: 1fr;
    gap: 8px !important;
  }

  .pdp-form-group {
    gap: 3px !important;
  }

  .pdp-label {
    font-size: 11px !important;
  }

  .pdp-input,
  .pdp-select {
    padding: 7px 10px !important;
    font-size: 13px !important;
  }

  .pdp-form-actions {
    margin-top: 4px !important;
  }

  .pdp-btn-submit {
    padding: 9px 16px !important;
    font-size: 13px !important;
  }

  .pdp-form-privacy {
    margin-top: 6px !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  .pdp-modal-success {
    padding: 12px 6px !important;
  }

  .pdp-success-icon {
    font-size: 28px !important;
    margin-bottom: 6px !important;
  }

  .pdp-modal-success h4 {
    font-size: 17px !important;
    margin-bottom: 4px !important;
  }

  .pdp-modal-success p {
    font-size: 12.5px !important;
    margin-bottom: 12px !important;
  }

  .pdp-btn-download-now {
    padding: 9px 18px !important;
    font-size: 13px !important;
  }

  /* Compact image viewer on short landscape / small height devices */
  .pdp-img-modal-dialog {
    max-height: calc(100dvh - 12px) !important;
  }

  .pdp-img-modal-viewport {
    max-height: calc(100dvh - 100px) !important;
  }

  .pdp-img-modal-display {
    max-height: calc(100dvh - 110px) !important;
  }
}

/* ==========================================================================
   07. Related Series Carousel & Minimalistic Solutions Directory
   ========================================================================== */
.pdp-related-section {
  position: relative;
  width: 100%;
  padding: clamp(64px, 8vw, 110px) 0 clamp(80px, 9vw, 130px);
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Header */
.pdp-related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.pdp-related-eyebrow {
  display: inline-block;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--product-accent, #00965e);
  margin-bottom: 8px;
}

.pdp-related-title {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #111111;
  margin: 0 0 10px 0;
}

.pdp-related-subtitle {
  font-family: var(--font-body, sans-serif);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: #64748b;
  max-width: 600px;
  margin: 0;
  line-height: 1.55;
}

.pdp-related-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pdp-related-compare-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background-color: var(--color-brand-red, #db072f);
  color: #ffffff;
  font-family: var(--font-body, sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(219, 7, 47, 0.25);
}

.pdp-related-compare-link:hover {
  background-color: var(--color-brand-red-hover, #b80526);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(219, 7, 47, 0.35);
}

.pdp-related-category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background-color: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #111111;
  font-family: var(--font-body, sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.pdp-related-category-link:hover {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-2px);
}

/* Related Products Carousel */
.pdp-related-carousel {
  position: relative;
  width: 100%;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.pdp-related-carousel__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(24px, 3.5vw, 44px) 0 clamp(16px, 2.5vw, 28px);
  margin-top: calc(-1 * clamp(14px, 2vw, 24px));
}

.pdp-related-carousel__track {
  display: flex;
  gap: 24px;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: grab;
  overflow: visible;
}

.pdp-related-carousel__track:active {
  cursor: grabbing;
}

.pdp-related-carousel__slide {
  flex: 0 0 calc((100% - 3 * 24px) / 4);
  min-width: 250px;
  user-select: none;
  overflow: visible;
}

/* Card Styling with Unclipped Stages */
.pdp-related-card {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pdp-related-card__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: clamp(260px, 32vw, 380px);
  height: clamp(260px, 32vw, 380px);
  background-color: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 8px;
  padding: clamp(16px, 2vw, 24px);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: visible;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pdp-related-card__inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.14);
}

.pdp-related-carousel__slide.is-current-product .pdp-related-card__inner {
  border-color: var(--product-accent, #00965e);
  background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 100%);
}

.pdp-related-card__meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  z-index: 2;
}

.pdp-related-card__badge {
  font-family: var(--font-body, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #475569;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.pdp-related-card__current-pill {
  font-family: var(--font-body, sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background-color: var(--product-accent, #00965e);
  color: #ffffff;
}

.pdp-related-card__media {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  position: relative;
  overflow: visible;
}

.pdp-related-card__img {
  max-width: 90%;
  max-height: clamp(150px, 20vw, 240px);
  object-fit: contain;
  will-change: transform;
  transition: var(--transition-image-hover, transform 500ms cubic-bezier(0.16, 1, 0.3, 1));
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.pdp-related-card__inner:hover .pdp-related-card__img,
.pdp-related-card__inner:focus-within .pdp-related-card__img {
  transform: scale(1.05);
}

.pdp-related-card__content {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 12px;
}

.pdp-related-card__name {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}

.pdp-related-card__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body, sans-serif);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-brand-red, #db072f);
  white-space: nowrap;
}

.pdp-related-card__arrow {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.pdp-related-card__inner:hover .pdp-related-card__arrow {
  transform: translateX(3px);
}

/* Carousel Buttons & Counters */
.pdp-related-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.35);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pdp-related-carousel__btn--prev {
  left: clamp(10px, 2.5vw, 24px);
}

.pdp-related-carousel__btn--next {
  right: clamp(10px, 2.5vw, 24px);
}

.pdp-related-carousel__btn:hover:not(:disabled) {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-50%) scale(1.08);
}

.pdp-related-carousel__btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.pdp-related-carousel__counter-wrap {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.pdp-related-carousel__counter {
  font-family: var(--font-display, monospace);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #888888;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.pdp-related-carousel__current {
  color: #111111;
}

.pdp-related-carousel__divider {
  color: #94a3b8;
}

/* ==========================================================================
   MINIMALISTIC SOLUTIONS DIRECTORY (PORTFOLIO QUICK-JUMP MENU)
   ========================================================================== */
.pdp-directory {
  position: relative;
  width: 100%;
  background-color: #fafbfc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: clamp(32px, 5vw, 56px);
}

.pdp-directory__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.pdp-directory__eyebrow {
  display: inline-block;
  font-family: var(--font-body, sans-serif);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand-red, #db072f);
  margin-bottom: 6px;
}

.pdp-directory__title {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0 0 8px 0;
}

.pdp-directory__desc {
  font-family: var(--font-body, sans-serif);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: #64748b;
  margin: 0;
  max-width: 640px;
}

.pdp-directory__hub-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background-color: #111111;
  color: #ffffff;
  font-family: var(--font-body, sans-serif);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.pdp-directory__hub-link:hover {
  background-color: var(--color-brand-red, #db072f);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(219, 7, 47, 0.25);
}

/* 4-Column Directory Grid */
.pdp-directory__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.pdp-directory__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pdp-directory__cat-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid #111111;
}

.pdp-directory__cat-num {
  font-family: var(--font-display, monospace);
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
}

.pdp-directory__cat-title {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pdp-directory__cat-title a {
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pdp-directory__cat-title a:hover {
  color: var(--color-brand-red, #db072f);
}

.pdp-directory__subgroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-directory__subgroup-title {
  font-family: var(--font-body, sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.pdp-directory__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-directory__item {
  position: relative;
}

.pdp-directory__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #334155;
  font-family: var(--font-body, sans-serif);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pdp-directory__link:hover {
  background-color: #ffffff;
  color: #111111;
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pdp-directory__item-name {
  line-height: 1.3;
}

.pdp-directory__item-icon {
  font-size: 10px;
  color: #94a3b8;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

.pdp-directory__link:hover .pdp-directory__item-icon {
  opacity: 1;
  transform: translateX(0);
  color: var(--color-brand-red, #db072f);
}

/* Active / Current Product in Directory */
.pdp-directory__item.is-active .pdp-directory__link {
  background-color: #ffffff;
  color: var(--product-accent, #00965e);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pdp-directory__current-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--product-accent, #00965e);
  box-shadow: 0 0 0 3px rgba(0, 150, 94, 0.18);
}

/* Responsive Rules */
@media (max-width: 1200px) {
  .pdp-related-carousel__slide {
    flex: 0 0 calc((100% - 2 * 20px) / 3);
  }

  .pdp-directory__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .pdp-related-header,
  .pdp-directory__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdp-related-carousel__slide {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (max-width: 600px) {
  .pdp-related-carousel__slide {
    flex: 0 0 78vw;
  }

  .pdp-directory__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pdp-directory {
    padding: 24px 18px;
  }
}
