/* Yarbo DOCK BAY — modular slots (inspired by configurator / bay UX) */

.eh-pdp-bay {
  margin: 0 0 1.25rem;
  padding: 1.25rem 1.2rem 1.15rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(196,30,58,.16), transparent 55%),
    linear-gradient(180deg, #121212 0%, #080808 100%);
  overflow: hidden;
}

.eh-pdp-bay-head { text-align: center; max-width: 34rem; margin: 0 auto 1.1rem; }
.eh-pdp-bay-title {
  margin: 0 0 .4rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -.02em;
  color: #fff;
}
.eh-pdp-bay-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.58);
}

/* Center dock stage */
.eh-pdp-bay-stage-wrap {
  position: relative;
  max-width: 340px;
  margin: 0 auto 1.15rem;
}
.eh-pdp-bay-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.14);
  pointer-events: none;
  animation: ehBaySpin 28s linear infinite;
}
@keyframes ehBaySpin {
  to { transform: rotate(360deg); }
}
.eh-pdp-bay-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1rem .9rem;
  border-radius: 50%;
  aspect-ratio: 1;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, #1c1c1c 0%, #070707 68%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 0 0 0 1px rgba(196,30,58,.18),
    0 20px 50px rgba(0,0,0,.45);
}
.eh-pdp-bay-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
}
.eh-pdp-bay-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c41e3a;
  box-shadow: 0 0 10px rgba(196,30,58,.9);
  animation: ehBayPulse 1.6s ease-in-out infinite;
}
@keyframes ehBayPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}
.eh-pdp-bay-frame {
  position: relative;
  width: 72%;
  max-width: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.02));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 14px 36px rgba(0,0,0,.45);
}
/* Soft halo so white plate melts into the dark dock */
.eh-pdp-bay-frame::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.14), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.eh-pdp-bay-frame img,
#eh-pdp-mod-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: 148px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  background: #f4f4f4;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.06),
    0 8px 20px rgba(0,0,0,.28);
  transition: opacity .18s ease, transform .22s ease;
  /* feather corners into dock without killing the photo */
  -webkit-mask-image: radial-gradient(ellipse 92% 92% at 50% 48%, #000 62%, rgba(0,0,0,.85) 78%, transparent 100%);
  mask-image: radial-gradient(ellipse 92% 92% at 50% 48%, #000 62%, rgba(0,0,0,.85) 78%, transparent 100%);
}
#eh-pdp-mod-img.is-swap {
  opacity: .3;
  transform: scale(.94) translateY(6px);
}

.eh-pdp-mod-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 10px 0 0;
  text-align: center;
}
.eh-pdp-mod-cap-season {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c41e3a;
}
.eh-pdp-mod-cap-label {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.eh-pdp-mod-cap-hint {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* Physical bay slots */
.eh-pdp-bay-slots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.eh-pdp-bay-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 12px 8px 14px;
  cursor: pointer;
  text-align: center;
  color: #f5f5f5;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px 16px 12px 12px;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.35);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.eh-pdp-bay-slot:hover,
.eh-pdp-bay-slot:focus-visible {
  outline: none;
  border-color: rgba(196,30,58,.5);
  background: rgba(196,30,58,.08);
  transform: translateY(-3px);
}
.eh-pdp-bay-slot.is-active {
  border-color: rgba(196,30,58,.9);
  background: linear-gradient(180deg, rgba(196,30,58,.22), rgba(255,255,255,.03));
  box-shadow:
    inset 0 -6px 0 #c41e3a,
    0 10px 24px rgba(196,30,58,.2);
  transform: translateY(-5px);
}
.eh-pdp-bay-slot-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,255,255,.35);
}
.eh-pdp-bay-slot.is-active .eh-pdp-bay-slot-num { color: rgba(255,255,255,.7); }
.eh-pdp-bay-slot-icon {
  font-size: 18px;
  line-height: 1;
  color: rgba(255,255,255,.55);
}
.eh-pdp-bay-slot.is-active .eh-pdp-bay-slot-icon { color: #fff; }
.eh-pdp-bay-slot-txt {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.eh-pdp-bay-slot-txt strong {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.15;
}
.eh-pdp-bay-slot-txt em {
  font-style: normal;
  font-size: 10px;
  color: rgba(255,255,255,.42);
}
.eh-pdp-bay-slot-pin {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.eh-pdp-bay-slot.is-active .eh-pdp-bay-slot-pin {
  background: #c41e3a;
  box-shadow: 0 0 8px rgba(196,30,58,.8);
}

@media (max-width: 820px) {
  .eh-pdp-bay-ring { display: none !important; }
  .eh-pdp-bay-slots {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .eh-pdp-bay-slot {
    flex: 0 0 auto;
    width: 112px;
  }
  .eh-pdp-bay-stage-wrap { max-width: 360px; }
  .eh-pdp-bay-frame {
    width: 82%;
    max-width: 260px;
    padding: 8px;
    border-radius: 24px;
  }
  .eh-pdp-bay-frame img,
  #eh-pdp-mod-img {
    max-height: 200px;
    border-radius: 18px;
  }
}

/* Official Yarbo deep-link card */
.eh-pdp-official {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin: 0 0 .25rem;
  padding: 1.15rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(196,30,58,.18), transparent 55%),
    linear-gradient(145deg, #141414 0%, #0a0a0a 100%);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}
.eh-pdp-official-copy { flex: 1 1 240px; min-width: 0; }
.eh-pdp-official-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.eh-pdp-official-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #fff;
  font-weight: 700;
}
.eh-pdp-official-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.62);
  max-width: 36rem;
}
.eh-pdp-official-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #c41e3a;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 650;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(196,30,58,.35);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.eh-pdp-official-btn:hover,
.eh-pdp-official-btn:focus-visible {
  background: #a81832;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(196,30,58,.45);
  outline: none;
}
.eh-pdp-official-arrow { font-size: 16px; line-height: 1; }
@media (max-width: 640px) {
  .eh-pdp-official { padding: 1rem 1.05rem; }
  .eh-pdp-official-btn { width: 100%; justify-content: center; }
}

/* Tech cases = same red-dot bullets as highlights */
.eh-pdp-tech-dots {
  margin-bottom: 0.85rem;
}

/* Dock bay video — centered cover inside rounded plate */
.eh-pdp-bay.has-video .eh-pdp-bay-frame {
  aspect-ratio: 1 / 1;
  width: 78%;
  max-width: 240px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
}
.eh-pdp-bay-video {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  overflow: hidden;
  background: #0a0a0a;
}
.eh-pdp-bay-video[hidden] {
  display: none !important;
}
.eh-pdp-bay-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 177.78%; /* cover 16:9 in square */
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.eh-pdp-bay-videoel {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  border-radius: inherit;
  object-fit: cover !important;
  object-position: center center !important;
  background: #0a0a0a;
  pointer-events: none;
}
.eh-pdp-bay-videoel[hidden] {
  display: none !important;
}
.eh-pdp-bay-frame img.is-behind-video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  opacity: 0 !important;
  pointer-events: none;
}
.eh-pdp-bay.has-video .eh-pdp-bay-led {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,.85);
}
.eh-pdp-bay.has-video .eh-pdp-bay-frame::after {
  opacity: .25;
}
@media (max-width: 820px) {
  .eh-pdp-bay.has-video .eh-pdp-bay-frame {
    width: 86%;
    max-width: 300px;
    border-radius: 24px;
  }
}

