/* Loja desktop: ações essenciais e busca/categorias compactas acima do cardápio. */
@media (min-width: 769px) {
  body.sd-desktop.is-shop-view .shop-view {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 280px) !important;
    column-gap: 14px !important;
    align-content: start !important;
    align-items: center !important;
  }

  body.sd-desktop.is-shop-view .store-hero-card--desktop {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    margin-bottom: 8px !important;
  }

  /* Só ficam as ações pedidas: Informações e Compartilhar. */
  body.sd-desktop.is-shop-view #storeMinimalActionsBar #mOpenStorePayment,
  body.sd-desktop.is-shop-view #storeMinimalActionsBar #mOpenStoreDelivery,
  body.sd-desktop.is-shop-view #storeMinimalActionsBar #mOpenInstagram,
  body.sd-desktop.is-shop-view .store-hero-actions-row #openStorePayment,
  body.sd-desktop.is-shop-view .store-hero-actions-row #openStoreDelivery,
  body.sd-desktop.is-shop-view .store-hero-actions-row #openInstagram,
  body.sd-desktop.is-shop-view .store-hero-actions-row #shareStore {
    display: none !important;
  }

  body.sd-desktop.is-shop-view #storeMinimalActionsBar {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 4px !important;
  }

  body.sd-desktop.is-shop-view #storeMinimalActionsBar #mOpenStoreHours,
  body.sd-desktop.is-shop-view #storeMinimalActionsBar #mShareStoreDesktop {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-height: 32px !important;
    padding: 0 11px !important;
    border: 1px solid #e3e3e3 !important;
    border-radius: 9px !important;
    background: #faf9fc !important;
    color: #000000 !important;
    font: 500 13px/1.2 Inter, sans-serif !important;
    white-space: nowrap !important;
  }

  body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-icon,
  body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-icon svg {
    display: inline-flex !important;
    width: 17px !important;
    height: 17px !important;
    color: #000000 !important;
  }

  /* Verde somente quando a loja está aberta; pausada/fechada mantém o estado próprio. */
  body.sd-desktop.is-shop-view .store-badge-status.open {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 24px !important;
    padding: 3px 9px !important;
    border: 1px solid #cfe8d5 !important;
    border-radius: 999px !important;
    background: #eff8f0 !important;
    color: #247a3e !important;
    font: 600 13px/1.2 Inter, sans-serif !important;
  }

  body.sd-desktop.is-shop-view .store-badge-status.open svg {
    width: 15px !important;
    height: 15px !important;
    color: #247a3e !important;
    fill: currentColor !important;
  }

  /* Busca interna e categorias compartilham a mesma faixa, logo após o cabeçalho. */
  body.sd-desktop.is-shop-view .sd-shop-search-wrap {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.sd-desktop.is-shop-view .sd-shop-search-field,
  body.sd-desktop.is-shop-view .sd-shop-search-field.sd-home-search-field {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  }

  body.sd-desktop.is-shop-view .sd-shop-search-field .sd-home-search-icon {
    display: inline-flex !important;
    flex: 0 0 18px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    color: #000000 !important;
  }

  body.sd-desktop.is-shop-view .sd-shop-search-field input,
  body.sd-desktop.is-shop-view #menuSearchInput {
    display: block !important;
    flex: 1 1 auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #000000 !important;
    font: 400 13px/1.2 Inter, sans-serif !important;
    box-shadow: none !important;
  }

  body.sd-desktop.is-shop-view .sd-shop-search-field input::placeholder {
    color: #000000 !important;
    opacity: 1 !important;
  }

  /* Barra de categorias estilo pill (encaixada, com overflow e chevron). */
  body.sd-desktop.is-shop-view .store-tabs-bar {
    position: relative !important;
    display: flex !important;
    visibility: visible !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: center !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 40px 0 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  }

  body.sd-desktop.is-shop-view .store-tabs-bar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* Botão real de rolagem: não fica sobre o texto da última categoria. */
  body.sd-desktop.is-shop-view .store-tabs-scroll-next {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid #ececec !important;
    border-radius: 0 999px 999px 0 !important;
    background: linear-gradient(90deg, rgba(255,255,255,.78), #fff 34%) !important;
    color: #000000 !important;
    font: 500 22px/1 Inter, sans-serif !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
  }

  body.sd-desktop.is-shop-view .store-tabs-scroll-next:hover,
  body.sd-desktop.is-shop-view .store-tabs-scroll-next:focus-visible {
    color: #000000 !important;
    outline: 2px solid #f3f4f6 !important;
    outline-offset: -3px !important;
  }

  body.sd-desktop.is-shop-view .store-tab-link {
    position: relative !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 14px 0 !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #000000 !important;
    font: 500 13.5px/1.2 Inter, sans-serif !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: color 0.15s ease, border-color 0.15s ease !important;
  }

  body.sd-desktop.is-shop-view .store-tab-link.active,
  body.sd-desktop.is-shop-view .store-tab-link:hover {
    border-bottom-color: #000000 !important;
    color: #000000 !important;
    background: transparent !important;
  }

  body.sd-desktop.is-shop-view .store-tab-link.active {
    font-weight: 600 !important;
  }

  body.sd-desktop.is-shop-view .shop-layout {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    min-width: 0 !important;
    margin-top: 8px !important;
  }

  body.sd-desktop.is-shop-view .menu-section {
    scroll-margin-top: 82px !important;
  }
}

