/* SDFood — acabamento visual desktop solicitado.
   Uma única linguagem para painéis laterais, Informações, avaliação, busca e categorias. */
@media (min-width: 769px) {
  :root {
    --sd-panel-border: #e6e6e6;
    --sd-panel-radius: 12px;
    --sd-panel-shadow: 0 8px 26px rgba(0, 0, 0, 0.10);
  }

  /* Cartões/ações laterais: mesma borda do painel Informações. */
  body.sd-desktop.is-shop-view #storeMinimalActionsBar {
    gap: 8px !important;
  }
  body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-btn,
  body.sd-desktop.is-shop-view #storeMinimalActionsBar button,
  body.sd-desktop.is-shop-view .store-hero-actions-row button {
    box-sizing: border-box !important;
    min-height: 36px !important;
    border: 1px solid var(--sd-panel-border) !important;
    border-radius: var(--sd-panel-radius) !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  }
  body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-btn:hover,
  body.sd-desktop.is-shop-view #storeMinimalActionsBar button:hover {
    border-color: #f3f4f6 !important;
    background: #faf9fc !important;
  }

  /* SVGs das informações/ações em preto, inclusive paths internos. */
  body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-icon,
  body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-icon svg,
  body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-icon svg *,
  body.sd-desktop.is-shop-view .store-info-modal .store-info-icon,
  body.sd-desktop.is-shop-view .store-info-modal .store-info-icon svg,
  body.sd-desktop.is-shop-view .store-info-modal .store-info-icon svg * {
    color: #111111 !important;
    stroke: currentColor !important;
  }
  body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-icon svg,
  body.sd-desktop.is-shop-view .store-info-modal .store-info-icon svg {
    fill: none !important;
  }

  /* Busca e categorias: deixam de ser pills e usam a mesma borda das Informações. */
  body.sd-desktop.is-shop-view .sd-shop-search-field,
  body.sd-desktop.is-shop-view .sd-shop-search-field.sd-home-search-field,
  body.sd-desktop.is-shop-view .store-tabs-bar {
    border: 1px solid var(--sd-panel-border) !important;
    border-radius: var(--sd-panel-radius) !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  }
  body.sd-desktop.is-shop-view .sd-shop-search-field:focus-within {
    border-color: #f3f4f6 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .08) !important;
  }
  body.sd-desktop.is-shop-view .store-tabs-bar {
    padding-left: 6px !important;
    padding-right: 28px !important;
  }

  /* Gavetas/painéis laterais com a mesma presença visual do card Informações. */
  body.sd-desktop .sd-rate-sheet .sd-rate-card,
  body.sd-desktop .sd-store-info-sheet .sd-store-info-card,
  body.sd-desktop .sd-share-sheet .sd-share-card,
  body.sd-desktop .sd-prod-sheet .sd-prod-card {
    box-sizing: border-box !important;
    border: 1px solid var(--sd-panel-border) !important;
    border-radius: var(--sd-panel-radius) !important;
    background: #fff !important;
    box-shadow: var(--sd-panel-shadow) !important;
  }

  /* Avaliação do produto — a folha anterior era mobile-only. */
  body.sd-desktop .sd-rate-sheet,
  body.sd-desktop .sd-prod-sheet {
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 0 !important;
  }
  body.sd-desktop .sd-rate-sheet .sd-rate-card,
  body.sd-desktop .sd-prod-sheet .sd-prod-card {
    width: min(430px, 100vw) !important;
    min-width: 0 !important;
    max-width: 430px !important;
    min-height: 100vh !important;
    margin: 0 0 0 auto !important;
    padding: 24px 22px 28px !important;
    overflow-y: auto !important;
  }
  body.sd-desktop .sd-rate-sheet .sd-rate-title,
  body.sd-desktop .sd-prod-sheet .sd-rate-title {
    margin: 0 0 12px !important;
    color: #202124 !important;
    font: 700 20px/1.25 Inter, sans-serif !important;
  }
  body.sd-desktop .sd-rate-sheet .sd-rate-sub,
  body.sd-desktop .sd-rate-sheet .sd-share-msg,
  body.sd-desktop .sd-prod-sheet .sd-rate-sub {
    margin: 0 0 16px !important;
    color: #000000 !important;
    font: 400 14px/1.45 Inter, sans-serif !important;
  }
  body.sd-desktop .sd-rate-sheet .sd-rate-stars,
  body.sd-desktop .sd-prod-sheet .sd-rate-stars {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 4px !important;
  }
  body.sd-desktop .sd-rate-sheet .sd-rate-star,
  body.sd-desktop .sd-rate-sheet .sd-rate-star-btn,
  body.sd-desktop .sd-prod-sheet .sd-rate-star,
  body.sd-desktop .sd-prod-sheet .sd-rate-star-btn {
    color: #e3a62b !important;
    font-size: 25px !important;
    line-height: 1 !important;
  }
  body.sd-desktop .sd-rate-sheet .sd-rate-hint,
  body.sd-desktop .sd-rate-sheet .sd-rate-label,
  body.sd-desktop .sd-prod-sheet .sd-rate-hint,
  body.sd-desktop .sd-prod-sheet .sd-rate-label {
    display: block !important;
    margin: 0 0 8px !important;
    color: #000000 !important;
    font: 400 14px/1.3 Inter, sans-serif !important;
  }
  body.sd-desktop .sd-rate-sheet .sd-rate-actions,
  body.sd-desktop .sd-prod-sheet .sd-rate-actions {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }
  body.sd-desktop .sd-rate-sheet .sd-rate-actions button,
  body.sd-desktop .sd-prod-sheet .sd-rate-actions button {
    min-height: 36px !important;
    padding: 7px 10px !important;
    border: 1px solid var(--sd-panel-border) !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #000000 !important;
    font: 400 14px/1.1 Inter, sans-serif !important;
  }
  body.sd-desktop .sd-rate-sheet .sd-rate-actions button:hover,
  body.sd-desktop .sd-prod-sheet .sd-rate-actions button:hover {
    border-color: #f3f4f6 !important;
    background: #f9f9f9 !important;
  }
  body.sd-desktop .sd-rate-sheet .sd-rate-cancel,
  body.sd-desktop .sd-prod-sheet .sd-rate-cancel {
    background: #f7f7f8 !important;
  }

  /* Conteúdo de Informações também respeita o mesmo acabamento. */
  body.sd-desktop .sd-store-info-sheet .sd-store-info-body,
  body.sd-desktop .sd-share-sheet .sd-share-body {
    border-color: var(--sd-panel-border) !important;
  }
}

