/* =================== اسلایدر میله‌ای =================== */

.cw-ms-slider {
    position: relative;
    display: flex;
    align-items: center;
    height: 550px;
    direction: rtl;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    user-select: none;
}

.cw-ms-track {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 10px;
    overflow: hidden;
}

/* ── individual slide ─────────────────────────────────────────────── */

.cw-ms-slide {
    --cw-ms-w:  70px;
    --cw-ms-ow: 350px;
    position: relative;
    flex: 0 0 auto;
    min-width: var(--cw-ms-w);
    max-width: var(--cw-ms-w);
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: min-width 0.6s cubic-bezier(0.4,0,0.2,1),
                max-width 0.6s cubic-bezier(0.4,0,0.2,1),
                filter 0.4s ease,
                transform 0.4s ease;
    animation: cwMsIn 0.8s ease forwards;
    opacity: 0;
}

/* Overlay — default purple tint so slides have color even without bg image */
.cw-ms-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(75,0,130,0.85);
    z-index: 1;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

/* bg image layer */
.cw-ms-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    z-index: 0;
}

/* content layer */
.cw-ms-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 16px;
    color: #fff;
    overflow: hidden;
}

/* absolute link covers whole slide */
.cw-ms-link {
    position: absolute;
    inset: 0;
    z-index: 10;
}

/* title — vertical in closed, horizontal in open */
.cw-ms-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    transition: all 0.5s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

/* slide body (nested drag-drop zone) */
.cw-ms-slide-body {
    width: 100%;
    flex: 1 1 auto;
    min-height: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
    pointer-events: none;
    margin-top: 0;
    overflow: visible;
}

/* In editor, show drop-zone only for the open slide */
.elementor-editor-active .cw-ms-slide.is-open .cw-ms-slide-body,
.elementor-editor-preview .cw-ms-slide.is-open .cw-ms-slide-body {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    min-height: 150px;
}

/* In editor: hide link overlay so drag-drop and nested element clicks work */
.elementor-editor-active .cw-ms-link,
.elementor-editor-preview .cw-ms-link {
    display: none;
}

/* In editor: allow clicking to open slides (JS handles this) */
.elementor-editor-active .cw-ms-slide,
.elementor-editor-preview .cw-ms-slide {
    cursor: pointer;
}

/* In editor: opened slide title goes horizontal */
.elementor-editor-active .cw-ms-slide.is-open .cw-ms-title,
.elementor-editor-preview .cw-ms-slide.is-open .cw-ms-title {
    writing-mode: horizontal-tb;
    font-size: 20px;
    letter-spacing: 2px;
}

/* center box */
.cw-ms-center-box {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}

.cw-ms-circle {
    width: 110px; height: 110px;
    background: #5B0090;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(75,0,130,0.6);
    border: 4px solid #D4AF37;
}
.cw-ms-circle i, .cw-ms-circle svg {
    color: #D4AF37; fill: #D4AF37;
    font-size: 50px; width: 50px; height: 50px;
}
.cw-ms-center-name { text-align: center; }
.cw-ms-center-name h2 {
    font-size: 32px; font-weight: 900; color: #D4AF37;
    letter-spacing: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    margin: 0;
}
.cw-ms-center-name span {
    display: block; font-size: 11px; color: #D4AF37;
    letter-spacing: 4px; margin-top: 8px;
}

/* ── Open state ──────────────────────────────────────────────────── */

.cw-ms-slide.is-open {
    min-width: var(--cw-ms-ow);
    max-width: var(--cw-ms-ow);
    z-index: 10;
}

.cw-ms-slide.is-open::before {
    opacity: 0.5;
}

.cw-ms-slide.is-open .cw-ms-title {
    writing-mode: horizontal-tb;
    font-size: 26px;
    letter-spacing: 4px;
    margin-bottom: 0;
    align-self: flex-start;
}

.cw-ms-slide.is-open .cw-ms-img {
    transform: scale(1.1);
}

.cw-ms-slide.is-open .cw-ms-slide-body {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    min-height: 80px;
}

.cw-ms-slide.is-open .cw-ms-center-box {
    opacity: 1;
}

/* ── Dim non-open slides when one is open ─────────────────────────── */

.cw-ms-slider.has-open .cw-ms-slide:not(.is-open) {
    filter: brightness(0.7);
}

/* ── Arrows ──────────────────────────────────────────────────────── */

.cw-ms-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(75,0,130,0.7);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: none; /* hidden by default; JS shows when needed */
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.cw-ms-arrow:hover { background: rgba(75,0,130,1); }

.cw-ms-arrow-prev { right: 6px; }
.cw-ms-arrow-next { left: 6px; }

/* arrows visible when slider mode active */
.cw-ms-slider.cw-ms-arrows-active .cw-ms-arrow { display: flex; }

/* ── Animations ──────────────────────────────────────────────────── */

.cw-ms-slide:nth-child(1) { animation-delay: 0.1s; }
.cw-ms-slide:nth-child(2) { animation-delay: 0.15s; }
.cw-ms-slide:nth-child(3) { animation-delay: 0.2s; }
.cw-ms-slide:nth-child(4) { animation-delay: 0.25s; }
.cw-ms-slide:nth-child(5) { animation-delay: 0.3s; }
.cw-ms-slide:nth-child(6) { animation-delay: 0.35s; }
.cw-ms-slide:nth-child(7) { animation-delay: 0.4s; }
.cw-ms-slide:nth-child(8) { animation-delay: 0.45s; }

@keyframes cwMsIn {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}



/* ── Mobile ──────────────────────────────────────────────────────── */

@media (max-width: 767px) {
    .cw-ms-slider { height: auto; }

    .cw-ms-track {
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        overflow: visible;
    }

    .cw-ms-slide {
        min-width: unset !important;
        max-width: unset !important;
        width: 100%;
        height: 64px;
        flex: 0 0 auto;
    }

    .cw-ms-slide.is-open {
        height: 320px;
    }

    .cw-ms-title {
        writing-mode: horizontal-tb !important;
        font-size: 16px !important;
        letter-spacing: 1px;
    }

    /* slider mode on mobile: horizontal strip */
    .cw-ms-slider.cw-ms-mob-active .cw-ms-track {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        flex-wrap: nowrap;
        height: 300px;
        align-items: stretch;
    }

    .cw-ms-slider.cw-ms-mob-active .cw-ms-slide {
        flex: 0 0 200px;
        min-width: 200px !important;
        max-width: 200px !important;
        height: 100% !important;
    }
}

