/* ═══════════════════════════════════════════════════════════════
   CyberTech PC · שכבת עיצוב חדשה — מודרני, אלגנטי, מקצועי
   ההידר נשאר בדיוק כפי שהוא — קובץ זה מעבד רק את האזורים שמתחתיו.
   ═══════════════════════════════════════════════════════════════ */

:root {
    --ct-bg: #f2f5fa;
    --ct-surface: #ffffff;
    --ct-surface-2: #f8fafc;
    --ct-ink: #0d1526;
    --ct-ink-soft: #5b6b84;
    --ct-muted: #8a99b3;
    --ct-line: #e4eaf3;
    --ct-accent: #2563eb;
    --ct-accent-2: #7c3aed;
    --ct-grad: linear-gradient(135deg, #2563eb 0%, #6d5df6 55%, #7c3aed 100%);
    --ct-grad-soft: linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(124, 58, 237, .10));
    --ct-shadow-sm: 0 1px 2px rgba(13, 21, 38, .04), 0 4px 14px rgba(13, 21, 38, .06);
    --ct-shadow-md: 0 6px 18px rgba(13, 21, 38, .07), 0 16px 40px rgba(13, 21, 38, .07);
    --ct-shadow-lg: 0 12px 30px rgba(13, 21, 38, .10), 0 28px 70px rgba(13, 21, 38, .10);
    --ct-radius: 16px;
    --ct-radius-lg: 22px;
    --ct-radius-pill: 999px;
    --ct-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ───────────────────────────
   בסיס
   ─────────────────────────── */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--ct-bg);
    color: var(--ct-ink);
    font-family: 'Inter', 'Heebo', 'Segoe UI', Tahoma, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: rgba(37, 99, 235, .16); color: #0d1526; }
html[data-theme="dark"] ::selection { background: rgba(96, 165, 250, .25); color: #fff; }

* { scrollbar-width: thin; scrollbar-color: rgba(100, 116, 139, .4) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, .35);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, .55);
    border: 2px solid transparent;
    background-clip: content-box;
}

#productsGrid,
#productsquery { scroll-margin-top: 110px; }

.white-glass-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.ct-modern-design {
    padding-top: 90px;
}



/* ═══════════════════════════════
   HERO — אזור פתיחה כהה ואלגנטי
   ═══════════════════════════════ */
body .premium-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 64px);
    background:
        radial-gradient(1100px 520px at 88% -12%, rgba(124, 58, 237, .28), transparent 58%),
        radial-gradient(900px 480px at 0% 108%, rgba(37, 99, 235, .22), transparent 55%),
        linear-gradient(155deg, #050a19 0%, #0a1230 52%, #0c0f2e 100%);
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}

body .premium-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .055) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse at 72% 28%, #000 0%, transparent 68%);
    -webkit-mask-image: radial-gradient(ellipse at 72% 28%, #000 0%, transparent 68%);
}

body .premium-left {
    position: relative;
    z-index: 2;
    flex: 1 1 430px;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body .premium-left h2 {
    margin: 0;
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.035em;
    background: linear-gradient(115deg, #ffffff 20%, #c3d2ff 65%, #a5b8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

body .premium-left h3 {
    margin: 14px 0 0;
    font-size: clamp(17px, 1.9vw, 22px);
    font-weight: 700;
    line-height: 1.5;
}

body .premium-left p {
    margin: 14px 0 0;
    max-width: 560px;
    color: rgba(226, 232, 240, .82);
    font-size: clamp(14.5px, 1.3vw, 16.5px);
    line-height: 1.85;
}

body .all-products-links { margin-top: 30px; }

body .all-products-links .cyber-btn-primary {
    padding: 13px 28px;
    font-size: 14.5px;
    font-weight: 800;
    border-radius: var(--ct-radius-pill);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    background: linear-gradient(135deg, #2563eb, #6d5df6);
    box-shadow: 0 14px 34px rgba(37, 99, 235, .38), inset 0 1px 0 rgba(255, 255, 255, .22);
    transition: transform .25s var(--ct-ease), box-shadow .25s ease, filter .25s ease;
}

body .all-products-links .cyber-btn-primary:hover {
    transform: translateY(-3px);
    filter: brightness(1.06);
    box-shadow: 0 20px 44px rgba(37, 99, 235, .46), inset 0 1px 0 rgba(255, 255, 255, .25);
}

body .all-products-links .reset-filter-btn {
    padding: 13px 24px;
    font-size: 14.5px;
    font-weight: 800;
    border-radius: var(--ct-radius-pill);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
    transition: transform .25s var(--ct-ease), background .25s ease, box-shadow .25s ease;
}

body .all-products-links .reset-filter-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 12px 26px rgba(0, 0, 0, .25);
}

body .premium-right {
    position: relative;
    z-index: 2;
    flex: 1 1 420px;
    max-width: 640px;
    min-width: 300px;
}

/* ─────────── סליידר ─────────── */
body .hero-slider-box {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 6px rgba(148, 163, 184, .06);
}

body .hero-slider {
    position: relative;
    aspect-ratio: 16 / 10;
    min-height: 300px;
    background-color: #0b1226 !important;
}

body .hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s;
}

body .hero-slider .slide.active { opacity: 1; visibility: visible; }

body .hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.90;
    direction:right;
}

body .slide-title {
    position: absolute;
    right: 16px;
    bottom: 40px;
    z-index: 4;
    max-width: 80%;
    padding: 9px 16px;
    border-radius: var(--ct-radius-pill);
    background: rgba(8, 13, 32, .55);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
}

body .slider-dots {
    position: absolute;
    bottom: 16px;
    right: 50%;
    transform: translateX(50%);
    z-index: 4;
    display: flex;
    gap: 7px;
}

body .slider-dot {
    width: 7px;
    height: 7px;
    border-radius: var(--ct-radius-pill);
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: all .3s ease;
}

body .slider-dot.active {
    width: 26px;
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, .5);
}

body .slider-progress {
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    z-index: 4;
    background: rgba(255, 255, 255, .12);
}

body .slider-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
}

@media (max-width: 900px) {
    body .premium-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 44px 18px;
        gap: 30px;
    }
    body .premium-left,
    body .premium-right { max-width: 100%; min-width: 0; }
    body .hero-slider { aspect-ratio: 4 / 3; }
}

/* ═══════════════════════════════
   שירותים — 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: none;
    border-color: inherit;
    box-shadow: inherit;
}

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 · FIX PACK v3
   תיקון קובץ כפול/קטוע + שירותים מודרניים + סינון רחב
   ═══════════════════════════════════════════════════════════════ */

/* ───────────────────────────
   מלאי / כרטיסי מוצר
   ─────────────────────────── */
body .stock-out {
    background: rgba(239, 68, 68, .12);
    color: #b91c1c;
}

body .product-image {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 190px;
    padding: 12px;
    overflow: hidden;
    border-radius: 15px;
    background:
        radial-gradient(circle at 50% 30%, rgba(37, 99, 235, .06), transparent 48%),
        linear-gradient(180deg, #fbfdff, #f3f6fb);
}

body .product-image img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: contain;
    transition: transform .35s var(--ct-ease), filter .35s ease;
}

body .product-card:hover .product-image img {
    transform: scale(1.03);
}

body .product-name {
    min-height: 44px;
    color: var(--ct-ink);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.55;
}

body .product-name:hover {
    color: var(--ct-accent);
}

body .product-price {
    display: block;
    margin-top: auto;
    color: #f97316;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -.02em;
}

body .product-form {
    display: grid;
    gap: 9px;
}

body .qty-row {
    display: grid;
    grid-template-columns: 40px minmax(48px, 1fr) 40px;
    gap: 7px;
    align-items: center;
}

body .qty-btn,
body .qty-input {
    height: 38px;
    border: 1px solid var(--ct-line);
    border-radius: 10px;
    background: var(--ct-surface-2);
    color: var(--ct-ink);
}