@media (min-width: 769px) {
  body.sd-desktop.is-shop-view .store-hero-actions-row .store-quick-btn,
  body.sd-desktop.is-shop-view .store-hero-actions-row > a {
    box-sizing: border-box !important;
    border: 1px solid var(--sd-panel-border) !important;
    border-radius: var(--sd-panel-radius) !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  }
  body.sd-desktop.is-shop-view .store-hero-actions-row .store-quick-btn:hover,
  body.sd-desktop.is-shop-view .store-hero-actions-row > a:hover {
    border-color: #f3f4f6 !important;
    background: #faf9fc !important;
  }
  body.sd-desktop.is-shop-view .store-hero-actions-row .store-action-icon,
  body.sd-desktop.is-shop-view .store-hero-actions-row .store-action-icon * {
    color: #111 !important;
    stroke: currentColor !important;
    fill: none !important;
  }
  body.sd-desktop .sd-rate-sheet .sd-rate-legend,
  body.sd-desktop .sd-prod-sheet .sd-rate-legend {
    display: block !important;
    margin: 0 0 8px !important;
    color: #000000 !important;
    font: 400 14px/1.3 Inter, sans-serif !important;
  }
  body.sd-desktop .sd-rate-sheet .sd-rate-star.on,
  body.sd-desktop .sd-prod-sheet .sd-rate-star.on {
    color: #e3a62b !important;
  }
}

