/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Mercazshop shared product cards, 25 October 2026.
 * Shared visual tokens for catalogue, home, recommendations and history.
 */
:root {
  --mercaz-card-image-ratio: 1 / 1;
  --mercaz-card-image-gap: 0px;
  --mercaz-card-image-fit: contain;
  --mercaz-card-space: 12px;
  --mercaz-card-image-padding: 0px;
  --mercaz-card-radius: 14px;
  --mercaz-card-title-size: 15px;
  --mercaz-card-title-leading: 1.4;
  --mercaz-card-title-lines: 3;
  --mercaz-card-price-size: 17px;
  --mercaz-card-price-height: 44px;
  --mercaz-card-button-size: 14px;
  --mercaz-card-button-height: 44px;
  --mercaz-card-button-padding: 9px 7px;
  --mercaz-card-navy: #101237;
  --mercaz-card-gold: #d8a900;
  --mercaz-card-success: #238636;
}
@media (max-width: 480px) {
  :root {
    --mercaz-card-space: 10px;
    --mercaz-card-title-size: 13px;
    --mercaz-card-price-size: 15px;
    --mercaz-card-price-height: 42px;
    --mercaz-card-button-size: 12px;
    --mercaz-card-button-padding: 5px 7px;
  }
}

body ul.products li.product,
body .mrcz-home .mrcz-product-card,
body #mercaz-product-discovery .mercaz-discovery-card {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch;
  align-items: stretch;
  gap: 0 !important;
  box-sizing: border-box;
  min-width: 0 !important;
  padding: 0 !important;
  border: 1px solid #e5e5f0;
  border-radius: var(--mercaz-card-radius) !important;
  background: #fff !important;
  overflow: hidden;
}
body ul.products li.product:hover,
body .mrcz-home .mrcz-product-card:hover {
  transform: none !important;
}
body ul.products li.product > a.woocommerce-loop-product__link,
body #mercaz-product-discovery .mercaz-discovery-card > a:first-child {
  display: flex !important;
  flex-direction: column;
  flex: 1 0 auto;
  align-items: stretch;
  gap: 0;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}

/* A fixed image box, including placeholders, without cropping the product. */
body ul.products li.product > a.woocommerce-loop-product__link > img {
  display: block !important;
  flex: none !important;
  box-sizing: border-box !important;
  width: calc(100% - 2 * var(--mercaz-card-image-gap)) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: var(--mercaz-card-image-ratio) !important;
  margin: var(--mercaz-card-image-gap) var(--mercaz-card-image-gap) 0 !important;
  padding: var(--mercaz-card-image-padding) !important;
  border-radius: 0;
  background: #fff !important;
  object-fit: var(--mercaz-card-image-fit) !important;
  object-position: center !important;
  transform: none !important;
}
body .mrcz-home .mrcz-product-card > a.mrcz-product-img,
body #mercaz-product-discovery .mercaz-discovery-media {
  display: block;
  flex: none;
  width: calc(100% - 2 * var(--mercaz-card-image-gap)) !important;
  height: auto !important;
  aspect-ratio: var(--mercaz-card-image-ratio) !important;
  margin: var(--mercaz-card-image-gap) var(--mercaz-card-image-gap) 0 !important;
  padding: 0 !important;
  border-radius: 0;
  background: #fff !important;
}
body .mrcz-home .mrcz-product-card > a.mrcz-product-img > img,
body #mercaz-product-discovery .mercaz-discovery-media > img {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: var(--mercaz-card-image-padding) !important;
  object-fit: var(--mercaz-card-image-fit) !important;
  object-position: center !important;
  transform: none !important;
}
body .mrcz-home .mrcz-product-card .mrcz-product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 !important;
}

