/* SDFood — sistema visual desktop (somente apresentação; preserva fluxos e estados). */
@media (min-width: 769px) {
  html body.sd-desktop {
    /* Geometria: chips continuam pills; controles e cartões usam raios distintos. */
    --sd-vs-radius-compact: 8px;
    --sd-vs-radius-control: 10px;
    --sd-vs-radius-card: 12px;
    --sd-vs-radius-panel: 16px;
    --sd-vs-radius-pill: 999px;
    --sd-vs-radius-circle: 50%;

    /* Paleta curta SDFood: roxo/lavanda + neutros, com acentos apenas decorativos. */
    --sd-vs-purple: #000000;
    --sd-vs-purple-deep: #000000;
    --sd-vs-lavender: #f2f2f2;
    --sd-vs-surface: #ffffff;
    --sd-vs-surface-soft: #faf9fc;
    --sd-vs-line: #e6e6e6;
    --sd-vs-ink: #000000;
    --sd-vs-muted: #000000;
    --sd-vs-teal: #58c4a8;
    --sd-vs-teal-soft: #e6f4f1;
    --sd-vs-coral: #ff645b;
    --sd-vs-coral-soft: #fce8e8;
    --sd-vs-yellow: #ffcd3c;
    --sd-vs-yellow-soft: #fff4cc;
    --sd-vs-paused-surface: #fff7ed;
    --sd-vs-paused-line: #fed7aa;
    --sd-vs-paused-ink: #c2410c;

    /* Elevação baixa; foco e estados funcionais mantêm seus próprios tratamentos. */
    --sd-vs-shadow-card: 0 1px 4px rgba(0, 0, 0, .06);
    --sd-vs-shadow-popover: 0 3px 12px rgba(0, 0, 0, .08);
    --sd-vs-shadow-panel: 0 2px 10px rgba(0, 0, 0, .08);
    --sd-vs-shadow-drawer: -4px 0 14px rgba(0, 0, 0, .10);

    /* Reaproveita apenas os tokens de borda/sombra; --sd-panel-radius segue intacto. */
    --sd-panel-border: var(--sd-vs-line);
    --sd-panel-shadow: var(--sd-vs-shadow-panel);
  }

  /* 1 — Cantos coerentes: cartões de conteúdo. */
  html body.sd-desktop #main :is(
    .store-card,
    .sd-category-store,
    .sd-category-item,
    .product-card-modern,
    .promo-offer-card
  ),
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-screen :is(
    .sd-profile-account-card,
    .sd-profile-summary,
    .sd-profile-summary-card,
    .sd-profile-game,
    .wallet-card,
    .wallet-economy-card,
    .wallet-history-card
  ),
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-hist-card,
  html body.sd-desktop #overlay.sd-checkout-overlay :is(
    .checkout-address-card,
    .payment-method-option,
    .fulfillment-picker,
    .fulfillment-option,
    #walletPaymentBox,
    #cashPaymentBox,
    #cardPaymentBox,
    #cardPaymentBrick_container
  ) {
    border-radius: var(--sd-vs-radius-card) !important;
  }

  /* Controles comuns: 10px; botões compactos: 8px. */
  html body.sd-desktop :is(
    .store-minimal-btn,
    .store-quick-btn,
    .store-hero-actions-row button,
    .sd-shop-search-field,
    .store-tabs-bar,
    .sd-desktop-header-search,
    #floatingCartBtn,
    .sd-rate-actions button,
    .sd-share-actions button,
    .sd-profile-screen .sd-profile-menu-item,
    .sd-profile-screen .sd-profile-logout,
    .sd-delivery-code-copy,
    #checkoutForm .outline,
    #checkoutForm .small-outline,
    #checkoutForm > button.primary,
    #checkoutForm > button[type="submit"],
    .app-confirm-box
  ) {
    border-radius: var(--sd-vs-radius-control) !important;
  }

  html body.sd-desktop :is(
    .pc-add-cutout .pc-add-button,
    .menu-suggest-item,
    .sd-rate-sheet .sd-rate-actions button,
    .sd-prod-sheet .sd-rate-actions button
  ) {
    border-radius: var(--sd-vs-radius-compact) !important;
  }

  html body.sd-desktop :is(
    #checkoutForm input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
    #checkoutForm select,
    #checkoutForm textarea,
    .sd-profile-screen input:not([type="radio"]):not([type="checkbox"]),
    .sd-profile-screen select,
    .sd-profile-screen textarea,
    .sd-address-form input:not([type="radio"]):not([type="checkbox"]),
    .sd-address-form select,
    .sd-address-form textarea
  ) {
    border-radius: var(--sd-vs-radius-control) !important;
  }

  /* Pills e círculos são exceções intencionais, não quadrados a normalizar. */
  html body.sd-desktop :is(
    .sd-desktop-filter,
    .store-badge,
    .store-status-badge,
    .delivery-status-pill,
    .sd-delivery-hist-card .status-pill,
    .promo-offer-discount-badge
  ) {
    border-radius: var(--sd-vs-radius-pill) !important;
  }
  html body.sd-desktop :is(
    .sd-category-dots .sd-category-dot,
    .checkout-address-select,
    input[type="radio"]
  ) {
    border-radius: var(--sd-vs-radius-circle) !important;
  }
  html body.sd-desktop input[type="checkbox"] {
    border-radius: 4px !important;
  }

  /* Gavetas laterais: mesma borda arredondada na entrada, sem mudar dimensões/scroll. */
  html body.sd-desktop #overlay:is(
    .sd-profile-overlay,
    .sd-delivery-overlay,
    .sd-order-track-detail-active,
    .sd-ticket-drawer-active,
    .sd-checkout-overlay,
    .sd-auth-overlay
  ) > .drawer,
  html body.sd-desktop #overlay.sd-desktop-panel .drawer.sd-drawer-lateral {
    border-radius: var(--sd-vs-radius-panel) 0 0 var(--sd-vs-radius-panel) !important;
    box-shadow: var(--sd-vs-shadow-drawer) !important;
  }

  /* Diálogos e folhas flutuantes usam raio de painel; folhas laterais conservam a borda de entrada. */
  html body.sd-desktop :is(
    .sd-store-info-sheet .sd-store-info-card,
    .sd-share-sheet .sd-share-card,
    .sd-footer-doc-dialog,
    #sdProductSheet .sd-prod-card
  ) {
    border-radius: var(--sd-vs-radius-panel) !important;
    border-color: var(--sd-vs-line) !important;
    box-shadow: var(--sd-vs-shadow-panel) !important;
  }
  html body.sd-desktop :is(.sd-rate-sheet .sd-rate-card, .sd-prod-sheet .sd-prod-card) {
    border-radius: var(--sd-vs-radius-panel) 0 0 var(--sd-vs-radius-panel) !important;
    border-color: var(--sd-vs-line) !important;
    box-shadow: var(--sd-vs-shadow-drawer) !important;
  }
  html body.sd-desktop .app-confirm-box {
    box-shadow: var(--sd-vs-shadow-panel) !important;
  }

  /* 2 — Flat design: superfícies e popovers com profundidade baixa e sem salto. */
  html body.sd-desktop #main :is(
    .store-card,
    .sd-category-store,
    .sd-category-item,
    .product-card-modern,
    .promo-offer-card
  ),
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-screen :is(
    .sd-profile-account-card,
    .sd-profile-summary-card,
    .sd-profile-game,
    .wallet-card,
    .wallet-economy-card,
    .wallet-history-card
  ),
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-hist-card,
  html body.sd-desktop #overlay.sd-checkout-overlay :is(
    .checkout-address-card:not(:focus-visible):not(:focus-within),
    .payment-method-option:not(:focus-visible):not(:focus-within)
  ) {
    box-shadow: var(--sd-vs-shadow-card) !important;
  }

  html body.sd-desktop.is-promotions-view .sd-promotions-hero {
    border-radius: var(--sd-vs-radius-panel) !important;
    box-shadow: none !important;
  }
  html body.sd-desktop.is-promotions-view .promotions-products .promo-offer-card,
  html body.sd-desktop.is-promotions-view .promotions-products .promo-offer-card:hover {
    transform: none !important;
    box-shadow: var(--sd-vs-shadow-card) !important;
    transition: border-color .18s ease, background-color .18s ease !important;
  }
  html body.sd-desktop.is-promotions-view .promo-offer-discount-badge {
    box-shadow: none !important;
  }
  html body.sd-desktop.is-promotions-view :is(.promotions-toolbar, .promotions-toolbar h2) {
    text-shadow: none !important;
  }
  html body.sd-desktop.is-shop-view #menuSearchSuggest.menu-suggest:not([hidden]),
  html body.sd-desktop .sd-category-accordion-options {
    box-shadow: var(--sd-vs-shadow-popover) !important;
  }
  html body.sd-desktop #floatingCartBtn:not(.hidden):not(:focus-visible) {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12) !important;
  }
  html body.sd-desktop .pc-add-cutout .pc-add-button:not(:focus-visible) {
    box-shadow: 0 1px 4px rgba(0, 0, 0, .10) !important;
  }
  html body.sd-desktop #overlay.sd-checkout-overlay #checkoutForm > button.primary:not(:focus-visible),
  html body.sd-desktop #overlay.sd-checkout-overlay #checkoutForm > button[type="submit"]:not(:focus-visible) {
    box-shadow: 0 2px 7px rgba(0, 0, 0, .11) !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-screen .sd-delivery-hero-card::after {
    background-image: none !important;
    opacity: 0 !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-screen :is(.sd-delivery-code-art, .sd-delivery-code-lottie) {
    filter: none !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-code-screen .sd-delivery-code-box {
    border-radius: var(--sd-vs-radius-card) !important;
    box-shadow: var(--sd-vs-shadow-card) !important;
  }

  /* 3 — Paleta: aplica tokens ao chrome neutro e mantém cores semânticas intactas. */
  html body.sd-desktop #main .sd-desktop-filter {
    border-color: var(--sd-vs-line) !important;
    color: var(--sd-vs-ink) !important;
    box-shadow: none !important;
  }
  html body.sd-desktop #main .sd-desktop-filter:is(.active, .is-active, [aria-pressed="true"]) {
    border-color: #f3f4f6 !important;
    background: var(--sd-vs-lavender) !important;
    color: var(--sd-vs-purple-deep) !important;
  }
  html body.sd-desktop #main .sd-category-dots .sd-category-dot.active {
    background: #6b7280 !important;
  }
  html body.sd-desktop #floatingCartBtn:not(.hidden) {
    background: var(--sd-vs-purple) !important;
  }
  html body.sd-desktop #overlay.sd-checkout-overlay :is(
    .checkout-address-card:not(.selected),
    .payment-method-option:not(:has(input:checked))
  ) {
    border-color: var(--sd-vs-line) !important;
  }

  /* 4 — Ícones neutros: traço uniforme sem tocar em estrelas, status, pagamento ou Lottie. */
  html body.sd-desktop :is(
    .sd-home-search-icon,
    .store-minimal-icon,
    .store-action-icon,
    .store-info-icon,
    .sd-profile-screen .sd-profile-icon,
    .sd-subpage-back,
    .sd-delivery-code-copy,
    .sd-delivery-tip-icon
  ) {
    color: var(--sd-vs-ink) !important;
  }
  html body.sd-desktop :is(
    .sd-home-search-icon svg,
    .store-minimal-icon svg,
    .store-action-icon svg,
    .store-info-icon svg,
    .sd-profile-screen .sd-profile-icon svg,
    .sd-subpage-back svg,
    .sd-delivery-code-copy svg,
    .sd-delivery-tip-icon svg
  ) {
    stroke: currentColor !important;
    stroke-width: 1.8px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }
  html body.sd-desktop :is(
    .store-minimal-icon svg path,
    .store-action-icon svg path,
    .store-info-icon svg path,
    .sd-profile-screen .sd-profile-icon svg path,
    .sd-subpage-back svg path,
    .sd-delivery-code-copy svg path,
    .sd-delivery-tip-icon svg path
  ) {
    stroke: currentColor !important;
    stroke-width: 1.8px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  /* 5 — Fundo flat para os backplates decorativos das categorias; artwork permanece intacto. */
  html body.sd-desktop #main .home-page > .categories > .category .cat-img::before {
    background: #f4f4f4 !important;
  }
}