/* SDFood — refinamento final sem linha roxa e sem contorno excedente no perfil. */
@media (min-width: 769px) {
  /* Categorias da loja: sem sublinhado roxo em estado ativo/hover. */
  body.sd-desktop.is-shop-view .store-tab-link,
  body.sd-desktop.is-shop-view .store-tab-link.active,
  body.sd-desktop.is-shop-view .store-tab-link.is-active,
  body.sd-desktop.is-shop-view .store-tab-link:hover {
    border: 0 !important;
    border-bottom: 0 !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    color: #000000 !important;
    background: transparent !important;
  }
  body.sd-desktop.is-shop-view .store-tab-link.active,
  body.sd-desktop.is-shop-view .store-tab-link.is-active {
    font-weight: 600 !important;
  }

  /* Logo/avatar do cabeçalho sem moldura roxa clara. */
  html body.sd-desktop .topbar-left .brand img,
  html body.sd-desktop .topbar-right #profileBtn .topbar-avatar,
  html body.sd-desktop .topbar-right #profileBtn .sdfood-profile-asset {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  /* Perfil: o contorno fica exatamente no card, sem uma camada quadrada maior. */
  html body.sd-desktop #overlay.sd-profile-overlay > .drawer.profile-drawer {
    box-sizing: border-box !important;
    width: min(430px, 100vw) !important;
    max-width: 430px !important;
    min-width: 0 !important;
    padding: 18px 20px 16px !important;
    border: 0 !important;
    border-radius: 18px 0 0 18px !important;
    outline: 0 !important;
    box-shadow: -12px 0 34px rgba(0, 0, 0, .12) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-screen {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .profile-menu.sd-profile-menu {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 14px !important;
    outline: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-menu-item,
  html body.sd-desktop #overlay.sd-profile-overlay .profile-menu-item {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-menu-item:first-child,
  html body.sd-desktop #overlay.sd-profile-overlay .profile-menu-item:first-child {
    border-top-left-radius: 13px !important;
    border-top-right-radius: 13px !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-menu-item:last-child,
  html body.sd-desktop #overlay.sd-profile-overlay .profile-menu-item:last-child {
    border-bottom: 0 !important;
    border-bottom-left-radius: 13px !important;
    border-bottom-right-radius: 13px !important;
  }
}

/* Correção específica da captura: estes eram elementos diferentes das abas. */
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view .menu-section .menu-section-header {
    display: block !important;
    width: 100% !important;
    margin: 18px 0 12px !important;
  }
  html body.sd-desktop.is-shop-view .menu-section .menu-section-count {
    display: block !important;
    margin: 0 0 4px !important;
    color: #8d8d8d !important;
    font: 600 9px/1.2 Inter, sans-serif !important;
    letter-spacing: .08em !important;
  }
  html body.sd-desktop.is-shop-view .menu-section .menu-section-header h3,
  html body.sd-desktop.is-shop-view .menu-section > h3 {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 0 !important;
    color: #000000 !important;
    font: 700 18px/1.25 Inter, sans-serif !important;
    box-shadow: none !important;
  }
  html body.sd-desktop.is-shop-view .menu-section .menu-section-line {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 28px !important;
    max-width: none !important;
    width: auto !important;
    height: 1px !important;
    margin: 0 !important;
    border: 0 !important;
    background: #e4e4e4 !important;
    opacity: 1 !important;
    box-shadow: none !important;
  }
  html body.sd-desktop.is-shop-view .menu-section .menu-section-line::before,
  html body.sd-desktop.is-shop-view .menu-section .menu-section-line::after {
    display: none !important;
    content: none !important;
  }
  /* Remover o quadrado lilás atrás do logo da loja. */
  html body.sd-desktop.is-shop-view .store-hero-avatar-wrap {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}

/* Home desktop — cards de lojas ocupam todo o miolo disponível. */
@media (min-width: 769px) {
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores-head,
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 96px !important;
    column-gap: 12px !important;
    row-gap: 12px !important;
    justify-content: stretch !important;
    align-content: start !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores > .store-card,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) > .store-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-self: stretch !important;
  }
}

/* Produtos desktop — promoção sinalizada pela cor, sem asset antes do valor. */
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view .product-card-modern .pc-price-icon:not(.pc-promo-fire-img),
  html body.sd-desktop.is-shop-view .product-card-modern .pc-diamond-img,
  html body.sd-desktop.is-shop-view .product-card-modern .pc-fire-img {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
  }
  html body.sd-desktop.is-shop-view .product-card-modern.has-promotion .pc-price-main,
  html body.sd-desktop.is-shop-view .product-card-modern.has-promotion .pc-price-main strong {
    color: #c62828 !important;
  }
  html body.sd-desktop.is-shop-view .product-card-modern .pc-name,
  html body.sd-desktop.is-shop-view .product-card-modern .pc-name > span {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
  }
  html body.sd-desktop.is-shop-view .shop-view .menu-section--promos .product-card-modern .pc-price-main {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  html body.sd-desktop.is-shop-view .shop-view .menu-section--promos .product-card-modern .pc-promo-fire-img {
    display: inline-block !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    background: none !important;
  }
}