body .qty-btn {
    cursor: pointer;
    font-size: 18px;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

body .qty-btn:hover:not(:disabled) {
    color: var(--ct-accent);
    border-color: rgba(37, 99, 235, .35);
    background: rgba(37, 99, 235, .06);
}

body .qty-input {
    width: 100%;
    text-align: center;
    font-weight: 800;
}

body .btn-outline{

    background:transparent;

    cursor:pointer;

    transition:
    transform .2s ease,
    background .25s ease,
    color .25s ease;

}

body .btn-outline:hover{

    transform:translateY(-2px);

}

body .btn-outline:active{

    transform:scale(.95);

}

body .qty-btn:disabled,
body .add-btn:disabled {
    cursor: not-allowed;
    opacity: .48;
    box-shadow: none;
}

/* ═══════════════════════════════
   שירותים — HARD RESET + PREMIUM COMPACT
*/
/* =========================================
 *  ADD TO CART — MOVING GLOW BORDER
 *  ללא זום / ללא תזוזה / ללא שינוי צבע
 *  ========================================= */

@property --add-beam-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

html body .products-grid .product-card .add-btn:not(:disabled) {
    position: relative !important;
    isolation: isolate !important;

    background: transparent !important;
    color: #2563eb !important;

    border: 1px solid #2563eb !important;
    border-radius: 10px !important;

    cursor: pointer !important;

    /* אין זום ואין תנועה */
    transform: none !important;
    scale: 1 !important;
    translate: none !important;

    box-shadow: none !important;

    transition:
    box-shadow .25s ease !important;
}


/* הקרן על הבורדיר */
html body .products-grid .product-card
.add-btn:not(:disabled)::before {

    content: "" !important;

    position: absolute !important;
    inset: -1px !important;

    border-radius: inherit !important;

    padding: 2px !important;

    pointer-events: none !important;

    opacity: 0;

    background:
    conic-gradient(
        from var(--add-beam-angle),

                   transparent 0deg,
                   transparent 285deg,

                   rgba(37, 99, 235, .10) 300deg,
                   rgba(56, 189, 248, .45) 320deg,
                   #60a5fa 335deg,
                   #ffffff 345deg,
                   #ffffff 350deg,
                   #38bdf8 356deg,

                   transparent 360deg
    ) !important;

    /* משאיר רק את פס הבורדיר */
    -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

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

    mask-composite: exclude;

    filter:
    drop-shadow(0 0 4px rgba(56, 189, 248, .75))
    drop-shadow(0 0 8px rgba(37, 99, 235, .45));

    z-index: 5 !important;
}


/* HOVER — הצבע לא משתנה */
html body .products-grid .product-card
.add-btn:not(:disabled):hover {

    background: transparent !important;
    color: #2563eb !important;

    border-color: #2563eb !important;

    /* ללא זום */
    transform: none !important;
    scale: 1 !important;
    translate: none !important;

    box-shadow:
    0 0 8px rgba(37, 99, 235, .12) !important;
}


/* מפעיל רק את הקרן */
html body .products-grid .product-card
.add-btn:not(:disabled):hover::before {

    opacity: 1;

    animation:
    addButtonBorderBeam 2.8s linear infinite !important;
}


@keyframes addButtonBorderBeam {

    from {
        --add-beam-angle: 0deg;
    }

    to {
        --add-beam-angle: 360deg;
    }
}


/* לחיצה — גם בלי scale */
html body .products-grid .product-card
.add-btn:not(:disabled):active {

    background: transparent !important;
    color: #2563eb !important;

    transform: none !important;
    scale: 1 !important;
    translate: none !important;
}


/* מוצר לא זמין */
html body .products-grid .product-card .add-btn:disabled,
html body .products-grid .product-card .out-of-stock-btn {

    background: #fff !important;
    color: #dc2626 !important;

    border: 1px solid #fecaca !important;

    cursor: not-allowed !important;

    transform: none !important;
    scale: 1 !important;

    box-shadow: none !important;
}


/* אין קרן בכפתור מושבת */
html body .products-grid .product-card .add-btn:disabled::before,
html body .products-grid .product-card .out-of-stock-btn::before {
    display: none !important;
}
   מונע SVG / pseudo elements גדולים ושומר על כרטיסים קריאים
   ═══════════════════════════════ */
body .ct-services {
    position: relative;
    width: 100%;
    padding: 42px 20px 38px !important;
    margin: 0 !important;
    overflow: hidden;
    background:
        radial-gradient(700px 300px at 94% 0%, rgba(37, 99, 235, .075), transparent 62%),
        radial-gradient(580px 260px at 2% 100%, rgba(124, 58, 237, .055), transparent 66%),
        linear-gradient(180deg, #f7f9fd 0%, #f2f5fa 100%) !important;
}

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

body .ct-services-heading {
    display: block !important;
    margin: 0 0 18px !important;
}

body .ct-services-kicker {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 7px !important;
    color: var(--ct-accent) !important;
    font-size: 10.5px !important;
    font-weight: 900 !important;
    letter-spacing: .17em !important;
}

body .ct-services-title-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

body .ct-services-title-row > div {
    min-width: 0;
}

body .ct-services-title-row h2 {
    margin: 0 !important;
    color: var(--ct-ink) !important;
    font-size: clamp(25px, 2.7vw, 38px) !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    letter-spacing: -.035em !important;
}

body .ct-services-title-row p {
    max-width: 650px;
    margin: 7px 0 0 !important;
    color: var(--ct-ink-soft) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

body .ct-services-contact {
    flex: 0 0 auto !important;
    min-width: 195px !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 13px !important;
    background: linear-gradient(135deg, #1d4ed8, #4338ca) !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 9px 22px rgba(37, 99, 235, .22) !important;
}

body .ct-services-swipe-hint {
    display: none;
}

/* חשוב: grid מלא ולא רק grid-template-columns */
body .ct-services-rail {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
    overflow: visible !important;
}

body .ct-service-card {
    position: relative !important;
    isolation: isolate !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 188px !important;
    max-height: none !important;
    padding: 16px 17px 15px !important;
    overflow: hidden !important;
    border: 1px solid var(--ct-line) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .055) !important;
    transform: none;
    transition:
        transform .26s var(--ct-ease),
        box-shadow .26s ease,
        border-color .26s ease !important;
}

/* מבטל עיגולים/קישוטים ישנים שיכולים להתנפח */
body .ct-service-card::before,
body .ct-service-card::after {
    content: none !important;
    display: none !important;
}

body .ct-service-card:hover,
body .ct-service-card:focus-within {
    transform: translateY(-4px) !important;
    border-color: rgba(37, 99, 235, .28) !important;
    box-shadow:
        0 15px 34px rgba(15, 23, 42, .09),
        0 0 0 1px rgba(37, 99, 235, .03) !important;
}

body .ct-service-card-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 40px !important;
    margin: 0 0 13px !important;
    padding: 0 0 11px !important;
    border-bottom: 1px solid rgba(226, 232, 240, .9) !important;
}

body .ct-service-number {
    color: #94a3b8 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .16em !important;
}

body .ct-service-icon {
    flex: 0 0 40px !important;
    display: inline-grid !important;
    place-items: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #2563eb, #6366f1) !important;
    color: #fff !important;
    box-shadow: 0 7px 16px rgba(37, 99, 235, .22) !important;
}

/* מונע SVG ענק / כתם שחור */
body .ct-service-icon svg {
    display: block !important;
    flex: none !important;
    width: 21px !important;
    height: 21px !important;
    min-width: 21px !important;
    min-height: 21px !important;
    max-width: 21px !important;
    max-height: 21px !important;
    overflow: visible !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body .ct-service-icon svg path,
body .ct-service-icon svg circle,
body .ct-service-icon svg rect,
body .ct-service-icon svg line,
body .ct-service-icon svg polyline,
body .ct-service-icon svg polygon {
    fill: none !important;
    stroke: currentColor !important;
}

body .ct-service-card-body {
    min-width: 0 !important;
}

body .ct-service-card-body h3 {
    margin: 0 0 6px !important;
    color: var(--ct-ink) !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
}

body .ct-service-card-body p {
    margin: 0 !important;
    color: var(--ct-ink-soft) !important;
    font-size: 12.6px !important;
    line-height: 1.62 !important;
}

body .ct-service-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    width: fit-content !important;
    margin-top: auto !important;
    padding-top: 11px !important;
    color: var(--ct-accent) !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

body .ct-service-link::before {
    content: "" !important;
    display: block !important;
    width: 15px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: currentColor !important;
    opacity: .28 !important;
    transition: width .22s ease, opacity .22s ease !important;
}

body .ct-service-link:hover::before {
    width: 23px !important;
    opacity: .65 !important;
}

body .ct-services-bottom {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr auto 1fr !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 12px 0 0 !important;
    padding: 11px 15px !important;
    border: 1px solid var(--ct-line) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .76) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .035) !important;
}

body .ct-services-bottom-item strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ct-ink);
    font-size: 12px;
    font-weight: 900;
}

body .ct-services-bottom-item span {
    display: block;
    color: var(--ct-ink-soft);
    font-size: 11px;
    line-height: 1.45;
}

body .ct-services-bottom-divider {
    width: 1px !important;
    height: 25px !important;
    background: var(--ct-line) !important;
}

/* ═══════════════════════════════
   הסינון החכם — נשמר רחב ונוח לקריאה
   ═══════════════════════════════ */
@media (min-width: 1201px) {
    body .products-with-facets.products-with-facets {
        grid-template-columns: clamp(315px, 23vw, 350px) minmax(0, 1fr) !important;
        gap: 22px !important;
    }

    body .product-facet-sidebar {
        width: 100% !important;
        min-width: 315px !important;
        max-width: 350px !important;
    }

    body .facet-sidebar-header,
    body .facet-group,
    body .facet-actions {
        padding-inline: 18px !important;
    }

    body .facet-label {
        font-size: 14px !important;
        line-height: 1.45 !important;
    }
}

/* ═══════════════════════════════
   מצב כהה
   ═══════════════════════════════ */
html[data-theme="dark"] {
    --ct-bg: #08111f;
    --ct-surface: #0f1b2e;
    --ct-surface-2: #132238;
    --ct-ink: #f8fafc;
    --ct-ink-soft: #a8b7cc;
    --ct-muted: #7f91aa;
    --ct-line: rgba(148, 163, 184, .17);
}

html[data-theme="dark"] body {
    background: var(--ct-bg);
    color: var(--ct-ink);
}

