/**
 * Seaplast Theme Interactive 3D Product Showcase Stylesheet
 * 100% Identical to reference target design: Light ambient blue backdrop, centered 3D container on metallic podium, curved spec pointers, and slider cards.
 * Fully Responsive for Mobile, Tablet, & Desktop devices.
 */

.sp-showcase-section {
  position: relative;
  background: linear-gradient(180deg, #EDF5F8 0%, #DCECF3 50%, #CFE4ED 100%);
  padding: 64px 0 80px 0;
  overflow: hidden;
  color: #0F172A;
}

.sp-showcase-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Header */
.sp-showcase-header {
  text-align: center;
  margin-bottom: 48px;
}

.sp-showcase-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #0F2B48;
  margin: 0;
  text-transform: uppercase;
}

/* -------------------------------------------------------------
 * 3D STAGE & HOTSPOT CHIPS WRAPPER
 * ------------------------------------------------------------- */
.sp-showcase-stage-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 20px;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  margin-bottom: 56px;
}

.sp-showcase-col {
  display: flex;
  flex-direction: column;
  gap: 48px;
  z-index: 3;
}

.sp-col-left {
  align-items: flex-end;
}

.sp-col-right {
  align-items: flex-start;
}

/* Center 3D Stage & Podium */
.sp-3d-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  user-select: none;
  width: 100%;
}

.sp-3d-render-box {
  position: relative;
  z-index: 3;
  cursor: grab;
  transition: transform 0.15s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-3d-render-box:active {
  cursor: grabbing;
}

.sp-render-img {
  max-width: 460px;
  height: 310px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 15px 25px rgba(0, 168, 198, 0.25));
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

/* 3D Circular Metallic Podium Base */
.sp-podium-base {
  position: relative;
  width: 420px;
  height: 90px;
  margin-top: -65px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sp-podium-top {
  position: absolute;
  top: 0;
/*   width: 420px;
  height: 70px;
  background: radial-gradient(ellipse at center, #0F2D4A 0%, #061A2C 100%);
  border-radius: 50%;
  border: 2px solid #00A8C6;
  box-shadow: 0 15px 35px rgba(0, 168, 198, 0.35), inset 0 2px 8px rgba(255, 255, 255, 0.3); */
}

.sp-podium-glow {
  position: absolute;
  top: -5px;
  width: 460px;
  height: 85px;
/*   border-radius: 50%;
  background: rgba(0, 210, 255, 0.22);
  filter: blur(18px);
  z-index: -1; */
}

/* 360 Degree View Badge */
.sp-360-badge {
  position: relative;
  z-index: 5;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(3, 16, 32, 0.92);
  color: #00D2FF;
  border: 1px solid rgba(0, 210, 255, 0.45);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

/* -------------------------------------------------------------
 * FLOATING HOTSPOT SPEC CHIPS
 * ------------------------------------------------------------- */
.sp-hotspot-chip {
  background: #FFFFFF;
  border: 1.5px solid #00A8C6;
  border-radius: 22px;
  padding: 12px 24px;
  box-shadow: 0 8px 24px rgba(0, 168, 198, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 4;
  transition: all 0.3s ease;
  width: 220px;
}

.sp-hotspot-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 168, 198, 0.22);
}

.sp-chip-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.sp-chip-value {
  font-size: 16px;
  font-weight: 900;
  color: #0F2B48;
}

/* Pointer Lines (Desktop Only) */
.sp-pointer-line {
  position: absolute;
  pointer-events: none;
}

.sp-pointer-l1,
.sp-pointer-l2 {
  right: -75px;
  top: 50%;
  transform: translateY(-50%);
}

.sp-pointer-r1,
.sp-pointer-r2 {
  left: -75px;
  top: 50%;
  transform: translateY(-50%);
}

/* -------------------------------------------------------------
 * PRODUCT SELECTOR CAROUSEL / TAB STRIP
 * ------------------------------------------------------------- */
.sp-product-carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.sp-carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.sp-carousel-track {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* Product Tab Cards */
.sp-product-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid #CBD5E1;
  border-radius: 18px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.sp-product-card:hover {
  border-color: #00A8C6;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 168, 198, 0.15);
  background: #FFFFFF;
}

.sp-card-thumb {
  width: 90px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.sp-card-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}

.sp-product-card:hover .sp-card-thumb img {
  transform: scale(1.08);
}

.sp-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  white-space: nowrap;
}

/* Active Selected Tab Card Style */
.sp-product-card.is-active {
  background: linear-gradient(135deg, #052438 0%, #004D63 100%);
  border-color: #00A8C6;
  box-shadow: 0 10px 30px rgba(0, 168, 198, 0.35);
  transform: translateY(-4px);
}

.sp-product-card.is-active .sp-card-name {
  color: #FFFFFF;
}

/* Navigation Arrow Buttons */
.sp-carousel-arrow {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #004E64;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 78, 100, 0.3);
}

.sp-carousel-arrow:hover {
  background: #00A8C6;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 168, 198, 0.4);
}

/* -------------------------------------------------------------
 * RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .sp-showcase-stage-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }

  .sp-showcase-col {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .sp-pointer-line {
    display: none !important;
  }

  .sp-hotspot-chip {
    width: 200px;
    padding: 10px 16px;
  }

  .sp-render-img {
    max-width: 360px;
    height: 240px;
  }

  .sp-podium-top, .sp-podium-base {
    width: 340px;
  }

  .sp-product-card {
    min-width: 140px;
    padding: 10px 12px;
  }
}

@media (max-width: 768px) {
  .sp-showcase-section {
    padding: 40px 0 48px 0;
  }

  .sp-showcase-header {
    margin-bottom: 24px;
  }

  .sp-showcase-title {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .sp-showcase-stage-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-height: auto;
    margin-bottom: 32px;
  }

  .sp-showcase-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .sp-pointer-line {
    display: none !important;
  }

  .sp-hotspot-chip {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 168, 198, 0.1);
  }

  .sp-chip-label {
    font-size: 11px;
  }

  .sp-chip-value {
    font-size: 15px;
  }

  .sp-render-img {
    max-width: 260px;
    height: 180px;
    margin: 0 auto;
  }

  .sp-podium-base,
  .sp-podium-top {
    width: 260px;
    height: 55px;
  }

  .sp-podium-base {
    margin-top: -45px;
  }

  .sp-podium-glow {
    width: 280px;
    height: 65px;
  }

  .sp-360-badge {
    margin-top: 8px;
    font-size: 11px;
    padding: 4px 12px;
  }

  .sp-product-carousel-wrapper {
    padding: 0 8px;
  }

  .sp-carousel-track {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 12px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .sp-product-card {
    min-width: 130px;
    padding: 10px 12px;
  }

  .sp-card-thumb {
    width: 70px;
    height: 50px;
  }

  .sp-card-name {
    font-size: 12px;
  }

  .sp-carousel-arrow {
    display: none;
  }
}
