/*
Theme Name:     Ovosicare
Theme URI:      https://yourdomain.com/salient-child
Description:    A child theme for Salient
Author:         Priit
Author URI:     https://vulkanodesign.com
Template:       salient
Version:        1.0.6
Text Domain:    salient-child
*/

/*--------------------------------------------------------------
>>> Table of Contents:
----------------------------------------------------------------
1.0 Theme Overrides
2.0 Custom Styles
--------------------------------------------------------------*/

/* 1.0 Theme Overrides
-------------------------------------------------------------- */


:root {
    --font-family-unbounded: 'Montserrat', sans-serif;
    --font-family-outfit: 'Outfit', sans-serif;
    --line-height-112: 1.125;
    --line-height-140: 1.4;
    --line-height-125: 1.25;
    --line-height-130: 1.3;
    --line-height-144: 1.444;
    --letter-spacing-xs: 0.6px;
    --letter-spacing-sm: 0.8px;
    --letter-spacing-md: 0.9px;
    --letter-spacing-lg: 1px;
    --letter-spacing-xl: 1.2px;
    --neutral-900: #0F172A;
}

:root {
    /* ───────── Neutral (RGB + Hex vars) ───────── */
    --neutral-50:      rgb(248 250 252);
    --neutral-50-hex:  #F8FAFC;
    --neutral-100:     rgb(241 245 249);
    --neutral-100-hex: #F1F5F9;
    --neutral-200:     rgb(226 232 240);
    --neutral-200-hex: #E2E8F0;
    --neutral-300:     rgb(203 213 225);
    --neutral-300-hex: #CBD5E1;
    --neutral-400:     rgb(148 163 184);
    --neutral-400-hex: #94A3B8;
    --neutral-500:     rgb(100 116 139);
    --neutral-500-hex: #64748B;
    --neutral-600:     rgb( 71  85 105);
    --neutral-600-hex: #475569;
    --neutral-700:     rgb( 51  65  85);
    --neutral-700-hex: #334155;
    --neutral-800:     rgb( 30  41  59);
    --neutral-800-hex: #1E293B;
    --neutral-900:     rgb( 15  23  42);
    --neutral-900-hex: #0F172A;
  
    /* ───────── Brand (RGB + Hex vars) ───────── */
    --endoubt-green-700:      rgb(  8 196 182);
    --endoubt-green-700-hex:  #08C4B6;
    --secondary-green:        rgb( 55 239 234);
    --secondary-green-hex:    #37EFEA;
    --endoubt-green-200:      rgb(206 243 240);
    --endoubt-green-200-hex:  #CEF3F0;
    --purple-500:             rgb(192 107 237);
    --purple-500-hex:         #C06BED;
    --purple-400:             rgb(230 196 248);
    --purple-400-hex:         #E6C4F8;
    --purple-200:             rgb(242 225 251);
    --purple-200-hex:         #F2E1FB;
    --pink-500:               rgb(247 114 137);
    --pink-500-hex:           #F77289;
    --pink-200:               rgb(253 227 231);
    --pink-200-hex:           #FDE3E7;
    --yellow-500:             rgb(255 194  95);
    --yellow-500-hex:         #FFC25F;
    --yellow-200:             rgb(255 243 223);
    --yellow-200-hex:         #FFF3DF;
  
    /* ───────── Black & White (RGB + Hex vars) ───────── */
    --color-black:            rgb(  0   0   0);
    --color-black-hex:        #000000;
    --color-white:            rgb(255 255 255);
    --color-white-hex:        #FFFFFF;
  
    /* ───────── Accent (RGB + Hex vars) ───────── */
    --red-600:           rgb(234  17  69);
    --cred-600-hex:      #EA1145;
    --yellow-500:        rgb(255 194  95);
    --yellow-500-hex:    #FFC25F;
    --green-600:         rgb( 55 239 234);
    --green-600-hex:     #37EFEA;
  }

  /* Add this after the theme header in style.css */
  ::selection {
    background-color: var(--nectar-extra-color-2);
  }



.dh1,
.dh2 {
    font-size: 48px;
    line-height: 54px;
}

.dh3,
.dh4 {
    font-size: 32px;
    line-height: 36px;
}

.dh5 {
    font-size: 20px;
    line-height: 28px;
}

.dh6,
.dh7 {
    font-size: 24px;
    line-height: 28px;
}

.dh8 {
    font-size: 20px;
    line-height: 26px;
}

.dh9,
.dh10 {
    line-height: 26px;
}

.dh10 {
    font-size: 16px;
    line-height: 18px;
}

/* Font Families */






/* Font Weights */
.dh1,
.dh3,
.dh8,
.dh9 {
    font-weight: 700;
}

.dh2,
.dh4 {
    font-weight: 300;
}

