/* ═══════════════════════════════
   שירותים — ct-services
   ═══════════════════════════════ */
body .ct-services {
    --cts-bg: transparent;
    --cts-card: var(--ct-surface);
    --cts-text: var(--ct-ink);
    --cts-muted: var(--ct-ink-soft);
    --cts-line: var(--ct-line);
    --cts-blue: var(--ct-accent);
    --cts-blue-2: #4f46e5;
    --cts-soft: rgba(37, 99, 235, .08);
    position: relative;
    padding: clamp(46px, 6vw, 84px) clamp(16px, 4vw, 64px);
    margin-top: 0;
    background:
        radial-gradient(900px 400px at 90% 0%, rgba(37, 99, 235, .06), transparent 55%),
        linear-gradient(180deg, #f7f9fd, #eef2f9);
    border: 0;
}

body .ct-services-shell { width: min(1360px, 100%); margin: 0 auto; }

body .ct-services-kicker { color: var(--ct-accent); letter-spacing: .16em; }
body .ct-services-kicker-dot { background: var(--ct-accent); box-shadow: 0 0 0 5px rgba(37, 99, 235, .12); }
body .ct-services-title-row h2 { color: var(--ct-ink); }
body .ct-services-title-row p { color: var(--ct-ink-soft); }

body .ct-services-contact {
    background: linear-gradient(135deg, #1e3a8a, #3730a3);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(30, 58, 138, .28);
}

body .ct-services-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

body .ct-service-card {
    min-height: 200px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--ct-line);
    background: var(--ct-surface);
    box-shadow: var(--ct-shadow-sm);
    transition: transform .28s var(--ct-ease), box-shadow .28s ease, border-color .28s ease;
}

body .ct-service-card::before { display: none; }

body .ct-service-card:hover,
body .ct-service-card:focus-within {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, .32);
    box-shadow: var(--ct-shadow-lg);
}

body .ct-service-card-top {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom-color: var(--ct-line);
}

body .ct-service-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--ct-grad);
    color: #fff;
    border: 0;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .3);
}

body .ct-service-icon svg { stroke-width: 2; }

body .ct-service-card:hover .ct-service-icon,
body .ct-service-card:focus-within .ct-service-icon {
    background: var(--ct-grad);
    box-shadow: 0 12px 26px rgba(37, 99, 235, .38);
    transform: rotate(-5deg) scale(1.05);
}

body .ct-service-card-body h3 { font-size: 17px; }
body .ct-service-card-body p { color: var(--ct-ink-soft); }
body .ct-service-link { color: var(--ct-accent); font-weight: 800; }

body .ct-services-bottom {
    border-color: var(--ct-line);
    background: rgba(255, 255, 255, .75);
    border-radius: 18px;
    box-shadow: var(--ct-shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 1020px) {
    body .ct-services-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body .ct-services-title-row { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 620px) {
    body .ct-services { padding: 38px 14px 40px; }
    body .ct-services-rail {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 12px;
    }
    body .ct-service-card { flex: 0 0 min(80vw, 300px); scroll-snap-align: start; }
    body .ct-services-bottom { grid-template-columns: 1fr; }
    body .ct-services-bottom-divider { width: 100%; height: 1px; }
}

/* ═══════════════════════════════
   קטגוריות — קרוסלה
   ═══════════════════════════════ */
body .categories-home { padding: clamp(30px, 4vw, 52px) 0; }

body .categories-carousel-wrapper {
    position: relative;
    width: min(1440px, calc(100% - 40px));
    margin: 0 auto;
}

body .categories-carousel {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding: 6px 4px 14px;
    scrollbar-width: none;
}

body .categories-carousel::-webkit-scrollbar { display: none; }

body .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ct-line);
    border-radius: 50%;
    background: var(--ct-surface);
    color: var(--ct-ink);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--ct-shadow-md);
    display: grid;
    place-items: center;
    transition: all .25s var(--ct-ease);
}

body .carousel-arrow:hover {
    background: var(--ct-accent);
    color: #fff;
    border-color: var(--ct-accent);
    transform: translateY(-50%) scale(1.06);
}

