@charset "UTF-8";
/*!
Theme Name: Sattvika Recipe
Author: SK
Version: 1.0.0
Text Domain: recipe.sattvika.club
*/
/* reset style browser */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

/* Remove outline on the forms and links */
:active,
:hover,
:focus {
  outline: 0;
  outline-offset: 0;
}

:root {
  /* reset style browser */
  --tg-theme-bg-color: #ffffff; /* Белый фон */
  --tg-theme-text-color: #000000; /* Черный текст */
  --tg-theme-hint-color: #707579; /* Серый цвет подсказок */
  --tg-theme-link-color: #3390ec; /* Синий цвет ссылок */
  --tg-theme-button-color: #3390ec; /* Синий цвет кнопок */
  --tg-theme-button-text-color: #ffffff; /* Белый текст на кнопках */
  --tg-theme-secondary-bg-color: #f4f4f5; /* Светло-серый вторичный фон */
  --font-one: "Bebas Bold";
  --radius: 5px;
  --gap: 0.5rem;
  --color-brand-red: #ed4a7d;
  --color-brand: #0fcdd9;
  --color-red: #fc6666;
  --color-red-light: #ffe5e5;
  --color-yellow: #ffc107;
  --color-green: #00c853;
  --color-violet: #7b1fa2;
  --padding-side: 1rem;
  --scroll-padding-bottom: 0.4em;
}

@font-face {
  font-family: "Bebas Bold";
  src: url("./fonts/bebas/bebasneue_bold-webfont.woff2") format("woff2"), url("./fonts/bebas/bebasneue_bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "DaysOne";
  src: url("./fonts/daysone/daysone.woff2") format("woff2"), url("./fonts/daysone/daysone.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/* fonts iconmoon */
@font-face {
  font-family: "icomoon";
  src: url("./fonts/icomoon/icomoon.eot?83y4oc");
  src: url("./fonts/icomoon/icomoon.eot?83y4oc#iefix") format("embedded-opentype"), url("./fonts/icomoon/icomoon.ttf?83y4oc") format("truetype"), url("./fonts/icomoon/icomoon.woff?83y4oc") format("woff"), url("./fonts/icomoon/icomoon.svg?83y4oc#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[class^=icon-],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-bmi:before {
  content: "\e90d";
}

.icon-glass-water:before {
  content: "\e90c";
}

.icon-close:before {
  content: "\e90b";
}

.icon-angle:before {
  content: "\e90a";
}

.icon-filter:before {
  content: "\e906";
}

.icon-setting2:before {
  content: "\e909";
}

.icon-more:before {
  content: "\e905";
}

.icon-chef:before {
  content: "\e904";
}

.icon-chef2:before {
  content: "\e902";
}

.icon-calc:before {
  content: "\e900";
}

.icon-settings:before {
  content: "\e908";
}

.icon-main2:before {
  content: "\e907";
}

.icon-cart:before {
  content: "\e901";
}

.icon-book:before {
  content: "\e903";
}

body {
  background-color: var(--tg-theme-bg-color);
  color: var(--tg-theme-text-color);
  font-family: Arial, sans-serif;
  padding-bottom: 5em;
}

.container {
  padding-inline: var(--padding-side);
}

p {
  line-height: 1.4em;
}

a {
  color: var(--tg-theme-link-color);
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

li > a {
  color: inherit;
}

.disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  position: relative; /* Для псевдоэлемента если нужно */
}

button,
.button {
  display: flex;
  background-color: var(--tg-theme-button-color);
  color: var(--tg-theme-button-text-color);
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

button.--grey,
.button.--grey {
  background-color: var(--tg-theme-secondary-bg-color);
  color: var(--tg-theme-text-color);
}

.b-round {
  border-radius: 4em;
  background-color: var(--tg-theme-secondary-bg-color);
  color: var(--tg-theme-text-color);
}

.b-color-yellow.active {
  background-color: #ffd600;
  color: #000;
}

input {
  color: var(--tg-theme-text-color);
}

input::-moz-placeholder {
  color: var(--tg-theme-hint-color);
  background-color: transparent;
}

input::placeholder {
  color: var(--tg-theme-hint-color);
  background-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-one);
  letter-spacing: 0.06em;
}

h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.2;
  margin-bottom: 0.4em;
}

h2 {
  font-size: 2rem; /* 32px */
  line-height: 1.3;
  margin-bottom: 0.4em;
}

h3 {
  font-size: 1.75rem; /* 28px */
  line-height: 1.4;
  margin-bottom: 0.4em;
}

h4 {
  font-size: 1.5rem; /* 24px */
  line-height: 1.5;
  margin-bottom: 0.4em;
}

h5 {
  font-size: 1.25rem; /* 20px */
  line-height: 1.6;
  margin-bottom: 0.4em;
}

h6 {
  font-size: 1rem; /* 16px */
  line-height: 1.7;
  margin-bottom: 0.4em;
}

.entry-content {
  padding: 0 1rem 1rem 1rem;
}

.text-block {
  padding: 0 var(--padding-side) 1em;
}

/* main menu */
nav#main {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4em;
  width: 100%;
  z-index: 15;
  background: var(--tg-theme-secondary-bg-color);
  box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
}

nav#main > ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  height: 100%;
}

nav#main > ul > li {
  display: flex;
  flex: 1;
  align-items: stretch;
  width: 100%;
  color: var(--tg-theme-button-color);
}

