.pShopBanner {
    margin: auto;
    width: 100%;
    height: 370px;
    /* Set a fixed height for the carousel */
    overflow: hidden;
    /* Ensure the image doesn't overflow */
    position: relative;
    /* Required for absolute positioning of images */
}

.pShopBanner .carousel-inner {
    height: 100%;
    /* Ensure the inner container takes full height */
}

.pShopBanner .item {
    height: 100%;
    /* Ensure each slide takes full height */
    position: relative;
    /* Required for absolute positioning of images */
    text-align: center;
}

.pShopBanner .item img {
    width: 100%;
    height: 100%;
    /* Make the image fill the container */
    object-fit: cover;
    /* Maintain aspect ratio while covering the container */
    position: absolute;
    /* Position the image absolutely */
    top: 50%;
    /* Move the image down by 50% of its height */
    left: 0;
    transform: translateY(-50%);
    /* Center the image vertically */
}

.pShopBanner .carousel-caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers all items vertically */
    align-items: flex-start;
    /* Aligns text to the left */
    height: 100%;
    /* Full height */
    background: rgba(0, 0, 0, 0.5);
    /* Darker background */
    color: #fff;
    /* White text */
    text-align: left;
    text-shadow: none;
    padding: 2rem;
    max-width: 40%;
    left: 15px;
    top: 0;
    bottom: 0;
}

.pShopBanner .carousel-caption h2 {
    color: #FFF;
}

.pShopBanner .carousel-header,
.pShopBanner .carousel-caption-content,
.pShopBanner .carousel-read-more {
    margin-bottom: 10px;
    /* Adds spacing between elements */
}

.pShopBanner .carousel-read-more {
    margin-top: auto;
    /* Pushes button to the bottom */
}

.pShopBanner .carousel-read-more a {
    text-decoration: none !important;
}

/* Ensure h2 is at the top, p in center, and a at bottom */

/* Custom styling for carousel navigation arrows */
.pShopBanner .carousel-control {
    top: 45%;
    width: auto;
    opacity: 1;
    font-size: 30px;
    background-image: none;
}

/* Indicators Styling */
.pShopBanner .carousel-indicators li {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0;
    height: 6px;
    width: 40px;
    margin: 0 2px 0 0;
}

.pShopBanner .carousel-indicators li.active {
    background-color: #000;
}