.xtrim-testimonial-owl {
    position: relative;
}
.xtrim-testimonial-item .testimonial-img img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.xtrim-testimonial-item .item-test {
    transition: transform 0.3s ease, opacity 0.3s ease;
    background-color: #ffffff;
    border-color: #e9d5ff;
}
.xtrim-testimonial-item .item-test:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.xtrim-testimonial-owl .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e9d5ff;
    color: #7c3aed;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 0;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.08);
}
.xtrim-testimonial-owl .owl-nav button svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: currentColor;
    text-indent: 0;
}
.xtrim-testimonial-owl .owl-nav button.owl-prev {
    left: -25px;
}
.xtrim-testimonial-owl .owl-nav button.owl-next {
    right: -25px;
}
.xtrim-testimonial-owl .owl-nav button:hover {
    background: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
    transform: translateY(-50%) scale(1.05);
}
.xtrim-testimonial-owl .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    transition: transform 0.2s ease, opacity 0.2s ease;
    background: rgba(124, 58, 237, 0.2);
    display: inline-block;
}
.xtrim-testimonial-owl .owl-nav.disabled,
.xtrim-testimonial-owl .owl-dots.disabled {
    display: flex;
}
@media (max-width: 1024px) {
    .xtrim-testimonial-owl .owl-nav button.owl-prev { left: -20px; }
    .xtrim-testimonial-owl .owl-nav button.owl-next { right: -20px; }
    .xtrim-testimonial-owl .owl-nav button { width: 40px; height: 40px; }
}
@media (max-width: 768px) {
    .xtrim-testimonial-owl .owl-nav button.owl-prev { left: 5px; }
    .xtrim-testimonial-owl .owl-nav button.owl-next { right: 5px; }
    .xtrim-slider-wrapper .owl-dots {
        display: none;
    }
}
body.dark-mode .xtrim-testimonial-item .item-test,
body.dark .xtrim-testimonial-item .item-test,
[data-theme="dark"] .xtrim-testimonial-item .item-test,
.dark-theme .xtrim-testimonial-item .item-test {
    background-color: #1e1135;
    border-color: #3b0764;
}
body.dark-mode .xtrim-testimonial-item .card-title,
body.dark .xtrim-testimonial-item .card-title,
[data-theme="dark"] .xtrim-testimonial-item .card-title,
.dark-theme .xtrim-testimonial-item .card-title {
    color: #f3e8ff;
}
body.dark-mode .xtrim-testimonial-item .cart-text,
body.dark .xtrim-testimonial-item .cart-text,
[data-theme="dark"] .xtrim-testimonial-item .cart-text,
.dark-theme .xtrim-testimonial-item .cart-text {
    color: #ddd6fe;
}
body.dark-mode .xtrim-testimonial-item .card-text,
body.dark .xtrim-testimonial-item .card-text,
[data-theme="dark"] .xtrim-testimonial-item .card-text,
.dark-theme .xtrim-testimonial-item .card-text {
    color: #a78bfa;
}
body.dark-mode .xtrim-testimonial-item .testimonial-img img,
body.dark .xtrim-testimonial-item .testimonial-img img,
[data-theme="dark"] .xtrim-testimonial-item .testimonial-img img,
.dark-theme .xtrim-testimonial-item .testimonial-img img {
    border-color: #1e1135;
}
body.dark-mode .xtrim-testimonial-owl .owl-nav button,
body.dark .xtrim-testimonial-owl .owl-nav button,
[data-theme="dark"] .xtrim-testimonial-owl .owl-nav button,
.dark-theme .xtrim-testimonial-owl .owl-nav button {
    background-color: #2e1065;
    color: #f3e8ff;
}
body.dark-mode .xtrim-testimonial-owl .owl-nav button:hover,
body.dark .xtrim-testimonial-owl .owl-nav button:hover,
[data-theme="dark"] .xtrim-testimonial-owl .owl-nav button:hover,
.dark-theme .xtrim-testimonial-owl .owl-nav button:hover {
    background-color: #a78bfa;
    color: #1e1135;
}
body.dark-mode .xtrim-testimonial-owl .owl-dots .owl-dot span,
body.dark .xtrim-testimonial-owl .owl-dots .owl-dot span,
[data-theme="dark"] .xtrim-testimonial-owl .owl-dots .owl-dot span,
.dark-theme .xtrim-testimonial-owl .owl-dots .owl-dot span {
    background-color: #2e1065;
}
.xtrim-testimonial-owl .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0;
    border-radius: 50%;
    transition: transform 0.2s ease, opacity 0.2s ease;
    background: rgba(124, 58, 237, 0.2);
    display: inline-block;
}
.xtrim-testimonial-owl .owl-dots,
.xtrim-testimonial-owl .owl-dots .owl-dot.active span {
    display: none;
}

