/* =====================================================================
   עיצוב "יד שנייה. בלי פשרות." — עמוד הבית, כרטיסי פריט, ניוזלייטר
   Arial בלבד · שחור, לבן וירוק #448e42
   ===================================================================== */

/* ---------- באנר מפוצל עם נקודות קנייה ---------- */
.hx { padding: 18px 0 8px; }
.hx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; min-height: 640px; }
.hx-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 64px 0 40px 56px; }
.hx-title { margin: 0; font-family: Arial, sans-serif; font-weight: 700; font-size: clamp(3rem, 7.2vw, 6.5rem); line-height: .9; letter-spacing: -.05em; color: #000; }
.hx-title span { display: block; color: #448e42; }
.hx-lead { font-size: 1.18rem; line-height: 1.6; color: #333; max-width: 32ch; margin: 26px 0 32px; }
.hx-btn { display: inline-flex; align-items: center; height: 60px; padding: 0 32px; border-radius: 999px; background: #000; color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; transition: background .2s, transform .2s; }
.hx-btn:hover { background: #448e42; color: #fff; text-decoration: none; transform: translateY(-1px); }
.hx-btn:focus-visible { outline: 3px solid #448e42; outline-offset: 3px; }
.hx-facts { display: flex; gap: 40px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid #e7e7e4; }
.hx-facts div { margin: 0; }
.hx-facts dt { font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.hx-facts dd { margin: 2px 0 0; font-size: .88rem; color: #666; }

.hx-shot { position: relative; border-radius: 36px; overflow: hidden; background: #0d150d; min-height: 520px; }
.hx-shot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx-spot { direction: ltr; position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; transform: translate(-13px, -13px); text-decoration: none; color: #000;
  animation: hx-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: var(--d, 0ms); }
.hx-spot.is-left { flex-direction: row-reverse; transform: translate(calc(-100% + 13px), -13px); }
.hx-dot { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px rgba(255, 255, 255, .3); position: relative; }
.hx-dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: hx-ping 2.4s ease-out infinite; animation-delay: var(--d, 0ms); }
.hx-card { direction: rtl; text-align: right; background: #fff; border-radius: 16px; padding: 9px 14px; font-size: .86rem; line-height: 1.3; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .55); white-space: nowrap; transition: transform .2s; }
.hx-card b { display: block; font-size: 1.05rem; color: #448e42; }
.hx-spot:hover .hx-card, .hx-spot:focus-visible .hx-card { transform: scale(1.05); }
.hx-spot:focus-visible { outline: none; }
.hx-spot:focus-visible .hx-dot { outline: 3px solid #448e42; outline-offset: 4px; }
@keyframes hx-pop { from { opacity: 0; transform: translate(-13px, -13px) scale(.6); } }
.hx-spot.is-left { animation-name: hx-pop-l; }
@keyframes hx-pop-l { from { opacity: 0; transform: translate(calc(-100% + 13px), -13px) scale(.6); } }
@keyframes hx-ping { 0% { opacity: .9; transform: scale(.8); } 80%, 100% { opacity: 0; transform: scale(1.6); } }

/* ---------- כל הקטגוריות ככפתורים קטנים ---------- */
.hx-pills-wrap { padding-top: 34px; }
.hx-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-pill { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #e4e4e1; background: #fff; color: #000; font-weight: 700; font-size: .92rem; text-decoration: none; transition: border-color .15s, background .15s; }
.hx-pill small { font-weight: 400; font-size: .78rem; color: #888; }
.hx-pill.is-root { border-color: #000; }
.hx-pill:hover { border-color: #448e42; text-decoration: none; color: #000; }
.hx-pill.is-on { background: #448e42; border-color: #448e42; color: #fff; }
.hx-pill.is-on small { color: #dcefdb; }

/* ---------- כל הפריטים ---------- */
.hx-all { padding-top: 46px; scroll-margin-top: 120px; }
.hx-sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.hx-sec-h h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; }
.hx-sec-h h2 span { font-size: .38em; letter-spacing: 0; color: #888; font-weight: 400; margin-inline-start: 6px; }
.hx-sort .select { border-radius: 999px; min-height: 42px; padding-inline: 16px 36px; }

/* ---------- כרטיס פריט (בכל האתר) ---------- */
.product-grid { gap: 34px 22px; }
.product-card-media { border-radius: 24px; aspect-ratio: 3 / 4; margin-bottom: 12px; }
.product-card .product-card-media img { border-radius: 0; }
.flag { border-radius: 999px; padding: 5px 11px; }
.product-card .btn-fav { top: 12px; inset-inline-end: 12px; }
.product-badges { top: 12px; inset-inline-start: 12px; }
.pc-size { position: absolute; bottom: 14px; inset-inline-end: 14px; background: rgba(0, 0, 0, .78); color: #fff; border-radius: 999px; padding: 5px 11px; font-size: .78rem; font-weight: 700; pointer-events: none; }
.pc-add { position: absolute; bottom: 14px; inset-inline-start: 14px; height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; color: #000; font: inherit; font-weight: 700; font-size: .86rem; cursor: pointer; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .45); display: inline-flex; align-items: center; gap: 6px; transition: background .15s, color .15s, transform .15s; }
.pc-add span { font-size: 1.15rem; line-height: 1; }
.pc-add:hover { background: #448e42; color: #fff; transform: translateY(-1px); }
.pc-add:focus-visible { outline: 3px solid #448e42; outline-offset: 2px; }
.pc-add:disabled { opacity: .7; }
.product-card-title { font-size: 1rem; margin-bottom: 4px; }
.product-card-meta { margin-bottom: 6px; color: #777; }
.product-card-meta > span:first-child:not(.condition-chip) { display: none; } /* המידה כבר על התמונה */
.condition-chip { border-radius: 999px; border-color: #dfe9de; color: #3b6f3a; background: #f3f8f2; font-weight: 700; }
.price-now { font-size: 1.12rem; }
.product-card .btn-add.btn-block { display: none; }

/* ---------- ניוזלייטר ---------- */
.nl-hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; border: 0 !important; opacity: 0; }
.nl-row { display: flex; background: #fff; border-radius: 999px; padding: 6px; border: 1.5px solid #e4e4e1; }
.nl-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font: inherit; font-size: 1rem; color: #000; outline: none; }
.nl-row button { flex: none; border: 0; border-radius: 999px; background: #448e42; color: #fff; font: inherit; font-weight: 700; padding: 15px 26px; cursor: pointer; transition: background .15s; }
.nl-row button:hover { background: #000; }
.nl-row:focus-within { border-color: #448e42; box-shadow: 0 0 0 3px rgba(68, 142, 66, .18); }
.nl-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: .8rem; color: #555; line-height: 1.45; cursor: pointer; }
.nl-consent input { margin-top: 2px; accent-color: #448e42; flex: none; width: 16px; height: 16px; }
.nl-msg { margin: 10px 0 0; font-weight: 700; font-size: .92rem; }
.nl-msg.is-ok { color: #2f6a2e; }
.nl-msg.is-err { color: #b3261e; }
.nl-form.is-done .nl-consent { display: none; }

.hx-news { margin-top: 90px; border-radius: 40px; background: #f4f4f2; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; overflow: hidden; }
.hx-news-tx { padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; }
.hx-news h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: .95; }
.hx-news p { font-size: 1.05rem; line-height: 1.55; color: #444; margin: 0 0 24px; }
.hx-news-im { min-height: 360px; position: relative; }
.hx-news-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% 50%; }

.footer-nl { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 28px; align-items: center; padding-top: 34px; padding-bottom: 34px; margin-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-nl strong { display: block; font-size: 1.5rem; letter-spacing: -.02em; color: #fff; }
.footer-nl > div > span { display: block; color: #bdbdbd; font-size: .92rem; margin-top: 4px; }
.footer-nl .nl-consent { color: #bdbdbd; }
.footer-nl .nl-msg.is-ok { color: #8fd58c; }
.footer-nl .nl-msg.is-err { color: #ff9a8f; }

.nl-done { max-width: 620px; padding-top: 70px; padding-bottom: 90px; text-align: center; }
.nl-done h1 { font-size: 2.4rem; letter-spacing: -.03em; margin: 0 0 14px; }
.nl-done p { font-size: 1.05rem; line-height: 1.6; }
.nl-done .btn { margin-top: 18px; }

@media (max-width: 900px) {
  .hx-grid { grid-template-columns: 1fr; min-height: 0; }
  .hx-copy { padding: 10px 0 26px; }
  .hx-lead { font-size: 1rem; margin: 16px 0 22px; }
  .hx-btn { height: 52px; padding: 0 26px; }
  .hx-facts { gap: 24px; margin-top: 26px; padding-top: 18px; }
  .hx-facts dt { font-size: 1.4rem; }
  .hx-shot { min-height: 0; aspect-ratio: 4 / 5; border-radius: 26px; }
  .hx-card { font-size: .74rem; padding: 7px 10px; border-radius: 12px; }
  .hx-card b { font-size: .9rem; }
  .hx-dot { width: 20px; height: 20px; }
  .hx-spot { transform: translate(-10px, -10px); }
  .hx-spot.is-left { transform: translate(calc(-100% + 10px), -10px); }
  .hx-pills-wrap { padding-top: 26px; }
  .hx-pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .hx-pills::-webkit-scrollbar { display: none; }
  .hx-pill { flex: none; height: 38px; }
  .hx-all { padding-top: 30px; }
  .hx-sec-h { margin-bottom: 18px; }
  .product-grid { gap: 26px 12px; }
  .product-card-media { border-radius: 18px; }
  .pc-add { height: 36px; width: 36px; padding: 0; justify-content: center; bottom: 10px; inset-inline-start: 10px; font-size: 0; }
  .pc-add span { font-size: 1.4rem; }
  .pc-size { bottom: 10px; inset-inline-end: 10px; }
  .hx-news { grid-template-columns: 1fr; border-radius: 28px; margin-top: 60px; }
  .hx-news-tx { padding: 30px 20px 32px; }
  .hx-news-im { min-height: 200px; order: -1; }
  .nl-row button { padding: 13px 18px; }
  .footer-nl { grid-template-columns: 1fr; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hx-spot, .hx-dot::after { animation: none; } }

/* ---------- כותרת האתר — מעוגלת ונקייה, כמו בעיצוב החדש ---------- */
.header-search input { border-radius: 999px; padding-inline: 20px 48px; }
.header-search .search-submit { inset-inline-end: 8px; }
.header-support { border-radius: 999px; }
