/* ═══ ערכת עיצוב: חנות ═══
 * מראה של חנות מחשבים גדולה: כותרת לבנה עם חיפוש רחב, שורת קטגוריות כחולה-כהה
 * עם תפריט-על, באנרים, מדפי מוצרים. כפתור קנייה כתום, קישורים בכחול.
 * בערכה בהירה --wht הוא צבע הטקסט החזק ביותר (כחול-כהה כמעט שחור), --s1 לבן.
 */
:root {
  --bg:   #f2f4f7;
  --s1:   #ffffff;
  --s2:   #f6f8fb;
  --s3:   #eaeef4;
  --b1:   #e2e6ec;
  --b2:   #cdd4de;
  --b3:   #98a2b3;
  --txt:  #1e2939;
  --txt2: #475467;
  --txt3: #667085;
  --wht:  #0c1a30;
  --acc:  #1f5fff;
  --acc2: #1849cc;
  --grn:  #0e8a4e;
  --red:  #d92d20;
  --ylw:  #a15c07;
  --cta:  #ff6a13;
  --cta2: #e85a06;
  --navy: #0c1a30;
  --navy2:#15284a;
  --ff:   'Noto Sans Hebrew', 'Heebo', system-ui, sans-serif;
  --fd:   'Rubik', 'Noto Sans Hebrew', 'Heebo', sans-serif;
  --fm:   'Rubik', 'Heebo', sans-serif;
  --r:    8px;
  --r2:   12px;
  --sh:   0 1px 2px rgba(12, 26, 48, .06), 0 10px 28px rgba(12, 26, 48, .09);
}

body.theme-store { background: var(--bg); color: var(--txt); font-family: var(--ff); font-size: 15px; }
.theme-store ::selection { background: rgba(31, 95, 255, .18); }
.theme-store a:focus-visible, .theme-store button:focus-visible, .theme-store input:focus-visible,
.theme-store select:focus-visible, .theme-store summary:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.theme-store .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.theme-store main { padding-top: 20px; }
.theme-store .container { max-width: 1360px; }
html.st-lock, html.st-lock body { overflow: hidden; }

