.hpb-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    direction: rtl;
    overflow: hidden;
}

.hpb-carousel__swiper {
    width: 100%;
    padding: 8px 4px 40px;
    overflow: hidden;
}

.hpb-carousel__slide {
    height: auto;
    opacity: 0;
    animation: hpbCrEnter 0.55s ease forwards;
    animation-delay: var(--hpb-stagger, 0ms);
}

@keyframes hpbCrEnter {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.hpb-carousel .hamta-product-card,
.hpb-carousel .hpb-product-loop.product-card {
    margin: 0 auto;
    max-width: 100%;
}

.hpb-carousel__arrow,
.hpb-carousel .swiper-button-prev,
.hpb-carousel .swiper-button-next {
    color: var(--hpb-nav-color, #fff) !important;
    background: rgba(15, 23, 42, 0.45) !important;
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
}

.hpb-carousel__pagination.swiper-pagination {
    bottom: 8px !important;
}

.hpb-carousel__pagination .swiper-pagination-bullet {
    width: var(--hpb-dot-size, 8px);
    height: var(--hpb-dot-size, 8px);
    background: var(--hpb-dot-color, #94a3b8);
    opacity: 0.7;
}

.hpb-carousel__pagination .swiper-pagination-bullet-active {
    background: var(--hpb-dot-active, #0d6efd);
    opacity: 1;
}

.hpb-card {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hpb-card-hover--lift .hpb-card:hover,
.hpb-card-hover--lift .hamta-product-card:hover,
.hpb-card-hover--lift .hpb-product-loop.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.hpb-card__image {
    display: block;
    overflow: hidden;
}

.hpb-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hpb-card-hover--zoom .hpb-card:hover .hpb-card__image img {
    transform: scale(1.05);
}

.hpb-media__video,
.hpb-media__image {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.hpb-icon-item {
    text-align: center;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.hpb-icon__box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 16px;
    background: #f8fafc;
}

.hpb-carousel--marquee .swiper-wrapper {
    transition-timing-function: linear !important;
}
