/* SDFood — abas do perfil no desktop.
   Restaura ícones, cabeçalhos e espaçamento depois dos overrides “modo texto”. */
@media (min-width: 769px) {
  html body.sd-desktop #overlay.sd-profile-overlay,
  html body.sd-desktop #overlay.sd-delivery-overlay,
  html body.sd-desktop #overlay.sd-order-track-detail-active {
    background: rgba(0, 0, 0, .16) !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay > .drawer,
  html body.sd-desktop #overlay.sd-delivery-overlay > .drawer,
  html body.sd-desktop #overlay.sd-order-track-detail-active > .drawer {
    background: #fff !important;
    color: #000000 !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-screen,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-notif-page,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-ref,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-mobile,
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-screen {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    min-height: 0 !important;
    padding: 16px 18px 28px !important;
    background: #fff !important;
    color: #000000 !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay img,
  html body.sd-desktop #overlay.sd-profile-overlay svg,
  html body.sd-desktop #overlay.sd-delivery-overlay img,
  html body.sd-desktop #overlay.sd-delivery-overlay svg,
  html body.sd-desktop #overlay.sd-order-track-detail-active img,
  html body.sd-desktop #overlay.sd-order-track-detail-active svg {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  html body.sd-desktop #overlay .sd-subpage-head,
  html body.sd-desktop #overlay .sd-hist-head,
  html body.sd-desktop #overlay .sd-profile-head,
  html body.sd-desktop #overlay .sd-delivery-code-head {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 40px !important;
    height: auto !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body.sd-desktop #overlay .sd-subhead-text,
  html body.sd-desktop #overlay .sd-delivery-code-head .sd-subhead-text {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: #000000 !important;
    font: 650 17px/1.25 Inter, sans-serif !important;
    font-size: 17px !important;
    text-align: left !important;
  }
  html body.sd-desktop #overlay .sd-subhead-text::after,
  html body.sd-desktop #overlay .sd-delivery-code-head .sd-subhead-text::after {
    content: none !important;
    display: none !important;
  }

  html body.sd-desktop #overlay .sd-subpage-back,
  html body.sd-desktop #overlay .sd-delivery-code-back,
  html body.sd-desktop #overlay .sd-subpage .sd-subpage-back,
  html body.sd-desktop #overlay .sd-delivery-code-screen .sd-delivery-code-back {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #000000 !important;
    background: #f3f3f3 !important;
    box-shadow: none !important;
    font-size: 0 !important;
  }
  html body.sd-desktop #overlay .sd-subpage-back::after,
  html body.sd-desktop #overlay .sd-delivery-code-back::after,
  html body.sd-desktop #overlay .sd-subpage .sd-subpage-back::after,
  html body.sd-desktop #overlay .sd-delivery-code-back::after {
    content: none !important;
    display: none !important;
  }
  html body.sd-desktop #overlay .sd-subpage-back svg,
  html body.sd-desktop #overlay .sd-delivery-code-back svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    visibility: visible !important;
    stroke: currentColor !important;
  }

  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-hero-card {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-body {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    transform: none !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-body::after {
    display: none !important;
    content: none !important;
  }

  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #ececec !important;
    border-radius: 14px !important;
    background: #f6f6f6 !important;
    box-shadow: none !important;
    transform: none !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-digits {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-digit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    min-width: 28px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #000000 !important;
    font: 700 16px/1 Inter, sans-serif !important;
    letter-spacing: 0 !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-copy {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    height: 36px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #000000 !important;
    background: #ebebeb !important;
    font: 600 12px/1 Inter, sans-serif !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-copy::after {
    content: "Copiar" !important;
    display: inline !important;
    color: #000000 !important;
    font: 600 12px/1 Inter, sans-serif !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-copy svg {
    display: block !important;
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    visibility: visible !important;
    stroke: currentColor !important;
  }

  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-store-block {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-store-block::before {
    display: none !important;
    content: none !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-store-name {
    width: auto !important;
    color: #000000 !important;
    font: 600 14px/1.3 Inter, sans-serif !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-status-pill {
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: #f0f0f0 !important;
    color: #000000 !important;
    font: 500 12px/1 Inter, sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-howto,
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-orders {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-howto h3,
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-orders h3 {
    margin: 0 0 8px !important;
    color: #000000 !important;
    font: 650 15px/1.3 Inter, sans-serif !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-tips {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-tips li {
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #ebebeb !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #000000 !important;
    font: 400 13px/1.35 Inter, sans-serif !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-tip-icon {
    display: grid !important;
    place-items: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 9px !important;
    background: #f0f0f0 !important;
    color: #000000 !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-tip-icon svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    visibility: visible !important;
    fill: none !important;
    stroke: currentColor !important;
  }

  html body.sd-desktop #overlay .sd-hist-tabs,
  html body.sd-desktop #overlay .wallet-history-tabs {
    display: flex !important;
    flex: 0 0 auto !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 4px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #f2f2f2 !important;
    box-shadow: none !important;
  }
  html body.sd-desktop #overlay .sd-hist-tab,
  html body.sd-desktop #overlay .wallet-history-tab {
    display: flex !important;
    flex: 1 1 0 !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
    font: 500 13px/1.15 Inter, sans-serif !important;
  }
  html body.sd-desktop #overlay .sd-hist-tab.is-active,
  html body.sd-desktop #overlay .wallet-history-tab.is-active {
    background: #fff !important;
    color: #000000 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06) !important;
  }
  html body.sd-desktop #overlay .sd-hist-empty,
  html body.sd-desktop #overlay .sd-delivery-orders-empty,
  html body.sd-desktop #overlay .wallet-history-empty {
    margin: 0 !important;
    padding: 22px 14px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #f6f6f6 !important;
    text-align: center !important;
    color: #000000 !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .wallet-ref,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-mobile {
    background: #fff !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-ref::before,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-ref::after,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-mobile::before,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-mobile::after {
    display: none !important;
    content: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-economy-card {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px 14px 12px !important;
    overflow: hidden !important;
    border: 1px solid #e9e9e9 !important;
    border-radius: 16px !important;
    background: #f6f6f6 !important;
    box-shadow: none !important;
    color: #000000 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-economy-top {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-economy-copy > small {
    display: block !important;
    color: #000000 !important;
    font: 400 13px/1.3 Inter, sans-serif !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay #walletBalanceValue {
    color: #000000 !important;
    font: 700 22px/1.15 Inter, sans-serif !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-visibility-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    width: 20px !important;
    height: 20px !important;
    opacity: 1 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-visibility-toggle svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    visibility: visible !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-coupon-art {
    display: block !important;
    visibility: visible !important;
    width: 72px !important;
    height: 56px !important;
    object-fit: contain !important;
    opacity: 1 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-section-label,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-history-head h3 {
    margin: 2px 0 0 !important;
    color: #000000 !important;
    font: 650 15px/1.3 Inter, sans-serif !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-actions,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-actions-ref {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-action,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-actions-ref .wallet-action {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) 16px !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 12px !important;
    border: 1px solid #e9e9e9 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #000000 !important;
    box-shadow: none !important;
    text-align: left !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-action::after,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-actions-ref .wallet-action::after {
    content: "›" !important;
    display: block !important;
    color: #000000 !important;
    font: 400 18px/1 Inter, sans-serif !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-action-icon {
    display: grid !important;
    place-items: center !important;
    visibility: visible !important;
    width: 36px !important;
    height: 36px !important;
    opacity: 1 !important;
    background: #f0f0f0 !important;
    border-radius: 10px !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-action-icon img,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-action-icon svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    object-fit: contain !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-action-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    text-align: left !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-action-text strong {
    color: #000000 !important;
    font: 600 14px/1.2 Inter, sans-serif !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-action-text small {
    color: #000000 !important;
    font: 400 12px/1.3 Inter, sans-serif !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-economy-periods {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr 1fr !important;
    gap: 0 !important;
    margin-top: 12px !important;
    padding-top: 10px !important;
    border-top: 1px solid #ececec !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-history-list,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-history-loading {
    color: #000000 !important;
    font: 400 13px/1.4 Inter, sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .form-grid {
    display: grid !important;
    gap: 12px !important;
    width: 100% !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage select,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage textarea {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    border: 1px solid #e3e3e3 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #000000 !important;
    font: 400 14px/1.3 Inter, sans-serif !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .primary,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage button[type="submit"] {
    width: 100% !important;
    min-height: 44px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #000000 !important;
    color: #fff !important;
    font: 600 14px/1 Inter, sans-serif !important;
  }

  html body.sd-desktop #overlay .sd-hist-card,
  html body.sd-desktop #overlay .sd-delivery-order-card,
  html body.sd-desktop #overlay .wallet-history-card,
  html body.sd-desktop #overlay .favorite-address-card,
  html body.sd-desktop #overlay .sd-track-order,
  html body.sd-desktop #overlay .terms-option {
    width: 100% !important;
    border: 1px solid #e9e9e9 !important;
    border-radius: 12px !important;
    background: #faf9fc !important;
    box-shadow: none !important;
  }

  /* Histórico: manter as trocas de filtro perceptíveis e sem scrollbar visível. */
  html body.sd-desktop #overlay.sd-profile-overlay > .drawer.profile-drawer,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-list-wrap {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay > .drawer.profile-drawer::-webkit-scrollbar,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page::-webkit-scrollbar,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-list-wrap::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-tab {
    transition: color .16s ease, background-color .16s ease, box-shadow .16s ease !important;
    cursor: pointer !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-tab:hover,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-tab:focus-visible {
    background: transparent !important;
    color: #000000 !important;
    outline: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-tab.is-active {
    border: 0 !important;
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
    font-weight: 600 !important;
    overflow: visible !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-list {
    animation: sdHistoryListIn .18s ease both !important;
  }
  /* Override final da regra legada do index.html: somente a cor do texto muda. */
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tab.is-active,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tab[aria-selected="true"] {
    border: 0 !important;
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tab:hover,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tab:focus-visible {
    background: transparent !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tabs {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 1px !important;
    overflow: visible !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tab,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tab.is-active {
    align-items: center !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 0 10px !important;
    min-height: 30px !important;
    line-height: 1.15 !important;
    transform: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tab.is-active {
    border-color: #000000 !important;
    color: #000000 !important;
  }
  /* Histórico: mesmo acabamento dos botões de Endereços, sem fundo ou bolinha. */
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tabs,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tabs::before {
    background: transparent !important;
    box-shadow: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tabs::before {
    content: none !important;
    display: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tab,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tab:hover,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tab:focus,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tab:active {
    border: 1px solid #d8d8d8 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
    font-weight: 400 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tab.is-active,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-page .sd-hist-tab[aria-selected="true"] {
    border-color: #d8d8d8 !important;
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
    font-weight: 400 !important;
  }
  /* Endereços: painel limpo, sem contorno externo nem scrollbar aparente. */
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage #favoriteAddressesList,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .favorite-address-card {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage::-webkit-scrollbar,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage #favoriteAddressesList::-webkit-scrollbar,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .favorite-address-card::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .sd-subpage-head {
    border: 0 !important;
    box-shadow: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage #favoriteAddressesList .favorite-address-card {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage #favoriteAddressesList .favorite-address-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    position: static !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    isolation: auto !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage #favoriteAddressesList .favorite-address-actions::before,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage #favoriteAddressesList .favorite-address-actions::after {
    content: none !important;
    display: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage #favoriteAddressesList .favorite-address-actions .small-outline {
    flex: 0 0 78px !important;
    width: 78px !important;
    min-width: 78px !important;
    height: 30px !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    white-space: nowrap !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    font-weight: 400 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage #favoriteAddressesList .favorite-address-card.selected [data-use-address] {
    color: #000000 !important;
    font-weight: 400 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-logout,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-logout svg {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-logout svg {
    color: #111827 !important;
    stroke: #111827 !important;
    fill: none !important;
  }
  @keyframes sdHistoryListIn {
    from { opacity: .35; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
