@font-face {
    font-family: "TheSludAndLionMedium";
    src: url("https://cdn-files.myshopline.com/file/store/1752003146115/The-Slug-and-Lion.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

/*Only one picture is displayed*/
.featured-product .product__media-item:not(:first-child) {
    display: none;
}

/* Main Container */
.featured-product .product {
    position: relative;
    border: none;
    background: #00000066;
    overflow: visible;
}

.featured-product .product::before,
.featured-product .product::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.featured-product .product::before {
    background:
        /* top line */
        linear-gradient(#FEFEFE, #FEFEFE) top 0px left 30px / calc(100% - 30px) 1px no-repeat,
        /* left line */
        linear-gradient(#FEFEFE, #FEFEFE) top 30px left / 1px calc(100% - 30px) no-repeat,
        /* right line */
        linear-gradient(#FEFEFE, #FEFEFE) top right / 1px 100% no-repeat,
        /* bottom line */
        linear-gradient(#FEFEFE, #FEFEFE) bottom left / 100% 1px no-repeat;
}

.featured-product .product::after {
    top: 0;
    left: 0;
    width: 62px;
    height: 40px;
    border-top: 1px solid #FEFEFE;
    transform: translate(0, 38px) rotate(-45deg);
    transform-origin: left center;
}

/* .featured-product .product::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 36px;
    height: 36px;
    background: inherit;
    z-index: 2;
    clip-path: polygon(0 0, 0 100%, 100% 0);
}

.featured-product .product::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 0;
    width: 34px;
    border-top: 1px solid #FEFEFE;
    transform: rotate(-45deg);
    transform-origin: left center;
    z-index: 3;
} */

/* Desktop Specific Styles */
@media (min-width: 960px) {
    .featured-product .page-width {
        padding-right: 5%;
        padding-left: 5%;
    }

    .featured-product .product {
        display: grid;
        grid-template-columns: 3fr 7fr;
        align-items: center;
        gap: 20px;
        padding: 0 56px;
        margin: 0 auto;
        overflow: visible;
    }

    .featured-product .product .product__media-wrapper {
        transform: translateY(-95px);
    }

    .featured-product .product .product__media-wrapper img {
        max-width: 500px;
        height: auto;
    }

    .featured-product .product .product__info-wrapper {
        padding-top: 0;
        padding-right: 0;
        width: 100%;
        margin-left: 0;
        text-align: left;
        position: relative;
        z-index: 2;
    }

    .featured-product .product__info-container {
        align-items: flex-start;
    }

    .featured-product h2.product__info-item {
        text-align: left;
    }

    .featured-product .product-description .rte p {
        text-align: left;
    }

    .featured-product .product--small {
        --featured-media-size: 260px;
    }

    .featured-product .product--medium {
        --featured-media-size: 320px;
    }

    .featured-product .product--large {
        --featured-media-size: 380px;
    }

    .featured-product a.buy-now-button {
        padding: 7px 20px;
    }

}


.product__info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Mobile Image container */
@media (max-width: 959px) {
    .slider__slide {
        width: -webkit-fill-available;
    }
    .product .grid {
        width: stretch;
    }
    .product .product__media-item {
        max-width: 300px;
        margin: auto;
        margin-bottom: 15px;
    }
    .product__media-wrapper {
        display: flex;
    }
    .product__media-wrapper img {
        height: auto;
    }
    .featured-product .product {
        border: 1px solid #ffffff33;
        margin: 0 2px;
    }
    .product__info-item:last-of-type {
        padding-bottom: 20px;
    }
}

.product .product__media-item .product__media {
    background-color: transparent;
    background: url("https://img-va.myshopline.com/image/store/1752003146115/ftrd-prod-bg.png?") no-repeat center/cover;
}

/* Product image size controls */
.featured-product .product--small .product__media-wrapper {
    max-width: 300px;
}

.featured-product .product--large .product__media-wrapper {
    max-width: 500px;
}

/* Discount banner styling */
.featured-product .discount-banner {
    margin-bottom: 20px;
}

.featured-product .discount-banner__content {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90.26deg, #EE1C24 0%, rgba(189, 13, 20, 0) 100.96%);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 200;
}

/* Gradient Banner */
/* Price Tag Icon */
.discount-banner__icon {
    background: url(https://img-va.myshopline.com/image/store/1752003146115/save-tag-icon.svg?w=42&h=42) no-repeat center;
    background-size: contain;
    width: 42px;
    height: 42px;
}

.featured-product .discount-banner__icon {
    flex-shrink: 0;
}

.featured-product .discount-banner__text {
    line-height: 1.4;
}

/* PRODUCT TITLE */
.featured-product h2.product__info-item {
    font-family: "TheSludAndLionMedium";
    color: #E82126;
    font-weight: 400;
    font-size: 44px;
    margin-bottom: 0;
    text-align: center;
}

/* Product rating styling */
.featured-product .product__info-item.product-rating {
    margin-top: 3px;
}

.featured-product .stars {
    display: flex;
}

.featured-product .star {
    background: url(https://img-va.myshopline.com/image/store/1752003146115/star-rating-bg1.png) 0 0;
    height: 20px;
    width: 20px;
    background-size: 20px;
}

/* Product description styling */
.featured-product .product-description {
    margin-bottom: 24px;
}

.featured-product .product-description .rte {
    color: white;
    line-height: 1.6;
}

.featured-product .product-description .rte p {
    margin-bottom: 16px;
    font-size: 16px;
    text-align: center;
    line-height: 24px;
    font-weight: 400;
}

.featured-product .product-description .rte p:last-child {
    margin-bottom: 0;
}

@media (min-width: 960px) {
    .featured-product .product__info-container {
        align-items: flex-start;
    }

    .featured-product h2.product__info-item,
    .featured-product .product-description .rte p {
        text-align: left;
    }
}

/* Price Container */
.product__info-item .price__container span {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
}

/* Buy button styling */
.featured-product .buy-now-button {
    font-family: "TheSludAndLionMedium";
    background-color: #e82126;
    color: white;
    border: none;
    padding: 2px 20px;
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 7px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
    min-width: 200px;
}

.featured-product .buy-now-button::after,
.featured-product .buy-now-button::before {
    content: none;
}

.featured-product .buy-now-button:hover {
    background-color: #ae171c;
}

/* Product info spacing */
.featured-product .product__info-item {
    margin-bottom: 20px;
    font-size: 16px;
}

.featured-product .product__info-item:last-child {
    margin-bottom: 0;
}

.featured-product .product__media-list.contains-media {
    margin-top: 0;
}

@media screen and (max-width: 959px) {
    .featured-product .slider {
        overflow: hidden;
    }

    .featured-product .slider+.slider-buttons {
        display: none;
    }

    /* Mobile adjustments for image sizing */
    .featured-product .product--small .product__media-wrapper,
    .featured-product .product--medium .product__media-wrapper,
    .featured-product .product--large .product__media-wrapper {
        max-width: 100%;
        margin-top: 0;
    }
}

.featured-product .product.color-scheme-none {
    background-color: transparent;
}

.featured-product.background-secondary {
    background-color: rgba(var(--color-mask), 0.04);
}

.featured-product.background-secondary .product {
    padding: 25px;
}

@media screen and (min-width: 960px) {
    .featured-product.background-secondary .product {
        padding: 60px 70px;
        position: relative;
        z-index: 1;
    }
}

.featured-product .product-pswp__toolbar .product-pswp__button--arrow {
    display: none;
}

/* ---- Carousel track ---- */
#FeaturedEvilProducts- .slider,
[id^="Slider-featured-evil-products-"] {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--grid-horizontal-space);
    padding: 85px 0 0px 0;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Each slide takes full width (one product per view) */
[id^="Slider-featured-evil-products-"] .slider__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

/* Optional: hide scrollbar (nice-to-have) */
[id^="Slider-featured-evil-products-"]::-webkit-scrollbar {
    display: none;
}

[id^="Slider-featured-evil-products-"] {
    scrollbar-width: none;
}

/* ---- Arrows ---- */
.featured-product .combine-shoppable-image__image-list-container {
    position: relative;
}

.featured-product .featured-evil-products__nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 3;
}

.featured-evil-products__arrow {
    position: absolute;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(9, 10, 34, 0.82);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, opacity .2s ease;
}

.featured-evil-products__arrow svg {
    width: 16px;
    height: 16px;
}

.featured-evil-products__arrow:hover {
    background: rgba(232, 33, 38, 0.95);
}

.featured-evil-products__arrow-prev {
    left: -72px;
    transform: translateY(-50%) rotate(90deg);
}

.featured-evil-products__arrow-next {
    right: -72px;
    transform: translateY(-50%) rotate(-90deg);
}

.featured-evil-products__arrow--disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.featured-evil-products__arrow--disabled:hover {
    background: rgba(9, 10, 34, 0.82);
}

@media (max-width: 959px) {
    [id^="Slider-featured-evil-products-"] {
        padding-top: 10px;
    }
    .featured-evil-products__arrow {
        width: 40px;
        height: 40px;
    }

    .featured-evil-products__arrow-prev {
        left: 4px;
    }

    .featured-evil-products__arrow-next {
        right: 4px;
    }
}


/* The ipad end responds to the mobile end in vertical screen */
/* @custom-media --tablet (max-width: 959px); */
/* @custom-media --gt-mobile (min-width: 751px); */
/* detectingScreen need to consider the configuration of the tablet */