@media (min-width: 769px) {
  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 .sd-shop-search-field input,
  body.sd-desktop.is-shop-view #menuSearchInput {
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

@media (min-width: 769px) {
  body.sd-desktop.is-shop-view .sd-shop-search-wrap {
    position: relative !important;
  }

  body.sd-desktop.is-shop-view #menuSearchSuggest.menu-suggest:not([hidden]) {
    display: block !important;
    position: absolute !important;
    z-index: 1100 !important;
    top: calc(100% + 7px) !important;
    right: auto !important;
    left: 0 !important;
    box-sizing: border-box !important;
    width: max(320px, 100%) !important;
    max-width: min(380px, calc(100vw - 32px)) !important;
    max-height: min(58vh, 420px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 7px !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .16) !important;
  }

  body.sd-desktop.is-shop-view #menuSearchSuggest.menu-suggest[hidden] {
    display: none !important;
  }

  body.sd-desktop.is-shop-view #menuSearchSuggest .menu-suggest-label {
    display: block !important;
    padding: 9px 10px 5px !important;
    color: #000000 !important;
    font: 600 10px/1.2 Inter, sans-serif !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
  }

  body.sd-desktop.is-shop-view #menuSearchSuggest .menu-suggest-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #000000 !important;
    text-align: left !important;
    font: 500 13px/1.35 Inter, sans-serif !important;
    cursor: pointer !important;
  }

  body.sd-desktop.is-shop-view #menuSearchSuggest .menu-suggest-item:hover,
  body.sd-desktop.is-shop-view #menuSearchSuggest .menu-suggest-item:focus-visible {
    outline: none !important;
    background: #f3f3f3 !important;
  }

  body.sd-desktop.is-shop-view #menuSearchSuggest .menu-suggest-item small {
    color: #000000 !important;
    font: 400 11px/1.3 Inter, sans-serif !important;
  }

  body.sd-desktop.is-shop-view #menuSearchSuggest .menu-suggest-ico {
    display: inline-grid !important;
    flex: 0 0 26px !important;
    place-items: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 7px !important;
    background: #ededed !important;
    color: #000000 !important;
    font: 600 12px/1 Inter, sans-serif !important;
  }

  body.sd-desktop.is-shop-view #storeMinimalActionsBar .store-minimal-icon svg {
    display: block !important;
    flex: 0 0 17px !important;
    width: 17px !important;
    height: 17px !important;
    overflow: visible !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  body.sd-desktop.is-shop-view .shop-view {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 220px) !important;
    column-gap: 10px !important;
  }
  body.sd-desktop.is-shop-view .store-tabs-bar {
    grid-column: 1 !important;
  }
  body.sd-desktop.is-shop-view .sd-shop-search-wrap {
    grid-column: 2 !important;
  }
}

/* Overrides finais: barra de categorias estilo pill (v5) — prevalece sobre categories.css */
@media (min-width: 769px) {
  body.sd-desktop.is-shop-view .store-tabs-bar {
    justify-content: flex-start !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 40px 0 6px !important;
    height: 42px !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  }

  body.sd-desktop.is-shop-view .store-tab-link,
  body.sd-desktop.is-shop-view .store-tab-link.is-active {
    color: #000000 !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    font: 500 13.5px/1.2 Inter, sans-serif !important;
    padding: 0 14px !important;
  }

  body.sd-desktop.is-shop-view .store-tab-link.active,
  body.sd-desktop.is-shop-view .store-tab-link.active.is-active,
  body.sd-desktop.is-shop-view .store-tab-link:hover {
    color: #000000 !important;
    border-bottom-color: #000000 !important;
    background: transparent !important;
  }

  body.sd-desktop.is-shop-view .store-tab-link.active {
    font-weight: 600 !important;
  }
}