/* Perfil desktop v6 — remove o bleed legado do banner de nível e estabiliza endereços. */
@media (min-width: 769px) {
  /* A regra mobile antiga expandia este banner 40px para fora do drawer. */
  html body.sd-desktop #overlay.sd-profile-overlay #sdProfileLevelTab,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-game--compact {
    box-sizing: border-box !important;
    display: flex !important;
    flex: 0 0 70px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    margin: 0 0 12px !important;
    padding: 2px !important;
    transform: none !important;
    overflow: hidden !important;
    align-self: stretch !important;
    border-radius: 10px !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay #sdProfileLevelTab::before,
  html body.sd-desktop #overlay.sd-profile-overlay #sdProfileLevelTab::after {
    display: none !important;
    content: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay #sdProfileLevelTab > .sd-profile-game-lottie,
  html body.sd-desktop #overlay.sd-profile-overlay #sdProfileLevelTab > .icon {
    flex: 0 0 64px !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay #sdProfileLevelTab > .messages {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay #sdProfileLevelTab > .action {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  /* Card de endereço: texto flexível e ações em coluna, sem sobreposição. */
  html body.sd-desktop #overlay.sd-profile-overlay #favoriteAddressesList,
  html body.sd-desktop #overlay.sd-profile-overlay .favorite-address-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !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;
    padding: 12px !important;
    overflow: hidden !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .favorite-address-card .favorite-address-copy {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .favorite-address-card .favorite-address-copy strong,
  html body.sd-desktop #overlay.sd-profile-overlay .favorite-address-card .favorite-address-copy span {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .favorite-address-card .favorite-address-actions {
    display: flex !important;
    flex: 0 0 92px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 92px !important;
    min-width: 92px !important;
    margin: 0 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay .favorite-address-card .favorite-address-actions .small-outline {
    display: inline-flex !important;
    box-sizing: border-box !important;
    width: 92px !important;
    min-width: 92px !important;
    height: 30px !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
  }
}

/* Cabeçalho da loja desktop — tipografia uniforme solicitada. */
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view .store-hero-badges-row .store-badge-status,
  html body.sd-desktop.is-shop-view .store-hero-badges-row .store-badge-min,
  html body.sd-desktop.is-shop-view .store-hero-actions-row .store-quick-btn,
  html body.sd-desktop.is-shop-view .store-hero-actions-row .store-quick-btn::before,
  html body.sd-desktop.is-shop-view .store-tabs-bar .store-tab-link,
  html body.sd-desktop.is-shop-view .sd-shop-search-field input,
  html body.sd-desktop.is-shop-view .sd-shop-search-field input::placeholder {
    font-family: Inter, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
  }
  html body.sd-desktop.is-shop-view .store-hero-actions-row .store-quick-btn,
  html body.sd-desktop.is-shop-view .store-tabs-bar .store-tab-link,
  html body.sd-desktop.is-shop-view .sd-shop-search-field input {
    line-height: 1.2 !important;
  }
}

/* Cabeçalho da loja desktop v8 — tamanho final solicitado e cliques preservados. */
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view .store-hero-badges-row .store-badge-status,
  html body.sd-desktop.is-shop-view .store-hero-badges-row .store-badge-min,
  html body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-btn,
  html body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-label,
  html body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-val,
  html body.sd-desktop.is-shop-view .store-hero-actions-row .store-quick-btn,
  html body.sd-desktop.is-shop-view .store-hero-actions-row .store-quick-btn::before,
  html body.sd-desktop.is-shop-view .store-tabs-bar .store-tab-link,
  html body.sd-desktop.is-shop-view .sd-shop-search-field input,
  html body.sd-desktop.is-shop-view .sd-shop-search-field input::placeholder {
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
  }
  html body.sd-desktop.is-shop-view #storeMinimalActionsBar,
  html body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-btn,
  html body.sd-desktop.is-shop-view #storeMinimalActionsBar #mOpenStoreHours,
  html body.sd-desktop.is-shop-view #storeMinimalActionsBar #mShareStoreDesktop {
    position: relative !important;
    z-index: 40 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  html body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-btn {
    line-height: 1.2 !important;
  }
}

