.jardin-local-nav {
  background: rgba(0, 0, 0, 0.06);
  padding: 0.45rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}
.jardin-local-nav a {
  margin: 0 0.65rem;
  color: inherit;
  text-decoration: underline;
}

/* Match fixed bar height when snapshot sets --fixed-rows-height to 0; adds .jardin-local-nav strip */
:root {
  --jardin-local-nav-h: 2.5rem;
  --jardin-fixed-rows-min: 5.375rem;
}

.page_wrap:has(> nav.jardin-local-nav) > .page_content_wrap {
  box-sizing: border-box;
  padding-top: calc(var(--jardin-local-nav-h) + max(var(--fixed-rows-height), var(--jardin-fixed-rows-min)));
}

/* Remove header layout search (magnifier) on all boutique pages */
.elementor-widget.elementor-widget-trx_sc_layouts_search {
  display: none !important;
}

/* Scroll-to-top: theme may add .show on load — only show after one viewport of scroll */
a.trx_addons_scroll_to_top:not(.jardin-sst-visible) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
a.trx_addons_scroll_to_top.jardin-sst-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.jardin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 120000;
}

@media (prefers-reduced-motion: reduce) {
  .jardin-modal-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.jardin-login-popup-shell {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 120010;
  overflow: auto;
  padding: 2rem 1rem;
  pointer-events: auto;
}
.jardin-login-popup-shell.jardin-open {
  display: flex;
}

#trx_addons_login_popup.jardin-login-popup-inner {
  position: relative;
  z-index: 120011;
  max-width: 420px;
  width: 100%;
  padding: 1.5rem 1.75rem;
  margin-top: 5vh;
  background: #fff;
  isolation: isolate;
  box-shadow:
    0 28px 100px rgba(0, 0, 0, 0.55),
    0 12px 40px rgba(0, 0, 0, 0.18),
    0 0 1px rgba(0, 0, 0, 0.12);
}

.jardin-login-popup-inner.mfp-hide,
.jardin-login-popup-inner.sf-hidden {
  display: block !important;
}

.jardin-modal-close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.jardin-login-msg {
  margin-top: 0.75rem;
  padding: 0.65rem;
  border-radius: 4px;
  font-size: 0.875rem;
}
.jardin-login-msg.jardin-error {
  background: #fff2f2;
  color: #a40000;
}

#trx_addons_login_popup.jardin-login-popup-inner .trx_addons_popup_form_login .trx_addons_popup_form_field_submit ~ .trx_addons_message_box.jardin-login-msg,
#trx_addons_login_popup.jardin-login-popup-inner .trx_addons_popup_form_login > .trx_addons_message_box.jardin-login-msg {
  display: block;
  width: 100%;
  clear: both;
  box-sizing: border-box;
  margin-top: 0.85rem !important;
}

/* Keep floating trx_addons labels in the shrunken “filled/focus” position when typing */
#trx_addons_login_popup.jardin-login-popup-inner .sc_input_hover_iconed input:focus + .sc_form_field_hover,
#trx_addons_login_popup.jardin-login-popup-inner .sc_input_hover_iconed .sc_form_field_wrap.jardin-has-value input + .sc_form_field_hover {
  color: #333;
}

#trx_addons_login_popup.jardin-login-popup-inner .sc_input_hover_iconed input:focus + .sc_form_field_hover > .sc_form_field_content,
#trx_addons_login_popup.jardin-login-popup-inner .sc_input_hover_iconed .sc_form_field_wrap.jardin-has-value input + .sc_form_field_hover > .sc_form_field_content {
  opacity: 0;
  transform: translate3d(100px, 0, 0);
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

#trx_addons_login_popup.jardin-login-popup-inner .sc_input_hover_iconed input:focus + .sc_form_field_hover > .sc_form_field_icon,
#trx_addons_login_popup.jardin-login-popup-inner .sc_input_hover_iconed .sc_form_field_wrap.jardin-has-value input + .sc_form_field_hover > .sc_form_field_icon {
  transform: translate3d(0, 0, 0);
}

/* Cart badge: qty left of basket icon */
.sc_layouts_cart.sc_layouts_cart_market_woocommerce:not(.trx_addons_hover_content) {
  display: inline-flex !important;
  flex-direction: row-reverse;
  align-items: center !important;
  gap: 0.35rem;
  vertical-align: middle;
}

.sc_layouts_cart.sc_layouts_cart_market_woocommerce .sc_layouts_cart_items_short {
  font-weight: 700 !important;
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.03em;
  min-width: 1rem;
  text-align: center;
}

