/* Trang "Phòng tắm thực tế" – ảnh phối cảnh + nhãn sản phẩm (hotspot) */

.scene-page {
  padding-bottom: 64px;
}

.scene-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 20px;
}

.scene-intro h1 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.2;
  color: #0d3b44;
}

.scene-intro p {
  margin: 0;
  max-width: 62ch;
  color: #41666e;
  line-height: 1.65;
}

.scene-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e6f4f6;
  color: #0b7285;
  font-size: 13px;
  font-weight: 600;
}

/* Khung ảnh */
.scene-stage {
  position: relative;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: #eef7f8;
  box-shadow: 0 18px 44px rgba(11, 114, 133, 0.16);
  line-height: 0;
}

.scene-stage img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Nhãn sản phẩm */
.hotspot {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: none;
  z-index: 2;
}

.hotspot-dot {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #0b7285;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  flex: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.hotspot-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  animation: hotspot-pulse 2.4s ease-out infinite;
}

@keyframes hotspot-pulse {
  0% { transform: scale(0.75); opacity: 0.9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.hotspot-label {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(11, 114, 133, 0.96);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.hotspot:hover .hotspot-dot,
.hotspot:focus-visible .hotspot-dot {
  transform: scale(1.15);
  background: #0b7285;
}

.hotspot:hover .hotspot-label,
.hotspot:focus-visible .hotspot-label {
  opacity: 1;
  transform: translateX(0);
}

.hotspot:focus-visible {
  outline: 2px solid #0b7285;
  outline-offset: 6px;
  border-radius: 999px;
}

/* Trên điện thoại: chỉ hiện chấm, nhãn nằm trong danh sách bên dưới */
@media (hover: none) {
  .hotspot-label {
    display: none;
  }
}

.scene-note {
  margin: 12px 2px 0;
  font-size: 13px;
  color: #5b8790;
  line-height: 1.6;
}

/* Danh sách sản phẩm trong combo */
.scene-list {
  margin-top: 32px;
}

.scene-list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.scene-list-head h2 {
  margin: 0;
  font-size: 20px;
  color: #0d3b44;
}

.scene-list-head .scene-total {
  font-weight: 700;
  color: #0b7285;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scene-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #d9e9ec;
  border-radius: 14px;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.scene-card:hover,
.scene-card:focus-visible {
  border-color: #0b7285;
  box-shadow: 0 10px 22px rgba(11, 114, 133, 0.14);
  transform: translateY(-2px);
}

.scene-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
  background: #f4fafb;
  flex: none;
}

.scene-card-body {
  min-width: 0;
}

.scene-card-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #0d3b44;
  margin-bottom: 4px;
}

.scene-card-price {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0b7285;
}

.scene-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

@media (max-width: 720px) {
  .scene-stage {
    border-radius: 14px;
  }

  .hotspot-dot {
    width: 22px;
    height: 22px;
  }

  .scene-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .scene-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .scene-card img {
    width: 100%;
    height: 84px;
  }
}
