.cheers-floating-cart-toggle { position: fixed; z-index: 120; right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 14px 18px; border: 1px solid var(--cheers-button-bg); border-radius: 40px; background: var(--cheers-button-bg); color: #fff !important; text-decoration: none !important; font-size: 14px; line-height: 1.4; font-weight: 650; box-shadow: 0 5px 24px #1d1d1f20; }
.cheers-floating-cart-toggle:hover { background: var(--cheers-button-hover); }
.cheers-floating-cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; min-height: 26px; border: 1px solid #ffffff80; border-radius: 50%; padding-inline: 4px; font-size: 12px; }
.cheers-has-floating-cart .cheers-header .cheers-cart-link { display: none; }
.cheers-floating-cart-above-purchase .cheers-floating-cart-toggle { bottom: calc(var(--cheers-sticky-height, 90px) + 32px + env(safe-area-inset-bottom)); }
.cheers-cart-dialog { position: fixed; inset: 12px 12px 12px auto; width: min(460px, calc(100% - 24px)); max-width: none; height: fit-content; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: auto 0; padding: 28px; border: 1px solid var(--cheers-border); border-radius: 18px; background: #fff; color: var(--cheers-ink); box-shadow: 0 15px 65px #1d1d1f26; overflow-y: auto; overscroll-behavior: contain; }
.cheers-cart-dialog::backdrop { background: #1d1d1f45; }
.cheers-cart-dialog-open { overflow: hidden; }
.cheers-cart-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; }
.cheers-cart-dialog-header h2 { margin: 0; font-size: 25px; }
.cheers-cart-dialog-header .cheers-eyebrow { margin: 0 0 8px; font-size: 10px; }
.cheers-cart-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--cheers-border); border-radius: 50%; background: #fff; color: var(--cheers-ink); font-size: 28px; font-weight: 400; line-height: 1; cursor: pointer; }
.cheers-cart-dialog .cheers-cart-close,.cheers-cart-dialog .cheers-cart-close:focus,.cheers-cart-dialog .cheers-cart-close:active { background: #fff !important; color: var(--cheers-ink) !important; border-color: var(--cheers-border); }
.cheers-cart-dialog .cheers-cart-close:hover { background: var(--cheers-soft) !important; }
.cheers-cart-close:focus-visible,.cheers-cart-continue:focus-visible,.cheers-floating-cart-toggle:focus-visible { outline: 3px solid var(--cheers-focus); outline-offset: 4px; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart-item { position: relative; display: flow-root; min-height: 108px; margin: 0; padding: 20px 38px 20px 0; border-top: 1px solid var(--cheers-border); font-size: 14px; line-height: 1.5; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart-item > a:not(.remove) { display: block; font-weight: 600; text-decoration: none; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart-item img { float: left; width: 62px; height: 70px; margin: 0 14px 0 0; object-fit: contain; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart-item .quantity { display: block; margin-top: 8px; color: var(--cheers-muted); }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart-item dl.variation { margin: 8px 0 0 76px; padding: 0; border: 0; color: var(--cheers-muted); font-size: 12px; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart-item .remove { position: absolute; left: auto; right: 0; top: 18px; display: inline-flex; align-items: center; justify-content: center; width: 32px; min-height: 44px; color: var(--cheers-muted) !important; background: transparent; border-radius: 6px; text-decoration: none; font-size: 24px; font-weight: 400; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart-item .remove:hover { background: var(--cheers-soft); color: var(--cheers-ink) !important; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart__total { clear: both; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 20px; border-top: 1px solid var(--cheers-border); padding-top: 22px; font-size: 22px; font-weight: 650; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart__total strong { font-size: 13px; font-weight: 500; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 0; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart__buttons a.button { display: flex; align-items: center; justify-content: center; min-height: 50px; width: 100%; margin: 0; padding: 13px 18px !important; border: 1px solid var(--cheers-border); border-radius: 8px; background: #fff !important; color: var(--cheers-ink) !important; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart__buttons a.checkout { grid-row: 1; background: var(--cheers-button-bg) !important; border-color: var(--cheers-button-bg); color: #fff !important; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart__buttons a.checkout:hover { background: var(--cheers-button-hover) !important; border-color: var(--cheers-button-hover); }
.cheers-cart-dialog-note { margin: 18px 0 0; color: var(--cheers-muted); font-size: 12px; line-height: 1.6; }
.cheers-cart-continue { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 44px; margin-top: 16px; padding: 10px 0; border: 0; border-top: 1px solid var(--cheers-border); background: #fff; color: var(--cheers-ink); font: inherit; font-size: 13px; cursor: pointer; }
.cheers-cart-dialog .cheers-cart-continue:focus,.cheers-cart-dialog .cheers-cart-continue:active { background: #fff !important; color: var(--cheers-ink) !important; }
.cheers-cart-dialog .cheers-floating-cart-content.woocommerce .woocommerce-mini-cart__empty-message { padding: 22px 0; margin: 0; font-size: 16px; }
@media (max-width: 620px) {
  .cheers-floating-cart-toggle { right: max(12px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); min-height: 50px; padding: 11px 14px; }
  .cheers-floating-cart-above-purchase .cheers-floating-cart-toggle { bottom: calc(var(--cheers-sticky-height, 90px) + 22px + env(safe-area-inset-bottom)); }
  .cheers-cart-dialog { inset: auto 8px 8px; width: calc(100% - 16px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); margin: 0; padding: 22px 18px max(20px, env(safe-area-inset-bottom)); border-radius: 16px; }
  .cheers-cart-dialog-header { padding-bottom: 18px; }
  .cheers-cart-dialog-header h2 { font-size: 24px; }
}