/* Matching title and price slots keep every row aligned. */
body ul.products li.product > a.woocommerce-loop-product__link > h2.woocommerce-loop-product__title,
body .mrcz-home .mrcz-product-card .mrcz-product-info > h3.mrcz-product-name,
body #mercaz-product-discovery .mercaz-discovery-name {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--mercaz-card-title-lines) !important;
  box-sizing: content-box;
  flex: none;
  width: auto !important;
  height: calc(1em * var(--mercaz-card-title-leading) * var(--mercaz-card-title-lines)) !important;
  min-height: calc(1em * var(--mercaz-card-title-leading) * var(--mercaz-card-title-lines)) !important;
  max-height: calc(1em * var(--mercaz-card-title-leading) * var(--mercaz-card-title-lines)) !important;
  margin: var(--mercaz-card-space) var(--mercaz-card-space) 0 !important;
  padding: 0 !important;
  font-family: Heebo, Assistant, Arial, sans-serif;
  font-size: var(--mercaz-card-title-size) !important;
  font-weight: 700;
  line-height: var(--mercaz-card-title-leading) !important;
  text-align: center;
  color: var(--mercaz-card-navy) !important;
  overflow: hidden !important;
}
body ul.products li.product > a.woocommerce-loop-product__link > .price,
body .mrcz-home .mrcz-product-card .mrcz-product-info > .mrcz-product-price,
body #mercaz-product-discovery .mercaz-discovery-price {
  display: flex !important;
  flex: none;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: 2px 6px;
  box-sizing: border-box;
  width: auto !important;
  height: var(--mercaz-card-price-height);
  min-height: var(--mercaz-card-price-height);
  margin: 0 var(--mercaz-card-space) 10px !important;
  padding: 0 !important;
  color: var(--mercaz-card-navy) !important;
  font-size: var(--mercaz-card-price-size) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}
body ul.products li.product > a.woocommerce-loop-product__link > .price ins {
  color: var(--mercaz-card-navy) !important;
  text-decoration: none !important;
}
body.woocommerce.mercazshop-catalogue-archive ul.products li.product > a.button,
body ul.products li.product > a.button,
body .mrcz-home .mrcz-product-card .mrcz-product-button,
body #mercaz-product-discovery .mercaz-discovery-button {
  --mercaz-action-padding: var(--mercaz-card-button-padding);
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: none;
  width: calc(100% - 2 * var(--mercaz-card-space)) !important;
  min-height: var(--mercaz-card-button-height);
  margin: auto var(--mercaz-card-space) var(--mercaz-card-space) !important;
  padding: var(--mercaz-card-button-padding) !important;
  border-radius: 9px !important;
  background: var(--mercaz-card-navy) !important;
  border: 1px solid var(--mercaz-card-navy) !important;
  color: #fff !important;
  font-size: var(--mercaz-card-button-size) !important;
  line-height: 1.3 !important;
  text-align: center;
  text-decoration: none;
}

body ul.products li.product > a.button:focus-visible,
body .mrcz-home .mrcz-product-card .mrcz-product-button:focus-visible {
  outline: 2px solid var(--mercaz-card-navy);
  outline-offset: 2px;
}

/* Mercazshop: readable search result prices, 22 October 2026. */
body.search-results.woocommerce ul.products li.product .price,
body.search-results.woocommerce ul.products li.product .price ins {
  color: var(--mercaz-card-navy) !important;
}
body.search-results.woocommerce ul.products li.product .price del {
  color: #5a5d6b !important;
  opacity: 1 !important;
}

/* WooCommerce float clearers must not become search-grid cells. */
body.search-results ul.products::before,
body.search-results ul.products::after {
  content: none !important;
  display: none !important;
}

/* One readable label for category, search, related and single products. */
body.woocommerce span.onsale,
body.woocommerce div.product > span.onsale,
body.woocommerce ul.products li.product span.onsale,
body .woocommerce span.onsale,
body .woocommerce ul.products li.product span.onsale {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 9;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px 10px !important;
  border: 1px solid var(--mercaz-card-gold) !important;
  border-radius: 999px !important;
  background: #f3d878 !important;
  color: var(--mercaz-card-navy) !important;
  font-family: "Heebo", "Assistant", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(16,18,55,.12) !important;
  transform: none !important;
}

/* The added-cart link must not insert another row and move the page. */
body.woocommerce ul.products li.product > a.added_to_cart.wc-forward,
body ul.products li.product > a.added_to_cart.wc-forward,
body .mrcz-product-card a.added_to_cart,
body.single-product .summary form.cart a.added_to_cart.wc-forward {
  display: none !important;
}
body.woocommerce ul.products li.product a.button.mercazshop-cart-added,
body.woocommerce ul.products li.product a.button.mercazshop-cart-added:hover,
body .mrcz-home .mrcz-product-card .mrcz-product-button.mercazshop-cart-added,
body .mrcz-home .mrcz-product-card .mrcz-product-button.mercazshop-cart-added:hover,
body.woocommerce div.product .summary form.cart button.single_add_to_cart_button.mercazshop-cart-added,
body.woocommerce div.product .summary form.cart button.single_add_to_cart_button.mercazshop-cart-added:hover {
  background: var(--mercaz-card-success) !important;
  background-color: var(--mercaz-card-success) !important;
  border-color: var(--mercaz-card-success) !important;
  color: #fff !important;
}
body .mercazshop-cart-added::before,
body .mercazshop-cart-added::after {
  content: none !important;
  display: none !important;
}
body .mercazshop-cart-pending {
  opacity: .65;
  cursor: progress !important;
}
#mercazshop-cart-feedback {
  position: fixed;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#mercazshop-cart-feedback.is-error {
  z-index: 100010;
  right: 16px;
  bottom: 20px;
  width: min(380px, calc(100% - 32px));
  height: auto;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #a72b2b;
  border-radius: 12px;
  background: #fff;
  color: #8b1717;
  font-size: 14px;
  line-height: 1.5;
  clip-path: none;
  box-shadow: 0 6px 24px rgba(16,18,55,.15);
}

