/* EpicBargains247 premium hero — isolated from other site banners */
.epic-home-hero{padding:12px 0 22px;background:#fff}.epic-home-hero *{box-sizing:border-box}.epic-hero-layout{display:grid;grid-template-columns:minmax(205px,24%) minmax(0,1fr);gap:18px;align-items:stretch}.epic-hero-sidebar{border:1px solid #f0e9ed;border-radius:22px;background:#fffafd;padding:20px 17px}.epic-hero-sidebar .widget-bg{background:transparent!important;padding:0!important}.epic-hero-sidebar .widget-title{font-size:22px!important;line-height:1.3!important;margin:0 0 18px!important;color:#111!important}.epic-hero-sidebar nav ul{list-style:none;padding:0;margin:0}.epic-hero-sidebar nav li{margin:0!important}.epic-hero-sidebar nav a{display:flex!important;justify-content:space-between;gap:8px;padding:12px 4px!important;color:#171717!important;font-size:15px!important;text-decoration:none}.epic-hero-sidebar nav a:hover{color:#b91f30!important}.epic-hero-main{min-width:0;position:relative}.epic-hero-swiper{height:440px;border-radius:24px;overflow:hidden;background:#08090c;box-shadow:0 18px 45px #100c101c}.epic-hero-swiper .swiper-slide{height:100%}.epic-hero-slide{height:100%;position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:52% 48%;align-items:center;color:white;background:radial-gradient(ellipse at 83% 76%,#511a24 0%,#1b1118 37%,#08090c 76%)}.epic-hero-slide:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(112deg,transparent 53%,#e62b4020 80%,transparent 95%)}.epic-hero-slide:after{content:'';position:absolute;bottom:13%;left:60%;width:55%;height:2px;background:linear-gradient(90deg,transparent,#d92c40,#f8c944,transparent);transform:rotate(-13deg);opacity:.58;box-shadow:0 0 18px #ef3547}.epic-hero-copy{padding:30px 0 42px 7%;z-index:2;min-width:0}.epic-kicker{color:#ffd454!important;letter-spacing:.19em;font-size:11px!important;font-weight:800!important;margin:0 0 19px!important}.epic-kicker:before{content:'●';color:#f43d4e;margin-right:10px}.epic-hero-copy h2{color:#fff!important;font-size:clamp(30px,3.25vw,53px)!important;line-height:1.08!important;letter-spacing:-.035em;margin:0 0 12px!important;font-weight:900!important}.epic-discount{color:#ffd04b;font-size:clamp(46px,5vw,75px);line-height:1.06;font-weight:900;letter-spacing:-.045em}.epic-red .epic-discount{color:#ff4655}.epic-subtitle{font-size:15px!important;color:#e9e3e5!important;margin:19px 0 24px!important;line-height:1.5!important}.epic-cta{display:inline-flex;align-items:center;gap:12px;background:#ffd03c;color:#111!important;text-decoration:none!important;border-radius:50px;padding:14px 23px;font-size:14px;font-weight:800;box-shadow:0 10px 30px #ffd03c26;transition:transform .25s,box-shadow .25s}.epic-cta:hover{transform:translateY(-3px);box-shadow:0 16px 34px #ffd03c40}.epic-product-stage{height:100%;position:relative;perspective:950px;overflow:hidden}.epic-product-stage:before{content:'';position:absolute;inset:17% 5% 14% 7%;border:1px solid #ff4d5c20;border-radius:50%;transform:rotate(-17deg);box-shadow:0 0 75px #f33b4c17}.epic-product{position:absolute;object-fit:contain;max-width:none!important;filter:drop-shadow(0 18px 17px #0009);opacity:0;transform:translate3d(34px,28px,0) scale(.91);transition:opacity .7s,transform 1.15s cubic-bezier(.18,.7,.2,1)}.epic-product-1{width:39%;height:58%;left:3%;top:25%;z-index:2}.epic-product-2{width:48%;height:73%;left:27%;top:12%;z-index:4}.epic-product-3{width:36%;height:58%;left:62%;top:26%;z-index:3}.swiper-slide-active .epic-product{opacity:1;transform:translate3d(0,0,0) scale(1)}.swiper-slide-active .epic-product-2{transition-delay:.16s}.swiper-slide-active .epic-product-3{transition-delay:.32s}.epic-hero-arrows{position:absolute;right:18px;top:18px;z-index:5;display:flex;gap:9px}.epic-hero-arrows button{position:static!important;margin:0!important;width:36px!important;height:36px!important;border:1px solid #ffffff66!important;border-radius:50%!important;background:#1118!important;color:white!important;font-size:19px!important;display:grid!important;place-items:center;cursor:pointer}.epic-hero-arrows button:after{display:none!important}.epic-hero-dots{position:absolute;bottom:20px;left:26px;z-index:5;display:flex;gap:7px}.epic-hero-dots button{width:9px;height:9px;border:0;border-radius:15px;background:#8a8486;cursor:pointer;padding:0;transition:width .3s,background .3s}.epic-hero-dots button.active{width:34px;background:#ffd03c}.epic-mobile-categories{display:none}
@media(max-width:991px){.epic-hero-layout{grid-template-columns:1fr}.epic-hero-sidebar{display:none}.epic-mobile-categories{display:block;margin-bottom:12px}.epic-category-button{width:100%;display:flex;justify-content:space-between;background:#fffafd;border:1px solid #eee2e8;border-radius:14px;padding:14px 17px;font-weight:800;color:#141414}.epic-mobile-categories nav{background:white;border:1px solid #eee2e8;border-radius:14px;margin-top:6px;max-height:280px;overflow:auto}.epic-mobile-categories nav[hidden]{display:none}.epic-mobile-categories ul{padding:10px 18px;margin:0;list-style:none}.epic-mobile-categories li a{display:block;padding:9px 0;color:#151515}.epic-hero-swiper{height:480px}.epic-hero-slide{grid-template-columns:1fr;grid-template-rows:49% 51%}.epic-hero-copy{padding:35px 6% 0}.epic-hero-copy h2{font-size:39px!important}.epic-discount{font-size:58px}.epic-subtitle{margin:9px 0 13px!important}.epic-product-1{top:10%}.epic-product-2{top:2%}.epic-product-3{top:11%}}
@media(max-width:575px){.epic-home-hero{padding:7px 0 16px}.epic-hero-swiper{height:510px;border-radius:19px}.epic-hero-slide{grid-template-rows:51% 49%}.epic-hero-copy{padding:44px 6% 0}.epic-kicker{font-size:9px!important;letter-spacing:.12em;margin-bottom:12px!important}.epic-hero-copy h2{font-size:33px!important}.epic-discount{font-size:51px}.epic-subtitle{font-size:13px!important}.epic-cta{padding:11px 17px;font-size:12px}.epic-hero-arrows{right:11px;top:10px}.epic-hero-arrows button{width:31px!important;height:31px!important}.epic-hero-dots{bottom:13px;left:20px}.epic-product-1{width:40%;left:1%}.epic-product-2{width:49%;left:27%}.epic-product-3{width:36%;left:63%}}
@media(prefers-reduced-motion:reduce){.epic-home-hero *{transition:none!important;animation:none!important}.epic-hero-swiper .swiper-slide-active .epic-product{opacity:1;transform:none}}

/* Production isolation: prevent inherited theme banner/sidebar pseudo-elements. */
.epic-home-hero .epic-hero-sidebar .widget-title::after,.epic-home-hero .epic-hero-sidebar .widget-title::before{content:none!important;display:none!important}
.epic-home-hero .epic-hero-swiper .swiper-slide::before,.epic-home-hero .epic-hero-swiper .swiper-slide::after{pointer-events:none}
.epic-home-hero .epic-hero-swiper .epic-hero-slide{min-height:0}
@media(max-width:991px){.epic-home-hero .epic-hero-main{width:100%}}


/* EPIC HERO PRODUCTION SPACING FIX */
section.banner.banner-8.epic-home-hero {
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    align-items: initial !important;
    padding: 12px 0 22px !important;
    margin: 0 !important;
    background: #fffff7 !important;
}

.epic-home-hero .epic-hero-layout {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.epic-home-hero .epic-hero-swiper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 991px) {
    section.banner.banner-8.epic-home-hero {
        height: auto !important;
        min-height: 0 !important;
        padding: 10px 0 18px !important;
    }
}


/* EPIC HERO COMPACT RESPONSIVE V3 */

/* Match desktop category and banner heights */
@media (min-width: 992px) {
  .epic-home-hero .epic-hero-layout {
    height: 440px !important;
    align-items: stretch !important;
  }

  .epic-home-hero .epic-hero-sidebar {
    height: 440px !important;
    max-height: 440px !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .epic-home-hero .epic-hero-main,
  .epic-home-hero .epic-hero-swiper {
    height: 440px !important;
    min-height: 0 !important;
  }
}

/* Compact landscape banner on mobile */
@media (max-width: 575px) {
  .epic-home-hero .epic-hero-swiper {
    height: 230px !important;
    min-height: 230px !important;
    border-radius: 17px !important;
  }

  .epic-home-hero .epic-hero-slide {
    display: grid !important;
    grid-template-columns: 57% 43% !important;
    grid-template-rows: 1fr !important;
    height: 100% !important;
    align-items: center !important;
  }

  .epic-home-hero .epic-hero-copy {
    padding: 17px 0 22px 14px !important;
    align-self: center !important;
    min-width: 0 !important;
  }

  .epic-home-hero .epic-kicker {
    font-size: 7px !important;
    letter-spacing: .08em !important;
    margin-bottom: 7px !important;
  }

  .epic-home-hero .epic-hero-copy h2 {
    font-size: clamp(16px, 5vw, 23px) !important;
    line-height: 1.1 !important;
    margin-bottom: 6px !important;
  }

  .epic-home-hero .epic-discount {
    font-size: clamp(25px, 8vw, 38px) !important;
    line-height: 1.05 !important;
    white-space: nowrap;
  }

  .epic-home-hero .epic-subtitle {
    font-size: 9px !important;
    line-height: 1.35 !important;
    margin: 9px 0 11px !important;
  }

  .epic-home-hero .epic-cta {
    padding: 8px 11px !important;
    font-size: 9px !important;
    gap: 5px !important;
    box-shadow: none !important;
  }

  .epic-home-hero .epic-product-stage {
    height: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .epic-home-hero .epic-product {
    object-fit: contain !important;
  }

  .epic-home-hero .epic-product-1 {
    width: 49% !important;
    height: 53% !important;
    left: -5% !important;
    top: 31% !important;
  }

  .epic-home-hero .epic-product-2 {
    width: 62% !important;
    height: 74% !important;
    left: 20% !important;
    top: 17% !important;
  }

  .epic-home-hero .epic-product-3 {
    width: 44% !important;
    height: 54% !important;
    left: 58% !important;
    top: 32% !important;
  }

  .epic-home-hero .epic-hero-arrows {
    top: 9px !important;
    right: 9px !important;
    gap: 5px !important;
  }

  .epic-home-hero .epic-hero-arrows button {
    width: 25px !important;
    height: 25px !important;
    font-size: 14px !important;
  }

  .epic-home-hero .epic-hero-dots {
    bottom: 9px !important;
    left: 14px !important;
    gap: 5px !important;
  }

  .epic-home-hero .epic-hero-dots button {
    width: 6px !important;
    height: 6px !important;
  }

  .epic-home-hero .epic-hero-dots button.active {
    width: 22px !important;
  }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 991px) {
  .epic-home-hero .epic-hero-swiper {
    height: 340px !important;
  }

  .epic-home-hero .epic-hero-slide {
    grid-template-columns: 55% 45% !important;
    grid-template-rows: 1fr !important;
  }

  .epic-home-hero .epic-hero-copy {
    padding: 24px 0 30px 6% !important;
  }
}


/* EPIC HERO POLISH V4 */

/* Desktop: premium proportions and matching sidebar */
@media (min-width: 992px) {
  .epic-home-hero .epic-hero-layout {
    height: 500px !important;
  }

  .epic-home-hero .epic-hero-sidebar {
    height: 500px !important;
    max-height: 500px !important;
    border-radius: 12px !important;
  }

  .epic-home-hero .epic-hero-main,
  .epic-home-hero .epic-hero-swiper {
    height: 500px !important;
    min-height: 500px !important;
  }

  .epic-home-hero .epic-hero-swiper {
    border-radius: 12px !important;
  }
}

/* Mobile: cleaner rectangular banner */
@media (max-width: 575px) {
  .epic-home-hero .epic-hero-swiper {
    height: 230px !important;
    min-height: 230px !important;
    border-radius: 10px !important;
  }

  .epic-home-hero .epic-category-button {
    border-radius: 10px !important;
  }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 991px) {
  .epic-home-hero .epic-hero-swiper {
    border-radius: 12px !important;
  }
}


/* EPIC HERO MOBILE CARD V5 */

@media (max-width: 575px) {

  /* Add balanced margins around the banner */
  .epic-home-hero .epic-hero-main {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    box-sizing: border-box !important;
  }

  /* Compact premium promotional card */
  .epic-home-hero .epic-hero-swiper {
    width: 100% !important;
    height: 230px !important;
    min-height: 230px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  /* Keep text and product images balanced */
  .epic-home-hero .epic-hero-slide {
    grid-template-columns: 56% 44% !important;
  }

  .epic-home-hero .epic-hero-copy {
    padding-left: 13px !important;
    padding-right: 0 !important;
  }

  .epic-home-hero .epic-product-stage {
    overflow: hidden !important;
  }

  /* Slightly smaller navigation controls */
  .epic-home-hero .epic-hero-arrows {
    right: 8px !important;
    top: 8px !important;
  }

  .epic-home-hero .epic-hero-arrows button {
    width: 24px !important;
    height: 24px !important;
  }
}


/* EPIC HERO MOBILE ARROWS V6 */
@media (max-width: 575px) {
    .epic-home-hero .epic-hero-arrows {
        display: none !important;
    }
}


/* EPIC HERO HIDE ALL ARROWS V7 */

/* Hide hero navigation arrows on desktop, tablet and mobile */
.epic-home-hero .epic-hero-arrows {
    display: none !important;
}
