
/* EPIC CATEGORY PROMOTIONAL BANNERS */

.epic-category-banner {
    width: 100%;
    padding: 18px 16px;
    box-sizing: border-box;
}

.epic-category-banner-inner {
    position: relative;
    max-width: 1320px;
    min-height: 285px;
    margin: 0 auto;
    padding: 35px 65px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    isolation: isolate;
}

.epic-category-banner-copy {
    position: relative;
    z-index: 3;
    width: 55%;
}

.epic-banner-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.epic-category-banner h2 {
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin: 0 0 12px;
}

.epic-category-banner p {
    font-size: 15px;
    margin-bottom: 20px;
}

.epic-banner-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease;
}

.epic-banner-button:hover {
    transform: translateY(-2px);
}

.epic-category-banner-products {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.epic-banner-product {
    position: absolute;
    object-fit: contain;
    max-width: none;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,.18));
}

/* SKIN & BODYCARE */

.epic-skin-banner .epic-category-banner-inner {
    background:
        radial-gradient(
            circle at 85% 40%,
            rgba(255,255,255,.8),
            transparent 40%
        ),
        linear-gradient(
            115deg,
            #f8e6e5,
            #f4d3d5,
            #ead0c4
        );
}

.epic-skin-banner h2 {
    color: #742d43;
}

.epic-skin-banner .epic-banner-eyebrow {
    color: #a34c65;
}

.epic-skin-banner p {
    color: #6f4a52;
}

.epic-skin-banner .epic-banner-button {
    background: #742d43;
    color: #fff;
}

.epic-skin-banner .epic-product-left {
    width: 180px;
    right: 27%;
    bottom: -12px;
    transform: rotate(-10deg);
}

.epic-skin-banner .epic-product-center {
    width: 225px;
    right: 10%;
    bottom: -20px;
}

.epic-skin-banner .epic-product-right {
    width: 150px;
    right: 1%;
    bottom: -10px;
    transform: rotate(12deg);
}

/* FOOTWEAR */

.epic-footwear-banner .epic-category-banner-inner {
    background:
        radial-gradient(
            ellipse at 80% 50%,
            rgba(169,136,75,.25),
            transparent 50%
        ),
        linear-gradient(
            115deg,
            #171a20,
            #29313b,
            #11151b
        );
}

.epic-footwear-banner h2 {
    color: #ffffff;
}

.epic-footwear-banner .epic-banner-eyebrow {
    color: #e6bf70;
}

.epic-footwear-banner p {
    color: #d5d7dc;
}

.epic-footwear-banner .epic-banner-button {
    background: #e6bf70;
    color: #171a20;
}

.epic-footwear-banner .epic-product-left {
    width: 290px;
    right: 16%;
    bottom: -35px;
    transform: rotate(-12deg);
}

.epic-footwear-banner .epic-product-center {
    width: 250px;
    right: -1%;
    bottom: -10px;
    transform: rotate(10deg);
}

/* MOBILE */