/* Mercazshop: related-card alignment and shared cart drawer, 25 October 2026. */
body.single-product .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after {
  content: none !important;
  display: none !important;
}
body.single-product .related.products ul.products li.product {
  width: auto !important;
  height: auto !important;
  float: none !important;
  margin: 0 !important;
}
body.single-product .related.products ul.products li.product > a.woocommerce-loop-product__link {
  width: 100% !important;
  flex: 1 1 auto !important;
  align-items: stretch !important;
}
body.single-product .related.products ul.products li.product > a.woocommerce-loop-product__link > img {
  width: calc(100% - 2 * var(--mercaz-card-image-gap)) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: var(--mercaz-card-image-ratio) !important;
  margin: var(--mercaz-card-image-gap) var(--mercaz-card-image-gap) 0 !important;
  padding: var(--mercaz-card-image-padding) !important;
  object-fit: var(--mercaz-card-image-fit) !important;
  object-position: center !important;
}
body.single-product .related.products ul.products li.product > a.woocommerce-loop-product__link > h2.woocommerce-loop-product__title {
  margin: var(--mercaz-card-space) var(--mercaz-card-space) 0 !important;
  padding: 0 !important;
}
body.single-product .related.products ul.products li.product > a.woocommerce-loop-product__link > .price {
  height: var(--mercaz-card-price-height) !important;
  min-height: var(--mercaz-card-price-height) !important;
  margin: 0 var(--mercaz-card-space) 10px !important;
  padding: 0 !important;
}
body.single-product .related.products ul.products li.product > a.button {
  width: calc(100% - 2 * var(--mercaz-card-space)) !important;
  min-height: 44px !important;
  margin: auto var(--mercaz-card-space) var(--mercaz-card-space) !important;
  padding: 9px 7px !important;
  align-self: center !important;
  float: none !important;
}
@media (max-width: 1024px) {
  body.single-product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}
@media (max-width: 480px) {
  body.single-product .related.products ul.products {
    gap: 12px !important;
  }
}

/* One drawer component, including pages with broad form-input styles. */
body #cb7CartDrawer {
  --mercaz-cart-quantity-width: 90px;
  --mercaz-cart-thumbnail-size: 56px;
}
body #cb7CartDrawer .cb7-cart-item {
  display: grid !important;
  grid-template-columns: var(--mercaz-cart-thumbnail-size) minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 14px 16px !important;
}
body #cb7CartDrawer .cb7-cart-item > img {
  grid-column: 1;
  grid-row: 1;
  width: var(--mercaz-cart-thumbnail-size) !important;
  height: var(--mercaz-cart-thumbnail-size) !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
}
body #cb7CartDrawer .cb7-cart-item-info {
  grid-column: 2;
  grid-row: 1;
  min-width: 0 !important;
}
body #cb7CartDrawer .cb7-cart-item-name {
  display: block !important;
  box-sizing: border-box !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  padding-inline-end: 32px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  -webkit-line-clamp: unset !important;
  overflow-wrap: anywhere;
}
body #cb7CartDrawer .cb7-cart-item-footer {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
body #cb7CartDrawer .cb7-cart-item-qty {
  display: inline-grid !important;
  grid-template-columns: 28px minmax(0, 1fr) 28px !important;
  flex: 0 0 var(--mercaz-cart-quantity-width) !important;
  width: var(--mercaz-cart-quantity-width) !important;
  min-width: var(--mercaz-cart-quantity-width) !important;
  max-width: var(--mercaz-cart-quantity-width) !important;
  height: 34px !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  border-width: 1px !important;
}
body #cb7CartDrawer .cb7-cart-item-qty .cb7-qty-btn {
  width: 28px !important;
  min-width: 0 !important;
  height: 32px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body #cb7CartDrawer .cb7-cart-item-qty input.cb7-qty-input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 32px !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-inline-width: 1px !important;
  font: 700 13px/1.2 Heebo, Assistant, Arial, sans-serif !important;
  text-align: center !important;
  direction: ltr;
  border-radius: 0 !important;
}
body #cb7CartDrawer .cb7-cart-item-qty input.cb7-qty-input:focus-visible {
  outline: 2px solid #101237 !important;
  outline-offset: -2px;
}
body #cb7CartDrawer .cb7-cart-item-price {
  flex: 0 0 auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  margin-right: auto !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  direction: ltr;
  unicode-bidi: isolate;
}
body #cb7CartDrawer .cb7-cart-item-remove {
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  color: #667085 !important;
}
body #cb7CartDrawer .cb7-cart-item-remove:hover,
body #cb7CartDrawer .cb7-cart-item-remove:focus-visible {
  color: #b42318 !important;
  background: #fff1f0 !important;
}
body #cb7CartDrawer .cb7-cart-item-remove:focus-visible {
  outline: 2px solid #101237 !important;
  outline-offset: 1px;
}

