/* slider.css */
.cover-image {
    width: 270px;
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    transition: opacity 1s ease;
    display: block;
}

.slider-arrow {
  background: #4D2365;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-arrow:hover {
  background: #6A3487;
}

.slider-arrow svg {
  pointer-events: none;
}

@media (max-width: 767px) {
  .slider-arrow {
    display: none !important;
  }
}

.produkty-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.produkty-slider {
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.produkty-slider::-webkit-scrollbar {
  display: none;
}

.produkty-slider-inner {
  display: flex;
  gap: 16px;
  padding: 0 16px;
  justify-content: flex-start;
}

.produkt-box {
  flex: 0 0 auto;
  min-width: 140px;
  max-width: 180px;
  scroll-snap-align: start;
  text-align: center;
  cursor: pointer;
  padding: 8px;
}

.produkt-box img {
  width: 100%;
  max-height: 280px;
  border-radius: 6px;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.produkt-box:hover img {
  transform: scale(1.05) translateZ(0);
}

.slider-tlo-full {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(to bottom, #E5E5E5, #ffffff);
  overflow-x: hidden;
}

.slider-inner-wrap {
  padding: 60px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.sekcja-produktu {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
}

.produkt-lewy img {
  width: 360px;
  max-width: 100%;
  border-radius: 12px;
}

.produkt-prawy {
  flex: 1;
  min-width: 300px;
  max-width: 700px;
}

.produkt-prawy p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 16px;
}

.produkt-prawy h3 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #4D2365;
}

.ikony {
  display: flex;
  gap: 30px;
  margin: 20px 0;
  font-weight: bold;
  color: #4D2365;
  align-items: center;
  flex-wrap: wrap;
}

.ikony div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.przyciski-inline {
  display: flex;
  gap: 16px;
}

.btn.wspolny-przycisk {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  font-size: 16px;
  background: #4D2365;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn.wspolny-przycisk:hover {
  background: #6A3487;
  transform: translateY(-1px);
}

.modal-yt {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
}

.modal-content-yt {
  margin: auto;
  padding: 0;
  position: relative;
  width: 90%;
  max-width: 800px;
}

.modal-close-yt {
  color: white;
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.modal-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.modal-video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}