/* ===========================
   ECOM HERO – LIGHT VERSION
   Brand colors:
   Red   #f50000
   Black #000000
   Green #27ad34
   Light-red rgb(254, 242, 242)
   =========================== */

.ec-hero.ec-hero--light {
  position: relative;
  width: 100%;
  min-height: 320px;
  
  color: #fff;
  background-color: #fff; /* hero background */
  border-bottom: none;                  /* no line at top under header */
  padding: 20px 0px 0px 0px;
}

/* Remove black gap between hero and product grid */
.ec-hero.ec-hero--light {
    padding-bottom: 0 !important;   /* removes the 40px bottom padding */
}


.ec-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 28px;              /* small top padding to lift content */
  font-family: outfit;
  
}

/* Slider */

.ec-hero-slider {
  position: relative;
}

/* Slide */

.ec-hero-slide {
  display: none;
  border-radius: 18px;
 
 
 background: linear-gradient(135deg,    #0f1720 0%,    #111827 45%,    #1b2330 100%);

 
  /*background-color: #000;*/
  /* box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08); */
  overflow: hidden;
  min-height: 260px;
  max-height: 450px;
   font-family: outfit;
}



.hero::before{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    background:rgba(34,197,94,0.12);
    filter:blur(120px);
    top:-120px;
    left:-100px;
}



.ec-hero-slide.is-active {
  display: block;
}

.ec-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;                   /* text sits higher, not vertically centered */
  gap: 32px;
  padding: 18px 30px 34px;              /* less top, a bit more bottom */
}

/* Left copy */

.ec-hero-copy {
  max-width: 520px;
  margin-top: 90px;
  padding-left: 0px;

}

.ec-hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
  border: 1px solid transparent;
}

.ec-hero-tag--black {
  color: #000;
  background-color: #fff;
}
.ec-hero-tag--green {
  color: #ffffff;
  background-color: #27ad34;
}
.ec-hero-tag--mixed {
  color: #000000;
  border-color: rgba(0, 0, 0, 0.15);
  background-color: #f9fafb;
}

.ec-hero-title {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.2;
  color: #fff;
  font-family: outfit;
}

.ec-hero-subtitle-line {
  display: block;
  font-size: 17px;
  margin-top: 4px;
  color: #fef2f2;
}

.ec-hero-text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #fff;
}

.ec-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Right media */

.ec-hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Color pill behind product (subtle brand accent) */

.ec-hero-pill {
  position: absolute;
  right: 0;
  width: 280px;
  height: 180px;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.75;
  transform: translateX(20px);
  z-index: 1;
}

.ec-hero-pill--red {
  background: radial-gradient(circle at 0 50%, rgba(245, 0, 0, 0.7), transparent 70%);
}

.ec-hero-pill--green {
  background: radial-gradient(circle at 0 50%, rgba(39, 173, 52, 0.7), transparent 70%);
}

.ec-hero-pill--dual {
  background:
    radial-gradient(circle at 0 40%, rgba(245, 0, 0, 0.65), transparent 70%),
    radial-gradient(circle at 60% 60%, rgba(39, 173, 52, 0.65), transparent 70%);
}

.ec-hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  max-height: 350px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(15, 23, 42, 0.25));
 
  margin-top: -10px;
  padding: 20px 20px 10px 20px;
}

/* ===========================
   BUTTONS – brand colors
   =========================== */

.ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.ec-btn-primary {
  background: linear-gradient(135deg, #f50000, #ff7a00);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(34,197,94,0.0);
}
.ec-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(34,197,94,0.0);
}

.ec-btn-outline {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.14);
  color: #000000;
}
.ec-btn-outline:hover {
  border-color: #000000;
}

/* ===========================
   ARROWS & DOTS
   =========================== */

.ec-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
 border: 1px solid rgba(148, 163, 184, 0.0);
  background: rgba(255, 255, 255, 0.0);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: all 0.18s ease;
  font-size: 35px;
}
.ec-hero-arrow span {
  font-size: 30px;
  line-height: 1;
}
.ec-hero-arrow:hover {
  background: transparent;
  border-color: transparent;
  color: #ea0206;
}

.ec-hero-arrow-left {
  left: 16px;
}
.ec-hero-arrow-right {
  right: 16px;
}

.ec-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.ec-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
  cursor: pointer;
  transition: all 0.18s ease;
}
.ec-hero-dot.is-active {
  width: 18px;
  background: #27ad34; /* active dot in green */
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 900px) {
  .ec-hero.ec-hero--light {
    min-height: 360px;
  }

  .ec-hero-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 24px 22px 28px;
    align-items: center;
    text-align: center;
  }

  .ec-hero-media {
    justify-content: center;
  }

  .ec-hero-title {
    font-size: 24px;
  }

  .ec-hero-arrow-left {
    left: 10px;
  }
  .ec-hero-arrow-right {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .ec-hero-inner {
    padding-inline: 10px;
    padding-bottom: 20px;
  }

  .ec-hero-slide {
    max-height: 600px;
    
  }

  .ec-hero-content {
    padding: 40px 16px 26px;
  }

  .ec-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;   /* centers buttons horizontally */
    justify-content: center;
    gap: 10px;
    width: 100%;
  }


  .ec-hero-title {
    font-size: 22px;
  }

  .ec-hero-subtitle-line {
    font-size: 13px;
  }

  .ec-hero-arrow {
    width: 30px;
    height: 30px;
  }

  .ec-hero-dots {
    bottom: 10px;
  }

  .ec-hero-pill {
    width: 220px;
    height: 150px;
    transform: translateX(0);
  }
  
  
  
  
  .ec-hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 700px;
  max-height: 550px;
  display: block;
  object-fit: fit;
  filter: drop-shadow(0 16px 40px rgba(15, 23, 42, 0.25));
  transform: rotate(0deg);
  
}
}