.dh5,
.dh6,
.dh10 {
    font-weight: 500;
}

/* Letter Spacing */
.dh6,
.dh7 {
    letter-spacing: 1.2px;
}

.dh8 {
    letter-spacing: 1px;
}

.dh9,
.dh10 {
    letter-spacing: 0.9px;
}


/* 2.0 Custom Styles
-------------------------------------------------------------- */

/* Add your custom CSS below this line */

@font-face {
  font-family: 'Ovodore';
  src: url('./fonts/ovodore/ovodore.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-family-ovodore: 'Ovodore', serif;
}

/* Responsive Headings and Body Text (fluid, unified) */


/* Responsive General Headings */
h1 {

    font-weight: 700;
    color: var(--neutral-900);
    font-size: clamp(2rem, 4vw + 1rem, 3rem); /* 32px–48px */
    line-height: clamp(2.25rem, 4vw + 1rem, 3.375rem); /* 36px–54px */
  }
  
  h2 {

    font-weight: 300;
    color: var(--neutral-900);
    font-size: clamp(2rem, 4vw + 1rem, 3rem);
    line-height: clamp(2.53rem, 5vw + 1rem, 3.375rem);
  }
  
  h3 {

    font-weight: 700;
    color: var(--neutral-900);
    font-size: clamp(1.125rem, 2vw + 0.5rem, 2rem);
    line-height: clamp(1.375rem, 2vw + 0.5rem, 2.25rem);
  }
  
  h4 {
    color: var(--neutral-900);
    font-size: clamp(1.125rem, 2vw + 0.5rem, 2rem);
    line-height: clamp(1.375rem, 2vw + 0.5rem, 2.25rem);
  }
  
  h5 {

    font-weight: 500;
    color: var(--neutral-900);
    font-size: clamp(0.75rem, 1vw + 0.5rem, 1.25rem);
    line-height: clamp(1, 2vw + 0.5rem, 1.75);
  }
  
  h6 {

    font-weight: 500;
    color: var(--neutral-900);
    font-size: clamp(1rem, 2vw + 0.5rem, 1.5rem);
    line-height: clamp(1.25, 2vw + 0.5rem, 1.75);
    letter-spacing: clamp(0.8px, 0.1vw, 1.2px);
  }

body p {
    font-family: "Montserrat", Sans-serif;
    font-size: clamp(1rem, 2vw + 0.5rem, 1.25rem); /* 16px–20px */
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: clamp(0.8px, 0.2vw, 1px);
}

body p { padding-bottom: 1em; }
body p a {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    text-decoration-skip-ink: auto;
    transition: color 0.3s ease-in-out, text-decoration-color 0.3s ease-in-out;
  }

  .boxes-koostis p {
    font-size: 16px;
    text-wrap-style: pretty;
}
  
  body p a:hover {
    color: var(--purple-500);
    text-decoration-color: var(--purple-500);
  }


body div[data-style="minimal"] .toggle a.nectar-inherit-h2.toggle-heading {
    font-size: 20px;
    font-weight: 700;

    line-height: 24px;
    color: #000;
}
div[data-style*=minimal] .toggle>.toggle-title i {
    border: 2px solid #000 !important;
    color: #000 !important;
}
div[data-style="minimal"] .toggle > .toggle-title i:before, div[data-style="minimal"] .toggle > .toggle-title i:after {
    background-color: #000 !important;
}
body div[data-style="minimal"] h3 {

    font-weight: 700;
    color: var(--neutral-900);
    font-size: clamp(1.125rem, 2vw + 0.5rem, 20px);
    line-height: clamp(1.375rem, 2vw + 0.5rem, 26px);
    margin-bottom: 1rem !important;
}

body div[data-style="minimal"] h3 strong, body div[data-style="minimal"] h3 bold, body div[data-style="minimal"] h3 b {
    font-weight: 900;
}

#header-outer[data-lhe="animated_underline"] li > a .menu-title-text {
    font-size: 16px;
    color: var(--neutral-900);
    line-height: 120%;
}

.hero-heading h1 {
    max-width: 720px;
    color: #000;
    line-height: 120%;
    font-weight: 700;
    padding-left: 22px;
    text-align: left;
}

img.hero-image {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
  -webkit-user-drag: none;
  user-drag: none;
}



td, th {
    align-content: center;
    line-height: 1.2 !important;
}

thead tr {
    background-color: var(--nectar-extra-color-2)!important;
    font-size: 14px !important;
    font-family: 'Montserrat', sans-serif;
}

a.nectar-inherit-h3.toggle-heading {
    background-color: var(--nectar-extra-color-2) !important;
    color: white !important;
}
.toggle>.toggle-title a i {
    color: white !important;
    line-height: 28px !important;
    font-size: 25px !important;
}

