/* HR-CC-COLORS-V7: secondario / primario del locale. */
/* HR-CC-TENANT-V6: fascia con variabili del menu del locale. */
#hr-cc-bar[hidden],
#hr-cc-tip,
#hr-cc-cart-note,
#hr-cc-menu {
  display: none !important;
}

#hr-cc-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width:799px) {
  #mp.hr-cc-active {
    --hr-cc-height: 54px;
  }

  #mp.hr-cc-active .mp-home,
  #mp.hr-cc-active #mp-vista {
    bottom: var(--hr-cc-height) !important;
  }

  #mp.hr-cc-active .mp-badge {
    display: none !important;
  }

  #hr-cc-bar {
    position: absolute;
    inset: auto 0 0;
    z-index: 10;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    background: var(--dh-menu-surface);
    color: var(--dh-menu-primary);
    border: 0;
    border-top: 0;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
    font-family: var(--font);
  }

  #hr-cc-controls {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  #hr-cc-cart {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 54px;
    padding: 13px 16px calc(13px + env(safe-area-inset-bottom, 0px));
    margin: 0;
    background: transparent;
    color: var(--dh-menu-primary);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: var(--font);
    font-size: var(--fs-base, 15px);
    font-weight: 600;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  #hr-cc-cart .hr-cc-label {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #hr-cc-cart .hr-cc-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--dh-menu-primary);
    color: var(--dh-menu-surface);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
  }

  #hr-cc-cart .hr-cc-arrow {
    display: none;
  }

  #hr-cc-cart:active:not(:disabled) {
    transform: none;
    background: var(--dh-menu-surface);
    box-shadow: none;
  }

  #hr-cc-cart:focus-visible {
    outline: 2px solid var(--dh-menu-primary);
    outline-offset: -4px;
  }
}

@media (min-width:800px) {
  #hr-cc-bar,
  #hr-cc-cart-note {
    display: none !important;
  }
}