/* Cards de lojas da Home desktop v9 — mesma tipografia e status verde. */
@media (min-width: 769px) {
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-copy h3,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-meta,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-open,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-rating-count,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-card-category,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .sd-desktop-store-info,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-card-foot,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-card-foot span,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-badge {
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-open:not(.closed):not(.paused),
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-open.open {
    color: #15803d !important;
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    font-weight: 400 !important;
  }
}

/* Home desktop v10 — cards separados e compactos, sem linha de horário. */
@media (min-width: 769px) {
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) {
    column-gap: 24px !important;
    row-gap: 14px !important;
    grid-auto-rows: 86px !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-card,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-card {
    height: 86px !important;
    min-height: 86px !important;
    max-height: 86px !important;
    gap: 12px !important;
    padding: 10px 14px !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .sd-foto-moldura,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .sd-foto-moldura > img.store-cover,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-cover {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .sd-desktop-store-info,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .sd-desktop-store-info {
    margin-top: 3px !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
  }
}

/* Home desktop v11 — cards realmente separados e badges de oferta visíveis. */
@media (min-width: 901px) {
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) {
    grid-template-columns: repeat(2, minmax(280px, 380px)) !important;
    justify-content: center !important;
    column-gap: 28px !important;
    row-gap: 16px !important;
    width: min(calc(100vw - 48px), 860px) !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-card,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) > .store-card {
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    box-sizing: border-box !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .07) !important;
    overflow: hidden !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .sd-foto-moldura,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .sd-foto-moldura > img.store-cover,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-cover {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    border-radius: 8px !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-copy > .store-badges,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy > .store-badges {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    margin: 4px 0 0 !important;
    overflow: hidden !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-copy > .store-badges .store-badge,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy > .store-badges .store-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 3px 6px !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 5px !important;
    background: #f0fdf4 !important;
    color: #15803d !important;
    font: 400 11px/1.1 Inter, sans-serif !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-copy > .store-badges .store-badge.promotion,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy > .store-badges .store-badge.promotion {
    border-color: #bbf7d0 !important;
    background: #f0fdf4 !important;
    color: #15803d !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-copy > .store-badges .store-badge.coupon,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy > .store-badges .store-badge.coupon {
    border-color: #bbf7d0 !important;
    background: #f0fdf4 !important;
    color: #15803d !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-copy > .store-badges .store-badge-icon {
    width: 11px !important;
    height: 11px !important;
    object-fit: contain !important;
  }
}

/* Home desktop v12 — conteúdo interno sem corte, mantendo card compacto. */
@media (min-width: 901px) {
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) {
    grid-auto-rows: 104px !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-card,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) > .store-card {
    height: 104px !important;
    min-height: 104px !important;
    max-height: 104px !important;
    padding: 8px 12px !important;
    align-items: center !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-copy,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy {
    min-width: 0 !important;
    overflow: visible !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-copy h3,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy h3 {
    margin-bottom: 2px !important;
    line-height: 1.15 !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-card-category,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-card-category {
    margin-top: 1px !important;
    line-height: 1.15 !important;
  }
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores .store-copy > .store-badges,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy > .store-badges {
    margin-top: 2px !important;
  }
}

/* Home desktop v13 — cards no padrão da referência (layout + roxo no lugar do verde). */
@media (min-width: 769px) {
  /* Grade: 2 colunas, cards com respiro. */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(280px, 420px)) !important;
    justify-content: center !important;
    column-gap: 20px !important;
    row-gap: 14px !important;
    grid-auto-rows: auto !important;
    width: min(calc(100vw - 48px), 900px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Card: horizontal, branco, borda suave, sombra leve. */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores > .store-card,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) > .store-card {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 88px !important;
    max-height: none !important;
    padding: 12px 14px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    overflow: hidden !important;
    cursor: pointer !important;
  }

  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores > .store-card:hover,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) > .store-card:hover {
    border-color: #f3f4f6 !important;
    background: #fbfbfb !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  }

  /* Logo à esquerda. */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .sd-foto-moldura,
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-cover,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .sd-foto-moldura,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-cover {
    flex: 0 0 64px !important;
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    min-height: 64px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    overflow: hidden !important;
  }

  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .sd-foto-moldura > img.store-cover,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .sd-foto-moldura > img.store-cover {
    width: 64px !important;
    height: 64px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
  }

  /* Badges de oferta por imagem (promo12/cupom12) — esconder no desktop, usamos o texto. */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .sd-store-offer-badges,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .sd-store-offer-badges {
    display: none !important;
  }

  /* Conteúdo à direita. */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-copy,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 2px !important;
    overflow: visible !important;
  }

  /* Nome da loja. */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-copy h3,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy h3 {
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #000000 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  /* Meta: rating · categoria (status "Aberto" escondido no card compacto). */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-meta,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    color: #000000 !important;
  }

  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-open,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-open {
    display: none !important;
  }

  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-rating-inline,
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-badge-rating,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-rating-inline {
    color: #f5a623 !important;
    font-weight: 500 !important;
  }

  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-rating-count,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-rating-count {
    color: #000000 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
  }

  /* Categoria na mesma linha visual da meta, com separador. */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-card-category,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-card-category {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    color: #000000 !important;
  }
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-card-category:not(:empty)::before,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-card-category:not(:empty)::before {
    content: "·" !important;
    margin: 0 6px 0 2px !important;
    color: #acacac !important;
  }
  /* Coloca categoria logo após a meta no fluxo. */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-meta,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-meta {
    display: inline-flex !important;
  }
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-card-category,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-card-category {
    display: inline !important;
  }

  /* Tempo / frete do rodapé — na mesma coluna do texto, abaixo da meta. */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores > .store-card,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) > .store-card {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    align-items: center !important;
    column-gap: 14px !important;
    row-gap: 0 !important;
  }

  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .sd-foto-moldura,
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores > .store-card > .store-cover,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .sd-foto-moldura,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) > .store-card > .store-cover {
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
    align-self: center !important;
  }

  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-copy,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-card-foot,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-card-foot {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 1px 0 0 0 !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    position: static !important;
  }

  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-card-foot .sd-store-time-icon,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-card-foot .sd-store-time-icon {
    width: 12px !important;
    height: 12px !important;
    object-fit: contain !important;
    opacity: 0.7 !important;
  }

  /* Badges ficam dentro do store-copy (já no grid-row 1). */

  /* Pedido mínimo — esconder no card compacto (ref não mostra). */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .sd-desktop-store-info,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .sd-desktop-store-info {
    display: none !important;
  }

  /* Tags duplicadas e linha de cupom antiga — esconder. */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-card-tags,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-card-tags,
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .sd-store-coupon-line,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .sd-store-coupon-line {
    display: none !important;
  }

  /* Favorito — discreto no canto. */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .sd-home-store-favorite,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .sd-home-store-favorite {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
    opacity: 0.35 !important;
  }

  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores > .store-card,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) > .store-card {
    position: relative !important;
  }

  /* Badges de cupom/promo — roxo no lugar do verde. */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-copy > .store-badges,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy > .store-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 4px !important;
    padding: 0 !important;
  }

  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-copy > .store-badges .store-badge,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy > .store-badges .store-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    border: 1px solid #f3f4f6 !important;
    background: #f2f2f2 !important;
    color: #000000 !important;
    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-copy > .store-badges .store-badge.promotion,
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-copy > .store-badges .store-badge.coupon,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy > .store-badges .store-badge.promotion,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy > .store-badges .store-badge.coupon {
    border-color: #f3f4f6 !important;
    background: #f2f2f2 !important;
    color: #000000 !important;
  }

  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-copy > .store-badges .store-badge-icon,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-copy > .store-badges .store-badge-icon {
    width: 12px !important;
    height: 12px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
  }

  /* Remove qualquer residual de status verde. */
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-open:not(.closed):not(.paused),
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores .store-open.open,
  html body.sd-desktop.is-home-view #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) .store-open:not(.closed):not(.paused) {
    color: #000000 !important;
    background: #f2f2f2 !important;
    border-color: #f3f4f6 !important;
  }
}