/* =================== اسلایدر ورقه‌ای =================== */
.cw-ps-slider {
    --w: 300px;
    --h: 400px;
    --shift: 240px;
    --scale: 0.8;
    --opacity: 0.6;
    --radius: 20px;
    --trans: 0.6s;
    --nav: 46px;
    
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    direction: ltr;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

.cw-ps-viewport {
    position: relative;
    height: var(--h);
    perspective: 1200px;
}

.cw-ps-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.cw-ps-card {
    position: absolute;
    left: 50%;
    width: var(--w);
    height: var(--h);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all var(--trans) ease-in-out;
}

.cw-ps-scroll {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    direction: rtl;
}

.cw-ps-scroll::-webkit-scrollbar {
    width: 5px;
}

.cw-ps-scroll::-webkit-scrollbar-thumb {
    background: #A50E3B;
    border-radius: 10px;
}

.cw-ps-scroll img {
    width: 100%;
    height: auto;
    display: block;
}

.cw-ps-label {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    direction: rtl;
    z-index: 10;
}

.cw-ps-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--nav);
    height: var(--nav);
    border-radius: 50%;
    background: #A50E3B;
    border: none;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: background 0.3s;
}

.cw-ps-nav svg {
    fill: #fff;
    width: 100%;
    height: 100%;
}

.cw-ps-prev { left: 10px; }
.cw-ps-next { right: 10px; }

.cw-ps-card[data-pos="0"] {
    z-index: 10;
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.cw-ps-card[data-pos="1"] {
    z-index: 5;
    transform: translateX(-50%) translateX(var(--shift)) scale(var(--scale));
    opacity: var(--opacity);
}

.cw-ps-card[data-pos="-1"] {
    z-index: 5;
    transform: translateX(-50%) translateX(calc(-1 * var(--shift))) scale(var(--scale));
    opacity: var(--opacity);
}

.cw-ps-card[data-pos="x"] {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(0.5);
}

@media (max-width: 768px) {
    .cw-ps-slider {
        --w: 240px;
        --h: 400px;
        --shift: 130px;
        --nav: 38px;
    }
    
    .cw-ps-prev { left: 5px; }
    .cw-ps-next { right: 5px; }
}

@media (max-width: 480px) {
    .cw-ps-slider {
        --w: 200px;
        --h: 320px;
        --shift: 100px;
        --nav: 32px;
    }
}

/* =================== اسلایدر کانتینری =================== */
.cw-cs,
.cw-cs * {
    box-sizing: border-box;
}

.cw-cs {
    --cw-cs-gap: 24px;
    --cw-cs-per-page: 4;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    direction: rtl;
}

.cw-cs-viewport {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.cw-cs-track {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--cw-cs-gap);
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.cw-cs-item {
    flex: 0 1 auto;
    max-width: 100%;
    min-width: 0;
    animation: cwCsFadeIn 0.25s ease both;
}

.cw-cs-item[hidden] {
    display: none !important;
}

.cw-cs-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.cw-cs-card-link:hover,
.cw-cs-card-link:focus {
    color: inherit;
    text-decoration: none;
}

.cw-cs-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 210px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: right;
    overflow: hidden;
}

.cw-cs-icon-wrap {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 0 24px 0;
}

.cw-cs-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #F0EEFF;
    color: #6C55FF;
    line-height: 1;
}

.cw-cs-icon i,
.cw-cs-icon svg {
    display: block;
    width: 28px;
    height: 28px;
    font-size: 28px;
    color: currentColor;
    fill: currentColor;
}

.cw-cs-title {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 0 14px 0;
    color: #121044;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: normal;
}

.cw-cs-text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: #4B5563;
    font-size: 15px;
    line-height: 2;
    overflow-wrap: break-word;
    word-break: normal;
}

.cw-cs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    direction: rtl;
    margin-top: 30px;
    width: 100%;
}

.cw-cs-nav-before .cw-cs-nav {
    margin-top: 0;
    margin-bottom: 30px;
}

.cw-cs-nav-overlay .cw-cs-nav {
    position: absolute;
    inset-inline: 0;
    bottom: 24px;
    z-index: 5;
    margin: 0;
    pointer-events: none;
}

.cw-cs-nav-overlay .cw-cs-btn {
    pointer-events: auto;
}

.cw-cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #6C55FF;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cw-cs-btn:hover {
    background: #4F37E8;
}

.cw-cs-btn i,
.cw-cs-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: currentColor;
    fill: currentColor;
}

.cw-cs-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@keyframes cwCsFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .cw-cs {
        --cw-cs-per-page: 1;
    }

    .cw-cs-track {
        justify-content: stretch;
    }
}

/* =================== اسلایدر مراحل داینامیک =================== */
.cw-ds,
.cw-ds * {
    box-sizing: border-box;
}

.cw-ds {
    --cw-ds-media-width: 45%;
    --cw-ds-content-width: 55%;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    direction: rtl;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

.cw-ds-layout {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, var(--cw-ds-media-width)) minmax(0, var(--cw-ds-content-width));
    grid-template-areas: "media content";
    align-items: center;
    direction: ltr;
}

.cw-ds[data-image-position="right"] .cw-ds-layout {
    grid-template-columns: minmax(0, var(--cw-ds-content-width)) minmax(0, var(--cw-ds-media-width));
    grid-template-areas: "content media";
}

.cw-ds-content-col {
    grid-area: content;
    min-width: 0;
    width: 100%;
}

.cw-ds-media-col {
    grid-area: media;
    min-width: 0;
    width: 100%;
}

.cw-ds[dir="rtl"] .cw-ds-content-col,
.cw-ds[dir="rtl"] .cw-ds-media-col,
.cw-ds[dir="rtl"] .cw-ds-header,
.cw-ds[dir="rtl"] .cw-ds-tabs,
.cw-ds[dir="rtl"] .cw-ds-copy-item,
.cw-ds[dir="rtl"] .cw-ds-media-caption,
.cw-ds[dir="rtl"] .cw-ds-custom-area {
    direction: rtl;
}

.cw-ds[dir="ltr"] .cw-ds-content-col,
.cw-ds[dir="ltr"] .cw-ds-media-col,
.cw-ds[dir="ltr"] .cw-ds-header,
.cw-ds[dir="ltr"] .cw-ds-tabs,
.cw-ds[dir="ltr"] .cw-ds-copy-item,
.cw-ds[dir="ltr"] .cw-ds-media-caption,
.cw-ds[dir="ltr"] .cw-ds-custom-area {
    direction: ltr;
}