/* ── פס הודעה עליון ── */
.st-top { background: var(--navy); color: #c9d4e6; font-size: 12.5px; }
.st-top-in { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 32px; text-align: center; flex-wrap: wrap; padding-block: 4px; }
.st-top-phone { color: #fff !important; font-weight: 600; text-decoration: none; white-space: nowrap; }
.st-top-phone:hover { text-decoration: underline; }

/* ── כותרת ── */
.st-head { position: sticky; top: 0; z-index: 300; background: #fff; box-shadow: 0 1px 0 var(--b1); }
.st-head-in { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.st-logo { display: flex; flex-direction: column; justify-content: center; text-decoration: none !important; flex-shrink: 0; max-width: 240px; }
.st-logo img { max-height: 52px; max-width: 220px; object-fit: contain; }
.st-logo-name { font-family: var(--fd); font-weight: 800; font-size: 24px; line-height: 1.05; color: var(--navy); letter-spacing: -.01em; }
.st-logo-sub { font-size: 12px; color: var(--txt3); margin-top: 3px; }

.theme-store .st-search { flex: 1; display: flex; align-items: stretch; max-width: 720px; margin-inline: auto; height: 48px; background: var(--s2); border: 1.5px solid var(--b2); border-radius: 999px; padding: 0; transition: border-color .12s, background .12s; }
.theme-store .st-search:focus-within { border-color: var(--acc); background: #fff; box-shadow: 0 0 0 4px rgba(31, 95, 255, .12); }
.theme-store .st-search .header-search-input { flex: 1; min-width: 0; height: 100%; padding: 0 22px; background: none; border: 0; outline: 0; font: inherit; font-size: 15px; color: var(--wht); width: auto; }
.theme-store .st-search .header-search-input::placeholder { color: var(--txt3); }
.st-search-btn { display: grid; place-items: center; width: 54px; margin: 4px; border: 0; border-radius: 999px; background: var(--acc); color: #fff; cursor: pointer; }
.st-search-btn:hover { background: var(--acc2); }
.theme-store .st-search .ls-box { top: calc(100% + 8px); border-radius: var(--r2); }

.st-acts { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.st-act { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: var(--r); color: var(--wht) !important; text-decoration: none !important; line-height: 1.2; }
.st-act:hover { background: var(--s3); }
.st-act > span:last-child { display: flex; flex-direction: column; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.st-act small { font-size: 11.5px; font-weight: 400; color: var(--txt3); }
.st-cart-ico { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--cta); color: #fff; }
.st-cart:hover .st-cart-ico { background: var(--cta2); }
.st-cart-n { position: absolute; top: -4px; left: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--navy); color: #fff; font: 700 11px/20px var(--fd); text-align: center; border: 2px solid #fff; }
.st-burger { display: none; place-items: center; width: 42px; height: 42px; border: 0; border-radius: var(--r); background: var(--s3); color: var(--wht); cursor: pointer; flex-shrink: 0; }

/* ── שורת קטגוריות ── */
.st-cats { background: var(--navy); color: #fff; }
.st-cats-in { display: flex; align-items: stretch; height: 48px; gap: 4px; }
.st-all { position: relative; display: flex; }
.st-all-btn { display: flex; align-items: center; gap: 10px; padding: 0 18px; margin-inline-end: 8px; border: 0; background: var(--acc); color: #fff; font: 600 14.5px var(--ff); cursor: pointer; white-space: nowrap; }
.st-all-btn:hover, .st-all-btn[aria-expanded="true"] { background: var(--acc2); }
/* v35/ב4: "מחשבים מורכבים" — כפתור בולט, צמוד ל-"כל הקטגוריות" (gamingpc בלבד) */
.st-gaming-btn { display: flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 44px; margin-inline-end: 8px; border-radius: 999px; background: linear-gradient(90deg, #8b2fd6, #e0299e); color: #fff !important; font: 700 14px var(--ff); white-space: nowrap; text-decoration: none !important; }
.st-gaming-btn:hover { background: linear-gradient(90deg, #9b3ef0, #f23bb0); color: #fff !important; }
.st-gaming-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.st-bar { display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; min-width: 0; overflow: hidden; flex: 1; }
.st-bar-i { position: relative; display: flex; }
.st-bar-i > a, .st-extra > a.st-x { display: flex; align-items: center; padding: 0 13px; color: #e3e9f3 !important; font-size: 14px; font-weight: 500; text-decoration: none !important; white-space: nowrap; }
.st-bar-i:hover > a, .st-extra > a.st-x:hover, .st-bar-i:focus-within > a { background: var(--navy2); color: #fff !important; }
.st-extra { display: flex; align-items: stretch; margin-inline-start: auto; flex-shrink: 0; border-inline-start: 1px solid rgba(255, 255, 255, .12); padding-inline-start: 4px; }
.st-extra .st-bar-i > a { color: #ffd6bd !important; }
.st-extra > a.st-x:first-child { color: #ffd6bd !important; font-weight: 600; }

/* נפתח מתחת לפריט בשורה */
.st-drop { position: absolute; top: 100%; right: 0; z-index: 320; min-width: 250px; max-height: 70vh; overflow-y: auto; padding: 8px; background: #fff; border: 1px solid var(--b1); border-top: 0; border-radius: 0 0 var(--r2) var(--r2); box-shadow: var(--sh); display: none; }
.st-bar-i:hover > .st-drop, .st-bar-i:focus-within > .st-drop { display: block; }
.st-drop a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 6px; color: var(--txt) !important; font-size: 13.5px; text-decoration: none !important; }
.st-drop a:hover { background: var(--s2); color: var(--acc) !important; }
.st-drop .n { color: var(--txt3); font-size: 12px; font-variant-numeric: tabular-nums; }
.st-drop .st-drop-all { margin-top: 4px; border-top: 1px solid var(--b1); border-radius: 0; padding-top: 10px; color: var(--acc) !important; font-weight: 600; }

/* תפריט-על "כל הקטגוריות" */
.st-mega { position: absolute; top: 100%; right: 0; z-index: 330; width: min(1100px, calc(100vw - 40px)); height: min(560px, calc(100vh - 170px)); display: flex; flex-direction: column; background: #fff; color: var(--txt); border-radius: 0 0 var(--r2) var(--r2); box-shadow: 0 24px 48px rgba(12, 26, 48, .22); overflow: hidden; }
.st-mega[hidden] { display: none; }
.st-mega-head, .st-mega-links { display: none; }
.st-mega-list { list-style: none; margin: 0; padding: 8px 0; width: 280px; height: 100%; overflow-y: auto; background: var(--s2); border-inline-end: 1px solid var(--b1); position: relative; }
.st-mg { position: static; display: flex; align-items: center; }
.st-mg-a { flex: 1; display: flex; align-items: center; gap: 10px; padding: 9px 18px; color: var(--txt) !important; font-size: 14px; text-decoration: none !important; }
.st-mg-ico { width: 22px; text-align: center; font-size: 16px; }
.st-mg-l { flex: 1; }
.st-mg-n { font-size: 11.5px; color: var(--txt3); font-variant-numeric: tabular-nums; }
.st-mg.is-on > .st-mg-a { background: #fff; color: var(--acc) !important; font-weight: 600; box-shadow: inset -3px 0 0 var(--acc); }
.st-mg-open { display: none; }
.st-mg-panel { display: none; position: absolute; top: 0; right: 280px; left: 0; height: 100%; overflow-y: auto; padding: 22px 28px 28px; }
.st-mg.is-on > .st-mg-panel { display: block; }
.st-mega { --mp-right: 280px; }
.st-mega .st-mega-list { position: static; }
.st-mg-panel { right: 280px; }
.st-mg-title a { font-family: var(--fd); font-size: 19px; font-weight: 700; color: var(--wht) !important; text-decoration: none !important; }
.st-mg-title a:hover { color: var(--acc) !important; }
.st-mg-title span { font-size: 13px; font-weight: 400; color: var(--txt3); }
.st-mg-cols { margin-top: 16px; columns: 3 200px; column-gap: 28px; }
.st-mg-col { break-inside: avoid; display: flex; flex-direction: column; margin-bottom: 18px; }
.st-mg-sub { font-weight: 600; font-size: 14px; color: var(--wht) !important; text-decoration: none !important; padding: 2px 0 4px; }
.st-mg-sub span { font-weight: 400; font-size: 12px; color: var(--txt3); }
.st-mg-sub:hover { color: var(--acc) !important; }
.st-mg-leaf { font-size: 13px; color: var(--txt2) !important; text-decoration: none !important; padding: 3px 0; }
.st-mg-leaf:hover { color: var(--acc) !important; text-decoration: underline !important; }
.st-mg-more { color: var(--acc) !important; }
.st-scrim { position: fixed; inset: 0; z-index: 250; background: rgba(12, 26, 48, .45); }
.st-scrim[hidden] { display: none; }

/* ── כפתורים כלליים ── */
.theme-store .btn { border-radius: var(--r); font-family: var(--ff); }
.theme-store .btn-primary { background: var(--acc); color: #fff; border: 0; }
.theme-store .btn-primary:hover { background: var(--acc2); color: #fff; }
.theme-store .btn-ghost { background: #fff; border: 1px solid var(--b2); color: var(--wht); }
.theme-store .btn-ghost:hover { border-color: var(--acc); color: var(--acc); background: #fff; }
.theme-store .btn-add { background: var(--cta); color: #fff; border-radius: var(--r); font-family: var(--ff); font-weight: 600; }
.theme-store .btn-add:hover { background: var(--cta2); }
.theme-store .btn-add.in-cart { background: var(--grn); }
.theme-store .pagination .current, .theme-store .config-step-num, .theme-store .build-code-badge { background: var(--acc); color: #fff; }
.theme-store .float-access { background: var(--navy); color: #fff; }
.st-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none !important; white-space: nowrap; }
.st-btn-cta { background: var(--cta); color: #fff !important; }
.st-btn-cta:hover { background: var(--cta2); }
.st-btn-line { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff !important; }
.st-btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ── דף הבית ── */
.st-home { display: flex; flex-direction: column; gap: 34px; }
.st-h2 { font-family: var(--fd); font-size: 22px; font-weight: 700; color: var(--wht); letter-spacing: -.01em; margin: 0; }
.st-rail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.st-more { font-size: 14px; font-weight: 600; color: var(--acc) !important; text-decoration: none !important; white-space: nowrap; }
.st-more:hover { text-decoration: underline !important; }

/* באנרים */
.st-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; }
.st-slider { position: relative; overflow: hidden; border-radius: var(--r2); min-height: 360px; background: var(--navy); }
.st-slides { display: flex; height: 100%; transition: transform .5s cubic-bezier(.3, .7, .2, 1); }
.st-slide { position: relative; flex: 0 0 100%; display: flex; align-items: center; padding: 44px 52px; overflow: hidden; }
.st-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.st-slide-img .st-slide-txt { position: relative; z-index: 1; max-width: 520px; }
.st-slide-t { font-family: var(--fd); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin: 0; color: inherit; }
.st-slide-s { margin: 14px 0 0; font-size: 16px; line-height: 1.6; opacity: .85; max-width: 46ch; }
.st-slide .st-btn { margin-top: 24px; }
.st-slide-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.st-slide-btns .st-btn { margin: 0; }
/* באנר אוטומטי כשאין באנרים בפאנל */
.st-slide-auto { color: #fff; background:
  radial-gradient(120% 140% at 0% 100%, #1f5fff 0%, rgba(31, 95, 255, 0) 55%),
  linear-gradient(135deg, #0c1a30 0%, #13305e 100%); justify-content: space-between; gap: 28px; }
.st-slide-auto .st-slide-txt { position: relative; z-index: 1; max-width: 540px; }
.st-slide-auto .st-slide-t { color: #fff; }
.st-slide-auto .st-slide-s { color: #c9d6ee; opacity: 1; }
.st-slide-prods { position: relative; width: 340px; height: 270px; flex-shrink: 0; }
.st-hp { position: absolute; display: grid; place-items: center; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); overflow: hidden; }
.st-hp img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.st-hp-0 { width: 200px; height: 200px; top: 0; left: 0; transform: rotate(-4deg); z-index: 2; }
.st-hp-1 { width: 150px; height: 150px; bottom: 0; right: 10px; transform: rotate(5deg); z-index: 3; }
.st-hp-2 { width: 120px; height: 120px; top: 20px; right: 40px; transform: rotate(8deg); z-index: 1; opacity: .95; }
.st-sl-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--wht); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: var(--sh); z-index: 3; }
.st-sl-prev { right: 14px; } .st-sl-next { left: 14px; }
.st-sl-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.st-sl-dots button { width: 9px; height: 9px; padding: 0; border-radius: 5px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .2s; }
.st-sl-dots button.on { width: 26px; background: #fff; }

.st-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.st-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px; border-radius: var(--r2); text-decoration: none !important; overflow: hidden; min-height: 150px; }
.st-tile b { font-family: var(--fd); font-size: 21px; font-weight: 700; line-height: 1.15; }
.st-tile span { font-size: 13.5px; line-height: 1.5; max-width: 30ch; }
.st-tile-go { font-style: normal; font-weight: 700; font-size: 14px; margin-top: 6px; }
.st-tile-go::after { content: " ‹"; }
.st-tile-build { background: #fff1e8; color: #5a2a0b !important; border: 1px solid #ffd9c2; }
.st-tile-build b, .st-tile-build .st-tile-go { color: #c24a04; }
.st-tile-biz { background: #e9f0ff; color: #13305e !important; border: 1px solid #cfdcff; }
.st-tile-biz b, .st-tile-biz .st-tile-go { color: var(--acc); }
.st-tile:hover { box-shadow: var(--sh); }
.st-tile::before { content: ""; position: absolute; top: -40px; left: -40px; width: 150px; height: 150px; border-radius: 50%; background: currentColor; opacity: .05; }

/* קטגוריות */
.st-cat-grid { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 12px; }
.st-cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 20px 10px 16px; background: #fff; border: 1px solid var(--b1); border-radius: var(--r2); text-decoration: none !important; transition: border-color .12s, box-shadow .12s; }
.st-cat:hover { border-color: var(--acc); box-shadow: var(--sh); }
.st-cat-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--s3); font-size: 30px; margin-bottom: 4px; }
.st-cat:hover .st-cat-ico { background: #e9f0ff; }
.st-cat-l { font-weight: 600; font-size: 14.5px; color: var(--wht); line-height: 1.3; }
.st-cat-n { font-size: 12px; color: var(--txt3); }

/* מדפים */
.st-rail { min-width: 0; }
.st-rail-nav { display: flex; gap: 6px; margin-inline-start: auto; }
.st-rail-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--b2); background: #fff; color: var(--wht); font-size: 20px; line-height: 1; cursor: pointer; }
.st-rail-btn:hover { border-color: var(--acc); color: var(--acc); }
.st-rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; }
.st-rail-track::-webkit-scrollbar { display: none; }
.st-rail-track > .st-card { scroll-snap-align: start; }

/* ── כרטיס מוצר ── */
.theme-store .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.theme-store .product-card { animation: none; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--b1); border-radius: var(--r2); overflow: hidden; transition: border-color .12s, box-shadow .12s; }
.theme-store .product-card:hover { transform: none; border-color: var(--b2); box-shadow: var(--sh); }
.st-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none !important; color: inherit !important; }
.theme-store .card-img-wrap { background: #fff; aspect-ratio: 1 / 1; height: auto; }
.theme-store .card-img-wrap img { padding: 18px; }
.theme-store .product-card:hover .card-img-wrap img { transform: scale(1.03); }
.theme-store .card-body { padding: 4px 16px 10px; gap: 4px; }
.theme-store .card-brand { font-family: var(--ff); text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 600; color: var(--txt3); }
.theme-store .card-name { font-family: var(--ff); font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--wht); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; flex: none; }
.theme-store .product-card:hover .card-name { color: var(--acc); }
.theme-store .card-sku { font-family: var(--ff); font-size: 11.5px; color: var(--txt3); }
.theme-store .card-footer { flex-direction: column; align-items: stretch; gap: 10px; padding: 0 16px 16px; background: #fff; border-top: 0; }
.theme-store .card-price { font-family: var(--fd); font-size: 22px; font-weight: 700; color: var(--wht); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.theme-store .card-footer form { display: block; }
.theme-store .card-footer .btn-add { width: 100%; height: 40px; padding: 0 12px; font-size: 14px; }
.theme-store .price-locked { display: flex; align-items: center; justify-content: center; height: 40px; width: 100%; font-family: var(--ff); font-size: 13.5px; font-weight: 600; color: var(--acc); background: #eef3ff; border: 1px solid #d3dfff; border-radius: var(--r); }
.theme-store a.price-locked:hover { background: #e2eaff; }
.theme-store .card-price:has(.price-locked) { font-size: 14px; }
.theme-store .card-badge { border-radius: 6px; }
.theme-store .admin-edit-badge { z-index: 4; }

/* ── הטבות שירות ── */
.st-perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--b1); border-radius: var(--r2); }
.st-perk { display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
.st-perk + .st-perk { border-inline-start: 1px solid var(--b1); }
.st-perk-i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--s3); font-size: 22px; flex-shrink: 0; }
.st-perk b { display: block; font-size: 14.5px; color: var(--wht); }
.st-perk small { display: block; font-size: 12.5px; color: var(--txt3); margin-top: 2px; line-height: 1.45; }

/* ── מותגים ── */
.st-brand-row { display: flex; flex-wrap: wrap; gap: 10px; }
.st-brand { display: inline-flex; align-items: baseline; gap: 8px; padding: 12px 20px; background: #fff; border: 1px solid var(--b1); border-radius: var(--r); font-family: var(--fd); font-weight: 700; font-size: 15px; color: var(--wht) !important; text-decoration: none !important; }
.st-brand small { font-family: var(--ff); font-weight: 400; font-size: 12px; color: var(--txt3); }
.st-brand:hover { border-color: var(--acc); color: var(--acc) !important; }

/* ── דפי קטגוריה ── */
.theme-store .breadcrumb { font-size: 13px; }
.theme-store .breadcrumb a { color: var(--txt2); }
.theme-store .sidebar { background: #fff; border: 1px solid var(--b1); border-radius: var(--r2); top: 140px; padding: 10px 0; }
.theme-store .sidebar-item { color: var(--txt); font-size: 14px; }
.theme-store .sidebar-item:hover, .theme-store .sidebar-sub:hover, .theme-store .sidebar-leaf:hover { background: var(--s2); color: var(--acc); }
.theme-store .sidebar-item.active { background: #eef3ff; color: var(--acc); border-right: 3px solid var(--acc); font-weight: 600; }
.theme-store .sidebar-sub.active, .theme-store .sidebar-leaf.active { color: var(--acc); border-right-color: var(--acc); background: #f3f6ff; }
.theme-store .sidebar-count { background: var(--s3); color: var(--txt2); font-family: var(--ff); border-radius: 10px; }
.theme-store .sb-link:hover { color: var(--acc); }
.theme-store .sidebar-divider { background: var(--b1); }
.theme-store .toolbar { background: #fff; border: 1px solid var(--b1); border-radius: var(--r2); padding: 10px 12px; }
.theme-store .toolbar select, .theme-store .toolbar input[type=search] { background: var(--s2); color: var(--wht); border-color: var(--b2); border-radius: var(--r); font-family: var(--ff); }
.theme-store .result-count { color: var(--txt3); font-size: 13px; }
.theme-store .pagination a, .theme-store .pagination span { border-radius: var(--r); }
.theme-store .mobile-filter-btn { background: #fff; border: 1px solid var(--b2); color: var(--wht); border-radius: var(--r); }
.theme-store .empty-state { background: #fff; border: 1px solid var(--b1); border-radius: var(--r2); }

/* ── עמוד מוצר ── */
.theme-store .detail-img-main { background: #fff; border: 1px solid var(--b1); border-radius: var(--r2); }
.theme-store .detail-brand { font-family: var(--ff); text-transform: none; letter-spacing: 0; color: var(--acc); font-weight: 600; font-size: 14px; }
.theme-store .detail-name { font-family: var(--fd); font-size: 28px; font-weight: 700; line-height: 1.25; color: var(--wht); letter-spacing: -.01em; }
.theme-store .detail-price { font-family: var(--fd); font-weight: 800; color: var(--wht); }

/* ── טפסים, עגלה, בניית מחשב ── */
.theme-store .form-card, .theme-store .cart-summary, .theme-store .config-summary, .theme-store .config-step, .theme-store .contact-item { background: #fff; border-color: var(--b1); border-radius: var(--r2); }
.theme-store .page-title, .theme-store .section-title, .theme-store .form-card h2, .theme-store .cart-summary h3 { font-family: var(--fd); color: var(--wht); }
.theme-store .form-label { text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--txt2); font-weight: 500; }
.theme-store .form-control { background: #fff; border: 1px solid var(--b2); color: var(--wht); border-radius: var(--r); font-family: var(--ff); }
.theme-store .form-control:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(31, 95, 255, .14); }
.theme-store .cart-table th, .theme-store .footer-links h4, .theme-store .contact-item-label, .theme-store .config-sum-label { text-transform: none; letter-spacing: 0; font-size: 13px; }
.theme-store .config-product-item { background: #fff; }
.theme-store .config-product-item.selected { background: #eef3ff; border-color: var(--acc); }
.theme-store .config-step-header { background: var(--s2); }
.theme-store .flash { background: #fff; color: var(--wht); border-color: var(--b2); box-shadow: var(--sh); }
.theme-store .qty-wrap button { background: var(--s3); color: var(--wht); }
.theme-store .qty-wrap input, .theme-store .qty-input { color: var(--wht); }
.theme-store .sidebar-overlay.show { background: rgba(12, 26, 48, .45); }

/* ── הצעות חיפוש ── */
.theme-store .ls-box { background: #fff; border: 1px solid var(--b1); box-shadow: 0 18px 40px rgba(12, 26, 48, .18); }
.theme-store .ls-item .p { color: var(--wht); font-weight: 700; font-family: var(--fd); }
.theme-store mark.ls-m { color: var(--acc); }
.theme-store .ls-on, .theme-store .ls-cat:hover, .theme-store .ls-item:hover, .theme-store .ls-all:hover { background: var(--s2); }

/* ── תחתית ── */
.theme-store footer { background: var(--navy); color: #c2cde0; border-top: 0; margin-top: 40px; }
.theme-store footer .logo-name { color: #fff; font-family: var(--fd); }
.theme-store .footer-links h4 { color: #fff; font-size: 14.5px; font-weight: 600; }
.theme-store .footer-links a, .theme-store footer a { color: #c2cde0 !important; }
.theme-store .footer-links a:hover, .theme-store footer a:hover { color: #fff !important; }
.theme-store footer [style*="color:var(--txt"] { color: #9fb0c9 !important; }
.theme-store .footer-bottom { background: #08131f; border-top: 0; color: #8798b3; }

/* ── מסכים בינוניים ── */
@media (max-width: 1200px) {
  .st-rail-track { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .st-cat-grid { grid-template-columns: repeat(min(var(--cols, 6), 5), minmax(0, 1fr)); }
  .st-act > span:last-child { display: none; }
  .st-slide-prods { width: 260px; }
  .st-hp-0 { width: 160px; height: 160px; } .st-hp-1 { width: 120px; height: 120px; } .st-hp-2 { width: 96px; height: 96px; }
}
@media (max-width: 1024px) {
  .st-hero { grid-template-columns: 1fr; }
  .st-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .st-perks { grid-template-columns: 1fr 1fr; }
  .st-perk:nth-child(3) { border-inline-start: 0; }
  .st-perk:nth-child(n+3) { border-top: 1px solid var(--b1); }
}

/* ── נייד: תפריט נשלף מהצד ── */
@media (max-width: 900px) {
  .st-head-in { flex-wrap: wrap; gap: 10px 12px; min-height: 0; padding-block: 10px; }
  .st-burger { display: grid; }
  .st-logo { flex: 1; min-width: 0; }
  .st-logo-name { font-size: 19px; }
  .st-logo-sub { display: none; }
  .theme-store .st-search { order: 5; flex: 0 0 100%; max-width: none; height: 44px; }
  .st-act { padding: 4px; }
  .st-act:not(.st-cart) .st-act-ico, .st-acts > a:not(.st-cart) { padding: 9px; }
  .st-cats-in { height: auto; }
  .st-bar { display: none; }
  /* v37: .st-all-btn נגלה כעת גם ב-≤900px — שני הכפתורים (.st-all-btn + .st-gaming-btn) בשורה אחת
     ברוחב מלא, גובה מגע ≥44px, ללא גלישה אופקית. הבורגר ממשיך לתפקד בנפרד ב-.st-mega. */
  .st-all { position: static; width: 100%; display: flex; flex-direction: row; align-items: stretch; gap: 0; }
  .st-all-btn { display: flex; flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 12px; font-size: 13px; justify-content: center; margin-inline-end: 0; border-radius: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .st-gaming-btn { flex: 1 1 0; min-width: 0; width: auto; min-height: 44px; margin: 0; padding: 0 12px; font-size: 13px; justify-content: center; border-radius: 0 6px 6px 0; }
  .st-extra { margin: 0; border: 0; padding: 0; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .st-extra > a.st-x, .st-extra .st-bar-i > a { padding: 11px 12px; font-size: 13.5px; }
  .st-extra .st-drop { display: none !important; }
  .st-mega { position: fixed; top: 0; bottom: 0; right: 0; left: auto; width: min(360px, 88vw); height: auto; border-radius: 0; z-index: 400; }
  .st-mega-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--navy); color: #fff; font-size: 16px; }
  .st-mega-x { border: 0; background: none; color: #fff; font-size: 18px; cursor: pointer; width: 36px; height: 36px; }
  .st-mega-list { width: auto; flex: 1; height: auto; background: #fff; border: 0; padding: 0; }
  .st-mg { flex-wrap: wrap; border-bottom: 1px solid var(--b1); }
  .st-mg.is-on > .st-mg-a { background: none; color: var(--txt) !important; font-weight: 400; box-shadow: none; }
  .st-mg-a { padding: 13px 18px; font-size: 15px; }
  .st-mg-open { display: block; width: 52px; align-self: stretch; border: 0; border-inline-start: 1px solid var(--b1); background: none; cursor: pointer; position: relative; }
  .st-mg-open::after { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-left: 2px solid var(--txt3); border-bottom: 2px solid var(--txt3); transform: translate(-50%, -70%) rotate(-45deg); transition: transform .15s; }
  .st-mg.is-open .st-mg-open::after { transform: translate(-50%, -30%) rotate(135deg); }
  .st-mg-panel, .st-mg.is-on > .st-mg-panel { display: none; position: static; width: 100%; height: auto; padding: 4px 18px 14px; background: var(--s2); }
  .st-mg.is-open > .st-mg-panel { display: block; }
  .st-mg-title { display: none; }
  .st-mg-cols { columns: 1; margin: 0; }
  .st-mg-col { margin: 0; padding: 6px 0; }
  .st-mg-leaf { padding: 6px 12px; }
  .st-mega-links { display: flex; flex-direction: column; padding: 8px 0; border-top: 1px solid var(--b1); background: #fff; }
  .st-mega-links a { padding: 12px 18px; color: var(--wht) !important; text-decoration: none !important; font-weight: 600; }
  .st-scrim { z-index: 390; }
  .theme-store .sidebar { top: auto; }
}
@media (max-width: 700px) {
  .theme-store .ls-box { position: absolute; top: calc(100% + 6px); right: 0; left: 0; min-width: 0; }
  .st-top-in { font-size: 11.5px; gap: 8px; }
  .st-top-phone { display: none; }
  .st-home { gap: 26px; }
  .st-h2 { font-size: 19px; }
  .st-slider { min-height: 0; }
  .st-slide { padding: 28px 22px 34px; }
  .st-slide-prods { display: none; }
  .st-slide-s { font-size: 14.5px; }
  .st-side { grid-template-columns: 1fr 1fr; gap: 10px; }
  .st-tile { min-height: 0; padding: 14px; gap: 4px; }
  .st-tile b { font-size: 16px; }
  .st-tile span { display: none; }
  .st-tile-go { font-size: 13px; margin-top: 2px; }
  .st-cat-grid { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .st-cat-grid::-webkit-scrollbar, .st-brand-row::-webkit-scrollbar { display: none; }
  .st-cat { flex: 0 0 100px; padding: 14px 6px 12px; scroll-snap-align: start; }
  .st-brand-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .st-brand { flex-shrink: 0; padding: 10px 16px; }
  .st-cat-ico { width: 50px; height: 50px; font-size: 24px; }
  .st-cat-l { font-size: 13px; }
  .st-cat-n { display: none; }
  .st-rail-nav { display: none; }
  .st-rail-track { grid-auto-columns: 46%; gap: 10px; }
  .st-perks { grid-template-columns: 1fr; }
  .st-perk + .st-perk { border-inline-start: 0; border-top: 1px solid var(--b1); }
  .theme-store .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .theme-store .card-img-wrap { height: auto !important; }
  .theme-store .card-body { padding: 2px 10px 8px !important; }
  .theme-store .card-name { font-size: 13px !important; }
  .theme-store .card-price { font-size: 18px !important; }
  .theme-store .card-footer { padding: 0 10px 10px !important; }
  .theme-store .card-footer .btn-add { height: 36px; font-size: 13px; }
  .theme-store .price-locked { height: auto; min-height: 36px; padding: 6px; font-size: 12px; white-space: normal; text-align: center; }
}


@media (prefers-reduced-motion: reduce) {
  .theme-store *, .st-slides { transition: none !important; animation: none !important; }
}

/* תחתית עם עמודת קטגוריות */
.theme-store .footer-inner { grid-template-columns: 2fr 1.2fr 1fr 1fr; }
.theme-store .footer-links a { display: block; padding: 3px 0; }
@media (max-width: 768px) { .theme-store .footer-inner { grid-template-columns: 1fr 1fr; } .theme-store .footer-brand { grid-column: 1 / -1; } }
