:root,
[class*="color-scheme-"],
[class*="desktop-color-scheme-"],
[class*="mobile-color-scheme-"] {
  --color-primary: 255,203,99 !important;
  --color-star: 255,203,99 !important;
  --product-tag-bg-color: #FFAA00 !important;
  --product-tag-border-color: #FFAA00 !important;
}

:root,
[class~="color-scheme-1"],
[class~="desktop-color-scheme-1"],
[class~="mobile-color-scheme-1"] {
  --color-secondary-button: 250,231,192 !important;
  --color-secondary-button-border: 250,231,192 !important;
  --color-button-hover-background: 255,203,99 !important;
  --color-button-hover-text: 0,0,0 !important;
  --color-button-before: #FCF2DC !important;
}

[class~="color-scheme-2"],
[class~="desktop-color-scheme-2"],
[class~="mobile-color-scheme-2"] {
  --color-button: 255,203,99 !important;
  --color-button-hover-background: 40,40,40 !important;
  --color-button-hover-text: 255,255,255 !important;
  --color-button-before: #333333 !important;
}

[class~="color-scheme-4"],
[class~="desktop-color-scheme-4"],
[class~="mobile-color-scheme-4"] {
  --color-background: 250,231,192 !important;
  --color-secondary-background: 250,231,192 !important;
}

[class~="color-scheme-6"],
[class~="desktop-color-scheme-6"],
[class~="mobile-color-scheme-6"] {
  --color-secondary-button: 250,231,192 !important;
  --color-secondary-button-border: 250,231,192 !important;
  --color-secondary-button-text: 0,0,0 !important;
  --color-product-price-sale: 214,58,47 !important;
}

[class~="color-scheme-7"],
[class~="desktop-color-scheme-7"],
[class~="mobile-color-scheme-7"] {
  --color-background: 255,203,99 !important;
  --color-secondary-background: 255,203,99 !important;
  --color-foreground: 0,0,0 !important;
  --color-text-heading: 0,0,0 !important;
}

[class~="color-scheme-50e8c87e-2ce2-47d8-ac65-c5d203148f62"],
[class~="desktop-color-scheme-50e8c87e-2ce2-47d8-ac65-c5d203148f62"],
[class~="mobile-color-scheme-50e8c87e-2ce2-47d8-ac65-c5d203148f62"] {
  --color-secondary-button: 250,231,192 !important;
  --color-secondary-button-border: 250,231,192 !important;
  --color-product-price-sale: 214,58,47 !important;
}

.cart-drawer > .drawer__inner {
  background-color: #fff;
  color: #000;
}

.cart-drawer > .fixed-overlay {
  background-color: rgba(0, 0, 0, .3);
}

.quick-view > .drawer__inner {
  background-color: #fff;
  color: #000;
}

.quick-view > .fixed-overlay {
  background-color: rgba(0, 0, 0, .3);
}

.mobile-sticky-bar {
  background-color: #fff !important;
}

.menu-drawer > .drawer__inner,
.search-drawer > .drawer__inner {
  background-color: #fff;
  color: #000;
}

.menu-drawer > .fixed-overlay,
.search-drawer > .fixed-overlay {
  background-color: rgba(0, 0, 0, .3);
}

#MenuDrawer .menu-drawer__header img {
  content: url('../assets/images/Revo-logo-svg.svg') !important;
}

#Mega-menu-item-custom_card_kBXzTA .mega-menu__promotions .custom-card__media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#Mega-menu-item-custom_card_kBXzTA .mega-menu__promotions .custom-card__media::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: rgba(0, 0, 0, .92);
  color: #fff;
  content: "Imagem ilustrativa.\A Em breve, fotos reais\A da Revo Nutri.";
  font: 700 18px/1.4 'Poppins', sans-serif;
  text-align: center;
  white-space: pre-line;
  pointer-events: none;
}

#Mega-menu-item-custom_card_kBXzTA .mega-menu__promotions .custom-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .2s ease;
}

.quick-view .revo-quick-view-mock {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
}

.revo-quick-view-mock__media {
  position: relative;
  display: grid;
  min-height: 220px;
  max-height: 260px;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #f4f4f4;
}

.revo-quick-view-mock__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.revo-quick-view-mock__media::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, .92);
  color: #fff;
  content: "Imagem ilustrativa.\A Em breve, fotos reais\A da Revo Nutri.";
  font: 700 22px/1.4 'Poppins', sans-serif;
  text-align: center;
  white-space: pre-line;
  pointer-events: none;
}

.revo-product-image::after,
.product__media-wrapper .product__media-container::after {
  content: "Imagem ilustrativa.\A Em breve, fotos reais\A da Revo Nutri.";
  padding: 24px;
  background: rgba(0, 0, 0, .92);
  font: 700 24px/1.4 'Poppins', sans-serif;
  text-align: center;
  white-space: pre-line;
}