/* Mercazshop cart page repair, 26 October 2026.
 * Scope is the full cart, plus wrapping of the shared drawer heading.
 */
body.woocommerce-cart .cb7-pro-cart-wrapper .product-quantity .quantity {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}
body.woocommerce-cart .cb7-pro-cart-wrapper .cb7-qty-stepper {
  display: inline-grid !important;
  grid-template-columns: 40px 64px 40px !important;
  flex: 0 0 146px !important;
  width: 146px !important;
  min-width: 146px !important;
  max-width: 146px !important;
  height: 44px !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  border: 1px solid #c7cbcb !important;
}
body.woocommerce-cart .cb7-pro-cart-wrapper .cb7-qty-stepper .cb7-qty-btn {
  width: 40px !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.woocommerce-cart .cb7-pro-cart-wrapper .product-quantity .cb7-qty-stepper input.qty {
  width: 64px !important;
  min-width: 0 !important;
  max-width: 64px !important;
  height: 42px !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  border-inline: 1px solid #c7cbcb !important;
  font: 700 16px/1.3 "Assistant", Arial, sans-serif !important;
  text-align: center !important;
  direction: ltr;
  appearance: textfield;
  -moz-appearance: textfield;
}
body.woocommerce-cart .cb7-pro-cart-wrapper .cb7-qty-stepper :focus-visible {
  outline: 2px solid #101237 !important;
  outline-offset: -3px;
}

/* The drawer title is shared across the site. Allow its badge to wrap. */
body #cb7CartDrawer .cb7-cart-hdr-title {
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
}
body #cb7CartDrawer .cb7-cart-hdr-title h3 {
  min-width: 0;
  white-space: normal;
}

