/* Header cart drawer */
/* A delayed storefront banner shares the bottom edge with the checkout controls. */
body:has(#brxe-5173cc:not(.bu-hide-panel)) #ec-first5-banner { display: none !important; }
#brxe-5173cc .bu-oc-panel {
  --ec-drawer-pad: max(clamp(16px, 5vw, 24px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  top: var(--ec-visible-top, 0px);
  right: auto;
  bottom: auto;
  left: calc(var(--ec-visible-left, 0px) + max(0px, var(--ec-visible-width, 100%) - 450px));
  width: min(var(--ec-visible-width, 100%), 450px);
  max-width: 100vw;
  height: 100vh;
  height: var(--ec-visible-height, 100dvh);
  container: ec-cart-panel / size;
  padding: 0;
  overflow: hidden;
  color: #262a22;
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 767px), (pointer: coarse) and (max-height: 520px) {
  #brxe-5173cc .bu-oc-panel {
    left: var(--ec-visible-left, 0px);
    width: var(--ec-visible-width, 100%);
  }
}
#brxe-5173cc .cart_top {
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--ec-drawer-pad);
  border-bottom: 1px solid #d6d9cd;
  background: #fff;
}
#brxe-5173cc .cart_top-heading,
#brxe-5173cc .empty_cart .heading-style-h4 {
  margin: 0;
  color: #262a22;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
}
#brxe-5173cc .cart_top-close {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-inline-end: -8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #29331c;
  background: transparent;
  cursor: pointer;
}
#brxe-5173cc button.cart_top-close::before,
#brxe-5173cc button.cart_top-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border: 0;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
#brxe-5173cc button.cart_top-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
#brxe-5173cc .cart_top-close:hover { background: #f8f9f2; }
#brxe-5173cc #brxe-097608 {
  display: flex;
  flex: 1 1 auto;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
}
/* Keep products, the recommendation and checkout in one vertically scrolling column. */
#brxe-5173cc #brxe-097608 > * {
  flex-shrink: 0;
  min-width: 0;
  max-width: 100%;
}
#brxe-5173cc .ec-drawer-items { width: 100%; }
/* Keep the actions in view when there is room for both them and the cart items.
   At high zoom or in a short landscape window, the whole body scrolls instead. */
@container ec-cart-panel (min-height: 430px) {
  #brxe-5173cc #brxe-097608:has(> .ec-drawer-items) { overflow: hidden; }
  #brxe-5173cc #brxe-097608 > .ec-drawer-items {
    flex: 1 1 0;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
  }
}
#brxe-5173cc #brxe-412d58 {
  width: auto;
  margin: 0;
  padding: 16px var(--ec-drawer-pad) 0;
  color: #29331c;
  background: #f8f9f2;
  font-size: 14px;
}
#brxe-5173cc #brxe-447abd {
  width: 100%;
  margin: 0;
  padding: 6px var(--ec-drawer-pad) 16px;
  color: #62675d;
  background: #f8f9f2;
  font-size: 13px;
}
#brxe-5173cc .fsn-progress-bar { height: 5px; background: #e2e5d9; }
#brxe-5173cc .fsn-progress-bar-res { background: #596847; }
#brxe-5173cc #brxe-33c0ee {
  padding: 20px var(--ec-drawer-pad) 8px;
  color: #62675d;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}
#brxe-5173cc #brxe-5a451a,
#brxe-5173cc .bu_element_cart_content {
  position: static;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: #fff;
}
#brxe-5173cc .woocommerce-mini-cart {
  width: 100%;
  margin: 0;
  padding: 0 var(--ec-drawer-pad);
  overflow: visible;
}
#brxe-5173cc .mini_cart_item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #e5e7df;
  border-radius: 0;
  box-shadow: none;
}
#brxe-5173cc .product-image { width: 100%; }
#brxe-5173cc .product-image img {
  float: none;
  width: 68px;
  height: 68px;
  margin: 0;
  border-radius: 8px;
  object-fit: contain;
  background: #f8f9f2;
}
#brxe-5173cc .product-content { flex: auto; width: auto; min-width: 0; padding: 0; }
#brxe-5173cc .product-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
#brxe-5173cc .product-title__main { min-width: 0; flex: 1; }
#brxe-5173cc .product-title--link {
  color: #262a22;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
#brxe-5173cc a.remove {
  position: static;
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: -4px 0 0;
  color: #62675d !important;
  background: transparent;
  font-size: 20px;
}
#brxe-5173cc a.remove:hover { color: #29331c !important; background: #f8f9f2; }
#brxe-5173cc .brxe-bu-cart-item-qty { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 6px; }
#brxe-5173cc .quantity {
  display: grid;
  grid-template-columns: repeat(3, 36px);
  align-items: center;
  width: auto;
  height: 40px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d6d9cd;
  border-radius: 8px;
  background: #fff;
}
#brxe-5173cc .quantity .action, #brxe-5173cc .quantity input.qty {
  position: static;
  display: grid;
  place-items: center;
  width: 36px;
  height: 38px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  transform: none;
  color: #262a22;
  background: transparent;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}
