.box {
    position: relative;
    /* margin: 40px 0; */
}

.customNavigation1 {
    position: absolute;
    top: 35%;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

.customNavigation1 .nav-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    cursor: pointer;
    border: 1px solid #e5e5e5;
    opacity: 1;
}

.box:hover .customNavigation1 .nav-btn {
    opacity: 1;
}

.customNavigation1 .nav-btn:hover {
    background: #a59abe;
}

.customNavigation1 .nav-btn:hover i {
    color: #ffffff !important;
}

.customNavigation1 .prev {
    left: -25px;
}

.customNavigation1 .next {
    right: -25px;
}

.customNavigation1 .nav-btn i {
    font-size: 22px;
    transition: color 0.3s ease;
}

/* Product Card Styling */
.product-block {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
    overflow: hidden;
}

.product-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-block .image {
    position: relative;
    overflow: hidden;
    padding: 5px;
    /* background: #f8f9fa; */
    border-radius: 12px 12px 0 0;
}

.product-block .image img {
    transition: transform 0.5s ease;
    border-radius: 8px;
}

.product-block:hover .image img {
    transform: scale(1.05);
}

.product-block .caption {
    padding: 20px;
}

.product-block .caption h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #352161;
}

.product-block .caption .price {
    font-size: 18px;
    color: #91137c;
    font-weight: 700;
    margin: 10px 0;
}

.product-block .button-group {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.product-block:hover .button-group {
    opacity: 1;
    transform: translateX(0);
}

.product-block .button-group button,
.product-block .button-group .quickview {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-block .button-group button:hover,
.product-block .button-group .quickview:hover {
    background: #352161;
    color: #ffffff;
}

.product-block .addtocart {
    background: #352161;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.product-block .addtocart:hover {
    background: #2a1a4d;
    transform: translateY(-2px);
}

/* Rating Stars */
.rating {
    margin-bottom: 10px;
}

.rating .fa-star {
    color: #ffd700;
}

.rating .fa-star.off {
    color: #dddddd;
}

/* Make carousel container visible */
.home-products {
    position: relative;
    overflow: visible !important;
    padding: 20px 0;
}

#tab-featured-0 {
    position: relative;
    overflow: visible !important;
}

.box-product {
    position: relative;
    overflow: visible !important;
}

/* Owl Carousel fluid width fixes */
.owl-carousel {
    width: 100%;
    max-width: 100%;
}

.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.owl-carousel .owl-item {
    display: flex;
    flex: 1 0 auto;
    height: auto;
}

.owl-carousel .owl-item .product-block {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Box Heading */
.box-heading {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.box-heading span {
    font-size: 28px;
    font-weight: 600;
    color: #352161;
    position: relative;
    padding-bottom: 15px;
}

.box-heading span:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #352161;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .customNavigation1 .nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .customNavigation1 .nav-btn i {
        font-size: 18px;
    }
    
    .box-heading span {
        font-size: 24px;
    }
    
    .product-block .caption h4 {
        font-size: 14px;
    }
    
    .product-block .caption .price {
        font-size: 16px;
    }
}