@media (max-width: 768px) {
  /* Woo's responsive table labels must not collide with the custom grid. */
  body.woocommerce-cart .cb7-pro-cart-wrapper table.shop_table tr.cart_item > td::before {
    content: none !important;
    display: none !important;
    float: none !important;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper tr.cart_item {
    grid-template-columns: 72px minmax(0, 1fr) auto !important;
    grid-template-areas:
      "img name name"
      "price price price"
      "qty qty remove" !important;
    gap: 12px 10px !important;
    padding: 14px !important;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper tr.cart_item > td {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper .product-thumbnail {
    width: 72px !important;
    height: 72px !important;
    align-self: start !important;
    background: #fff !important;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper .product-thumbnail a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper .product-name {
    text-align: right !important;
    overflow-wrap: anywhere;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper .product-name a {
    font-size: 16px !important;
    line-height: 1.45 !important;
    color: #101237 !important;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper .product-name dl.variation {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 6px;
    margin: 6px 0 0 !important;
    line-height: 1.5;
    text-align: right !important;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper .product-name dl.variation dt,
  body.woocommerce-cart .cb7-pro-cart-wrapper .product-name dl.variation dd,
  body.woocommerce-cart .cb7-pro-cart-wrapper .product-name dl.variation dd p {
    margin: 0 !important;
    padding: 0 !important;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper .product-subtotal {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 12px;
    text-align: left !important;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper table.shop_table tr.cart_item > td.product-subtotal::before {
    content: "סכום למוצר" !important;
    display: inline-block !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #565959;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper .product-subtotal .amount {
    font-size: 19px !important;
    line-height: 1.4;
    color: #101237 !important;
    white-space: nowrap;
    unicode-bidi: isolate;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper .product-quantity {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 8px 10px;
    border: 0 !important;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper table.shop_table tr.cart_item > td.product-quantity::before {
    content: "כמות" !important;
    display: inline-block !important;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 600;
    color: #565959;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper .product-remove {
    align-self: center !important;
    text-align: left !important;
  }
  body.woocommerce-cart .cb7-pro-cart-wrapper .product-remove a.remove {
    min-height: 44px !important;
    min-width: 44px !important;
    justify-content: center;
  }
}


/* Shared category, product-tag and brand archives, 27 October 2026.
 * Cards retain the global --mercaz-card-* tokens defined above.
 */
body.woocommerce.mercazshop-catalogue-archive #main.site-main {
  box-sizing: border-box;
  width: calc(100% - 32px) !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 0 48px !important;
  font-family: Heebo, Assistant, Arial, sans-serif;
}
body.mercazshop-catalogue-archive #main > .woocommerce-products-header:empty {
  display: none;
}
body.mercazshop-catalogue-archive #main > .woocommerce-breadcrumb {
  margin: 16px 0 !important;
  color: #62667c;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
body.mercazshop-catalogue-archive #main .mercazshop-archive-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-sizing: border-box;
  padding: 24px 28px;
  margin: 0 0 20px;
  border: 1px solid #e5e5f0;
  border-inline-start: 5px solid var(--mercaz-card-gold);
  border-radius: var(--mercaz-card-radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(16,18,55,.06);
}
body.mercazshop-catalogue-archive #main .mercazshop-archive-title {
  margin: 0 !important;
  font: 800 30px/1.25 Heebo, Assistant, Arial, sans-serif !important;
  color: var(--mercaz-card-navy) !important;
}
body.mercazshop-catalogue-archive #main .mercazshop-archive-count {
  box-sizing: border-box;
  margin: 0 !important;
  padding: 6px 12px;
  border: 1px solid #e5e5f0;
  border-radius: 24px;
  background: #faf9fd;
  color: var(--mercaz-card-navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}
body.mercazshop-catalogue-archive #main .mercazshop-archive-description {
  max-width: 850px;
  color: #4a4d6b;
  font-size: 15px;
  line-height: 1.7;
}
body.mercazshop-catalogue-archive #main .mercazshop-archive-description > :last-child {
  margin-bottom: 0;
}
body.woocommerce.mercazshop-catalogue-archive #main > form.woocommerce-ordering {
  display: flex !important;
  justify-content: flex-start;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  margin: 0 0 20px !important;
}
body.woocommerce.mercazshop-catalogue-archive #main > form.woocommerce-ordering select {
  box-sizing: border-box;
  width: min(100%, 280px);
  max-width: 100%;
  min-height: 44px;
  padding: 9px 12px !important;
  border: 2px solid #e5e5f0 !important;
  border-radius: 9px !important;
  background-color: #fff !important;
  color: var(--mercaz-card-navy) !important;
  font: 600 14px/1.5 Heebo, Assistant, Arial, sans-serif !important;
  cursor: pointer;
}
body.woocommerce.mercazshop-catalogue-archive #main > form.woocommerce-ordering select:focus-visible {
  outline: 2px solid var(--mercaz-card-navy);
  outline-offset: 3px;
}
body.woocommerce.mercazshop-catalogue-archive #main > ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  columns: auto !important;
}
body.woocommerce.mercazshop-catalogue-archive #main > ul.products::before,
body.woocommerce.mercazshop-catalogue-archive #main > ul.products::after {
  content: none !important;
  display: none !important;
}
body.woocommerce.mercazshop-catalogue-archive #main > ul.products > li.product {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-shadow: 0 8px 22px rgba(16,18,55,.06);
}
body.woocommerce.mercazshop-catalogue-archive #main > ul.products > li.product > a.button:not(.mercazshop-cart-added):not(.mercazshop-product-info) {
  background: var(--mercaz-card-navy) !important;
  border-color: var(--mercaz-card-navy) !important;
  color: #fff !important;
  box-shadow: none !important;
}
body.woocommerce.mercazshop-catalogue-archive #main > ul.products > li.product > a.product_type_variable::before {
  content: none !important;
  display: none !important;
}
body.woocommerce.mercazshop-catalogue-archive #main > ul.products > li.product > a.product_type_variable::after {
  content: "→";
  margin-inline-start: 7px;
}
/* A full-width block after the grid, never beside the last product row. */
body.woocommerce.mercazshop-catalogue-archive #main > nav.woocommerce-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  clear: both !important;
  float: none !important;
  box-sizing: border-box;
  width: 100% !important;
  margin: 28px 0 0 !important;
  padding: 20px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid #e5e5f0 !important;
  text-align: center !important;
}
body.woocommerce.mercazshop-catalogue-archive #main > nav.woocommerce-pagination > ul.page-numbers {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center;
  gap: 8px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}