#brxe-5173cc .quantity .minus { order: -1; }
#brxe-5173cc .quantity .action svg { width: 14px; height: 14px; }
#brxe-5173cc .brxe-bu-cart-item-qty > .amount { margin-inline-start: auto; font-size: 16px; font-weight: 600; white-space: nowrap; }
#brxe-5173cc .woocommerce_mini_cart_bottom_part { margin: 0; padding: 0 var(--ec-drawer-pad); }
#brxe-5173cc .woocommerce-mini-cart__subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 16px 0;
  border: 0;
  color: #262a22;
  font-size: 16px;
  font-weight: 500;
}
#brxe-5173cc .woocommerce-mini-cart__subtotal .amount { font-size: 20px; font-weight: 600; }
#brxe-5173cc .ec-cart-offer-slot:not([hidden]) { padding: 0 var(--ec-drawer-pad) 16px; }
#brxe-5173cc .ec-cart-offer { margin: 0; border-color: #d6d9cd; border-radius: 8px; background: #f8f9f2; }
#brxe-5173cc .cart_button-wrapper {
  position: static;
  flex: none;
  width: 100%;
  margin: auto 0 0;
  padding: 12px var(--ec-drawer-pad) calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #d6d9cd;
  background: #fff;
}
#brxe-5173cc #brxe-12cdf0,
#brxe-5173cc #brxe-945707,
#brxe-5173cc .ec-cart-offer a.ec-cart-offer__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  height: auto;
  padding: 10px 18px;
  border: 1px solid #29331c;
  border-radius: 8px;
  color: #fff;
  background: #29331c;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
#brxe-5173cc #brxe-12cdf0 { width: 100%; }
#brxe-5173cc .ec-cart-offer a.ec-cart-offer__add { min-height: 44px; color: #29331c; background: #fff; }
#brxe-5173cc #brxe-12cdf0:hover, #brxe-5173cc #brxe-945707:hover { background: #3b472c; }
#brxe-5173cc .cart_button-image { display: none; }
#brxe-5173cc .ec-drawer-view-cart { display: block; margin: 4px auto 0; padding: 8px; color: #29331c; font-size: 15px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
#brxe-5173cc .payment_list-wrapper { margin: 0; padding: 8px 0 0; }
#brxe-5173cc .payment_list-wrapper-image { width: min(200px, 70%); height: auto; }
#brxe-5173cc :is(button, a, input):focus-visible { outline: 2px solid #29331c; outline-offset: 2px; }
#brxe-5173cc:has(.woocommerce-mini-cart__empty-message) #brxe-097608,
#brxe-5173cc:has(.mini_cart_item) #brxe-e66b64 { display: none !important; }
#brxe-5173cc:has(.woocommerce-mini-cart__empty-message) #brxe-e66b64 {
  position: static !important;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 24px;
  overflow: auto;
  clip: auto;
  clip-path: none;
  background: #fff;
  white-space: normal;
  text-align: center;
}
#brxe-5173cc .empty_cart .text-size-small { max-width: 32ch; color: #62675d; font-size: 16px; }

#brxe-5173cc .quantity { box-shadow: none !important; }
#brxe-5173cc .quantity input.qty { width: 36px !important; max-width: 100%; font-size: 16px !important; }
#brxe-5173cc #brxe-12cdf0, #brxe-5173cc #brxe-945707 {
  min-height: 48px !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  color: #fff !important;
  background-color: #29331c !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}
#brxe-5173cc #brxe-12cdf0:hover, #brxe-5173cc #brxe-945707:hover { background-color: #3b472c !important; }
#brxe-5173cc #brxe-31cab3 { margin-top: 0; padding-top: 8px; }
#brxe-5173cc #brxe-4fbad5 { display: block; margin: 0 auto; object-fit: contain; }

/* A zoomed phone can have less than 200 CSS pixels of visible width. */
@container ec-cart-panel (max-width: 280px) {
  #brxe-5173cc .mini_cart_item,
  #brxe-5173cc .ec-cart-offer,
  #brxe-5173cc .ec-cart-offer__info {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }
  #brxe-5173cc .mini_cart_item,
  #brxe-5173cc .ec-cart-offer { gap: 8px; }
  #brxe-5173cc .product-image,
  #brxe-5173cc .ec-cart-offer__photo { width: 48px; }
  #brxe-5173cc .product-image img { width: 48px; height: 48px; }
  #brxe-5173cc .quantity {
    flex: none;
    width: min(110px, 100%);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #brxe-5173cc .quantity .action,
  #brxe-5173cc .quantity input.qty { width: 100% !important; }
  #brxe-5173cc .ec-cart-offer a.ec-cart-offer__add {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
/* Bricks uses a layered important utility for its asynchronous empty state. */
@layer bricks {
  #brxe-5173cc:has(.woocommerce-mini-cart__empty-message) #brxe-e66b64.screen-reader-text,
  #brxe-5173cc:has(.mini_cart_item) #brxe-097608.screen-reader-text {
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    width: 100% !important;
    height: auto !important;
    white-space: normal !important;
  }
}

/* The checkout and cart share this Bricks footer. Its copyright had min-width: max-content. */
@media (max-width: 1000px) {
  body:is(.woocommerce-checkout,.woocommerce-cart) #brx-footer .footer_bottom > * { min-width: 0; max-width: 100%; }
  body:is(.woocommerce-checkout,.woocommerce-cart) #brx-footer .footer_bottom-text { min-width: 0; max-width: 100%; overflow-wrap: break-word; }
  body:is(.woocommerce-checkout,.woocommerce-cart) #brx-footer .footer_bottom-links { flex-wrap: wrap; row-gap: 8px; }
}
