/* Implant Logo Styles - Clean version */

/* ========================================
   Base Styles - All Slides
   ======================================== */

/* Style list for descr - apply to all slides */
.home01 .slider-slide .descr ul {
  list-style-type: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.home01 .slider-slide .descr ul li {
  color: #ECE4BA !important;
  font-size: 16px !important;
  font-weight: 300 !important;
}

/* Remove width restriction for price-block on all screens */
.home01 .slider-slide .row .column.image .price-block-element .price-block {
  width: auto !important;
  max-width: 100% !important;
  padding: 20px !important;
  gap: 0.5rem !important;
}

/* ========================================
   Slide-0 - Default style (minimal)
   ======================================== */

.home01 .slider-slide.slide-0 .row .column.image .price-block-element {
  position: relative;
}

.home01 .slider-slide.slide-0 .row .column.image .price-block-element .price-block {
  display: grid !important;
  flex-direction: unset !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  border-radius: 93px !important;
  border: none !important;
  background: linear-gradient(305deg, rgba(236, 228, 186, 0.25) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
  backdrop-filter: blur(21px) !important;
  box-shadow: 0px -27px 120px 0px #807d6d !important;
  padding: 23px 30px 20px 30px !important;
  width: auto !important;
  max-width: 100% !important;
  position: absolute !important;
  top: -43.5px !important;
  z-index: 4 !important;
}

.home01 .slider-slide.slide-0 .row .column.image .price-block-element img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 550px;
}

/* ========================================
   Slide-1 - Elegant with border and shadow
   ======================================== */

.home01 .slider-slide.slide-1 .row .column.image .price-block-element {
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 12px;
}

.home01 .slider-slide.slide-1 .row .column.image .price-block-element .price-block {
  display: grid !important;
  flex-direction: unset !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  border-radius: 93px !important;
  border: none !important;
  background: linear-gradient(305deg, rgba(236, 228, 186, 0.25) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
  backdrop-filter: blur(21px) !important;
  box-shadow: 0px -27px 120px 0px #807d6d !important;
  padding: 23px 30px 20px 30px !important;
  width: auto !important;
  max-width: 100% !important;
  position: absolute !important;
  top: -43.5px !important;
  z-index: 4 !important;
}

.home01 .slider-slide.slide-1 .row .column.image .price-block-element img {
  border-radius: 18px !important;
  border: 3px solid rgba(236, 228, 186, 0.5) !important;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.4),
              0px 0px 0px 2px rgba(236, 228, 186, 0.25) !important;
  object-fit: cover !important;
  max-height: 520px !important;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  display: block;
}

/* ========================================
   Slide-3 - Clean style (like slide-0)
   ======================================== */

/* Clean, simple styling for slide-3 */
.home01 .slider-slide.slide-3 .row .column.image .price-block-element {
  position: relative;
  background: 
    linear-gradient(to bottom, rgba(50, 50, 50, 0.2), rgba(40, 40, 40, 0.25));
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 20px;
}

.home01 .slider-slide.slide-3 .row .column.image .price-block-element .price-block {
  display: grid !important;
  flex-direction: unset !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  border-radius: 93px !important;
  border: none !important;
  background: linear-gradient(305deg, rgba(236, 228, 186, 0.25) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
  backdrop-filter: blur(21px) !important;
  box-shadow: 0px -27px 120px 0px #807d6d !important;
  padding: 23px 30px 20px 30px !important;
  width: auto !important;
  max-width: 100% !important;
  position: absolute !important;
  top: -43.5px !important;
  z-index: 4 !important;
}

.home01 .slider-slide.slide-3 .row .column.image .price-block-element img {
  border-radius: 20px;
  border: 2px solid rgba(236, 228, 186, 0.3);
  object-fit: contain;
  max-height: 480px;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  display: block;
  background: 
    linear-gradient(135deg, rgba(55, 55, 55, 0.1) 0%, rgba(45, 45, 45, 0.05) 100%);
}

/* ========================================
   Implant Logo - All slides
   ======================================== */

.home01 .slider-slide .row .column.image .price-block-element .implant-logo {
  position: absolute;
  top: -70px;
  right: 0;
  z-index: 4;
  width: 180px;
  height: auto;
  padding: 15px 20px;
  border-radius: 15px;
  background: linear-gradient(305deg, rgba(236, 228, 186, 0.25) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(21px);
  border: 1px solid rgba(236, 228, 186, 0.4);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
}

.home01 .slider-slide .row .column.image .price-block-element .implant-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(1.1) contrast(1.1);
}

/* ========================================
   Decorative Circles
   ======================================== */

.home01 .slider-slide .row .column.image .price-block-element .circle-1,
.home01 .slider-slide .row .column.image .price-block-element .circle-2 {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 228, 186, 0.2), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.home01 .slider-slide .row .column.image .price-block-element .circle-1 {
  width: 200px;
  height: 200px;
  top: -50px;
  left: -50px;
}

.home01 .slider-slide .row .column.image .price-block-element .circle-2 {
  width: 150px;
  height: 150px;
  bottom: -40px;
  right: -40px;
}

/* ========================================
   Slide-2 & Slide-4 (ортодонтия) - Same photo style
   ======================================== */

/* price-block-element — контейнер: темний фон, тінь, blur */
.home01 .slider-slide.slide-4 .row .column.image .price-block-element {
  position: relative;
  background: linear-gradient(to bottom, rgba(50, 50, 50, 0.2), rgba(40, 40, 40, 0.25));
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.3);
}

/* price-block — плашка "Parim hind alates 3500 €": градієнт, тінь, рамка */
.home01 .slider-slide.slide-4 .row .column.image .price-block-element .price-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-radius: 93px !important;
  border: 1px solid rgba(236, 228, 186, 0.3) !important;
  background: linear-gradient(305deg, rgba(236, 228, 186, 0.25) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
  backdrop-filter: blur(21px) !important;
  box-shadow: 0px -27px 120px 0px #807d6d,
              0px 4px 20px rgba(0, 0, 0, 0.25) !important;
  padding: 12px 30px 12px 30px !important;
  width: 240px !important;
  min-width: 240px !important;
  position: absolute !important;
  top: -43.5px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 4 !important;
}

/* img — фото: рамка, тінь, закруглення */
.home01 .slider-slide.slide-4 .row .column.image .price-block-element img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 450px;
  border-radius: 20px;
  border: 2px solid rgba(236, 228, 186, 0.3);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(55, 55, 55, 0.1) 0%, rgba(45, 45, 45, 0.05) 100%);
}