body.woocommerce.mercazshop-catalogue-archive #main > nav.woocommerce-pagination > ul.page-numbers > li {
  display: block !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
body.woocommerce.mercazshop-catalogue-archive #main > nav.woocommerce-pagination > ul.page-numbers > li > :is(a, span) {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  box-sizing: border-box;
  width: auto !important;
  min-width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #d9dcef !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: var(--mercaz-card-navy) !important;
  font: 700 15px/1 Heebo, Assistant, Arial, sans-serif !important;
  text-decoration: none !important;
}
body.woocommerce.mercazshop-catalogue-archive #main > nav.woocommerce-pagination > ul.page-numbers > li > .current,
body.woocommerce.mercazshop-catalogue-archive #main > nav.woocommerce-pagination > ul.page-numbers > li > a:hover {
  border-color: var(--mercaz-card-navy) !important;
  background: var(--mercaz-card-navy) !important;
  color: #fff !important;
}
body.woocommerce.mercazshop-catalogue-archive #main > nav.woocommerce-pagination a:focus-visible {
  outline: 3px solid var(--mercaz-card-gold);
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  body.woocommerce.mercazshop-catalogue-archive #main > ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}
@media (max-width: 800px) {
  body.woocommerce.mercazshop-catalogue-archive #main > ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}
@media (max-width: 480px) {
  body.woocommerce.mercazshop-catalogue-archive #main.site-main {
    width: calc(100% - 24px) !important;
    padding-bottom: 32px !important;
  }
  body.mercazshop-catalogue-archive #main .mercazshop-archive-header {
    gap: 8px;
    padding: 18px 16px;
    margin-bottom: 16px;
  }
  body.mercazshop-catalogue-archive #main .mercazshop-archive-title {
    font-size: 23px !important;
  }
  body.mercazshop-catalogue-archive #main .mercazshop-archive-count {
    padding: 5px 10px;
    font-size: 12px;
  }
  body.woocommerce.mercazshop-catalogue-archive #main > form.woocommerce-ordering select {
    width: 100%;
  }
  body.woocommerce.mercazshop-catalogue-archive #main > ul.products {
    gap: 12px !important;
  }
}

/* Mercazshop shared drawer stacking and scrolling, 27 October 2026.
 * Raise the header's root stacking context, not just its nested drawers.
 * Footer root is 999 and the floating accessibility button is 9500.
 * Keep this below the WordPress admin bar (99999).
 */
body #cb7-custom-header {
  z-index: 10000 !important;
}

body :is(#cb7MenuDrawer, #cb7CartDrawer) {
  min-height: 0;
  overflow: hidden;
  overscroll-behavior-y: contain;
}
body :is(#cb7MenuDrawer, #cb7CartDrawer) > .cb7-drawer-body {
  flex: 1 1 0%;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
body :is(#cb7MenuDrawer, #cb7CartDrawer) > :is(.cb7-drawer-head, .cb7-drawer-foot, .cb7-cart-hdr, .cb7-cart-footer) {
  flex-shrink: 0;
}



/* Mercazshop performance: stable imagery and server-rendered cards, 2 November 2026. */
#mrczSlider .mrcz-slide-image img {
  transform: none !important;
  transition: none !important;
}
.mercazshop-category-image-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f1f1f4;
  color: #777;
  font-size: 13px;
}
#mrczProducts .mrcz-product-price ins {
  background: none;
  text-decoration: none;
}
#mrczProducts .mrcz-product-price del {
  font-size: .8em;
  opacity: .65;
  margin-inline-end: 6px;
}
#mrczProducts .mrcz-product-price .woocommerce-Price-amount {
  white-space: nowrap;
}