nav#main > ul > li a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  width: 100%;
}

nav#main > ul > li:nth-child(3) a {
  font-size: 3rem;
}

@media (orientation: landscape) {
  nav#main {
    height: 100%;
    width: 4em;
    left: auto;
  }
  nav#main > ul {
    flex-direction: column;
  }
}
/* END main menu */
/* recipe-card-big */
#home .list-recipe-card-big.slider {
  padding-left: 0;
}

#home .list-recipe-card-big.slider .slider-more {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--tg-theme-secondary-bg-color);
  flex: 0 0 calc(85% - var(--gap) / 2);
  border-radius: var(--radius);
}

.slider-more .icon-more {
  font-size: 3em;
  color: var(--tg-theme-hint-color);
}

.slider-more .button {
  max-width: -moz-max-content;
  max-width: max-content;
}

.recipe-card-big {
  text-align: center;
  flex: 0 0 calc(85% - var(--gap) / 2);
  border-radius: var(--radius);
  background-color: var(--tg-theme-secondary-bg-color);
  overflow: hidden;
  position: relative;
  justify-content: center;
}

.recipe-card-big-info {
  position: absolute;
  padding: 0 5%;
  z-index: 1;
  color: var(--tg-theme-button-text-color);
  width: 100%;
  line-height: 1;
}

.recipe-card-big h4 {
  margin: 0;
}

.recipe-card-big .list-tag {
  justify-content: center;
}

.recipe-card-big .list-tag li {
  background-color: var(--tg-theme-button-text-color);
}

.recipe-card-big img {
  aspect-ratio: 16/9;
  width: 100%;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
}

/*END recipe-card-big */
.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overlay {
  position: relative;
}

.overlay::after {
  content: "";
  background-color: #292929;
  position: absolute;
  inset: 0;
  opacity: 0.6;
}

.archive main {
  padding: 0 1rem;
}

/* Recipe */
/* .recipe-card{
  background-color: var(--tg-theme-secondary-bg-color);
  border-radius:var(--radius);
  overflow: hidden;
  margin-top: 1em;
}
.recipe-card img{
  max-width: 100%;
}
.recipe-card .recipe-sections{
  display: flex;
  flex-wrap: wrap;
}
.recipe-card .recipe-sections li a{
  display: flex;
  background-color: var(--tg-theme-button-color);
  color: var(--tg-theme-button-text-color);
  text-transform:lowercase;
  border-radius: var(--radius);
  padding: 0.3em 0.6em;
} */
.recipe-card {
  display: flex;
  padding: 1em 0;
  border-bottom: 1px solid var(--tg-theme-secondary-bg-color);
}

.recipe-card .recipe-description {
  padding-left: 1em;
}

.recipe-card .recipe-img {
  flex: 0 0 80px;
}

.recipe-card img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.recipe-card h2 {
  font-size: 1.2rem;
  line-height: 1;
}

.recipe-card .recipe-sections {
  margin-bottom: 0.5em;
}

.recipe-card .recipe-sections li {
  color: var(--color-red);
  background-color: var(--color-red-light);
  border: 0;
}

.single-recipe .recipe {
  overflow-x: hidden;
}

.single-recipe .recipe .entry-content {
  padding: 1em 2em;
}

header.single {
  position: relative;
}

header.single::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 0 0, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 40%);
}

header.single .button-back {
  position: absolute;
  top: 0.2em;
  left: 0.1em;
  font-size: 3em;
  color: var(--tg-theme-button-text-color);
  z-index: 1;
}

.tabs-info .container {
  padding-inline: 2rem;
}

.tabs-info .tabs {
  margin-top: 1em;
  display: flex;
  overflow-x: scroll;
  white-space: nowrap;
}

.tabs-info .tabs > li:first-child {
  margin-left: 1em;
}

