/* Compact controls, below Astra dialogs and consent surfaces. */
.ag-contact { display: none; position: fixed; right: max(18px,env(safe-area-inset-right)); bottom: max(18px,env(safe-area-inset-bottom)); z-index: 980; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; transform: translateY(0); transition: transform .28s cubic-bezier(.2,.75,.25,1); }
.ag-contact.has-scroll-top { transform: translateY(calc(-1 * var(--ag-contact-lift,56px))); }
.ag-contact.is-ready { display: block; }
body .ag-contact-toggle { display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; padding: 10px; border: 1px solid #214c35; border-radius: 12px; color: #fff; background: #214c35; box-shadow: 0 4px 14px #214c3524; line-height: 1; cursor: pointer; }
.ag-contact-toggle svg,.ag-contact-channel svg,.ag-drawer-cart svg { display: block; width: 24px; height: 24px; flex: 0 0 24px; }
body .ag-contact-toggle:hover,body .ag-contact-toggle:focus-visible { background: #173b28; color: #fff; }
.ag-contact-toggle:focus-visible,.ag-contact-channel:focus-visible,.ag-drawer-cart:focus-visible { outline: 3px solid #c45d18; outline-offset: 3px; }
.ag-contact-panel { position: absolute; bottom: calc(100% + 12px); right: 0; width: min(280px,calc(100vw - 36px)); padding: 18px; border: 1px solid #dfe6d8; border-radius: 18px; background: #fff; color: #26352b; box-shadow: 0 10px 34px #173b2826; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px) scale(.97); transform-origin: bottom right; transition: opacity .2s ease,transform .2s ease,visibility 0s .2s; }
.ag-contact.is-open .ag-contact-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .2s ease,transform .2s ease,visibility 0s; }
body .ag-contact-heading { margin: 0 0 12px; color: #214c35; font: 700 17px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
body .ag-contact-channel { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 10px; border-radius: 10px; color: #214c35; text-decoration: none; line-height: 1.4; }
body .ag-contact-channel:hover { background: #eff4e9; color: #173b28; }
.ag-contact-channel strong,.ag-contact-channel small { display: block; }
.ag-contact-channel strong { font-size: 15px; font-weight: 650; }
.ag-contact-channel small { margin-top: 2px; color: #526155; font-size: 12px; }
.ag-ui-tooltip { position: relative; }
.ag-ui-tooltip::after { content: attr(data-tooltip); position: absolute; right: 0; bottom: calc(100% + 9px); padding: 7px 10px; border-radius: 7px; background: #173b28; color: #fff; font: 500 12px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s; }
.ag-ui-tooltip:hover::after,.ag-ui-tooltip:focus-visible::after { opacity: 1; visibility: visible; }
.ag-contact.is-open .ag-contact-toggle::after { display: none; }
body #astra-mobile-cart-drawer { --ag-cart-header-size: 76px; }
body #astra-mobile-cart-drawer .astra-cart-drawer-header.ag-cart-header { display: grid; grid-template-columns: minmax(0,1fr) 44px 44px; align-items: center; gap: 8px; height: var(--ag-cart-header-size); min-height: var(--ag-cart-header-size); padding: 15px 20px; box-sizing: border-box; }
body #astra-mobile-cart-drawer .astra-cart-drawer-content { padding-top: var(--ag-cart-header-size); }
body #astra-mobile-cart-drawer .ag-cart-header .astra-cart-drawer-title { grid-column: 1; grid-row: 1; margin: 0; min-width: 0; line-height: 22px; }
body #astra-mobile-cart-drawer .ag-cart-header .astra-cart-drawer-close { position: static; grid-column: 3; grid-row: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; margin: 0; border: 1px solid #cbd8cb; border-radius: 10px; background: #f2f6ed; color: #214c35; opacity: 1; }
body #astra-mobile-cart-drawer .astra-cart-drawer-close svg { display: block; width: 22px; height: 22px; fill: currentColor; opacity: 1; }
body #astra-mobile-cart-drawer a.ag-drawer-cart { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 9px; margin: 0; border: 1px solid #cbd8cb; border-radius: 10px; background: #fff; color: #214c35; text-decoration: none; }
body #astra-mobile-cart-drawer a.ag-drawer-cart:hover { background: #eff4e9; }
body #astra-mobile-cart-drawer .ag-drawer-cart::after { top: calc(100% + 8px); bottom: auto; }
body #astra-mobile-cart-drawer .ag-cart-link-replaced { display: none !important; }
body #astra-mobile-cart-drawer .woocommerce-mini-cart-item { display: flow-root; position: relative; padding: 16px 48px 16px 78px !important; min-width: 0; min-height: 96px; }
body #astra-mobile-cart-drawer .woocommerce-mini-cart-item > a:not(.remove) img { position: absolute; left: 0; top: 16px; bottom: auto !important; transform: none !important; width: 64px; height: 64px; margin: 0; border-radius: 8px; object-fit: cover; }
body #astra-mobile-cart-drawer .woocommerce-mini-cart-item > a:not(.remove) { display: block; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
body #astra-mobile-cart-drawer .woocommerce-mini-cart-item a.remove { display: grid; place-items: center; position: absolute; right: 0; left: auto; top: 16px; width: 36px; height: 36px; margin: 0; padding: 7px; border: 1px solid #cbd8cb; border-radius: 10px; background: #fff; color: #214c35 !important; opacity: 1 !important; line-height: 1; }
body #astra-mobile-cart-drawer .woocommerce-mini-cart-item a.remove::before { display: none !important; content: none !important; }
body #astra-mobile-cart-drawer .woocommerce-mini-cart-item a.remove svg { display: block; width: 20px; height: 20px; fill: currentColor; opacity: 1 !important; }
body #astra-mobile-cart-drawer .woocommerce-mini-cart-item a.remove:hover { background: #e5eddd; color: #173b28 !important; }
@media (hover: none) { .ag-ui-tooltip:hover::after { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .ag-contact,.ag-contact-panel,.ag-ui-tooltip::after { transition: none !important; } }
