/* SDFood — Promoções desktop
   A camada inteira fica restrita a >= 769px para preservar o mobile. */
@media (min-width: 769px) {
  html body.sd-desktop.is-promotions-view #main {
    background: #fff !important;
    min-height: calc(100vh - 72px) !important;
  }

  html body.sd-desktop.is-promotions-view .bottom-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body.sd-desktop.is-promotions-view #main > .promotions-page {
    width: min(100% - 64px, 980px) !important;
    max-width: 980px !important;
    margin: 0 auto !important;
    padding: 4px 0 72px !important;
    background: #fff !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-page > .back-link {
    display: none !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-heading {
    display: block !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-heading .eyebrow {
    display: none !important;
    margin: 0 0 5px !important;
    color: #000000 !important;
    font: 600 12px/1.2 "Inter", sans-serif !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-heading h1 {
    margin: 0 !important;
    color: #000000 !important;
    font: 700 30px/1.08 "Inter", sans-serif !important;
    letter-spacing: -.03em !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-heading p:not(.eyebrow) {
    display: none !important;
    margin: 6px 0 0 !important;
    color: #000000 !important;
    font: 400 14px/1.35 "Inter", sans-serif !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-heading-lottie {
    display: none !important;
  }

  html body.sd-desktop.is-promotions-view .sd-promotions-hero {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 21 / 9 !important;
    min-height: 0 !important;
    margin: 0 0 18px !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #000000 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .14) !important;
  }

  html body.sd-desktop.is-promotions-view .sd-promotions-hero img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  html body.sd-desktop.is-promotions-view .sd-promo-category-nav {
    display: none !important;
    align-items: center !important;
    gap: 22px !important;
    min-height: 34px !important;
    margin: 0 0 18px !important;
    padding: 0 2px !important;
    border-bottom: 1px solid #ececec !important;
    overflow: visible !important;
  }

  html body.sd-desktop.is-promotions-view .sd-promo-category-chip {
    position: relative !important;
    padding: 0 0 10px !important;
    border: 0 !important;
    background: transparent !important;
    color: #000000 !important;
    font: 500 14px/1 "Inter", sans-serif !important;
  }

  html body.sd-desktop.is-promotions-view .sd-promo-category-chip.is-active {
    color: #000000 !important;
  }

  html body.sd-desktop.is-promotions-view .sd-promo-category-chip.is-active::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    bottom: -1px !important;
    left: 0 !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: #000000 !important;
  }

  html body.sd-desktop.is-promotions-view .sd-roulette-banner,
  html body.sd-desktop.is-promotions-view .sd-promo-coupons-section {
    display: none !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-toolbar[data-promo-section="promocao"] {
    display: none !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-toolbar[data-promo-section="promocao"] h2 {
    margin: 0 !important;
    color: #000000 !important;
    font: 700 20px/1.2 "Inter", sans-serif !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-toolbar[data-promo-section="promocao"] span {
    color: #000000 !important;
    font: 400 13px/1.2 "Inter", sans-serif !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-products .promo-offer-card {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .10) !important;
    transition: transform .18s ease, box-shadow .18s ease !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-products .promo-offer-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 9px 22px rgba(0, 0, 0, .12) !important;
  }

  html body.sd-desktop.is-promotions-view [data-promo-section="promocao"][style*="display: none"],
  html body.sd-desktop.is-promotions-view .promotions-products .promo-offer-card[style*="display: none"] {
    display: none !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-media {
    position: relative !important;
    flex: 0 0 160px !important;
    height: 160px !important;
    overflow: hidden !important;
    border-radius: 14px 14px 0 0 !important;
    background: #f5f5f5 !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-discount-badge {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    min-width: 42px !important;
    min-height: 28px !important;
    padding: 0 9px !important;
    border-radius: 14px !important;
    background: #f2f2f2 !important;
    color: #000000 !important;
    font: 700 12px/1 "Inter", sans-serif !important;
    box-shadow: none !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-discount-icon {
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    flex: 0 0 14px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-image-stack {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    transform: rotate(-1deg) skewY(1deg) !important;
    transform-origin: center !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-image-stack .promo-offer-img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: translate(0, 0) !important;
    opacity: 1 !important;
    transition: transform .5s ease, opacity .5s ease !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-image-stack .promo-offer-img:nth-child(1) { z-index: 1 !important; }
  html body.sd-desktop.is-promotions-view .promo-offer-image-stack .promo-offer-img:nth-child(2) { z-index: 2 !important; }
  html body.sd-desktop.is-promotions-view .promo-offer-image-stack .promo-offer-img:nth-child(3) { z-index: 3 !important; }
  html body.sd-desktop.is-promotions-view .promo-offer-image-stack .promo-offer-img:nth-child(4) { z-index: 4 !important; }

  html body.sd-desktop.is-promotions-view .promo-offer-media:hover .promo-offer-image-stack .promo-offer-img:nth-child(1) {
    transform: translate(14px, -14px) !important;
    opacity: .4 !important;
  }
  html body.sd-desktop.is-promotions-view .promo-offer-media:hover .promo-offer-image-stack .promo-offer-img:nth-child(2) {
    transform: translate(10px, -10px) !important;
    opacity: .6 !important;
  }
  html body.sd-desktop.is-promotions-view .promo-offer-media:hover .promo-offer-image-stack .promo-offer-img:nth-child(3) {
    transform: translate(6px, -6px) !important;
    opacity: .8 !important;
  }
  html body.sd-desktop.is-promotions-view .promo-offer-media:hover .promo-offer-image-stack .promo-offer-img:nth-child(4) {
    transform: translate(2px, -2px) !important;
    opacity: 1 !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 7px !important;
    min-width: 0 !important;
    padding: 14px !important;
    background: #fff !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-name {
    grid-row: 1 !important;
    box-sizing: border-box !important;
    display: -webkit-box !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #000000 !important;
    font: 600 14px/1.2 "Inter", sans-serif !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-note {
    grid-row: 2 !important;
    box-sizing: border-box !important;
    display: -webkit-box !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #868686 !important;
    font: 400 14px/1.3 "Inter", sans-serif !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-prices {
    grid-row: 3 !important;
    margin-top: auto !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-cta {
    grid-row: 4 !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-body > .pc-rating {
    grid-row: 5 !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-prices strong {
    color: #c62828 !important;
    font: 700 16px/1.2 "Inter", sans-serif !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-prices del {
    color: #a6a6a6 !important;
    font: 400 12px/1.2 "Inter", sans-serif !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-height: 34px !important;
    margin-top: 2px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #f2f2f2 !important;
    color: #000000 !important;
    font: 600 12px/1 "Inter", sans-serif !important;
    cursor: pointer !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-cta:hover {
    background: #f3f4f6 !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-cta svg {
    display: none !important;
    color: #000000 !important;
    stroke: #000000 !important;
    fill: none !important;
  }

  html body.sd-desktop.is-promotions-view .promo-offer-cta::before {
    content: "" !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
    background: url("https://img.lightshot.app/yhXGC2kZQYKx1p1KUNOrow.png") center / contain no-repeat !important;
    filter: brightness(0) !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-products .pc-rating {
    margin: 0 !important;
    color: #898989 !important;
    font-size: 12px !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-products .pc-rating .pc-star,
  html body.sd-desktop.is-promotions-view .promotions-products .pc-rating .pc-star-empty {
    color: #f5b301 !important;
  }

  @media (max-width: 1040px) {
    html body.sd-desktop.is-promotions-view .promotions-products {
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
  }
}


/* Hero de Promoções: menos altura, roxo limpo e cópia alinhada ao exemplo. */
@media (min-width: 769px) {
  html body.sd-desktop.is-promotions-view #main > .promotions-page {
    padding-top: 28px !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-page > .promotions-heading {
    margin: 0 0 12px !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-page .promotions-heading p:not(.eyebrow) {
    display: block !important;
    margin: 6px 0 0 !important;
    color: #000000 !important;
    font: 400 14px/1.35 "Inter", sans-serif !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-page .sd-promotions-hero {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 3 / 1 !important;
    max-height: 320px !important;
    min-height: 0 !important;
    margin: 0 0 18px !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #000000 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12) !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-page .sd-promotions-hero > img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-page .sd-promotions-hero-copy {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    padding: 0 36px 26px !important;
    pointer-events: none !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-page .sd-promotions-hero-title {
    max-width: 55% !important;
    margin: 0 !important;
    color: #fff !important;
    font: 800 clamp(28px, 3.8vw, 48px)/.98 "Inter", sans-serif !important;
    letter-spacing: -.045em !important;
    text-transform: uppercase !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .28) !important;
  }

  html body.sd-desktop.is-promotions-view .promotions-page .sd-promotions-hero-title > span {
    display: block !important;
  }
}


@media (min-width: 769px) {
  html body.sd-desktop.is-promotions-view .promotions-page .sd-promotions-hero-title > span {
    font: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    color: inherit !important;
  }
}

/* O CTA usa fundo roxo; o carrinho precisa permanecer branco em qualquer viewport. */
html body.is-promotions-view .promo-offer-cta svg,
html body.is-promotions-view .promo-offer-cta svg * {
  color: #000000 !important;
  stroke: #000000 !important;
  fill: none !important;
}

/* Desktop: a aba Promoções fica focada somente nos produtos. */
@media (min-width: 769px) {
  html body.sd-desktop.is-promotions-view .sd-promotions-hero {
    display: none !important;
  }
}