/* Home desktop v13b — fallbacks mais amplos (caso falte is-home-view ou sd-desktop-online-stores). */
@media (min-width: 769px) {
  html body.sd-desktop #main .home-page .store-card .store-open,
  html body.sd-desktop #main .stores .store-card .store-open {
    display: none !important;
  }
  html body.sd-desktop #main .home-page .store-card .sd-desktop-store-info,
  html body.sd-desktop #main .stores .store-card .sd-desktop-store-info {
    display: none !important;
  }
  html body.sd-desktop #main .home-page .store-card .store-card-tags,
  html body.sd-desktop #main .home-page .store-card .sd-store-coupon-line,
  html body.sd-desktop #main .stores .store-card .store-card-tags,
  html body.sd-desktop #main .stores .store-card .sd-store-coupon-line {
    display: none !important;
  }
  html body.sd-desktop #main .home-page .store-card .store-badge.promotion,
  html body.sd-desktop #main .home-page .store-card .store-badge.coupon,
  html body.sd-desktop #main .stores .store-card .store-badge.promotion,
  html body.sd-desktop #main .stores .store-card .store-badge.coupon,
  html body.sd-desktop #main .home-page .store-card .store-badges .store-badge,
  html body.sd-desktop #main .stores .store-card .store-badges .store-badge {
    border-color: #f3f4f6 !important;
    background: #f2f2f2 !important;
    color: #000000 !important;
  }
  html body.sd-desktop #main .home-page .stores,
  html body.sd-desktop #main .home-page .sd-desktop-online-stores {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(280px, 420px)) !important;
    justify-content: center !important;
    column-gap: 20px !important;
    row-gap: 14px !important;
  }
  html body.sd-desktop #main .home-page .store-card {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 14px !important;
    min-height: 88px !important;
    height: auto !important;
    max-height: none !important;
    padding: 12px 14px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
  }
  html body.sd-desktop #main .home-page .store-card .store-cover,
  html body.sd-desktop #main .home-page .store-card .sd-foto-moldura,
  html body.sd-desktop #main .home-page .store-card .sd-foto-moldura > img {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
  }
  html body.sd-desktop #main .home-page .store-card .store-copy h3 {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    margin: 0 0 2px 0 !important;
  }
  html body.sd-desktop #main .home-page .store-card .store-meta,
  html body.sd-desktop #main .home-page .store-card .store-card-category,
  html body.sd-desktop #main .home-page .store-card .store-card-foot {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #000000 !important;
  }
}

