/* Scope everything to this widget instance */
.hover-box-slider-main-box .ehb-box-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hover-box-slider-main-box .ehb-box {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}

.hover-box-slider-main-box .ehb-box img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* Bottom black strip always visible */
.hover-box-slider-main-box .ehb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(179, 147, 66, 0.85);
    color: #000;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.hover-box-slider-main-box .ehb-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
    padding: 20px;
    text-align: center;
    font-size: 18px;
}

.hover-box-slider-main-box .ehb-box:hover .ehb-content {
    opacity: 1;
}

/* Heading inside bottom strip */
.hover-box-slider-main-box .ehb-overlay h3 {
    margin: 0;
    font-size: 20px;
    color: #000;
}

/* Hidden until hover */
.hover-box-slider-main-box .ehb-content p,
.hover-box-slider-main-box .ehb-button {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.hover-box-slider-main-box .ehb-box:hover .ehb-content p,
.hover-box-slider-main-box .ehb-box:hover .ehb-button {
    opacity: 1;
    transform: translateY(0);
}

/* Auto active slide = hover effect */
/* Apply hover effect on NEXT slide automatically */
.hover-box-slider-main-box .swiper-slide-next .ehb-content {
    opacity: 1;
}

/* Text + button animation */
.hover-box-slider-main-box .swiper-slide-next .ehb-content p,
.hover-box-slider-main-box .swiper-slide-next .ehb-button {
    opacity: 1;
    transform: translateY(0);
}

.hover-box-slider-main-box .ehb-button {
    margin-top: 10px;
    padding: 8px 20px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    cursor: pointer;
    font-size: 16px;
}

.hover-box-slider-main-box .ehb-button:hover {
    background: #fff;
    color: #000;
}

.hover-box-slider-main-box .swiper {
    overflow: unset;
}

.hover-box-slider-main-box {
    overflow: hidden;
    padding-bottom: 80px;
    padding-top: 30px;
}

.hover-box-slider-main-box .slider_arrows {
    position: absolute;
    top: -65px;
    right: 0;
    width: 162px;
}


.hover-box-slider-main-box .swiper-pagination-bullets-custom {
    bottom: -65px !important;
}

/* V3 css */

.lux-card {
    background: #E7E4DF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.lux-card:hover {
    transform: translateY(-8px);
}

.lux-card:hover .lux-img img {
    transform: scale(1.1);
}

.lux-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all ease-in-out 0.3s;
}

.lux-content {
    padding: 20px;
}

.lux-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2b2b2b;
}

.lux-content p {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.lux-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.lux-meta .price {
    font-size: 30px;
    font-weight: bold;
    color: #2b2b2b;
}

.lux-meta .stars {
    color: #d4a373;
    font-size: 22px;
}

.lux-buttons {
    display: flex;
    gap: 10px;
}

.btn-primary {
    flex: 1;
    background: #3e200a;
    color: #fff;
    padding: 10px;
    border-radius: 30px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #3e200a;
}

.btn-primary:hover {
    background: #A68A6D;
    color: #fff;
    border: 1px solid #A68A6D;

}

.btn-secondary {
    flex: 1;
    background: #3e200a;
    border: 1px solid #3e200a;
    padding: 10px;
    border-radius: 30px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
}

.lux-buttons a:hover {
    background: #A68A6D;
    color: #fff;
    border: 1px solid #A68A6D;
}

.lux-card-slider .swiper-slide {
    height: auto;
    display: flex;
}

.lux-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.lux-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.lux-buttons {
    margin-top: auto;
}

/* V4 css */

.lux-overlay-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 320px;
}

.lux-overlay-card:hover .lux-img img {
    transform: scale(1.1);
}

/* DARK GRADIENT OVERLAY */
.lux-overlay-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.1));
}

/* CONTENT */
.lux-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
    z-index: 2;
}

.lux-overlay-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #fff;
}

.lux-overlay-content p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.lux-overlay-card img {
    width: 100%;
    height: 100%;
}

.lux-overlay-card .lux-img {
    height: 100%;
}

/* BOTTOM ROW */
.lux-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* PRICE */
.lux-bottom-row .price {
    font-size: 38px;
    font-weight: bold;
    color: #fff;

}

/* BUTTON */
.plan-btn {
    background: #A68A6D;
    color: #fff;
    padding: 8px 14px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    border: 1px solid #A68A6D;
}

/* DOT */
.plan-btn .dot {
    width: 6px;
    height: 6px;
    background: orange;
    border-radius: 50%;
    display: inline-block;
}

.plan-btn:hover {
    background: #b89168;
    color: #fff;
    border: 1px solid #b89168;
}

.hover-box-slider-main-box .ehb-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #3e200a;
    border-radius: 999px
}

.hover-box-slider-main-box .ehb-slider .swiper-pagination-bullet-active {
    background: #A68A6D;
    width: 20px;
}

.hover-box-slider-main-box .swiper-pagination-bullets .swiper-pagination-bullet:after {
    display: none;
}


/* Price styling */
.price del.original-price {
    color: #999;
    margin-right: 6px;
    font-size: 14px;
}

.price ins.sale-price {
    color: #000;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
}

.discount-badge {
    color: #ffffff;
    background-color: #ff0000 !important;
    line-height: 1;
    z-index: 2;
    position: absolute;
    top: 20px;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 20px 14px 20px;
    left: 0px;
    right: unset;
}

/* .discount-badge::after {
    content: '';
    display: block;
    border-right-color: #ff0000 !important;
    position: absolute;
    left: -10px;
    bottom: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-left-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
} */

.price del {
    color: #999;
    margin-right: 6px;
    font-size: 20px;
}

.price strong {
    color: #3e200a;
    font-size: 28px;
    font-weight: 600;
}

.lux-overlay-card .price del {
    color: #fff;
}

.lux-overlay-card .price strong {
    color: #fff;
}

@media (max-width:500px) {
    .lux-overlay-card {
        height: 485px;
    }

    .lux-bottom-row {
        flex-wrap: wrap;
        gap: 15px;
    }
}