.elementor-widget-trx_sc_layouts_cart.sc_layouts_item .elementor-widget-container {
  overflow: visible;
}

.trx_addons_tabs_title_register[disabled],
.trx_addons_tabs_title_register[aria-disabled="true"] > a {
  cursor: not-allowed;
  opacity: 0.55;
}

#jardin-cart-tbody td.product-thumbnail img {
  max-width: 72px;
  height: auto;
}

@keyframes jardin-terms-text-glow {
  0%,
  100% {
    color: #c62828;
    text-shadow: 0 0 0 rgba(211, 47, 47, 0);
  }
  50% {
    color: #ff1744;
    text-shadow:
      0 0 14px rgba(211, 47, 47, 0.9),
      0 0 28px rgba(211, 47, 47, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jardin-checkout-terms-wrap.jardin-terms-flash .woocommerce-terms-and-conditions-checkbox-text,
  .jardin-checkout-terms-wrap.jardin-terms-flash .woocommerce-terms-and-conditions-checkbox-text a {
    animation: none !important;
    color: #c62828 !important;
    text-shadow: none !important;
    font-weight: 600 !important;
  }
}

.jardin-checkout-terms-wrap.jardin-terms-flash {
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: revert !important;
  margin: revert !important;
  animation: none !important;
  scroll-margin-top: 6rem;
}

.jardin-checkout-terms-wrap.jardin-terms-flash .woocommerce-terms-and-conditions-checkbox-text,
.jardin-checkout-terms-wrap.jardin-terms-flash .woocommerce-terms-and-conditions-checkbox-text a {
  display: inline;
  animation: jardin-terms-text-glow 0.52s ease-in-out 6;
}

.jardin-checkout-terms-wrap.jardin-terms-flash abbr.required {
  color: #ff1744;
  animation: jardin-terms-text-glow 0.52s ease-in-out 6;
}

body.woocommerce-checkout form.checkout .woocommerce-form__label-for-checkbox.checkbox,
body.woocommerce-checkout form.checkout .woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
}

body.woocommerce-checkout form.checkout input.woocommerce-form__input-checkbox.input-checkbox,
body.woocommerce-checkout form.checkout #terms.input-checkbox {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0.15rem 0 0 0 !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  accent-color: #5c4632;
}

body.woocommerce-checkout form.checkout input#createaccount.woocommerce-form__input-checkbox {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  accent-color: #5c4632;
}

/* Checkout CMI / payment tiles — WooCommerce Theme label ::before radios must stay beside the title, not offset to the viewport */
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  position: relative !important;
}

body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label::before {
  position: relative !important;
  inset: unset !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 0.4rem 0 0 !important;
  vertical-align: middle !important;
  flex-shrink: 0;
}

body.woocommerce-checkout #payment .payment_box.payment_method_cmi::before,
body.woocommerce-checkout #payment .payment_box.payment_method_cmi::after {
  display: none !important;
}

/* Home: Tickets block — stretched section was exported with fixed px width; clips horizontal scroll */
body.home {
  overflow-x: hidden;
}

@media (max-width: 767px) {
  body.home .elementor-element-2f43102.elementor-section.sc_layouts_hide_on_mobile.sc_layouts_row {
    display: flex !important;
  }
}

body.home .elementor-element-e3f42b4.elementor-section.elementor-section-stretched {
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  transform: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

body.home .elementor-element-e3f42b4 .elementor-container {
  max-width: 100%;
}

body.home ul.products.columns-3,
body.home .woocommerce ul.products.columns-3,
body.home ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2.2vw, 1.5rem);
  width: 100% !important;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  list-style: none;
  align-items: start;
}

body.home ul.products::before,
body.home ul.products::after {
  content: none !important;
  display: none !important;
}

body.home ul.products li.product {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  clear: none !important;
  min-width: 0;
}

/* ── Product thumbnail: kill Animate.css / trx_addons in-viewport stubs ──
   The theme stamps .animated.fadeIn on .post_item and expects its JS to flip
   them from opacity:0 → 1 via IntersectionObserver. In the static build that
   JS never fires, so everything stays invisible. Reset it unconditionally. */
