/* ============================================================
   HEARTFELT HISTORY — STACKED SLIDER (UI INITIATIVE HYBRID)
   Using EffectCarousel — JS handles transforms and opacity
   CSS keeps slide sizing, layout, gradients, and content clean
============================================================ */

/* ---------------------------
   SWIPER CONTAINER (UII)
----------------------------*/
.hh-stacked-carousel.swiper-carousel {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    position: relative;


/* ---------------------------
   EACH UII SLIDE
----------------------------*/
.hh-stacked-slide {
    position: relative;
    width: 520px;
    height: 380px;    /* Matches UII demo */
    border-radius: 24px;
    overflow: hidden;

}

/* ---------------------------
   SLIDE IMAGE
----------------------------*/
.hh-stacked-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
   object-position: top center;
}

/* ---------------------------
   THE UI INITIATIVE OPACITY WRAPPER
----------------------------*/
.swiper-carousel-animate-opacity {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* ---------------------------
   GRADIENT OVERLAY (IMPROVED)
----------------------------*/
.hh-stacked-gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;

    /* Stronger gradient for readable text */
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 40%,
        rgba(0,0,0,0.65) 80%,
        rgba(0,0,0,0.95) 100%
    );
}

/* ---------------------------
   CENTERED CONTENT BLOCK
----------------------------*/
.hh-stacked-info {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 20;
    text-align: center;
    color: #fff;
    pointer-events: none;
}

.hh-stacked-info-inner {
    width: 100%;
}

/* Title */
.hh-stacked-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

/* Description */
.hh-stacked-desc {
    font-size: 14px;
    color: #F7D8AE;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

/* Price */
.hh-stacked-price {
    font-size: 18px;
    font-weight: 700;
    color: #a6773a;
    margin-top: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* ---------------------------
   SALE BADGE
----------------------------*/
.hh-stacked-sale {
    position: absolute;
    top: 18px;
    right: 22px;

    padding: 6px 14px;
    background: #C13527;
    color: #fff;

    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;

    z-index: 30;
}

/* ---------------------------
   ONLY ACTIVE SLIDE CLICKABLE
----------------------------*/
.hh-stacked .swiper-slide:not(.swiper-slide-active) .hh-stacked-link {
    pointer-events: none !important;
}

.hh-stacked-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    color: inherit !important;
    text-decoration: none !important;
}

/* ============================================================
   REMOVE ARROWS ENTIRELY FOR STACKED SLIDER
   (prevents giant empty space caused by off-screen buttons)
============================================================ */

.hh-stacked-prev,
.hh-stacked-next {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