/* Alinhamento final: alguns patches legados usam seletores mais específicos. */
@media (min-width: 769px) {
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-filter-shell .sd-desktop-filter {
    border-radius: var(--sd-vs-radius-compact) !important;
  }
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-filter-shell .sd-desktop-filter:is(.active, .is-active, [aria-pressed="true"]) {
    border-color: #f3f4f6 !important;
    background: var(--sd-vs-lavender) !important;
    color: var(--sd-vs-purple-deep) !important;
    box-shadow: none !important;
  }

  html body.sd-desktop.is-shop-view #storeMinimalActionsBar :is(.store-minimal-btn, button),
  html body.sd-desktop.is-shop-view .store-hero-actions-row :is(button, .store-quick-btn),
  html body.sd-desktop.is-shop-view .store-hero-actions-row > a,
  html body.sd-desktop.is-shop-view .sd-shop-search-field,
  html body.sd-desktop.is-shop-view .store-tabs-bar {
    border-radius: var(--sd-vs-radius-control) !important;
  }
  html body.sd-desktop.is-shop-view #storeMinimalActionsBar #mOpenStoreHours,
  html body.sd-desktop.is-shop-view #storeMinimalActionsBar #mShareStoreDesktop {
    border-radius: var(--sd-vs-radius-control) !important;
  }
  html body.sd-desktop #floatingCartBtn:not(.hidden) {
    border-radius: var(--sd-vs-radius-control) !important;
  }
  html body.sd-desktop.is-shop-view .shop-view .shop-layout .product-card-modern .pc-add-cutout .pc-add-button {
    border-radius: var(--sd-vs-radius-compact) !important;
  }

  html body.sd-desktop:is(.is-home-view, .is-shop-view, .is-category-view) #main :is(
    .store-card,
    .sd-category-store,
    .sd-category-item,
    .product-card-modern
  ):not(:focus-visible):not(:focus-within) {
    border-radius: var(--sd-vs-radius-card) !important;
    box-shadow: var(--sd-vs-shadow-card) !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay:has(.sd-profile-screen) > .drawer.profile-drawer:has(.sd-profile-screen) .sd-profile-screen :is(
    .sd-profile-account-card,
    .sd-profile-summary,
    .sd-profile-summary-card,
    .sd-profile-game,
    .wallet-card,
    .wallet-economy-card,
    .wallet-history-card
  ):not(:focus-visible):not(:focus-within) {
    border-radius: var(--sd-vs-radius-card) !important;
    box-shadow: var(--sd-vs-shadow-card) !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-screen .sd-profile-menu-item,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-screen .sd-profile-logout {
    border-radius: var(--sd-vs-radius-control) !important;
  }
  html body.sd-desktop #overlay.sd-delivery-overlay .sd-delivery-hist-card:not(:focus-visible):not(:focus-within) {
    border-radius: var(--sd-vs-radius-card) !important;
    box-shadow: var(--sd-vs-shadow-card) !important;
  }

  html body.sd-desktop #overlay.sd-checkout-overlay #checkoutForm :is(
    .checkout-address-card,
    .payment-method-option,
    .fulfillment-picker,
    .fulfillment-option,
    #walletPaymentBox,
    #cashPaymentBox,
    #cardPaymentBox,
    #cardPaymentBrick_container
  ) {
    border-radius: var(--sd-vs-radius-card) !important;
  }
  html body.sd-desktop #overlay.sd-checkout-overlay #checkoutForm :is(
    input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
    select,
    textarea
  ) {
    border-radius: var(--sd-vs-radius-control) !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(.sd-profile-screen) > .drawer.profile-drawer:has(.sd-profile-screen) .sd-profile-screen :is(
    input:not([type="radio"]):not([type="checkbox"]),
    select,
    textarea
  ) {
    border-radius: var(--sd-vs-radius-control) !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-products .promo-offer-card .promo-offer-media {
    border-radius: var(--sd-vs-radius-card) var(--sd-vs-radius-card) 0 0 !important;
  }

  /* Perfil desktop: card principal com o fundo roxo-claro da referência. */
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-screen .sd-profile-account-card {
    background: #ededed !important;
    background-color: #ededed !important;
  }
  html body.sd-desktop.is-promotions-view .promo-offer-discount-badge {
    border-radius: var(--sd-vs-radius-pill) !important;
    box-shadow: none !important;
  }
}

/* Banner: protege o trilho central entre 1100–1199px e mantém os dois stickers equivalentes. */
@media (min-width: 1100px) and (max-width: 1199px) {
  html body.sd-desktop #main .home-page::after {
    background-size: 120px 120px, 120px 120px !important;
    background-position: left 10px center, right 10px center !important;
  }
}


