.nll-related-product-header {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px
}

.nll-swiper-navigation {
    float: left;
    display: flex;
    gap: 10px;
    align-items: center
}

.nll-related-product-title-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between
}

.nll-related-product-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #383C79;
    float: right
}

.nll-related-product-title a {
    text-decoration: none !important;
    color: inherit
}

.nll-swiper-button-prev,
.nll-swiper-button-next {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s;
    background-color: transparent !important
}

.nll-swiper-button-prev::after,
.nll-swiper-button-next::after {
    font-size: 16px;
    color: #333;
    background-color: transparent !important
}

.nll-related-product-swiper-container {
    direction: rtl;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0
}

.nll-related-product-swiper-card {
    background-color: #F2F2F7;
    border-radius: 24px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 2px 10px #0000000d;
    height: 100%;
    display: flex;
    flex-direction: column
}

.nll-related-product-swiper-image {
    margin-bottom: 15px;
    border-radius: 16px;
    overflow: hidden;
    height: 320px
}

.nll-related-product-swiper-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px
}

.nll-related-product-swiper-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4
}

.nll-related-product-swiper-item a {
    text-decoration: none !important
}

.nll-related-product-swiper-title {
    color: #000 !important;
    text-decoration: none !important;
    transition: color .3s ease
}

.nll-related-product-swiper-excerpt {
    color: #404040 !important;
    font-size: 14px;
    height: 60px;
    overflow: hidden
}

.nll-related-product-swiper .slick-prev,
.nll-related-product-swiper .slick-next,
.nll-swiper-prev,
.nll-swiper-next {
    width: 40px;
    height: 40px;
    z-index: 10;
    border: none;
    cursor: pointer
}

.nll-related-product-category-badge {
    position: absolute;
    margin-top: -60px !important;
    margin-right: 15px;
    color: #fff !important;
    background: #404040;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 700
}

.nll-product-related-widget {
    direction: rtl
}

.nll-product-related-widget .nll-product-related-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.nll-product-related-widget .nll-product-related-widget-content {
    display: block !important;
    width: 100% !important
}

.nll-product-related-widget-header .nll-product-related-widget-title {
    font-size: 40px;
    font-weight: 800;
    color: #383C79
}

.nll-product-related-widget-header .nll-product-related-widget-dropdown {
    font-size: 16px;
    color: #383C79;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 12px;
    appearance: none;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23383C79" width="16px" height="16px"%3E%3Cpath d="M7 10l5 5 5-5z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 16px;
    cursor: pointer;
    outline: none;
    width: 250px
}

.nll-product-related-widget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px
}

.nll-product-related-card {
    background-color: #F2F2F7aa;
    border-radius: 24px;
    overflow: hidden;
    text-align: center;
    padding: 16px;
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative
}

.nll-product-related-image-container {
    position: relative;
    margin-bottom: 12px
}

.nll-product-related-image-container img {
    width: 100%;
    height: 200px !important;
    border-radius: 16px !important;
    object-fit: cover;
    display: block
}

.nll-product-related-card-badges {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    z-index: 1
}

.nll-badge {
    background-color: #404040;
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: .8
}

.nll-product-related-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    text-align: right;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.nll-product-related-card h3 a {
    text-decoration: none !important;
}

.nll-product-related-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    color: #8C8C8C;
    font-size: 14px;
    font-weight: 600
}

.nll-meta-item {
    display: flex;
    align-items: center;
    gap: 5px
}

.nll-meta-item img {
    width: 25px;
    height: 25px;
    margin-left: 5px;
    vertical-align: middle;
    display: inline-block;
    object-fit: contain
}

.nll-product-related-card-instructor {
    font-size: 15px;
    color: #777;
    margin-bottom: 10px;
    text-align: right;
}

.nll-instructor {
    font-size: 16px;
    color: #000;
    font-weight: 600;
    line-height: 1.5;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.nll-product-related-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px
}

.nll-product-related-card-price {
    font-size: 16px;
    color: #383C79;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.nll-product-related-card-price .regular-price {
    color: #8C8C8C;
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 400;
}

.nll-product-related-card-price .sale-price {
    color: #383C79;
    font-size: 16px;
    font-weight: 700;
}

.nll-product-related-card-price .discount-badge {
    background-color: #FFD700;
    color: #000;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    margin-right: 8px;
}

.nll-product-related-card-button {
    display: inline-block;
    background-color: #383C79;
    color: #fff !important;
    padding: 5px 20px;
    border-radius: 12px;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: 700;
    transition: background-color .3s ease
}

.nll-product-related-card-button:hover {
    background-color: #2c2f6b
}

.nll-product-related-card a {
    text-decoration: none;
    color: inherit
}

.nll-show-more-button {
    padding: 12px 16px;
    font-size: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #D9D9D9;
    text-decoration: none !important;
    color: #383C79 !important;
    margin: 30px auto;
    display: block;
    text-align: center;
    width: fit-content
}

.nll-post-swiper-item {
    margin: 10px
}

@media screen and (max-width: 1024px) {
    .nll-product-related-card h3 {
        font-size: 18px;
    }

    .nll-related-product-title {
        font-size: 18px;
    }

    .nll-product-related-widget-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media screen and (max-width: 768px) {
    .nll-product-related-widget-grid {
        grid-template-columns: 1fr
    }

    .nll-product-related-widget-header {
        flex-direction: column;
        gap: 15px;
        text-align: center
    }

    .nll-product-related-widget-header .nll-product-related-widget-title {
        font-size: 32px
    }

    .nll-product-related-widget-header .nll-product-related-widget-dropdown {
        width: 100%;
        max-width: 300px
    }
}