/* גלריית כלים בסגנון EASTMAN (26.11.2026, סתיו: "אני רוצה שכל הכלים יופיעו ככה, זה מציג אותם מושלם").
   נטען אחרי modern.css בכל העמודים (tools/modern.py). הצבעים של האתר כמו שהם; משתנה רק אופן ההצגה של הכלים:
   בלי קופסה סביב הכרטיס, תמונה גדולה שמשתלבת ברקע (רקע הסטודיו של תמונות המוצר = צבע המדור), וטקסט ממורכז מתחת.
   ביטול מיידי: python modern.py --off-gallery (מסיר את התגית), או למחוק את הקובץ. */

:root{--g-stage:#3a080e;--g-stage-hi:#6e1420}

/* המדור עצמו בצבע הקצה של תמונות הסטודיו, כדי שהריבוע של התמונה ייעלם והכלי "ירחף" */
html body .product-section,html body .product-section.alt{background:var(--g-stage)!important}
html body .product-grid{gap:56px 26px!important}

/* הכרטיס: בלי קופסה, בלי רקע, בלי הבהוב בריחוף. עמודה, כדי שהכפתורים ייושרו לאותו גובה בכל שורה */
html body .product-card,html body .product-card:hover{background:transparent!important;border:0!important;box-shadow:none!important;text-align:center!important;
  display:flex!important;flex-direction:column!important}

/* התמונה: גדולה, בלי מסגרת, הקצוות נמסים לתוך הרקע */
html body .product-card .shot{background:radial-gradient(60% 60% at 50% 46%,var(--g-stage-hi),var(--g-stage) 72%)!important;border-radius:0!important;overflow:hidden!important;
  -webkit-mask-image:radial-gradient(75% 75% at 50% 48%,#000 70%,transparent 100%);mask-image:radial-gradient(75% 75% at 50% 48%,#000 70%,transparent 100%)}
html body .product-card .shot img{padding:6% !important;object-fit:contain!important;transition:transform .6s cubic-bezier(.23,1,.32,1)!important}
html body .product-card .shot img[src*="/img/st/"]{padding:0!important;object-fit:cover!important}
html body .product-card:hover .shot img{transform:scale(1.04) translateY(-4px)!important}

/* הטקסט: ממורכז ושקט, כמו ברשת הדגמים של EASTMAN */
html body .product-card .info{padding:14px 6px 0!important;gap:6px!important;align-items:center!important;text-align:center!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important}
html body .product-card .meta{order:-1;font-family:"Heebo","Heebo Fallback",sans-serif!important;font-size:11px!important;font-weight:600!important;letter-spacing:.16em!important;
  text-transform:uppercase;color:var(--m-muted)!important;direction:ltr;unicode-bidi:isolate}
html body .product-card .name{font-size:17px!important;font-weight:500!important;line-height:1.35!important;color:var(--m-text)!important;text-wrap:balance}
html body .product-card .price{font-family:"Heebo","Heebo Fallback",sans-serif!important;font-size:22px!important;font-weight:700!important;letter-spacing:0!important;
  color:var(--m-gold)!important;padding-top:4px!important;margin-top:2px!important}
html body .product-card .price.note{font-size:13px!important;font-weight:400!important;color:var(--m-muted)!important}
html body .product-card .more{font-size:14px!important;color:var(--m-gold)!important;font-weight:500!important}

/* כפתורים: סל זהוב דק באמצע, ומתחתיו "שאלו על המוצר" כקישור טקסט. תמיד בתחתית הכרטיס (מיושרים בכל השורה) */
html body .product-card .acts{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;
  margin-top:auto!important;padding-top:10px!important;width:100%}
html body .product-card .card-cart{min-height:40px!important;width:auto!important;padding:0 22px!important;background:transparent!important;color:var(--m-gold)!important;
  border:1px solid rgba(255,198,26,.55)!important;font-weight:600!important;white-space:nowrap}
html body .product-card .card-cart:hover{background:var(--m-gold)!important;color:var(--m-ink)!important}
html body .product-card .acts .ask{border:0!important;background:transparent!important;color:var(--m-muted)!important;font-size:13px!important;white-space:nowrap;
  width:auto!important;min-height:0!important;padding:2px 0!important;display:inline-flex!important;align-items:center;gap:6px}
html body .product-card .acts .ask svg{width:14px!important;height:14px!important;fill:currentColor}
html body .product-card .acts .ask:hover{color:var(--m-gold)!important}
/* מוצר בלי מחיר (בלי כפתור סל): "שאלו על המוצר" הוא הכפתור הראשי, באותו סגנון של כפתור הסל */
html body .product-card .acts .ask:only-child,html body .product-card > .info > a.ask{color:var(--m-gold)!important;border:1px solid rgba(255,198,26,.55)!important;
  min-height:40px!important;padding:0 22px!important;font-size:14px!important;font-weight:600!important;background:transparent!important;border-radius:var(--m-r)!important;
  white-space:nowrap!important;width:auto!important;max-width:100%;align-self:center!important;justify-content:center}
html body .product-card .acts .ask:only-child:hover,html body .product-card > .info > a.ask:hover{background:var(--m-gold)!important;color:var(--m-ink)!important}
html body .product-card > .info > a.ask{margin-top:auto!important}

/* כותרת המדור: גדולה ושקטה */
html body .product-section .section-head h2{font-weight:500!important;letter-spacing:-.01em}

@media (max-width:640px){
  html body .product-grid{gap:34px 12px!important}
  html body .product-card .name{font-size:15px!important}
  html body .product-card .price{font-size:19px!important}
  html body .product-card .card-cart{padding:0 12px!important;font-size:12.5px!important}
  html body .product-card .acts .ask{font-size:12px!important}
  /* כפתור "שאלו על המוצר" בכלי בלי מחיר: שורה אחת גם בטלפון (26.11) */
  html body .product-card .acts .ask:only-child,html body .product-card > .info > a.ask{padding:0 12px!important;font-size:12.5px!important}
}
@media (prefers-reduced-motion:reduce){html body .product-card .shot img{transition:none!important}}
