/* ==========================================================================
   1. TEMA BLACK FRIDAY LARANJA — EXCLUSIVO PARA A PÁGINA DE OFERTAS (#view-offers)
   2. HEADER, BUSCA E MENU MODERNIZADOS COM ÍCONES SVG DUOTONE
   3. ESTILO VISUAL IFOOD NA HOME E CATÁLOGO (STATUS: CONSULTAR NO WHATSAPP)
   4. CESTA / SACOLA ESTILO IFOOD COM CORES E BANCO DE DADOS DO SITE + RECOMENDAÇÕES COM NEXO
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   PARTE 1: PÁGINA DE OFERTAS (#view-offers) — LARANJA OFICIAL BLACK FRIDAY
   ────────────────────────────────────────────────────────────────────────── */
body.theme-black-friday #view-offers,
#view-offers.theme-black-friday {
  --bf-bg-body:         #0D0D11;
  --bf-bg-surface:      #16161C;
  --bf-bg-elevated:     #1F1F27;
  --bf-border-subtle:   rgba(255, 255, 255, 0.08);
  --bf-border-orange:   rgba(245, 130, 31, 0.42);
  --bf-orange-primary:  #F5821F;
  --bf-orange-vibrant:  #FF5500;
  --bf-orange-deep:     #E65100;
  --bf-text-primary:    #FFFFFF;
  --bf-text-secondary:  #A1A1AA;
  --bf-glow-orange:     0 4px 20px rgba(245, 130, 31, 0.32);
  --bf-glow-orange-lg:  0 8px 28px rgba(255, 85, 0, 0.48);

  background-color: var(--bf-bg-body) !important;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(245, 130, 31, 0.16) 0%, rgba(230, 81, 0, 0.06) 42%, transparent 75%),
    linear-gradient(rgba(245, 130, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 130, 31, 0.035) 1px, transparent 1px) !important;
  background-size: 100% 100%, 48px 48px, 48px 48px !important;
  color: var(--bf-text-primary) !important;
  position: relative;
  overflow: hidden;
}

body.theme-black-friday #view-offers .offers-hero-header,
body.theme-black-friday #view-offers .offers-content {
  position: relative;
  z-index: 5;
}

/* Camada de Ícones Flutuantes em Laranja Black Friday (%, $, Etiquetas, Raios) */
body.theme-black-friday #view-offers .bf-floating-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

body.theme-black-friday #view-offers .bf-float-item {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  pointer-events: none;
  color: var(--bf-orange-primary);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 900;
  filter: drop-shadow(0 6px 18px rgba(255, 85, 0, 0.4));
  opacity: 0.22;
  will-change: transform;
}

body.theme-black-friday #view-offers .bf-float-symbol {
  background: linear-gradient(135deg, #FFB74D 0%, #F5821F 45%, #FF5500 80%, #BF360C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

body.theme-black-friday #view-offers .bf-float-coin {
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(245, 130, 31, 0.32), rgba(230, 81, 0, 0.10));
  border: 1.5px solid rgba(245, 130, 31, 0.45);
  box-shadow: inset 0 0 12px rgba(245, 130, 31, 0.25), 0 8px 24px rgba(0, 0, 0, 0.45);
  color: #FF9800;
}

@keyframes bfFloatWaveA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg) scale(1); }
  50%      { transform: translate3d(14px, -28px, 0) rotate(8deg) scale(1.06); }
}

@keyframes bfFloatWaveB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(8deg) scale(1); }
  50%      { transform: translate3d(-16px, -34px, 0) rotate(-10deg) scale(1.08); }
}

@keyframes bfFloatSpinSlow {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(10px, -22px, 0) rotate(18deg); }
}

body.theme-black-friday #view-offers .bf-anim-a { animation: bfFloatWaveA 7.5s ease-in-out infinite; }
body.theme-black-friday #view-offers .bf-anim-b { animation: bfFloatWaveB 9.2s ease-in-out infinite; }
body.theme-black-friday #view-offers .bf-anim-c { animation: bfFloatSpinSlow 11s ease-in-out infinite; }

/* Breadcrumb, Banner e Filtros (#view-offers) */
body.theme-black-friday #view-offers .offers-breadcrumb {
  color: var(--bf-text-secondary) !important;
}

body.theme-black-friday #view-offers .offers-breadcrumb span.link {
  color: var(--bf-orange-primary) !important;
}

body.theme-black-friday #view-offers .offers-breadcrumb span.current {
  color: var(--bf-text-primary) !important;
}

body.theme-black-friday #view-offers .banner-wrap img {
  border: 1px solid var(--bf-border-orange) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.65), 0 0 28px rgba(245, 130, 31, 0.16) !important;
}

body.theme-black-friday #view-offers .offers-cat-pill {
  background: var(--bf-bg-surface) !important;
  color: var(--bf-text-secondary) !important;
  border: 1px solid var(--bf-border-subtle) !important;
}

body.theme-black-friday #view-offers .offers-cat-pill:hover {
  border-color: var(--bf-border-orange) !important;
  color: var(--bf-text-primary) !important;
  background: var(--bf-bg-elevated) !important;
  transform: translateY(-2px);
}