.tabs-info .tabs > li:last-child {
  margin-right: 1em;
}

.tabs-info .tabs > li + li {
  margin-left: 0.4em;
}

.tabs-info .content {
  display: none;
  padding: 1em 0;
  --padding-side: 2rem;
}

.tabs-info .content.active {
  display: block;
}

.list-stage .stage {
  margin-top: 2em;
  padding-bottom: 1.5em;
}

.list-stage .stage:last-child {
  border: 0;
}

.list-stage .stage > * {
  padding: 0 var(--padding-side);
}

.dotted-bottom {
  border-bottom: 5px dotted var(--tg-theme-secondary-bg-color);
}

.multi-recipe {
  padding: 1rem 0;
}

.bg-progress {
  --height: 14px;
  --width-progress: 0;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  height: var(--height);
  width: 100%;
  background-color: var(--tg-theme-secondary-bg-color);
  position: relative;
  border-radius: calc(var(--height) / 2);
  z-index: 3;
  overflow: hidden;
}

.bg-progress > span {
  padding-left: 1em;
  z-index: 2;
}

.bg-progress::before {
  content: "";
  background-color: var(--tg-theme-button-color);
  position: absolute;
  left: 0;
  height: 100%;
  width: var(--width-progress);
  z-index: 1;
}

/* search */
#search {
  width: 100%;
}

#search .search-box {
  display: flex;
  width: 100%;
  border: 1px solid var(--tg-theme-button-color);
  background-color: var(--tg-theme-bg-color);
  height: 3rem;
  border-radius: 1.5rem;
  overflow: hidden;
}

#search .search-box input {
  border: 0;
  width: 100%;
  padding: 0 1em;
  background-color: transparent;
}

#search .search-box button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--tg-theme-bg-color);
  border-radius: 50%;
  width: 3rem;
}

.search-filter-box {
  display: flex;
  margin-top: 1em;
}

button#filter-open {
  border: 2px solid var(--tg-theme-bg-color);
  border-radius: 50%;
  width: 3rem;
  height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1em;
}

/* popup */
body.filter {
  overflow: hidden;
}

body.filter #filter-form {
  left: 0;
  right: 0;
}

/* filter */
#recipe-filter-form {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 2em;
}

#filter-form {
  background-color: var(--tg-theme-bg-color);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 100%;
  z-index: 16;
}

.form-body {
  overflow-y: auto;
}

.filter-section {
  padding: 0 2em 2em;
}

.filter-section--button {
  display: flex;
  margin-top: auto;
}

.filter-section--button > * {
  justify-content: center;
  width: 50%;
  border-radius: 0;
  font-size: 1.2em;
  padding: 1em 2em;
}

/* checkbox // Скрываем оригинальный чекбокс */
#recipe-filter-form .checkbox {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

/* Базовые стили для label */
#recipe-filter-form label {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  background-color: var(--tg-theme-secondary-bg-color); /* Серый фон по умолчанию */
  color: var(--tg-theme-text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 5px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  text-align: center;
}

/* Стиль для включенного чекбокса */
#recipe-filter-form .checkbox:checked + label {
  background-color: var(--tg-theme-button-color); /* Синий фон при активации */
  color: var(--tg-theme-button-text-color);
}

/* Стиль для отключенного чекбокса */
#recipe-filter-form .checkbox:disabled + label {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #b0b0b0;
}

/* Эффекты при наведении */
#recipe-filter-form label:hover {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Фокус для доступности */
#recipe-filter-form .checkbox:focus-visible + label {
  outline: 2px solid #555;
  outline-offset: 2px;
}

/* #Home screen */
#recipesDay {
  margin: 1rem 0 2rem;
}

.s-title {
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 var(--padding-side) 0.5em;
}

#home .s-search {
  padding: 0 var(--padding-side) 1em;
}

#home .s-logo {
  display: flex;
  justify-content: center;
}

#logo {
  max-width: 50%;
}

#logo .sattvika {
  fill: var(--color-brand);
}

#home .s-cooks,
#home .s-fermers,
#home .s-consultants {
  padding: 1em 0;
}

#home .s-cooks .s-description,
#home .slider {
  padding-bottom: var(--scroll-padding-bottom);
}

.home .card-expert {
  flex: 0 0 calc(50% - (34px + 0.5rem));
}

.slider {
  display: flex;
  flex-direction: row;
  gap: var(--gap);
  overflow-x: auto;
}

.slider > * {
  display: flex;
  flex-direction: column;
  /* flex: 0 0 auto; */
}

