/* --- SLIDE PRODUCT WIDGET STYLE (IMAGE 2 REPLICA) --- */
.slide-product.t888-product-slider-wrapper {
    margin-bottom: 60px;
    position: relative;
    overflow-x: hidden;
}

.slide-product .t888-slider-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.slide-product .t888-slider-header .slider-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    margin: 0;
}

.slide-product .t888-slider-header .title-line {
    width: 50px;
    height: 3px;
    background: #b88166;
    margin-top: 10px;
}

/* .slide-product .t888-slider-header .title-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #ffb347, #ffcc33, #6aaa81);
    margin: 10px auto 30px;
} */

.slide-product .t888-slider-header .slider-nav {
    display: flex;
    gap: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    @media (max-width: 767px) {
        display: none;
    }
}

.slide-product .t888-slider-header .slider-nav div {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #b88166;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    pointer-events: auto;
    border: 1px solid #eee;
}

.slide-product .t888-slider-header .slider-nav div:hover {
    background: #b88166;
    color: #fff;
    transform: scale(1.1);
}

.slide-product .swiper-container {
    padding: 10px 0;
    /* overflow: hidden !important; */
}

/* Product Card */
/* .slide-product .grid-product-item.product-grid-layout-3 {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
} */

.slide-product .grid-product-item:hover {
    border-color: #b88166;
}

/* Image Wrapper */
/* .slide-product .product-thumbnail-outer {
    border: 1px solid #f0f0f0;
    padding: 10px;
    margin-bottom: 15px;
    position: relative;
} */

/* Badge Circle Orange */
.slide-product .product-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: #ffb347 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    z-index: 5;
}


/* Title & Price */
.slide-product .product-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    /* margin-bottom: 15px !important; */
    text-transform: uppercase !important;
}

.slide-product .product-title a {
    color: #333 !important;
}

.slide-product .product-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #cc8b6e !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
    display: flex !important;
    gap: 8px;
}

.slide-product .product-price .regular-price {
    color: #999 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    margin-right: 5px;
}

/* Action Area - Exactly like Screenshot */
/* .slide-product .grid-product-item .grid-3-action-wrap {
    margin-top: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
} */

/* Quantity box - Rounded & Bordered */
/* .slide-product .grid-product-item .grid3-quantity-input-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 4px !important;
    height: 36px !important;
    flex: 0 0 90px !important;
    background: #fff !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
} */

/* .slide-product .grid-product-item .grid3-quantity-input-wrapper span {
    flex: 1 !important;
    text-align: center !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 36px !important;
    height: 36px !important;
    color: #333 !important;
    display: block !important;
} */

/* .slide-product .grid-product-item .grid3-qty-val {
    border-left: 1px solid #dcdcdc !important;
    border-right: 1px solid #dcdcdc !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

/* Cart Button - Black Rounded Square */
/* .slide-product .grid-product-item .grid3-add-cart-btn {
    width: 36px !important;
    height: 36px !important;
    background: #000 !important;
    color: #fff !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    border: none !important;
    flex: 0 0 36px !important;
    padding: 0 !important;
    margin: 0 !important;
}  */

.slide-product .grid-product-item .grid3-add-cart-btn i {
    display: block !important;
    font-size: 18px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* Hide any text injected via CSS previously */
.slide-product .grid-product-item .grid3-add-cart-btn::after,
.slide-product .grid-product-item .grid3-add-cart-btn::before {
    display: none !important;
}

.slide-product .grid-product-item .grid3-add-cart-btn:hover {
    background: #333 !important;
    transform: translateY(-2px) !important;
}

/* Đồng bộ nút Hết hàng */
.slide-product .grid-product-item .grid-3-action-wrap>.out-of-stock-button,
.slide-product .grid-product-item .grid-3-action-wrap>a[href*="contact"] {
    width: 100% !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1a1a1a !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.slide-product .grid-product-item .grid-3-action-wrap>.out-of-stock-button:hover {
    background: #333 !important;
}