.elementor-19145 .elementor-element.elementor-element-f156319{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--padding-top:20px;--padding-bottom:100px;--padding-left:0px;--padding-right:0px;}.elementor-19145 .elementor-element.elementor-element-f156319:not(.elementor-motion-effects-element-type-background), .elementor-19145 .elementor-element.elementor-element-f156319 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#12141A;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-19145 .elementor-element.elementor-element-f156319{--padding-top:20px;--padding-bottom:0px;--padding-left:10px;--padding-right:10px;}}/* Start custom CSS for html, class: .elementor-element-b3872ed */<style>
  /* Wrapper */
  .calorie-calculator {
    max-width: 440px;
    padding: 20px;
    background: #111;
    color: #fff;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    overflow: hidden; /* keep everything clipped inside the card */
  }

  /* Force white text default */
  .calorie-calculator * { color: #fff !important; }

  /* Headings */
  .calorie-calculator h3 {
    margin: 0 0 8px;
    font-size: 20px;        /* was 22px; 20px helps avoid wrapping */
    line-height: 1.2;
    text-align: center;
  }

  /* Labels */
  .calorie-calculator label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
  }

  /* Inputs & selects — white with black text */
  .calorie-calculator input,
  .calorie-calculator select {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    background: #fff !important;
    color: #000 !important;
    outline: none;
  }

  /* IMPORTANT: keep native look for checkbox/radio */
  .calorie-calculator input[type="checkbox"],
  .calorie-calculator input[type="radio"] {
    width: auto;              /* don't stretch */
    padding: 0;
    margin: 0 6px 0 0;        /* spacing before label text */
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    accent-color: #ff4c4c;    /* red tick */
    background: #fff;
    border: 1px solid #2a2a2a;
  }

  /* Only the SELECT loses native arrow for consistency */
  .calorie-calculator select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
  }

  /* Placeholder color */
  .calorie-calculator input::placeholder { color: #555 !important; }

  /* Dropdown options */
  .calorie-calculator select option {
    background: #fff !important;
    color: #000 !important;
  }

  /* Focus state */
  .calorie-calculator input:focus,
  .calorie-calculator select:focus {
    border-color: #ff4c4c;
    box-shadow: 0 0 0 3px rgba(255, 76, 76, 0.25);
  }

  /* Layout grids */
  .cc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* Body type button-like labels */
  .cc-bodytype {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 6px;
  }
  .cc-bodytype label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
    background: #1b1b1b;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #2a2a2a;
  }

  /* Toggle row (if used) */
  .cc-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
  }

  /* Button */
  .calorie-calculator button {
    margin-top: 15px;
    padding: 10px;
    background: #ff4c4c;
    color: #fff !important;
    border: none;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
  }
  .calorie-calculator button:hover { background: #e63c3c; }

  /* Result box */
  .calorie-result {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.5;
    background: #0e0e0e;
    border: 1px solid #2a2a2a;
    padding: 12px;
    border-radius: 6px;
  }

  /* Small text */
  .cc-small { font-size: 12px; color: #bbb !important; margin-top: 6px; }

  /* Number tiles */
  .cc-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
  }
  .cc-numbers div {
    background: #171717;
    border: 1px solid #2a2a2a;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
  }

  /* --- Mobile fixes --- */
  @media (max-width: 480px) {
    /* Stack the 2-column input rows on mobile */
    .calorie-calculator .cc-row {
      grid-template-columns: 1fr;
    }

    /* Stack body type choices and prevent overflow */
    .calorie-calculator .cc-bodytype {
      grid-template-columns: 1fr;   /* 3 -> 1 column */
      gap: 8px;
    }

    .calorie-calculator .cc-bodytype label {
      min-width: 0;                 /* allow shrinking inside grid */
      width: 100%;
      box-sizing: border-box;
      white-space: normal;          /* allow wrapping (lv words can be long) */
      word-break: break-word;       /* break long words if needed */
    }

    /* Ensure the results grid never overflows */
    .calorie-calculator .cc-numbers {
      grid-template-columns: 1fr;   /* BMR, TDEE, then Target full width */
    }
  }
  
  /* Credits */
.cc-credits {
  font-size: 10px;
  color: #888 !important;
  text-align: center;
  margin-top: 14px;
  line-height: 1.4;
  letter-spacing: 0.5px;
}
  
</style>/* End custom CSS */