/* EK Home – Hummingbird theme layer. Shares tokens and components with ekhome.css. */

/* ---------- header ---------- */
body #header.js-sticky-header, body #header { position: relative; top: auto; } /* a 280px sticky header hid half the phone screen; the floating cart follows instead */
#header .header-top { background: var(--ek-green); }
body.lang-rtl #header .ps-contactinfo__phone { direction: rtl; } /* the number itself is isolated (LRI/PDI) in the Hebrew translation */
#header .header-top .container-md > .row { min-height: 44px; align-items: center; }
#header .header-top, #header .header-top a, #header .header-top .material-icons, #header .header-top .header-block__title, #header .header-top .ps-contactinfo { color: #fff; }
#header .header-top .ps-contactinfo a { font-weight: 700; direction: ltr; unicode-bidi: isolate; }
#header .header-top .js-language-selector { background-color: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; min-height: 34px; padding-block: 2px; font-weight: 700; background-image: none; padding-inline: 14px; }
#header .header-top .js-language-selector option { color: var(--ek-text); }
#header .header-top .blockcart { background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 0 14px; min-height: 36px; }
#header .header-top .blockcart .header-block__badge { background: var(--ek-orange); color: #fff; }
#header .header-bottom { padding-block: 12px 4px; }
#header .header-bottom__logo .logo { height: 64px; width: auto; max-width: none; }
#header .ps-searchbar__input { border-radius: 999px; background: #f3f4f6; border-color: transparent; min-height: 46px; }
#header .ps-searchbar__input:focus { background: #fff; border-color: var(--ek-orange); box-shadow: 0 0 0 3px rgba(247, 126, 0, .14); }
@media (min-width: 1200px) {
  #header .header-bottom__row { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 24px; margin: 0; }
  #header .header-bottom__row > * { width: auto; max-width: none; padding: 0; margin: 0; }
  #header .header-bottom__logo { grid-column: 1; grid-row: 1; }
  #header #_desktop_ps_searchbar { grid-column: 2; grid-row: 1; justify-self: center; width: 100%; max-width: 560px; display: flex; }
  #header #_desktop_ps_searchbar .ps-searchbar { width: 100%; }
  #header .ps-mainmenu--desktop { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid #eee; margin-top: 12px; padding-top: 6px; }
  #header #top-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
}
#header #top-menu > li > .ps-mainmenu__tree-item-wrapper a { color: var(--ek-text); font-weight: 700; }
#header #top-menu > li > .ps-mainmenu__tree-item-wrapper a:hover { color: var(--ek-orange-d); }

/* ---------- homepage ---------- */
body#index .ekh { max-width: 1170px; margin-inline: auto; padding-inline: 16px; min-width: 0; width: 100%; } /* HB home is a grid: without min-width the tile strip widens the page on mobile */
body#index .ekh-best .section-title, body#index .ekh-best .module-products__buttons { display: none; }
body#index .ekh-best .module-products { padding: 0; max-width: none; }
body#index .ekh-best .module-products__list { display: block; margin: 24px 0 0; }
body#index .ekh-best .module-products__list .products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; }
body#index .ekh-best .module-products__list .products > * { width: auto; max-width: none; padding: 0; margin: 0; }
@media (max-width: 767px) { body#index .ekh-best .module-products__list .products { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- product cards ---------- */
.product-miniature__actions, .product-miniature__quickview-button, .product-miniature__quickview-touch { display: none !important; } /* our − / + form replaces the theme's second one */
.product-miniature__inner { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--ek-r); box-shadow: var(--ek-shadow); overflow: hidden; transition: box-shadow .15s; }
.product-miniature__inner:hover { box-shadow: 0 8px 22px rgba(17, 24, 39, .1); }
.product-miniature__image-container { aspect-ratio: 1; background: #fff; border-radius: 0; }
.product-miniature__image { width: 100%; height: 100%; object-fit: contain; }
.product-miniature__bottom { flex: 1; display: flex; flex-direction: column; padding: 12px 12px 14px; }
.product-miniature__infos { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-miniature__title { color: var(--ek-text); font-weight: 700; font-size: .95rem; line-height: 1.3; text-align: center; text-decoration: none; }
.product-miniature__title:hover { color: var(--ek-orange-d); }
.product-miniature__prices { justify-content: center; text-align: center; }
.product-miniature__price { color: var(--ek-orange-d); font-weight: 900; font-size: 1.1rem; }

/* ---------- footer ---------- */
#footer .footer__main { background: #143d22; color: #e5efe8; padding-top: 44px; }
#footer .footer__main .copyright { display: none; } /* ours is in .ekf */
#footer .footer__main-top { margin: 0; }
#footer .footer__before .ps-emailsubscription { background: var(--ek-soft) !important; } /* bootstrap utility class uses !important */