@media (max-width: 767px) {
  .revo-product-image::after,
  .product__media-wrapper .product__media-container::after,
  .revo-quick-view-mock__media::after {
    padding: 18px;
    font-size: 20px;
  }

  #Mega-menu-item-custom_card_kBXzTA .mega-menu__promotions .custom-card__media::after {
    padding: 8px;
    font-size: 15px;
  }
}

.revo-quick-view-mock__eyebrow,
.revo-quick-view-mock__label {
  margin: 0;
  color: #666;
  font: 600 11px/1.4 'Poppins', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.revo-quick-view-mock__title {
  margin: 6px 0 8px;
  color: #000;
  font: 600 25px/1.15 'Oswald', sans-serif;
}

.revo-quick-view-mock__price {
  margin: 0 0 12px;
  color: #000;
  font: 700 20px/1.3 'Poppins', sans-serif;
}

.revo-quick-view-mock__description {
  margin: 0 0 20px;
  color: #333;
  font: 400 13px/1.55 'Poppins', sans-serif;
}

.revo-quick-view-mock__variants {
  display: flex;
  gap: 8px;
  margin: 8px 0 18px;
}

.revo-quick-view-mock__variant {
  min-width: 76px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font: 500 12px/1.2 'Poppins', sans-serif;
  cursor: pointer;
}

.revo-quick-view-mock__variant[aria-pressed="true"] {
  border-color: #000;
  box-shadow: inset 0 0 0 1px #000;
}

.revo-quick-view-mock__quantity {
  display: flex;
  width: 132px;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 18px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.revo-quick-view-mock__quantity button {
  width: 40px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #000;
  font: 500 18px/1 'Poppins', sans-serif;
  cursor: pointer;
}

.revo-quick-view-mock__quantity output {
  color: #000;
  font: 500 13px/1 'Poppins', sans-serif;
}

.revo-quick-view-mock__add {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: #ffcb63;
  color: #000;
  font: 700 13px/1.2 'Oswald', sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.revo-quick-view-mock__details-link {
  display: block;
  margin-top: 14px;
  color: #000;
  font: 500 12px/1.4 'Poppins', sans-serif;
  text-align: center;
  text-decoration: underline;
}

#shopify-section-sections--18917432426605__17419093783634ac46, .country-switcher {
  display: none !important;
}
/* Mega-menu: cards com largura e altura fixas, independente do texto */
.mega-menu__promotions.mega-menu__promotions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.mega-menu__promotions .promotion-item { min-width: 0; }
.mega-menu__promotions .custom-card__media { aspect-ratio: 4 / 3; width: 100%; flex: 0 0 auto; }
.mega-menu__promotions .custom-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mega-menu__promotions .custom-card__info { box-sizing: border-box; height: 7.5rem; flex: 0 0 7.5rem; align-items: center; overflow: hidden; }
.mega-menu__promotions .custom-card__summary { min-width: 0; }
.mega-menu__promotions .custom-card__title,
.mega-menu__promotions .text-subtext {
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; margin: 0;
}
.mega-menu__promotions .custom-card__title { -webkit-line-clamp: 2; min-height: 2.6em; }
.mega-menu__promotions .text-subtext { -webkit-line-clamp: 2; min-height: 2.8em; }

/* Overlay padrão em cards de imagem vazios */
.revo-card-overlay {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  width: 100%; min-height: 360px; height: 100%; padding: 16px;
  border-radius: var(--blocks-radius, 2rem); background: rgba(0,0,0,.92); color: #fff;
  font: 700 18px/1.4 'Poppins', sans-serif; text-align: center;
}
@media (max-width: 767px) {
  .revo-card-overlay { min-height: 260px; font-size: 15px; border-radius: var(--blocks-radius-mobile, 1.6rem); }
}

/* Blog: overlay padrão nas imagens de cards e destaque */
.main-blog .article-card__media,
.main-blog .hero__media { position: relative; isolation: isolate; overflow: hidden; }
.main-blog .article-card__media::after,
.main-blog .hero__media::after {
  content: "Imagem ilustrativa.\A Em breve, fotos reais\A da Revo Nutri.";
  position: absolute; z-index: 12; inset: 0;
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; padding: 12px;
  border-radius: var(--blocks-radius, 2rem);
  background: rgba(0,0,0,.92); color: #fff; text-align: center;
  font: 700 15px/1.35 'Poppins', sans-serif; white-space: pre-line; pointer-events: none;
}
.main-blog .hero__media { min-height: 340px; }
.main-blog .hero__media::after {
  content: "Imagem ilustrativa. Em breve, fotos reais da Revo Nutri.";
  white-space: normal; align-items: flex-end; padding: 0 16px 16px; font-size: 14px;
}
.main-blog .hero__content .rich-text__subheading { text-transform: none; }
@media (max-width: 767px) {
  .main-blog .article-card__media::after,
  .main-blog .hero__media::after { border-radius: var(--blocks-radius-mobile, 1.6rem); font-size: 13px; }
  .main-blog .hero__media { min-height: 440px; }
  .main-blog .hero__media::after { font-size: 12px; padding: 0 12px 12px; }
}