@media (min-width: 769px) {
  body.sd-desktop.is-shop-view .shop-layout::before,
  body.sd-desktop.is-shop-view .shop-layout::after,
  body.sd-desktop.is-shop-view .menu-section::before,
  body.sd-desktop.is-shop-view .menu-section::after,
  body.sd-desktop.is-shop-view .menu-section h3::before,
  body.sd-desktop.is-shop-view .menu-section h3::after,
  body.sd-desktop.is-shop-view .menu-section-header::before,
  body.sd-desktop.is-shop-view .menu-section-header::after,
  body.sd-desktop.is-shop-view .menu-section-header h3::before,
  body.sd-desktop.is-shop-view .menu-section-header h3::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  body.sd-desktop.is-shop-view .menu-section,
  body.sd-desktop.is-shop-view .menu-section h3,
  body.sd-desktop.is-shop-view .shop-layout {
    border-left: 0 !important;
    box-shadow: none !important;
  }
}

@media (min-width: 769px) {
  body.sd-desktop.is-shop-view .sd-store-coupons-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin: 10px 0 0 !important;
    max-width: 760px !important;
  }

  body.sd-desktop.is-shop-view .sd-store-coupon-badge {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 224px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    padding: 7px 9px !important;
    border: 1px dashed #f3f4f6 !important;
    border-radius: 12px !important;
    background: linear-gradient(105deg, #fafafa 0%, #f0f0f0 100%) !important;
    color: #000000 !important;
    text-align: left !important;
    font-family: Inter, sans-serif !important;
    cursor: pointer !important;
    overflow: visible !important;
    box-shadow: none !important;
    transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease !important;
  }

  body.sd-desktop.is-shop-view .sd-store-coupon-badge::before,
  body.sd-desktop.is-shop-view .sd-store-coupon-badge::after {
    position: absolute !important;
    right: -7px !important;
    z-index: 2 !important;
    width: 13px !important;
    height: 13px !important;
    border: 1px dashed #f3f4f6 !important;
    border-right: 0 !important;
    border-radius: 50% 0 0 50% !important;
    background: #fff !important;
    content: "" !important;
  }

  body.sd-desktop.is-shop-view .sd-store-coupon-badge::before {
    top: -7px !important;
    clip-path: inset(50% 0 0 0) !important;
  }

  body.sd-desktop.is-shop-view .sd-store-coupon-badge::after {
    bottom: -7px !important;
    clip-path: inset(0 0 50% 0) !important;
  }

  /* Referência aprovada: sem as duas linhas/marcas de recorte nas extremidades. */
  body.sd-desktop.is-shop-view .sd-store-coupon-badge::before,
  body.sd-desktop.is-shop-view .sd-store-coupon-badge::after {
    display: none !important;
    content: none !important;
  }

  body.sd-desktop.is-shop-view .sd-store-coupon-badge:hover {
    border-color: #f3f4f6 !important;
    background: #ededed !important;
    transform: translateY(-1px) !important;
    box-shadow: none !important;
  }

  body.sd-desktop.is-shop-view .sd-store-coupon-badge:focus-visible {
    outline: 2px solid #1b1b1b !important;
    outline-offset: 3px !important;
  }

  body.sd-desktop.is-shop-view .sd-store-coupon-icon {
    display: inline-flex !important;
    flex: 0 0 26px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 8px !important;
    background: transparent !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  body.sd-desktop.is-shop-view .sd-store-coupon-content {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  body.sd-desktop.is-shop-view .sd-store-coupon-content strong,
  body.sd-desktop.is-shop-view .sd-store-coupon-content small {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.sd-desktop.is-shop-view .sd-store-coupon-content strong {
    color: #000000 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
  }

  body.sd-desktop.is-shop-view .sd-store-coupon-content small {
    color: #000000 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
  }

  body.sd-desktop.is-shop-view .sd-store-coupon-code {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    min-height: 24px !important;
    max-width: 110px !important;
    margin-left: 2px !important;
    padding: 0 8px !important;
    border: 0 !important;
    border-left: 1px dashed #000000 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #000000 !important;
    font: 700 11px/1 Inter, sans-serif !important;
    letter-spacing: .02em !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}


/* Correção final: somente a lista rola; a seta permanece fixa no final. */
@media (min-width: 769px) {
  body.sd-desktop.is-shop-view .store-tabs-bar {
    display: flex !important;
    align-items: stretch !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  body.sd-desktop.is-shop-view .store-tabs-scroll {
    display: flex !important;
    flex: 1 1 auto !important;
    align-items: stretch !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  body.sd-desktop.is-shop-view .store-tabs-scroll::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body.sd-desktop.is-shop-view .store-tabs-scroll .store-tab-link {
    flex: 0 0 auto !important;
  }

  body.sd-desktop.is-shop-view .store-tabs-scroll-next {
    position: static !important;
    flex: 0 0 34px !important;
    align-self: stretch !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 40px !important;
    margin: 0 !important;
    border-left: 1px solid #ececec !important;
    border-radius: 0 999px 999px 0 !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }
}


/* Seta alinhada à extremidade externa do card. */
@media (min-width: 769px) {
  body.sd-desktop.is-shop-view .store-tabs-scroll-next {
    flex-basis: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    justify-content: flex-end !important;
    padding: 0 8px 0 0 !important;
  }
}


/* O nav é o próprio card: a seta é o último filho e fica na borda direita. */
@media (min-width: 769px) {
  body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll {
    order: 1 !important;
    width: calc(100% - 40px) !important;
  }

  body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-next {
    order: 2 !important;
    position: static !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    z-index: 4 !important;
  }
}

/* Setas simples nas duas extremidades das abas da loja — somente desktop. */
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view nav.store-tabs-bar {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-prev,
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-next {
    position: static !important;
    display: inline-flex !important;
    flex: 0 0 30px !important;
    align-self: center !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #000000 !important;
    font: 400 22px/1 Inter, sans-serif !important;
    text-decoration: none !important;
    transform: none !important;
    transition: none !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-prev:hover,
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-prev:focus,
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-prev:focus-visible,
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-next:hover,
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-next:focus,
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-next:focus-visible,
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-next:active {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #000000 !important;
    transform: none !important;
    transition: none !important;
  }
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll {
    order: 1 !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    scroll-behavior: auto !important;
  }
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-prev {
    order: 0 !important;
  }
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-next {
    order: 2 !important;
    margin-left: 0 !important;
    justify-content: center !important;
  }
}

/* Setas da barra de categorias um pouco acima do centro, em todas as lojas desktop. */
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-prev,
  html body.sd-desktop.is-shop-view nav.store-tabs-bar > .store-tabs-scroll-next {
    position: relative !important;
    top: -3px !important;
  }
}

/* Storefront de Beleza — aplicado somente quando uma loja da categoria está aberta. */
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view.is-beauty-shop-view .shop-view {
    max-width: 1280px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-bottom: 76px !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-card--desktop {
    position: relative !important;
    box-sizing: border-box !important;
    min-height: 178px !important;
    padding: 22px 28px !important;
    overflow: hidden !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 20px !important;
    background: linear-gradient(108deg, #fff4f8 0%, #fff 57%, #f2f2f2 100%) !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .06) !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-card--desktop::after {
    position: absolute !important;
    top: -86px !important;
    right: -24px !important;
    z-index: 0 !important;
    width: 300px !important;
    height: 300px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 40% 42%, rgba(255,255,255,.9) 0 23%, rgba(255,255,255,.25) 24% 36%, transparent 37%), radial-gradient(circle at 62% 55%, rgba(243, 244, 246, .38), transparent 68%) !important;
    content: "" !important;
    pointer-events: none !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-avatar-wrap,
  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-info,
  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-rating-col {
    position: relative !important;
    z-index: 1 !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-avatar-wrap {
    padding: 5px !important;
    border: 1px solid rgba(255,255,255,.9) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.84) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .10) !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-info::before {
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    min-height: 23px !important;
    margin: 0 0 8px !important;
    padding: 0 10px !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.85) !important;
    color: #000000 !important;
    content: "LOJA ONLINE  ·  BELEZA" !important;
    font: 700 10px/1 Inter, sans-serif !important;
    letter-spacing: .11em !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-title {
    color: #000000 !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    letter-spacing: -.035em !important;
    line-height: 1.12 !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-category {
    margin-top: 7px !important;
    color: #000000 !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-tabs-bar {
    height: 46px !important;
    border-color: #e8e8e8 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .035) !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-tab-link.active,
  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-tab-link:hover {
    border-bottom-color: #d85590 !important;
    color: #000000 !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .sd-shop-search-field {
    min-height: 46px !important;
    height: 46px !important;
    border-color: #e8e8e8 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .035) !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .menu-section-header {
    margin: 0 0 14px !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .menu-section-header h3 {
    color: #000000 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -.02em !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main#main .shop-view .menu-section .products.products-grid-modern {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
    overflow: visible !important;
    padding: 2px 0 10px !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main#main .shop-view .menu-section .product-card-modern {
    min-width: 0 !important;
    border-color: #e8e8e8 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .045) !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main#main .shop-view .menu-section .product-card-modern .pc-media {
    aspect-ratio: 4 / 5 !important;
    background: #f7f4f7 !important;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main#main .shop-view .menu-section .products.products-grid-modern {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}


/* Reutiliza a capa da loja mobile no desktop e mantém a logo circular. */
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-card--desktop {
    background: #fff !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-card--desktop .sd-beauty-store-cover {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: .92 !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-card--desktop::before {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    background: linear-gradient(90deg, rgba(255,248,251,.91) 0%, rgba(255,255,255,.70) 55%, rgba(255,255,255,.28) 100%) !important;
    content: "" !important;
    pointer-events: none !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-card--desktop::after {
    display: none !important;
    content: none !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-avatar-wrap,
  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-info,
  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-rating-col {
    z-index: 2 !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-image {
    display: block !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }
}


/* Ajuste solicitado: sem selo textual e sem aro/borda branca na foto da loja. */
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-info::before {
    display: none !important;
    content: none !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-avatar-wrap {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-image {
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
  }
}


/* Respiro entre o cabeçalho global e o banner da loja Beauty no desktop. */
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view.is-beauty-shop-view .store-hero-card--desktop {
    margin-top: 18px !important;
  }
}


/* =====================================================================
   Banner Beleza — versão minimalista profissional (somente desktop).
   Sem borda, sem sombra, fundo neutro e capa discreta à direita.
   ===================================================================== */
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-hero-card--desktop {
    min-height: 200px !important;
    margin-top: 20px !important;
    padding: 32px 40px !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 24px !important;
    background: #f8f5f3 !important;
    box-shadow: none !important;
    align-items: center !important;
  }

  /* Capa: só na metade direita, suave e com fade para o fundo */
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-hero-card--desktop .sd-beauty-store-cover {
    inset: 0 0 0 auto !important;
    width: 52% !important;
    height: 100% !important;
    opacity: .55 !important;
    filter: saturate(.6) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 60%) !important;
  }
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-hero-card--desktop::before {
    background: linear-gradient(90deg, #f8f5f3 0%, rgba(248,245,243,.85) 45%, rgba(248,245,243,0) 100%) !important;
  }

  /* Logo limpa, sem anel */
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-hero-avatar-wrap {
    width: 120px !important;
    height: 120px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-hero-image {
    width: 120px !important;
    height: 120px !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-hero-info {
    gap: 6px !important;
  }
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-hero-title {
    color: #1b1b1b !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    letter-spacing: -.03em !important;
  }
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-hero-category {
    margin-top: 2px !important;
    color: #8a8386 !important;
    font-size: 14px !important;
  }
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-hero-category-name {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #8a8386 !important;
    text-transform: uppercase !important;
    letter-spacing: .12em !important;
    font-size: 11px !important;
    font-weight: 600 !important;
  }
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-hero-category-rating {
    color: #1b1b1b !important;
  }

  /* Status: texto com ponto, sem caixa */
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-badge-status {
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
  }
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-badge-status svg { display: none !important; }
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-badge-status::before {
    content: "" !important;
    width: 7px !important;
    height: 7px !important;
    margin-right: 7px !important;
    border-radius: 50% !important;
    background: currentColor !important;
    display: inline-block !important;
  }

  /* Botões: pílulas sem borda */
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-hero-actions-row { margin-top: 10px !important; gap: 8px !important; }
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-quick-btn {
    height: 36px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #1b1b1b !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: background .2s ease, color .2s ease !important;
  }
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-quick-btn:hover {
    background: #efeae7 !important;
    color: #1b1b1b !important;
  }
}
@media (min-width: 769px) {
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-hero-card--desktop :is(button, a):not(.store-hero-avatar-wrap *) {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    border-radius: 999px !important;
  }
  html body.sd-desktop.is-shop-view.is-beauty-shop-view #main .store-hero-card--desktop :is(button, a):hover {
    background: #efeae7 !important;
    color: #1b1b1b !important;
  }
}
@media (min-width: 769px) {
  html body.sd-desktop.is-beauty-shop-view.is-shop-view #main#main#main#main .shop-view .store-minimal-actions-bar :is(#mOpenStoreHours, #mOpenInstagram, #mShareStoreDesktop) {
    border: 0 !important;
    background: #fff !important;
    color: #1b1b1b !important;
    font-size: 13px !important;
    height: 36px !important;
  }
  html body.sd-desktop.is-beauty-shop-view.is-shop-view #main#main#main#main .shop-view .store-minimal-actions-bar :is(#mOpenStoreHours, #mOpenInstagram, #mShareStoreDesktop):is(:hover, :focus, :active) {
    background: #efeae7 !important;
    color: #1b1b1b !important;
  }
}