body.home ul.products li.product .post_item {
  animation: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* ── THE REAL CULPRIT ──────────────────────────────────────────────────────
   72e902b59c876c76.css sets z-index:-1 on the image <a> at ≤1279px, which
   pushes it behind the white page background — images are there but invisible.
   ─────────────────────────────────────────────────────────────────────────── */
body.home ul.products li.product .post_item .hover_yith > a {
  z-index: auto !important;
}

/* ── Thumbnail chain: always opaque ─────────────────────────────────────── */
body.home ul.products li.product .post_featured,
body.home ul.products li.product .post_featured.hover_yith,
body.home ul.products li.product .post_featured.hover_yith > a:first-of-type,
body.home ul.products li.product .post_featured.hover_yith > a:first-of-type img {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ── Desktop image display (> 991 px) ───────────────────────────────────── */
body.home ul.products li.product .post_featured.hover_yith {
  position: relative;
  overflow: hidden;
  width: 100%;
}

body.home ul.products li.product .post_featured.hover_yith > a:first-of-type {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

body.home ul.products li.product .post_featured.hover_yith > a:first-of-type::after {
  display: none !important;
}

body.home ul.products li.product .post_featured.hover_yith > a:first-of-type img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Desktop: subtle scale on hover */
body.home ul.products li.product .post_featured.hover_yith > a:first-of-type img[class*="trx_addons"],
body.home ul.products li.product .post_featured.hover_yith > a:first-of-type img.wp-post-image {
  transform: scale(1);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform;
}
body.home ul.products li.product:hover .post_featured.hover_yith > a:first-of-type img[class*="trx_addons"],
body.home ul.products li.product:hover .post_featured.hover_yith > a:first-of-type img.wp-post-image {
  transform: scale(1.052);
}

/* ── Mobile image display (≤ 991 px) ────────────────────────────────────── */
@media (max-width: 991px) {
  body.home ul.products.columns-3,
  body.home .woocommerce ul.products.columns-3,
  body.home ul.products {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.35rem;
    justify-items: stretch;
  }

  body.home ul.products li.product {
    width: 100% !important;
  }

  body.home ul.products li.product .post_featured.hover_yith {
    overflow: visible !important;
    width: 100%;
    margin: 0;
  }

  /* The <a> is the sized box — aspect-ratio gives it height independently
     of any parent or the image's own intrinsic dimensions */
  body.home ul.products li.product .post_featured.hover_yith > a:first-of-type {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
  }

  /* Image absolutely fills the <a> box — no height:auto, no aspect-ratio on img */
  body.home ul.products li.product .post_featured.hover_yith > a:first-of-type img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  body.home ul.products li.product .post_data_inner .woocommerce-loop-product__title {
    font-size: 1.125rem;
  }
}

body.home ul.products li.product .post_data_inner .post_header,
body.home ul.products li.product .post_data_inner .woocommerce-loop-product__title,
body.home ul.products li.product .post_data_inner .woocommerce-loop-product__title a {
  text-align: center;
}

body.home ul.products li.product .post_data_inner .woocommerce-loop-product__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

body.home ul.products li.product .post_data_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.home ul.products li.product .post_data_inner .price {
  display: block;
  text-align: center;
  margin: 0 auto;
}

body.home ul.products li.product .post_featured.hover_yith {
  position: relative;
  overflow: hidden;
}

body.home ul.products li.product .post_featured.hover_yith > a:first-of-type {
  display: block;
  position: relative;
  overflow: hidden;
}

body.home ul.products li.product .post_featured.hover_yith .mask {
  opacity: 0 !important;
  pointer-events: none !important;
}

body.home ul.products li.product .post_featured.hover_yith .yith_hover_buttons_wrapper {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 4;
  transform: translate(-43%, calc(-40% + 44px)) scale(0.5);
  opacity: 0;
  transition:
    opacity 0.06s linear,
    transform 0s linear;
  margin: 0 !important;
}

body.home ul.products li.product:hover .post_featured.hover_yith .yith_hover_buttons_wrapper {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition:
    opacity 0.12s ease 0.06s,
    transform 0.34s cubic-bezier(0.25, 0.92, 0.35, 1) 0.08s;
}

body.home ul.products li.product .yith_hover_buttons_wrapper .shop_cart,
body.home ul.products li.product .yith_hover_buttons_wrapper .shop_cart.icon-cart-2:before {
  font-size: 18px !important;
  line-height: 1 !important;
}

body.home ul.products li.product .yith_hover_buttons_wrapper .shop_cart {
  pointer-events: auto !important;
  cursor: pointer;
}

/* Single product — quantity +/- stacked vertically beside the field (overrides theme absolute right-edge stacking) */
body.woocommerce.single-product div.product form.cart div.quantity,
body.single-product .woocommerce div.product form.cart div.quantity {
  display: grid !important;
  grid-template-columns: minmax(0, 11rem) auto !important;
  grid-template-rows: repeat(2, minmax(2.35rem, auto)) !important;
  column-gap: 0.65rem !important;
  row-gap: 0.38rem !important;
  align-items: center !important;
  overflow: visible;
  height: auto !important;
  position: relative !important;
}

body.woocommerce.single-product div.product form.cart div.quantity .qty,
body.single-product .woocommerce div.product form.cart div.quantity .qty,
body.woocommerce.single-product div.product form.cart div.quantity input[type='number'],
body.single-product .woocommerce div.product form.cart div.quantity input[type='number'] {
  grid-column: 1 !important;
  grid-row: 1 / -1 !important;
  align-self: center !important;
  padding-right: 0.85rem !important;
  width: 100% !important;
  height: auto !important;
  min-height: 2.95rem !important;
}

body.woocommerce.single-product div.product form.cart div.quantity span.q_inc,
body.woocommerce.single-product div.product form.cart div.quantity .q_inc,
body.single-product .woocommerce div.product form.cart div.quantity span.q_inc,
body.single-product .woocommerce div.product form.cart div.quantity .q_inc {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

body.woocommerce.single-product div.product form.cart div.quantity span.q_dec,
body.woocommerce.single-product div.product form.cart div.quantity .q_dec,
body.single-product .woocommerce div.product form.cart div.quantity span.q_dec,
body.single-product .woocommerce div.product form.cart div.quantity .q_dec {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

body.woocommerce.single-product div.product form.cart div.quantity span.q_inc,
body.woocommerce.single-product div.product form.cart div.quantity span.q_dec,
body.single-product .woocommerce div.product form.cart div.quantity span.q_inc,
body.single-product .woocommerce div.product form.cart div.quantity span.q_dec {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  min-height: 2.35rem !important;
  min-width: 2.55rem !important;
  width: auto !important;
  height: auto !important;
  transform: translateZ(0) !important;
  margin: 0 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    background-color 0.24s ease,
    color 0.24s ease;
}

body.woocommerce.single-product div.product form.cart div.quantity span.q_inc:hover,
body.woocommerce.single-product div.product form.cart div.quantity span.q_dec:hover,
body.single-product .woocommerce div.product form.cart div.quantity span.q_inc:hover,
body.single-product .woocommerce div.product form.cart div.quantity span.q_dec:hover {
  opacity: 1 !important;
  transform: scale(1.09) translateZ(0) !important;
}

/* Single-product: hide the theme's floating decorative line on the Buy Now button */
body.single-product div.product form.cart .button::before,
body.single-product div.product form.cart .button::after {
  display: none !important;
  content: none !important;
}

/* Single-product: show product title even when theme stamps sf-hidden on it */
body.single-product .product .product_title {
  display: block !important;
}

/* Single-product gallery: proper image sizing, hide non-functional fullscreen trigger and zoom overlay */
.woocommerce-product-gallery__trigger {
  display: none !important;
}

body.single-product .woocommerce-product-gallery__image img.zoomImg {
  display: none !important;
}

body.single-product .woocommerce-product-gallery__image {
  overflow: hidden;
}

body.single-product .woocommerce-product-gallery__image a {
  display: block;
  line-height: 0;
}

body.single-product .woocommerce-product-gallery__image img.wp-post-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 540px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

/* Gallery flex-slider arrows stacked + hover easing */
body.single-product .woocommerce-product-gallery {
  position: relative !important;
}

body.single-product ul.flex-direction-nav {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  gap: 0.5rem !important;
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product ul.flex-direction-nav li {
  position: relative !important;
  float: none !important;
  margin: 0 !important;
  width: auto !important;
}

body.single-product ul.flex-direction-nav a {
  position: relative !important;
  inset: auto !important;
  margin: 0 !important;
  opacity: 0.94;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    filter 0.22s ease;
}

body.single-product ul.flex-direction-nav a:hover {
  opacity: 1 !important;
  transform: scale(1.06) translateZ(0);
}

/* Mini-cart: brief vertical nudge on cart update */
@keyframes jardin-cart-update-hop {
  0% {
    transform: translateY(0);
  }
  22% {
    transform: translateY(-11px);
  }
  48% {
    transform: translateY(4px);
  }
  70% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
  }
}

.jardin-cart-update-bounce {
  animation: jardin-cart-update-hop 0.55s cubic-bezier(0.34, 1.12, 0.64, 1) forwards;
}