/* Shared shopping controls inherit the active theme's editable colors and typography. */
.storefront-dropdown { position: relative; flex-shrink: 0; color: inherit; }
.storefront-trigger { display: flex; align-items: center; justify-content: center; gap: .5rem; min-width: 44px; min-height: 44px; padding: .5rem; list-style: none; cursor: pointer; font-size: calc(.75rem * var(--store-text-scale, 1)); color: inherit; }
.storefront-trigger::-webkit-details-marker { display: none; }
.storefront-trigger > .fa-user, .storefront-trigger-icon > i { font-size: 1.2rem; }
.storefront-trigger-icon { position: relative; display: inline-flex; }
.storefront-cart-count { position: absolute; inset-block-start: -.6rem; inset-inline-end: -.65rem; min-width: 1.1rem; height: 1.1rem; padding-inline: .2rem; border-radius: 50%; background: rgb(var(--store-primary-rgb)); color: rgb(var(--store-color-ffffff-rgb, 255 255 255)); display: flex; justify-content: center; align-items: center; font-size: .65rem; }
.storefront-chevron { font-size: .6rem; }
.storefront-dropdown-panel { position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + .5rem); width: 17rem; max-width: calc(100vw - 2rem); z-index: 70; padding: 1rem; border: 1px solid rgb(var(--store-primary-rgb) / .2); border-radius: calc(.8rem * var(--store-corner-scale, 1)); background: rgb(var(--store-page-rgb)); color: inherit; box-shadow: 0 .5rem 2rem rgb(var(--store-primary-rgb) / .15); text-align: start; font-size: calc(.875rem * var(--store-text-scale, 1)); }
.storefront-user-panel a, .storefront-user-panel button { display: block; width: 100%; padding: .6rem .5rem; text-align: start; text-decoration: none; color: inherit; font: inherit; border: 0; background: transparent; cursor: pointer; border-radius: calc(.4rem * var(--store-corner-scale, 1)); }
.storefront-user-panel a:hover, .storefront-user-panel button:hover { background: rgb(var(--store-primary-rgb) / .1); }
.storefront-user-name { margin: 0 0 .5rem; padding: .4rem .5rem .7rem; border-bottom: 1px solid rgb(var(--store-primary-rgb) / .15); overflow-wrap: anywhere; }
.storefront-cart-panel { width: 25rem; }
.storefront-cart-panel h2, .storefront-cart-dialog h2 { margin: 0; font-weight: 700; font-size: calc(1rem * var(--store-text-scale, 1) * var(--store-heading-scale, 1)); }
.storefront-cart-items { list-style: none; padding: 0; margin: 1rem 0; max-height: min(45vh, 24rem); overflow: auto; overscroll-behavior: contain; }
.storefront-cart-item { display: flex; align-items: center; gap: .8rem; padding-block: .7rem; border-bottom: 1px solid rgb(var(--store-primary-rgb) / .15); }
.storefront-cart-image { flex-shrink: 0; width: 4rem; height: 4rem; display: flex; align-items: center; justify-content: center; background: rgb(var(--store-primary-rgb) / .05); overflow: hidden; border-radius: calc(.5rem * var(--store-corner-scale, 1)); }
.storefront-cart-image img { width: 100%; height: 100%; object-fit: contain; }
.storefront-cart-item-copy { min-width: 0; flex: 1; display: grid; gap: .2rem; overflow-wrap: anywhere; }
.storefront-cart-item-copy a { color: inherit; text-decoration: none; font-weight: 700; }
.storefront-cart-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin-top: .4rem; }
.storefront-cart-controls button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 44px; min-height: 44px; border: 1px solid rgb(var(--store-primary-rgb) / .3); border-radius: calc(.4rem * var(--store-corner-scale, 1)); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.storefront-cart-controls button:hover:not(:disabled) { background: rgb(var(--store-primary-rgb) / .1); }
.storefront-cart-controls button:disabled { opacity: .4; cursor: not-allowed; }
.storefront-cart-controls > span { min-width: 1.5rem; text-align: center; }
.storefront-cart-controls .storefront-cart-remove { padding-inline: .6rem; margin-inline-start: auto; }
[data-cart-checkout][hidden] { display: none; }
.storefront-cart-item-copy small, .storefront-cart-note { font-size: calc(.75rem * var(--store-text-scale, 1)); opacity: .75; }
.storefront-cart-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-block: 1rem .5rem; }
.storefront-cart-note { margin: .5rem 0 1rem; line-height: 1.8; }
.storefront-cart-empty { margin-block: 1rem; }
.storefront-cart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1rem; }
.storefront-action-primary, .storefront-action-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem 1rem; border: 1px solid rgb(var(--store-primary-rgb)); border-radius: calc(.5rem * var(--store-corner-scale, 1)); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.storefront-action-primary { background: rgb(var(--store-primary-rgb)); color: rgb(var(--store-color-ffffff-rgb, 255 255 255)); }
.storefront-action-secondary { background: transparent; color: inherit; }
dialog.storefront-cart-dialog { position: fixed; inset: 0; width: min(40rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 1.5rem; border: 1px solid rgb(var(--store-primary-rgb) / .25); border-radius: calc(1rem * var(--store-corner-scale, 1)); background: rgb(var(--store-page-rgb)); color: inherit; overflow: auto; box-sizing: border-box; font-size: calc(.875rem * var(--store-text-scale, 1)); }
dialog.storefront-cart-dialog::backdrop { background: rgb(var(--store-primary-dark-rgb) / .55); }
.storefront-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.storefront-dialog-heading button { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.storefront-trigger:focus-visible, .storefront-dropdown-panel :is(a,button):focus-visible, .storefront-cart-dialog :is(a,button):focus-visible { outline: 2px solid rgb(var(--store-primary-rgb)); outline-offset: 3px; }
@media(max-width: 639px) {
  .storefront-trigger-label, .storefront-chevron { display: none; }
  .storefront-dropdown-panel { position: fixed; inset-inline: 1rem; inset-block-start: var(--storefront-panel-top, 6rem); width: auto; max-height: calc(100dvh - var(--storefront-panel-top, 6rem) - 1rem); overflow: auto; }
}
