/* Garo theme: behaviour that the page builder used to do in script, and small parity fixes. */

/* Header: the wrapper does not box its rows, so each row can stick to the page on its own. */
.garo-header{display:contents}
.garo-topbar{position:sticky;top:0;z-index:96}
@media (min-width:1025px){
	.garo-mainbar{position:sticky;top:var(--garo-bar-h,40px);z-index:95}
	.admin-bar .garo-topbar{top:32px}
	.admin-bar .garo-mainbar{top:calc(var(--garo-bar-h,40px) + 32px)}
}
/* Phones and tablets: the logo + menu row stays pinned at the top while scrolling and covers the orange bar,
   as before (its z-index comes from the header styles: 100 on phones, 95 on tablets). */
@media (max-width:1024px){.garo-mobilebar{position:sticky;top:0}}
@media (min-width:783px) and (max-width:1024px){.admin-bar .garo-topbar,.admin-bar .garo-mobilebar{top:32px}}
@media (min-width:601px) and (max-width:782px){.admin-bar .garo-topbar,.admin-bar .garo-mobilebar{top:46px}}
.garo-logo-text{font:700 28px/1 Heebo,sans-serif;color:#000}

/* Mobile menu: the dropdown opens under the header row across the full page width. */
.elementor-nav-menu--dropdown[aria-hidden="true"]{pointer-events:none}
.elementor-menu-toggle:not(.elementor-active) + .elementor-nav-menu__container{max-height:0;transform:scaleY(0)}
.elementor-nav-menu--stretch .elementor-nav-menu__container.elementor-nav-menu--dropdown{top:100%}
.elementor-nav-menu--toggle{--menu-height:100vh}
.elementor-menu-anchor{scroll-margin-top:130px}
@media (max-width:1024px){.elementor-menu-anchor{scroll-margin-top:50px}}

/* Product card title is an h2 now (was h1): keep the old metrics. */
@media (min-width:768px){.elementor-193 .elementor-widget-heading h2.elementor-heading-title.product_title{line-height:1.4em}}

/* Product cards: clicking "הוסף" must not move the card's bottom row (the old site jumped too).
   1) The add button has a 15px bottom margin (WooCommerce "div.product form.cart .button" rule); the +/- picker
      that replaces it (snippet 1221) had none, so the bottom-anchored row shrank and the control dropped 15px.
   2) While the request runs, the loading spinner was an inline box next to the (transparent) label and wrapped
      the button to two lines on phones (+15px). It is centred over the button instead. */
.elementor-193 .e-atc-qty-button-holder > .garo-qty{margin-bottom:15px}
.elementor-193 .e-loop-add-to-cart-form a.button.loading::after{position:absolute;top:50%;left:50%;right:auto;margin:-.4em 0 0 -.4em}

/* Floating cart basket (was the side-cart plugin's basket; the side cart mu-plugin opens the drawer from it). */
.garo-cart-toggle{position:fixed;right:11px;bottom:22px;z-index:9999997;display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;background:#fff;color:#000;box-shadow:0 0 15px 2px rgba(0,0,0,.1);text-decoration:none;cursor:pointer}
.garo-cart-toggle:hover,.garo-cart-toggle:focus{color:#000}
.garo-cart-toggle:focus-visible{outline:2px solid #eb580a;outline-offset:2px}
.garo-cart-icon svg{display:block;width:30px;height:30px}
.garo-cart-count{position:absolute;top:-10px;left:-10px;width:28px;height:28px;border-radius:50%;background:#000;color:#fff;font:400 13px/28px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;text-align:center}
@media (max-width:767px){.garo-cart-count{top:-7px;left:-7px;width:17px;height:17px;line-height:17px}}
body.garo-sidecart-open .garo-cart-toggle{display:none}

/* Scroll-to-top button (positions are set by snippet 1386 as before). */
#ast-scroll-top{display:none;position:fixed;bottom:30px;right:30px;z-index:99;width:2.1em;height:2.1em;line-height:2.1;font-size:15px;text-align:center;color:#fff;background-color:#046bd2;border-radius:2px;cursor:pointer}
#ast-scroll-top .ast-icon.icon-arrow svg{width:1.6em;height:auto;transform:rotate(180deg);fill:currentColor;vertical-align:middle}

/* Search form (404, search results). */
.search-form{display:flex;max-width:420px;margin:0 auto;border:1px solid #d1d5db;border-radius:4px;overflow:hidden;background:#fff}
.search-form label{flex:1;margin:0}
.search-form .search-field{width:100%;border:0;padding:10px 14px;font-size:16px;background:transparent}
.search-form .search-submit{display:flex;align-items:center;justify-content:center;width:46px;border:0;border-radius:0;background:#eb580a;color:#fff;padding:0}
.search-form .search-submit svg{width:20px;height:20px}
.ast-404-layout-1{text-align:center;padding:3em 0}
.ast-404-layout-1 .page-title{font-size:2.2em}
.ast-404-layout-1 .page-sub-title{font-size:1.2em;font-weight:400;margin:1em 0 1.5em}

/* WooCommerce icon font (notices, stars) from the WooCommerce plugin. */
@font-face{font-family:WooCommerce;src:url("/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff2") format("woff2"),url("/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff");font-weight:400;font-style:normal;font-display:block}
@font-face{font-family:star;src:url("/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff");font-weight:400;font-style:normal}


/* Experiment 2026-11-27 to 2026-12-11 (owner): the orange top bar ("משלוחים בנתניה ויישובי הסביבה!") is hidden.
   To bring it back, delete this block. --garo-bar-h:0px keeps the desktop menu row pinned at the very top. */
.garo-topbar{display:none}
:root{--garo-bar-h:0px}