body.theme-black-friday #view-offers .offers-cat-pill.active {
  background: linear-gradient(135deg, var(--bf-orange-primary) 0%, var(--bf-orange-deep) 100%) !important;
  color: #FFFFFF !important;
  border-color: var(--bf-orange-primary) !important;
  font-weight: 800 !important;
  box-shadow: var(--bf-glow-orange) !important;
}

/* Cards de Oferta (#view-offers .offer-card) */
body.theme-black-friday #view-offers .offer-card {
  background: var(--bf-bg-surface) !important;
  border: 1px solid var(--bf-border-subtle) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

body.theme-black-friday #view-offers .offer-card:hover {
  border-color: var(--bf-border-orange) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), 0 0 22px rgba(245, 130, 31, 0.18) !important;
  transform: translateY(-5px) !important;
}

body.theme-black-friday #view-offers .offer-img-wrap {
  background: #050507 !important;
  border-bottom: 1px solid var(--bf-border-subtle) !important;
}

body.theme-black-friday #view-offers .offer-brand {
  color: var(--bf-orange-primary) !important;
}

body.theme-black-friday #view-offers .offer-name {
  color: var(--bf-text-primary) !important;
}

body.theme-black-friday #view-offers .offer-tag {
  color: var(--bf-text-secondary) !important;
}

body.theme-black-friday #view-offers .offer-var-selector span {
  color: var(--bf-text-secondary) !important;
}

body.theme-black-friday #view-offers .offer-var-selector .active-var-name {
  color: var(--bf-orange-primary) !important;
}

body.theme-black-friday #view-offers .var-chip {
  background: var(--bf-bg-elevated) !important;
  border: 1px solid var(--bf-border-subtle) !important;
  color: var(--bf-text-secondary) !important;
}

body.theme-black-friday #view-offers .var-chip.active {
  background: rgba(245, 130, 31, 0.18) !important;
  border-color: var(--bf-orange-primary) !important;
  color: var(--bf-orange-primary) !important;
  font-weight: 800 !important;
}

body.theme-black-friday #view-offers .offer-price {
  color: var(--bf-orange-primary) !important;
}

body.theme-black-friday #view-offers .offer-price sup {
  color: var(--bf-text-primary) !important;
}

body.theme-black-friday #view-offers .offer-price small {
  color: var(--bf-text-secondary) !important;
}

body.theme-black-friday #view-offers .offer-cta {
  background: linear-gradient(135deg, var(--bf-orange-primary) 0%, var(--bf-orange-deep) 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: var(--bf-glow-orange) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease !important;
}

body.theme-black-friday #view-offers .offer-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--bf-glow-orange-lg) !important;
  filter: brightness(1.06);
}

body.theme-black-friday #view-offers .offer-cta.ok {
  background: linear-gradient(135deg, #10B981, #059669) !important;
  color: #FFFFFF !important;
}


/* ──────────────────────────────────────────────────────────────────────────
   PARTE 2: HEADER, BARRA DE PESQUISA E MENU MODERNIZADOS (ESTILO IFOOD/RAIA)
   ────────────────────────────────────────────────────────────────────────── */
body.style-ifood-home {
  background-color: #FFFFFF !important;
}

body.style-ifood-home .site-header {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #F1F5F9 !important;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.03) !important;
}

body.style-ifood-home .header-row {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 3% !important;
  gap: 20px !important;
}

/* Pílula de Localização / Entrega Rápida ao lado da Logo */
body.style-ifood-home .header-delivery-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 0.76rem;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

body.style-ifood-home .header-delivery-pill:hover {
  border-color: #1A73E8;
  background: #F0F7FF;
}

body.style-ifood-home .header-delivery-pill .dot-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

/* Barra de Pesquisa Moderna com Ícone SVG à Esquerda e Botão de Limpar */
body.style-ifood-home .search-wrap {
  flex: 1;
  max-width: 640px !important;
  position: relative;
  display: flex;
  align-items: center;
}

body.style-ifood-home .search-wrap .search-left-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #1A73E8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

body.style-ifood-home .search-wrap input {
  width: 100%;
  height: 48px !important;
  padding: 0 96px 0 48px !important;
  background: #F3F4F6 !important;
  border: 1.5px solid transparent !important;
  border-radius: 14px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #0F172A !important;
  transition: all 0.22s ease !important;
}

body.style-ifood-home .search-wrap input::placeholder {
  color: #64748B !important;
  font-weight: 400;
}

body.style-ifood-home .search-wrap input:focus {
  background: #FFFFFF !important;
  border-color: #1A73E8 !important;
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.12) !important;
}

body.style-ifood-home .search-wrap .btn-search {
  position: absolute;
  right: 6px !important;
  top: 6px !important;
  height: 36px !important;
  width: auto !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  background: #1A73E8 !important;
  color: #FFFFFF !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.25);
}

body.style-ifood-home .search-wrap .btn-search:hover {
  background: #1557B0 !important;
}

/* Botões de Ação à Direita do Header (Início, WhatsApp, Cesta Estilo Pílula) */
body.style-ifood-home .header-right {
  display: flex;
  align-items: center;
  gap: 10px !important;
}