body .carousel-arrow-left { right: -18px; }
body .carousel-arrow-right { left: -18px; }

@media (max-width: 1100px) { body .carousel-arrow { display: none; } }

body .category-carousel-item {
    flex: 0 0 168px;
    width: 168px;
    scroll-snap-align: start;
    background: var(--ct-surface);
    border: 1px solid var(--ct-line);
    border-radius: 20px;
    padding: 14px 12px 16px;
    text-decoration: none;
    box-shadow: var(--ct-shadow-sm);
    transition: transform .28s var(--ct-ease), box-shadow .28s ease, border-color .28s ease;
}

body .category-carousel-item:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, .35);
    box-shadow: var(--ct-shadow-lg);
}

body .category-carousel-item.is-active-category {
    border-color: var(--ct-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15), var(--ct-shadow-md);
}

/* היפוך 360 הוחלף בזום עדין ואלגנטי */
body .category-carousel-item.category-flip-360 { perspective: none; }

body .category-carousel-item.category-flip-360:hover .category-flip-inner,
body .category-carousel-item.category-flip-360:focus-visible .category-flip-inner {
    animation: none;
    transform: none;
}

body .category-image img {
    width: 108px;
    height: 108px;
    object-fit: contain;
    border-radius: 16px;
    background: linear-gradient(180deg, #f6f9ff, #edf2fa);
    padding: 10px;
    transition: transform .35s var(--ct-ease);
}

body .category-carousel-item:hover .category-image img { transform: scale(1.08); }

body .category-info h3 {
    margin: 10px 0 4px;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--ct-ink);
}

body .category-info p {
    margin: 0;
    font-size: 12px;
    color: var(--ct-ink-soft);
    font-weight: 600;
}

/* ═══════════════════════════════
   סינון מהיר — Quick Filter
   ═══════════════════════════════ */
body .quick-filter-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(1440px, calc(100% - 32px));
    padding: 0;
    margin: 26px auto 10px;
}

body .quick-filter-toggle-button {
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 13px;
    background: linear-gradient(135deg, #1e3a8a, #3730a3);
    box-shadow: 0 10px 24px rgba(30, 58, 138, .28);
}

body .quick-filter-toggle-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(30, 58, 138, .34);
}

body .quick-filter-toggle-wrap .reset-filter-btn {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 12.5px;
    box-shadow: 0 10px 22px rgba(225, 29, 72, .25);
}

body .quick-filter-toggle-wrap .reset-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(225, 29, 72, .32);
}

body .quick-filter-section {
    width: min(1440px, calc(100% - 32px));
    padding: 0;
}

