/* ZERO NUTRITION — FINAL THEME / CONTRAST / PRODUCT CARD FIXES */
html,body{min-width:0!important;width:100%!important;overflow-x:hidden!important}

/* Header actions: language + theme + account + cart + search */
.zero-global-header .nav-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;margin-left:auto!important;flex:0 0 auto!important;min-width:0!important}
.zero-global-header .nav-actions .site-tools{display:flex!important;align-items:center!important;gap:7px!important;margin-left:0!important;flex:0 0 auto!important}
.zero-global-header .nav-actions .zero-search-wrap{flex:0 0 auto!important}

/* LIGHT MODE: every light surface gets dark readable text */
html[data-theme="light"] body{color:#171717!important;background:#f5f4f0!important}
html[data-theme="light"] .card{background:#f1f1ef!important;border:1px solid #d8d6d0!important;color:#171717!important}
html[data-theme="light"] .card-media{background:#e7e7e4!important}
html[data-theme="light"] .card-media img{background:#f7f7f5!important}
html[data-theme="light"] .card h3{color:#111!important}
html[data-theme="light"] .card-desc{color:#4f5053!important}
html[data-theme="light"] .spec{background:#fff!important;color:#333!important;border:1px solid #ddd!important}
html[data-theme="light"] .flavor{color:#555!important}
html[data-theme="light"] .section-note{color:#555!important}
html[data-theme="light"] .view-all{color:#171717!important}
html[data-theme="light"] .catalog-card{background:#fff!important;color:#171717!important;border-color:#d8d6d0!important}
html[data-theme="light"] .catalog-body h2{color:#111!important}
html[data-theme="light"] .catalog-body p{color:#4f5053!important}
html[data-theme="light"] .catalog-tag{color:#9b7417!important}
html[data-theme="light"] .catalog-specs span{background:#f3f1eb!important;color:#222!important}
html[data-theme="light"] .catalog-actions .primary{background:#111!important;color:#fff!important}
html[data-theme="light"] .catalog-actions .secondary{color:#171717!important}

/* DARK MODE: product cards must be dark, not white */
html[data-theme="dark"] body{color:#f5f4ef!important}
html[data-theme="dark"] .card{background:#111417!important;border:1px solid #2b3035!important;color:#f5f4ef!important;box-shadow:0 10px 26px rgba(0,0,0,.22)!important}
html[data-theme="dark"] .card-media{background:#090b0d!important}
html[data-theme="dark"] .card-media img{background:transparent!important}
html[data-theme="dark"] .card h3{color:#fff!important}
html[data-theme="dark"] .card-desc{color:#c5c8cb!important}
html[data-theme="dark"] .spec{background:#1b1f23!important;color:#e8e9ea!important;border:1px solid #2b3035!important}
html[data-theme="dark"] .flavor{color:#b8bdc2!important}
html[data-theme="dark"] .catalog-card{background:#111417!important;color:#f5f4ef!important;border-color:#2b3035!important}
html[data-theme="dark"] .catalog-body h2{color:#fff!important}
html[data-theme="dark"] .catalog-body p{color:#c5c8cb!important}
html[data-theme="dark"] .catalog-specs span{background:#171a1d!important;color:#e0e2e4!important}
html[data-theme="dark"] .catalog-actions .primary{background:#0b0d0f!important;color:#fff!important;border-color:#343a40!important}

/* Image area: no white frame around the new product photos */
html[data-theme="dark"] .card-media,
html[data-theme="dark"] .catalog-img,
html[data-theme="dark"] .product-visual{background:#090b0d!important}
html[data-theme="dark"] .card-media img,
html[data-theme="dark"] .catalog-img img,
html[data-theme="dark"] .product-visual img{background:transparent!important}

/* Controls must remain visible in both themes */
.zero-global-header .site-tool{opacity:1!important;visibility:visible!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
html[data-theme="light"] .zero-global-header .site-tool{background:#fff!important;color:#171717!important;border-color:#c8c4b9!important}
html[data-theme="light"] .zero-global-header .site-tool:hover{background:#fffaf0!important;color:#8a6500!important;border-color:#c49b23!important}
html[data-theme="dark"] .zero-global-header .site-tool{background:#111417!important;color:#fff!important;border-color:#454a50!important}
html[data-theme="dark"] .zero-global-header .site-tool *{color:inherit!important}
html[data-theme="dark"] .zero-global-header .site-tool:hover{background:#f0c94c!important;color:#111!important;border-color:#f0c94c!important}

/* Header theme follows selected mode; never white in dark mode */
html[data-theme="light"] .zero-global-header{background:rgba(250,249,245,.98)!important;border-color:#d8d4c8!important}
html[data-theme="light"] .zero-global-header .brand-name,
html[data-theme="light"] .zero-global-header nav a{color:#111!important}
html[data-theme="dark"] .zero-global-header{background:rgba(12,14,16,.97)!important;border-color:#292c30!important}
html[data-theme="dark"] .zero-global-header .brand-name,
html[data-theme="dark"] .zero-global-header nav a{color:#fff!important}

/* Lightbox: image opens over the current site background, not below the page */
.zero-image-lightbox{position:fixed!important;inset:0!important;z-index:999999!important;display:none;align-items:center!important;justify-content:center!important;padding:28px!important;box-sizing:border-box!important;background:rgba(0,0,0,.86)!important;backdrop-filter:blur(8px)!important}
.zero-image-lightbox.open{display:flex!important}
.zero-image-lightbox img{display:block!important;max-width:min(92vw,1200px)!important;max-height:88vh!important;width:auto!important;height:auto!important;object-fit:contain!important;background:transparent!important;padding:0!important;border:0!important;border-radius:10px!important;box-shadow:0 25px 80px rgba(0,0,0,.55)!important;transform:none!important;transition:transform .18s ease!important;cursor:zoom-in!important}
.zero-image-lightbox.zoomed img{transform:scale(1.45)!important;cursor:zoom-out!important}
.zero-image-lightbox .zero-lightbox-close{position:absolute!important;top:18px!important;right:22px!important;z-index:2!important;width:44px!important;height:44px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:50%!important;background:rgba(10,10,10,.65)!important;color:#fff!important;font-size:28px!important;line-height:1!important;cursor:pointer!important}
.zero-image-lightbox .zero-lightbox-hint{position:absolute!important;bottom:18px!important;left:50%!important;transform:translateX(-50%)!important;color:#ddd!important;font-size:11px!important;background:rgba(0,0,0,.55)!important;border-radius:20px!important;padding:8px 12px!important;white-space:nowrap!important}

@media(max-width:900px){
 .zero-global-header .nav-actions{gap:5px!important}
 .zero-global-header .nav-actions .site-tools{gap:5px!important}
}
@media(max-width:700px){
 .zero-global-header .nav-actions{gap:4px!important}
 .zero-global-header .nav-actions .site-tools{gap:4px!important}
 .zero-image-lightbox{padding:14px!important}
 .zero-image-lightbox img{max-width:96vw!important;max-height:84vh!important}
 .zero-image-lightbox .zero-lightbox-close{top:10px!important;right:10px!important}
}


/* ZERO NUTRITION — FINAL PUBLIC THEME PASS V3 */
html[data-theme="dark"] .recipe-card,
html[data-theme="dark"] .recipe-detail-box,
html[data-theme="dark"] .recipe-detail,
html[data-theme="dark"] .recipe-detail-main,
html[data-theme="dark"] .recipe-columns,
html[data-theme="dark"] .recipe-grid{
  color:#f4f4f1!important;
}
html[data-theme="dark"] .recipe-card,
html[data-theme="dark"] .recipe-detail-box{
  background:#111417!important;
  border-color:#2b3035!important;
}
html[data-theme="dark"] .recipe-card h2,
html[data-theme="dark"] .recipe-detail-box h1,
html[data-theme="dark"] .recipe-columns h2{color:#fff!important}
html[data-theme="dark"] .recipe-card p,
html[data-theme="dark"] .recipe-intro,
html[data-theme="dark"] .step,
html[data-theme="dark"] .ingredient,
html[data-theme="dark"] .recipe-meta span{color:#d8dbde!important}
html[data-theme="dark"] .recipe-meta span,
html[data-theme="dark"] .quick-meta span,
html[data-theme="dark"] .ingredient{background:#171a1d!important;border-color:#34393e!important}
html[data-theme="dark"] .recipe-card-media,
html[data-theme="dark"] .recipe-detail-image{background:#090b0d!important}

/* Product catalogue: dark cards in dark mode, readable text in both themes. */
html[data-theme="dark"] .card,
html[data-theme="dark"] .catalog-card{
  background:#111417!important;color:#f4f4f1!important;border-color:#2b3035!important;
}
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .catalog-body h2{color:#fff!important}
html[data-theme="dark"] .card-desc,
html[data-theme="dark"] .catalog-body p,
html[data-theme="dark"] .flavor{color:#cbd0d4!important}
html[data-theme="dark"] .card-media,
html[data-theme="dark"] .catalog-img{background:#090b0d!important}
html[data-theme="dark"] .card-media img,
html[data-theme="dark"] .catalog-img img{background:transparent!important}
html[data-theme="light"] .card,
html[data-theme="light"] .catalog-card{color:#171717!important}
html[data-theme="light"] .card h3,
html[data-theme="light"] .catalog-body h2{color:#111!important}
html[data-theme="light"] .card-desc,
html[data-theme="light"] .catalog-body p,
html[data-theme="light"] .flavor{color:#4a4d51!important}
html[data-theme="light"] .card-media,
html[data-theme="light"] .catalog-img{background:#e9e8e3!important}
html[data-theme="light"] .card-media img,
html[data-theme="light"] .catalog-img img{background:transparent!important}

/* Product detail pages: keep the whole information area on the selected theme. */
html[data-theme="dark"] .product-info,
html[data-theme="dark"] .product-info-page,
html[data-theme="dark"] .product-content{color:#f4f4f1!important}
html[data-theme="dark"] .product-info-box,
html[data-theme="dark"] .product-info-card,
html[data-theme="dark"] .info-card-pro,
html[data-theme="dark"] .side-card{background:#111417!important;color:#f4f4f1!important;border-color:#2b3035!important}
html[data-theme="dark"] .product-info-box p,
html[data-theme="dark"] .product-info-card p,
html[data-theme="dark"] .info-card-pro p{color:#cbd0d4!important}
html[data-theme="light"] .product-info-box,
html[data-theme="light"] .product-info-card,
html[data-theme="light"] .info-card-pro,
html[data-theme="light"] .side-card{background:#fff!important;color:#171717!important}
html[data-theme="light"] .product-info-box p,
html[data-theme="light"] .product-info-card p,
html[data-theme="light"] .info-card-pro p{color:#4a4d51!important}

/* Global controls stay visible after dynamically-rendered product headers. */
.zero-global-header .nav-actions,
.zero-global-header .site-tools,
.zero-global-header .zero-lang-wrap,
.zero-global-header .zero-search-wrap{visibility:visible!important;opacity:1!important}
.zero-global-header .site-tool{visibility:visible!important;opacity:1!important;display:inline-flex!important}

/* ZERO NUTRITION — recipe detail surface correction
   Keep the cosmic page background visible; only the functional content blocks remain surfaced. */
html[data-theme="dark"] .recipe-detail,
html[data-theme="dark"] .recipe-detail-box,
html[data-theme="dark"] .recipe-detail-main{
  background:transparent!important;
  background-image:none!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .recipe-detail-box{overflow:visible!important}
html[data-theme="dark"] .recipe-detail-image{
  border-radius:14px!important;
  overflow:hidden!important;
  box-shadow:0 18px 48px rgba(0,0,0,.28)!important;
}
html[data-theme="dark"] .recipe-top > div:first-child,
html[data-theme="dark"] .recipe-columns > section{
  background:rgba(12,15,18,.72)!important;
  border:1px solid rgba(240,201,76,.10)!important;
  border-radius:12px!important;
  padding:20px!important;
}
html[data-theme="dark"] .recipe-top > div:first-child{padding:22px!important}
html[data-theme="dark"] .recipe-columns > section{padding:18px!important}
html[data-theme="dark"] .nutrition{box-shadow:0 12px 35px rgba(0,0,0,.22)!important}

/* Recipe detail starts directly below the global header on every viewport. */
html,body{margin-top:0!important;padding-top:0!important}
.zero-global-header{margin-top:0!important}
.recipe-detail{margin-top:0!important}


/* ZERO NUTRITION — RECIPE V12 FINAL CONTRAST + TOP SPACING
   Applies to every recipe detail page. */
html[data-theme="dark"] .recipe-detail-box,
html[data-theme="dark"] .recipe-detail-box *,
html[data-theme="dark"] .recipe-top,
html[data-theme="dark"] .recipe-top > div:first-child,
html[data-theme="dark"] .recipe-columns,
html[data-theme="dark"] .recipe-columns > section,
html[data-theme="dark"] .recipe-tip,
html[data-theme="dark"] .recipe-note,
html[data-theme="dark"] .quick-meta,
html[data-theme="dark"] .quick-meta span {
  color:#eef0f2!important;
}
html[data-theme="dark"] .recipe-detail-box h1,
html[data-theme="dark"] .recipe-detail-box h2,
html[data-theme="dark"] .recipe-detail-box h3,
html[data-theme="dark"] .recipe-detail-box strong,
html[data-theme="dark"] .recipe-detail-box b {
  color:#fff!important;
}
html[data-theme="dark"] .recipe-detail-box p,
html[data-theme="dark"] .recipe-detail-box .recipe-intro,
html[data-theme="dark"] .recipe-detail-box .step,
html[data-theme="dark"] .recipe-detail-box .ingredient,
html[data-theme="dark"] .recipe-detail-box .quick-meta span,
html[data-theme="dark"] .recipe-detail-box .nutrition-note,
html[data-theme="dark"] .recipe-detail-box .recipe-note {
  color:#d9dde1!important;
}
html[data-theme="dark"] .recipe-detail-box .recipe-detail-kicker,
html[data-theme="dark"] .recipe-detail-box .recipe-tag {
  color:#d8a900!important;
}
html[data-theme="dark"] .recipe-detail-box .ingredient {
  background:#171a1d!important;
  border-color:#34393e!important;
}
html[data-theme="dark"] .recipe-detail-box .quick-meta span {
  background:#171a1d!important;
  border-color:#353a3e!important;
}
html[data-theme="dark"] .recipe-detail-box .recipe-tip {
  color:#f1ead0!important;
  background:#2a2618!important;
  border-color:#806a1f!important;
}
html[data-theme="dark"] .recipe-detail-box .recipe-note {
  color:#d9dde1!important;
  background:#171a1d!important;
  border-color:#34393e!important;
}
html[data-theme="dark"] .recipe-detail-box .step-num {
  color:#111!important;
}
html[data-theme="dark"] .recipe-detail-box .nutrition,
html[data-theme="dark"] .recipe-detail-box .nutrition * {
  color:#f4f4f1!important;
}
html[data-theme="dark"] .recipe-detail-box .nutrition h2 {
  color:var(--gold2)!important;
}
html[data-theme="dark"] .recipe-detail-box .nutrition .sub,
html[data-theme="dark"] .recipe-detail-box .nutrition-note {
  color:#c7ccd0!important;
}

/* Light theme: explicit readable text on every recipe surface. */
html[data-theme="light"] .recipe-detail-box h1,
html[data-theme="light"] .recipe-detail-box h2,
html[data-theme="light"] .recipe-detail-box h3,
html[data-theme="light"] .recipe-detail-box strong,
html[data-theme="light"] .recipe-detail-box b {
  color:#111!important;
}
html[data-theme="light"] .recipe-detail-box p,
html[data-theme="light"] .recipe-detail-box .recipe-intro,
html[data-theme="light"] .recipe-detail-box .step,
html[data-theme="light"] .recipe-detail-box .ingredient,
html[data-theme="light"] .recipe-detail-box .quick-meta span,
html[data-theme="light"] .recipe-detail-box .nutrition-note,
html[data-theme="light"] .recipe-detail-box .recipe-note {
  color:#3f4449!important;
}

/* Fixed header: reserve only the real header height, not an extra blank block. */
body > main{padding-top:76px!important;}
.recipe-detail{margin-top:0!important;padding-top:20px!important;}
@media(max-width:900px){
  body > main{padding-top:76px!important;}
  .recipe-detail{padding-top:18px!important;}
}
@media(max-width:620px){
  body > main{padding-top:72px!important;}
  .recipe-detail{padding-top:14px!important;}
  .recipe-detail-image{height:240px!important;}
}


/* ZERO V90 — corrigir espaço vazio antes do hero na homepage mobile */
main#top{padding-top:0!important;}
@media(max-width:850px){
  main#top{padding-top:0!important;}
  .hero-new-copy{justify-content:flex-start!important;padding-top:28px!important;padding-bottom:30px!important;}
}
@media(max-width:520px){
  .hero-new-copy{padding-top:24px!important;padding-bottom:30px!important;}
}