body.style-ifood-home .header-right .hbtn:not(.cart-hbtn) {
  flex-direction: row !important;
  gap: 8px !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  color: #334155 !important;
  background: transparent;
  border: 1px solid transparent;
}

body.style-ifood-home .header-right .hbtn:not(.cart-hbtn):hover {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  color: #1A73E8 !important;
}

body.style-ifood-home .header-right .hbtn.cart-hbtn {
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  background: #1A73E8 !important;
  color: #FFFFFF !important;
  height: 46px !important;
  padding: 0 18px !important;
  border-radius: 99px !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  text-transform: none !important;
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.28) !important;
}

body.style-ifood-home .header-right .hbtn.cart-hbtn:hover {
  background: #1557B0 !important;
  transform: translateY(-1px);
}

body.style-ifood-home .header-right .cart-count {
  position: static !important;
  background: #FFFFFF !important;
  color: #1A73E8 !important;
  font-size: 0.74rem !important;
  font-weight: 900 !important;
  min-width: 22px !important;
  height: 22px !important;
  border-radius: 99px !important;
  padding: 0 6px !important;
  border: none !important;
}

/* Menu de Navegação (Mega-Nav) com Ícones SVG Modernos */
body.style-ifood-home .mega-nav {
  background: #FFFFFF !important;
  border-bottom: 1px solid #F1F5F9 !important;
  box-shadow: none !important;
}

body.style-ifood-home .mega-inner {
  max-width: 1440px;
  gap: 4px;
  padding: 6px 2% !important;
  justify-content: center;
}

body.style-ifood-home .mega-link {
  height: 42px !important;
  padding: 0 13px !important;
  border-radius: 10px !important;
  border-bottom: none !important;
  font-size: 0.81rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.18s ease !important;
}

body.style-ifood-home .mega-link .nav-svg-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F0F7FF;
  color: #1A73E8;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

body.style-ifood-home .mega-link .nav-svg-badge svg {
  width: 15px;
  height: 15px;
}

body.style-ifood-home .mega-item:hover > .mega-link,
body.style-ifood-home .mega-link.active {
  background: #F0F7FF !important;
  color: #1A73E8 !important;
  font-weight: 700 !important;
}

body.style-ifood-home .mega-item:hover > .mega-link .nav-svg-badge,
body.style-ifood-home .mega-link.active .nav-svg-badge {
  background: #1A73E8;
  color: #FFFFFF;
}

/* Pílula Especial "Esquenta Black Friday" no Menu */
body.style-ifood-home .mega-link.offers-link {
  background: rgba(245, 130, 31, 0.12) !important;
  border: 1px solid rgba(245, 130, 31, 0.28) !important;
  border-radius: 99px !important;
  padding: 0 15px !important;
}

body.style-ifood-home .mega-link.offers-link .nav-svg-badge {
  background: linear-gradient(135deg, #F5821F, #E65100) !important;
  color: #FFFFFF !important;
  border-radius: 50%;
}

body.style-ifood-home .mega-link.offers-link:hover {
  background: rgba(245, 130, 31, 0.2) !important;
  transform: translateY(-1px);
}


/* ──────────────────────────────────────────────────────────────────────────
   PARTE 3: HOME E CATÁLOGO ESTILO IFOOD + STATUS "CONSULTAR NO WHATSAPP"
   ────────────────────────────────────────────────────────────────────────── */

body.style-ifood-home .trust-bar {
  background: #FFFFFF !important;
  border-bottom: none !important;
  max-width: 1400px;
  margin: 8px auto 4px;
  padding: 6px 24px;
  gap: 12px !important;
  justify-content: flex-start !important;
  overflow-x: auto;
  scrollbar-width: none;
}
body.style-ifood-home .trust-bar::-webkit-scrollbar { display: none; }

body.style-ifood-home .trust-item {
  flex: 0 0 auto !important;
  min-width: 215px;
  max-width: none !important;
  background: #FFFFFF !important;
  border: 1px solid #ECECEE !important;
  border-radius: 14px !important;
  padding: 12px 16px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

body.style-ifood-home .trust-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #E8F8F0 !important;
}

body.style-ifood-home .trust-icon i {
  color: #16A34A !important;
  font-size: 0.92rem !important;
}

body.style-ifood-home .trust-item .text .top {
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  color: #18181B !important;
}

body.style-ifood-home .trust-item .text .bot {
  font-size: 0.72rem !important;
  color: #71717A !important;
}

/* Linha de Categorias em Círculos Pastel Estilo iFood */
body.style-ifood-home .ifood-categories-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  margin-bottom: 12px;
  scrollbar-width: none;
}
body.style-ifood-home .ifood-categories-row::-webkit-scrollbar { display: none; }

body.style-ifood-home .ifood-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex: 0 0 88px;
  text-align: center;
  transition: transform 0.2s ease;
}

body.style-ifood-home .ifood-cat-item:hover {
  transform: translateY(-3px);
}

body.style-ifood-home .ifood-cat-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

body.style-ifood-home .ifood-cat-item:hover .ifood-cat-circle {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

body.style-ifood-home .ifood-cat-circle i {
  font-size: 1.75rem;
}

body.style-ifood-home .ifood-cat-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #27272A;
  line-height: 1.25;
  max-width: 88px;
}

