.products-carousel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
/* Header */
.products-carousel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.products-carousel-header-left{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.products-carousel-header-left a{
    color: #000;

    /* Action sm */
    font-size: var(--theme-font-size-action-sm);
    font-weight: var(--theme-font-weight-action-sm);
    line-height: var(--theme-line-height-action-sm);
    letter-spacing: var(--theme-letter-spacing-action-sm);
    text-decoration: underline;
}
.products-carousel-header h2{
    color: var(--theme-color-text);
    font-family: var(--theme-font-family);
    font-size: var(--theme-font-size-overline);
    font-weight: var(--theme-font-weight-overline);
    line-height: var(--theme-line-height-overline);
    letter-spacing: var(--theme-letter-spacing-overline);
    text-transform: uppercase;
}
.products-carousel-header h2 span{
    color: #000;
    font-family: "Ebony";
    font-size: 60px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 60px */
    letter-spacing: -1.8px;
    text-transform: uppercase;
}

.products-carousel-header .nav-buttons {
    display: flex;
    align-items: center;
    column-gap: 12px;
    position: relative;
    min-width: 120px;
    min-height: 48px;
}

.products-carousel-header .nav-buttons .swiper-button-next {
    position: absolute;
    right: 0;
}

.products-carousel-header .nav-buttons .swiper-button-prev {
    position: absolute;
    left: 0;
}

.products-carousel-header .nav-buttons .swiper-button-next,
.products-carousel-header .nav-buttons .swiper-button-prev {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--e-global-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.products-carousel-header .nav-buttons .swiper-button-next:hover,
.products-carousel-header .nav-buttons .swiper-button-prev:hover {
    background-color: var(--e-global-color-accent);
}

.products-carousel-header .nav-buttons .swiper-button-next:after,
.products-carousel-header .nav-buttons .swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
    color: white;
}

/* Body/card */
.products-carousel .product-item {
    display: block;
    width: 100%;
    padding: 20px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-decoration: none;
    color: white;
}

.products-carousel .product-item .top {
    width: 100%;
}

.products-carousel .product-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.products-carousel .swiper-slide {
    width: 20%;
}

.products-carousel .product-item .bottom {
    width: 100%;
    padding: 20px;
    text-align: center;
}

.products-carousel .product-item .bottom .product-name {
    color: var(--e-global-color-text);
    font-family: var(--theme-font-family);
    font-size: var(--theme-font-size-body);
    font-style: var(--theme-font-style-body);
    font-weight: var(--theme-font-weight-body);
    line-height: var(--theme-line-height-body);
}

.products-carousel .product-item .bottom .product-price {
    color: var(--e-global-color-text);
    font-family: var(--theme-font-family);
    font-size: var(--theme-font-size-body);
    font-style: var(--theme-font-style-body);
    font-weight: var(--theme-font-weight-body);
    line-height: var(--theme-line-height-body);
}

.products-carousel .product-item .bottom .shop-now {
    color: var(--e-global-color-text);
    font-family: var(--theme-font-family);
    font-size: var(--theme-font-size-body);
    font-style: var(--theme-font-style-body);
    font-weight: var(--theme-font-weight-body);
    line-height: var(--theme-line-height-body);
}

.products-carousel .product-item:hover .shop-now {
    color: var(--e-global-color-primary);
}

.nav-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 12px;
    position: relative;
    min-width: 120px;
    min-height: 48px;
}


/* Pagination styling */
.products-carousel .swiper-pagination {
    display: none;
    /* Hidden by default on desktop */
    position: relative;
    bottom: 10px;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
    width: 100% !important;
}

/* Force the correct bullet size with high specificity and !important */
.products-carousel .swiper-container .swiper-pagination-bullet,
.products-carousel .swiper-pagination .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    display: inline-block !important;
    border-radius: 50% !important;
    background: #D9D9D9 !important;
    opacity: 0.5 !important;
    margin: 0 4px !important;
    transition: all 0.3s !important;
}

/* Active bullet styling with high specificity */
.products-carousel .swiper-container .swiper-pagination-bullet-active,
.products-carousel .swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 24px !important;
    height: 8px !important;
    border-radius: 4px !important;
    background: #e1052c !important;
}


/* Responsive Layout */
@media (max-width: 1024px) {
    .products-carousel-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .products-carousel-nav-buttons {
        display: none !important;
    }
    /* Show pagination on tablet */
    .products-carousel .swiper-pagination {
        display: block !important;
    }
}

@media (max-width: 768px) {

    /* Show pagination on mobile */
    .products-carousel .swiper-pagination {
        display: block;
    }

    .products-carousel-nav-buttons {
        display: none !important;
    }

    .products-carousel-header h2 {
        color: #000;
        font-family: "Ebony";
        font-size: 52px;
        font-style: normal;
        font-weight:500;
        line-height: 100%; /* 52px */
        letter-spacing: -1.56px;
        text-transform: uppercase;
    }
}