body .quick-filter-table {
    border-radius: 20px;
    border-color: var(--ct-line);
    background: var(--ct-surface);
    box-shadow: var(--ct-shadow-md);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body .quick-filter-heading strong { color: var(--ct-ink); }
body .quick-filter-icon { background: var(--ct-grad); }

body .quick-filter-manual-input,
body .quick-filter-price-control input,
body .quick-filter-price-control button,
body .quick-filter-sort select {
    border-color: var(--ct-line);
    background: var(--ct-surface-2);
    color: var(--ct-ink);
}

body .quick-filter-manual-input input { color: var(--ct-ink); }
body .quick-filter-reset { border-color: var(--ct-line); background: var(--ct-surface-2); color: var(--ct-ink-soft); }
body .quick-filter-reset:hover { border-color: var(--ct-accent); color: var(--ct-accent); }

/* ═══════════════════════════════
   סרגל סינון חכם — Facet Sidebar
   ═══════════════════════════════ */
body .products-with-facets.products-with-facets {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto 70px;
    padding: 0;
    grid-template-columns: minmax(290px, 330px) minmax(0, 1fr) !important;
    gap: 24px !important;
}

body .products-with-facets.is-filter-collapsed.products-with-facets {
    grid-template-columns: minmax(0, 1fr) !important;
}

@media (max-width: 1200px) {
    body .product-facet-sidebar {
        position: relative !important;
        width: 100% !important;
        max-height: none !important;
    }
    body .products-with-facets.products-with-facets {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

body .product-facet-sidebar {
    border-radius: 22px;
    border: 1px solid var(--ct-line);
    background: var(--ct-surface);
    box-shadow: var(--ct-shadow-sm);
    overflow: hidden;
}

body .facet-sidebar-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--ct-line);
    background:
        radial-gradient(220px 120px at 90% -20%, rgba(37, 99, 235, .10), transparent 70%),
        var(--ct-surface);
}

body .facet-eyebrow {
    color: var(--ct-accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
}

body .facet-sidebar-header h2 {
    color: var(--ct-ink);
    font-size: 17px;
    line-height: 1.4;
    margin: 5px 0 0;
}

body .facet-result-count {
    background: var(--ct-grad);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .28);
}

body .facet-group {
    padding: 16px 20px;
    border-bottom: 1px solid var(--ct-line);
}

body .facet-group-title {
    color: var(--ct-ink);
    font-weight: 800;
    font-size: 13.5px;
}

body .facet-group-title small {
    background: var(--ct-grad-soft);
    color: var(--ct-accent);
    border-radius: var(--ct-radius-pill);
    padding: 2px 9px;
    font-size: 11px;
    font-weight: 800;
}

body .facet-step {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 7px;
    background: var(--ct-grad);
    color: #fff;
    font-size: 11px;
    margin-inline-end: 6px;
}

body .facet-option { padding: 6px 8px; border-radius: 11px; }
body .facet-option:hover { background: rgba(37, 99, 235, .06); }
body .facet-option.is-checked { background: rgba(37, 99, 235, .08); }

body .facet-label { color: var(--ct-ink-soft); font-weight: 600; }
body .facet-option.is-checked .facet-label { color: var(--ct-accent); }

body .facet-square {
    border-radius: 6px;
    border-color: #cbd5e1;
    background: #fff;
}

body .facet-option.is-checked .facet-square {
    background: var(--ct-accent);
    border-color: var(--ct-accent);
    box-shadow: 0 4px 10px rgba(37, 99, 235, .35);
}

body .facet-count {
    background: rgba(148, 163, 184, .1);
    color: var(--ct-muted);
    font-weight: 700;
}

body .facet-actions { padding: 16px 20px; }
body .facet-reset { color: #e11d48; font-weight: 800; font-size: 12.5px; }
body .facet-reset:hover { text-decoration: underline; }

body .facet-guidance {
    border: 1px dashed var(--ct-line);
    border-radius: 14px;
    padding: 14px;
    background: var(--ct-surface-2);
    text-align: center;
}

body .facet-guidance strong { color: var(--ct-ink); font-size: 13px; display: block; margin: 6px 0 2px; }
body .facet-guidance small { color: var(--ct-ink-soft); font-size: 11.5px; }
body .facet-empty { color: var(--ct-ink-soft); font-size: 12.5px; }

/* ═══════════════════════════════
   רשת המוצרים וכרטיסי המוצר
   ═══════════════════════════════ */
body .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
    align-content: start;
}

@media (max-width: 760px) {
    body .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
}

body .product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 9px;
    background: var(--ct-surface);
    border: 1px solid var(--ct-line);
    border-radius: 18px;
    padding: 12px 12px 15px;
    box-shadow: var(--ct-shadow-sm);
    transition: transform .28s var(--ct-ease), box-shadow .28s ease, border-color .28s ease;
}

body .product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, .4);
    box-shadow: var(--ct-shadow-lg);
}

body .product-stock {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    font-size: 10.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--ct-radius-pill);
    letter-spacing: .02em;
}

