/* Scenes / Visual Scenes - aptekamiodowa */
#scenes {
  padding: 20px 0;
}
#scenes h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}
/* Scene container */
.scene-container {
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 6px;
}
.scene-container img {
  width: 100%;
  height: auto;
  display: block;
}
/* Scene image map hotspots */
.scene-map area {
  cursor: pointer;
}
.scene-product-popup {
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  min-width: 180px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 100;
  display: none;
}
.scene-product-popup.active {
  display: block;
}
.scene-product-popup img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  float: left;
  margin-right: 10px;
}
.scene-product-popup .popup-name {
  font-size: 12px;
  color: #333;
  font-weight: bold;
  margin-bottom: 4px;
}
.scene-product-popup .popup-price {
  font-size: 14px;
  color: #e8a000;
  font-weight: bold;
  margin-bottom: 8px;
}
.scene-product-popup .popup-btn {
  display: block;
  background: #e8a000;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  text-decoration: none;
  transition: background 0.2s;
}
.scene-product-popup .popup-btn:hover {
  background: #cc8c00;
}
/* Scene thumbnails list */
.scenes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.scenes-list .scene-thumb {
  width: calc(33.33% - 14px);
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}
.scenes-list .scene-thumb:hover,
.scenes-list .scene-thumb.active {
  border-color: #e8a000;
}
.scenes-list .scene-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
/* Scene product list below */
.scene-products {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}
.scene-products .scene-product {
  width: calc(20% - 12px);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.scene-products .scene-product:hover {
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.scene-products .scene-product img {
  max-width: 100%;
  height: 80px;
  object-fit: contain;
  margin-bottom: 8px;
}
.scene-products .scene-product .name {
  font-size: 11px;
  color: #333;
  margin-bottom: 5px;
  line-height: 1.4;
}
.scene-products .scene-product .price {
  font-size: 13px;
  font-weight: bold;
  color: #e8a000;
}

@media (max-width: 768px) {
  .scenes-list .scene-thumb {
    width: calc(50% - 10px);
  }
  .scene-products .scene-product {
    width: calc(33.33% - 10px);
  }
}
@media (max-width: 480px) {
  .scene-products .scene-product {
    width: calc(50% - 8px);
  }
}
