/* Elementor/WooCommerce header mini-cart. */
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__container {
  z-index: 99999;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main {
  width: min(480px, 100vw) !important;
  max-width: 100vw !important;
  padding: 30px 28px 26px !important;
  background: #fff !important;
  box-shadow: -18px 0 50px rgb(31 31 31 / 13%) !important;
  box-sizing: border-box;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__close-button {
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  margin: 0 0 18px auto !important;
  padding: 0 !important;
  border: 0 !important;
  color: #3d3d3a !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__close-button::before,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__close-button::after {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 19px !important;
  height: 2px !important;
  margin: 0 !important;
  background: currentColor !important;
  transform-origin: center !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__close-button::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__products {
  max-height: min(58vh, 620px) !important;
  margin: 0 !important;
  padding: 0 5px 0 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #cfc8bd transparent;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__products::-webkit-scrollbar {
  width: 5px;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__products::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cfc8bd;
}

/* Empty mini-cart state. Keep the message visually clear without affecting
   the Elementor-controlled header icon or the populated product layout. */
.elementor-widget-woocommerce-menu-cart .woocommerce-mini-cart__empty-message,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product.woocommerce-mini-cart__empty-message {
  display: block !important;
  margin: 24px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #1f1f1f !important;
  font-family: Montserrat, Arial, Helvetica, sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 104px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  grid-template-areas:
    "image name"
    "image price" !important;
  gap: 8px 16px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 16px 32px 16px 0 !important;
  border-bottom: 1px solid #e7e3dc !important;
  align-items: start !important;
  -webkit-tap-highlight-color: transparent !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product *,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product a,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product a::before,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product a::after {
  -webkit-tap-highlight-color: transparent !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product:first-child {
  padding-top: 0 !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image {
  grid-area: image !important;
  width: 104px !important;
  height: 104px !important;
  min-width: 104px !important;
  overflow: hidden;
  border-radius: 8px;
  background: #f7f5f1;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image a,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.elementor-widget-woocommerce-menu-cart [data-emme-cart-link-disabled="true"] {
  pointer-events: none !important;
  cursor: default !important;
  transition: none !important;
  transform: none !important;
}

.elementor-widget-woocommerce-menu-cart [data-emme-cart-link-disabled="true"]:hover,
.elementor-widget-woocommerce-menu-cart [data-emme-cart-link-disabled="true"]:focus,
.elementor-widget-woocommerce-menu-cart [data-emme-cart-link-disabled="true"] img,
.elementor-widget-woocommerce-menu-cart [data-emme-cart-link-disabled="true"]:hover img {
  transform: none !important;
  transition: none !important;
}

/* Elementor can stretch the native product links across the complete item.
   Neutralise them independently from JavaScript so no displaced focus square
   or hover animation remains while fragments are being replaced. */
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product a:not(.remove_from_cart_button):not(.elementor_remove_from_cart_button),
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product a:not(.remove_from_cart_button):not(.elementor_remove_from_cart_button):hover,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product a:not(.remove_from_cart_button):not(.elementor_remove_from_cart_button):focus,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product a:not(.remove_from_cart_button):not(.elementor_remove_from_cart_button):active {
  pointer-events: none !important;
  outline: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
  cursor: default !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product a:not(.remove_from_cart_button):not(.elementor_remove_from_cart_button)::before,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product a:not(.remove_from_cart_button):not(.elementor_remove_from_cart_button)::after {
  pointer-events: none !important;
  outline: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image img {
  padding: 6px;
  object-fit: contain !important;
  object-position: center !important;
  box-sizing: border-box;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name {
  grid-area: name !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #1f1f1f !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name > a {
  color: inherit !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.elementor-widget-woocommerce-menu-cart .emme-menu-cart__details-toggle {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 7px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #62615d !important;
  font-family: Montserrat, Arial, Helvetica, sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none !important;
}

.elementor-widget-woocommerce-menu-cart .emme-menu-cart__details-toggle::after {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.elementor-widget-woocommerce-menu-cart .emme-menu-cart__details-toggle[aria-expanded="true"]::after {
  transform: translateY(2px) rotate(225deg);
}

.elementor-widget-woocommerce-menu-cart .emme-menu-cart__details-toggle:hover,
.elementor-widget-woocommerce-menu-cart .emme-menu-cart__details-toggle:focus-visible {
  color: #1f1f1f !important;
}

.elementor-widget-woocommerce-menu-cart dl.emme-menu-cart__details[hidden],
.elementor-menu-cart__container dl.emme-menu-cart__details[hidden] {
  display: none !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name dl.variation {
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr) !important;
  gap: 3px 8px !important;
  min-width: 0 !important;
  margin: 9px 0 0 !important;
  color: #62615d !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name dl.variation dt,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name dl.variation dd,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name dl.variation p {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-wrap: anywhere;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name dl.variation dt {
  font-weight: 600 !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-price {
  grid-area: price !important;
  align-self: stretch !important;
  margin: 4px 0 0 !important;
  color: #44433f !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

.elementor-widget-woocommerce-menu-cart .emme-menu-cart__purchase {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
}

.elementor-widget-woocommerce-menu-cart .emme-menu-cart__quantity {
  display: inline-grid !important;
  grid-template-columns: 28px 30px 28px !important;
  align-items: center !important;
  overflow: hidden !important;
  border: 1px solid #ded9d0 !important;
  border-radius: 7px !important;
  background: #f7f5f1 !important;
}

.elementor-widget-woocommerce-menu-cart .emme-menu-cart__quantity-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 30px !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #1f1f1f !important;
  font: inherit !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.elementor-widget-woocommerce-menu-cart .emme-menu-cart__quantity-button:hover,
.elementor-widget-woocommerce-menu-cart .emme-menu-cart__quantity-button:focus-visible {
  background: #ece8e1 !important;
}

.elementor-widget-woocommerce-menu-cart .emme-menu-cart__quantity-button:disabled {
  opacity: 0.4;
  cursor: wait;
}

.elementor-widget-woocommerce-menu-cart .emme-menu-cart__quantity-value {
  text-align: center !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
}

.elementor-widget-woocommerce-menu-cart .emme-menu-cart__line-total {
  margin-left: auto !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove {
  position: absolute !important;
  top: 16px !important;
  right: 0 !important;
  z-index: 2 !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #96938d !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove:hover,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove:focus,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove:active {
  background: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove > a {
  pointer-events: none !important;
  background: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product:first-child .elementor-menu-cart__product-remove {
  top: 0 !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product.is-removing > :not(.elementor-menu-cart__product-remove):not(.emme-menu-cart__removing-status) {
  opacity: 0.35 !important;
  transition: opacity 0.15s ease !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product.is-removing {
  pointer-events: none !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product.is-removing .elementor-menu-cart__product-remove::before,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product.is-removing .elementor-menu-cart__product-remove::after {
  display: none !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product.is-removing .elementor-menu-cart__product-remove {
  border: 2px solid #d8d3ca !important;
  border-top-color: #1f1f1f !important;
  border-radius: 50% !important;
  animation: emme-menu-cart-spin 0.7s linear infinite !important;
}

.elementor-widget-woocommerce-menu-cart .emme-menu-cart__removing-status {
  position: absolute !important;
  right: 34px !important;
  bottom: 16px !important;
  z-index: 3 !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  background: #f5f2ec !important;
  color: #1f1f1f !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product.is-removed {
  opacity: 0 !important;
  transition: opacity 0.15s ease !important;
}

@keyframes emme-menu-cart-spin {
  to { transform: rotate(360deg); }
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal {
  display: block !important;
  margin: 14px 0 12px !important;
  padding: 15px 16px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #f5f2ec !important;
  color: #1f1f1f !important;
  font-family: Montserrat, Arial, Helvetica, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal strong {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  font-weight: 600 !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal .amount {
  margin-left: auto !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin: 0 !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 46px !important;
  padding: 11px 14px !important;
  border: 1px solid #1f1f1f !important;
  border-radius: 8px !important;
  font-family: Montserrat, Arial, Helvetica, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.045em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-button--view-cart {
  background: #fff !important;
  color: #1f1f1f !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-button--checkout {
  background: #1f1f1f !important;
  color: #fff !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-button--view-cart:hover {
  background: #f3f0ea !important;
}

.elementor-widget-woocommerce-menu-cart .elementor-button--checkout:hover {
  background: #343434 !important;
}

html body a.emme-floating-cart {
  align-items: center !important;
  appearance: none !important;
  background: rgba(255, 255, 255, 0.97) !important;
  border: 0 !important;
  border-radius: 50% !important;
  bottom: 24px !important;
  box-shadow: 0 7px 24px rgba(31, 31, 31, 0.14) !important;
  box-sizing: border-box !important;
  color: #111 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  height: 56px !important;
  justify-content: center !important;
  margin: 0 !important;
  min-height: 56px !important;
  min-width: 56px !important;
  padding: 0 !important;
  position: fixed !important;
  right: 24px !important;
  transition: box-shadow 160ms ease, transform 160ms ease !important;
  width: 56px !important;
  z-index: 9998 !important;
  text-decoration: none !important;
}

html body a.emme-floating-cart[hidden] {
  display: none !important;
}

html body a.emme-floating-cart:hover,
html body a.emme-floating-cart:focus-visible {
  box-shadow: 0 10px 32px rgba(31, 31, 31, 0.2);
  transform: translateY(-2px);
}

html body a.emme-floating-cart:focus-visible {
  outline: 2px solid #1f1f1f;
  outline-offset: 3px;
}

html body .emme-floating-cart .emme-floating-cart__icon,
html body .emme-floating-cart .emme-floating-cart__icon svg,
html body .emme-floating-cart .emme-floating-cart__native-icon {
  display: block;
  height: 25px !important;
  position: relative !important;
  width: 25px !important;
}

html body .emme-floating-cart .emme-floating-cart__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

html body .emme-floating-cart .emme-floating-cart__native-icon svg,
html body .emme-floating-cart .emme-floating-cart__native-icon i {
  color: #111 !important;
  display: block !important;
  font-size: 25px !important;
  height: 25px !important;
  width: 25px !important;
}

html body .emme-floating-cart .emme-floating-cart__count {
  align-items: center !important;
  background: #d9534f !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #fff !important;
  display: inline-flex !important;
  font-family: Montserrat, Arial, Helvetica, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  height: 20px !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-width: 20px !important;
  padding: 0 4px !important;
  position: absolute !important;
  right: -8px !important;
  top: -8px !important;
}

@media (max-width: 767px) {
  html body a.emme-floating-cart {
    bottom: 18px !important;
    height: 52px !important;
    min-height: 52px !important;
    min-width: 52px !important;
    right: 16px !important;
    width: 52px !important;
  }

  html body.emme-floating-cart-lasagne a.emme-floating-cart {
    bottom: 88px !important;
  }

  html body.emme-floating-cart-staggs a.emme-floating-cart {
    bottom: 92px !important;
  }

  .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main {
    width: min(420px, 100vw) !important;
    padding: 22px 18px 20px !important;
  }

  .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 7px 12px !important;
    padding: 13px 30px 13px 0 !important;
  }

  .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image {
    width: 82px !important;
    height: 82px !important;
    min-width: 82px !important;
  }

  .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name {
    font-size: 0.82rem !important;
  }

  .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body a.emme-floating-cart {
    transition: none;
  }
}