/* slide-4: блок ціни по центру горизонтально на всіх екранах */
@media screen and (max-width: 1000px) {
  .home01 .slider-slide.slide-4 .row .column.image .price-block-element .price-block {
    left: 50% !important;
    top: -43.5px !important;
    transform: translateX(-50%) !important;
    width: 240px !important;
  }
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Large screens - move implant logo higher on slide-0 */
@media screen and (min-width: 1081px) {
  .home01 .slider-slide.slide-0 .row .column.image .price-block-element .implant-logo {
    top: -140px;
  }
}

/* Tablet and smaller - move logo to the right */
@media screen and (max-width: 1000px) {
  .home01 .slider-slide .row .column.image .price-block-element .implant-logo {
    right: -30px;
  }
}

/* Tablet styles (451px - 800px) - fix column width and adjust sizes */
@media screen and (min-width: 451px) and (max-width: 800px) {
  .home01 .slider-slide .row .column.image {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }
  
  .home01 .slider-slide .row .column.image .price-block-element img {
    max-height: 380px !important;
  }
  
  .home01 .slider-slide .row .column.image .price-block-element .price-block {
    padding: 18px 25px 15px 25px !important;
    font-size: 14px;
  }
  
  .home01 .slider-slide .row .column.image .price-block-element .implant-logo {
    width: 140px;
    padding: 12px 15px;
  }
}

/* Tablet styles - general adjustments */
@media screen and (max-width: 800px) {
  .home01 .slider-slide .row .column.image .price-block-element img {
    max-height: 350px !important;
  }
}

/* Mobile styles - reorder elements and fix horizontal scroll */
@media screen and (max-width: 450px) {
  .home01 .slider-slide .row .column.image .price-block-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .home01 .slider-slide .row .column.image .price-block-element .price-block {
    order: 1;
    width: auto !important;
    max-width: 100% !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 20px !important;
    gap: 0.5rem !important;
  }
  
  .home01 .slider-slide .row .column.image .price-block-element img {
    order: 2;
    max-width: 100% !important;
  }
  
  .home01 .slider-slide .row .column.image .price-block-element .implant-logo {
    order: 3;
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    margin-top: 20px;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .home01 .slider-slide .row .column.image .price-block-element .circle-1,
  .home01 .slider-slide .row .column.image .price-block-element .circle-2 {
    display: none !important;
  }
}
