/* core.css — הבלוק שהיה מוטבע inline בתוך <style> ב-index.html המקורי
   (בין תגית ה-link האחרונה לתחילת <body>). זה לא קובץ CSS חיצוני נפרד
   במקור — הוא הוצא לכאן כי וורדפרס לא יכול לטעון בלוקים inline לפי
   עמוד בלי כפילות קוד. מכיל: משתני הצבע (--primary וכו'), header,
   hero, tiles, cats grid, quotes, brands, blog cards, footer, כפתור
   וואטסאפ צף. זהו רוב העיצוב הוויזואלי בפועל של האתר — לא רק תוספות. */


  /* כפתור וואטסאפ צף — ערוץ הקשר היחיד באתר (כלל 0.1), בכל עמוד */
  .wa { position:fixed; inset-block-end:22px; inset-inline-start:18px; width:56px; height:56px;
    border-radius:50%; background:#25D366; color:#fff; display:flex; align-items:center;
    justify-content:center; box-shadow:0 6px 18px rgba(0,0,0,.28); z-index:60;
    transition:transform .18s ease, box-shadow .18s ease; }
  /* הכפתור הצף לא יסתיר פקדים: מורם מעל סרגל הניווט התחתון,
     והעמוד מקבל ריווח תחתון כדי שהתוכן ייגלל מעבר לו */
  @media (max-width:900px){
    .wa { inset-block-end: 80px; }
    body { padding-bottom: 96px; }
  }
  @media (min-width:901px){
    body { padding-bottom: 84px; }
  }

  .wa:hover { transform:scale(1.06); box-shadow:0 8px 24px rgba(0,0,0,.34); text-decoration:none; }
  @media (prefers-reduced-motion: reduce) { .wa { transition:none; } .wa:hover { transform:none; } }

  :root { --text-2:#444444; color-scheme: light;
    --primary:#1B2A4A; --primary-h:#3D5379; --action:#0369A1;
    --bg:#FFFFFF; --surface:#FFFFFF; --border:#E3E6EC;
    --text:#222; --muted:#5A6272; --success:#1B7A3A; --danger:#A32D2D; --stars:#E8A400; }
  body { font-family:"Rubik","Segoe UI", Arial, sans-serif; background:#FFFFFF; color:var(--text); padding-bottom:0; }
  .container { max-width:1280px; margin:0 auto; padding:0 20px; }
  a { color:var(--action); text-decoration:none; }

  header.top { background:var(--surface); border-bottom:1px solid var(--border); }
  .top-in { display:flex; align-items:center; gap:22px; padding:14px 0; }
  .logo { font-size:34px; font-weight:800; color:var(--primary); letter-spacing:1px; font-style:italic; }
  .search { flex:1; display:flex; align-items:center; gap:8px; background:var(--surface); border:1px solid #C9CFDA; border-radius:10px; padding:10px 14px; }
  .search input { border:none; outline:none; flex:1; font-size:15px; font-family:inherit; background:transparent; }
  .hicons { display:flex; gap:20px; }
  .hicon { text-align:center; font-size:12px; color:var(--primary); cursor:pointer; position:relative; min-width:70px; white-space:nowrap; flex-shrink:0; }
  /* .hicon של העגלה הוא כעת <button> — איפוס סגנון ברירת המחדל של דפדפן */
  button.hicon { background:none; border:none; font-family:inherit; padding:0; }
  .d-close { background:none; border:none; cursor:pointer; color:inherit; padding:8px; margin:-8px;
    min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center; }
  .hicon .ic { font-size:20px; }
  .cart-badge { position:absolute; top:-6px; left:-8px; background:var(--danger); color:#fff; font-size:12px; border-radius:50%; min-width:17px; height:17px; line-height:17px; }

  nav.main { background:var(--surface); border-bottom:1px solid var(--border); }
  .nav-in { display:flex; gap:26px; overflow-x:auto; }
  .nav-item { padding:14px 2px; font-size:15px; color:var(--primary); white-space:nowrap; cursor:pointer; border-bottom:3px solid transparent; }
  .nav-item.active, .nav-item:hover { border-bottom-color:var(--primary); font-weight:600; }

  .mega { display:none; background:var(--surface); border:1px solid var(--border); border-radius:14px; margin:10px auto; max-width:1240px; padding:22px; grid-template-columns:1.1fr 1fr 1fr; gap:22px; box-shadow:0 12px 30px rgba(27,42,74,.12); }
  .mega.open { display:grid; }
  .mega h4 { color:var(--primary); font-size:17px; margin-bottom:12px; }
  .series-card { display:flex; align-items:center; justify-content:space-between; border:1px solid var(--border); border-radius:10px; padding:8px 12px; margin-bottom:8px; cursor:pointer; }
  .series-card:hover { border-color:var(--primary); }
  .use-link { display:flex; justify-content:space-between; padding:10px 2px; border-bottom:1px solid var(--border); color:var(--primary); font-size:15px; cursor:pointer; }
  .mega .deal { text-align:center; border-right:1px solid var(--border); padding-right:18px; }
  .badge { display:inline-block; font-size:12px; font-weight:600; color:#fff; padding:3px 10px; border-radius:9px; }
  .b-navy { background:var(--primary); } .b-red { background:var(--danger); } .b-green { background:var(--success); }

  .hero-wrap { position:relative; margin:16px auto 0; max-width:1280px; padding:0 20px; }
  .slide { display:none; border-radius:16px; overflow:hidden; }
  .slide.on { display:block; }
  .hero { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; min-height:340px; background:radial-gradient(120% 160% at 85% 20%, #24365C 0%, #16233F 55%, #101A30 100%); color:#fff; padding:34px 44px; }
  .hero h1 { font-size:44px; line-height:1.15; font-weight:800; }
  .hero .sub { color:#C9D3E6; margin:16px 0 24px; font-size:16px; }
  .btn { display:inline-block; border:none; cursor:pointer; font-family:inherit; font-size:16px; font-weight:600; border-radius:10px; padding:13px 26px; }
  /* CTA בהירו — ערוץ ההמרה היחיד (וואטסאפ) חייב להופיע במסך הראשון */
  .hero-cta { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
  .hero-cta .btn { display:inline-flex; align-items:center; gap:7px; text-decoration:none;
    font-size:15px; padding:12px 22px; min-height:46px; }
  .btn-wa { background:#0369A1; color:#fff; }
  .btn-wa:hover { background:#025C8C; text-decoration:none; }
  .btn-hero-ghost { background:transparent; color:#fff; border:2px solid rgba(255,255,255,.65); }
  .btn-hero-ghost:hover { background:#fff; color:var(--primary); border-color:#fff; text-decoration:none; }
  .btn-white { background:#fff; color:var(--primary); }
  .btn-blue { background:var(--action); color:#fff; margin-right:10px; }
  .btn-navy { background:var(--primary); color:#fff; }
  .hero-art { text-align:center; }
  .hero2 { display:grid; grid-template-columns:1fr 1.1fr; align-items:center; min-height:340px; background:#EEF0F4; padding:34px 44px; }
  /* h2 כלול כאן כי שקופית 2 היא כותרת משנה — עמוד יכול להכיל H1 אחת בלבד */
  .hero2 h1, .hero2 h2 { font-size:38px; color:var(--primary); line-height:1.2; font-weight:800; }
  .hero2 .sub { color:var(--muted); margin:14px 0 22px; font-size:16px; }
  .dots { text-align:center; margin:10px 0 0; display:flex; align-items:center; justify-content:center; gap:6px; }
  /* הנקודות הן button ולא span — כדי שיהיו נגישות במקלדת. שטח המגע 44px
     מושג דרך padding שקוף, בעוד הנקודה הנראית נשארת קטנה. */
  .dots .dot { width:9px; height:9px; border-radius:50%; cursor:pointer; padding:0;
    box-sizing:content-box; border:18px solid transparent;
    background-color:#C4CBD8; background-clip:content-box; }
  /* background-color ולא background — הקיצור היה מאפס את background-clip
     וגורם לנקודה הפעילה להתמלא על כל שטח המגע (עיגול ענק) */
  .dots .dot.on { background-color:var(--primary); }
  .dots-toggle { background:none; border:1px solid var(--border); border-radius:8px; color:var(--muted);
    font-family:inherit; font-size:12px; cursor:pointer; padding:0 12px; min-height:44px; margin-inline-start:8px; }
  .dots-toggle:hover { color:var(--primary); border-color:var(--primary); }

  .tiles { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:16px 0 0; }
  .tile { background:var(--surface); border:1px solid var(--border); border-radius:12px; text-align:center; padding:16px 8px; }
  .tile b { color:var(--primary); }
  .tile small { color:var(--muted); }

  section { margin:44px 0; }
  .sec-head { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:16px; }
  .sec-head h2 { color:var(--primary); font-size:26px; font-weight:700; }

  .cats { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; }
  /* .cat ו-.bb הם כעת <a> — display:block כדי לשמור על אותה פריסה בדיוק */
  .cat { background:var(--surface); border:1px solid var(--border); border-radius:12px; text-align:center; padding:16px 6px; cursor:pointer; transition:.2s; display:block; color:inherit; text-decoration:none; }
  a.cat:hover, a.bb:hover { text-decoration:none; }
  .cat:hover { transform:translateY(-2px); box-shadow:0 6px 16px rgba(27,42,74,.14); }
  .cat b { color:var(--primary); font-size:14px; }

  .pgrid { display:grid; gap:14px; }
  .cols-4 { grid-template-columns:repeat(4,1fr); }
  .pcard { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:.2s; display:flex; flex-direction:column; }
  .pcard:hover { transform:translateY(-3px); box-shadow:0 8px 20px rgba(27,42,74,.16); }
  .pcard .toprow { display:flex; gap:6px; align-items:center; padding:10px 12px 0; flex-wrap:wrap; }
  .brand { font-weight:800; font-size:14px; } .brand.lenovo{color:#E2231A;} .brand.dell{color:#007DB8;} .brand.tp{color:#4ACBD6;}
  .pimg { background:#FFFFFF; border:1px solid var(--border); text-align:center; padding:18px 0; margin:10px 12px; border-radius:10px; }
  .pbody { padding:0 14px 14px; text-align:center; flex:1; display:flex; flex-direction:column; }
  .pbody b { font-size:16px; color:var(--text); }
  /* שם המוצר הוא כעת <a> ולא <b> — נגיש למקלדת, ונראה זהה */
  .pbody .pname { font-size:16px; color:var(--text); font-weight:700; text-decoration:none; display:block; }
  .pbody .pname:hover { text-decoration:underline; }
  .spec { color:var(--muted); font-size:12px; margin:4px 0; }
  .sku { color:var(--muted); font-size:12px; }
  .stock { color:var(--success); font-size:12px; font-weight:600; margin:6px 0; }
  .price-old { color:var(--muted); text-decoration:line-through; font-size:14px; }
  .price { color:var(--primary); font-size:26px; font-weight:800; }
  .pcta { margin-top:auto; }
  .pcta .btn { width:100%; padding:11px; font-size:15px; }
  .compare { font-size:12px; margin-top:8px; display:inline-block; color:var(--primary); }

  .about { background:var(--surface); border:1px solid var(--border); border-radius:16px; text-align:center; padding:36px 26px; }
  .about h2 { color:#1c1c1c; font-size:30px; font-weight:800; }
  .about p { color:var(--muted); max-width:640px; margin:14px auto 24px; line-height:1.7; }
  .trust { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
  .trust .tc { background:var(--primary); color:#fff; border-radius:14px; padding:22px 10px; }
  .trust .tc .big { font-size:24px; font-weight:800; }
  .trust .tc hr { border:none; border-top:1px solid #3D5379; margin:10px 22px; }
  .trust .tc small { color:#D5DCEA; font-size:14px; }

  .quotes { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
  .quote { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px; text-align:center; }
  /* דירוג ב-SVG ולא בתו ★ — הסקיל אוסר אימוג'י/תווים כאייקונים,
     והתו נקרא ע"י קורא מסך כ"כוכב שחור" חמש פעמים. */
  .stars { display:inline-flex; gap:2px; color:var(--stars); }
  .stars svg { width:18px; height:18px; }
  .quote p { margin:10px 0; line-height:1.6; font-size:15px; }
  .quote small { color:var(--muted); }
  .logos { display:flex; justify-content:center; gap:28px; flex-wrap:wrap; margin-top:18px; }
  .logos span { color:var(--muted); font-weight:700; font-size:16px; transition:.2s; cursor:default; }
  .logos span:hover { color:var(--primary); }

  .brands-big { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
  .bb { background:var(--surface); border:2px solid var(--primary); border-radius:14px; text-align:center; padding:22px; display:block; color:inherit; text-decoration:none; }
  .bb .nm { font-size:30px; font-weight:800; }
  .brands-small { display:grid; grid-template-columns:repeat(7,1fr); gap:10px; margin-top:12px; }
  .bs { background:var(--surface); border:1px solid var(--border); border-radius:10px; text-align:center; padding:14px 4px; color:var(--muted); font-weight:700; font-size:14px; }
  .bs:hover { color:var(--primary); }

  .blog { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
  .bcard { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; }
  .bimg { background:linear-gradient(135deg,#22345A,#101A30); text-align:center; padding:26px 0; }
  .bbody { padding:14px; }
  .bbody b { color:var(--text); font-size:16px; line-height:1.4; display:block; margin:8px 0; }
  .meta-line { color:var(--muted); font-size:12px; }

  footer { background:var(--primary); color:#C9D3E6; margin-top:50px; padding:36px 0 90px; }
  .f-in { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:26px; }
  footer h4 { color:#fff; margin-bottom:10px; }
  footer a { color:#C9D3E6; display:block; padding:3px 0; font-size:14px; }

  .drawer-scrim { display:none; position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:50; }
  .drawer { position:fixed; top:0; bottom:0; left:-360px; width:340px; background:#fff; z-index:51; transition:left .25s ease-out; padding:20px; overflow-y:auto; }
  .open .drawer { left:0; } .open .drawer-scrim { display:block; }
  .d-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
  .d-head b { font-size:20px; color:var(--text); }
  .prog { background:#ECEFF3; border-radius:8px; height:10px; overflow:hidden; }
  .prog i { display:block; height:100%; background:#2FBF4F; width:0%; transition:width .3s; }
  .prog-txt { color:var(--success); font-size:13px; font-weight:600; margin:8px 0 14px; }
  .d-item { display:flex; align-items:center; gap:10px; padding:12px 0; border-bottom:1px solid var(--border); font-size:14px; }
  .d-tot { display:flex; justify-content:space-between; font-size:18px; font-weight:800; margin:14px 0; }
  .added-flash { color:var(--success); font-weight:700; font-size:14px; display:none; margin-bottom:8px; }

  .mbar { display:none; position:fixed; bottom:0; right:0; left:0; background:var(--primary); color:#fff; z-index:45; grid-template-columns:repeat(4,1fr); text-align:center; }
  .mbar div, .mbar button { padding:11px 2px 13px; font-size:12px; cursor:pointer;
    background:none; border:none; color:inherit; font-family:inherit; }
  .mbar .ic { font-size:19px; display:block; }

  @media (max-width:900px){
    .hero,.hero2 { grid-template-columns:1fr; text-align:center; min-height:0; }
    .hero h1{font-size:30px;} .hero-art svg{width:220px;height:auto;}
    .pgrid.cols-4 { grid-template-columns:repeat(2,1fr); }
    .cats { grid-template-columns:repeat(3,1fr); }
    .tiles,.trust { grid-template-columns:repeat(2,1fr); }
    .quotes,.blog,.brands-big { grid-template-columns:1fr; }
    .brands-small { grid-template-columns:repeat(4,1fr); }
    .mega.open { grid-template-columns:1fr; }
    .mbar { display:grid; }
    body { padding-bottom:64px; }
    .top-in { flex-wrap:wrap; }
    .search { order:3; min-width:100%; }
  }

  .hero { grid-template-columns:1fr; background:linear-gradient(rgba(15,25,48,.25),rgba(15,25,48,.25)), url("images/banners/hf_20260724_144956_9f9a0c3f-5680-4055-b632-616d9-4aa0c9.webp") center/cover no-repeat; }
  .hero > div:first-child { max-width:58%; }
  .hero2 { grid-template-columns:1fr; background:url("images/banners/hf_20260727_060927_d4d19ef2-9a03-4b2d-b813-33a31-05f2a5.webp") center/cover no-repeat; }
  .hero2 .hero-art { display:none; }
  .hero2 > div { max-width:52%; }
  .dh .micon { color:inherit; }
