/* Herrin Cart UX - UI layer over the native WooCommerce cart / checkout. */
:root{--hcu-green:#05614a;--hcu-dark:#034936;--hcu-light:#e9f7f1;--hcu-text:#16372d;--hcu-muted:#6f827b;--hcu-amber:#ec9c35}
/* Shop buttons: compatible with core WooCommerce, Flatsome product cards and most themes */
.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product a.button,
.woocommerce .products .add_to_cart_button,
.woocommerce .products .product_type_simple,
.product-small .add-to-cart-button a.button,
.product-small .add-to-cart-button a,
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce .cart .button,
.woocommerce a.checkout-button,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.wc-block-components-button:not(.is-link){
  background:var(--hcu-green)!important;color:#fff!important;border:1px solid var(--hcu-green)!important;
  border-radius:12px!important;font-size:13px;font-weight:750!important;letter-spacing:0!important;text-transform:none!important;
  line-height:1.35!important;min-height:40px;padding:10px 16px!important;
  box-shadow:0 6px 14px rgba(5,97,74,.17);text-align:center;transition:transform .18s,background .18s,box-shadow .18s!important;
  text-decoration:none!important;
}
.woocommerce ul.products li.product a.button:hover,
.woocommerce-page ul.products li.product a.button:hover,
.woocommerce .products .add_to_cart_button:hover,
.product-small .add-to-cart-button a:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce a.checkout-button:hover,
.woocommerce .cart .button:hover,
.wc-block-components-button:not(.is-link):hover{background:var(--hcu-dark)!important;border-color:var(--hcu-dark)!important;box-shadow:0 8px 16px rgba(5,97,74,.23);transform:translateY(-1px)}
.woocommerce a.added_to_cart,.woocommerce a.wc-forward:not(.checkout-button){color:var(--hcu-green)!important;font-weight:700}
/* Product details: two matching buttons with breathing room */
.woocommerce div.product form.cart .single_add_to_cart_button{margin-right:9px!important}
.woocommerce div.product form.cart button.hcu-buy-now,
.woocommerce .product-info button.hcu-buy-now{background:linear-gradient(135deg,#f4a541,#e78629)!important;color:#fff!important;border:1px solid #e78629!important;
  border-radius:12px!important;text-transform:none!important;font-size:13px!important;line-height:1.35!important;
  padding:10px 18px!important;min-height:40px!important;font-weight:800!important;letter-spacing:0!important;
  box-shadow:0 6px 16px rgba(231,134,41,.2)!important;float:none!important;transition:.18s ease}
.woocommerce div.product form.cart button.hcu-buy-now:hover{filter:brightness(.96);transform:translateY(-1px)}
.woocommerce div.product form.cart .quantity{margin-right:12px}
.woocommerce .woocommerce-message{border-top:3px solid var(--hcu-green)}
.woocommerce .woocommerce-message:before{color:var(--hcu-green)}
/* Side cart - deliberately namespaced to avoid affecting the active theme. */
.hcu-root{font-family:inherit;color:var(--hcu-text)}
.hcu-floating-cart{position:fixed;z-index:9899;right:22px;bottom:25px;display:flex;align-items:center;justify-content:center;gap:9px;
 background:var(--hcu-green);color:#fff;border:0;border-radius:60px;padding:12px 14px;min-height:52px;
 box-shadow:0 12px 27px rgba(2,76,56,.24);font-size:13px;font-weight:800;cursor:pointer;transition:transform .2s ease,background .2s ease}
.hcu-floating-cart:hover{transform:translateY(-3px);background:var(--hcu-dark)}
.hcu-floating-cart .hcu-cart-count{display:grid;place-items:center;min-width:23px;height:23px;border-radius:50%;padding:0 5px;background:#fff;color:var(--hcu-green);font-size:11px;font-weight:800}
.hcu-backdrop{position:fixed;inset:0;z-index:9900;background:rgba(8,29,23,.47);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease}
.hcu-drawer{position:fixed;right:0;top:0;bottom:0;width:min(430px,100vw);z-index:9901;background:#fff;
 box-shadow:-14px 0 40px rgba(2,56,41,.18);display:flex;flex-direction:column;transform:translateX(104%);visibility:hidden;transition:transform .25s ease,visibility .25s ease}
.hcu-root.is-open .hcu-backdrop{opacity:1;visibility:visible;pointer-events:auto}
.hcu-root.is-open .hcu-drawer{transform:translateX(0);visibility:visible}
.hcu-drawer-header{padding:21px 23px 18px;background:linear-gradient(105deg,var(--hcu-green),#078c6d);color:#fff;
 display:flex;align-items:center;justify-content:space-between;gap:12px}
.hcu-drawer-header small{color:#dbf8ec;font-size:10px;letter-spacing:2px;font-weight:750}
.hcu-drawer-header h2{font-family:inherit;color:#fff;font-size:22px;line-height:1.3;margin:3px 0 0;font-weight:850}
.hcu-close{background:rgba(255,255,255,.17);color:#fff;border:0;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;cursor:pointer;font-size:27px;line-height:1}
.hcu-drawer-contents{flex:1;min-height:0;overflow-y:auto;padding:21px 22px;background:#fff}
.hcu-drawer-contents .woocommerce-mini-cart{list-style:none;margin:0;padding:0}
.hcu-drawer-contents .woocommerce-mini-cart-item{border-bottom:1px solid #e6f1ed;padding:12px 24px 13px 0;margin:0;position:relative;min-height:82px;color:var(--hcu-text);font-size:13px}
.hcu-drawer-contents .woocommerce-mini-cart-item::after{content:'';display:block;clear:both}
.hcu-drawer-contents .woocommerce-mini-cart-item>a:not(.remove){color:var(--hcu-text);text-decoration:none;font-weight:700;line-height:1.5;display:block}
.hcu-drawer-contents .woocommerce-mini-cart-item img{float:left;width:66px;height:66px;object-fit:contain;border:1px solid #e9f0ec;border-radius:12px;margin:0 12px 0 0}
.hcu-drawer-contents .woocommerce-mini-cart-item>a.remove{position:absolute!important;right:0!important;left:auto!important;top:13px!important;display:grid!important;place-items:center;width:24px;height:24px;line-height:1!important;border-radius:50%;color:#b44!important;background:#fff2f2!important;text-decoration:none}
.hcu-drawer-contents .woocommerce-mini-cart-item .quantity{display:block;font-size:12px;color:var(--hcu-muted);margin-top:6px}
.hcu-drawer-contents .woocommerce-mini-cart__total{padding:18px 0 9px!important;display:flex;justify-content:space-between;gap:8px;font-size:15px;color:var(--hcu-text)}
.hcu-drawer-contents .woocommerce-mini-cart__total strong{font-weight:700}
.hcu-drawer-contents .woocommerce-mini-cart__total .amount{font-size:19px;font-weight:850;color:var(--hcu-green)}
.hcu-drawer-contents .woocommerce-mini-cart__buttons{display:grid;gap:10px;padding:8px 0 0;margin:0}
.hcu-drawer-contents .woocommerce-mini-cart__buttons a{display:block!important;background:var(--hcu-light)!important;border:1px solid #caeadd!important;color:var(--hcu-green)!important;
 border-radius:12px!important;text-align:center!important;font-weight:800!important;font-size:13px!important;text-transform:none!important;letter-spacing:0!important;min-height:44px!important;line-height:22px!important;padding:10px 15px!important;text-decoration:none!important}
.hcu-drawer-contents .woocommerce-mini-cart__buttons a.checkout{background:var(--hcu-green)!important;border-color:var(--hcu-green)!important;color:#fff!important}
.hcu-drawer-contents .woocommerce-mini-cart__empty-message{background:#f0f9f5;padding:21px;border-radius:15px;text-align:center;color:var(--hcu-text);font-size:13px}
.hcu-drawer-note{margin-top:auto;padding:13px 22px;background:#f1faf6;color:var(--hcu-muted);font-size:11px;line-height:1.6;border-top:1px solid #e1f0e8}
.hcu-toast{position:fixed;z-index:9910;right:22px;bottom:91px;max-width:min(340px,calc(100vw - 30px));background:#073f32;color:white;padding:13px 17px;border-radius:12px;font-size:13px;
 box-shadow:0 10px 28px #063d2c3b;opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .18s,transform .18s}
.hcu-toast.is-visible{opacity:1;transform:translateY(0)}
body.hcu-cart-open{overflow:hidden}
@media(max-width:650px){.hcu-floating-cart{right:14px;bottom:15px;padding:10px 12px;min-height:48px}.hcu-floating-label{display:none}.hcu-floating-cart .hcu-cart-count{width:20px;height:20px}.hcu-drawer{width:min(390px,100vw)}.hcu-drawer-contents{padding:15px}.hcu-drawer-header{padding:15px 19px}.hcu-toast{right:14px;bottom:76px;font-size:12px}.woocommerce div.product form.cart button.hcu-buy-now{margin-top:10px!important}}
@media(prefers-reduced-motion:reduce){.hcu-root *,.hcu-toast{transition:none!important}}

/* v1.1.0: compatibility with Flatsome, classic WooCommerce widgets and page builders. */
body .woocommerce a.add_to_cart_button,
body .woocommerce a.ajax_add_to_cart,
body .woocommerce a.product_type_simple.add_to_cart_button,
body .woocommerce-page a.add_to_cart_button,
body .product-small .add-to-cart-button a,
body .product-small .add-to-cart-button a.button,
body .product-small .box-text a.add_to_cart_button,
body .ux-products-list a.add_to_cart_button,
body .single-product button.single_add_to_cart_button,
body .single-product .single_add_to_cart_button {
  background-color:#05614a!important;
  background-image:linear-gradient(135deg,#08735a,#05614a)!important;
  border:1px solid #05614a!important;
  color:#fff!important;
  opacity:1!important;
  border-radius:12px!important;
  padding:10px 16px!important;
  min-height:42px!important;
  font-size:13px!important;
  font-weight:750!important;
  line-height:1.4!important;
  text-transform:none!important;
  letter-spacing:0!important;
  box-shadow:0 5px 15px rgba(5,97,74,.18)!important;
  text-decoration:none!important;
  transition:background .2s,box-shadow .2s,transform .2s!important;
}
body .woocommerce a.add_to_cart_button:hover,
body .woocommerce a.ajax_add_to_cart:hover,
body .product-small .add-to-cart-button a:hover,
body .single-product .single_add_to_cart_button:hover {
  background:#034936!important;
  border-color:#034936!important;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(5,97,74,.25)!important;
}
body .woocommerce a.add_to_cart_button::before,
body .product-small .add-to-cart-button a::before,
body .single-product .single_add_to_cart_button::before {
  box-shadow:none!important;
}
/* Keep the floating cart above theme widgets; chat buttons can still be moved with CSS as needed. */
body .hcu-root .hcu-floating-cart{z-index:100080!important}
body .hcu-root .hcu-backdrop{z-index:100081!important}
body .hcu-root .hcu-drawer{z-index:100082!important}


/* v1.3.3: mobile mini-cart — isolate image, title and remove action (Flatsome-safe). */
.hcu-root,.hcu-root *{box-sizing:border-box}
.hcu-root .hcu-drawer{max-width:100vw;overflow:hidden}
.hcu-root .hcu-drawer-contents{min-width:0;max-width:100%;overflow-x:hidden;overscroll-behavior:contain}
.hcu-root .hcu-drawer-contents ul.woocommerce-mini-cart{display:block!important;padding:0!important;margin:0!important;list-style:none!important}
.hcu-root .hcu-drawer-contents li.woocommerce-mini-cart-item,
.hcu-root .hcu-drawer-contents li.mini_cart_item{
 display:grid!important;grid-template-columns:minmax(0,1fr) 29px!important;
 grid-template-rows:auto auto!important;gap:6px 9px!important;
 position:relative!important;float:none!important;clear:both!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 margin:0!important;padding:15px 0!important;border-bottom:1px solid #e2eee8!important;
 white-space:normal!important;overflow:visible!important;
}
.hcu-root .hcu-drawer-contents li.mini_cart_item>a:not(.remove),
.hcu-root .hcu-drawer-contents li.woocommerce-mini-cart-item>a:not(.remove){
 grid-column:1!important;grid-row:1!important;
 display:grid!important;grid-template-columns:68px minmax(0,1fr)!important;
 grid-template-rows:auto!important;column-gap:12px!important;align-items:start!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 float:none!important;position:static!important;transform:none!important;
 margin:0!important;padding:0!important;
 font-size:13px!important;line-height:1.5!important;
 color:#16372d!important;white-space:normal!important;word-break:normal!important;
 overflow:visible!important;text-decoration:none!important;
}
.hcu-root .hcu-drawer-contents li.mini_cart_item>a:not(.remove)>img,
.hcu-root .hcu-drawer-contents li.woocommerce-mini-cart-item>a:not(.remove)>img{
 grid-column:1!important;grid-row:1!important;
 display:block!important;position:static!important;float:none!important;clear:both!important;
 width:68px!important;height:68px!important;max-width:68px!important;min-width:68px!important;
 aspect-ratio:1!important;object-fit:contain!important;
 margin:0!important;padding:2px!important;border:1px solid #e3efe9!important;
 border-radius:10px!important;background:#fff!important;
 transform:none!important;opacity:1!important;
}
.hcu-root .hcu-drawer-contents li.mini_cart_item>a:not(.remove)>span.hcu-item-title,
.hcu-root .hcu-drawer-contents li.woocommerce-mini-cart-item>a:not(.remove)>span.hcu-item-title{
 grid-column:2!important;grid-row:1!important;
 display:block!important;position:static!important;float:none!important;
 min-width:0!important;max-width:100%!important;width:auto!important;
 margin:0!important;padding:0!important;
 font-size:13px!important;font-weight:650!important;line-height:1.48!important;
 letter-spacing:0!important;white-space:normal!important;word-break:normal!important;
 overflow-wrap:anywhere!important;overflow:visible!important;text-overflow:clip!important;
 color:#16372d!important;
}
.hcu-root .hcu-drawer-contents li.mini_cart_item>a.remove,
.hcu-root .hcu-drawer-contents li.woocommerce-mini-cart-item>a.remove{
 grid-column:2!important;grid-row:1!important;
 position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;
 float:none!important;transform:none!important;left:auto!important;top:auto!important;
 width:28px!important;height:28px!important;max-width:28px!important;min-width:28px!important;
 margin:0!important;padding:0!important;line-height:1!important;
 border:1px solid #f1c6c6!important;border-radius:50%!important;
 background:#fff8f8!important;color:#c43b49!important;font-size:18px!important;
}
.hcu-root .hcu-drawer-contents li.mini_cart_item .quantity,
.hcu-root .hcu-drawer-contents li.woocommerce-mini-cart-item .quantity{
 grid-column:1!important;grid-row:2!important;
 display:block!important;float:none!important;position:static!important;
 margin:0 0 0 80px!important;padding:0!important;
 min-width:0!important;max-width:100%!important;line-height:1.5!important;
 font-size:12px!important;color:#60796e!important;
}
.hcu-root .hcu-drawer-contents li.mini_cart_item dl.variation,
.hcu-root .hcu-drawer-contents li.woocommerce-mini-cart-item dl.variation{
 grid-column:1!important;grid-row:auto!important;
 margin:2px 0 0 80px!important;font-size:12px!important;
}
.hcu-root .hcu-drawer-contents .woocommerce-mini-cart__total,
.hcu-root .hcu-drawer-contents .woocommerce-mini-cart__buttons{
 clear:both!important;width:100%!important;max-width:100%!important;min-width:0!important;
}
@media(max-width:650px){
 .hcu-root .hcu-drawer{width:100vw!important;max-width:100vw!important;height:100dvh!important;bottom:auto!important}
 .hcu-root .hcu-drawer-header{flex:0 0 auto}
 .hcu-root .hcu-drawer-contents{padding:12px 15px 18px!important;flex:1 1 auto!important}
 .hcu-root .hcu-drawer-note{flex:0 0 auto;padding:10px 16px max(14px,env(safe-area-inset-bottom))!important}
 .hcu-root .hcu-drawer-contents li.mini_cart_item>a:not(.remove),
 .hcu-root .hcu-drawer-contents li.woocommerce-mini-cart-item>a:not(.remove){grid-template-columns:64px minmax(0,1fr)!important;gap:10px!important}
 .hcu-root .hcu-drawer-contents li.mini_cart_item>a:not(.remove)>img,
 .hcu-root .hcu-drawer-contents li.woocommerce-mini-cart-item>a:not(.remove)>img{width:64px!important;min-width:64px!important;max-width:64px!important;height:64px!important}
 .hcu-root .hcu-drawer-contents li.mini_cart_item .quantity,
 .hcu-root .hcu-drawer-contents li.woocommerce-mini-cart-item .quantity,
 .hcu-root .hcu-drawer-contents li.mini_cart_item dl.variation,
 .hcu-root .hcu-drawer-contents li.woocommerce-mini-cart-item dl.variation{margin-left:74px!important}
}
