.carousel {
    display: flex;
    align-items: stretch; /* Ensures equal height */
}

.carousel-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distributes content evenly */
    height: 100%; /* Forces equal height */
}

.carousel-item > img {
    width: 100%;
    height: 100%; /* Ensures consistent height */
    object-fit: cover; /* Prevents stretching */
}

.small-image-carousel .owl-carousel .carousel-item .carousel-image-inner > img {
    object-fit: contain;
    width: auto;
    max-height: 62px;
}

.carousel-item .sub-image {
    position: absolute;
    left: 10px;
    top: 10px;
}

.small-image-carousel .owl-carousel .carousel-image-inner {
    padding: 26px 26px 0 26px;
    position: relative;
}

.small-image-carousel .owl-carousel .carousel-item-inner {
    justify-content: flex-start;
}

.product-image-carousel .owl-carousel .carousel-image-inner {
    display: flex;
    justify-content: center;
    padding: 56px;
}

.product-image-carousel .owl-carousel .carousel-image-inner img {
    width: auto;
}

.product-image-carousel .carousel-item-inner {
    padding: 0 56px 56px 56px;
}

.product-image-carousel .btn {
    width: fit-content;
}

.carousel-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.carousel-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.carousel-item {
    background: #fff;
    overflow: hidden;
    text-align: left;
    flex: 0 0 calc(33.33% - 20px);
}

.single-image-carousel .carousel-item {
    background: transparent;
    /*padding: 0 70px;*/
}


.carousel-item-inner {
    padding: 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.carousel-item h3 {
    font-size: 26px;
    color: var(--brown-color);
    font-family: 'Oswald';
}

.carousel-item p {
    font-size: 14px;
    color: var(--brown-color);
    margin-top: 18px;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 30px;
}

.read-more {
    display: inline-block;
    color: var(--brown-color);
    font-weight: bold;
    /*margin-top: 10px;*/
    margin-top: auto;
    text-decoration: none;
    transition: .2s;
}

.read-more:hover {
    color: var(--orange-color);
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none; /* Ensures clicks pass through empty space */
}

.owl-prev, .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px !important;
    padding: 15px !important;
    cursor: pointer;
    pointer-events: all; /* Ensures clicks work */
    width: 20px; /* Adjust the size of your arrows */
    height: 20px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-image: url(../images/icons/fa-angle.svg) !important;
    transition: .2s;
}

/* Set the background image for left arrow */
.owl-prev {
    left: -50px;
}

/* Set the background image for right arrow */
.owl-next {
    right: -50px;
    transform: translateY(-50%) rotate(180deg); /* Rotates the left arrow */
}

/* Hide default nav text */
.owl-prev span, .owl-next span {
    display: none;
}

.owl-prev:hover, .owl-next:hover {
    width: 25px;
    height: 25px;
}

.owl-dots {
    display: flex !important;
    justify-content: center;
    margin-top: 55px;
}

.owl-dots.disabled {
    display: none !important;
}


.owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 5px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid black !important;
}

.owl-dots .owl-dot.active {
    background: black !important;
    border: 1px solid black !important;
}

.convert-to-carousel {
    display: none;
}

.carousel-flex {
    display: flex;
    padding: 20px;
}

.carousel-flex div {
    flex: 1;
}

.carousel-item .carousel-flex p {
    margin-bottom: 0px;
}

.carousel-flex .carousel-image-inner {
    position: relative;
    top: 30px;
}

@media (max-width: 1200px) {
    .carousel-flex {
        display: block !important;
    }

    .carousel-flex img {
        padding-bottom: 20px;
    }
}


@media (max-width: 768px) {
    .product-image-carousel .owl-carousel .carousel-image-inner img {
        width: 100%;
    }
}
