.eps-slider-wrapper {
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.eps-slider-wrapper .eps-swiper { overflow: hidden; }

.eps-swiper { width: 100%; padding: 10px 0; }
.eps-swiper .swiper-wrapper { align-items: stretch; }
.eps-slide {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    background: #fff;
}

.eps-slide-image {
    width: 100%;
    height: 450px;
    position: relative;  /* <-- already here but keep it! */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    overflow: hidden;    /* keep badge inside */
}

.eps-remark {
    position: absolute;
    top: 10px;
    left: 10px;             /* space from the left */
    padding: 4px 10px;      /* inner space inside the badge */
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    z-index: 2;
    text-transform: uppercase;
    display: inline-block;
    line-height: 1;  
}

/* Specific styles for different remark types */
.eps-remark-new {
    background: #2a9d8f; /* teal */
    color: #fff;
}

.eps-remark-best_seller {
    background: #ff9f1c; /* orange */
    color: #fff;
}

/* content area below image */
.eps-slide-content {
    padding: 14px;
}
.eps-slide-title {
    margin: 0 0 6px 0;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
}
.eps-slide-caption {
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

/* navigation styling uses default Swiper styles but tweak */
.eps-nav-prev, .eps-nav-next {
    color: #111;
}

/* small responsive tweaks */
@media (max-width: 640px) {
    .eps-slide-image { height: 160px; }
}
