/* 
Theme Name: Nutrimezclas 2026
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Jose García
Author URI: https://grupogo.com.co/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
#wp-admin-bar-root-default {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1rem !important;
}
body {
    background: #ffffff;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nm-anchor-offset, 110px);
}

/* Compensa el header sticky para que los anclajes no queden cubiertos */
:root {
  --nm-anchor-offset: 110px;
}

body.admin-bar {
  --nm-anchor-offset: 142px;
}

.elementor-menu-anchor,
[id] {
  scroll-margin-top: var(--nm-anchor-offset, 110px);
}
.hidden, #hidden{
  display: none;
}
/*--- MENU ---*/

/*- - - H O M E - - - /*/


/*--- TABLAS NUTRICIONALES ---*/


/*-- TABLAS ---*/
:root {
  --nm-bg: #ebebeb;
  --nm-ink: #16161a;
  --nm-line: #1f1f24;
  --nm-bar: #06070a;
  --nm-card: #f3f3f3;
  --nm-radius: 22px;
}

.nm-label-grid {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

.nm-nutrition-card {
    background: #fff;
    border: 2px solid var(--nm-line);
    border-radius: var(--nm-radius);
    overflow: hidden;
    color: #000;
    font-family: "Barlow Semi Condensed", Sans-serif;
}

.nm-card-head h2 {
  margin: 0;
  border-bottom: 2px solid var(--nm-line);
  padding: 10px 12px 8px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0px;
  font-size: clamp(1.6rem, 1.95vw, 2.9rem);
  line-height: 1.05;
}

.nm-card-head p {
  margin: 0;
  text-align: center;
  padding: 10px 12px 8px;
  font-size: clamp(1.1rem, 1.15vw, 2rem);
  line-height: 1.1;
  border-bottom: 12px solid var(--nm-bar);
}

.nm-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.nm-nutrition-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent;
}

.nm-nutrition-table th,
.nm-nutrition-table td {
  border: 2px solid var(--nm-line);
  border-left: 0;
  border-right: 0;
  padding: 6px 20px;
  font-size: clamp(1.1rem, 1.1vw, 2rem);
  line-height: 1.08;
  font-weight: 500;
}

.nm-nutrition-table thead th {
  text-align: center;
  font-weight: 500;
}

.nm-nutrition-table td:first-child {
  width: 47%;
  padding-left: 16px;
}

.nm-nutrition-table td:nth-child(2),
.nm-nutrition-table td:nth-child(3) {
  width: 26.5%;
  text-align: center;
}

.nm-strong {
  font-weight: 700 !important;
}

.nm-energy td {
  font-size: clamp(1.1rem, 1vw, 2rem);
  padding-top: 8px;
  padding-bottom: 8px;
}

.nm-separator td {
  border: 0;
  height: 10px;
  padding: 0;
  background: var(--nm-bar);
}

.nm-card-foot {
  padding: 8px 12px 10px;
  text-align: center;
  line-height: 1.12;
}

.nm-asterisk {
    margin: 8px 0 0;
    padding: 0 0 15px;
    line-height: 1;
    text-align: center;
}