/* Home desktop v14 — cards compactos, roxo forte, sem espaços vazios. */
@media (min-width: 769px) {
  /* Grade apertada: cards enxutos, sem sobra lateral. */
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card),
  html body.sd-desktop #main .home-page .stores,
  html body.sd-desktop #main .home-page .sd-desktop-online-stores {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 340px)) !important;
    justify-content: center !important;
    column-gap: 14px !important;
    row-gap: 12px !important;
    width: min(calc(100vw - 48px), 720px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-auto-rows: auto !important;
  }

  /* Card compacto: altura baixa, padding mínimo. */
  html body.sd-desktop #main .home-page .store-card,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores > .store-card,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) > .store-card {
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 340px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 10px 12px !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
  }

  /* Logo menor. */
  html body.sd-desktop #main .home-page .store-card .store-cover,
  html body.sd-desktop #main .home-page .store-card .sd-foto-moldura,
  html body.sd-desktop #main .home-page .store-card .sd-foto-moldura > img,
  html body.sd-desktop #main .home-page .store-card > img.store-cover {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    min-height: 56px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
  }

  /* Bloco de texto: tudo empilhado sem folga. */
  html body.sd-desktop #main .home-page .store-card .store-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 1px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Nome + meta na mesma área, sem espaço morto. */
  html body.sd-desktop #main .home-page .store-card .store-copy h3 {
    margin: 0 !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #000000 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  /* Meta: rating e categoria colados, uma linha. */
  html body.sd-desktop #main .home-page .store-card .store-meta {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    color: #000000 !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-open {
    display: none !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-rating-inline,
  html body.sd-desktop #main .home-page .store-card .store-badge-rating {
    color: #f5a623 !important;
    font-weight: 500 !important;
    font-size: 12px !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-rating-count {
    color: #000000 !important;
    font-size: 12px !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-card-category {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    line-height: 1.25 !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-card-category:not(:empty)::before {
    content: "·" !important;
    margin: 0 5px 0 2px !important;
    color: #acacac !important;
  }

  /* Tempo colado abaixo, sem altura extra. */
  html body.sd-desktop #main .home-page .store-card .store-card-foot {
    grid-column: 2 !important;
    grid-row: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    line-height: 1.25 !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-card-foot .sd-store-time-icon {
    width: 11px !important;
    height: 11px !important;
    opacity: 0.65 !important;
  }

  /* Esconder extras. */
  html body.sd-desktop #main .home-page .store-card .sd-desktop-store-info,
  html body.sd-desktop #main .home-page .store-card .store-card-tags,
  html body.sd-desktop #main .home-page .store-card .sd-store-coupon-line,
  html body.sd-desktop #main .home-page .store-card .sd-store-offer-badges {
    display: none !important;
  }

  /* Badge roxo FORTE, colado no fluxo do texto. */
  html body.sd-desktop #main .home-page .store-card .store-copy > .store-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-badge,
  html body.sd-desktop #main .home-page .store-card .store-badges .store-badge,
  html body.sd-desktop #main .home-page .store-card .store-badge.promotion,
  html body.sd-desktop #main .home-page .store-card .store-badge.coupon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    margin: 0 !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
    border: 1px solid #000000 !important;
    background: #000000 !important;
    color: #fff !important;
    font-family: Inter, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-badge-icon,
  html body.sd-desktop #main .home-page .store-card .store-badge .store-badge-icon {
    width: 11px !important;
    height: 11px !important;
    filter: brightness(0) invert(1) !important;
  }

  /* Favorito discreto. */
  html body.sd-desktop #main .home-page .store-card .sd-home-store-favorite {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 22px !important;
    height: 22px !important;
    opacity: 0.3 !important;
  }

  html body.sd-desktop #main .home-page .store-card {
    position: relative !important;
  }
}

