/* Nobile Selection: home por categoria, vídeos, banner fino, filtros e página de produto (v3)
   Paleta: dourado #C69337 / #A8842F / #E3C77D, escuro #1A1814 / #0E0D0B, creme #F7F3EA */

:root {
  --nb-gold: #C69337;
  --nb-gold-dark: #A8842F;
  --nb-gold-light: #E3C77D;
  --nb-cream: #F7F3EA;
  --nb-dark: #1A1814;
  --nb-black: #0E0D0B;
  --nb-text-on-dark: #EDE7DA;
  --nb-muted-on-dark: #B9B1A2;
}

.nb-cap { text-transform: capitalize; }

/* ================= HOME ================= */

/* Cabeçalho de seção (vitrines e vídeos) */
.nb-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(26, 24, 20, .12);
}
.nb-section-head .section-title { text-align: left; }
.nb-section-subtitle { margin-top: 4px; font-size: 14px; opacity: .75; }
.nb-section-link {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--nb-gold-dark) !important;
  white-space: nowrap;
  text-decoration: none;
}
.nb-section-link:hover, .nb-section-link:focus-visible { text-decoration: underline; }
@media (max-width: 767px) {
  .nb-section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Cards das vitrines na home (somente com "nome curto e selo de sabor" ligado) */
.nb-flavor {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: #EFE7D8;
  color: var(--nb-dark);
}
.nb-flavor-baunilha { background: #F6E7B8; }
.nb-flavor-chocolate { background: #5A3A2A; color: #fff; }
.nb-flavor-morango { background: #F4C7CB; }
.nb-item-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--nb-dark);
  opacity: 1 !important;
}

/* 4 imagens de categoria (seção nativa "Banners de categorias"): 2 por linha no celular */
@media (max-width: 767px) {
  [data-store="home-banner-categories"] [data-mobile-format="grid"] .row:not(.swiper-wrapper) > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Depoimentos em vídeo */
.nb-video-testimonials .swiper-container { overflow: hidden; }
.nb-vt-wrap { position: relative; }
.nb-vt-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: var(--nb-dark);
  cursor: pointer;
}
.nb-vt-card:focus-visible { outline: 3px solid var(--nb-gold); outline-offset: 2px; }
.nb-vt-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nb-vt-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(14, 13, 11, .88), rgba(14, 13, 11, 0));
  pointer-events: none;
}
.nb-vt-type {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(14, 13, 11, .75);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nb-vt-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--nb-gold);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.nb-vt-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  color: #fff;
  line-height: 1.3;
}
.nb-vt-caption strong { font-size: 15px; }
.nb-vt-caption span { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--nb-gold-light); }
.nb-vt-media {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: cover;
}
.nb-vt-card.is-playing::after,
.nb-vt-card.is-playing .nb-vt-play-icon,
.nb-vt-card.is-playing .nb-vt-type,
.nb-vt-card.is-playing .nb-vt-caption { display: none; }
.nb-vt-product {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nb-gold-dark) !important;
}
.nb-vt-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid rgba(26, 24, 20, .15);
  border-radius: 50%;
  background: #fff;
  color: var(--nb-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  cursor: pointer;
}
.nb-vt-nav:focus-visible { outline: 3px solid var(--nb-gold); outline-offset: 2px; }
.nb-vt-nav.swiper-button-disabled { opacity: .35; cursor: default; }
.nb-vt-prev { left: -10px; }
.nb-vt-next { right: -10px; }
.nb-vt-pending {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px;
  border: 2px dashed var(--nb-gold);
  border-radius: 12px;
  background: var(--nb-cream);
}
.nb-vt-pending span {
  flex: 1 1 120px;
  aspect-ratio: 9 / 16;
  max-width: 180px;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  border-radius: 10px;
  background: #e8e0cf;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.nb-vt-pending p { flex: 1 1 100%; margin: 0; font-size: 13px; }

/* Banner fino */
.nb-bf { position: relative; overflow: hidden; background: var(--nb-dark); color: #fff; }
.nb-bf-link { display: block; color: inherit; }
.nb-bf-media, .nb-bf-img { display: block; width: 100%; }
.nb-bf-img { height: auto; aspect-ratio: 1920 / 400; object-fit: cover; }
.nb-bf-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nb-bf-solid .nb-bf-content { position: static; padding-top: 18px; padding-bottom: 18px; }
.nb-bf-text {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.nb-bf-btn {
  flex: 0 0 auto;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--nb-gold);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nb-bf-btn:hover, .nb-bf-btn:focus-visible { background: var(--nb-gold-dark); }
@media (max-width: 767px) {
  .nb-bf-img { aspect-ratio: 2 / 1; }
  .nb-bf-content { flex-direction: column; justify-content: center; text-align: center; }
}

/* ================= LISTAGEM E BUSCA ================= */

.nb-segments { margin: 10px 0 6px; }
.nb-seg-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; min-width: 0; }
.nb-seg-label {
  flex: 0 0 64px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .7;
}
.nb-segments-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
}
.nb-segments-track::-webkit-scrollbar { display: none; }
.nb-segment-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--nb-gold);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--nb-dark) !important;
  background: transparent;
  white-space: nowrap;
  text-decoration: none;
}
.nb-segment-chip-sm { min-height: 36px; padding: 6px 14px; font-size: 12px; }
.nb-segment-chip:hover, .nb-segment-chip:focus-visible { background: #F3E7C9; text-decoration: none; }
.nb-segment-chip.is-active { background: var(--nb-gold); border-color: var(--nb-gold); color: #fff !important; }
.nb-seg-active { margin: 4px 0 0; font-size: 13px; }
.nb-seg-clear { margin-left: 10px; font-weight: 700; color: var(--nb-gold-dark) !important; text-decoration: underline; }
.nb-result-count { margin: 6px 0 0; font-size: 13px; opacity: .75; font-weight: 400; }

/* ================= PÁGINA DE PRODUTO ================= */

.nb-pdp-line {
  margin: -6px 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--nb-gold-dark);
}

/* Seletor de sabores */
.nb-flavors { margin: 6px 0 16px; }
.nb-flavors-label { margin: 0 0 8px; font-size: 14px; }
.nb-flavors-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nb-flavor-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid rgba(26, 24, 20, .25);
  border-radius: 8px;
  background: #fff;
  color: var(--nb-dark) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.nb-flavor-option:hover, .nb-flavor-option:focus-visible { border-color: var(--nb-gold); text-decoration: none; }
.nb-flavor-option.is-current { border: 2px solid var(--nb-gold); background: #FBF6EA; }
.nb-flavor-option.is-soldout { opacity: .55; }
.nb-flavor-option small { font-weight: 400; }
.nb-flavor-dot { width: 14px; height: 14px; border-radius: 50%; background: #ccc; border: 1px solid rgba(0, 0, 0, .15); }
.nb-flavor-baunilha .nb-flavor-dot { background: #F1DB9A; }
.nb-flavor-chocolate .nb-flavor-dot { background: #5A3A2A; }
.nb-flavor-morango .nb-flavor-dot { background: #E58A95; }
@media (max-width: 767px) {
  .nb-flavors-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .nb-flavor-option { justify-content: center; padding: 8px 6px; font-size: 13px; gap: 6px; }
  .nb-flavor-option small { display: none; }
  .nb-flavor-option.is-soldout::after { content: "esgotado"; display: block; font-size: 10px; font-weight: 400; }
  .nb-flavor-option.is-soldout { flex-direction: column; gap: 0; }
}

/* Faixa de categorias trocada pelo caminho (opção da landing) */
body:has(.nb-landing[data-hide-nav="1"]) .head-nav { display: none !important; }
body:has(.nb-landing[data-hide-nav="1"]) .page-header .breadcrumbs {
  display: block !important;
  margin-bottom: 10px;
  font-size: 13px;
}
body:has(.nb-landing[data-hide-nav="1"]) .page-header .breadcrumbs .crumb { color: var(--nb-dark); text-decoration: underline; text-underline-offset: 2px; }
body:has(.nb-landing[data-hide-nav="1"]) .page-header .breadcrumbs .crumb.active { text-decoration: none; opacity: .7; }
body:has(.nb-landing[data-hide-nav="1"]) .page-header .breadcrumbs .separator { font-size: 0; margin: 0 6px; }
body:has(.nb-landing[data-hide-nav="1"]) .page-header .breadcrumbs .separator::before { content: "\203A"; font-size: 13px; }

/* Landing */
.nb-landing { margin-top: 24px; }
.nb-l-section { padding: 48px 0; }
.nb-l-dark { background: var(--nb-black); color: var(--nb-text-on-dark); }
.nb-l-soft { background: var(--nb-cream); }
.nb-l-narrow { max-width: 860px; }
.nb-l-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--nb-gold-light);
}
.nb-l-soft .nb-l-eyebrow, .nb-l-section:not(.nb-l-dark) .nb-l-eyebrow { color: var(--nb-gold-dark); }
.nb-l-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}
.nb-l-subtitle { margin: 34px 0 14px; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.nb-l-lead { max-width: 62ch; margin: 0 0 22px; font-size: 16px; line-height: 1.6; }
.nb-l-note { margin: 12px 0 0; font-size: 12px; opacity: .7; }
.nb-l-dark .nb-l-note { color: var(--nb-muted-on-dark); opacity: 1; }

.nb-l-keys { padding: 32px 0; }
.nb-l-keys-list { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0; padding: 0; list-style: none; }
.nb-l-keys-list li { display: flex; flex-direction: column; }
.nb-l-keys-list strong { font-size: clamp(34px, 6vw, 56px); font-weight: 800; line-height: 1; color: var(--nb-gold-light); }
.nb-l-keys-list span { margin-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 767px) {
  .nb-l-keys-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .nb-l-keys-list strong { font-size: 30px; }
  .nb-l-keys-list span { font-size: 10px; letter-spacing: .06em; }
  .nb-l-section { padding: 36px 0; }
}

.nb-l-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.nb-l-cards-sm { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.nb-l-card { padding: 20px; border: 1px solid rgba(26, 24, 20, .1); border-radius: 12px; background: #fff; }
.nb-l-card h3 { margin: 6px 0 6px; font-size: 16px; font-weight: 800; }
.nb-l-card p { margin: 0; font-size: 14px; line-height: 1.5; }
.nb-l-num { font-size: 28px; font-weight: 800; color: var(--nb-gold-dark); }
.nb-l-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 4px solid var(--nb-gold);
  border-radius: 6px;
  background: var(--nb-cream);
  font-size: 14px;
}

.nb-l-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nb-l-table { width: 100%; min-width: 320px; border-collapse: collapse; background: #fff; font-size: 14px; }
.nb-l-table caption { caption-side: top; padding: 0 0 8px; text-align: left; font-size: 12px; opacity: .7; }
.nb-l-table th, .nb-l-table td { padding: 10px 12px; border-bottom: 1px solid rgba(26, 24, 20, .1); text-align: left; }
.nb-l-table thead th { background: var(--nb-dark); color: #fff; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.nb-l-table tbody th { font-weight: 600; }
.nb-l-table td { white-space: nowrap; }

.nb-l-ingredients { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.nb-l-ingredients li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid rgba(26, 24, 20, .1); font-size: 14px; }
.nb-l-ingredients span { opacity: .75; font-size: 13px; }
.nb-l-allergens { margin: 18px 0 0; font-size: 13px; }

.nb-l-details { margin-top: 26px; border: 1px solid rgba(26, 24, 20, .15); border-radius: 10px; background: #fff; }
.nb-l-details > summary { padding: 16px 18px; font-weight: 700; cursor: pointer; list-style-position: inside; }
.nb-l-details-body { padding: 0 18px 18px; }
.nb-l-details-body .container, .nb-l-details-body [class*="px-md-3"] { padding-left: 0 !important; padding-right: 0 !important; max-width: none; }

.nb-l-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0 0 8px; }
.nb-l-facts > div { padding: 14px 16px; border-radius: 10px; background: var(--nb-cream); }
.nb-l-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .7; }
.nb-l-facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; }

.nb-l-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: nbstep; }
.nb-l-steps li { position: relative; padding: 18px 18px 18px 58px; border-radius: 12px; background: #fff; counter-increment: nbstep; }
.nb-l-steps li::before {
  content: counter(nbstep);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--nb-gold);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nb-l-steps strong { display: block; font-size: 15px; }
.nb-l-steps span { font-size: 14px; opacity: .8; }

.nb-l-vc { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 28px; align-items: center; }
.nb-l-vc-media .nb-vt-card { max-width: 300px; }
.nb-l-tag { display: inline-block; margin-bottom: 10px; padding: 3px 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.nb-l-vc blockquote { margin: 0; font-size: 18px; line-height: 1.5; }
.nb-l-vc-author { margin: 10px 0 18px; color: var(--nb-gold-light); font-weight: 700; }
.nb-l-mini-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: #fff; color: var(--nb-dark); }
.nb-l-mini-card img { width: 64px; height: 64px; object-fit: contain; }
.nb-l-mini-card > div { flex: 1; min-width: 0; }
.nb-l-mini-name { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.3; }
.nb-l-mini-price { margin: 2px 0 0; font-weight: 800; color: var(--nb-gold-dark); }
.nb-l-pending { padding: 18px; border: 2px dashed var(--nb-gold); border-radius: 10px; font-size: 14px; }
@media (max-width: 767px) {
  .nb-l-vc { grid-template-columns: 1fr; }
  .nb-l-vc-media .nb-vt-card { max-width: 220px; margin: 0 auto; }
}

#nb-avaliacoes:not(:has(#reviewsapp > *)):not(:has(.nb-reviews-widget > :not(#reviewsapp))) { display: none; }

.nb-l-faq details { border-bottom: 1px solid rgba(26, 24, 20, .15); }
.nb-l-faq summary {
  position: relative;
  padding: 16px 36px 16px 0;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.nb-l-faq summary::-webkit-details-marker { display: none; }
.nb-l-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 22px;
  color: var(--nb-gold-dark);
}
.nb-l-faq details[open] summary::after { content: "\2212"; }
.nb-l-faq p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; }
.nb-l-faq summary:focus-visible, .nb-l-details > summary:focus-visible { outline: 3px solid var(--nb-gold); outline-offset: 2px; }

.nb-l-closing { text-align: center; }
.nb-l-closing .nb-l-title { font-size: clamp(20px, 2.6vw, 30px); text-transform: none; }
.nb-l-closing-price { margin: 0 0 18px; font-size: 28px; font-weight: 800; color: var(--nb-gold-light); }
.nb-l-cross { margin: 18px 0 0; }
.nb-l-cross a { color: var(--nb-gold-light) !important; text-decoration: underline; }

.nb-l-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 2px solid var(--nb-gold);
  border-radius: 8px;
  background: var(--nb-gold);
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.nb-l-btn:hover, .nb-l-btn:focus-visible { background: var(--nb-gold-dark); border-color: var(--nb-gold-dark); text-decoration: none; }
.nb-l-btn:focus-visible { outline: 3px solid var(--nb-gold-light); outline-offset: 2px; }
.nb-l-btn-outline { background: transparent; color: var(--nb-gold-dark) !important; }
.nb-l-btn-outline:hover { color: #fff !important; }
.nb-l-btn-big { min-width: 240px; min-height: 52px; font-size: 16px; }

/* Barra fixa de compra (celular) */
.nb-sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid rgba(26, 24, 20, .12);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .08);
  transform: translateY(110%);
  transition: transform .2s ease;
}
.nb-sticky-buy.is-visible { transform: translateY(0); }
.nb-sticky-buy-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nb-sticky-buy-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; }
.nb-sticky-buy-price { font-size: 16px; font-weight: 800; }
.nb-sticky-buy-btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--nb-gold);
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nb-sticky-buy-btn:disabled { background: #bbb; }
@media (min-width: 768px) { .nb-sticky-buy { display: none !important; } }
body.nb-has-sticky .js-btn-fixed-bottom, body.nb-has-sticky [class*="whatsapp"] { margin-bottom: 64px; }

@media (prefers-reduced-motion: reduce) {
  .nb-sticky-buy { transition: none; }
}