.slider .slider-name {
  font-family: "DaysOne";
  border-radius: 0 10px 10px 0;
  background-color: var(--color-brand-red);
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  width: 2rem;
  letter-spacing: 0.1rem;
  color: #fff;
}

.slider-name > * {
  transform: rotate(270deg);
  color: inherit;
  white-space: nowrap;
}

.card-expert {
  text-align: center;
  /* height: 10em; */
  flex: 0 0 calc(50% - var(--gap) / 2);
  padding-bottom: 0.8em;
  border-radius: var(--radius);
  background-color: var(--tg-theme-secondary-bg-color);
  overflow: hidden;
}

.card-expert.--all {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-expert--label {
  padding: 0.4em 0;
  color: #fff;
  font-size: 0.8rem;
  margin-bottom: 0.8em;
  background-color: var(--tg-theme-hint-color);
}

.--cook {
  background-color: var(--color-brand-red) !important;
}

.--farmer {
  background-color: #3390ec !important;
}

.--consultant {
  background-color: var(--color-yellow) !important;
  color: #292929 !important;
}

.card-expert img {
  width: 66%;
  border-radius: 50%;
  margin: 0 auto;
}

.card-expert h5 {
  color: var(--tg-theme-text-color);
  font-size: 1rem;
  font-weight: bold;
}

.card-expert .location-cook {
  font-size: 0.8em;
  color: var(--tg-theme-hint-color);
}

#home .s-tip {
  padding: 1rem var(--padding-side);
}

.tip {
  font-size: 0.8em;
  line-height: 1.4;
  font-style: italic;
  background-color: var(--tg-theme-secondary-bg-color);
  padding: 1em;
  border-radius: var(--radius);
}

#home .s-course {
  padding: 1em 0;
}

.item-course {
  width: 40%;
}

.calculator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  text-align: center;
}

.calculator-item span {
  font-size: 4rem;
}

/* list-tag */
.list-tag {
  display: flex;
  flex-wrap: wrap;
}

.list-tag li {
  margin: 0.5em 0.5em 0 0;
  font-size: 0.8rem;
  color: var(--tg-theme-hint-color);
  border: 1px solid var(--tg-theme-secondary-bg-color);
  padding: 0.3em 0.6em;
  border-radius: 0.8rem;
}

.list-tag li a {
  display: block;
}

/* END list-tag */
/* list-info */
.list-info > li {
  padding: 0.5em 0;
}

.list-info .li-text {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.3em;
  font-weight: bold;
}

.list-info .li-text::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted var(--tg-theme-text-color);
  margin: 3px 0.5em;
}

.list-info .li-text span {
  order: 2;
  white-space: nowrap;
}

/* END list-info */
/* archive page list-expert */
.archive .list-expert {
  padding: 1em 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

/* END archive page list-expert */
.post-type-archive-expert h1 {
  margin: 1rem 0 0;
}

.archive .page-title {
  display: flex;
  justify-content: center;
  font-size: 2rem;
  margin-top: 1rem;
}

body {
  background-color: var(--tg-theme-bg-color);
  color: var(--tg-theme-text-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.calculator {
  padding: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--tg-theme-text-color);
}

input[type=number],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--tg-theme-hint-color);
  border-radius: 5px;
  font-size: 16px;
  background-color: var(--tg-theme-bg-color);
  color: var(--tg-theme-text-color);
}

input[type=number]:focus,
select:focus {
  border-color: var(--tg-theme-link-color);
  outline: none;
}

input::-moz-placeholder {
  color: var(--tg-theme-hint-color);
}

input::placeholder {
  color: var(--tg-theme-hint-color);
}

input[type=checkbox] {
  width: auto;
  margin-right: 5px;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background-color: var(--tg-theme-button-color);
  color: var(--tg-theme-button-text-color);
  font-size: 1rem;
  cursor: pointer;
}

#result {
  margin-top: 20px;
  padding: 15px;
  background-color: var(--tg-theme-secondary-bg-color);
  border-radius: 4px;
  display: none;
}

.info-section {
  margin-top: 30px;
  background-color: var(--tg-theme-secondary-bg-color);
  padding: 20px;
  border-radius: 10px;
}

.tips {
  margin-top: 20px;
}

.tip {
  margin-bottom: 10px;
  padding-left: 15px;
  border-left: 3px solid var(--tg-theme-link-color);
}

.foodmenu-day .menu-title {
  padding: 0 2rem;
}
.foodmenu-day ul.list-recipe + .menu-title {
  margin: 2rem 0 0 0;
}

.list-foodmenu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-foodmenu {
  position: relative;
}
.card-foodmenu img {
  border-radius: calc(var(--radius) * 6);
}/*# sourceMappingURL=style.css.map */