.owl-carousel {
    position: relative;
}

/* Proper nav positioning */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 50;
}

/* Arrow buttons */
.owl-carousel .owl-prev,
.owl-carousel .owl-next {
    pointer-events: auto;
    width: 45px;
    height: 45px;
    background: rgba(0,0,0,0.7);
    color: #fff !important;
    border-radius: 50%;
    font-size: 24px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
}

/* Left & Right position */
.owl-carousel .owl-prev {
    left: 10px;
}

.owl-carousel .owl-next {
    right: 10px;
}

/* Arrow symbol color */
.owl-carousel .owl-prev span,
.owl-carousel .owl-next span {
    color: #fff !important;
}









/* Outer clickable box */
.productBoxLink {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Card wrapper */
.productBox {
    position: relative;
    border-radius: 20px;
    overflow: hidden; /* ensures image follows rounded corners */
    height: 350px; /* uniform height */
    display: flex;
    align-items: flex-end; /* caption at bottom */
    justify-content: center;
}

/* Make image uniform */
.productBox img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* perfect fit without distortion */
    display: block;
}

/* Caption section (black backdrop) */
.productBoxCaption {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.45); /* semi-black backdrop */
    color: #fff;
    backdrop-filter: blur(3px); /* premium look */
}

/* Title styling */
.productBoxCaption h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #fff;
}

/* Button text */
.viewProductsBtn {
    font-size: 14px;
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    color: #fff;
}

/* On hover */
.productBoxLink:hover .productBox {
    transform: scale(1.03);
    transition: 0.3s ease;
}

.productBoxLink:hover .viewProductsBtn {
    background: rgba(255,255,255,0.35);
}