body .stock-ok { background: rgba(16, 185, 129, .12); color: #047857; }
body .stock-low { background: rgba(245, 158, 11, .14); color: #b45309; }
/* ═══════════════════════════════════════════════════════════════
   CyberTech PC · Premium Luxe Live Glow Layer
   עיצוב יוקרתי, מקצועי, עמוק וחי לכרטיסי השירות
   ═══════════════════════════════════════════════════════════════ */

/* =========================================================
   SERVICE CARD — IMAGE + BLACK 20% OVERLAY
   ========================================================= */

body .ct-service-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 230px;
    padding: 20px 20px 18px;

    border-radius: 24px;
    border: 1px solid var(--ct-luxe-line);

    /* התמונה עצמה — ללא שקיפות */
    background:
        url("../images/12-008-100.png")
        center center / cover
        no-repeat !important;

    /* אין Blur */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    box-shadow: var(--ct-luxe-shadow);

    transition:
        transform .42s cubic-bezier(.22, .61, .36, 1),
        box-shadow .42s ease,
        border-color .42s ease;
}


/* =========================================================
   BORDER DECORATION
   ========================================================= */

body .ct-service-card::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 3;

    border-radius: inherit;
    padding: 1px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.85),
            rgba(124,58,237,.10),
            rgba(37,99,235,.16),
            rgba(255,255,255,.65)
        );

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}


/* =========================================================
   BLACK TRANSPARENT OVERLAY
   רק השכבה הזאת שקופה
   ========================================================= */

body .ct-service-card::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        rgba(0, 0, 0, .20) !important;

    opacity: 1 !important;

    filter: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    pointer-events: none;
}


/* =========================================================
   CONTENT ABOVE OVERLAY
   ========================================================= */

body .ct-service-card > * {
    position: relative;
    z-index: 2;
}


/* =========================================================
   HOVER
   חשוב: לא מחליפים את תמונת הרקע
   ========================================================= */

body .ct-service-card:hover,
body .ct-service-card:focus-within {
    transform:
        translateY(-10px)
        scale(1.012);

    border-color:
        var(--ct-luxe-line-strong);

    box-shadow:
        var(--ct-luxe-shadow-hover);

    /* לא להוסיף כאן background */
}


/* =========================================================
   TOP AREA
   ========================================================= */

body .ct-service-card-top {
    position: relative;
    z-index: 2;

    margin-bottom: 18px;
    padding-bottom: 14px;

    border-bottom:
        1px solid rgba(255,255,255,.30);
}


/* =========================================================
   TITLE — WHITE / CLEAN
   ========================================================= */

body .ct-service-card-body h3 {
    margin: 0 0 12px;

    font-size: 31px;
    font-weight: 900;
    line-height: 1.2;

    color: #ffffff !important;

    letter-spacing: -.02em;

    /* ללא אפקט */
    text-shadow: none !important;
    filter: none !important;
}


/* =========================================================
   DESCRIPTION — WHITE / CLEAN
   ========================================================= */

body .ct-service-card-body p {
    margin: 0;

    font-size: 15.5px;
    line-height: 1.9;
    font-weight: 600;

    color:
        #ffffff !important;

    opacity: 1 !important;

    text-shadow:
        none !important;

    filter:
        none !important;
}


/* =========================================================
   SERVICE NUMBER
   ========================================================= */

body .ct-service-number {
    color:
        #ffffff !important;

    text-shadow:
        none !important;
}

body .ct-service-number::after {
    background:
        rgba(255,255,255,.70) !important;
}


/* =========================================================
   LINK — WHITE
   ========================================================= */

body .ct-service-link {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 16px;

    font-size: 14px;
    font-weight: 900;

    color:
        #ffffff !important;

    text-decoration:
        none;

    text-shadow:
        none !important;

    background:
        transparent !important;

    border:
        0 !important;

    box-shadow:
        none !important;

    backdrop-filter:
        none !important;

    -webkit-backdrop-filter:
        none !important;

    transition:
        transform .28s ease,
        opacity .28s ease;
}


body .ct-service-link:hover {
    color:
        #ffffff !important;

    opacity:
        .88;

    transform:
        translateX(-2px);
}


/* הקו של הקישור */
body .ct-service-link::before {
    background:
        #ffffff !important;

    opacity:
        .75 !important;
}


/* =========================================================
   ICON
   ========================================================= */

