.ecslider-widget { width: 100%; }

.ecslider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
}

.ecslider {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease;
}

.ecslide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.ecslide-image,
.ecslide-img {
  width: 100%;
  height: 100%;
}

.ecslide-img {
  object-fit: cover;
  display: block;
}

/* Content */
.ecslide-content {
  position: absolute;
  left: 0;
  right: 0;
  padding: 28px;
  color: #fff;
  z-index: 2;
}

.ec-content-top .ecslide-content { top: 0; bottom: auto; }
.ec-content-middle .ecslide-content { top: 50%; transform: translateY(-50%); bottom: auto; }
.ec-content-bottom .ecslide-content { bottom: 0; top: auto; }

.ec-align-left .ecslide-content { text-align: left; }
.ec-align-center .ecslide-content { text-align: center; }
.ec-align-right .ecslide-content { text-align: right; }

.ecslide-title {
  margin: 0 0 10px;
  font-size: 2.1rem;
  line-height: 1.2;
  font-weight: 800;
}

.ecslide-description {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: .92;
  max-width: 850px;
}

.ecslide-cta { margin-top: 18px; }
.ecslide-btn {
  display: inline-block;
  text-decoration: none;
  background: rgba(255,255,255,.92);
  color: #111;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.ecslide-btn:hover { background: #fff; transform: translateY(-1px); }

/* Whole slide link wrapper */
.ecslide-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* Arrows */
.ecslider-arrows {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  padding: 0 18px;
  z-index: 10;
  pointer-events: none;
}

.ecslider-arrow {
  pointer-events: all;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,.85);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform .2s ease, background .2s ease;
}
.ecslider-arrow:hover { background: #fff; transform: scale(1.06); }

/* Dots */
.ecslider-dots-container {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.ecdots-on_image_bottom { bottom: 16px; }
.ecdots-on_image_top { top: 16px; }
.ecdots-below { position: static; padding: 14px 0 0; }

.ecslider-dots {
  display: flex;
  gap: 10px;
}

.ecslider-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.ecslider-dot.active { background: rgba(255,255,255,.95); transform: scale(1.25); }
.ecslider-dot:hover { background: rgba(255,255,255,.75); transform: scale(1.15); }

/* Fade effect */
.ecslider-effect-fade .ecslider {
  transform: none !important;
}

.ecslider-effect-fade .ecslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.ecslider-effect-fade .ecslide.active {
  opacity: 1;
  z-index: 2;
}

/* Mobile */
@media (max-width: 768px) {
  .ecslide-content { padding: 16px; }
  .ecslide-title { font-size: 1.5rem; }
  .ecslide-description { font-size: .95rem; }
  .ecslider-arrow { width: 40px; height: 40px; }
}
.ecslider-wrapper { position:relative; overflow:hidden; }
.ecslider { display:flex; }
.ecslide { min-width:100%; position:relative; display:none; }
.ecslide.active { display:block; }

.ecslide-img { width:100%; height:420px; object-fit:cover; }

.ecslide-content {
  position:absolute;
  bottom:30px;
  left:30px;
  color:#fff;
}

.ecslide-price {
  position:absolute;
  top:15px;
  left:15px;
  background:#000;
  color:#fff;
  padding:6px 12px;
  border-radius:999px;
  font-weight:700;
}