/* Cabeçalhos das Prateleiras */
body.style-ifood-home #home-shelves > .shelf .section-hd h2,
body.style-ifood-home #section-indi-banners .section-hd h2,
body.style-ifood-home #ai-smart-basket .section-hd h2 {
  font-size: 1.18rem !important;
  font-weight: 800 !important;
  color: #18181B !important;
  letter-spacing: -0.02em !important;
}

body.style-ifood-home #home-shelves > .shelf .section-hd h2 .bar,
body.style-ifood-home #section-indi-banners .section-hd h2 .bar,
body.style-ifood-home #ai-smart-basket .section-hd h2 .bar {
  display: none !important;
}

body.style-ifood-home #home-shelves > .shelf .section-hd .see-all,
body.style-ifood-home #section-indi-banners .section-hd .see-all {
  color: #1A73E8 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}

body.style-ifood-home #section-indi-banners,
body.style-ifood-home #ai-smart-basket,
body.style-ifood-home #section-tabloides-shelf {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px 0 !important;
  margin-bottom: 24px !important;
}

/* Cards de Produto estilo iFood (exceto bloco de ofertas) — Largura Exata Sem Corte na Borda Direita */
body.style-ifood-home .shelf-carousel-wrap {
  position: relative;
  width: 100%;
}

body.style-ifood-home .shelf-scroll {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 16px !important;
}

body.style-ifood-home #home-shelves > .shelf .pcard,
body.style-ifood-home #view-catalog .pcard {
  flex: 0 0 calc((100% - (4 * 16px)) / 5) !important;
  max-width: calc((100% - (4 * 16px)) / 5) !important;
  scroll-snap-align: start;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  position: relative;
}

body.style-ifood-home #view-catalog .pcard {
  flex: none !important;
  max-width: none !important;
}

/* Prateleira de Ofertas Black Friday na Home: 4 cards inteiros sem corte */
@media (min-width: 900px) {
  body.style-ifood-home #dynamic-offers-container .pcard {
    flex: 0 0 calc((100% - (3 * 16px)) / 4) !important;
    max-width: calc((100% - (3 * 16px)) / 4) !important;
    scroll-snap-align: start;
  }
}

@media (max-width: 899px) and (min-width: 601px) {
  body.style-ifood-home #home-shelves > .shelf .pcard {
    flex: 0 0 calc((100% - (2 * 16px)) / 3) !important;
    max-width: calc((100% - (2 * 16px)) / 3) !important;
  }
  body.style-ifood-home #dynamic-offers-container .pcard {
    flex: 0 0 calc((100% - (2 * 16px)) / 3) !important;
    max-width: calc((100% - (2 * 16px)) / 3) !important;
  }
}

/* Botões de Seta para Rolar as Prateleiras (Esquerda / Direita) */
body.style-ifood-home .shelf-arrow-btn {
  position: absolute;
  top: 82px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #1A73E8;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
}

body.style-ifood-home .shelf-arrow-btn:hover {
  background: #1A73E8;
  color: #FFFFFF;
  border-color: #1A73E8;
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.32);
  transform: translateY(-50%) scale(1.06);
}

body.style-ifood-home .shelf-arrow-btn.prev {
  left: -16px;
}

body.style-ifood-home .shelf-arrow-btn.next {
  right: -16px;
}

body.style-ifood-home #dynamic-offers-container .shelf-arrow-btn {
  top: 135px;
}

/* Setas compactas também no cabeçalho ao lado de "Ver mais" */
body.style-ifood-home .shelf-hd-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

body.style-ifood-home .shelf-hd-arrows {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.style-ifood-home .shelf-hd-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #F4F4F5;
  color: #18181B;
  border: 1px solid #E4E4E7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

body.style-ifood-home .shelf-hd-arrow:hover {
  background: #1A73E8;
  color: #FFFFFF;
  border-color: #1A73E8;
}

body.style-ifood-home #home-shelves > .shelf .pcard .pcard-img,
body.style-ifood-home #view-catalog .pcard .pcard-img {
  height: 164px !important;
  background: #F6F6F7 !important;
  border-radius: 16px !important;
  border: none !important;
  padding: 16px !important;
  margin-bottom: 10px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

body.style-ifood-home #home-shelves > .shelf .pcard .pcard-img img,
body.style-ifood-home #view-catalog .pcard .pcard-img img {
  max-height: 132px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  mix-blend-mode: multiply;
}

/* Botão Circular Flutuante (+) nas cores da Drogaria Estrela Dalva */
body.style-ifood-home .ifood-plus-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #1A73E8;
  border: 1px solid rgba(26, 115, 232, 0.14);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 6;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

body.style-ifood-home .ifood-plus-btn:hover {
  transform: scale(1.08);
  background: #1A73E8;
  color: #FFFFFF;
}

body.style-ifood-home .ifood-plus-btn.ok {
  background: #16A34A !important;
  color: #FFFFFF !important;
  border-color: #16A34A !important;
}

