
#bs24-samples-section.custom-banner-container .custom-banner-content {
  width: 100%;
  display: flex;
}

#bs24-samples-section.custom-banner-container .custom-banner-image,
#bs24-samples-section.custom-banner-container .custom-banner-text {
  width: 50%;
}

#bs24-samples-section.custom-banner-container .custom-banner-text {
  background: linear-gradient(135deg, #1a1a1aa6 0%, #2D2D2D 100%);
  padding: 35px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#bs24-samples-section.custom-banner-container .custom-banner-image img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}


#bs24-samples-section.custom-banner-container .custom-banner-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(224, 124, 53, 0.15) 0%, transparent 50%);
}

#bs24-samples-section.custom-banner-container .custom-banner-text-inner {
  position: relative;
  z-index: 2;
}

#bs24-samples-section.custom-banner-container h2 {
  color: #FFFFFF;
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}

#bs24-samples-section.custom-banner-container p {
  color: #B8B8B8;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* .custom-banner-image {
  flex: 1; padding: 20px;
  background-image: url(/img/ps_samplesbanner_image.png); 
  background-size: cover; background-position: center; 
  background-repeat: no-repeat; 
  height: 100%;
} */

/* #bs24-samples-section .custom-banner-second-image {
  flex: 1; padding: 20px;
  background-image: url(/img/meble5dni.svg); 
  background-size: cover; background-position: center; 
  background-repeat: no-repeat; 
  height: 100%;
} */

@media (max-width: 767px) {
  #bs24-samples-section.custom-banner-container .custom-banner-content {
    width: 100vw;
    margin-inline: -5vw;
    flex-direction: column;
  }

  #bs24-samples-section.custom-banner-container .custom-banner-image,
  #bs24-samples-section.custom-banner-container .custom-banner-text {
    width: 100%;
  }

  #bs24-samples-section.custom-banner-container .custom-banner-image img {
    max-height: 200px;
  }
}

.samples-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2147483647;
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.samples-modal-image {
  display: none;
}


.samples-modal-container,
.samples-modal-content {
  border-radius: 10px;
}

.samples-modal-container {
  width: 90%;
  max-width: 500px;
  /* max-height: 90%; */
  background-color: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  margin: 0 auto;
  animation: slideDown 0.3s ease-out;
  background-image: url('https://serwer2390427.home.pl/prestashop/img/ps_samplesbanner_image.png'); /* Cały modal ma obraz */
  background-size: cover;
  background-position: center;
  color: white; /* Ustawiamy kolor tekstu na biały */
  clip-path: inset(3px 0 0 0);
}

.samples-modal-content {
  text-align: center;
  background: rgba(255, 255, 255, 0.9); /* Półprzezroczyste tło dla tekstu */
  padding: 1rem;
}

.samples-close-button {
  /* ! background not WHITE on hover */
  /* margin-top: 1rem;
  padding: 0.5rem 1rem;
  border: none;
  background-color: rgba(221, 110, 66, 0.9);
  color: #fff;
  cursor: pointer; */
}

.samples-modal-container .samples-modal-content h2 {
  padding-block: 0.5rem 1rem;
  margin: 0 auto !important;
  font-size: 24px;
}

.samples-modal-content .samples-modal-text {
  margin: 0;
  padding-bottom: 0.5rem;
  color: black;
  text-align: center;
  text-align: left;
  font-size: 14px;
}

.samples-modal-text p {
  margin: 0.5rem 0 0;
}
.samples-modal-text p:first-child {
  margin: 0;
}

.samples-modal-text h3.samples-modal-invite {
  color: #e07c35;
  margin-top: 0.5rem;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}

.samples-modal-content strong {
  color: #dd6e42;
}

#samples-modal .bs24-cta-wrapper {
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .samples-modal-container {
    width: 90%;
    max-height: calc(100% - 2*1rem);
    padding: 1rem 5vw;
  }
}