html[data-theme="dark"] body .ct-services {
    background:
        radial-gradient(700px 300px at 94% 0%, rgba(37, 99, 235, .13), transparent 62%),
        linear-gradient(180deg, #091321, #08111f) !important;
}

html[data-theme="dark"] body .ct-service-card {
    background: rgba(15, 27, 46, .96) !important;
    border-color: rgba(148, 163, 184, .16) !important;
}

html[data-theme="dark"] body .ct-service-card-top {
    border-bottom-color: rgba(148, 163, 184, .14) !important;
}

html[data-theme="dark"] body .ct-services-bottom {
    background: rgba(15, 27, 46, .78) !important;
}

html[data-theme="dark"] body .product-image {
    background:
        radial-gradient(circle at 50% 30%, rgba(59, 130, 246, .08), transparent 48%),
        linear-gradient(180deg, #132238, #0f1b2e);
}

/* ═══════════════════════════════
   Responsive
   ═══════════════════════════════ */
@media (max-width: 1020px) {
    body .ct-services-title-row {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    body .ct-services-contact {
        min-width: 0 !important;
        width: min(100%, 320px) !important;
    }

    body .ct-services-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body .ct-services-bottom {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    body .ct-services-bottom-divider {
        width: 100% !important;
        height: 1px !important;
    }
}

@media (max-width: 640px) {
    body .ct-services {
        padding: 32px 0 30px !important;
    }

    body .ct-services-heading,
    body .ct-services-bottom {
        margin-inline: 12px !important;
    }

    body .ct-services-title-row h2 {
        font-size: 26px !important;
    }

    body .ct-services-swipe-hint {
        display: inline-flex !important;
        margin-top: 9px !important;
        color: var(--ct-muted) !important;
        font-size: 11.5px !important;
        font-weight: 750 !important;
    }

    body .ct-services-rail {
        display: flex !important;
        gap: 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        overscroll-behavior-inline: contain;
        padding: 2px 12px 13px !important;
        scrollbar-width: thin;
    }

    body .ct-service-card {
        flex: 0 0 min(82vw, 292px) !important;
        min-height: 202px !important;
        scroll-snap-align: start !important;
    }

    body .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    body .product-image {
        min-height: 145px;
        padding: 8px;
    }

    body .product-image img {
        height: 138px;
    }

    body .product-card {
        padding: 9px 9px 12px;
        border-radius: 15px;
    }

    body .product-name {
        min-height: 40px;
        font-size: 12px;
    }

    body .product-price {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body .ct-service-card,
    body .ct-service-icon,
    body .product-card,
    body .product-image img,
    body .add-btn {
        transition: none !important;
        animation: none !important;
    }
}
/* =========================================================
   CATALOG / FACET SCROLL FIX v3.2
   - פס גלילה גלוי לקרוסלת הקטגוריות
   - סינון צדדי Sticky בזמן גלילת מוצרים
   - גלילה פנימית נפרדת לקטגוריות ולמותגים
   ========================================================= */

/* 1) קרוסלת הקטגוריות העליונה — לא להסתיר את פס הגלילה */
body .categories-carousel {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 16px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #60a5fa rgba(148,163,184,.14) !important;
    scrollbar-gutter: stable;
    overscroll-behavior-inline: contain;
}

body .categories-carousel::-webkit-scrollbar {
    display: block !important;
    height: 7px !important;
}

body .categories-carousel::-webkit-scrollbar-track {
    background: rgba(148,163,184,.12) !important;
    border-radius: 999px !important;
}

body .categories-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg,#60a5fa,#2563eb) !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    background-clip: padding-box !important;
}

body .categories-carousel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg,#3b82f6,#1d4ed8) !important;
    background-clip: padding-box !important;
}

/* קצת מרווח כדי שהכרטיס הראשון/האחרון והחצים לא ייחתכו */
body .categories-carousel-wrapper {
    padding-inline: 8px !important;
}

body .categories-carousel {
    padding-inline: 8px !important;
}

/* 2) סינון הצד נשאר מול המשתמש בזמן גלילה במוצרים */
@media (min-width: 1201px) {
    body .products-with-facets.products-with-facets {
        align-items: start !important;
        overflow: visible !important;
    }

    body .product-facet-sidebar {
        position: sticky !important;
        top: 104px !important;
        align-self: start !important;
        max-height: calc(100vh - 124px) !important;
        overflow: hidden !important;
        z-index: 20 !important;
    }

    body .facet-filter-form {
        min-height: 0 !important;
        height: 100% !important;
    }

    body .facet-sidebar-body {
        min-height: 0 !important;
        max-height: calc(100vh - 124px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(37,99,235,.65) rgba(148,163,184,.12) !important;
    }

    body .facet-sidebar-body::-webkit-scrollbar {
        width: 8px !important;
    }

    body .facet-sidebar-body::-webkit-scrollbar-track {
        background: rgba(148,163,184,.10) !important;
    }

    body .facet-sidebar-body::-webkit-scrollbar-thumb {
        background: rgba(37,99,235,.62) !important;
        border-radius: 999px !important;
        border: 2px solid transparent !important;
        background-clip: padding-box !important;
    }

    /* כותרת הסינון נשארת בראש החלונית הפנימית */
    body .facet-sidebar-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 8 !important;
        background:
            radial-gradient(220px 120px at 90% -20%, rgba(37,99,235,.10), transparent 70%),
            var(--ct-surface) !important;
        box-shadow: 0 1px 0 var(--ct-line) !important;
    }
}

/* 3) פס גלילה נפרד לקטגוריות בצד */
body .facet-category-group .facet-category-options {
    max-height: 250px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-inline-end: 4px !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(37,99,235,.62) rgba(148,163,184,.10) !important;
}

/* 4) מותגים לא נדחפים / נעלמים מתחת לרשימת קטגוריות ארוכה */
body .facet-brand-group .facet-options {
    max-height: 270px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-inline-end: 4px !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(79,70,229,.60) rgba(148,163,184,.10) !important;
}

/* גם סדרות ארוכות לא ידחפו את שאר קבוצות הסינון */
body .facet-series-group .facet-options {
    max-height: 220px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-inline-end: 4px !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(14,165,233,.58) rgba(148,163,184,.10) !important;
}

body .facet-category-group .facet-category-options::-webkit-scrollbar,
body .facet-brand-group .facet-options::-webkit-scrollbar,
body .facet-series-group .facet-options::-webkit-scrollbar {
    width: 7px !important;
}

body .facet-category-group .facet-category-options::-webkit-scrollbar-track,
body .facet-brand-group .facet-options::-webkit-scrollbar-track,
body .facet-series-group .facet-options::-webkit-scrollbar-track {
    background: rgba(148,163,184,.09) !important;
    border-radius: 999px !important;
}

body .facet-category-group .facet-category-options::-webkit-scrollbar-thumb,
body .facet-brand-group .facet-options::-webkit-scrollbar-thumb,
body .facet-series-group .facet-options::-webkit-scrollbar-thumb {
    background: rgba(37,99,235,.58) !important;
    border-radius: 999px !important;
}

/* שמירת כותרת כל קבוצת סינון מעל הרשימה שלה */
body .facet-group-title {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-block: 4px 7px;
    background: var(--ct-surface);
}

/* טאבלט/מובייל: אין Sticky של כל הסרגל, אבל הרשימות ממשיכות להיות גלילות */
@media (max-width: 1200px) {
    body .product-facet-sidebar {
        position: relative !important;
        top: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    body .facet-sidebar-body {
        max-height: none !important;
        overflow: visible !important;
    }

    body .facet-category-group .facet-category-options,
    body .facet-brand-group .facet-options,
    body .facet-series-group .facet-options {
        max-height: 240px !important;
        overflow-y: auto !important;
    }
}

/* RTL: scrollbar and card scrolling remain stable */
html[dir="rtl"] body .categories-carousel {
    direction: rtl;
}

html[data-theme="dark"] body .facet-group-title {
    background: var(--ct-surface);
}
/* =========================================================
   DIRECT CATALOG v3.3
   קטלוג המוצרים מוצג מיד — ללא חלון הנחיות מקדים
   ========================================================= */
body .quick-filter-toggle-wrap {
    margin-top: 34px !important;
}

body .products-with-facets {
    scroll-margin-top: 110px;
}

body #productsGrid {
    scroll-margin-top: 120px;
}

/* =========================================================
   UI FIX v3.14
   Quick filter + category carousel arrows
   ========================================================= */

/* ---------- QUICK FILTER: complete self-contained styling ---------- */

body .quick-filter-toggle-wrap {
    position: relative !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: min(1440px, calc(100% - 32px)) !important;
    margin: 28px auto 10px !important;
    padding: 0 !important;
}

body .quick-filter-toggle-button,
body .quick-filter-toggle-wrap .reset-filter-btn {
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    border-radius: 13px !important;
    border: 0 !important;
    text-decoration: none !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

body .quick-filter-toggle-button {
    color: #fff !important;
    background: linear-gradient(135deg, #1d4ed8, #3730a3) !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .22) !important;
}

body .quick-filter-toggle-wrap .reset-filter-btn {
    color: #fff !important;
    background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
    box-shadow: 0 10px 22px rgba(225, 29, 72, .20) !important;
}

body .quick-filter-toggle-arrow {
    display: inline-block !important;
    font-size: 10px !important;
    transition: transform .22s ease !important;
}

body .quick-filter-toggle-button[aria-expanded="true"] .quick-filter-toggle-arrow {
    transform: rotate(180deg) !important;
}

body .quick-filter-section {
    position: relative !important;
    z-index: 4 !important;
    display: block;
    width: min(1440px, calc(100% - 32px)) !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;
}

body .quick-filter-section[hidden] {
    display: none !important;
}

body .quick-filter-table {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(190px, .72fr) minmax(430px, 1.55fr) minmax(220px, .8fr) auto !important;
    align-items: end !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 20px 22px !important;
    border: 1px solid rgba(148, 163, 184, .24) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(37,99,235,.075), transparent 34%),
        rgba(255,255,255,.97) !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .085) !important;
    overflow: hidden !important;
}

body .quick-filter-heading {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    align-self: center !important;
}

body .quick-filter-icon {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 13px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
    box-shadow: 0 9px 20px rgba(37,99,235,.22) !important;
    font-size: 17px !important;
}

body .quick-filter-heading > div {
    min-width: 0 !important;
}

body .quick-filter-heading strong {
    display: block !important;
    margin: 0 0 3px !important;
    color: #0f172a !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}

body .quick-filter-heading small {
    display: block !important;
    color: #64748b !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
}

body .quick-filter-price {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    grid-template-areas:
        "label label label"
        "min sep max" !important;
    gap: 7px 10px !important;
    align-items: end !important;
    min-width: 0 !important;
}

body .quick-filter-label {
    grid-area: label !important;
    display: block !important;
    color: #475569 !important;
    font-size: 11.5px !important;
    font-weight: 850 !important;
}

body .quick-filter-price-item:first-of-type {
    grid-area: min !important;
}

body .quick-filter-price-item:last-of-type {
    grid-area: max !important;
}

body .quick-filter-price-item {
    min-width: 0 !important;
}

body .quick-filter-price-item > label,
body .quick-filter-sort > label {
    display: block !important;
    margin: 0 0 5px !important;
    color: #64748b !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

body .quick-filter-separator {
    grid-area: sep !important;
    align-self: end !important;
    padding-bottom: 13px !important;
    color: #94a3b8 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

body .quick-filter-manual-input {
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 0 12px !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
}

body .quick-filter-manual-input:focus-within {
    border-color: #60a5fa !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,.10) !important;
}

body .quick-filter-manual-input > span {
    flex: 0 0 auto !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

body .quick-filter-manual-input input {
    min-width: 0 !important;
    width: 100% !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #0f172a !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    text-align: right !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}

body .quick-filter-manual-input input::-webkit-outer-spin-button,
body .quick-filter-manual-input input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

body .quick-filter-manual-input input::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

body .quick-filter-sort {
    min-width: 0 !important;
}

body .quick-filter-sort select {
    width: 100% !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 12px !important;
    outline: none !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-family: inherit !important;
    font-size: 12.5px !important;
    font-weight: 750 !important;
    cursor: pointer !important;
}

body .quick-filter-sort select:focus {
    border-color: #60a5fa !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,.10) !important;
}

body .quick-filter-reset {
    align-self: end !important;
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 14px !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 11.5px !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

body .quick-filter-reset:hover {
    border-color: #60a5fa !important;
    color: #1d4ed8 !important;
    background: #eff6ff !important;
}

/* ---------- CAROUSEL ARROWS: hard reset against old css ---------- */

body .categories-carousel-wrapper {
    position: relative !important;
    overflow: visible !important;
    isolation: isolate !important;
}

body .carousel-arrow {
    position: absolute !important;
    top: 50% !important;
    right: auto !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(148,163,184,.34) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.96) !important;
    color: #1d4ed8 !important;
    box-shadow: 0 10px 28px rgba(15,23,42,.13) !important;
    font-size: 0 !important;
    line-height: 0 !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

body .carousel-arrow::before,
body .carousel-arrow::after {
    content: none !important;
    display: none !important;
}

body .carousel-arrow-left {
    left: -20px !important;
    right: auto !important;
}

body .carousel-arrow-right {
    right: -20px !important;
    left: auto !important;
}

body .carousel-arrow .ct-carousel-chevron {
    width: 19px !important;
    height: 19px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    pointer-events: none !important;
}

body .carousel-arrow:hover {
    color: #fff !important;
    border-color: #2563eb !important;
    background: linear-gradient(135deg,#2563eb,#4f46e5) !important;
    transform: translateY(-50%) scale(1.06) !important;
    box-shadow: 0 14px 30px rgba(37,99,235,.27) !important;
}

body .carousel-arrow:active {
    transform: translateY(-50%) scale(.97) !important;
}

body .carousel-arrow:focus-visible {
    outline: 3px solid rgba(37,99,235,.22) !important;
    outline-offset: 3px !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 1050px) {
    body .quick-filter-table {
        grid-template-columns: minmax(180px,.7fr) minmax(360px,1.35fr) minmax(200px,.8fr) !important;
    }

    body .quick-filter-reset {
        grid-column: 1 / -1 !important;
        justify-self: start !important;
    }
}

@media (max-width: 760px) {
    body .quick-filter-toggle-wrap {
        width: calc(100% - 24px) !important;
        margin-top: 20px !important;
    }

    body .quick-filter-toggle-button,
    body .quick-filter-toggle-wrap .reset-filter-btn {
        flex: 1 1 auto !important;
    }

    body .quick-filter-section {
        width: calc(100% - 24px) !important;
    }

    body .quick-filter-table {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 17px !important;
    }

    body .quick-filter-price {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "label"
            "min"
            "max" !important;
    }

    body .quick-filter-separator {
        display: none !important;
    }

    body .quick-filter-reset {
        width: 100% !important;
        justify-self: stretch !important;
    }

    body .carousel-arrow {
        display: none !important;
    }
}

/* ---------- Dark mode ---------- */

html[data-theme="dark"] body .quick-filter-table {
    border-color: rgba(148,163,184,.16) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(37,99,235,.11), transparent 34%),
        rgba(15,27,46,.96) !important;
}

html[data-theme="dark"] body .quick-filter-heading strong,
html[data-theme="dark"] body .quick-filter-manual-input input,
html[data-theme="dark"] body .quick-filter-sort select {
    color: #f8fafc !important;
}

html[data-theme="dark"] body .quick-filter-heading small,
html[data-theme="dark"] body .quick-filter-label,
html[data-theme="dark"] body .quick-filter-price-item > label,
html[data-theme="dark"] body .quick-filter-sort > label {
    color: #a7b5c9 !important;
}

html[data-theme="dark"] body .quick-filter-manual-input,
html[data-theme="dark"] body .quick-filter-sort select,
html[data-theme="dark"] body .quick-filter-reset {
    border-color: rgba(148,163,184,.16) !important;
    background: rgba(17,30,50,.92) !important;
}

html[data-theme="dark"] body .carousel-arrow {
    border-color: rgba(148,163,184,.2) !important;
    background: rgba(17,30,50,.96) !important;
    color: #93c5fd !important;
}
/* =========================================================
   OUT OF STOCK — CLEAN PRODUCT CARD v3.15
   PHP + CSS fallback for dynamic/infinite-scroll cards
   ========================================================= */

/* לא משאירים מינוס / 1 / פלוס במוצר שאזל מהמלאי */
body .product-card.is-out-of-stock .qty-row,
body .product-card:has(.product-stock.stock-out) .qty-row {
    display: none !important;
}

body .product-card.is-out-of-stock .qty-btn,
body .product-card.is-out-of-stock .qty-input,
body .product-card:has(.product-stock.stock-out) .qty-btn,
body .product-card:has(.product-stock.stock-out) .qty-input {
    display: none !important;
}

/* שומר על יישור תחתית הכרטיסים */
body .product-card.is-out-of-stock .product-form,
body .product-card:has(.product-stock.stock-out) .product-form {
    margin-top: auto !important;
    display: grid !important;
    gap: 0 !important;
}

/* כפתור סטטוס נקי במקום X / שדה כמות שבור */
body .product-card .out-of-stock-btn,
body .product-card.is-out-of-stock .add-btn:disabled,
body .product-card:has(.product-stock.stock-out) .add-btn:disabled {
    width: 100% !important;
    min-height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 9px 12px !important;

    border: 1px solid rgba(239, 68, 68, .18) !important;
    border-radius: 11px !important;

    background: rgba(254, 242, 242, .82) !important;
    color: #b91c1c !important;

    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1 !important;

    opacity: 1 !important;
    box-shadow: none !important;
    cursor: default !important;
    pointer-events: none !important;
}

/*
 * fallback ל-HTML ישן שמכיל "❌ אזל מהמלאי":
 * מסתירים את הטקסט הישן ומציגים טקסט נקי.
 */
body .product-card.is-out-of-stock .add-btn:disabled:not(.out-of-stock-btn),
body .product-card:has(.product-stock.stock-out) .add-btn:disabled:not(.out-of-stock-btn) {
    font-size: 0 !important;
}

body .product-card.is-out-of-stock .add-btn:disabled:not(.out-of-stock-btn)::after,
body .product-card:has(.product-stock.stock-out) .add-btn:disabled:not(.out-of-stock-btn)::after {
    content: "אזל מהמלאי";
    font-size: 12px;
    font-weight: 850;
}

/* תג מלאי עליון */
body .product-card.is-out-of-stock .product-stock.stock-out,
body .product-card:has(.product-stock.stock-out) .product-stock.stock-out {
    color: #b91c1c !important;
    background: rgba(254, 226, 226, .90) !important;
    border: 1px solid rgba(239, 68, 68, .22) !important;
}

/* מוצר שאזל לא "קופץ" כאילו ניתן לקנייה */
body .product-card.is-out-of-stock:hover,
body .product-card:has(.product-stock.stock-out):hover {
    transform: none !important;
}

@media (max-width: 760px) {
    body .product-card .out-of-stock-btn,
    body .product-card.is-out-of-stock .add-btn:disabled,
    body .product-card:has(.product-stock.stock-out) .add-btn:disabled {
        min-height: 39px !important;
        padding: 8px 9px !important;
        font-size: 11.5px !important;
    }
}
/* =========================================================
   PRODUCT CARD v3.16
   תמונה בתוך מסגרת בלבד + שם/תיאור מתחת לתמונה
   קומפקטי, מקצועי, 5 כרטיסים בשורה במחשב
   ========================================================= */

/* רשת מוצרים */
body .products-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 22px 16px !important;
    align-items: start !important;
}

/*
 * הכרטיס עצמו שקוף:
 * המסגרת הוויזואלית נמצאת רק סביב התמונה.
 */
body .product-card {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;

    min-width: 0 !important;
    min-height: 0 !important;

    gap: 6px !important;

    margin: 0 !important;
    padding: 0 4px 12px !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    overflow: visible !important;

    transition: none !important;
}

body .product-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}


/* =========================================================
   IMAGE PANEL
   רק אזור התמונה מקבל רקע / מסגרת / radius
   ========================================================= */

body .product-card .product-image {
    position: relative !important;

    width: 100% !important;
    height: 205px !important;
    min-height: 205px !important;
    max-height: 205px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 0 4px !important;
    padding: 7px !important;

    overflow: hidden !important;

    border: 1px solid rgba(219, 228, 240, .58) !important;
    border-radius: 15px !important;

    background:
        radial-gradient(circle at 50% 32%, rgba(37, 99, 235, .055), transparent 50%),
        linear-gradient(180deg, #fafcff 0%, #f3f6fb 100%) !important;

    box-shadow:
        0 6px 18px rgba(15, 23, 42, .035) !important;
}


/* תמונת מוצר - מעט גדולה וברורה יותר */
body .product-card .product-image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 210px !important;
    max-height: 188px !important;

    margin: auto !important;

    object-fit: contain !important;
    object-position: center !important;

    transform: none !important;

    transition: transform .24s ease !important;
}

body .product-card:hover .product-image img {
    transform: scale(1.03) !important;
}


/* =========================================================
   STOCK BADGE
   נשאר בתוך אזור התמונה
   ========================================================= */

body .product-card .product-stock {
    position: absolute !important;

    top: 9px !important;
    right: 10px !important;

    z-index: 5 !important;

    margin: 0 !important;
    padding: 4px 9px !important;

    border-radius: 999px !important;

    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 850 !important;

    box-shadow: none !important;
}


/* =========================================================
   PRODUCT NAME / DESCRIPTION
   מחוץ למסגרת התמונה ומתחתיה
   ========================================================= */

body .product-card .product-name {
    position: static !important;

    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;

    width: 100% !important;

    min-width: 0 !important;
    min-height: 52px !important;
    max-height: 52px !important;

    margin: 3px 0 0 !important;
    padding: 0 3px !important;

    overflow: hidden !important;

    color: #111827 !important;

    font-size: 12.5px !important;
    line-height: 1.38 !important;
    font-weight: 750 !important;

    text-align: center !important;
    text-decoration: none !important;

    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

body .product-card .product-name:hover {
    color: #2563eb !important;
}


/* =========================================================
   PRICE
   ========================================================= */

body .product-card .product-price {
    display: block !important;

    width: 100% !important;

    margin: 1px 0 4px !important;
    padding: 0 3px !important;

    color: #f97316 !important;

    font-size: 17px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;

    text-align: right !important;

    letter-spacing: -.015em !important;
}


/* =========================================================
   PRODUCT FORM
   ========================================================= */

body .product-card .product-form {
    display: grid !important;
    gap: 6px !important;

    width: 100% !important;

    margin-top: auto !important;
}


/* quantity יותר קומפקטי */
body .product-card .qty-row {
    display: grid !important;

    grid-template-columns: 38px minmax(42px, 1fr) 38px !important;
    gap: 5px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

body .product-card .qty-btn,
body .product-card .qty-input {
    height: 36px !important;
    min-height: 36px !important;

    margin: 0 !important;
    padding: 3px 5px !important;

    border-radius: 9px !important;
}


/* add to cart */
body .product-card .add-btn {
    width: 100% !important;

    min-height: 42px !important;

    margin: 0 !important;
    padding: 8px 10px !important;

    border-radius: 10px !important;

    font-size: 12.5px !important;
    font-weight: 850 !important;
}


/* =========================================================
   OUT OF STOCK
   אין שדה כמות. רק סטטוס נקי מתחת למוצר.
   ========================================================= */

body .product-card.is-out-of-stock .qty-row,
body .product-card:has(.product-stock.stock-out) .qty-row {
    display: none !important;
}

body .product-card .out-of-stock-btn,
body .product-card.is-out-of-stock .out-of-stock-btn {
    min-height: 42px !important;

    margin: 0 !important;

    border: 1px solid rgba(239, 68, 68, .16) !important;

    background: rgba(254, 242, 242, .78) !important;
    color: #b91c1c !important;

    opacity: 1 !important;

    box-shadow: none !important;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1450px) {
    body .product-card .product-image {
        height: 215px !important;
        min-height: 215px !important;
        max-height: 215px !important;
    }

    body .product-card .product-image img {
        max-width: 220px !important;
        max-height: 198px !important;
    }
}


/* =========================================================
   MEDIUM DESKTOP / TABLET
   ========================================================= */

@media (max-width: 1250px) {
    body .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 980px) {
    body .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px 12px !important;
    }

    body .product-card .product-image {
        height: 190px !important;
        min-height: 190px !important;
        max-height: 190px !important;
    }

    body .product-card .product-image img {
        max-height: 174px !important;
    }
}


/* =========================================================
   MOBILE — 2 products per row
   ========================================================= */

@media (max-width: 680px) {
    body .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 9px !important;
    }

    body .product-card {
        padding-inline: 1px !important;
        padding-bottom: 10px !important;
        gap: 5px !important;
    }

    body .product-card .product-image {
        height: 155px !important;
        min-height: 155px !important;
        max-height: 155px !important;

        padding: 4px !important;

        border-radius: 12px !important;
    }

    body .product-card .product-image img {
        max-width: 100% !important;
        max-height: 145px !important;
    }

    body .product-card .product-name {
        min-height: 49px !important;
        max-height: 49px !important;

        padding-inline: 1px !important;

        font-size: 11.5px !important;
        line-height: 1.4 !important;
    }

    body .product-card .product-price {
        font-size: 15px !important;
        padding-inline: 1px !important;
    }

    body .product-card .qty-row {
        grid-template-columns: 34px minmax(38px, 1fr) 34px !important;
        gap: 4px !important;
    }

    body .product-card .qty-btn,
    body .product-card .qty-input {
        height: 34px !important;
        min-height: 34px !important;
    }

    body .product-card .add-btn {
        min-height: 39px !important;

        padding: 7px 6px !important;

        font-size: 11.5px !important;
    }
}


/* =========================================================
   DARK MODE
   ========================================================= */

html[data-theme="dark"] body .product-card .product-image {
    border-color: rgba(148, 163, 184, .14) !important;

    background:
        radial-gradient(circle at 50% 32%, rgba(59, 130, 246, .08), transparent 50%),
        linear-gradient(180deg, #101a2c 0%, #0d1727 100%) !important;
}

html[data-theme="dark"] body .product-card .product-name {
    color: #f8fafc !important;
}
/* =========================================================
   CYBERTECH HERO v3.17 — COMPACT + GLASS TEXT PANEL
   - אזור Hero צר ונמוך יותר
   - טבלת זכוכית כהה וזוהרת מאחורי הכיתוב
   - תמונות הסליידר מוצגות במלואן ללא חיתוך
   ========================================================= */

/* המסגרת הראשית - לא תופסת יותר כמעט מסך שלם */
body .premium-hero {
    width: min(1280px, calc(100% - 36px)) !important;
    min-height: 0 !important;

    margin: 28px auto 34px !important;
    padding: 34px 38px !important;

    display: grid !important;
    grid-template-columns: minmax(390px, .90fr) minmax(460px, 1.10fr) !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 30px !important;

    border: 1px solid rgba(99, 102, 241, .18) !important;
    border-radius: 26px !important;

    box-shadow:
        0 20px 54px rgba(15, 23, 42, .18),
        inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}


/* =========================================================
   GLASS PANEL BEHIND THE TEXT
   ========================================================= */

body .premium-hero .premium-left {
    position: relative !important;
    isolation: isolate !important;

    width: 100% !important;
    max-width: 500px !important;
    min-width: 0 !important;
    object-fit:cover;
    padding: 0px 20px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    border: 1px solid rgba(96, 165, 250, .42) !important;
    border-radius: 21px !important;

    background:
        linear-gradient(
            145deg,
            rgba(1, 5, 18, .62),
            rgba(8, 15, 38, .42)
        ) !important;

    backdrop-filter: blur(18px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(135%) !important;

    box-shadow:
        0 0 0 1px rgba(129, 140, 248, .08),
        0 0 24px rgba(59, 130, 246, .16),
        0 0 46px rgba(99, 102, 241, .10),
        inset 0 1px 0 rgba(255, 255, 255, .10) !important;

    overflow: hidden !important;
}


/* אור עדין מסביב לטבלה */
body .premium-hero .premium-left::before {
    content: "" !important;

    position: absolute !important;
    inset: -1px !important;
    z-index: -2 !important;

    border-radius: inherit !important;

    background:
        linear-gradient(
            120deg,
            rgba(56, 189, 248, .34),
            rgba(99, 102, 241, .12) 44%,
            rgba(139, 92, 246, .28)
        ) !important;

    opacity: .42 !important;
    filter: blur(15px) !important;

    pointer-events: none !important;
}


/* שכבת אור פנימית - לא פוגעת בקריאות */
body .premium-hero .premium-left::after {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;

    border-radius: inherit !important;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(59, 130, 246, .13),
            transparent 38%
        ),
        radial-gradient(
            circle at 8% 92%,
            rgba(124, 58, 237, .10),
            transparent 34%
        ) !important;

    pointer-events: none !important;
}


/* הכותרת קטנה מעט כדי לחסוך גובה */
body .premium-hero .premium-left h2 {
    margin: 0 !important;

    font-size: clamp(34px, 3.5vw, 50px) !important;
    line-height: 1.02 !important;
}


/* כותרת משנה */
body .premium-hero .premium-left h3 {
    margin: 12px 0 0 !important;

    font-size: clamp(16px, 1.45vw, 20px) !important;
    line-height: 1.45 !important;
}


/* טקסט */
body .premium-hero .premium-left p {
    max-width: 450px !important;

    margin: 11px 0 0 !important;

    font-size: 14.5px !important;
    line-height: 1.7 !important;

    color: rgba(226, 232, 240, .84) !important;
}


/* פחות שטח ריק לפני הכפתור */
body .premium-hero .all-products-links {
    margin-top: 20px !important;
}


/* כפתור מעט יותר קומפקטי */
body .premium-hero .all-products-links .cyber-btn-primary {
    padding: 5px 10px !important;

    font-size: 13.5px !important;

    box-shadow:
        0 10px 26px rgba(37, 99, 235, .30),
        inset 0 1px 0 rgba(255, 255, 255, .20) !important;
}


/* =========================================================
   SLIDER — SMALLER FRAME / FULL IMAGE
   ========================================================= */

body .premium-hero .premium-right {
    width: 100% !important;
    max-width: 570px !important;
    min-width: 0 !important;

    justify-self: center !important;
}


/* פחות מסגרת מסביב */
body .premium-hero .hero-slider-box {
    width: 100% !important;

    border-radius: 20px !important;

    border: 1px solid rgba(96, 165, 250, .28) !important;

    box-shadow:
        0 18px 42px rgba(0, 0, 0, .34),
        0 0 0 4px rgba(59, 130, 246, .045) !important;
}


/*
 * 16:9 בגובה טבעי.
 * אין min-height של 300px שדוחף את כל ההידר לגובה.
 */
body .premium-hero .hero-slider {
    width: 100% !important;

    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
    height: auto !important;

    background-color: #070d20 !important;
    background-size: cover !important;
    background-position: center !important;
}


/*
 * קריטי:
 * contain מציג את כל תמונת הסלייד בלי לחתוך צדדים/למעלה/למטה.
 */
body .premium-hero .hero-slider .slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 5px !important;

    background:
        radial-gradient(
            circle at center,
            rgba(37, 99, 235, .055),
            transparent 65%
        ) !important;
}


body .premium-hero .hero-slider .slide img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: auto !important;

    transform: none !important;
}


/* תיאור השקופית יותר קטן ולא מכסה את התמונה */
body .premium-hero .slide-title {
    right: 50% !important;
    bottom: 25px !important;

    transform: translateX(50%) !important;

    width: min(88%, 470px) !important;
    max-width: 88% !important;

    padding: 7px 13px !important;

    text-align: center !important;

    font-size: 11.5px !important;
    line-height: 1.35 !important;

    background: rgba(5, 10, 26, .72) !important;

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


/* הדוטים וה-progress מעט נמוכים יותר */
body .premium-hero .slider-dots {
    bottom: 10px !important;
}

body .premium-hero .slider-progress {
    height: 2px !important;
}


/* =========================================================
   LAPTOP / TABLET
   ========================================================= */

@media (max-width: 1050px) {
    body .premium-hero {
        width: min(940px, calc(100% - 28px)) !important;

        grid-template-columns: 1fr 1fr !important;

        padding: 28px !important;
        gap: 22px !important;
    }

    body .premium-hero .premium-left {
        padding: 0px !important;
    }

    body .premium-hero .premium-right {
        max-width: 500px !important;
    }
}


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

@media (max-width: 780px) {
    body .premium-hero {
        width: calc(100% - 18px) !important;

        margin: 14px auto 22px !important;
        padding: 14px !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 15px !important;

        border-radius: 20px !important;
    }

    body .premium-hero .premium-left,
    body .premium-hero .premium-right {
        width: 100% !important;
        max-width: 100% !important;
    }

    body .premium-hero .premium-left {
        padding: 0px 7px !important;

        align-items: center !important;
        text-align: center !important;

        border-radius: 17px !important;
    }

    body .premium-hero .premium-left h2 {
        font-size: clamp(30px, 10vw, 42px) !important;
    }

    body .premium-hero .premium-left h3 {
        font-size: 15px !important;
    }

    body .premium-hero .premium-left p {
        max-width: 100% !important;

        font-size: 13.5px !important;
        line-height: 1.65 !important;
    }

    body .premium-hero .all-products-links {
        margin-top: 16px !important;
    }

    body .premium-hero .hero-slider {
        aspect-ratio: 16 / 10 !important;
    }

    body .premium-hero .hero-slider .slide {
        padding: 3px !important;
    }

    body .premium-hero .slide-title {
        bottom: 22px !important;

        width: 92% !important;
        max-width: 92% !important;

        font-size: 10.5px !important;
    }
}


/* מסכים קטנים מאוד */
@media (max-width: 430px) {
    body .premium-hero {
        width: calc(100% - 12px) !important;

        padding: 10px !important;
    }

    body .premium-hero .premium-left {
        padding: 16px 13px !important;
    }

    body .premium-hero .hero-slider {
        aspect-ratio: 4 / 3 !important;
    }
}
/* =========================================================
   CATEGORY IMAGE FLIP 360 — v3.18
   FIX: the older stylesheet explicitly disabled the flip.
   This final override restores it on the REAL category markup:
   .category-carousel-item > .category-flip-inner > .category-image > img
   ========================================================= */

/* Perspective belongs to the image container */
body .category-carousel-item.category-flip-360 .category-image {
    perspective: 900px !important;
    transform-style: preserve-3d !important;
    overflow: visible !important;
}

/* Base state */
body .category-carousel-item.category-flip-360 .category-image img {
    transform: rotateY(0deg) scale(1) !important;
    transform-origin: center center !important;
    transform-style: preserve-3d !important;

    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;

    transition:
        transform .90s cubic-bezier(.16, 1, .30, 1),
        filter .40s ease !important;

    will-change: transform, filter;
}

/* Hover: full 360° + gentle zoom + glow */
body .category-carousel-item.category-flip-360:hover .category-image img,
body .category-carousel-item.category-flip-360:focus-visible .category-image img {
    transform: rotateY(360deg) scale(1.10) !important;

    filter:
        drop-shadow(0 10px 14px rgba(37, 99, 235, .22))
        drop-shadow(0 0 10px rgba(124, 58, 237, .16)) !important;
}

/*
 * When hover/focus ends the base transform becomes rotateY(0deg),
 * so the same transition animates the image smoothly back.
 */
body .category-carousel-item.category-flip-360:not(:hover):not(:focus-visible) .category-image img {
    transform: rotateY(0deg) scale(1) !important;
    filter: none !important;
}

/* Keep the wrapper neutral; previous CSS had animation:none/transform:none here */
body .category-carousel-item.category-flip-360 .category-flip-inner {
    transform: none !important;
    animation: none !important;
}

/* Do not let the old generic hover scale rule win */
body .category-carousel-item:hover .category-image img {
    transform: rotateY(360deg) scale(1.10) !important;
}

/* Respect reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {
    body .category-carousel-item.category-flip-360 .category-image img {
        transition: transform .20s ease, filter .20s ease !important;
    }

    body .category-carousel-item.category-flip-360:hover .category-image img,
    body .category-carousel-item.category-flip-360:focus-visible .category-image img {
        transform: scale(1.05) !important;
    }
}
/* =========================================================
   CATEGORY — TRUE 360° FLIP + 360° RETURN
   ========================================================= */

.category-carousel-item .category-image {
    perspective: 1000px !important;
    overflow: visible !important;
}


/* מצב רגיל */
.category-carousel-item .category-image img {
    transform:
        perspective(1000px)
        rotateY(0deg) !important;

    transform-origin: center center !important;
    transform-style: preserve-3d !important;

    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;

    transition:
        transform 1.05s cubic-bezier(.45, 0, .20, 1) !important;

    will-change: transform;
}


/* כניסת העכבר — היפוך מלא 360 מעלות */
.category-carousel-item:hover .category-image img {
    transform:
        perspective(1000px)
        rotateY(360deg) !important;
}


/* יציאת העכבר — חזרה מלאה 360 מעלות */
.category-carousel-item:not(:hover) .category-image img {
    transform:
        perspective(1000px)
        rotateY(0deg) !important;
}

/* =========================================================
   CYBERTECH SERVICES — PREMIUM BLACK-GLASS + LIGHT BEAMS
   זכוכית שחורה שקופה • פסי אור דינמיים • זרקור עם העכבר
========================================================= */
.ct-services {
  --ct-text:  #eef2ff;
  --ct-muted: #98a1b8;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(91,140,255,.14), transparent 60%),
    radial-gradient(900px 480px at 4% 112%, rgba(34,211,238,.10), transparent 55%),
    linear-gradient(180deg, #07090f, #0a0e18);
  padding: clamp(64px, 9vw, 110px) 0;
}

.ct-services-shell {
  max-width: 1280px;
  margin-inline: auto;
}

/* ---------- רקע: אורות אטמוספריים נעים ---------- */
.ct-services::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -2;
  background:
    conic-gradient(from 210deg at 30% 20%, transparent 0deg, rgba(91,140,255,.12) 40deg, transparent 90deg),
    conic-gradient(from 30deg at 70% 80%, transparent 0deg, rgba(34,211,238,.10) 50deg, transparent 110deg);
  animation: ctAurora 26s ease-in-out infinite alternate;
  pointer-events: none;
}

/* ---------- רקע: פסי אור שמחליקים לאט על כל הסקשן ---------- */
.ct-services::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  background: linear-gradient(112deg,
    transparent 0%, transparent 46%,
    rgba(140,180,255,.14) 50%,
    rgba(120,210,255,.20) 52%,
    transparent 56%, transparent 100%);
  background-size: 340% 100%;
  animation: ctBeams 16s linear infinite;
  pointer-events: none;
}

@keyframes ctAurora {
  from { transform: translate3d(-4%, -2%, 0) rotate(0deg); }
  to   { transform: translate3d(4%, 3%, 0) rotate(6deg); }
}
@keyframes ctBeams {
  0%   { background-position: 130% 0; }
  100% { background-position: -240% 0; }
}

/* =========================================================
   כותרת — Kicker זוהר + Reveal
========================================================= */
.ct-services-heading {
  margin-bottom: clamp(28px, 4vw, 44px);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.ct-services-heading.is-visible { opacity: 1; transform: none; }

.ct-services-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 700;
  color: #7fb4ff;
  margin-bottom: 18px;
}
.ct-services-kicker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 10px #22d3ee, 0 0 24px rgba(34,211,238,.5);
  animation: ctPulse 2.4s ease-in-out infinite;
}
@keyframes ctPulse {
  50% { box-shadow: 0 0 16px #22d3ee, 0 0 40px rgba(34,211,238,.7); }
}

.ct-services-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ct-services-title-row h2 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ct-text);
}
.ct-services-title-row p {
  margin: 10px 0 0;
  color: var(--ct-muted);
  font-size: clamp(15px, 1.6vw, 18px);
}

/* כפתור "דברו עם CyberTech" — זכוכית עם שיפוע זוהר */
.ct-services-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, rgba(13,17,28,.85), rgba(8,11,19,.6)) padding-box,
    linear-gradient(140deg, rgba(91,140,255,.6), rgba(34,211,238,.35)) border-box;
  color: #eef2ff;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ct-services-contact strong { color: #7fb4ff; }
.ct-services-contact-arrow { transition: transform .3s ease; }
.ct-services-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(91,140,255,.25);
}
.ct-services-contact:hover .ct-services-contact-arrow { transform: translateX(-4px); } /* RTL */

/* =========================================================
   הרכב — מסילת הגלילה
========================================================= */
.ct-services-rail {
  display: flex;
  gap: 20px;
  direction: rtl;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* Edge legacy */
  -webkit-overflow-scrolling: touch;

  padding: 12px clamp(16px, 4vw, 40px) 40px;
  margin-inline: calc(clamp(16px, 4vw, 40px) * -1);
  scroll-padding-inline: clamp(16px, 4vw, 40px);

  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ct-services-rail::-webkit-scrollbar { display: none; }

/* =========================================================
   כרטיס — BLACK GLASS + SWEEP + SPOTLIGHT
========================================================= */
.ct-service-card {
  position: relative;
  flex: 0 0 clamp(264px, 27vw, 330px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 22px 22px;
  border-radius: 28px;
  overflow: hidden;               /* חותך את פס האור */

  /* זכוכית שחורה שקופה + גבול שיפוע זוהר */
  border: 3px solid transparent;
  background:
    linear-gradient(165deg, rgba(12,15,26,.42), rgba(6,8,14,.42)) padding-box,
    linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,.42) 38%, rgba(255,255,255,.42)) border-box;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow:
    0 22px 50px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.09),
    inset 0 0 40px rgba(91,140,255,.03);
  transition:
    transform .45s cubic-bezier(.2,.7,.3,1.15),
    box-shadow .45s ease;

  /* Reveal — ה-JS הקיים מוסיף .is-visible */
  opacity: 0;
  transform: translateY(36px);
}
.ct-service-card.is-visible { opacity: 1; transform: translateY(0); }
.ct-services-rail .ct-service-card:hover,
.ct-services-rail .ct-service-card:focus-within {
  transform: translateY(-7px);
  box-shadow:
    0 30px 70px rgba(0,0,0,.6),
    0 0 0 1px rgba(91,140,255,.25),
    0 0 46px rgba(91,140,255,.18),
    inset 0 1px 0 rgba(255,255,255,.12);
}

/* זרקור שעוקב אחרי העכבר (משתנים מוזנים מה-JS למטה) */
.ct-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 20%),
              rgba(91,140,255,.16), rgba(34,211,238,.05) 42%, transparent 68%);
  opacity: 0.5;
  transition: opacity .4s ease;
  pointer-events: none;
}
.ct-service-card:hover::before { opacity: 1; }