body .ct-service-icon {
    position: relative;

    width: 54px;
    height: 54px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #3464ff 0%,
            #4f7dff 36%,
            #6d46ff 100%
        );

    box-shadow:
        0 16px 32px rgba(52,100,255,.28),
        inset 0 1px 0 rgba(255,255,255,.25),
        0 0 0 1px rgba(255,255,255,.2);

    transition:
        transform .38s ease,
        box-shadow .38s ease;
}


body .ct-service-icon::after {
    content: "";

    position: absolute;
    inset: 1px;

    border-radius: inherit;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.20),
            transparent
        );

    pointer-events: none;
}


body .ct-service-card:hover .ct-service-icon,
body .ct-service-card:focus-within .ct-service-icon {
    transform:
        translateY(-2px)
        scale(1.06);

    box-shadow:
        0 22px 42px rgba(52,100,255,.34),
        0 0 22px rgba(95,131,255,.25),
        inset 0 1px 0 rgba(255,255,255,.3);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1020px) {

    body .ct-service-card-body h3 {
        font-size: 27px;
    }
}


@media (max-width: 620px) {

    body .ct-service-card {
        min-height: 210px;
        border-radius: 20px;
    }

    body .ct-service-card-body h3 {
        font-size: 24px;
    }

    body .ct-service-card-body p {
        font-size: 14.5px;
        line-height: 1.75;
    }
}



body .ct-service-card-body {
    position: relative !important;
    z-index: 3 !important;

    padding: 14px 16px !important;

    border: 1px solid rgba(255, 255, 255, .22) !important;
    border-radius: 14px !important;

    background:
        rgba(0, 0, 0, .42) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, .18) !important;
}

/* =========================================================
   CYBERTECH SERVICE TEXT BOX — FORCE FIX v2.8
   תיבה שחורה שקופה אמיתית סביב הכותרת + התיאור
   ללא Blur וללא אפקט נוסף
   ========================================================= */

html body .ct-services .ct-services-rail
.ct-service-card .ct-service-card-body {
    position: relative !important;
    z-index: 4 !important;

    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;

    margin: 8px 0 10px !important;
    padding: 12px 14px 13px !important;

    /* מסגרת 1PX ברורה */
    border: 1px solid rgba(255,255,255,.60) !important;
    border-radius: 12px !important;

    /* שחור כהה שקוף */
    background-color: rgba(0,0,0,.56) !important;
    background-image: none !important;

    opacity: 1 !important;

    /* בלי GLASS / BLUR */
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    /* בלי אפקט נוסף */
    box-shadow: none !important;
}


/* הטקסט שבתיבה */
html body .ct-services .ct-services-rail
.ct-service-card .ct-service-card-body h3,
html body .ct-services .ct-services-rail
.ct-service-card .ct-service-card-body p {
    position: relative !important;
    z-index: 1 !important;

    color: #ffffff !important;
    opacity: 1 !important;

    text-shadow: none !important;
    filter: none !important;
}


/* הכרטיס עצמו: תמונה מלאה */
html body .ct-services .ct-services-rail
.ct-service-card {
    background-image:
        url("../images/12-008-100.png") !important;

    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* שכבה שחורה כללית עדינה מעל התמונה בלבד */
html body .ct-services .ct-services-rail
.ct-service-card::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;

    background: rgba(0,0,0,.20) !important;

    opacity: 1 !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    pointer-events: none !important;
}


/* כל התוכן מעל שכבת התמונה */
html body .ct-services .ct-services-rail
.ct-service-card > * {
    position: relative !important;
    z-index: 2 !important;
}


/* התיבה עצמה חייבת להיות מעל כל השכבות */
html body .ct-services .ct-services-rail
.ct-service-card > .ct-service-card-body {
    z-index: 4 !important;
}


/* במובייל נשארת תיבה ברורה */
@media (max-width: 620px) {
    html body .ct-services .ct-services-rail
    .ct-service-card .ct-service-card-body {
        margin: 7px 0 9px !important;
        padding: 10px 11px !important;
        border-radius: 10px !important;
        background-color: rgba(0,0,0,.58) !important;
    }
}