.xtrim-testimonial-tabs-wrapper {
    direction: rtl !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 24px !important;
    align-items: stretch !important;
    width: 100% !important;
}

.xtrim-test-tabs-content-side {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    background-color: #ffffff;
    border: 1px solid #e9d5ff;
    border-radius: 16px;
    padding: 28px !important;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.xtrim-test-tab-panel {
    display: none;
}
.xtrim-test-tab-panel.xtrim-active {
    display: block;
}
.xtrim-test-tab-panel .card-title {
    color: #2e1065;
    font-size: 22px;
}
.xtrim-test-tab-panel .cart-text {
    color: #6b21a8;
    font-size: 16px;
}

.xtrim-test-tabs-nav-side {
    width: 360px !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
}

.xtrim-testimonial-tabs-outer[data-vert-nav="no"] .xtrim-test-tabs-nav-side {
    width: 360px !important;
    max-width: 100% !important;
}

.xtrim-testimonial-tabs-outer[data-vert-nav="no"] .xtrim-test-vertical-nav {
    display: none !important;
}

.xtrim-test-tabs-list {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-height: 420px !important;
    overflow-y: auto !important;
    padding-inline-end: 6px !important;
    scroll-behavior: smooth;
}

.xtrim-testimonial-tabs-outer[data-scrollbar="no"] .xtrim-test-tabs-list {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.xtrim-testimonial-tabs-outer[data-scrollbar="no"] .xtrim-test-tabs-list::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}
.xtrim-testimonial-tabs-outer[data-scrollbar="no"] .xtrim-test-tabs-list::-webkit-scrollbar-thumb,
.xtrim-testimonial-tabs-outer[data-scrollbar="no"] .xtrim-test-tabs-list::-webkit-scrollbar-track {
    display: none !important;
    background: transparent !important;
}

.xtrim-test-tabs-list::-webkit-scrollbar {
    width: 5px;
}
.xtrim-test-tabs-list::-webkit-scrollbar-track {
    background: rgba(124, 58, 237, 0.05);
    border-radius: 10px;
}
.xtrim-test-tabs-list::-webkit-scrollbar-thumb {
    background: #7c3aed;
    border-radius: 10px;
}

.xtrim-test-tab-card {
    background-color: #ffffff;
    border: 1px solid #e9d5ff;
    border-radius: 16px;
    padding: 16px !important;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.xtrim-test-tab-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.06);
    border-color: #7c3aed;
}
.xtrim-test-tab-card.xtrim-active {
    border-color: #7c3aed;
    border-inline-end: 4px solid #7c3aed;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.1);
    background-color: #f9f5ff;
}
.xtrim-testimonial-tabs-outer[data-active-line="no"] .xtrim-test-tab-card.xtrim-active {
    border-inline-end-width: 1px !important;
}