/* Shop heading uses the lead homepage photograph. */
body.woocommerce-shop.mercazshop-catalogue-archive:not(.search) #main .mercazshop-archive-header {
  --mercaz-shop-ink: #11152f;
  --mercaz-shop-photo: url("https://mercazshop.co.il/wp-content/uploads/2026/08/0894AA76-8C50-4951-84AD-EB68EEE065FC-1-700x525.png");
  --mercaz-shop-photo-width: 48%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-block-size: clamp(146px, 17vw, 216px);
  align-content: center;
  padding: clamp(18px, 3vw, 32px) clamp(14px, 4vw, 48px);
  background: var(--mercaz-shop-ink);
}
body.woocommerce-shop.mercazshop-catalogue-archive:not(.search) #main .mercazshop-archive-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  inline-size: var(--mercaz-shop-photo-width);
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 70%, var(--mercaz-shop-ink) 100%),
    var(--mercaz-shop-photo) center / contain no-repeat #fff;
}
body.woocommerce-shop.mercazshop-catalogue-archive:not(.search) #main .mercazshop-archive-header > :is(.mercazshop-archive-title, .mercazshop-archive-count, .mercazshop-archive-description) {
  max-inline-size: calc(100% - var(--mercaz-shop-photo-width) + 2%);
}
body.woocommerce-shop.mercazshop-catalogue-archive:not(.search) #main .mercazshop-archive-title {
  text-align: start !important;
  text-shadow: none !important;
}
body.woocommerce-shop.mercazshop-catalogue-archive:not(.search) #main .mercazshop-archive-count {
  inline-size: fit-content;
  margin-block-start: 8px !important;
  background: #f8f3e7;
  border-color: #e8d5a8;
}
body.woocommerce-shop.mercazshop-catalogue-archive:not(.search) #main .mercazshop-archive-description {
  margin-block-start: 12px;
  color: #f8f3e7;
}
@media (max-width: 480px) {
  body.woocommerce-shop.mercazshop-catalogue-archive:not(.search) #main .mercazshop-archive-header {
    --mercaz-shop-photo: url("https://mercazshop.co.il/wp-content/uploads/2026/08/0894AA76-8C50-4951-84AD-EB68EEE065FC-1-430x323.png");
    --mercaz-shop-photo-width: 42%;
  }
}

@media (max-width: 360px) {
  body.woocommerce-shop.mercazshop-catalogue-archive:not(.search) #main .mercazshop-archive-header {
    --mercaz-shop-photo-width: 36%;
  }
  body.woocommerce-shop.mercazshop-catalogue-archive:not(.search) #main .mercazshop-archive-count {
    padding-inline: 8px;
  }
}

/* Shared feedback for shop actions and full product cards. */
:root {
  --mercaz-button-hover-surface: #292c60;
  --mercaz-button-hover-text: #fff;
  --mercaz-button-hover-border: #b79331;
}
body :where(.mrcz-product-button, .mercazshop-action-add, .mercazshop-action-options, .single_add_to_cart_button, .mercaz-share-main, .mercazshop-empty-shop, ul.products li.product > a.button) {
  --mercaz-button-hover-surface: var(--mercaz-card-gold);
  --mercaz-button-hover-text: var(--mercaz-card-navy);
  --mercaz-button-hover-border: var(--mercaz-card-gold);
  --mercaz-button-hover-glyph: brightness(0);
}
body :where(.cb7-cart-btn-solid, .checkout-button, #place_order, .mrcf-action-donate) {
  --mercaz-button-hover-surface: #f0c84c;
  --mercaz-button-hover-text: #101237;
  --mercaz-button-hover-border: #ad8013;
}
body :where(.cb7-cart-btn-outline, .mercaz-cart-undo, .cb7-qty-btn, .mercazshop-action-info) {
  --mercaz-button-hover-surface: #efe8d7;
  --mercaz-button-hover-text: #101237;
  --mercaz-button-hover-border: #b79331;
}
body :where(.mrcf-action-wa) {
  --mercaz-button-hover-surface: #22613f;
  --mercaz-button-hover-border: #78b694;
}
body :is(ul.products li.product, .mrcz-product-card, #mercaz-product-discovery .mercaz-discovery-card):is(:hover, :active, .mercaz-card-touch, :has(:focus-visible)) {
  --mercaz-card-edge: #c29a20;
  --mercaz-card-shadow: 0 0 0 1px #c29a20, 0 6px 18px #10123720;
}
body :is(
  :is(
    #cb7CartDrawer .cb7-cart-actions > .cb7-cart-btn,
    #mrczSlider[data-mrcz-hero] .mrcz-main-btn,
    #main ul.products > li.product > a.button,
    .mercaz-share-main, .mercazshop-product-action, .mrcz-product-button, .mercaz-cart-undo, .cb7-qty-btn,
    .woocommerce :is(a.button, button.button, input.button, button[type="submit"]),
    .wc-block-components-button, .elementor-button, .wp-element-button, .mrcf-action
  ):is(:hover, :active, :focus-visible),
  :is(ul.products li.product, .mrcz-product-card, #mercaz-product-discovery .mercaz-discovery-card):is(:hover, :active, .mercaz-card-touch, :has(:focus-visible))
    :is(.mercazshop-product-action, .mrcz-product-button, a.button)
):not(:where(:disabled, [aria-disabled="true"], [aria-busy="true"], .disabled, .loading, .is-loading, .mercazshop-cart-added, .mercazshop-cart-pending)) {
  --mercaz-action-bg: var(--mercaz-button-hover-surface) !important;
  --mercaz-action-fg: var(--mercaz-button-hover-text) !important;
  --mercaz-action-border: var(--mercaz-button-hover-border) !important;
  --mercaz-action-glyph: var(--mercaz-button-hover-glyph, none);
  background: var(--mercaz-button-hover-surface) !important;
  border-color: var(--mercaz-button-hover-border) !important;
  color: var(--mercaz-button-hover-text) !important;
}
body :is(.mercazshop-action-add, .single_add_to_cart_button)::before,
body .mercazshop-action-options::after {
  filter: var(--mercaz-action-glyph, none);
}
#cb7CartDrawer .cb7-cart-btn-solid:is(:hover, :active, :focus-visible) { opacity: 1 !important; }

#cb7CartDrawer .cb7-cart-footer { padding-block-end: 12px; }
#cb7CartDrawer .cb7-cart-btn-solid .mercaz-checkout-lock { order: 1; }
#cb7CartDrawer .cb7-cart-actions > .cb7-cart-btn {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease, box-shadow .15s ease;
}
#cb7CartDrawer .cb7-cart-actions > .cb7-cart-btn:focus-visible {
  outline: 2px solid #a77a07;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  #cb7CartDrawer .cb7-cart-actions > .cb7-cart-btn { transition: none; }
}

