/* The header's backdrop-filter establishes a containing block for fixed descendants.
   Remove it only from the container hosting Elementor's viewport-sized cart. */
.elementor-location-header .e-con:has(.elementor-widget-woocommerce-menu-cart) {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.elementor-location-header:has(.elementor-menu-cart--shown) { position: relative; z-index: 10000; }
.elementor-menu-cart--cart-type-side-cart .elementor-menu-cart__container {
  position: fixed; inset: 0 !important; width: 100vw !important;
  height: 100vh !important; height: 100dvh !important; max-height: none;
}
.elementor-menu-cart--cart-type-side-cart .elementor-menu-cart__main {
  width: min(440px, 100vw); max-width: 100vw;
  height: 100vh; height: 100dvh; max-height: none;
  background: #faf7f2; color: #202c30;
  padding: 64px 28px 28px; overflow-y: auto; overscroll-behavior: contain;
}
body.admin-bar .elementor-menu-cart--cart-type-side-cart .elementor-menu-cart__container { top: 32px !important; height: calc(100dvh - 32px) !important; }
body.admin-bar .elementor-menu-cart--cart-type-side-cart .elementor-menu-cart__main { height: calc(100dvh - 32px); }
.elementor-menu-cart__main .elementor-menu-cart__product-name a { color: #202c30; font-weight: 500; line-height: 1.5; }
.elementor-menu-cart__main .elementor-menu-cart__footer-buttons { gap: 12px; }
.elementor-menu-cart__main .elementor-button { border-radius: 0; padding: 16px 12px; font-size: 12px; background: #202c30; color: #fff; }
.elementor-menu-cart__main .woocommerce-mini-cart__empty-message { font-size: 18px; line-height: 1.6; padding: 24px 0; }
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main .elementor-menu-cart__product-name a { font-size: 15px; line-height: 1.6; }
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main .elementor-menu-cart__product-price,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main .elementor-menu-cart__product-price .amount { color: #202c30; font-size: 14px; font-weight: 500; }
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main .elementor-menu-cart__footer-buttons .elementor-button { font-size: 12px; line-height: 1.5; }
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main .elementor-menu-cart__product-remove a { color: #202c30; border-color: #a79c93; }
.elementor-menu-cart__toggle_button:focus-visible, .elementor-menu-cart__main a:focus-visible { outline: 2px solid #a96e74; outline-offset: 4px; }

/* Real WooCommerce Blocks own the form, totals and validation; these rules only style them. */
body:is(.woocommerce-cart,.woocommerce-checkout) #content.site-main {
  width: min(1320px, calc(100% - 80px)) !important;
  max-width: 1320px !important; margin: 0 auto;
  padding: 100px 0 96px; color: #202c30;
}
.hc-commerce-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 0 36px; margin-bottom: 40px; border-bottom: 1px solid #dfd5cc; }
.hc-commerce-eyebrow { display: block; font-size: 10px; letter-spacing: .2em; font-weight: 600; margin-bottom: 14px; }
.hc-commerce-heading h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(42px,4.3vw,64px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 16px; }
.hc-commerce-heading p { font-size: 13px; line-height: 1.8; margin: 0; max-width: 560px; }
.hc-commerce-heading > a { flex-shrink: 0; font-size: 12px; color: #202c30; border-bottom: 1px solid #c99a9d; padding-bottom: 8px; text-decoration: none; }
body:is(.woocommerce-cart,.woocommerce-checkout) .page-content > .alignwide { margin: 0; max-width: none; width: 100%; }
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-sidebar-layout { gap: 36px; align-items: flex-start; margin: 0; }
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-sidebar-layout > .wc-block-components-main { flex: 1 1 0; width: auto; min-width: 0; margin: 0; padding: 28px; background: #fffdfa; border: 1px solid #e4dbd2; }
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-sidebar-layout > .wc-block-components-sidebar { flex: 0 0 360px; width: 360px; min-width: 0; margin: 0; padding: 26px; background: #f1e9e1; border: 1px solid #e0d3c8; border-top: 3px solid #c99a9d; }
body.woocommerce-checkout .wc-block-checkout__sidebar.is-sticky { top: 150px; }
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-name { color: #202c30; font-size: 15px; font-weight: 500; line-height: 1.6; text-decoration: none; }
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-metadata { font-size: 12px; line-height: 1.8; color: #5d6667; }
body.woocommerce-cart table.wc-block-cart-items { border: 0; margin: 0; background: transparent; }
body.woocommerce-cart table.wc-block-cart-items td { background: transparent; border-color: #e4dbd2; padding-top: 24px; padding-bottom: 24px; }
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__image { width: 120px; }
body.woocommerce-cart .wc-block-cart-item__image img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; height: auto; }
body.woocommerce-cart .wc-block-cart__totals-title { font-size: 22px !important; text-align: left !important; text-transform: none !important; letter-spacing: 0; padding: 0 0 22px !important; }
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-button.contained { background: #202c30; color: #fff; border: 1px solid #202c30; border-radius: 0; min-height: 54px; font-size: 12px; font-weight: 600; letter-spacing: .06em; box-shadow: none; text-decoration: none; }
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-button.contained:hover { background: #35474d; }
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-button:focus-visible { outline: 2px solid #a96e74; outline-offset: 4px; }
body.woocommerce-checkout .wc-block-components-checkout-step { margin-bottom: 32px; }
body.woocommerce-checkout .wc-block-components-checkout-step__title { font-family: 'Cormorant Garamond',Georgia,serif; font-size: 30px; font-weight: 600; }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-blocks-components-select__container,
body.woocommerce-checkout .wc-block-components-textarea { border-radius: 2px; border-color: #bcb7b0; background: #fffdfa; color: #202c30; }
body.woocommerce-checkout .wc-block-components-radio-control__option { background: #faf7f2; }
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title { font-size: 22px; }
body.woocommerce-checkout .wc-block-components-order-summary-item__image img { aspect-ratio: 2 / 3; object-fit: cover; height: auto; }
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-totals-wrapper { border-color: #d9cec4; }
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block { text-align: center; padding-top: 24px; }
body.woocommerce-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon::before { display: none; }
body.woocommerce-cart .wc-block-cart__empty-cart__title { font-family: 'Cormorant Garamond',Georgia,serif; font-size: 40px; }
body.woocommerce-cart .wc-block-grid__products { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 32px 0 0; }
body.woocommerce-cart .wc-block-grid__product { border: 0; padding: 0 0 24px; width: 100% !important; max-width: none !important; margin: 0 !important; }
body.woocommerce-cart .wc-block-grid__product-image img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
body.woocommerce-cart .wc-block-grid__product-title { font-family: 'Cormorant Garamond',Georgia,serif; font-size: 25px; color: #202c30; margin-top: 14px; }
body.woocommerce-cart .wc-block-grid__product-add-to-cart a { border-radius: 0; background: #202c30; color: white; font-size: 12px; padding: 12px 20px; }
@media (max-width: 1023px) {
  body:is(.woocommerce-cart,.woocommerce-checkout) #content.site-main { width: calc(100% - 48px) !important; padding-top: 96px; }
  body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-sidebar-layout { gap: 24px; }
  body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-sidebar-layout > .wc-block-components-sidebar { flex-basis: 300px; width: 300px; padding: 20px; }
  body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-sidebar-layout > .wc-block-components-main { padding: 20px; }
}
@media (max-width: 781px) {
  body.admin-bar .elementor-menu-cart--cart-type-side-cart .elementor-menu-cart__container { top: 46px !important; height: calc(100dvh - 46px) !important; }
  body.admin-bar .elementor-menu-cart--cart-type-side-cart .elementor-menu-cart__main { height: calc(100dvh - 46px); }
  body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-sidebar-layout { display: flex; flex-direction: column; }
  body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-sidebar-layout > :is(.wc-block-components-main,.wc-block-components-sidebar) { flex: 0 1 auto; width: 100%; box-sizing: border-box; }
  body.woocommerce-checkout .wc-block-checkout__sidebar.is-sticky { position: static; }
  .hc-commerce-heading { align-items: start; flex-direction: column; margin-bottom: 24px; padding-bottom: 24px; gap: 20px; }
}
@media (max-width: 600px) {
  body:is(.woocommerce-cart,.woocommerce-checkout) #content.site-main { width: calc(100% - 32px) !important; padding-top: 90px; padding-bottom: 56px; }
  body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-sidebar-layout > .wc-block-components-main { padding: 16px; }
  body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__image { width: 80px; }
  body.woocommerce-cart .wc-block-cart-item__total { font-size: 12px; }
  body.woocommerce-cart .wc-block-grid__products { gap: 16px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.woocommerce-cart .wc-block-grid__product-title { font-size: 22px; }
  .elementor-menu-cart--cart-type-side-cart .elementor-menu-cart__main { padding: 60px 20px 24px; }
}