.cw-ds-header {
    margin-bottom: 20px;
}

.cw-ds-main-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.45;
    color: #17134D;
}

.cw-ds-main-subtitle {
    font-size: 14px;
    line-height: 2;
    color: #6B7280;
}

.cw-ds-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 24px;
    direction: inherit;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

.cw-ds-pagination-extra {
    margin-inline-start: auto;
    min-width: 0;
}

.cw-ds-pagination-extra-content {
    min-width: 0;
}

.cw-ds-pagination-extra-content > .e-con,
.cw-ds-pagination-extra-content > .elementor-element {
    width: auto;
    max-width: 100%;
}

.elementor-editor-active .cw-ds-pagination-extra-content:empty,
.elementor-editor-preview .cw-ds-pagination-extra-content:empty {
    min-width: 120px;
    min-height: 40px;
    border: 1px dashed #cfd6df;
    border-radius: 10px;
}

.cw-ds-tab,
.cw-ds-mobile-step {
    border: 0;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.22s ease;
    font-family: inherit;
    line-height: 1.2;
}

.cw-ds-tab {
    min-height: 36px;
    background: #F5F4FF;
    color: #6B7280;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
}

.cw-ds-tab.is-active {
    background: #6652FF;
    color: #fff;
}

.cw-ds-tab:hover,
.cw-ds-mobile-step:hover {
    transform: translateY(-1px);
}

.cw-ds-mobile-steps {
    display: none;
    position: relative;
    align-items: center;
    justify-content: safe center;
    flex-wrap: nowrap;
    margin-bottom: 28px;
    direction: rtl;
    overflow-x: auto;
    padding: 2px 0;
    scrollbar-width: none;
}

.cw-ds-mobile-steps::-webkit-scrollbar {
    display: none;
}

.cw-ds-mobile-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    right: 28px;
    top: 50%;
    height: 2px;
    background: #D9D4FF;
    transform: translateY(-50%);
    z-index: 0;
}

.cw-ds-mobile-step {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #EAE7FF;
    color: #6652FF;
    font-size: 18px;
    font-weight: 800;
}

.cw-ds-mobile-step.is-active {
    background: #6652FF;
    color: #fff;
}

.cw-ds-copy-wrap {
    position: relative;
    min-width: 0;
}

.cw-ds-copy-item {
    display: none;
    flex-direction: column;
    gap: 12px;
    animation: cwDsFadeIn 0.24s ease both;
}

.cw-ds-copy-item.is-active {
    display: flex;
}

.cw-ds-slide-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.55;
    color: #17134D;
}

.cw-ds-slide-text {
    font-size: 16px;
    line-height: 2.1;
    color: #6B7280;
}

.cw-ds-custom-area {
    width: 100%;
    min-width: 0;
    margin: 24px 0;
}

.cw-ds-custom-content {
    width: 100%;
    min-width: 0;
}

.cw-ds-custom-content > .e-con,
.cw-ds-custom-content > .elementor-element {
    width: 100%;
    max-width: 100%;
}

.cw-ds-fallback-note {
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff6d8;
    color: #7a5800;
    font-size: 13px;
    line-height: 1.8;
}

.cw-ds-media-stage {
    position: relative;
    width: 100%;
    min-width: 0;
}

.cw-ds-media-item {
    display: none;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    gap: 16px;
    animation: cwDsFadeIn 0.28s ease both;
}

.cw-ds-media-item.is-active {
    display: flex;
}

.cw-ds-media-caption {
    width: 100%;
    direction: inherit;
}

.cw-ds-media-title {
    margin: 0 0 8px;
    color: #17134D;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.6;
}

.cw-ds-media-text {
    color: #6B7280;
    font-size: 14px;
    line-height: 2;
}