/* פס אור שעובר על הכרטיס ב-Hover */
.ct-service-card::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 60%;
  background: linear-gradient(105deg,
              transparent,
              rgba(255,255,255,.18) 45%,
              rgba(255,255,255,.42) 50%,
              rgba(255,255,255,.18) 55%,
              transparent);
  transform: skewX(-14deg);
  transition: left .85s cubic-bezier(.3,.6,.2,1);
  pointer-events: none;
}
.ct-service-card:hover::after { left: 120%; }

/* ---------- חלקי הכרטיס ---------- */
.ct-service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ct-service-number {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, #5b8cff, #22d3ee);
  -webkit-background-clip: text;
          background-clip: text;
  color: gray;
}
.ct-service-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  color: #7df3ff;
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, rgba(34,211,238,.14), rgba(91,140,255,.08)) padding-box,
    linear-gradient(160deg, rgba(34,211,238,.6), rgba(91,140,255,.35)) border-box;
  box-shadow: 0 0 18px rgba(34,211,238,.22), inset 0 1px 0 rgba(255,255,255,.15);
  transition: transform .4s ease, box-shadow .4s ease;
}
.ct-service-card:hover .ct-service-icon {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 0 30px rgba(34,211,238,.4), inset 0 1px 0 rgba(255,255,255,.2);
}
.ct-service-card-body h3 {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 700;
  color: var(--ct-text);
}
.ct-service-card-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ct-muted);
}
.ct-service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 18px;
  font-weight: 600;
  color: #7fb4ff;
  text-decoration: none;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.1);
  transition: gap .25s ease, color .25s ease;
}
.ct-service-link:hover { gap: 12px; color: #cfe0ff; }
.ct-service-link span[aria-hidden="true"] { transition: transform .25s ease; }
.ct-service-link:hover span[aria-hidden="true"] { transform: translateX(-3px); } /* RTL */

.ct-services-swipe-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  font-size: 16px;
  color: var(--ct-muted);
  animation: ctHintFloat 2.2s ease-in-out infinite;
}
@keyframes ctHintFloat {
  50% { transform: translateX(-6px); opacity: .6; }
}