/* Status "Consultar no WhatsApp" */
body.style-ifood-home .ifood-card-status {
  font-size: 0.76rem;
  font-weight: 700;
  color: #16A34A;
  line-height: 1.25;
  margin-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

body.style-ifood-home .ifood-card-status:hover {
  text-decoration: underline;
}

body.style-ifood-home #home-shelves > .shelf .pcard .pcard-name,
body.style-ifood-home #view-catalog .pcard .pcard-name {
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  color: #18181B !important;
  line-height: 1.32 !important;
  height: 2.64em !important;
  margin-top: 2px !important;
  margin-bottom: 3px !important;
}

body.style-ifood-home .ifood-card-sub {
  font-size: 0.73rem;
  color: #71717A;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.style-ifood-home #home-shelves > .shelf .pcard .pcard-tags,
body.style-ifood-home #home-shelves > .shelf .pcard .pcard-cta,
body.style-ifood-home #home-shelves > .shelf .pcard .pcard-badge,
body.style-ifood-home #view-catalog .pcard .pcard-tags,
body.style-ifood-home #view-catalog .pcard .pcard-cta,
body.style-ifood-home #view-catalog .pcard .pcard-badge {
  display: none !important;
}


/* ──────────────────────────────────────────────────────────────────────────
   PARTE 4: SACOLA / CESTA ESTILO IFOOD (COM CORES E BANCO DE DADOS DO SITE)
   ────────────────────────────────────────────────────────────────────────── */
body.style-ifood-home .cart-side {
  width: 440px !important;
  max-width: 100vw !important;
  background: #FFFFFF !important;
  border-left: 1px solid #F1F5F9 !important;
  box-shadow: -8px 0 36px rgba(15, 23, 42, 0.14) !important;
}

/* Topo da Sacola estilo iFood: [v]   MINHA CESTA   [Limpar] */
body.style-ifood-home .cart-top {
  padding: 16px 20px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #FFFFFF !important;
}

body.style-ifood-home .cart-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F4F4F5;
  color: #18181B;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

body.style-ifood-home .cart-back-btn:hover {
  background: #E4E4E7;
}

body.style-ifood-home .cart-top-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #18181B;
}

body.style-ifood-home .cart-clear-btn {
  background: none;
  border: none;
  color: #1A73E8;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
}

body.style-ifood-home .cart-clear-btn:hover {
  text-decoration: underline;
}

/* Corpo rolável da Sacola */
body.style-ifood-home .cart-list {
  background: #FFFFFF !important;
  padding: 16px 20px !important;
  overflow-y: auto !important;
}

/* Cabeçalho da Loja dentro da Sacola */
body.style-ifood-home .cart-store-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #F4F4F5;
}

body.style-ifood-home .cart-store-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E4E4E7;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
  flex-shrink: 0;
}

body.style-ifood-home .cart-store-avatar img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

body.style-ifood-home .cart-store-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #18181B;
  margin: 0 0 2px;
}

body.style-ifood-home .cart-store-info span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1A73E8;
  cursor: pointer;
}

/* Carrossel "Precisa de mais alguma coisa?" (Cross-sell com Nexo) */
body.style-ifood-home .cart-upsell-section {
  margin-bottom: 22px;
}

body.style-ifood-home .cart-upsell-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #18181B;
  margin-bottom: 12px;
}

body.style-ifood-home .cart-upsell-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
body.style-ifood-home .cart-upsell-scroll::-webkit-scrollbar { display: none; }

body.style-ifood-home .cart-upsell-card {
  flex: 0 0 118px;
  display: flex;
  flex-direction: column;
}

body.style-ifood-home .cart-upsell-img {
  height: 106px;
  background: #F6F6F7;
  border-radius: 14px;
  padding: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

body.style-ifood-home .cart-upsell-img img {
  max-height: 86px;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

body.style-ifood-home .cart-upsell-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: #18181B;
  margin-bottom: 2px;
}

body.style-ifood-home .cart-upsell-price.consult {
  font-size: 0.7rem;
  color: #16A34A;
  font-weight: 700;
}

body.style-ifood-home .cart-upsell-name {
  font-size: 0.74rem;
  font-weight: 500;
  color: #3F3F46;
  line-height: 1.28;
  height: 2.56em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Cabeçalho "Lista de compra" */
body.style-ifood-home .cart-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-top: 4px;
}

body.style-ifood-home .cart-list-header h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #18181B;
  margin: 0;
}

body.style-ifood-home .cart-list-header span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1A73E8;
}

/* Item da Sacola estilo iFood */
body.style-ifood-home .ifood-citem {
  padding: 14px 0;
  border-bottom: 1px solid #F4F4F5;
}

body.style-ifood-home .ifood-citem-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

body.style-ifood-home .ifood-citem-thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: #F6F6F7;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.style-ifood-home .ifood-citem-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

body.style-ifood-home .ifood-citem-info {
  flex: 1;
  min-width: 0;
}

body.style-ifood-home .ifood-citem-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: #18181B;
  line-height: 1.32;
  margin-bottom: 4px;
}

body.style-ifood-home .ifood-citem-price {
  font-size: 0.86rem;
  font-weight: 800;
  color: #18181B;
}

body.style-ifood-home .ifood-citem-price.consult {
  font-size: 0.74rem;
  font-weight: 700;
  color: #16A34A;
}

