/* Subpáginas do perfil — desktop. Estilos-base leves, sem dependência do CSS mobile. */
@media (min-width: 769px) {
  html body.sd-desktop #overlay.sd-profile-overlay > .drawer.profile-drawer .sd-subpage,
  html body.sd-desktop #overlay.sd-delivery-overlay > .drawer.profile-drawer .sd-delivery-code-screen {
    display: flex !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 0 20px !important;
    color: #000000 !important;
    font-family: "Inter", sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage-head,
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-head {
    flex: 0 0 auto !important;
    min-height: 48px !important;
    margin: 0 0 2px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid #e5e5e5 !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-subhead-text {
    color: #000000 !important;
    font: 650 19px/1.25 "Inter", sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage > p,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .upload-note,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .deposit-intro,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .sd-hist-subtitle,
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-screen > p {
    margin: 0 !important;
    color: #000000 !important;
    font: 400 13px/1.5 "Inter", sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .form-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .form-grid .field {
    display: flex !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .form-grid .two-col {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .form-grid .field > label,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .profile-section-title {
    display: block !important;
    margin: 0 !important;
    color: #000000 !important;
    font: 600 13px/1.35 "Inter", sans-serif !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 {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 9px 11px !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 9px !important;
    outline: none !important;
    background: #fff !important;
    color: #000000 !important;
    font: 400 14px/1.35 "Inter", sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage textarea {
    min-height: 82px !important;
    resize: vertical !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage input:focus,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage select:focus,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage textarea:focus {
    border-color: #000000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .12) !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage input[readonly] {
    background: #f5f4f7 !important;
    color: #000000 !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"],
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .small-outline,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .outline {
    display: inline-flex !important;
    box-sizing: border-box !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 9px 14px !important;
    border-radius: 9px !important;
    font: 600 13px/1.2 "Inter", sans-serif !important;
    cursor: pointer !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"] {
    border: 1px solid #000000 !important;
    background: #000000 !important;
    color: #fff !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .small-outline,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .outline {
    border: 1px solid #dbdbdb !important;
    background: #fff !important;
    color: #000000 !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage .map-help,
  html body.sd-desktop #overlay.sd-profile-overlay #favoriteAddressMapWrap small {
    display: block !important;
    margin: 2px 0 0 !important;
    color: #000000 !important;
    font: 400 12px/1.4 "Inter", sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay #favoriteAddressMapWrap {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 11px !important;
    background: #f6f5f8 !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay #favoriteAddressMap {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 175px !important;
    border-radius: 10px !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay #favoriteAddressesList,
  html body.sd-desktop #overlay.sd-profile-overlay .terms-list,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-list,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-history-list,
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-orders {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .favorite-address-card,
  html body.sd-desktop #overlay.sd-profile-overlay .terms-option,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-action,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-card,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-notification-item,
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-hero-card,
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-box,
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-order-card,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-card,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-economy-card,
  html body.sd-desktop #overlay.sd-profile-overlay .deposit-pix-card,
  html body.sd-desktop #overlay.sd-profile-overlay .deposit-user-card {
    box-sizing: border-box !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 11px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .035) !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .favorite-address-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 12px !important;
    text-align: left !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .favorite-address-copy {
    display: flex !important;
    min-width: 0 !important;
    flex-direction: column !important;
    gap: 4px !important;
    color: #000000 !important;
    font: 400 13px/1.4 "Inter", sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .favorite-address-actions,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .terms-option {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 12px 14px !important;
    color: #000000 !important;
    text-align: left !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .terms-option > span:first-child,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-action-text {
    display: flex !important;
    min-width: 0 !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .terms-option small,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-card-items,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-card-when {
    color: #000000 !important;
    font: 400 12px/1.4 "Inter", sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-tab {
    min-height: 34px !important;
    padding: 7px 12px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #000000 !important;
    font: 500 12px/1 "Inter", sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-tab.is-active {
    border-color: #000000 !important;
    background: #efefef !important;
    color: #000000 !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 12px !important;
    color: #000000 !important;
    text-align: left !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-card-main,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-card-left {
    display: flex !important;
    min-width: 0 !important;
    align-items: center !important;
    gap: 10px !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-card-copy {
    display: flex !important;
    min-width: 0 !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-card-store {
    color: #000000 !important;
    font: 600 14px/1.3 "Inter", sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-hist-empty,
  html body.sd-desktop #overlay.sd-profile-overlay .checkout-address-empty {
    padding: 16px !important;
    border: 1px dashed #d8d8d8 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #000000 !important;
    line-height: 1.5 !important;
  }

  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-digits {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-digit {
    display: grid !important;
    width: 42px !important;
    height: 48px !important;
    place-items: center !important;
    border: 1px solid #dfdfdf !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #000000 !important;
    font: 700 20px/1 "Inter", sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .wallet-card,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-economy-card,
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-hero-card,
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-box {
    padding: 16px !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .wallet-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .wallet-card > small,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-card > strong {
    display: block !important;
    margin: 0 !important;
    line-height: 1.35 !important;
  }
}


@media (min-width: 769px) {
  html body.sd-desktop #overlay.sd-profile-overlay .sd-checkout-notice {
    display: flex !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin: 4px 0 16px !important;
    padding: 16px !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #000000 !important;
    font: 400 14px/1.5 "Inter", sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-checkout-notice p {
    margin: 0 !important;
    color: #000000 !important;
    font: 400 14px/1.5 "Inter", sans-serif !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-checkout-notice #backToOrder {
    min-height: 40px !important;
    padding: 9px 14px !important;
    border: 1px solid #000000 !important;
    border-radius: 9px !important;
    background: #000000 !important;
    color: #fff !important;
    font: 600 13px/1.2 "Inter", sans-serif !important;
    cursor: pointer !important;
  }
}

@media (min-width: 769px) {
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-visibility-toggle {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 22px !important;
    overflow: hidden !important;
    cursor: pointer !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-visibility-toggle input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-visibility-toggle svg,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-visibility-toggle .eye,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-visibility-toggle .eye-slash {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    fill: #000000 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-visibility-toggle .eye-slash { display: none !important; }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-visibility-toggle input:checked ~ .eye { display: none !important; }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-visibility-toggle input:checked ~ .eye-slash { display: block !important; }

  html body.sd-desktop #overlay.sd-profile-overlay .wallet-economy-value-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-coupon-art {
    width: 72px !important;
    height: 56px !important;
    object-fit: contain !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-actions,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-actions-ref {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .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;
    padding: 12px 14px !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 12px !important;
    background: #fff !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-action:hover {
    border-color: #f3f4f6 !important;
    background: #fbfbfb !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08) !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-action-icon,
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-action-icon img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !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 svg {
    max-width: 36px;
    max-height: 36px;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .wallet-visibility-toggle svg {
    max-width: 20px !important;
    max-height: 20px !important;
  }

  html body.sd-desktop #overlay.sd-checkout-overlay .deposit-pix-card,
  html body.sd-desktop #overlay.sd-desktop-panel .deposit-pix-card {
    box-sizing: border-box !important;
    padding: 16px !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 12px !important;
    background: #fff !important;
  }
  html body.sd-desktop #overlay.sd-checkout-overlay .deposit-pix-card img,
  html body.sd-desktop #overlay.sd-desktop-panel .deposit-pix-card img {
    width: min(180px, 80%) !important;
    height: auto !important;
    max-height: 180px !important;
  }
  html body.sd-desktop #overlay.sd-checkout-overlay .delivery-code,
  html body.sd-desktop #overlay.sd-desktop-panel .delivery-code {
    font: 700 28px/1.2 Inter, sans-serif !important;
    letter-spacing: .12em !important;
    color: #000000 !important;
  }
}