/* =========================================================
   רצועה תחתונה — .ct-services-bottom
========================================================= */
.ct-services-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 36px);
  margin-top: 38px;
  padding: clamp(16px, 2.4vw, 26px) clamp(18px, 3vw, 34px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(165deg, rgba(255,255,255,.42), rgba(255,255,255,.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);

  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.ct-services-bottom.is-visible { opacity: 1; transform: none; }

.ct-services-bottom-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ct-services-bottom-item strong {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #eef2ff;
  font-size: 15px;
  font-weight: 700;
}
.ct-services-bottom-item strong::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 8px #22d3ee;
}
.ct-services-bottom-item span { color: #8b94ab; font-size: 13.5px; }
.ct-services-bottom-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.16), transparent);
}

/* =========================================================
   נגישות + רספונסיבי
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .ct-services::before,
  .ct-services::after,
  .ct-services-kicker-dot,
  .ct-services-swipe-hint { animation: none; }
  .ct-services-rail { scroll-behavior: auto; }
  .ct-service-card,
  .ct-service-card::after,
  .ct-service-card::before { transition: none; }
  .ct-service-card:hover::after { left: -80%; }
}

@media (min-width: 1024px) {
  .ct-services-swipe-hint { display: none; }
}
@media (max-width: 640px) {
  .ct-service-card { flex-basis: 82vw; }
  .ct-services-contact { width: 100%; justify-content: center; }
  .ct-services-bottom { flex-direction: column; align-items: stretch; }
  .ct-services-bottom-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  }
}



:root {
    color-scheme: dark;
    --ct-bg: #07111f;
    --ct-bg-2: #0d1b2f;
    --ct-surface: rgba(11, 24, 43, 0.72);
    --ct-surface-strong: rgba(14, 29, 52, 0.92);
    --ct-border: rgba(130, 180, 255, 0.18);
    --ct-border-strong: rgba(120, 200, 255, 0.34);
    --ct-text: #f3f8ff;
    --ct-text-soft: #a9bdd8;
    --ct-text-muted: #7f97b7;
    --ct-primary: #58d0ff;
    --ct-primary-2: #6c7dff;
    --ct-accent: #8c5bff;
    --ct-glow: rgba(88, 208, 255, 0.35);
    --ct-glow-strong: rgba(140, 91, 255, 0.42);
    --ct-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    --ct-radius-xl: 30px;
    --ct-radius-lg: 22px;
    --ct-radius-md: 16px;
    --ct-container: 1280px;
    --ct-transition: 280ms ease;
}

.ct-services {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 10vw, 120px) 20px;
    background:
        radial-gradient(circle at 15% 20%, rgba(88, 208, 255, 0.16), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(140, 91, 255, 0.16), transparent 28%),
        radial-gradient(circle at 50% 100%, rgba(108, 125, 255, 0.12), transparent 35%),
        linear-gradient(180deg, var(--ct-bg), var(--ct-bg-2));
    isolation: isolate;
}

.ct-services::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            115deg,
            transparent 0%,
            transparent 35%,
            rgba(255, 255, 255, 0.025) 46%,
            rgba(255, 255, 255, 0.11) 50%,
            rgba(255, 255, 255, 0.025) 54%,
            transparent 65%,
            transparent 100%
        );
    transform: translateX(-55%);
    animation: ctSectionLightSweep 9s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.ct-services::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.75), transparent);
    pointer-events: none;
    z-index: 0;
}

.ct-services-shell {
    position: relative;
    z-index: 1;
    max-width: var(--ct-container);
    margin: 0 auto;
}

.ct-services-heading {
    margin-bottom: 28px;
}

.ct-services-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 16px;
    border: 1px solid rgba(129, 186, 255, 0.2);
    border-radius: 999px;
    background: rgba(10, 20, 36, 0.55);
    color: var(--ct-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    backdrop-filter: blur(14px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.ct-services-kicker-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, var(--ct-primary) 45%, #1e7eff 100%);
    box-shadow:
        0 0 0 4px rgba(88, 208, 255, 0.12),
        0 0 22px rgba(88, 208, 255, 0.5);
}

.ct-services-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.ct-services-title-row h2 {
    margin: 0 0 10px;
    color: var(--ct-text);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-shadow: 0 0 25px rgba(88, 208, 255, 0.06);
}

.ct-services-title-row p {
    margin: 0;
    max-width: 720px;
    color: var(--ct-text-soft);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.8;
}

.ct-services-contact {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 230px;
    padding: 18px 22px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--ct-text);
    background:
        linear-gradient(135deg, rgba(88, 208, 255, 0.12), rgba(140, 91, 255, 0.12)),
        rgba(9, 20, 36, 0.78);
    border: 1px solid rgba(126, 185, 255, 0.2);
    box-shadow: var(--ct-shadow);
    backdrop-filter: blur(14px);
    transition: transform var(--ct-transition), border-color var(--ct-transition), box-shadow var(--ct-transition);
    overflow: hidden;
}

.ct-services-contact::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
    transform: translateX(-120%) rotate(8deg);
    transition: transform 700ms ease;
}

.ct-services-contact:hover::before,
.ct-services-contact:focus-visible::before {
    transform: translateX(120%) rotate(8deg);
}

.ct-services-contact:hover,
.ct-services-contact:focus-visible {
    transform: translateY(-4px);
    border-color: var(--ct-border-strong);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), 0 0 28px rgba(88, 208, 255, 0.12);
}

.ct-services-contact span,
.ct-services-contact strong {
    position: relative;
    z-index: 1;
}

.ct-services-contact span:first-child {
    color: var(--ct-text-soft);
    font-size: 0.92rem;
}

.ct-services-contact strong {
    font-size: 1.08rem;
    font-weight: 800;
}

.ct-services-contact-arrow {
    position: absolute;
    inset-inline-start: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--ct-primary);
}

.ct-services-swipe-hint {
    display: inline-flex;
    margin-top: 18px;
    color: var(--ct-text-muted);
    font-size: 0.92rem;
}

.ct-services-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 34px;
}

.ct-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    padding: 24px;
    border-radius: var(--ct-radius-xl);
    border: 1px solid var(--ct-border);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
        var(--ct-surface);
    box-shadow: var(--ct-shadow);
    backdrop-filter: blur(18px);
    overflow: hidden;
    transition:
        transform var(--ct-transition),
        border-color var(--ct-transition),
        box-shadow var(--ct-transition),
        background var(--ct-transition);
}

.ct-service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(88, 208, 255, 0.16), transparent 35%),
        radial-gradient(circle at bottom right, rgba(140, 91, 255, 0.16), transparent 34%);
    opacity: 0.85;
    pointer-events: none;
}

.ct-service-card::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 42%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255,255,255,0.02) 38%,
        rgba(255,255,255,0.17) 50%,
        rgba(255,255,255,0.02) 62%,
        transparent 100%
    );
    transform: translateX(-180%) skewX(-18deg);
    opacity: 0;
    pointer-events: none;
}

.ct-service-card:hover::after,
.ct-service-card:focus-within::after {
    animation: ctCardShine 1.15s ease forwards;
    opacity: 1;
}

.ct-service-card:hover,
.ct-service-card:focus-within {
    transform: translateY(-8px);
    border-color: var(--ct-border-strong);
    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(88, 208, 255, 0.05),
        0 0 30px rgba(88, 208, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
        var(--ct-surface-strong);
}

.ct-service-card-top,
.ct-service-card-body,
.ct-service-link {
    position: relative;
    z-index: 1;
}

.ct-service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 28px;
}

.ct-service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 62px;
    padding: 0 14px;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(88, 208, 255, 0.16), rgba(108, 125, 255, 0.08)),
        rgba(255,255,255,0.03);
    border: 1px solid rgba(131, 190, 255, 0.2);
    color: var(--ct-text);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.ct-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    color: #d7f6ff;
    background:
        linear-gradient(145deg, rgba(88, 208, 255, 0.16), rgba(140, 91, 255, 0.12)),
        rgba(255,255,255,0.04);
    border: 1px solid rgba(125, 185, 255, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 0 18px rgba(88, 208, 255, 0.09);
}

.ct-service-card-body h3 {
    margin: 0 0 14px;
    color: var(--ct-text);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.2;
    font-weight: 850;
}

.ct-service-card-body p {
    margin: 0;
    color: var(--ct-text-soft);
    font-size: 1rem;
    line-height: 1.85;
}

.ct-service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    width: fit-content;
    padding: 12px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--ct-primary);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(125, 185, 255, 0.14);
    transition: gap var(--ct-transition), color var(--ct-transition), background var(--ct-transition), border-color var(--ct-transition);
}

.ct-service-link:hover,
.ct-service-link:focus-visible {
    gap: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(88, 208, 255, 0.14), rgba(108, 125, 255, 0.12));
    border-color: rgba(127, 200, 255, 0.28);
}

.ct-services-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding: 22px 26px;
    border: 1px solid rgba(124, 184, 255, 0.14);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
        rgba(7, 18, 33, 0.68);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.ct-services-bottom-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ct-text);
    font-size: 1rem;
    font-weight: 800;
}

.ct-services-bottom-item span {
    color: var(--ct-text-soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

.ct-services-bottom-divider {
    width: 1px;
    height: 52px;
    background: linear-gradient(to bottom, transparent, rgba(134, 195, 255, 0.35), transparent);
}

[data-service-reveal] {
    opacity: 0;
    transform: translateY(24px);
    animation: ctRevealUp 900ms ease forwards;
}

[data-service-reveal]:nth-child(2) {
    animation-delay: 120ms;
}

[data-service-reveal]:nth-child(3) {
    animation-delay: 220ms;
}

@keyframes ctCardShine {
    0% {
        transform: translateX(-180%) skewX(-18deg);
    }
    100% {
        transform: translateX(320%) skewX(-18deg);
    }
}

@keyframes ctSectionLightSweep {
    0% {
        transform: translateX(-55%);
    }
    100% {
        transform: translateX(55%);
    }
}

@keyframes ctRevealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .ct-services-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ct-services-bottom {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ct-services-bottom-divider {
        display: none;
    }
}

@media (max-width: 720px) {
    .ct-services {
        padding-inline: 14px;
    }

    .ct-services-title-row {
        align-items: stretch;
    }

    .ct-services-contact {
        width: 100%;
        min-width: 0;
    }

    .ct-services-rail {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(84%, 1fr);
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        padding-bottom: 8px;
    }

    .ct-services-rail::-webkit-scrollbar {
        height: 8px;
    }

    .ct-services-rail::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, var(--ct-primary), var(--ct-accent));
        border-radius: 999px;
    }

    .ct-service-card {
        min-height: 300px;
        scroll-snap-align: start;
    }

    .ct-services-swipe-hint {
        display: inline-flex;
    }
}

@media (min-width: 721px) {
    .ct-services-swipe-hint {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct-services::before,
    .ct-service-card::after,
    [data-service-reveal] {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .ct-service-card:hover,
    .ct-service-card:focus-within,
    .ct-services-contact:hover,
    .ct-services-contact:focus-visible {
        transform: none;
    }
}




/* ═══════════════════════════════════════════════════════════════
   CyberTech PC · שכבת עיצוב חדשה — מודרני, אלגנטי, מקצועי
   ההידר נשאר בדיוק כפי שהוא — קובץ זה מעבד רק את האזורים שמתחתיו.
   ═══════════════════════════════════════════════════════════════ */