/* Seletor de Quantidade em Pílula [🗑 / -   1   +] */
body.style-ifood-home .ifood-qty-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #F4F4F5;
  border-radius: 99px;
  padding: 6px 12px;
  flex-shrink: 0;
}

body.style-ifood-home .ifood-qty-btn {
  background: none;
  border: none;
  color: #1A73E8;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

body.style-ifood-home .ifood-qty-btn.trash {
  color: #DC2626;
}

body.style-ifood-home .ifood-qty-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: #18181B;
  min-width: 14px;
  text-align: center;
}

/* Caixa "Se faltar..." abaixo de cada item (lógica iFood adaptada à farmácia) */
body.style-ifood-home .ifood-sub-box {
  margin-top: 10px;
  margin-left: 66px;
  background: #F4F4F5;
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.style-ifood-home .ifood-sub-label {
  font-size: 0.68rem;
  color: #71717A;
  font-weight: 500;
}

body.style-ifood-home .ifood-sub-select {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: #18181B;
  outline: none;
  cursor: pointer;
  width: 100%;
  padding: 0;
}

/* Botão "Adicionar mais itens" */
body.style-ifood-home .ifood-add-more-btn {
  width: 100%;
  margin-top: 16px;
  padding: 13px;
  border-radius: 12px;
  background: #F4F4F5;
  color: #18181B;
  font-size: 0.84rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

body.style-ifood-home .ifood-add-more-btn:hover {
  background: #E4E4E7;
}

/* Rodapé Fixo da Sacola estilo iFood: Total à esquerda + Botão Continuar à direita */
body.style-ifood-home .cart-foot {
  padding: 16px 20px !important;
  background: #FFFFFF !important;
  border-top: 1px solid #F1F5F9 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
}

body.style-ifood-home .ifood-cart-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

body.style-ifood-home .ifood-cart-total-col {
  display: flex;
  flex-direction: column;
}

body.style-ifood-home .ifood-cart-total-col .lbl {
  font-size: 0.74rem;
  color: #71717A;
  font-weight: 500;
}

body.style-ifood-home .ifood-cart-total-col .val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #18181B;
}

body.style-ifood-home .ifood-cart-total-col .val small {
  font-size: 0.76rem;
  font-weight: 500;
  color: #71717A;
}

body.style-ifood-home .ifood-btn-continue {
  background: #1A73E8;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 14px 26px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.28);
  transition: background 0.2s, transform 0.15s;
}

body.style-ifood-home .ifood-btn-continue:hover {
  background: #1557B0;
  transform: translateY(-1px);
}

/* Garante que a Sacola/Cesta e o Veil fiquem sempre acima da barra inferior mobile */
body.style-ifood-home .veil {
  z-index: 10004 !important;
}
body.style-ifood-home .cart-side {
  z-index: 10005 !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   PARTE 5: RESPONSIVIDADE MOBILE PERFEITA (TABLET & SMARTPHONES)
   ────────────────────────────────────────────────────────────────────────── */
html, body.style-ifood-home {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 860px) {
  /* 1. Header Compacto e Ergonômico no Mobile (2 linhas estilo App iFood) */
  body.style-ifood-home .header-row {
    padding: 10px 14px 12px !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
  }

  body.style-ifood-home .logo img {
    height: 36px !important;
    width: auto !important;
  }

  body.style-ifood-home .header-delivery-pill {
    display: none !important;
  }

  body.style-ifood-home .header-right {
    gap: 8px !important;
    margin-left: auto;
  }

  /* Oculta botão "Início" do topo no mobile pois já está fixo na barra inferior */
  body.style-ifood-home .header-right .hbtn:first-child {
    display: none !important;
  }

  /* Botão Menu Mobile */
  body.style-ifood-home .header-right .hbtn.mob-menu-hbtn {
    display: inline-flex !important;
    padding: 8px 12px !important;
    height: 38px !important;
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 10px !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    gap: 6px !important;
  }

  /* Botão Cesta no Header Mobile */
  body.style-ifood-home .header-right .hbtn.cart-hbtn {
    height: 38px !important;
    padding: 0 12px !important;
    gap: 6px !important;
    font-size: 0.75rem !important;
    border-radius: 99px !important;
  }

  body.style-ifood-home .header-right .hbtn.cart-hbtn span {
    display: none !important; /* Exibe ícone da sacola + contador numérico limpo no topo */
  }

  body.style-ifood-home .header-right .cart-count {
    min-width: 20px !important;
    height: 20px !important;
    font-size: 0.7rem !important;
    padding: 0 5px !important;
  }

  /* 2. Barra de Pesquisa Mobile em Largura Total (16px evita zoom automático no iOS) */
  body.style-ifood-home .search-wrap {
    order: 3;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 2px;
  }

  body.style-ifood-home .search-wrap .search-left-icon {
    left: 14px !important;
  }

  body.style-ifood-home .search-wrap input {
    height: 44px !important;
    padding: 0 84px 0 42px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
  }

  body.style-ifood-home .search-wrap .btn-search {
    height: 34px !important;
    top: 5px !important;
    right: 5px !important;
    padding: 0 13px !important;
    font-size: 0.74rem !important;
    border-radius: 9px !important;
  }

  /* 3. Gaveta de Menu Mobile (.mega-inner.mob-open) Alinhada e Limpa */
  body.style-ifood-home .mega-inner.mob-open {
    padding: 68px 18px 90px !important;
    background: #FFFFFF !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    z-index: 10002 !important;
  }

  body.style-ifood-home .mega-inner.mob-open .mega-item {
    width: 100% !important;
  }

  body.style-ifood-home .mega-inner.mob-open .mega-link {
    width: 100% !important;
    height: 48px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    justify-content: flex-start !important;
    font-size: 0.88rem !important;
    border-bottom: 1px solid #F1F5F9 !important;
  }

  body.style-ifood-home .mega-inner.mob-open .mega-link .chevron {
    margin-left: auto !important;
  }

  body.style-ifood-home .mega-inner.mob-open .mega-link.offers-link {
    margin-top: 6px;
    justify-content: flex-start !important;
  }
}

@media (max-width: 768px) {
  /* 4. Banner Hero Principal no Mobile */
  body.style-ifood-home .hero {
    padding: 8px 12px 4px !important;
    margin: 0 !important;
  }

  body.style-ifood-home .hero-main,
  body.style-ifood-home .hero-slide,
  body.style-ifood-home .hero-banner-img {
    border-radius: 14px !important;
  }

  /* 5. Faixa de Vantagens (Trust Bar) Deslizante Horizontal Estilo App */
  body.style-ifood-home .trust-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 10px !important;
    padding: 6px 12px 10px !important;
    margin: 2px 0 4px !important;
    -webkit-overflow-scrolling: touch;
  }

  body.style-ifood-home .trust-item {
    flex: 0 0 auto !important;
    min-width: 185px !important;
    padding: 9px 12px !important;
    border-radius: 12px !important;
    gap: 10px !important;
  }

  body.style-ifood-home .trust-icon {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }

  body.style-ifood-home .trust-item .text .top {
    font-size: 0.76rem !important;
    white-space: nowrap;
  }

  body.style-ifood-home .trust-item .text .bot {
    display: block !important;
    font-size: 0.68rem !important;
    white-space: nowrap;
  }

  /* 6. Container Principal da Home e Catálogo */
  body.style-ifood-home .page-wrap {
    padding: 8px 12px 24px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  body.style-ifood-home .main {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* 7. Categorias Circulares Estilo iFood no Mobile */
  body.style-ifood-home .ifood-categories-row {
    gap: 12px !important;
    padding: 4px 2px 14px !important;
    margin-bottom: 8px !important;
    -webkit-overflow-scrolling: touch;
  }

  body.style-ifood-home .ifood-cat-item {
    flex: 0 0 72px !important;
    gap: 6px !important;
  }

  body.style-ifood-home .ifood-cat-circle {
    width: 64px !important;
    height: 64px !important;
  }

  body.style-ifood-home .ifood-cat-circle i {
    font-size: 1.4rem !important;
  }

  body.style-ifood-home .ifood-cat-label {
    font-size: 0.7rem !important;
    max-width: 74px !important;
    line-height: 1.2 !important;
  }

  /* 8. Cabeçalhos das Seções e Prateleiras no Mobile */
  body.style-ifood-home .section-hd {
    margin-bottom: 12px !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  body.style-ifood-home #home-shelves > .shelf .section-hd h2,
  body.style-ifood-home #section-indi-banners .section-hd h2,
  body.style-ifood-home #ai-smart-basket .section-hd h2,
  body.style-ifood-home #section-tabloides-shelf .section-hd h2,
  body.style-ifood-home #dynamic-offers-container .section-hd h2 {
    font-size: 1.02rem !important;
    line-height: 1.25 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.style-ifood-home .shelf-hd-right {
    gap: 8px !important;
    flex-shrink: 0;
  }

  body.style-ifood-home .shelf-hd-arrow {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.7rem !important;
  }

  body.style-ifood-home .section-hd .see-all {
    font-size: 0.76rem !important;
    white-space: nowrap !important;
  }

  /* 9. Card do Jornal de Ofertas (Tabloide) no Mobile */
  body.style-ifood-home #card-tabloide-blackfriday {
    padding: 14px !important;
    gap: 14px !important;
    border-radius: 14px !important;
  }

  body.style-ifood-home #card-tabloide-blackfriday .tabloide-banner-header {
    width: 88px !important;
    height: 126px !important;
  }

  body.style-ifood-home #card-tabloide-blackfriday h4 {
    font-size: 0.92rem !important;
    line-height: 1.3 !important;
  }

  body.style-ifood-home #card-tabloide-blackfriday p {
    font-size: 0.75rem !important;
  }

  body.style-ifood-home #card-tabloide-blackfriday a {
    padding: 8px 12px !important;
    font-size: 0.73rem !important;
    flex: 1 1 auto;
    justify-content: center;
  }

  /* 10. Grade do Catálogo e Busca (#view-catalog) — 2 Colunas Perfeitas */
  body.style-ifood-home #view-catalog .pcat-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.style-ifood-home #view-catalog .pcat-grid .pcard {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
  }

  /* 11. Página de Ofertas Black Friday (#view-offers) no Mobile */
  body.theme-black-friday #view-offers .banner-wrap {
    padding: 8px 12px 0 !important;
  }

  body.theme-black-friday #view-offers .banner-wrap img {
    border-radius: 12px !important;
  }

  body.theme-black-friday #view-offers .offers-content {
    padding: 8px 12px 30px !important;
  }

  body.theme-black-friday #view-offers .offers-cat-filter-bar {
    padding: 6px 0 14px !important;
    gap: 8px !important;
  }

  body.theme-black-friday #view-offers .offers-cat-pill {
    padding: 7px 13px !important;
    font-size: 0.75rem !important;
  }

  body.theme-black-friday #view-offers .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.theme-black-friday #view-offers .offer-card {
    border-radius: 14px !important;
  }

  body.theme-black-friday #view-offers .offer-img-wrap {
    min-height: 155px !important;
    max-height: 170px !important;
    padding: 6px !important;
    border-radius: 14px 14px 0 0 !important;
  }

  body.theme-black-friday #view-offers .offer-img-wrap img {
    max-height: 150px !important;
  }

  body.theme-black-friday #view-offers .offer-body {
    padding: 10px !important;
  }

  body.theme-black-friday #view-offers .offer-name {
    font-size: 0.78rem !important;
    line-height: 1.28 !important;
    height: auto !important;
    min-height: 2.5em !important;
  }

  body.theme-black-friday #view-offers .offer-price {
    font-size: 1.2rem !important;
    margin: 4px 0 8px !important;
  }

  body.theme-black-friday #view-offers .offer-cta {
    padding: 10px 8px !important;
    font-size: 0.72rem !important;
    border-radius: 9px !important;
  }

  body.theme-black-friday #view-offers .bf-float-item {
    opacity: 0.13 !important;
    transform: scale(0.65);
  }

  /* 12. Sacola / Cesta Estilo iFood no Mobile (100% da Tela e Acima da App Bar) */
  body.style-ifood-home .cart-side {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  body.style-ifood-home .cart-top {
    padding: 14px 16px !important;
  }

  body.style-ifood-home .cart-list {
    padding: 14px 16px !important;
  }

  body.style-ifood-home .ifood-sub-box {
    margin-left: 0 !important;
    margin-top: 8px !important;
  }

  body.style-ifood-home .cart-foot {
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.style-ifood-home .ifood-btn-continue {
    padding: 13px 20px !important;
    font-size: 0.84rem !important;
  }
}

@media (max-width: 640px) {
  /* 13. Prateleiras na Home Mobile: Exatamente 2 Cards Inteiros por Vez (Zero Corte ao Meio) */
  body.style-ifood-home #home-shelves > .shelf .pcard,
  body.style-ifood-home #dynamic-offers-container .pcard {
    flex: 0 0 calc((100% - 12px) / 2) !important;
    min-width: calc((100% - 12px) / 2) !important;
    max-width: calc((100% - 12px) / 2) !important;
    scroll-snap-align: start !important;
  }

  body.style-ifood-home .shelf-scroll {
    gap: 12px !important;
    padding-bottom: 6px !important;
  }

  body.style-ifood-home #dynamic-offers-container > .shelf {
    padding: 14px 12px !important;
    border-radius: 14px !important;
  }

  body.style-ifood-home #dynamic-offers-container .pcard {
    padding: 10px !important;
  }

  body.style-ifood-home #dynamic-offers-container .pcard-img {
    height: 155px !important;
  }

  body.style-ifood-home #dynamic-offers-container .pcard-img img {
    max-height: 155px !important;
  }

  body.style-ifood-home #home-shelves > .shelf .pcard .pcard-img,
  body.style-ifood-home #view-catalog .pcard .pcard-img {
    height: 142px !important;
    padding: 12px !important;
    border-radius: 14px !important;
    margin-bottom: 8px !important;
  }

  body.style-ifood-home #home-shelves > .shelf .pcard .pcard-img img,
  body.style-ifood-home #view-catalog .pcard .pcard-img img {
    max-height: 116px !important;
  }

  body.style-ifood-home .ifood-plus-btn {
    width: 34px !important;
    height: 34px !important;
    bottom: 6px !important;
    right: 6px !important;
    font-size: 1rem !important;
  }

  body.style-ifood-home .ifood-card-status {
    font-size: 0.72rem !important;
  }

  body.style-ifood-home #home-shelves > .shelf .pcard .pcard-name,
  body.style-ifood-home #view-catalog .pcard .pcard-name {
    font-size: 0.79rem !important;
    line-height: 1.3 !important;
    height: 2.6em !important;
  }

  body.style-ifood-home .ifood-card-sub {
    font-size: 0.69rem !important;
  }

  /* Setas Flutuantes nas Laterais das Prateleiras no Mobile */
  body.style-ifood-home .shelf-arrow-btn {
    width: 32px !important;
    height: 32px !important;
    top: 71px !important;
    font-size: 0.75rem !important;
    background: rgba(255, 255, 255, 0.96) !important;
  }

  body.style-ifood-home #dynamic-offers-container .shelf-arrow-btn {
    top: 105px !important;
  }

  body.style-ifood-home .shelf-arrow-btn.prev {
    left: -4px !important;
  }

  body.style-ifood-home .shelf-arrow-btn.next {
    right: -4px !important;
  }
}