@media (max-width: 767px) {

    .epic-category-banner {
        padding: 12px 15px;
    }

    .epic-category-banner-inner {
        min-height: 205px;
        padding: 22px;
        border-radius: 14px;
    }

    .epic-category-banner-copy {
        width: 65%;
    }

    .epic-banner-eyebrow {
        font-size: 9px;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .epic-category-banner h2 {
        font-size: clamp(23px, 6vw, 32px);
        letter-spacing: -.7px;
        margin-bottom: 8px;
    }

    .epic-category-banner p {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .epic-banner-button {
        font-size: 10px;
        padding: 9px 12px;
        gap: 6px;
    }

    .epic-skin-banner .epic-product-left {
        width: 100px;
        right: 14%;
        bottom: -10px;
    }

    .epic-skin-banner .epic-product-center {
        width: 125px;
        right: -8%;
        bottom: -5px;
    }

    .epic-skin-banner .epic-product-right {
        display: none;
    }

    .epic-footwear-banner .epic-product-left {
        width: 155px;
        right: -5%;
        bottom: -15px;
    }

    .epic-footwear-banner .epic-product-center {
        display: none;
    }
}

@media (max-width: 360px) {
    .epic-category-banner-copy {
        width: 70%;
    }

    .epic-category-banner h2 {
        font-size: 22px;
    }
}

/* EPIC BEAUTY BURGUNDY UPDATE V2 */
.epic-skin-banner .epic-category-banner-inner {
  background: radial-gradient(ellipse at 83% 22%, rgba(216,166,105,.20), transparent 44%),
              linear-gradient(112deg, #3b1028 0%, #60213d 52%, #281326 100%) !important;
}
.epic-skin-banner .epic-banner-eyebrow { color: #f3cf91 !important; }
.epic-skin-banner h2 { color: #fff7ed !important; }
.epic-skin-banner p { color: #f7e5e7 !important; }
.epic-skin-banner .epic-banner-button { background: #f0ca86 !important; color: #321529 !important; }
.epic-skin-banner .epic-product-left { width: 165px; right: 27%; bottom: -12px; }
.epic-skin-banner .epic-product-center { width: 190px; right: 14%; bottom: -12px; }
.epic-skin-banner .epic-product-right { display: block !important; width: 185px; right: 0%; bottom: -10px; transform: rotate(0deg); }
@media (max-width: 767px) {
  .epic-skin-banner .epic-category-banner-copy { width: 60%; }
  .epic-skin-banner .epic-product-left { display: none; }
  .epic-skin-banner .epic-product-center { width: 104px; right: 0%; bottom: -4px; }
  .epic-skin-banner .epic-product-right { width: 110px; right: -5%; bottom: -9px; }
}
@media (max-width: 400px) {
  .epic-skin-banner .epic-product-center { display: none; }
  .epic-skin-banner .epic-product-right { width: 132px; right: -7%; bottom: -9px; }
}


/* EPIC BANNER IMAGE FIT FIX V3 */

/* Keep banner content within its boundaries */

.epic-category-banner .epic-category-banner-inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 285px;
    overflow: hidden;
}

.epic-category-banner .epic-category-banner-copy {
    position: relative;
    z-index: 3;
    flex: 0 0 48%;
    width: 48%;
}

/* Dedicated product display area */

.epic-category-banner .epic-category-banner-products {
    position: absolute;
    top: 20px;
    right: 25px;
    bottom: 20px;
    left: 51%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    overflow: visible;
    pointer-events: none;
}

/* Reset old absolute positioning */

.epic-category-banner .epic-category-banner-products
.epic-banner-product {

    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    transform: none !important;

    display: block !important;

    flex: 1 1 0;
    min-width: 0;

    width: 100% !important;
    max-width: 100% !important;

    height: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center !important;

    filter: drop-shadow(
        0 12px 14px rgba(0,0,0,.18)
    );
}

/* Beauty products */

.epic-skin-banner .epic-category-banner-products {
    left: 52%;
    right: 20px;
    gap: 8px;
}

/* Footwear products */

.epic-footwear-banner .epic-category-banner-products {
    left: 52%;
    right: 35px;
    gap: 20px;
}

/* Tablet */

@media (max-width: 991px) {

    .epic-category-banner .epic-category-banner-copy {
        flex-basis: 52%;
        width: 52%;
    }

    .epic-category-banner .epic-category-banner-products {
        left: 55%;
        right: 15px;
        gap: 6px;
    }

}

/* Mobile */

@media (max-width: 767px) {

    .epic-category-banner .epic-category-banner-inner {
        min-height: 205px;
        padding: 20px 16px;
    }

    .epic-category-banner .epic-category-banner-copy {
        flex-basis: 58%;
        width: 58%;
    }

    .epic-category-banner .epic-category-banner-products {
        top: 15px;
        right: 8px;
        bottom: 15px;
        left: 61%;
        gap: 3px;
    }

    /* Show two skincare products on small screens */

    .epic-skin-banner .epic-category-banner-products
    .epic-banner-product:first-child {
        display: none !important;
    }

    .epic-skin-banner .epic-category-banner-products {
        left: 61%;
        right: 7px;
        gap: 3px;
    }

    /* Keep both shoes inside the banner */

    .epic-footwear-banner .epic-category-banner-products {
        left: 62%;
        right: 7px;
        gap: 2px;
    }

}

/* Very small phones */

@media (max-width: 380px) {

    .epic-category-banner .epic-category-banner-products {
        left: 65%;
    }

    .epic-footwear-banner .epic-category-banner-products
    .epic-banner-product:last-child {
        display: none !important;
    }

}