:root {
    --ct-bg: #f2f5fa;
    --ct-surface: #ffffff;
    --ct-surface-2: #f8fafc;
    --ct-ink: #0d1526;
    --ct-ink-soft: #5b6b84;
    --ct-muted: #8a99b3;
    --ct-line: #e4eaf3;
    --ct-accent: #2563eb;
    --ct-accent-2: #7c3aed;
    --ct-grad: linear-gradient(135deg, #2563eb 0%, #6d5df6 55%, #7c3aed 100%);
    --ct-grad-soft: linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(124, 58, 237, .10));
    --ct-shadow-sm: 0 1px 2px rgba(13, 21, 38, .04), 0 4px 14px rgba(13, 21, 38, .06);
    --ct-shadow-md: 0 6px 18px rgba(13, 21, 38, .07), 0 16px 40px rgba(13, 21, 38, .07);
    --ct-shadow-lg: 0 12px 30px rgba(13, 21, 38, .10), 0 28px 70px rgba(13, 21, 38, .10);
    --ct-radius: 16px;
    --ct-radius-lg: 22px;
    --ct-radius-pill: 999px;
    --ct-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ───────────────────────────
   בסיס
   ─────────────────────────── */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--ct-bg);
    color: var(--ct-ink);
    font-family: 'Inter', 'Heebo', 'Segoe UI', Tahoma, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: rgba(37, 99, 235, .16); color: #0d1526; }
