/* Preserve the existing mPOS palette and hierarchy. Floating chrome owns glass. */
button[data-mpos-material="primaryAction"],button[data-mpos-material="secondaryAction"],button.mpos-primary-action,button.mpos-outline-action,button.mpos-secondary-action{border-radius:9999px!important;column-gap:8px!important}
button[data-mpos-material="primaryAction"] svg,button[data-mpos-material="secondaryAction"] svg,button.mpos-primary-action svg,button.mpos-outline-action svg,button.mpos-secondary-action svg{flex-shrink:0;vertical-align:middle}
.nav-pill-trigger{transition:background-color 120ms ease,color 120ms ease!important}
@media(max-width:767px){button.mpos-primary-action:has([data-material-label]),button.mpos-outline-action:has([data-material-label]),button.mpos-secondary-action:has([data-material-label]){min-height:44px;line-height:1.25}}

@media(max-width:767px){.header-action-menu{width:min(320px,calc(100vw - 32px))!important}}

[data-gift-card-choice][aria-pressed="true"]{background:#000!important;background-image:none!important;color:#fff!important;border-color:#000!important}[data-gift-card-choice][aria-pressed="true"]::before{opacity:0!important}

[data-gift-card-availability]{display:none!important}

[data-gift-card-choice]{background:#fff!important;background-image:none!important;color:#171717!important;backdrop-filter:none!important}[data-gift-card-choice][aria-pressed="true"]{background:#000!important;color:#fff!important}

/* Match native contextual typography without enlarging search affordances. */
.figma-nav-dock button[data-mpos-material="contextual"]{font-size:17px!important;line-height:1.25!important}
.figma-nav-dock button[data-mpos-material="contextual"] svg{width:20px!important;height:20px!important;flex-shrink:0}

/* WebKit focus zoom is triggered by editable text below 16px.
   Keep pinch zoom available and give mobile text controls readable type. */
@media (pointer: coarse) {
  :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="hidden"]):not([type="file"]), textarea, select, [contenteditable="true"]) { font-size: max(16px, 1em) !important; }
}