.cw-ds-image {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

@keyframes cwDsFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .cw-ds-layout,
    .cw-ds[data-image-position="right"] .cw-ds-layout {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        grid-template-areas: none;
        gap: var(--cw-ds-mobile-content-image-gap, 16px) !important;
        direction: inherit;
    }

    .cw-ds-content-col,
    .cw-ds-media-col {
        width: 100%;
    }

    .cw-ds:not(.cw-ds-mobile-header-on) .cw-ds-header {
        display: none;
    }

    .cw-ds-tabs {
        display: none;
    }

    .cw-ds-pagination-extra {
        display: none;
    }

    .cw-ds-mobile-steps {
        display: flex;
        order: 1;
        width: 100%;
    }

    .cw-ds-copy-wrap {
        order: 2;
        width: 100%;
    }

    .cw-ds-custom-area {
        order: 3;
        width: 100%;
        margin-top: var(--cw-ds-mobile-custom-area-gap, 0) !important;
        margin-bottom: var(--cw-ds-mobile-custom-area-gap, 0) !important;
    }

    .cw-ds-mobile-hide-custom-area .cw-ds-custom-area {
        display: none !important;
    }

    body:not(.elementor-editor-active) .cw-ds-custom-content:empty {
        display: none !important;
    }

    @supports selector(:has(*)) {
        body:not(.elementor-editor-active) .cw-ds-custom-area:has(.cw-ds-custom-content:empty),
        body:not(.elementor-editor-active) .cw-ds-custom-area:has(.cw-ds-custom-content > .e-con:empty),
        body:not(.elementor-editor-active) .cw-ds-custom-area:has(.cw-ds-custom-content > .elementor-element:empty) {
            display: none !important;
        }
    }

    .cw-ds-media-col {
        order: 4;
    }

    .cw-ds-content-col {
        display: flex;
        flex-direction: column;
    }

    .cw-ds-slide-title {
        font-size: 24px;
        text-align: center;
    }

    .cw-ds-slide-text {
        font-size: 16px;
        line-height: 2.05;
        text-align: center;
    }

    .cw-ds-media-item {
        align-items: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   CW Tab Grid — گرید با تب موبایل
   ═══════════════════════════════════════════════════════════════════ */

.cw-tg-wrap {
    direction: rtl;
}

/* ── Grid (desktop) ─────────────────────────────────────────────── */

.cw-tg-grid {
    display: grid;
    grid-template-columns: repeat(var(--cw-tg-cols, 3), 1fr);
    gap: 24px;
    align-items: stretch;
}

.cw-tg-panel {
    min-width: 0;
    min-height: 0;
}

/* ── Tab strip (hidden on desktop) ─────────────────────────────── */

.cw-tg-tabs {
    display: none;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 20px;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

.cw-tg-tabs::-webkit-scrollbar {
    display: none;
}

.cw-tg-tab {
    flex: 0 0 auto;
    padding: 8px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    transition: all 0.22s ease;
    outline: none;
    appearance: none;
}

.cw-tg-tab.is-active {
    background: #6652FF;
    color: #fff;
    border-color: #6652FF;
}

.cw-tg-tab:hover {
    opacity: 0.85;
}

/* ── Mobile: tab mode ───────────────────────────────────────────── */
/* JS adds this class; CSS handles show/hide of panels */

@media (max-width: 767px) {
    .cw-tg-has-tabs .cw-tg-tabs {
        display: flex;
    }

    .cw-tg-has-tabs .cw-tg-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .cw-tg-has-tabs .cw-tg-panel {
        display: none;
    }

    .cw-tg-has-tabs .cw-tg-panel.is-active {
        display: block;
    }
}

/* =================== معرفی محصولات =================== */

.cw-hc-map {
    position: relative;
    width: 100%;
    max-width: 100%;
    direction: rtl;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    --cw-hc-line-secondary: #ffffff;
    --cw-hc-line-base: #ffd1dd;
    --cw-hc-line-flow: #ff4774;
    --cw-hc-line-flow-edge: #ffffff;
    --cw-hc-line-dash: 6;
    --cw-hc-line-gap: 8;
    --cw-hc-line-secondary-dash: 6.6;
    --cw-hc-line-secondary-gap: 8.8;
    --cw-hc-line-flow-length: 18;
    --cw-hc-line-flow-gap: 82;
    --cw-hc-line-speed: 7s;
    --cw-hc-line-secondary-opacity: .95;
    --cw-hc-line-base-opacity: .85;
    --cw-hc-line-flow-edge-opacity: .85;
    --cw-hc-ratio-w: 1000;
    --cw-hc-ratio-h: 820;
    --cw-hc-scale-ref: 620;
    --cw-hc-scale: 1;
    --cw-hc-center-w-base: 180px;
    --cw-hc-center-h-base: 180px;
    --cw-hc-item-w-base: 114px;
    --cw-hc-item-h-base: 114px;
    --cw-hc-center-visual-base: 92px;
    --cw-hc-item-visual-base: 36px;
}

.cw-hc-stage {
    position: relative;
    width: 100%;
    height: 680px;
    min-height: 320px;
    overflow: visible;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 50%, rgba(232, 226, 255, .55) 0%, rgba(244, 246, 255, .28) 28%, rgba(255, 255, 255, 0) 66%);
}

.cw-hc-map.cw-hc-mobile-safe,
.cw-hc-map.cw-hc-mobile-safe .cw-hc-stage {
    overflow: hidden;
}

.cw-hc-canvas {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    overflow: visible;
    will-change: transform;
}

.cw-hc-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.cw-hc-line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: miter;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.cw-hc-line-secondary {
    stroke: var(--cw-hc-line-secondary);
    stroke-dasharray: var(--cw-hc-line-secondary-dash) var(--cw-hc-line-secondary-gap);
    opacity: var(--cw-hc-line-secondary-opacity);
}

.cw-hc-line-base {
    stroke: var(--cw-hc-line-base);
    stroke-dasharray: var(--cw-hc-line-dash) var(--cw-hc-line-gap);
    opacity: var(--cw-hc-line-base-opacity);
}

.cw-hc-route-tablet,
.cw-hc-route-mobile {
    display: none;
}

.cw-hc-route-desktop {
    display: inline;
}

.cw-hc-line-flow {
    stroke: var(--cw-hc-line-flow);
    stroke-dasharray:
        calc(var(--cw-hc-line-dash) * .95) calc(var(--cw-hc-line-gap) * .8)
        calc(var(--cw-hc-line-dash) * .95) calc(var(--cw-hc-line-gap) * .8)
        calc(var(--cw-hc-line-dash) * .95) calc(var(--cw-hc-line-gap) * .8)
        var(--cw-hc-line-flow-length) var(--cw-hc-line-flow-gap);
    stroke-dashoffset: 0;
    opacity: .95;
    animation: cwHcFlow var(--cw-hc-line-speed) linear infinite;
}

@keyframes cwHcFlow {
    0% { stroke-dashoffset: 0; opacity: .12; }
    14% { opacity: .96; }
    58% { opacity: .92; }
    100% { stroke-dashoffset: calc(-1 * (var(--cw-hc-line-flow-length) + var(--cw-hc-line-flow-gap))); opacity: .1; }
}

.cw-hc-route:nth-child(2n) .cw-hc-line-flow {
    animation-duration: calc(var(--cw-hc-line-speed) * 1.18);
}

.cw-hc-route:nth-child(3n) .cw-hc-line-flow {
    animation-duration: calc(var(--cw-hc-line-speed) * .88);
}

.cw-hc-center,
.cw-hc-item {
    position: absolute;
    z-index: 3;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: stretch;
    justify-content: center;
    will-change: transform;
}

.cw-hc-center {
    left: 50%;
    top: 50%;
    width: 180px;
    height: 180px;
    border-radius: 28px;
}

.cw-hc-center::before,
.cw-hc-item::before {
    content: '';
    position: absolute;
    inset: 12px -12px -12px 12px;
    z-index: -1;
    border-radius: inherit;
    background: #edf0ff;
    opacity: .92;
    transition: opacity .25s ease;
}

.cw-hc-center-shadow-on.cw-hc-map .cw-hc-center,
.cw-hc-item-shadow-on.cw-hc-map .cw-hc-item {
    box-shadow: 0 22px 45px rgba(53, 42, 101, .08);
}

.cw-hc-map:not(.cw-hc-center-shadow-on) .cw-hc-center::before,
.cw-hc-map:not(.cw-hc-item-shadow-on) .cw-hc-item::before {
    opacity: 0;
}

.cw-hc-center-inner,
.cw-hc-item-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: #fff;
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.cw-hc-center-inner {
    border: 1px solid #fadce4;
    padding: 10px;
}

.cw-hc-item-inner {
    border: 0 solid transparent;
    padding: 15px 12px;
    gap: 10px;
}

.cw-hc-visual {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
    color: currentColor;
}

.cw-hc-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cw-hc-visual svg,
.cw-hc-visual i {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.cw-hc-center .cw-hc-visual {
    width: 92px;
    height: 92px;
    font-size: 92px;
    color: #e51d55;
}

.cw-hc-item {
    left: var(--cw-hc-x, 50%);
    top: var(--cw-hc-y, 50%);
    left: clamp(calc(var(--cw-hc-item-w-base) / 2), var(--cw-hc-x, 50%), calc(100% - (var(--cw-hc-item-w-base) / 2)));
    top: clamp(calc(var(--cw-hc-item-h-base) / 2), var(--cw-hc-y, 50%), calc(100% - (var(--cw-hc-item-h-base) / 2)));
    width: 114px;
    height: 114px;
    min-height: 114px;
    border-radius: 16px;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .cw-hc-item {
        left: clamp(calc(var(--cw-hc-item-w-base) / 2), var(--cw-hc-x-tablet, var(--cw-hc-x, 50%)), calc(100% - (var(--cw-hc-item-w-base) / 2)));
        top: clamp(calc(var(--cw-hc-item-h-base) / 2), var(--cw-hc-y-tablet, var(--cw-hc-y, 50%)), calc(100% - (var(--cw-hc-item-h-base) / 2)));
    }

    .cw-hc-route-desktop,
    .cw-hc-route-mobile {
        display: none;
    }

    .cw-hc-route-tablet {
        display: inline;
    }
}

@media (max-width: 767px) {
    .cw-hc-item {
        left: clamp(calc(var(--cw-hc-item-w-base) / 2), var(--cw-hc-x-mobile, var(--cw-hc-x, 50%)), calc(100% - (var(--cw-hc-item-w-base) / 2)));
        top: clamp(calc(var(--cw-hc-item-h-base) / 2), var(--cw-hc-y-mobile, var(--cw-hc-y, 50%)), calc(100% - (var(--cw-hc-item-h-base) / 2)));
    }

    .cw-hc-route-desktop,
    .cw-hc-route-tablet {
        display: none;
    }

    .cw-hc-route-mobile {
        display: inline;
    }
}

.cw-hc-item .cw-hc-visual {
    width: 36px;
    height: 36px;
    font-size: 36px;
}

.cw-hc-center-label,
.cw-hc-item-label {
    margin-top: 10px;
    color: #41475a;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    white-space: normal;
}

.cw-hc-item-label {
    margin-top: 0;
    font-size: 14px;
}

.cw-hc-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    border-radius: 999px;
    background: currentColor;
    color: #fff;
    font-size: .42em;
    font-weight: 700;
}

@media (hover: hover) {
    .cw-hc-center,
    .cw-hc-item {
        transition: transform .28s ease, filter .28s ease;
    }

    .cw-hc-center:hover,
    .cw-hc-item:hover {
        transform: translate(-50%, -50%) translateY(-3px);
        filter: saturate(1.05);
    }
}

@media (max-width: 767px) {
    .cw-hc-mobile-safe .cw-hc-stage {
        overflow: hidden;
    }

    .cw-hc-stage {
        min-height: 420px;
    }

}

/* ===== عنوان سه‌بخشی ===== */
.cw-tph-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.cw-tph {
    --cw-tph-gap: 8px;
    --cw-tph-line-gap: 6px;
    --cw-tph-line-width: 64px;
    --cw-tph-line-thickness: 3px;
    --cw-tph-line-radius: 999px;
    --cw-tph-line-color: #e53a63;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-tph-gap);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
}

.cw-tph-part {
    display: inline-block;
    line-height: inherit;
}

.cw-tph-before,
.cw-tph-after {
    color: #121b39;
}

.cw-tph-highlight {
    color: #e53a63;
}

.cw-tph-highlight-group {
    display: inline-flex;
    align-items: center;
    gap: var(--cw-tph-line-gap);
    min-width: 0;
}

.cw-tph-highlight-group.no-lines {
    gap: 0;
}

.cw-tph-line {
    display: inline-block;
    width: var(--cw-tph-line-width);
    height: var(--cw-tph-line-thickness);
    background: var(--cw-tph-line-color);
    border-radius: var(--cw-tph-line-radius);
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .cw-tph {
        font-size: 28px;
    }

    .cw-tph-line {
        width: min(var(--cw-tph-line-width), 36px);
    }
}

/* معرفی محصولات - حفظ نسبت بدون دفورمه شدن */
.cw-hc-proportional .cw-hc-stage {
    min-height: 320px;
}

.cw-hc-proportional .cw-hc-canvas {
    aspect-ratio: var(--cw-hc-ratio-w) / var(--cw-hc-ratio-h);
}

@media (max-width: 767px) {
    .cw-hc-proportional .cw-hc-stage {
        min-height: 320px !important;
    }
}

/* HR Connection Map v1.8.26 - رزرو ارتفاع، بدون کشیدگی و بدون بیرون‌زدگی */
@media (max-width: 767px) {
    .cw-hc-map.cw-hc-mobile-safe .cw-hc-stage {
        overflow: hidden;
    }

    .cw-hc-map:not(.cw-hc-proportional).cw-hc-mobile-safe .cw-hc-stage {
        overflow: hidden;
    }
}

/* HR Connection Map: linked secondary items */
.cw-hc-item a.cw-hc-item-inner {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.cw-hc-item a.cw-hc-item-inner:hover,
.cw-hc-item a.cw-hc-item-inner:focus {
    color: inherit;
    text-decoration: none;
}



/* HR Connection Map v1.8.12 - حرکت یکنواخت و بدون پرش جریان */
.cw-hc-map {
    --cw-hc-flow-train-gap: var(--cw-hc-line-flow-gap);
    --cw-hc-flow-cycle: calc((var(--cw-hc-line-dash) * 5) + (var(--cw-hc-line-gap) * 4) + var(--cw-hc-flow-train-gap));
}

.cw-hc-line-flow {
    stroke-dasharray:
        var(--cw-hc-line-dash) var(--cw-hc-line-gap)
        var(--cw-hc-line-dash) var(--cw-hc-line-gap)
        var(--cw-hc-line-dash) var(--cw-hc-line-gap)
        var(--cw-hc-line-dash) var(--cw-hc-line-gap)
        var(--cw-hc-line-dash) var(--cw-hc-flow-train-gap) !important;
    stroke-dashoffset: 0;
    opacity: .95 !important;
    animation: cwHcFlowTrain var(--cw-hc-line-speed) linear infinite !important;
    animation-timing-function: linear !important;
    will-change: stroke-dashoffset;
    shape-rendering: geometricPrecision;
}

.cw-hc-flow-smooth .cw-hc-line-flow {
    stroke: var(--cw-hc-line-flow) !important;
}

.cw-hc-flow-gradient .cw-hc-line-flow {
    animation-name: cwHcFlowTrain !important;
}

.cw-hc-flow-off .cw-hc-line-flow {
    animation: none !important;
    opacity: .7 !important;
}

.cw-hc-motion-smooth .cw-hc-line-flow,
.cw-hc-motion-medium .cw-hc-line-flow,
.cw-hc-motion-low .cw-hc-line-flow,
.elementor-editor-active .cw-hc-line-flow {
    animation-timing-function: linear !important;
}

.cw-hc-route:nth-child(2n) .cw-hc-line-flow,
.cw-hc-route:nth-child(3n) .cw-hc-line-flow {
    animation-duration: var(--cw-hc-line-speed) !important;
}

@keyframes cwHcFlowTrain {
    from {
        stroke-dashoffset: 0;
    }
    to {
        stroke-dashoffset: calc(-1 * var(--cw-hc-flow-cycle));
    }
}


.cw-ct.is-changing .cw-ct-avatar,
.cw-ct.is-changing .cw-ct-item,
.cw-ct.is-changing .cw-ct-panel {
    will-change: transform, opacity;
}

.cw-ct-dir-next.cw-ct-effect-soft .cw-ct-panel.is-active,
.cw-ct-dir-next.cw-ct-effect-slide .cw-ct-panel.is-active {
    animation-name: cwCtSlideFromBottom;
}

.cw-ct-dir-prev.cw-ct-effect-soft .cw-ct-panel.is-active,
.cw-ct-dir-prev.cw-ct-effect-slide .cw-ct-panel.is-active {
    animation-name: cwCtSlideFromTop;
}

@keyframes cwCtSlideFromBottom {
    from { opacity: 0; transform: translateY(calc(var(--cw-ct-motion-offset) * 1.4)); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cwCtSlideFromTop {
    from { opacity: 0; transform: translateY(calc(var(--cw-ct-motion-offset) * -1.4)); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .cw-hc-line-flow {
        animation: none !important;
    }
}

/* Customer Testimonials Widget v1.8.21 */
.cw-ct {
    --cw-ct-per-view: 3;
    --cw-ct-visible: 3;
    --cw-ct-avatar-size: 108px;
    --cw-ct-active-avatar-size: 132px;
    --cw-ct-rail-pad-top: 28px;
    --cw-ct-rail-pad-bottom: 20px;
    --cw-ct-speed: 1200ms;
    --cw-ct-ease: cubic-bezier(.22, 1, .36, 1);
    --cw-ct-motion-offset: 14px;
    --cw-ct-zoom-from: .96;
    --cw-ct-panels-height: auto;
    --cw-ct-line-y: calc(var(--cw-ct-rail-pad-top) + (var(--cw-ct-active-avatar-size) / 2));
    direction: rtl;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.cw-ct *,
.cw-ct *::before,
.cw-ct *::after {
    box-sizing: border-box;
}

.cw-ct-ease-silky {
    --cw-ct-ease: cubic-bezier(.16, 1, .3, 1);
}

.cw-ct-ease-smooth {
    --cw-ct-ease: cubic-bezier(.22, 1, .36, 1);
}

.cw-ct-ease-ease {
    --cw-ct-ease: ease;
}

.cw-ct-ease-ease-in-out {
    --cw-ct-ease: ease-in-out;
}

.cw-ct-ease-spring {
    --cw-ct-ease: cubic-bezier(.18, .95, .18, 1.18);
}

.cw-ct-empty {
    padding: 18px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
    text-align: center;
    direction: rtl;
}

.cw-ct-rail {
    position: relative;
    width: 100%;
    max-width: 1500px;
    min-height: calc(var(--cw-ct-rail-pad-top) + var(--cw-ct-active-avatar-size) + var(--cw-ct-rail-pad-bottom));
    margin: 0 auto;
    padding: var(--cw-ct-rail-pad-top) 0 var(--cw-ct-rail-pad-bottom);
    overflow: visible;
    direction: ltr;
}

.cw-ct-rail::before {
    content: "";
    position: absolute;
    top: var(--cw-ct-line-y);
    left: calc((100% / max(1, var(--cw-ct-visible))) / 2 + (var(--cw-ct-avatar-size) / 2));
    right: calc((100% / max(1, var(--cw-ct-visible))) / 2 + (var(--cw-ct-avatar-size) / 2));
    height: 1px;
    background: #e2e8f0;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

.cw-ct-no-line .cw-ct-rail::before,
.cw-ct-no-line .cw-ct-line-dot,
.cw-ct-one-visible .cw-ct-rail::before,
.cw-ct-one-visible .cw-ct-line-dot {
    display: none;
}

.cw-ct-line-dot {
    position: absolute;
    top: var(--cw-ct-line-y);
    z-index: 1;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #f33f6a;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cw-ct-line-dot::after {
    content: "";
    position: absolute;
    top: 0;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    background: inherit;
    opacity: .32;
}

.cw-ct-line-dot-before::after {
    left: 8px;
}

.cw-ct-line-dot-after::after {
    right: 8px;
}

.cw-ct-line-dot-before {
    left: calc(50% - (50% / max(1, var(--cw-ct-visible))));
}

.cw-ct-line-dot-after {
    left: calc(50% + (50% / max(1, var(--cw-ct-visible))));
}

.cw-ct-track {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 100%;
    min-height: var(--cw-ct-active-avatar-size);
    direction: ltr;
}

.cw-ct-item {
    flex: 0 0 calc(100% / max(1, var(--cw-ct-visible)));
    display: none;
    justify-content: center;
    align-items: center;
    min-width: 0;
    min-height: var(--cw-ct-active-avatar-size);
    padding: 0 8px;
    opacity: 0;
    transform: translateY(var(--cw-ct-motion-offset)) scale(.94);
    transition: opacity var(--cw-ct-speed) var(--cw-ct-ease), transform var(--cw-ct-speed) var(--cw-ct-ease), filter var(--cw-ct-speed) var(--cw-ct-ease);
    filter: blur(.2px);
}

.cw-ct-item.is-visible {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.cw-ct-avatar {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: var(--cw-ct-avatar-size);
    height: var(--cw-ct-avatar-size);
    margin: 0;
    padding: 0;
    border: 6px solid #fff;
    border-radius: 50%;
    background: #fff;
    color: #ff4b78;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .14);
    cursor: pointer;
    overflow: hidden;
    transition: width var(--cw-ct-speed) var(--cw-ct-ease), height var(--cw-ct-speed) var(--cw-ct-ease), transform var(--cw-ct-speed) var(--cw-ct-ease), border-color var(--cw-ct-speed) var(--cw-ct-ease), background var(--cw-ct-speed) var(--cw-ct-ease), box-shadow var(--cw-ct-speed) var(--cw-ct-ease), opacity var(--cw-ct-speed) var(--cw-ct-ease);
}

.cw-ct-avatar:focus {
    outline: none;
}

.cw-ct-avatar:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.cw-ct-item.is-active .cw-ct-avatar {
    width: var(--cw-ct-active-avatar-size);
    height: var(--cw-ct-active-avatar-size);
    background: #e9fff1;
    transform: translateY(0) scale(1);
    z-index: 3;
}

.cw-ct-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.cw-ct-avatar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    font-size: 56px;
    line-height: 1;
}

.cw-ct-avatar-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.cw-ct-avatar img + .cw-ct-avatar-icon {
    display: none;
}

.cw-ct-avatar img + .cw-ct-avatar-icon,
.cw-ct-inactive-placeholder .cw-ct-avatar img + .cw-ct-avatar-icon,
.cw-ct-inactive-image .cw-ct-avatar img + .cw-ct-avatar-icon {
    display: none;
}

.cw-ct .cw-ct-avatar img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cw-ct .cw-ct-avatar img + .cw-ct-avatar-icon,
.cw-ct.cw-ct-inactive-placeholder .cw-ct-item:not(.is-active) .cw-ct-avatar img + .cw-ct-avatar-icon,
.cw-ct.cw-ct-inactive-image .cw-ct-item:not(.is-active) .cw-ct-avatar img + .cw-ct-avatar-icon {
    display: none !important;
}

.cw-ct-content-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    justify-content: center;
    column-gap: 18px;
    width: min(100%, 520px);
    margin-right: auto;
    margin-left: auto;
    direction: ltr;
}

.cw-ct-arrows-disabled .cw-ct-content-row {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 520px);
}

.cw-ct-panels {
    display: grid;
    grid-template-areas: "cw-ct-stack";
    position: relative;
    width: 100%;
    min-width: 0;
    height: var(--cw-ct-panels-height, auto) !important;
    min-height: var(--cw-ct-panels-height, 0px) !important;
    direction: rtl;
    overflow: visible;
}

.cw-ct-panel {
    grid-area: cw-ct-stack;
    position: relative !important;
    top: auto;
    right: auto;
    left: auto;
    display: block !important;
    width: 100%;
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
    direction: rtl;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transform: translateY(calc(var(--cw-ct-motion-offset) * .75));
    transition: opacity var(--cw-ct-speed) var(--cw-ct-ease), transform var(--cw-ct-speed) var(--cw-ct-ease), visibility 0s linear var(--cw-ct-speed);
}

.cw-ct.is-changing .cw-ct-panel {
    will-change: opacity, transform;
}

.cw-ct-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
    transform: translateY(0);
    transition-delay: 0s;
    animation: cwCtSoft var(--cw-ct-speed) var(--cw-ct-ease) both;
}

.cw-ct-name {
    margin: 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.8;
}

.cw-ct-position {
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
}

.cw-ct-review {
    margin-top: 10px;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
}

.cw-ct-review p {
    margin: 0 0 .8em;
}

.cw-ct-review p:last-child {
    margin-bottom: 0;
}

.cw-ct-nav {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #ffe3eb;
    color: #ff4b78;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.cw-ct-nav svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.cw-ct-nav:hover,
.cw-ct-nav:focus-visible {
    background: #ff4b78;
    color: #fff;
}

.cw-ct-nav:focus {
    outline: none;
}

.cw-ct-nav:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.cw-ct-nav:disabled {
    cursor: not-allowed;
    opacity: .35;
}

.cw-ct-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    direction: ltr;
}

.cw-ct-dot {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 7px;
    height: 7px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #e2e8f0;
    cursor: pointer;
    transition: width .25s ease, background .25s ease, opacity .25s ease;
}

.cw-ct-dot.is-active {
    width: 18px;
    background: #ff4b78;
}

.cw-ct-effect-soft .cw-ct-panel.is-active {
    animation-name: cwCtSoft;
}

.cw-ct-effect-fade .cw-ct-item {
    transform: none;
}

.cw-ct-effect-fade .cw-ct-panel.is-active {
    animation-name: cwCtFadeOnly;
}

.cw-ct-effect-slide .cw-ct-item {
    transform: translateY(var(--cw-ct-motion-offset)) scale(.94);
}

.cw-ct-effect-slide .cw-ct-item.is-visible {
    transform: translateY(0) scale(1);
}

.cw-ct-effect-slide .cw-ct-panel.is-active {
    animation-name: cwCtSlide;
}

.cw-ct-effect-zoom .cw-ct-item {
    transform: scale(var(--cw-ct-zoom-from));
}

.cw-ct-effect-zoom .cw-ct-item.is-visible {
    transform: scale(1);
}

.cw-ct-effect-zoom .cw-ct-panel.is-active {
    animation-name: cwCtZoom;
}

.cw-ct-effect-none .cw-ct-item,
.cw-ct-effect-none .cw-ct-avatar,
.cw-ct-effect-none .cw-ct-panel.is-active {
    transition: none !important;
    animation: none !important;
}

@keyframes cwCtSoft {
    from {
        opacity: 0;
        transform: translateY(var(--cw-ct-motion-offset));
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cwCtFadeOnly {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cwCtSlide {
    from {
        opacity: 0;
        transform: translateY(calc(var(--cw-ct-motion-offset) * 1.5));
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cwCtZoom {
    from {
        opacity: 0;
        transform: scale(var(--cw-ct-zoom-from));
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 767px) {
    .cw-ct {
        --cw-ct-per-view: 3;
        --cw-ct-avatar-size: 64px;
        --cw-ct-active-avatar-size: 76px;
        --cw-ct-rail-pad-top: 18px;
        --cw-ct-rail-pad-bottom: 10px;
    }

    .cw-ct-rail {
        padding-left: 10px;
        padding-right: 10px;
    }

    .cw-ct-rail::before {
        left: calc((100% / max(1, var(--cw-ct-visible))) / 2 + (var(--cw-ct-avatar-size) / 2));
        right: calc((100% / max(1, var(--cw-ct-visible))) / 2 + (var(--cw-ct-avatar-size) / 2));
    }

    .cw-ct-item {
        padding: 0 4px;
    }

    .cw-ct-avatar-icon {
        font-size: 34px;
    }

    .cw-ct-content-row {
        width: 100%;
        grid-template-columns: auto minmax(0, 1fr) auto;
        column-gap: 10px;
    }

    .cw-ct-arrows-disabled .cw-ct-content-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .cw-ct-review {
        font-size: 13px;
    }
}


.cw-ct.is-changing .cw-ct-avatar,
.cw-ct.is-changing .cw-ct-item,
.cw-ct.is-changing .cw-ct-panel {
    will-change: transform, opacity;
}

.cw-ct-dir-next.cw-ct-effect-soft .cw-ct-panel.is-active,
.cw-ct-dir-next.cw-ct-effect-slide .cw-ct-panel.is-active {
    animation-name: cwCtSlideFromBottom;
}

.cw-ct-dir-prev.cw-ct-effect-soft .cw-ct-panel.is-active,
.cw-ct-dir-prev.cw-ct-effect-slide .cw-ct-panel.is-active {
    animation-name: cwCtSlideFromTop;
}

@keyframes cwCtSlideFromBottom {
    from { opacity: 0; transform: translateY(calc(var(--cw-ct-motion-offset) * 1.4)); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cwCtSlideFromTop {
    from { opacity: 0; transform: translateY(calc(var(--cw-ct-motion-offset) * -1.4)); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .cw-ct-item,
    .cw-ct-avatar,
    .cw-ct-nav,
    .cw-ct-dot {
        transition: none !important;
    }

    .cw-ct-panel.is-active {
        animation: none !important;
    }
}

/* HR Connection Map v1.8.32 - Elementor responsive preview device sync */
.cw-hc-map.cw-hc-device-tablet .cw-hc-item,
body.elementor-device-tablet .cw-hc-map .cw-hc-item,
html.elementor-device-tablet .cw-hc-map .cw-hc-item,
[data-elementor-device-mode="tablet"] .cw-hc-map .cw-hc-item {
    left: clamp(calc(var(--cw-hc-item-w-base) / 2), var(--cw-hc-x-tablet, var(--cw-hc-x, 50%)), calc(100% - (var(--cw-hc-item-w-base) / 2))) !important;
    top: clamp(calc(var(--cw-hc-item-h-base) / 2), var(--cw-hc-y-tablet, var(--cw-hc-y, 50%)), calc(100% - (var(--cw-hc-item-h-base) / 2))) !important;
}

.cw-hc-map.cw-hc-device-tablet .cw-hc-route-desktop,
.cw-hc-map.cw-hc-device-tablet .cw-hc-route-mobile,
body.elementor-device-tablet .cw-hc-map .cw-hc-route-desktop,
body.elementor-device-tablet .cw-hc-map .cw-hc-route-mobile,
html.elementor-device-tablet .cw-hc-map .cw-hc-route-desktop,
html.elementor-device-tablet .cw-hc-map .cw-hc-route-mobile,
[data-elementor-device-mode="tablet"] .cw-hc-map .cw-hc-route-desktop,
[data-elementor-device-mode="tablet"] .cw-hc-map .cw-hc-route-mobile {
    display: none !important;
}

.cw-hc-map.cw-hc-device-tablet .cw-hc-route-tablet,
body.elementor-device-tablet .cw-hc-map .cw-hc-route-tablet,
html.elementor-device-tablet .cw-hc-map .cw-hc-route-tablet,
[data-elementor-device-mode="tablet"] .cw-hc-map .cw-hc-route-tablet {
    display: inline !important;
}

.cw-hc-map.cw-hc-device-mobile .cw-hc-item,
body.elementor-device-mobile .cw-hc-map .cw-hc-item,
html.elementor-device-mobile .cw-hc-map .cw-hc-item,
[data-elementor-device-mode="mobile"] .cw-hc-map .cw-hc-item,
body.elementor-device-mobile_extra .cw-hc-map .cw-hc-item,
html.elementor-device-mobile_extra .cw-hc-map .cw-hc-item,
[data-elementor-device-mode="mobile_extra"] .cw-hc-map .cw-hc-item {
    left: clamp(calc(var(--cw-hc-item-w-base) / 2), var(--cw-hc-x-mobile, var(--cw-hc-x, 50%)), calc(100% - (var(--cw-hc-item-w-base) / 2))) !important;
    top: clamp(calc(var(--cw-hc-item-h-base) / 2), var(--cw-hc-y-mobile, var(--cw-hc-y, 50%)), calc(100% - (var(--cw-hc-item-h-base) / 2))) !important;
}

.cw-hc-map.cw-hc-device-mobile .cw-hc-route-desktop,
.cw-hc-map.cw-hc-device-mobile .cw-hc-route-tablet,
body.elementor-device-mobile .cw-hc-map .cw-hc-route-desktop,
body.elementor-device-mobile .cw-hc-map .cw-hc-route-tablet,
html.elementor-device-mobile .cw-hc-map .cw-hc-route-desktop,
html.elementor-device-mobile .cw-hc-map .cw-hc-route-tablet,
[data-elementor-device-mode="mobile"] .cw-hc-map .cw-hc-route-desktop,
[data-elementor-device-mode="mobile"] .cw-hc-map .cw-hc-route-tablet,
body.elementor-device-mobile_extra .cw-hc-map .cw-hc-route-desktop,
body.elementor-device-mobile_extra .cw-hc-map .cw-hc-route-tablet,
html.elementor-device-mobile_extra .cw-hc-map .cw-hc-route-desktop,
html.elementor-device-mobile_extra .cw-hc-map .cw-hc-route-tablet,
[data-elementor-device-mode="mobile_extra"] .cw-hc-map .cw-hc-route-desktop,
[data-elementor-device-mode="mobile_extra"] .cw-hc-map .cw-hc-route-tablet {
    display: none !important;
}

.cw-hc-map.cw-hc-device-mobile .cw-hc-route-mobile,
body.elementor-device-mobile .cw-hc-map .cw-hc-route-mobile,
html.elementor-device-mobile .cw-hc-map .cw-hc-route-mobile,
[data-elementor-device-mode="mobile"] .cw-hc-map .cw-hc-route-mobile,
body.elementor-device-mobile_extra .cw-hc-map .cw-hc-route-mobile,
html.elementor-device-mobile_extra .cw-hc-map .cw-hc-route-mobile,
[data-elementor-device-mode="mobile_extra"] .cw-hc-map .cw-hc-route-mobile {
    display: inline !important;
}