/* Central de notificações desktop — padrão de painel limpo da referência Dados pessoais. */
@media (min-width: 769px) {
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notif-page {
    background: #fff !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) > .drawer.profile-drawer > :is(.sd-status-page, .sd-notif-page, .sd-subpage) > .sd-subpage-head {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    min-height: 62px !important;
    margin: 0 !important;
    padding: 12px 18px !important;
    border-bottom: 0 !important;
    background: #fff !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-subpage-head .sd-subpage-back {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 50% !important;
    background: #f7f6f8 !important;
    color: #000000 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-subpage-head .sd-subpage-back svg {
    width: 17px !important;
    height: 17px !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-subpage-head .sd-subhead-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #000000 !important;
    font-family: Inter, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) > .drawer.profile-drawer > :is(.sd-status-page, .sd-notif-page, .sd-subpage) > .sd-subpage-head > .sd-subhead-text {
    color: #000000 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-subpage-head .sd-clear-notifications {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    padding: 7px 10px !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #000000 !important;
    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-subpage-head .sd-clear-notifications:hover {
    border-color: #f3f4f6 !important;
    background: #f6f6f6 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) #notificationsBody.sd-notif-body {
    padding: 18px !important;
    background: #fff !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notification-messages {
    margin: 0 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notification-messages h3 {
    margin: 0 0 10px !important;
    color: #000000 !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notification-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 66px !important;
    margin: 0 0 10px !important;
    padding: 12px !important;
    border: 1px solid #e3e3e3 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #000000 !important;
    transition: border-color .16s ease, background-color .16s ease !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notification-item.is-unread {
    border-color: #f3f4f6 !important;
    background: #fafafa !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notification-item:hover {
    border-color: #f3f4f6 !important;
    background: #f9f9f9 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notification-item:focus-visible {
    outline: 3px solid rgba(0, 0, 0, .16) !important;
    outline-offset: 2px !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notification-item .sd-notification-icon {
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid #ebebeb !important;
    background: #f4f4f4 !important;
    color: #000000 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notification-item .sd-notification-icon img {
    width: 36px !important;
    height: 36px !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notification-copy {
    gap: 3px !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notification-copy strong {
    color: #000000 !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notification-copy > span {
    color: #000000 !important;
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notification-store {
    color: #000000 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) .sd-notification-arrow {
    color: #000000 !important;
    font-size: 20px !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(#notificationsBody) #notificationsBody > .empty-cart {
    margin: 8px 0 !important;
    padding: 32px 22px !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 10px !important;
    background: #faf9fc !important;
    box-shadow: none !important;
  }
}

/* Cupom desktop isolado: não participa do fluxo do título ou das informações. */
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view .store-hero-card--desktop {
    position: relative !important;
    align-items: start !important;
  }

  html body.sd-desktop.is-shop-view .store-hero-info {
    align-self: start !important;
  }

  html body.sd-desktop.is-shop-view .sd-store-coupons-badges {
    position: absolute !important;
    top: 178px !important;
    left: 0 !important;
    z-index: 3 !important;
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
  }

  html body.sd-desktop.is-shop-view .store-hero-card--desktop:has(.sd-store-coupons-badges) {
    padding-bottom: 88px !important;
  }
}

/* Checkout bloqueado: mesmo cabeçalho, seta e recuo das subpáginas desktop.
   Escopo restrito ao aviso; não altera o checkout normal nem o mobile. */
@media (min-width: 769px) {
  html body.sd-desktop #overlay.sd-profile-overlay .sd-subpage.sd-checkout-block-page {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 24px 26px 36px !important;
    background: var(--sd-vs-surface) !important;
    color: var(--sd-vs-ink) !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-checkout-block-page > .sd-subpage-head {
    margin: 0 0 18px !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-checkout-block-page .sd-checkout-notice {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
    border: 1px solid var(--sd-vs-line) !important;
    border-radius: var(--sd-vs-radius-card) !important;
    background: var(--sd-vs-surface) !important;
    box-shadow: var(--sd-vs-shadow-card) !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-checkout-block-page .sd-checkout-notice p {
    margin: 0 0 16px !important;
    color: var(--sd-vs-muted) !important;
    font: 400 14px/1.5 Inter, Arial, sans-serif !important;
    overflow-wrap: anywhere;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-checkout-block-page #backToOrder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    border: 1px solid var(--sd-vs-purple) !important;
    border-radius: var(--sd-vs-radius-control) !important;
    background: var(--sd-vs-purple) !important;
    color: var(--sd-vs-surface) !important;
    font: 600 14px/1.35 Inter, Arial, sans-serif !important;
    white-space: normal !important;
    cursor: pointer !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-checkout-block-page #backToOrder:hover {
    border-color: var(--sd-vs-purple-deep) !important;
    background: var(--sd-vs-purple-deep) !important;
  }

  html body.sd-desktop #overlay.sd-profile-overlay .sd-checkout-block-page :is(#closeDrawer, #backToOrder):focus-visible {
    outline: 2px solid var(--sd-vs-purple) !important;
    outline-offset: 3px !important;
  }
}

/* Notificações desktop: ponto compacto, alinhado ao sino e sem cobrir seu traço. */
/* Perfil da loja: pedidos pausados seguem a geometria do badge aberto, em bege. */
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view #main .store-hero-badges-row > .store-badge-status.paused {
    display: inline-flex !important;
    box-sizing: border-box !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    min-height: 24px !important;
    margin: 0 !important;
    padding: 3px 9px !important;
    border: 1px solid var(--sd-vs-paused-line) !important;
    border-radius: var(--sd-vs-radius-card) !important;
    background: var(--sd-vs-paused-surface) !important;
    color: var(--sd-vs-paused-ink) !important;
    box-shadow: none !important;
    font: 400 14px/1.2 Inter, sans-serif !important;
    white-space: nowrap !important;
  }

  html body.sd-desktop.is-shop-view #main .store-hero-badges-row > .store-badge-status.paused svg {
    display: block !important;
    flex: 0 0 15px !important;
    width: 15px !important;
    height: 15px !important;
  }

  html body.sd-desktop.is-shop-view #main .store-hero-badges-row > .store-badge-status.paused :is(svg, svg path) {
    color: var(--sd-vs-paused-ink) !important;
    fill: currentColor !important;
    stroke: none !important;
  }
}

@media (min-width: 769px) {
  html body.sd-desktop .topbar #notificationBtn #notificationBadge {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    box-sizing: border-box !important;
    width: 10px !important;
    min-width: 10px !important;
    max-width: 10px !important;
    height: 10px !important;
    min-height: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 2px solid var(--sd-vs-surface) !important;
    border-radius: var(--sd-vs-radius-circle) !important;
    background: var(--sd-vs-purple) !important;
    box-shadow: none !important;
    transform: none !important;
    pointer-events: none !important;
  }

  html body.sd-desktop .topbar #notificationBtn #notificationBadge.hidden {
    display: none !important;
  }
}