/*table CSS*/
.nutrition-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .nutrition-wrapper h2 {
    text-align: center;
    color: #800040;
    margin-bottom: 1rem;
  }
  
  /* — Make table horizontally scrollable on narrow viewports — */
  .table-container {
    overflow-x: auto;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }
  
  /* — Header Row — */
  thead th {
    background-color: #f5c0dc;
    color: #800040;
    font-size: 1rem;
    padding: 10px;
    text-align: left;
    border: 1px solid #e791b6;
  }
  
  /* — Left (3) Columns: Body Cells — */
  tbody td {
    border: 1px solid #e791b6;
    padding: 8px 10px;
    vertical-align: middle;
    font-size: 0.95rem;
  }
  
  /* — Alternate Row Shading for Readability — */
  tbody tr:nth-child(even) td {
    background-color: #fff0f8;
  }
  
/* — Desktop (or tablet) defaults — */
.nutrition-wrapper th.col-ingredient { width: 40%; }
.nutrition-wrapper th.col-dose       { width: 26%; }
.nutrition-wrapper th.col-nrv        { width: 10%; }
.nutrition-wrapper th.col-label      { width: 24%; }

/* — Mobile overrides — */
@media (max-width: 768px) {
  .nutrition-wrapper table {
    width: auto;
    min-width: 600px;
    table-layout: auto;
  }
  .nutrition-wrapper th.col-ingredient { width: 35%; }
  .nutrition-wrapper th.col-dose       { width: 30%; }
  .nutrition-wrapper th.col-nrv        { width: 20%; }
  .nutrition-wrapper th.col-label      { width: 15%; }
  .nutrition-wrapper th.col-label {
    width: 170px !important;
}
}


  /* — “Sub‐item” Indent & Italics (for lines like “– D-kiro-inositool”, etc.) — */
  .sub-item {
    padding-left: 20px;
    font-style: italic;
    color: #4a0033;
    font-size: 0.93rem;
  }
  
  /* — NRV Column: Right-aligned & No Wrap — */
  .nrv-col {
    text-align: right;
    white-space: nowrap;
  }
  
  /* — Fourth Column: Vertical Separator (dotted) and Label Boxes — */
  /* Add a left border to simulate the dotted separator line. */
  .label-cell {
    border-left: 2px dotted #ccbbc9;
    padding: 0; /* no extra padding on the cell itself */
    vertical-align: top;
  }
  
  /* Container inside each label-cell */
  .label-box {
    margin: 0 10px 0 20px; /* push slightly away from the dotted line */
    padding: 6px 12px;
    background: linear-gradient(to bottom, #ffffff 30%, #f5c0dc 100%);
    border: 2px solid #e791b6;
    border-radius: 8px;
    color: #800040;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.3;
    text-align: center;
    min-width: 180px;
  }
  
  /* — Responsive Adjustments — */
  @media (max-width: 700px) {
    body {
      padding: 10px;
    }
    thead th,
    tbody td {
      padding: 6px 8px;
      font-size: 0.9rem;
    }
    .label-box {
      margin: 6px 8px;
      font-size: 0.9rem;
      min-width: 140px;
    }
  }
  
  /* — Footnotes — */
  .footnote {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    line-height: 1.2;
  }


/*Menu mobile*/
@media screen and (max-width: 768px) {
    body #slide-out-widget-area.slide-out-from-right-hover .inner-wrap>.inner .off-canvas-menu-container li a {
    
        font-weight: 500;
    }
}


:root {
    --divider-border-style: solid;
    --divider-color: #E8B1CC;
    --divider-border-width: 3px;
  }
  
  body h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin: 0 0 20px !important;
  }
  
  body h3:not(.toggle-title)::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    border-bottom: var(--divider-border-width) var(--divider-border-style) var(--divider-color);
  }


  .kliiniliselt-toestatud {
    display: flex;
    align-items: center;
  }
  
  .kliiniliselt-toestatud__badge {
    flex-shrink: 0;
    width: 120px !important;
    height: auto !important;
    margin-right: 20px;
    margin-bottom: 0px !important;
}
  
.kliiniliselt-toestatud p {
  color: var(--nectar-extra-color-1);
  font-weight: 400;
}

  .kliiniliselt-toestatud__text {
    margin: 0;
    line-height: 1.2;
  }
  
  .kliiniliselt-toestatud__highlight {
    color: var(--nectar-extra-color-1);
    font-weight: 700;
}
  
  /* small-screen fallback */
  @media (max-width: 540px) {
    .kliiniliselt-toestatud {
      flex-direction: column;
      text-align: center;
    }
    .kliiniliselt-toestatud__badge {
      margin: 0 0 12px;
    }
  }