.xtrim-test-vertical-nav {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.xtrim-test-nav-btn {
    width: 44px;
    height: 44px;
    border: 1px solid #e9d5ff;
    background-color: #f3e8ff;
    color: #7c3aed;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.05);
}
.xtrim-test-nav-btn:hover {
    background-color: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}

@media (max-width: 991px) {
    .xtrim-testimonial-tabs-wrapper {
        flex-direction: column-reverse !important;
        gap: 20px !important;
    }
    .xtrim-test-tabs-nav-side {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column-reverse !important;
        gap: 16px !important;
    }
    .xtrim-test-tabs-list {
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        max-height: none !important;
        width: 100% !important;
        padding-bottom: 8px !important;
    }
    .xtrim-test-tab-card {
        flex-shrink: 0 !important;
        width: 280px !important;
    }
    .xtrim-test-vertical-nav {
        flex-direction: row !important;
        justify-content: center !important;
        width: 100% !important;
    }
}

body.dark-mode .xtrim-test-tabs-content-side,
body.dark .xtrim-test-tabs-content-side,
[data-theme="dark"] .xtrim-test-tabs-content-side,
.dark-theme .xtrim-test-tabs-content-side {
    background-color: #1e1135;
    border-color: #3b0764 !important;
}
body.dark-mode .xtrim-test-tab-panel .card-title,
body.dark .xtrim-test-tab-panel .card-title,
[data-theme="dark"] .xtrim-test-tab-panel .card-title,
.dark-theme .xtrim-test-tab-panel .card-title {
    color: #f3e8ff;
}
body.dark-mode .xtrim-test-tab-panel .cart-text,
body.dark .xtrim-test-tab-panel .cart-text,
[data-theme="dark"] .xtrim-test-tab-panel .cart-text,
.dark-theme .xtrim-test-tab-panel .cart-text {
    color: #ddd6fe;
}
body.dark-mode .xtrim-test-tab-card,
body.dark .xtrim-test-tab-card,
[data-theme="dark"] .xtrim-test-tab-card,
.dark-theme .xtrim-test-tab-card {
    background-color: #1e1135;
    border-color: #3b0764 !important;
}
body.dark-mode .xtrim-test-tab-card:hover,
body.dark .xtrim-test-tab-card:hover,
[data-theme="dark"] .xtrim-test-tab-card:hover,
.dark-theme .xtrim-test-tab-card:hover {
    border-color: #a78bfa !important;
}
body.dark-mode .xtrim-test-tab-card.xtrim-active,
body.dark .xtrim-test-tab-card.xtrim-active,
[data-theme="dark"] .xtrim-test-tab-card.xtrim-active,
.dark-theme .xtrim-test-tab-card.xtrim-active {
    background-color: #2e1065;
    border-color: #a78bfa !important;
}
body.dark-mode .xtrim-test-nav-btn,
body.dark .xtrim-test-nav-btn,
[data-theme="dark"] .xtrim-test-nav-btn,
.dark-theme .xtrim-test-nav-btn {
    background-color: #2e1065;
    border-color: #3b0764;
    color: #a78bfa;
}
body.dark-mode .xtrim-test-nav-btn:hover,
body.dark .xtrim-test-nav-btn:hover,
[data-theme="dark"] .xtrim-test-nav-btn:hover,
.dark-theme .xtrim-test-nav-btn:hover {
    background-color: #a78bfa;
    color: #1e1135;
    border-color: #a78bfa;
}
body.dark-mode .xtrim-test-tabs-list::-webkit-scrollbar-track,
body.dark .xtrim-test-tabs-list::-webkit-scrollbar-track,
[data-theme="dark"] .xtrim-test-tabs-list::-webkit-scrollbar-track,
.dark-theme .xtrim-test-tabs-list::-webkit-scrollbar-track {
    background: rgba(167, 139, 250, 0.05);
}
body.dark-mode .xtrim-test-tabs-list::-webkit-scrollbar-thumb,
body.dark .xtrim-test-tabs-list::-webkit-scrollbar-thumb,
[data-theme="dark"] .xtrim-test-tabs-list::-webkit-scrollbar-thumb,
.dark-theme .xtrim-test-tabs-list::-webkit-scrollbar-thumb {
    background: #a78bfa;
}