html[data-theme="dark"] ::selection { background: rgba(96, 165, 250, .25); color: #fff; }

* { scrollbar-width: thin; scrollbar-color: rgba(100, 116, 139, .4) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, .35);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, .55);
    border: 2px solid transparent;
    background-clip: content-box;
}

#productsGrid,
#productsquery { scroll-margin-top: 110px; }

/* ═══════════════════════════════
   HERO — אזור פתיחה כהה ואלגנטי
   ═══════════════════════════════ */
body .premium-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 64px);
	body .premium-hero .premium-left {
    position: relative !important;
    isolation: isolate !important;
    width: 100% !important;
    max-width: 450px !important;
    max-height: 425px !important;
    padding: 15px 25px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    border: 1px solid rgba(96, 165, 250, .42) !important;
    border-radius: 21px !important;
    background: linear-gradient(145deg, rgba(1, 5, 18, .62), rgba(8, 15, 38, .42)) !important;
    backdrop-filter: blur(18px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
    box-shadow: 0 0 0 1px rgba(129, 140, 248, .08), 0 0 24px rgba(59, 130, 246, .16), 0 0 46px rgba(99, 102, 241, .10), inset 0 1px 0 rgba(255, 255, 255, .10) !important;
    overflow: hidden !important;
}
    background:
        radial-gradient(1100px 520px at 88% -12%, rgba(124, 58, 237, .28), transparent 58%),
        radial-gradient(900px 480px at 0% 108%, rgba(37, 99, 235, .22), transparent 55%),
        linear-gradient(155deg, #050a19 0%, #0a1230 52%, #0c0f2e 100%);
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}

body .premium-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .055) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse at 72% 28%, #000 0%, transparent 68%);
    -webkit-mask-image: radial-gradient(ellipse at 72% 28%, #000 0%, transparent 68%);
}

body .premium-left {
    position: relative;
    z-index: 2;
    flex: 1 1 430px;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body .premium-left h2 {
    margin: 0;
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.035em;
    background: linear-gradient(115deg, #ffffff 20%, #c3d2ff 65%, #a5b8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

body .premium-left h3 {
    margin: 14px 0 0;
    font-size: clamp(17px, 1.9vw, 22px);
    font-weight: 700;
    line-height: 1.5;
}

body .premium-left p {
    margin: 14px 0 0;
    max-width: 560px;
    color: rgba(226, 232, 240, .82);
    font-size: clamp(14.5px, 1.3vw, 16.5px);
    line-height: 1.85;
}

body .all-products-links { margin-top: 30px; }

body .all-products-links .cyber-btn-primary {
    padding: 13px 28px;
    font-size: 14.5px;
    font-weight: 800;
    border-radius: var(--ct-radius-pill);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    background: linear-gradient(135deg, #2563eb, #6d5df6);
    box-shadow: 0 14px 34px rgba(37, 99, 235, .38), inset 0 1px 0 rgba(255, 255, 255, .22);
    transition: transform .25s var(--ct-ease), box-shadow .25s ease, filter .25s ease;
}

body .all-products-links .cyber-btn-primary:hover {
    transform: translateY(-3px);
    filter: brightness(1.06);
    box-shadow: 0 20px 44px rgba(37, 99, 235, .46), inset 0 1px 0 rgba(255, 255, 255, .25);
}

body .all-products-links .reset-filter-btn {
    padding: 13px 24px;
    font-size: 14.5px;
    font-weight: 800;
    border-radius: var(--ct-radius-pill);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
    transition: transform .25s var(--ct-ease), background .25s ease, box-shadow .25s ease;
}

body .all-products-links .reset-filter-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 12px 26px rgba(0, 0, 0, .25);
}

body .premium-right {
    position: relative;
    z-index: 2;
    flex: 1 1 420px;
    max-width: 640px;
    min-width: 300px;
}

/* ─────────── סליידר ─────────── */
body .hero-slider-box {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 6px rgba(148, 163, 184, .06);
}

body .hero-slider {
    position: relative;
    aspect-ratio: 16 / 10;
    min-height: 300px;
    background-color: #0b1226 !important;
}

body .hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s;
}

body .hero-slider .slide.active { opacity: 1; visibility: visible; }

body .hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body .slide-title {
    position: absolute;
    right: 16px;
    bottom: 40px;
    z-index: 4;
    max-width: 80%;
    padding: 9px 16px;
    border-radius: var(--ct-radius-pill);
    background: rgba(8, 13, 32, .55);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
}

body .slider-dots {
    position: absolute;
    bottom: 16px;
    right: 50%;
    transform: translateX(50%);
    z-index: 4;
    display: flex;
    gap: 7px;
}

body .slider-dot {
    width: 7px;
    height: 7px;
    border-radius: var(--ct-radius-pill);
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: all .3s ease;
}

body .slider-dot.active {
    width: 26px;
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, .5);
}

body .slider-progress {
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    z-index: 4;
    background: rgba(255, 255, 255, .12);
}

body .slider-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
}

@media (max-width: 900px) {
    body .premium-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 44px 18px;
        gap: 30px;
    }
    body .premium-left,
    body .premium-right { max-width: 100%; min-width: 0; }
    body .hero-slider { aspect-ratio: 4 / 3; }
}

body header.header,
body .header,
body .main-nav,
body .main-nav-list {
    overflow: visible !important;
}

.ct-services-dropdown {
    z-index: 2147483000 !important;
}


/* =========================================
 *  MOBILE — equal product card heights
 = *======================================== */
@media (max-width: 600px) {

    #productsGrid {
    align-items: stretch !important;
    }

    #productsGrid .product-card {
    height: 100% !important;
    min-height: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    }

    /* תמונות באותו גובה */
    #productsGrid .product-image {
    height: 150px !important;
    min-height: 150px !important;
    }

    #productsGrid .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    }

    /* מקום קבוע לשם המוצר */
    #productsGrid .product-name {
    min-height: 76px !important;
    }

    /* מחיר */
    #productsGrid .product-price {
    min-height: 38px !important;
    }

    /* דוחף את אזור הקנייה לתחתית */
    #productsGrid .product-form,
    #productsGrid .product-actions,
    #productsGrid .out-of-stock,
    #productsGrid .product-unavailable {
    margin-top: auto !important;
    }
}


/* ============================================================
   PRODUCT HOVER — FINAL / STABLE v2
   הכרטיס עצמו קבוע לחלוטין.
   רק תמונת המוצר עושה זום איטי וחלק של 3%.
   ============================================================ */

html body #productsGrid .product-card,
html body #productsGrid .product-card:hover,
html body #productsGrid .product-card:focus,
html body #productsGrid .product-card:focus-within,
html body #productsGrid .product-card:active {
    transform: none !important;
    -webkit-transform: none !important;
    translate: none !important;
    rotate: none !important;
    scale: 1 !important;

    animation: none !important;
    filter: none !important;
    perspective: none !important;
    will-change: auto !important;

    /* שום שינוי גודל/צל בזמן hover — הכרטיס לא "רועד" */
    transition: none !important;
}

html body #productsGrid .product-card:hover {
    transform: none !important;



    /* ═══════════════════════════════════════════════════════════
   ADD-BTN v3.19 — בורדיר זוהר שמסתובב על כל הרדיוס ב-Hover
   ═══════════════════════════════════════════════════════════ */

/* בסיס — מנטרל בורדיר/רקע ישנים */
html body .products-grid .product-card .add-btn:not(:disabled) {
    position: relative !important;
    isolation: isolate !important;   /* שומר את שכבות הזוהר בתוך הכפתור */
    overflow: hidden !important;     /* חותך לפי ה-radius */

    background: transparent !important;
    color: #1d4ed8 !important;

    border: 0 !important;            /* הבורדיר החדש = שכבת הזוהר */
    border-radius: 12px !important;

    cursor: pointer !important;
    box-shadow: none !important;
    animation: none !important;

    transition: transform .25s ease, box-shadow .3s ease, color .25s ease !important;
}

/* שכבת הזוהר — גרדיאנט ענק שמסתובב (רץ רק ב-Hover) */
html body .products-grid .product-card .add-btn:not(:disabled)::before {
    content: "" !important;
    position: absolute !important;
    inset: -60% !important;          /* גדול מספיק כדי להקיף את הכפתור בכל זווית */
    z-index: -2 !important;

    background: conic-gradient(
        from 0deg,
        #22d3ee, #3b82f6, #8b5cf6, #ec4899, #f59e0b, #22c55e, #22d3ee
    ) !important;

    filter: blur(7px) saturate(150%) !important;   /* האפקט הזוהר */

    opacity: 0 !important;
    transform: rotate(0deg) !important;
    transition: opacity .3s ease !important;
    animation: ctBtnSpin 2.6s linear infinite !important;
    animation-play-state: paused !important;       /* מוקפא עד Hover */
    pointer-events: none !important;
}

