/* ===== Additions on top of base.css: WordPress + WooCommerce markup ===== */
body{margin:0}
img{max-width:100%; height:auto}
.skip-link{position:absolute; top:0; right:16px; z-index:100; background:var(--fg); color:#fff; padding:10px 16px; clip-path:inset(50%); width:1px; height:1px; overflow:hidden; white-space:nowrap}
.skip-link:focus{clip-path:none; width:auto; height:auto}
.screen-reader-text{border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute!important; width:1px; word-wrap:normal!important}
body.admin-bar .head{top:32px}
@media (max-width:782px){ body.admin-bar .head{top:0} }
.services p{margin:0}

/* Header */
.phone:hover b{color:var(--brand)}
.ic{text-decoration:none}
.logo-img{object-fit:contain}

/* Mega menu: any number of columns + promo box */
.mega .wrap{grid-template-columns:repeat(auto-fit, minmax(170px,1fr)); }
.mega .wrap > .promo-box{min-width:240px}
.mega h4 a{color:var(--muted)}
.mega h4 a:hover{color:var(--brand)}
@media (min-width:1021px){ .mega .wrap{grid-template-columns:repeat(auto-fit, minmax(170px,1fr)) 280px} .mega .wrap > .promo-box{grid-column:-2} }

/* Mobile drawer links */
.nav .mlink{display:block; padding:13px 2px; font-weight:800; border-bottom:1px solid var(--line)}

/* Hero image instead of illustrations */
.slide .art-img img{width:100%; max-height:360px; object-fit:contain}

/* Category tiles with real images */
.cat .pic img{width:100%; height:100%; object-fit:cover; transition:transform .35s}
.cat:hover .pic img{transform:scale(1.05)}

/* Section spacing on home */
#products .wrap{padding-top:0}
.tab-panel .woocommerce{margin:0}
.empty, .notice-box{color:var(--muted)}
.notice-box{background:var(--surface-2); padding:20px; border-radius:var(--r)}

/* Brands */
.brands a{border:1px solid var(--line); border-radius:var(--r); height:72px; display:grid; place-items:center; color:var(--muted); font-weight:700; font-size:14px; background:var(--surface); padding:10px; text-align:center}
.brands a:hover{border-color:var(--brand); color:var(--brand)}
.brands a img{max-height:48px; width:auto; object-fit:contain}

/* ---------- Product grid (overrides WooCommerce floats) ---------- */
.woocommerce ul.products, .woocommerce-page ul.products{display:grid!important; grid-template-columns:repeat(auto-fill, minmax(220px,1fr)); gap:16px; margin:0 0 24px!important; padding:0; list-style:none}
.woocommerce ul.products.columns-4{grid-template-columns:repeat(4, minmax(0,1fr))}
.woocommerce ul.products.columns-3{grid-template-columns:repeat(3, minmax(0,1fr))}
.woocommerce ul.products.columns-5{grid-template-columns:repeat(5, minmax(0,1fr))}
.woocommerce ul.products::before, .woocommerce ul.products::after{content:none!important; display:none!important}
.woocommerce ul.products li.product.card, .woocommerce-page ul.products li.product.card{width:auto!important; float:none!important; margin:0!important; padding:0; text-align:start}
.woocommerce ul.products li.product.card .pic{display:grid; aspect-ratio:1/1; background:var(--surface-2); place-items:center; position:relative; overflow:hidden}
.woocommerce ul.products li.product.card .pic img{width:100%; height:100%; object-fit:contain; margin:0!important; transition:transform .3s; mix-blend-mode:multiply}
.woocommerce ul.products li.product.card:hover .pic img{transform:scale(1.05)}
.woocommerce ul.products li.product.card h3{font-size:.98rem; font-weight:700; line-height:1.35; padding:0; margin:0}
.woocommerce ul.products li.product.card h3 a:hover{color:var(--brand)}
.woocommerce ul.products li.product.card .star-rating{margin:2px 0; font-size:.8em}
.woocommerce ul.products li.product.card .price{margin-top:auto; padding-top:8px; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; color:var(--fg); font-size:1.3rem; font-weight:900; font-variant-numeric:tabular-nums; margin-bottom:0}
.woocommerce ul.products li.product.card .price del{color:var(--muted); font-size:.9rem; font-weight:400; opacity:1; order:2}
.woocommerce ul.products li.product.card .price ins{text-decoration:none; color:var(--sale); background:none}
.woocommerce ul.products li.product.card .button{margin-top:10px; border:0; background:var(--fg); color:#fff; padding:10px; border-radius:8px; font-weight:800; display:flex; justify-content:center; align-items:center; gap:6px; text-align:center; font-size:14px; line-height:1.3; width:100%}
.woocommerce ul.products li.product.card .button:hover{background:var(--brand); color:#fff}
.woocommerce ul.products li.product.card .button.loading{opacity:.6}
.woocommerce ul.products li.product.card .added_to_cart{display:block; text-align:center; font-size:13px; padding-top:6px; color:var(--brand); font-weight:700}
.woocommerce span.onsale{min-width:0; min-height:0; line-height:1.4; padding:4px 10px; border-radius:4px; background:var(--sale); font-weight:800; font-size:13px; top:10px; right:10px; left:auto; margin:0}

@media (max-width:1020px){ .woocommerce ul.products.columns-4, .woocommerce ul.products.columns-5{grid-template-columns:repeat(3, minmax(0,1fr))} }
@media (max-width:760px){
	.woocommerce ul.products, .woocommerce ul.products[class*="columns-"]{grid-template-columns:repeat(2, minmax(0,1fr))!important; gap:10px}
	.woocommerce ul.products li.product.card h3{font-size:.9rem}
	.woocommerce ul.products li.product.card .price{font-size:1.1rem}
}

/* ---------- Shop pages ---------- */
.shop-wrap, .page-wrap{padding-block:22px 48px}
.woocommerce .woocommerce-breadcrumb{font-size:13px; color:var(--muted); margin:0 0 16px}
.woocommerce .woocommerce-breadcrumb a{color:var(--muted)}
.woocommerce .woocommerce-breadcrumb a:hover{color:var(--brand)}
.woocommerce-breadcrumb .sep{margin-inline:6px}
.shop-layout.has-sidebar{display:grid; grid-template-columns:260px minmax(0,1fr); gap:28px}
.shop-layout.has-sidebar .shop-side{grid-column:1; grid-row:1}
.shop-layout.has-sidebar .shop-main{grid-column:2}
.shop-side .widget{border:1px solid var(--line); border-radius:var(--r); padding:16px; margin-bottom:14px}
.shop-side .widget-title{margin:0 0 10px; font-size:1rem; font-weight:800}
.shop-side ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px}
.woocommerce-products-header__title, .page-title, .product_title{font-size:clamp(1.6rem, 3.2vw, 2.2rem); font-weight:900; letter-spacing:-.02em; margin:0 0 12px}
.term-description{color:var(--muted); max-width:60em}
.woocommerce .woocommerce-result-count{color:var(--muted); font-size:14px; margin:8px 0 18px}
.woocommerce .woocommerce-ordering select{border:1px solid var(--line); border-radius:8px; padding:8px 10px; font:inherit; background:var(--surface)}
.woocommerce nav.woocommerce-pagination ul{border:0; display:flex; gap:6px; justify-content:center}
.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span{border-radius:8px; border:1px solid var(--line); min-width:40px; padding:9px}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--fg); color:#fff; border-color:var(--fg)}
@media (max-width:900px){ .shop-layout.has-sidebar{grid-template-columns:1fr} .shop-layout.has-sidebar .shop-side, .shop-layout.has-sidebar .shop-main{grid-column:auto; grid-row:auto} }

/* Buttons (WooCommerce) */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .wc-block-components-button:not(.is-link){background:var(--fg); color:#fff; border-radius:var(--r); font-weight:800; padding:12px 22px; border:0; font-family:var(--font)}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover{background:var(--brand); color:#fff}
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce a.checkout-button, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button{background:var(--brand)!important; color:#fff!important}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover{background:#005f79}
.woocommerce .quantity .qty{border:1px solid var(--line); border-radius:8px; padding:10px 6px; width:4.2em; font:inherit}

/* Single product */
.single-product div.product{display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:36px; position:relative}
.single-product div.product > *{grid-column:1 / -1}
.single-product div.product .woocommerce-product-gallery{grid-column:1; grid-row:1; width:100%!important; float:none!important; margin:0!important}
.single-product div.product .summary{grid-column:2; grid-row:1; width:100%!important; float:none!important; margin:0!important}
.single-product div.product > span.onsale{grid-column:1; grid-row:1; z-index:5; align-self:start; justify-self:start; position:relative; top:12px; right:12px}
.woocommerce-product-gallery__wrapper, .woocommerce-product-gallery .flex-viewport{background:var(--surface-2); border-radius:var(--r)}
.woocommerce div.product div.images .flex-control-thumbs{display:flex; gap:8px; margin-top:10px}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto!important; flex:0 0 76px}
.woocommerce div.product div.images .flex-control-thumbs li img{border-radius:8px; border:1px solid var(--line)}
.woocommerce div.product p.price, .woocommerce div.product span.price{color:var(--fg); font-size:1.9rem; font-weight:900; display:flex; gap:10px; align-items:baseline; flex-wrap:wrap; margin:8px 0 4px}
.woocommerce div.product p.price del{color:var(--muted); font-size:1.1rem; font-weight:400; order:2; opacity:1}
.woocommerce div.product p.price ins{text-decoration:none; color:var(--sale)}
.summary .inst{color:var(--muted); font-size:14px; margin-bottom:16px}
.summary .woocommerce-product-details__short-description{color:var(--muted); margin-bottom:18px}
.woocommerce div.product form.cart{display:flex; gap:10px; flex-wrap:wrap; align-items:stretch; margin:18px 0}
.woocommerce div.product form.cart .button{flex:1; min-width:200px; font-size:1.05rem; padding:14px 24px}
.woocommerce div.product form.cart.variations_form{display:block}
.woocommerce div.product form.cart .variations select{border:1px solid var(--line); border-radius:8px; padding:9px; min-width:200px}
.woocommerce-variation-add-to-cart{display:flex; gap:10px; flex-wrap:wrap}
.product_meta{font-size:13px; color:var(--muted); display:flex; flex-direction:column; gap:4px; border-top:1px solid var(--line); padding-top:14px}
.product_meta a{color:var(--brand)}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0; margin:0 0 20px; border-bottom:2px solid var(--line); display:flex; gap:4px; overflow-x:auto}
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:none; border:0; border-radius:0; margin:0 0 -2px; padding:0; border-bottom:3px solid transparent}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-weight:800; color:var(--muted); padding:10px 16px; white-space:nowrap}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom-color:var(--brand)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--fg)}
.woocommerce div.product .woocommerce-tabs .panel{max-width:60em}
.related > h2, .upsells > h2, .cross-sells > h2{font-size:clamp(1.4rem,2.8vw,1.8rem); font-weight:900; margin:24px 0 16px}
@media (max-width:860px){
	.single-product div.product{grid-template-columns:1fr; gap:20px}
	.single-product div.product .woocommerce-product-gallery, .single-product div.product .summary, .single-product div.product > span.onsale{grid-column:1}
	.single-product div.product .summary{grid-row:2}
}

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner{border-radius:var(--r); border-top-width:0!important; border-inline-start:4px solid var(--brand); background:var(--surface-2)}
.woocommerce-message::before, .woocommerce-info::before{color:var(--brand)}
.woocommerce-error{border-inline-start-color:var(--sale)}