@media (max-width: 1250px) {
  .nm-label-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

@media (max-width: 860px) {
  .nm-label-grid {
    grid-template-columns: 1fr;
  }

  .nm-nutrition-table thead {
    display: none;
  }

  .nm-nutrition-table,
  .nm-nutrition-table tbody,
  .nm-nutrition-table tr,
  .nm-nutrition-table td {
    display: block;
    width: 100%;
  }

  .nm-nutrition-table tr {
    border-top: 2px solid var(--nm-line);
  }

  .nm-nutrition-table td {
    border: 0;
    border-bottom: 1px solid #3b3b42;
    padding: 7px 12px;
    text-align: right !important;
  }

  .nm-nutrition-table td:first-child {
    width: 100%;
    text-align: left !important;
    padding: 8px 12px 4px;
    font-weight: 800;
  }

  .nm-nutrition-table td[data-label]::before {
    content: attr(data-label) ": ";
    float: left;
    font-weight: 700;
  }

  .nm-energy td:first-child {
    font-size: 1.45rem;
  }

  .nm-energy td[data-label] {
    font-size: 1.3rem;
  }

  .nm-separator {
    display: none !important;
  }
}

/* Variantes para tablas de ingredientes (usan las mismas clases base nm-*) */
.nm-ingredients-layout {
  grid-template-columns: 0.95fr 1.35fr 0.95fr;
}

.nm-ingredient-card {
  border-radius: 15px;
  overflow: hidden;
}

.nm-ingredient-card .nm-card-head h2 {
  background: var(--nm-bar);
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(2rem, 2.7vw, 4rem);
  text-align: left;
  padding: 10px 12px;
  border-bottom: 3px solid var(--nm-line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.nm-ingredient-card .nm-card-head h2 span:first-child {
  padding-left: 22px;
}

.nm-ingredient-card .nm-card-head h2 span:last-child {
  text-align: center;
  min-width: 84px;
}

.nm-ingredient-card .nm-nutrition-table td {
  font-size: clamp(1.1rem, 1vw, 3.5rem);
  font-weight: 500;
  padding: 8px 12px;
}

.nm-ingredient-card .nm-nutrition-table td:first-child {
  width: 72%;
  padding-left: 22px;
}

.nm-ingredient-card .nm-nutrition-table td:last-child {
  width: 28%;
}

.nm-note-inline {
  margin: 14px 0 0;
  font-size: clamp(1.5rem, 1.9vw, 3rem);
  line-height: 1.16;
}

@media (max-width: 1250px) {
  .nm-ingredients-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nm-ingredient-card .nm-nutrition-table,
  .nm-ingredient-card .nm-nutrition-table tbody,
  .nm-ingredient-card .nm-nutrition-table tr,
  .nm-ingredient-card .nm-nutrition-table td {
    display: table;
    width: 100%;
  }

  .nm-ingredient-card .nm-nutrition-table tr {
    display: table-row;
  }

  .nm-ingredient-card .nm-nutrition-table td {
    display: table-cell;
    border-bottom: 1px solid #3b3b42;
    text-align: left !important;
  }

  .nm-ingredient-card .nm-nutrition-table td[data-label]::before {
    content: none;
  }

  .nm-ingredient-card .nm-nutrition-table td:last-child {
    text-align: center !important;
    font-weight: 500;
  }
}

/*--- FOOTER  ---*/

.tabla-moderna-wrap {
    max-width: 760px;
    margin: 20px auto;
    padding: 10px;
  }

  .tabla-moderna {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 0px !important;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  }

  .tabla-moderna thead th {
    background: #329190;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .tabla-moderna thead th:last-child {
    text-align: center;
    width: 30%;
  }

  .tabla-moderna tbody td {
    font-size: 1.1rem;
    padding: 13px 18px;
    border-top: 1px solid #e8edf3;
    background: #ffffff;
  }

  .tabla-moderna tbody td:last-child {
    text-align: center;
    font-weight: 700;
    color: #0f172a;
  }

  .tabla-moderna tbody tr:hover td {
    background: #f7fbff;
  }

  @media (max-width: 680px) {
    .tabla-moderna thead th {
      font-size: 1.05rem;
      padding: 12px 14px;
    }

    .tabla-moderna tbody td {
      font-size: 1.3rem;
      padding: 11px 14px;
    }
  }


  /*--- PREPRACION ---*/
  :root {
  --nm-bg: #f2f3f5;
  --nm-card: #f8f8f8;
  --nm-ink: #111317;
  --nm-line: #181818;
}

* {
  box-sizing: border-box;
}


.nm-hv-card {
  max-width: 1420px;
  margin: 0 auto;
  border: 2px solid var(--nm-line);
  border-radius: 28px;
  padding: 24px 22px 20px;
}

.nm-hv-card h3 {
  margin: 0;
  font-family: "ADLaM Display", Sans-serif;
  font-size: clamp(1.2rem, 2.3vw, 2.6rem);
  line-height: .95;
  font-weight: 500;
}

.nm-hv-subtitle {
  margin: 8px 0 18px;
  font-size: clamp(1.1rem, 1.3vw, 1.4rem);
  line-height: 1;
  font-weight: 500;
}

.nm-hv-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  /*-border-top: 3px dotted #202020;
  border-bottom: 3px dotted #202020;-*/
}

.nm-hv-step {
  padding: 14px 12px 16px;
  border-right: 3px dotted #202020;
}

.nm-hv-step:last-child {
  border-right: 0;
}

.nm-hv-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  margin-bottom: 10px;
}

.nm-hv-number {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #00b4ae;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
  flex: 0 0 auto;
}

.nm-hv-icon {
  font-size: 2rem;
  color: #101010;
}

.nm-hv-step p {
  margin: 0;
  line-height: 1.07;
  font-weight: 500;
}

@media (max-width: 1200px) {
  .nm-hv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 0;
  }

  .nm-hv-step {
    border-right: 0;
    border-bottom: 3px dotted #202020;
  }
}

@media (max-width: 760px) {
  body {
    padding: 10px;
  }

  .nm-hv-card {
    border-radius: 20px;
    padding: 16px 14px 14px;
  }

  .nm-hv-grid {
    grid-template-columns: 1fr;
  }

  .nm-hv-step {
    padding: 12px 4px 14px;
  }

  .nm-hv-top {
    min-height: 48px;
    margin-bottom: 8px;
  }

  .nm-hv-number {
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
  }

  .nm-hv-icon {
    font-size: 1.7rem;
  }

  .nm-hv-step p {
    font-size: clamp(1.2rem, 6vw, 1.3rem);
    line-height: 1.08;
  }
}