/* החור הפנימי — יוצר את "פס הבורדיר" + רינג עדין במצב רגיל */
html body .products-grid .product-card .add-btn:not(:disabled)::after {
    content: "" !important;
    position: absolute !important;
    inset: 1.5px !important;
    z-index: -1 !important;
    border-radius: inherit !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .30) !important;
    transition: box-shadow .25s ease, background .25s ease !important;
    pointer-events: none !important;
}

/* Hover — הזוהר מתחיל לרוץ על כל הבורדיר */
html body .products-grid .product-card .add-btn:not(:disabled):hover {
    color: #1e40af !important;
    background: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow:
        0 10px 24px rgba(37, 99, 235, .22),
        0 0 18px rgba(139, 92, 246, .30) !important;
}

html body .products-grid .product-card .add-btn:not(:disabled):hover::before {
    opacity: 1 !important;
    animation-play-state: running !important;      /* הסיבוב מתחיל */
}

html body .products-grid .product-card .add-btn:not(:disabled):hover::after {
    background: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .12) !important;
}

/* Active */
html body .products-grid .product-card .add-btn:not(:disabled):active {
    transform: scale(.96) !important;
}

/* Focus */
html body .products-grid .product-card .add-btn:not(:disabled):focus-visible {
    outline: 3px solid rgba(37, 99, 235, .25) !important;
    outline-offset: 3px !important;
}

@keyframes ctBtnSpin {
    to { transform: rotate(360deg); }
}

/* ─── מצב כהה ─── */
html[data-theme="dark"] body .products-grid .product-card .add-btn:not(:disabled)::after {
    background: #0f1b2e !important;
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .38) !important;
}

html[data-theme="dark"] body .products-grid .product-card .add-btn:not(:disabled):hover::after {
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .15) !important;
}

/* ─── נגישות: בלי תנועה — גרדיאנט סטטי בלבד ─── */
@media (prefers-reduced-motion: reduce) {
    html body .products-grid .product-card .add-btn:not(:disabled)::before {
        animation: none !important;
        transition: none !important;
        transform: rotate(0deg) !important;
    }
}



/* ═══════════════════════════════════════════════════════════
 *  ADD-BTN v3.19 — בורדיר זוהר שמסתובב על כל הרדיוס ב-Hover
 *  ═══════════════════════════════════════════════════════════ */

/* בסיס — מנטרל בורדיר/רקע ישנים */
html body .products-grid .product-card .add-btn:not(:disabled) {
    position: relative !important;
    isolation: isolate !important;   /* שומר את שכבות הזוהר בתוך הכפתור */
    overflow: hidden !important;     /* חותך לפי ה-radius */

    background: transparent !important;
    color: #1d4ed8 !important;

    border: 0 !important;            /* הבורדיר החדש = שכבת הזוהר */
    border-radius: 12px !important;

    cursor: pointer !important;
    box-shadow: none !important;
    animation: none !important;

    transition: transform .25s ease, box-shadow .3s ease, color .25s ease !important;
}

/* שכבת הזוהר — גרדיאנט ענק שמסתובב (רץ רק ב-Hover) */
html body .products-grid .product-card .add-btn:not(:disabled)::before {
    content: "" !important;
    position: absolute !important;
    inset: -60% !important;          /* גדול מספיק כדי להקיף את הכפתור בכל זווית */
    z-index: -2 !important;

    background: conic-gradient(
        from 0deg,
        #22d3ee, #3b82f6, #8b5cf6, #ec4899, #f59e0b, #22c55e, #22d3ee
    ) !important;

    filter: blur(7px) saturate(150%) !important;   /* האפקט הזוהר */

    opacity: 0 !important;
    transform: rotate(0deg) !important;
    transition: opacity .3s ease !important;
    animation: ctBtnSpin 2.6s linear infinite !important;
    animation-play-state: paused !important;       /* מוקפא עד Hover */
    pointer-events: none !important;
}

/* החור הפנימי — יוצר את "פס הבורדיר" + רינג עדין במצב רגיל */
html body .products-grid .product-card .add-btn:not(:disabled)::after {
    content: "" !important;
    position: absolute !important;
    inset: 1.5px !important;
    z-index: -1 !important;
    border-radius: inherit !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .30) !important;
    transition: box-shadow .25s ease, background .25s ease !important;
    pointer-events: none !important;
}

/* Hover — הזוהר מתחיל לרוץ על כל הבורדיר */
html body .products-grid .product-card .add-btn:not(:disabled):hover {
    color: #1e40af !important;
    background: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow:
    0 10px 24px rgba(37, 99, 235, .22),
                              0 0 18px rgba(139, 92, 246, .30) !important;
}

html body .products-grid .product-card .add-btn:not(:disabled):hover::before {
    opacity: 1 !important;
    animation-play-state: running !important;      /* הסיבוב מתחיל */
}

html body .products-grid .product-card .add-btn:not(:disabled):hover::after {
    background: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .12) !important;
}

/* Active */
html body .products-grid .product-card .add-btn:not(:disabled):active {
    transform: scale(.96) !important;
}

/* Focus */
html body .products-grid .product-card .add-btn:not(:disabled):focus-visible {
    outline: 3px solid rgba(37, 99, 235, .25) !important;
    outline-offset: 3px !important;
}

@keyframes ctBtnSpin {
    to { transform: rotate(360deg); }
}

/* ─── מצב כהה ─── */
html[data-theme="dark"] body .products-grid .product-card .add-btn:not(:disabled)::after {
    background: #0f1b2e !important;
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .38) !important;
}

html[data-theme="dark"] body .products-grid .product-card .add-btn:not(:disabled):hover::after {
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .15) !important;
}

/* ─── נגישות: בלי תנועה — גרדיאנט סטטי בלבד ─── */
@media (prefers-reduced-motion: reduce) {
    html body .products-grid .product-card .add-btn:not(:disabled)::before {
        animation: none !important;
        transition: none !important;
        transform: rotate(0deg) !important;
    }
}
    -webkit-transform: none !important;
}

/* גם טבלת מידע פנימית, אם קיימת, נשארת קבועה */
html body #productsGrid .product-card .product-table,
html body #productsGrid .product-card:hover .product-table {
    transform: none !important;
    -webkit-transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* אזור התמונה עצמו לא זז */
html body #productsGrid .product-card .product-image,
html body #productsGrid .product-card:hover .product-image,
html body #productsGrid .product-card:focus-within .product-image {
    transform: none !important;
    -webkit-transform: none !important;
    translate: none !important;
    rotate: none !important;
    scale: 1 !important;

    animation: none !important;
    filter: none !important;
    overflow: hidden !important;
}

/* מצב התמונה הרגיל */
html body #productsGrid .product-card .product-image img {
    transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
    transform-origin: 50% 50% !important;

    filter: none !important;
    animation: none !important;

    /* זום איטי וחלק */
    transition: transform .78s cubic-bezier(.22,.61,.36,1) !important;
}

/* hover על הכרטיס מפעיל זום רק על התמונה */
@media (hover: hover) and (pointer: fine) {
    html body #productsGrid .product-card:hover .product-image img {
        transform: scale(1.03) !important;
        -webkit-transform: scale(1.03) !important;
    }
}

/* במסכי מגע אין hover מלאכותי */
@media (hover: none), (pointer: coarse) {
    html body #productsGrid .product-card .product-image img,
    html body #productsGrid .product-card:hover .product-image img {
        transform: scale(1) !important;
        -webkit-transform: scale(1) !important;
    }
}


/* ============================================================
   HERO BACKGROUND.PNG — FINAL FIX
   background.png is inside .premium-left in index.php.
   Fill the whole panel and keep the button as an overlay.
   ============================================================ */

html body .premium-hero > .premium-left {
    position: relative !important;
    z-index: 2 !important;

    flex: 1 1 620px !important;
    width: 100% !important;
    max-width: 640px !important;
    min-width: 0 !important;

    aspect-ratio: 16 / 9 !important;

    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;

    display: block !important;

    overflow: hidden !important;
    box-sizing: border-box !important;

    border-radius: 26px !important;
}

/* /images/background.png fills the complete premium-left panel */
html body .premium-hero > .premium-left > img.bkg {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    border: 0 !important;
    border-radius: inherit !important;

    opacity: 1 !important;

    transform: none !important;
    -webkit-transform: none !important;
}

/* Button floats over the image and does not create empty space */
html body .premium-hero > .premium-left > .all-products-links {
    position: absolute !important;
    right: 14px !important;
    left: 14px !important;
    bottom: 12px !important;
    z-index: 20 !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    pointer-events: none !important;
}

html body .premium-hero > .premium-left > .all-products-links > a {
    pointer-events: auto !important;
}

/* Do not let generic image rules shrink this hero image */
html body .premium-hero > .premium-left > img.bkg,
html body .premium-hero > .premium-left > img.bkg:hover {
    max-width: none !important;
    max-height: none !important;
    scale: 1 !important;
}

/* Mobile */
@media (max-width: 900px) {
    html body .premium-hero > .premium-left {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        aspect-ratio: 16 / 9 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ============================================================
 *  HERO SLIDER BORDER BEAM v4
 *  קרן אור נוסעת מסביב למסגרת ללא היפוך / סיבוב האלמנט
 *  ============================================================ */

@property --ct-beam-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

body .hero-slider-box {
    position: relative !important;
    isolation: isolate !important;

    border: 1px solid rgba(148, 163, 184, .22) !important;
    border-radius: 26px !important;

    overflow: hidden !important;
}


/* מסגרת זוהרת קבועה */
body .hero-slider-box::before {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;

    z-index: 20 !important;

    padding: 1.5px !important;
    border-radius: inherit !important;

    background:
    linear-gradient(
        135deg,
        rgba(56, 189, 248, .28),
                    rgba(99, 102, 241, .18),
                    rgba(168, 85, 247, .25)
    ) !important;

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

                              -webkit-mask-composite: xor;

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

                              mask-composite: exclude;

                              pointer-events: none !important;
}


/* הקרן הנעה */
body .hero-slider-box::after {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;

    z-index: 21 !important;

    padding: 3px !important;
    border-radius: inherit !important;

    background:
    conic-gradient(
        from var(--ct-beam-angle),

                   transparent 0deg,
                   transparent 300deg,

                   rgba(34, 211, 238, .08) 310deg,
                   rgba(34, 211, 238, .30) 320deg,
                   rgba(96, 165, 250, .70) 332deg,

                   #e0f2fe 342deg,
                   #ffffff 348deg,
                   #ffffff 351deg,

                   rgba(96, 165, 250, .90) 355deg,
                   rgba(139, 92, 246, .45) 358deg,

                   transparent 360deg
    ) !important;

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

                              -webkit-mask-composite: xor;

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

                              mask-composite: exclude;

                              filter:
                              drop-shadow(0 0 4px rgba(56, 189, 248, .70))
                              drop-shadow(0 0 8px rgba(96, 165, 250, .45)) !important;

                              /* אין transform בכלל */
                              transform: none !important;

                              animation:
                              ctBorderBeamTravel 6s linear infinite !important;

                              pointer-events: none !important;
}


/* רק הזווית מתחלפת */
@keyframes ctBorderBeamTravel {

    from {
        --ct-beam-angle: 0deg;
    }

    to {
        --ct-beam-angle: 360deg;
    }
}


/* Hover — רק מאיץ את הקרן */
body .hero-slider-box:hover::after {
    animation-duration: 3.5s !important;

    filter:
    drop-shadow(0 0 6px rgba(56, 189, 248, .90))
    drop-shadow(0 0 12px rgba(96, 165, 250, .65)) !important;
}


/* נגישות */
@media (prefers-reduced-motion: reduce) {

    body .hero-slider-box::after {
        animation: none !important;
        --ct-beam-angle: 315deg;
    }
}
