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

.cw-hc-map {
    position: relative;
    width: 100%;
    max-width: 100%;
    direction: rtl;
    font-family: inherit;
    --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-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));
    }
}


@media (prefers-reduced-motion: reduce) {
    .cw-hc-line-flow {
        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;
}