/* Home desktop v15 — cards na largura do título, conteúdo compacto ao lado do nome. */
@media (min-width: 769px) {
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores-head,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card),
  html body.sd-desktop #main .home-page .stores,
  html body.sd-desktop #main .home-page .sd-desktop-online-stores {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body.sd-desktop #main .home-page > .sd-desktop-online-stores,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card),
  html body.sd-desktop #main .home-page .stores,
  html body.sd-desktop #main .home-page .sd-desktop-online-stores {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    align-content: start !important;
    column-gap: 16px !important;
    row-gap: 12px !important;
    grid-auto-rows: auto !important;
  }

  html body.sd-desktop #main .home-page .store-card,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores > .store-card,
  html body.sd-desktop #main .home-page > .stores:not(.sd-hidden-section):has(> .store-card) > .store-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 76px !important;
    max-height: none !important;
    padding: 10px 12px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    justify-self: stretch !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-cover,
  html body.sd-desktop #main .home-page .store-card .sd-foto-moldura,
  html body.sd-desktop #main .home-page .store-card .sd-foto-moldura > img,
  html body.sd-desktop #main .home-page .store-card > img.store-cover {
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    min-height: 56px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-copy {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    column-gap: 8px !important;
    row-gap: 3px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-copy h3 {
    flex: 0 1 auto !important;
    order: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    font-family: Inter, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #000000 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-meta {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    order: 2 !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: #000000 !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-open {
    display: none !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-copy > .store-badges {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    order: 3 !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
  }

  html body.sd-desktop #main .home-page .store-card .sd-card-break {
    flex: 1 1 100% !important;
    order: 4 !important;
    display: block !important;
    width: 100% !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-card-category {
    display: inline !important;
    flex: 0 0 auto !important;
    order: 5 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: #000000 !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-card-category:not(:empty)::before {
    content: none !important;
    display: none !important;
    margin: 0 !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-card-foot {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    order: 6 !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: #000000 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    position: static !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-card-foot::before {
    content: "·" !important;
    margin: 0 6px 0 0 !important;
    color: #acacac !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-card-foot .sd-store-time-icon {
    width: 12px !important;
    height: 12px !important;
    opacity: 0.7 !important;
  }

  html body.sd-desktop #main .home-page .store-card .sd-desktop-store-info,
  html body.sd-desktop #main .home-page .store-card .store-card-tags,
  html body.sd-desktop #main .home-page .store-card .sd-store-coupon-line,
  html body.sd-desktop #main .home-page .store-card .sd-store-offer-badges {
    display: none !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-badge,
  html body.sd-desktop #main .home-page .store-card .store-badges .store-badge,
  html body.sd-desktop #main .home-page .store-card .store-badge.promotion,
  html body.sd-desktop #main .home-page .store-card .store-badge.coupon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    margin: 0 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    border: 1px solid #000000 !important;
    background: #000000 !important;
    color: #fff !important;
    font-family: Inter, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-badge-icon,
  html body.sd-desktop #main .home-page .store-card .store-badge .store-badge-icon {
    width: 11px !important;
    height: 11px !important;
    filter: brightness(0) invert(1) !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-rating-inline,
  html body.sd-desktop #main .home-page .store-card .store-rating-star {
    color: #f5a623 !important;
    font-size: 13px !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-rating-count {
    color: #000000 !important;
    font-size: 13px !important;
  }
}

/* Home desktop v16 — uma linha de meta, badge roxo forte, sem bullets soltos. */
@media (min-width: 769px) {
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores-head,
  html body.sd-desktop #main .home-page > .sd-desktop-online-stores,
  html body.sd-desktop #main .home-page .sd-desktop-online-stores {
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body.sd-desktop #main .home-page .sd-desktop-online-stores {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 16px !important;
    row-gap: 12px !important;
  }

  html body.sd-desktop #main .home-page .store-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 12px 14px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    box-sizing: border-box !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-cover,
  html body.sd-desktop #main .home-page .store-card .sd-foto-moldura,
  html body.sd-desktop #main .home-page .store-card .sd-foto-moldura > img {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    flex: 0 0 56px !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-copy h3 {
    margin: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #000000 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  html body.sd-desktop #main .home-page .store-card .sd-card-meta-line {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-meta,
  html body.sd-desktop #main .home-page .store-card .store-card-category,
  html body.sd-desktop #main .home-page .store-card .store-card-foot,
  html body.sd-desktop #main .home-page .store-card .sd-card-sep {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: #000000 !important;
    white-space: nowrap !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-open,
  html body.sd-desktop #main .home-page .store-card .sd-card-break,
  html body.sd-desktop #main .home-page .store-card .sd-desktop-store-info,
  html body.sd-desktop #main .home-page .store-card .store-card-tags,
  html body.sd-desktop #main .home-page .store-card .sd-store-coupon-line,
  html body.sd-desktop #main .home-page .store-card .sd-store-offer-badges {
    display: none !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-card-category::before,
  html body.sd-desktop #main .home-page .store-card .store-card-foot::before {
    content: none !important;
    display: none !important;
  }

  html body.sd-desktop #main .home-page .store-card .sd-card-sep {
    color: #acacac !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-rating-inline,
  html body.sd-desktop #main .home-page .store-card .store-rating-star {
    color: #f5a623 !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-card-foot .sd-store-time-icon {
    width: 12px !important;
    height: 12px !important;
    margin-right: 3px !important;
    opacity: 0.7 !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-copy > .store-badges {
    display: flex !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-badge,
  html body.sd-desktop #main .home-page .store-card .store-badge.promotion,
  html body.sd-desktop #main .home-page .store-card .store-badge.coupon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    border: 1px solid #000000 !important;
    background: #000000 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
  }

  html body.sd-desktop #main .home-page .store-card .store-badge-icon {
    width: 11px !important;
    height: 11px !important;
    filter: brightness(0) invert(1) !important;
  }

  html body.sd-desktop #main .home-page .store-card .sd-store-minimum-line {
    display: block !important;
    width: 100% !important;
    order: 7 !important;
    margin-top: 1px !important;
    color: #000000 !important;
    font: inherit !important;
    white-space: nowrap !important;
  }
}


/* Perfil desktop: sem molduras nos blocos e nos ícones SVG. */
@media (min-width: 769px) {
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-screen .sd-profile-summary,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-screen .profile-menu.sd-profile-menu,
  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 .profile-menu-item,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-screen .sd-profile-icon,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-screen .sd-profile-icon svg,
  html body.sd-desktop #overlay.sd-profile-overlay .sd-profile-screen .sd-profile-icon svg * {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }
}

/* Home desktop: tipografia mais leve e discreta, sem alterar o mobile. */
@media (min-width: 769px) {
  html body.sd-desktop.is-home-view #main .home-page > .sd-desktop-online-stores-head h2 {
    font-weight: 600 !important;
  }

  html body.sd-desktop.is-home-view #main .home-page .store-card .store-copy h3 {
    font-weight: 500 !important;
  }
}
