.dh-product-carousel-931c99ca-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 1;
}

/* Modifier class based on control for arrow positioning */
.dh-product-carousel-931c99ca-wrapper.arrows-outside {
    padding: 0 50px; 
}

/* The viewport wrapper where Swiper logic happens */
.dh-product-carousel-931c99ca-swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden !important; 
    position: relative;
    padding-bottom: 50px; 
    box-sizing: border-box;
}

/* Ensure swiper wrapper structural integrity */
.dh-product-carousel-931c99ca-swiper .swiper-wrapper {
    box-sizing: border-box;
    width: 100%;
}

/* Ensure swiper slides equalize heights and apply correct box-sizing */
.dh-product-carousel-931c99ca-swiper .swiper-slide {
    height: auto; 
    display: flex;
    box-sizing: border-box; 
}

/* 1. Main Card Container */
.dh-product-carousel-931c99ca-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    height: 100%; /* Fill slide height */
    width: 100%;
    max-width: 100%;
    border-radius: 4px;
    box-sizing: border-box; 
    transition: all 0.3s ease;
}

.dh-product-carousel-931c99ca-card:hover {
    box-shadow: 0 5px 20px rgba(0, 38, 58, 0.08); /* Subtle navy shadow */
    border-color: #eaeaea;
}

/* Top Link Container (Image + Title) */
.dh-product-carousel-931c99ca-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.dh-product-carousel-931c99ca-img-wrap {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect ratio */
    overflow: hidden;
    margin-bottom: 15px;
    background: transparent;
    border-radius: 4px;
    box-sizing: border-box;
}

.dh-product-carousel-931c99ca-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Title Area Reservation Block */
.dh-product-carousel-931c99ca-title-wrap {
    width: 100%;
    box-sizing: border-box;
    /* By default display block. If "Align Price Area" is ON, Elementor min-height CSS gets injected here */
    display: flex;
    flex-direction: column;
    /* justify-content: flex-start;  Wait, simple block is better for titles unless we want them bottom aligned */
}

.dh-product-carousel-931c99ca-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #00263A; /* Navy */
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* Rating Area */
.dhpc-931c99ca-rating-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 10px;
    width: 100%;
}

.dhpc-931c99ca-rating-stars {
    display: flex;
    gap: 2px;
    line-height: 1;
}

.dhpc-931c99ca-rating-star {
    font-size: 14px;
    display: inline-block;
}

.dhpc-931c99ca-rating-star-filled {
    color: #BD9B60; /* Gold */
}

.dhpc-931c99ca-rating-star-empty {
    color: #e0e0e0;
}

.dhpc-931c99ca-rating-empty-reserved {
    visibility: hidden;
}


/* 2. Lower Content Container (Price Group + Button) */
.dh-product-carousel-931c99ca-content-wrap {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pushes content down to fill card height */
    box-sizing: border-box;
}

/* Price Group wrapper */
.dh-product-carousel-931c99ca-price-wrap {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    /* If button is pushed to bottom, this area doesn't need to stretch, just sit normally */
    box-sizing: border-box;
}

.dh-product-carousel-931c99ca-price {
    font-weight: 600;
    font-size: 16px;
    color: #00263A; /* Navy */
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.dh-product-carousel-931c99ca-price ins {
    background: none;
    text-decoration: none;
}

.dh-product-carousel-931c99ca-price ins .amount {
    color: #BD9B60; /* Gold */
}

.dh-product-carousel-931c99ca-price del {
    color: #999;
    font-weight: normal;
    font-size: 0.85em;
    opacity: 0.7;
}

.dh-product-carousel-931c99ca-separator-wrap {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

.dh-product-carousel-931c99ca-separator {
    border-top: 1px solid #BD9B60;
    box-sizing: border-box;
}

.dh-product-carousel-931c99ca-pix {
    margin-top: 4px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}

.dh-product-carousel-931c99ca-pix-price {
    color: #00263A;
    font-weight: 700;
}

.dh-product-carousel-931c99ca-pix-text {
    color: #777;
    font-size: 0.9em;
}

/* Button & Icons */
.dh-product-carousel-931c99ca-atc {
    box-sizing: border-box;
    /* Elementor injects margin-top: auto here if "Push Button to Bottom" is on */
}

.dh-product-carousel-931c99ca-atc .button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #00263A; /* Navy */
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.dh-product-carousel-931c99ca-atc .button .dh-product-carousel-button-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dh-product-carousel-931c99ca-atc .button .dh-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.dh-product-carousel-931c99ca-atc .button .dh-button-text {
    display: inline-flex;
}

.dh-product-carousel-931c99ca-atc .button svg {
    fill: #fff;
    width: 1em;
    height: 1em;
    transition: all 0.3s ease;
    display: block; 
}

.dh-product-carousel-931c99ca-atc .button:hover {
    background: #BD9B60; /* Gold */
    color: #fff;
}

.dh-product-carousel-931c99ca-atc .button:hover svg {
    fill: #fff;
}

.dh-product-carousel-931c99ca-oos {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #f5f5f5;
    color: #888;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

/* Swiper navigation */
.dh-product-carousel-931c99ca-wrapper.arrows-outside .swiper-button-next,
.dh-product-carousel-931c99ca-wrapper.arrows-outside .swiper-button-prev {
    position: absolute; 
    top: 40%;
    margin-top: -22px; 
}

.dh-product-carousel-931c99ca-wrapper.arrows-inside .swiper-button-next,
.dh-product-carousel-931c99ca-wrapper.arrows-inside .swiper-button-prev {
    position: absolute;
    top: 40%;
}

.dh-product-carousel-931c99ca-wrapper .swiper-button-next,
.dh-product-carousel-931c99ca-wrapper .swiper-button-prev {
    color: #00263A; /* Navy */
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dh-product-carousel-931c99ca-wrapper .swiper-button-next:hover,
.dh-product-carousel-931c99ca-wrapper .swiper-button-prev:hover {
    color: #BD9B60; /* Gold */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.dh-product-carousel-931c99ca-wrapper .swiper-button-next:after,
.dh-product-carousel-931c99ca-wrapper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.dh-product-carousel-931c99ca-swiper .swiper-pagination-bullet {
    background: #ccc;
    opacity: 0.6;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}

.dh-product-carousel-931c99ca-swiper .swiper-pagination-bullet-active {
    background: #00263A; /* Navy */
    opacity: 1;
    transform: scale(1.2);
}

.dh-product-carousel-no-results {
    padding: 20px;
    text-align: center;
    color: #777;
    background: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 4px;
}

/* Sale Badge */
.dhpc-sale-badge-wrap {
    position: absolute;
    z-index: 10;
}

.dhpc-sale-badge {
    display: inline-block;
    background-color: #BD9B60;
    color: #FFFFFF;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    box-sizing: border-box;
}