/* The product share action follows the shop palette. */
body.single-product button.mercaz-share-main {
  background: var(--mercaz-card-navy) !important;
  border-color: var(--mercaz-card-navy) !important;
  color: #fff !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
@media (prefers-reduced-motion: reduce) {
  body.single-product button.mercaz-share-main { transition: none; }
}
body.single-product button.mercaz-share-main .mercaz-share-icon svg {
  fill: currentColor;
}
body.single-product button.mercaz-share-main:focus-visible {
  outline: 2px solid var(--mercaz-card-gold);
  outline-offset: 3px;
}

/* A compact accessibility icon with a full-size interaction area. */
body > #acwp-toolbar-btn-wrap {
  border: 0;
  transition: none;
}
body > #acwp-toolbar-btn-wrap #acwp-toolbar-btn {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 2px #fff;
  filter: drop-shadow(0 2px 3px rgb(16 27 55 / 22%));
}
body > #acwp-toolbar-btn-wrap #acwp-toolbar-btn svg {
  top: auto;
  width: 27px;
  height: 27px;
}
body > #acwp-toolbar-btn-wrap #acwp-toolbar-btn:focus-visible {
  outline: 2px solid #101b37;
  outline-offset: 2px;
}
@media (max-width: 760px) {
  body > #acwp-toolbar-btn-wrap:is(.acwp-right,.acwp-left) {
    bottom: calc(55px + env(safe-area-inset-bottom, 0px));
  }
  body > #acwp-toolbar-btn-wrap.acwp-right {
    right: max(8px, env(safe-area-inset-right, 0px));
  }
}

/* Shared catalogue and search empty state. */
body.mercazshop-catalogue-archive #main .mercazshop-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin: 12px auto 24px;
  padding: clamp(26px, 4vw, 42px) 22px;
  border: 1px solid #e3d9c2;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf0, #fff);
  box-shadow: 0 8px 26px #1012370a;
  color: var(--mercaz-card-navy);
  text-align: center;
}
.mercazshop-empty-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border: 1px solid #e4cf99;
  border-radius: 50%;
  background: #f5ecd5;
  color: #785817;
}
.mercazshop-empty-icon svg { width: 27px; height: 27px; }
body.mercazshop-catalogue-archive #main .mercazshop-empty-state h2 {
  margin: 0 0 8px;
  color: var(--mercaz-card-navy);
  font: 750 clamp(22px, 3vw, 28px)/1.25 Heebo, Assistant, Arial, sans-serif;
}
body.mercazshop-catalogue-archive #main .mercazshop-empty-state p {
  max-width: 420px;
  margin: 0 0 20px;
  color: #565c70;
  font-size: 15px;
  line-height: 1.6;
}
body.mercazshop-catalogue-archive #main a.mercazshop-empty-shop {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  min-width: 172px;
  margin: 0;
  padding: 10px 23px;
  border: 1px solid var(--mercaz-card-navy) !important;
  border-radius: 10px;
  background: var(--mercaz-card-navy) !important;
  color: #fff !important;
  font: 750 15px/1.4 Heebo, Assistant, Arial, sans-serif;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.mercazshop-empty-shop svg { width: 17px; height: 17px; }
@media (prefers-reduced-motion: reduce) {
  body.mercazshop-catalogue-archive #main a.mercazshop-empty-shop { transition: none; }
}