/* Cart / checkout / account (classic + blocks) */
.woocommerce table.shop_table{border-radius:var(--r); border-color:var(--line)}
.woocommerce table.shop_table th{font-weight:800}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection{border:1px solid var(--line); border-radius:8px; padding:10px 12px; font:inherit}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none; padding:0; margin:0; border:1px solid var(--line); border-radius:var(--r); overflow:hidden}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block; padding:11px 14px; border-bottom:1px solid var(--line)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--fg); color:#fff}

/* ---------- Cart drawer (mini cart) ---------- */
.drawer.cart{overflow:hidden}
.drawer.cart .free-bar{margin-bottom:12px}
.drawer.cart .free-bar:empty{display:none}
.drawer.cart .widget_shopping_cart_content{flex:1; display:flex; flex-direction:column; min-height:0}
.drawer.cart ul.woocommerce-mini-cart{list-style:none; margin:0; padding:0; flex:1; overflow:auto; display:flex; flex-direction:column; gap:12px}
.drawer.cart .woocommerce-mini-cart-item{position:relative; display:grid; grid-template-columns:60px 1fr; gap:4px 12px; align-items:center; padding:0 0 12px 28px; border-bottom:1px solid var(--line); font-size:13.5px; font-weight:500; line-height:1.35}
.drawer.cart .woocommerce-mini-cart-item > a:not(.remove){display:contents}
.drawer.cart .woocommerce-mini-cart-item img{grid-row:span 2; width:60px; height:60px; object-fit:contain; background:var(--surface-2); border-radius:8px; margin:0; float:none}
.drawer.cart .woocommerce-mini-cart-item .quantity{grid-column:2; color:var(--muted); font-variant-numeric:tabular-nums}
.drawer.cart .woocommerce-mini-cart-item .remove{position:absolute; left:0; top:0; width:24px; height:24px; border-radius:50%; background:var(--surface-2); display:grid; place-items:center; color:var(--muted)!important; font-size:18px; line-height:1}
.drawer.cart .woocommerce-mini-cart-item .remove:hover{background:var(--sale); color:#fff!important}
.drawer.cart .woocommerce-mini-cart-item dl.variation{grid-column:2; margin:0; font-size:12px; color:var(--muted)}
.drawer.cart .woocommerce-mini-cart__total{display:flex; justify-content:space-between; font-weight:900; font-size:1.25rem; border-top:1px solid var(--line); padding-top:14px; margin:14px 0 4px; font-variant-numeric:tabular-nums}
.drawer.cart .inst{color:var(--muted); font-size:13px; margin-bottom:10px}
.drawer.cart .woocommerce-mini-cart__buttons{display:flex; flex-direction:column-reverse; gap:8px; margin:0}
.drawer.cart .woocommerce-mini-cart__buttons a{display:flex; justify-content:center; padding:13px; border-radius:var(--r); font-weight:800; background:var(--surface-2); color:var(--fg)}
.drawer.cart .woocommerce-mini-cart__buttons a.checkout{background:var(--brand); color:#fff}
.drawer.cart .woocommerce-mini-cart__empty-message{color:var(--muted)}

/* Newsletter with any form plugin */
.news-form input[type=email], .news-form input[type=text]{flex:1; min-width:200px; padding:13px 14px; border-radius:var(--r); border:0; background:#fff; color:#15171C; font:inherit}
.news-form input[type=submit], .news-form button{background:var(--brand); color:#fff; border:0; border-radius:var(--r); padding:13px 26px; font-weight:800}
.news-form form{display:flex; gap:8px; flex-wrap:wrap}

/* Pages / posts */
.entry{max-width:900px; font-size:16px}
.entry.wide, .woocommerce-cart .entry, .woocommerce-checkout .entry, .woocommerce-account .entry{max-width:none}
.entry a{color:var(--brand); text-decoration:underline}
.post-list{display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); gap:18px}
.post-card{border:1px solid var(--line); border-radius:var(--r); overflow:hidden; display:flex; flex-direction:column}
.post-card .pic img{width:100%; aspect-ratio:16/9; object-fit:cover}
.post-card .body{padding:14px}
.post-card h2{font-size:1.15rem; font-weight:800}
.post-card p{color:var(--muted); margin:6px 0 0}
footer .about{color:var(--muted); margin:12px 0 0; max-width:28em}
footer .cols ul + ul{margin-top:7px}
html.a11y-pause *{animation:none!important; transition:none!important}
[hidden]:not([hidden=until-found i]){display:none!important}
html{overflow-x:hidden}
.drawer{visibility:hidden; transition:transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s}
.drawer.open{visibility:visible; transition:transform .3s cubic-bezier(.2,.8,.2,1)}
@media (min-width:761px){ .slide .wrap{padding-inline:76px} }
.fab.a11y{top:auto; bottom:calc(18px + env(safe-area-inset-bottom,0px)); transform:none} .a11y-panel{top:auto; bottom:calc(80px + env(safe-area-inset-bottom,0px)); transform:none}

/* v1.1 */
.site .logo-img{height:64px!important; width:auto!important; max-width:none}
.site footer .logo-img{height:72px!important}
@media (max-width:760px){ .site .head .logo-img{height:48px!important} }
.vmp-art{display:grid; place-items:center; width:100%; height:100%; aspect-ratio:1/1; background:var(--surface-2)}
.vmp-art svg{width:70%; height:auto; transition:transform .3s}
.card:hover .vmp-art svg{transform:scale(1.05)}
.vmp-art-big .vmp-art{border-radius:var(--r)}
.vmp-art-big .vmp-art svg{width:60%}
.drawer.cart .woocommerce-mini-cart-item .vmp-art{grid-row:span 2; width:60px; height:60px; border-radius:8px}
.drawer.cart .woocommerce-mini-cart-item .vmp-art svg{width:80%}
.woocommerce table.shop_table .product-thumbnail .vmp-art{width:64px; height:64px; border-radius:8px}
.sub-cats{margin-bottom:30px}
.sub-cats .cat .lbl{font-size:.95rem}
.news-msg{width:100%; margin:6px 0 0; font-weight:700}
.news-msg.ok{color:#7BE3A0; font-size:1.2rem}
.news-msg.err{color:#FFB3AE}
.news label.c input{width:auto; min-width:0; flex:none}
.woocommerce-no-products-found .woocommerce-info{margin-top:10px}
.vmp-hp{position:absolute!important; width:1px!important; height:1px!important; min-width:0!important; padding:0!important; border:0!important; opacity:0; clip-path:inset(50%); pointer-events:none}
.news .wrap{position:relative}
/* Never let anything create sideways scrolling (RTL pages scroll toward the left). */
html, body{overflow-x:clip; max-width:100%}
.drawer:not(.open){pointer-events:none}
/* Drawers start below the WordPress admin bar when logged in */
body.admin-bar .drawer{top:32px}
@media (max-width:782px){ body.admin-bar .drawer{top:46px} }
/* Mega menu v1.1.3: bold department title above the sub-category columns */
.mega .wrap, .mega .wrap{display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:32px}
.mega .wrap > .promo-box{grid-column:auto}
.mega-title{display:inline-flex; align-items:center; gap:6px; font-size:1.35rem; font-weight:900; color:var(--fg); padding-bottom:10px; margin-bottom:14px; border-bottom:3px solid var(--brand)}
.mega-title:hover{color:var(--brand)}
.mega-title span{color:var(--brand); font-size:1.5rem; line-height:1}
.mega-cols{display:grid; grid-template-columns:repeat(auto-fill, minmax(180px,1fr)); gap:10px 28px}
.mega-cols h4{margin:0 0 8px; font-size:1rem; font-weight:800}
.mega-cols h4 a{color:var(--fg)}
.mega-cols h4 a:hover{color:var(--brand)}
@media (max-width:1020px){ .mega .wrap{grid-template-columns:1fr} }
/* Category photos */
.cat .pic img{width:100%; height:100%; object-fit:cover}
.credits{display:flex; flex-direction:column; gap:8px; padding-inline-start:20px}
.sec-head h2.underlined{position:relative; display:inline-block; padding-bottom:12px}
.sec-head h2.underlined::after{content:""; position:absolute; bottom:0; inset-inline:0; width:100%; height:4px; border-radius:2px; background:var(--brand)}
/* Category / shop page title with the same underline as the home headings */
.shop-main h1.page-title{position:relative; display:inline-block; padding-bottom:12px; margin-bottom:18px}
.shop-main h1.page-title::after{content:""; position:absolute; bottom:0; inset-inline:0; height:4px; border-radius:2px; background:var(--brand)}
/* Price amount reads left-to-right so ₪ sits on the left: ₪3,490 */
.woocommerce-Price-amount, .woocommerce-Price-amount bdi{direction:ltr; unicode-bidi:isolate; display:inline-block}
/* Mini cart rows: thumbnail + full-width name */
.drawer.cart .woocommerce-mini-cart-item{display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px}
.drawer.cart .woocommerce-mini-cart-item > a:not(.remove){display:flex; align-items:center; gap:12px; flex:1 1 0; min-width:0; font-weight:600}
.drawer.cart .woocommerce-mini-cart-item > a:not(.remove) img, .drawer.cart .woocommerce-mini-cart-item > a:not(.remove) .vmp-art{flex:0 0 60px}
.drawer.cart .woocommerce-mini-cart-item .quantity{flex-basis:100%; padding-inline-start:72px}
