@charset "UTF-8";
body {
  font-family: "Gilroy", sans-serif;
  font-weight: 500;
}

select {
  font-family: "Gilroy", sans-serif;
  font-weight: 500;
}

:root {
  --app-height: 100%;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

a {
  font-weight: 500;
}

img {
  max-width: 100%;
}

select,
button,
input[type=text],
input[type=email],
input[type=password],
textarea {
  font-family: "Gilroy", sans-serif;
  font-weight: 500;
}

strong,
b {
  font-weight: 900;
}

/*1199, 1366*/
.container {
  max-width: 1250px;
  margin: 0 auto;
}

@media (max-width: 1250px) {
  .container {
    max-width: 1193px;
  }
}
@media (max-width: 1140px) {
  .container {
    max-width: 992px;
  }
}
@media (max-width: 1140px) {
  .container {
    max-width: 992px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}
.site-header {
  position: relative;
  min-height: 301px;
  overflow: hidden;
  background-color: #5d1118;
  background-image: url("../img/ust.jpg");
  background-repeat: no-repeat;
  background-position: 100% 66%;
  background-size: 100% auto;
  border-bottom: 12px solid #c89444;
  border-bottom-left-radius: 145px 88px;
  border-bottom-right-radius: 145px 88px;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(74, 10, 16, 0.3) 0%, rgba(74, 10, 16, 0.08) 48%, rgba(74, 10, 16, 0.36) 100%), rgba(73, 9, 16, 0.1);
  pointer-events: none;
}
.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(1250px, 100% - 40px);
  margin: 0 auto;
  padding-top: 34px;
}
.site-header__logo {
  display: block;
  width: 393px;
  flex: 0 0 auto;
}
.site-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}
.site-header__nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 40px;
  padding-right: 43px;
}
.site-header__nav a {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.site-header__nav a:hover {
  color: #f4d18c;
}

@media (max-width: 1200px) {
  .site-header {
    background-size: auto 100%;
    background-position: center top;
  }
  .site-header__logo {
    width: 340px;
  }
  .site-header__nav {
    gap: 18px;
  }
  .site-header__nav a {
    font-size: 16px;
  }
}
@media (max-width: 1250px) {
  .site-header__inner {
    width: min(1193px, 100% - 40px);
  }
}
@media (max-width: 1140px) {
  .site-header__inner {
    width: min(992px, 100% - 40px);
  }
}
@media (max-width: 992px) {
  .site-header {
    min-height: 250px;
    background-position: center top;
    background-size: auto 100%;
    border-bottom-left-radius: 95px 58px;
    border-bottom-right-radius: 95px 58px;
  }
  .site-header__inner {
    align-items: center;
    flex-direction: column;
    gap: 22px;
    width: calc(100% - 40px);
    padding-top: 30px;
  }
  .site-header__logo {
    width: min(360px, 88vw);
  }
  .site-header__nav {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
    padding-right: 0;
    gap: 14px 22px;
  }
  .site-header__nav::after {
    display: none;
  }
}
@media (max-width: 560px) {
  .site-header {
    min-height: 220px;
    border-bottom-width: 9px;
    border-bottom-left-radius: 58px 34px;
    border-bottom-right-radius: 58px 34px;
  }
  .site-header__inner {
    width: calc(100% - 28px);
    gap: 18px;
    padding-top: 26px;
  }
  .site-header__nav {
    gap: 12px 16px;
  }
  .site-header__nav a {
    font-size: 14px;
  }
}
.home-page {
  background: #fff;
}

.category-page {
  background: #fff;
}

.home-foods {
  padding: 24px 0 55px;
}
.home-foods__section {
  margin-bottom: 52px;
}
.home-foods__section:last-child {
  margin-bottom: 0;
}
.home-foods__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: start;
  -moz-column-gap: 36px;
       column-gap: 36px;
  max-width: 1250px;
  margin: 0 auto 34px;
}
.home-foods__title-wrap {
  position: relative;
  min-height: 64px;
  padding-left: 0;
}
.home-foods__title-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  right: auto;
  left: 50%;
  width: 100vw;
  height: 64px;
  transform: translateX(-50vw);
  background-image: url("../img/cat-bg.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: auto 64px;
  opacity: 1;
  pointer-events: none;
}
.home-foods__title-wrap::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 64px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 72%);
  pointer-events: none;
}
.home-foods__title-wrap h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #7c513b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 60px;
}
.home-foods__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 43px;
  margin-top: 0;
  background: #f3f3f3;
  color: #7f6a64;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.home-foods__all:hover {
  background: #ead7c8;
  color: #6d3f2f;
}
.home-foods__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
  max-width: 1250px;
  margin: 0 auto;
}

.category-foods {
  padding-top: 42px;
}
.category-foods .home-foods__section {
  margin-bottom: 0;
}

.category-foods__empty {
  margin: 0;
  color: #6c625f;
  font-size: 16px;
  font-weight: 600;
}

.food-card {
  min-width: 0;
  text-align: center;
}
.food-card__image {
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 28px;
  background: #f4f4f4;
}
.food-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.25s ease;
}
.food-card__image:hover img {
  transform: scale(1.04);
}
.food-card h3 {
  margin: 14px 0 4px;
  color: #2f2f2f;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}
.food-card span {
  display: block;
  color: #c9c9c9;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

@media (max-width: 1250px) {
  .home-foods__head, .home-foods__grid {
    max-width: 1193px;
  }
}
@media (max-width: 1200px) {
  .home-foods__grid {
    gap: 0 22px;
  }
}
@media (max-width: 1140px) {
  .home-foods__head, .home-foods__grid {
    max-width: 992px;
  }
}
@media (max-width: 992px) {
  .home-foods {
    padding-top: 20px;
  }
  .home-foods__head {
    grid-template-columns: 1fr;
    row-gap: 14px;
    margin-bottom: 26px;
    padding: 0 20px;
    max-width: 100%;
  }
  .home-foods__title-wrap {
    min-height: 55px;
  }
  .home-foods__title-wrap::before, .home-foods__title-wrap::after {
    height: 55px;
  }
  .home-foods__title-wrap h2 {
    font-size: 31px;
    line-height: 52px;
  }
  .home-foods__all {
    width: 160px;
    height: 40px;
    justify-self: end;
  }
  .home-foods__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
    max-width: 100%;
    padding: 0 20px;
  }
}
@media (max-width: 560px) {
  .home-foods__section {
    margin-bottom: 42px;
  }
  .home-foods__title-wrap h2 {
    font-size: 27px;
  }
  .home-foods__all {
    justify-self: start;
  }
  .home-foods__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .food-card__image {
    border-radius: 24px;
  }
  .food-card h3 {
    font-size: 21px;
  }
}
.site-footer {
  position: relative;
  min-height: 438px;
  margin-top: 78px;
  overflow: hidden;
  background-color: #4b0d13;
  background-image: url("../img/footer-bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  border-top: 13px solid #c89444;
  border-top-left-radius: 145px 88px;
  border-top-right-radius: 145px 88px;
}
.site-footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: min(1250px, 100% - 40px);
  margin: 0 auto;
  padding: 33px 0 24px;
  text-align: center;
}
.site-footer__brand {
  display: block;
  width: 393px;
  max-width: 70vw;
}
.site-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
}
.site-footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 42px;
}
.site-footer__nav a {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.site-footer__nav a:hover {
  color: #f4d18c;
}
.site-footer__governor {
  display: block;
  width: 133px;
  margin-top: 47px;
}
.site-footer__governor img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 992px) {
  .site-footer {
    min-height: 390px;
    margin-top: 58px;
    border-top-left-radius: 95px 58px;
    border-top-right-radius: 95px 58px;
  }
  .site-footer__brand {
    width: 340px;
  }
  .site-footer__nav {
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 34px;
  }
  .site-footer__nav a {
    font-size: 20px;
  }
  .site-footer__governor {
    width: 112px;
    margin-top: 40px;
  }
}
@media (max-width: 560px) {
  .site-footer {
    min-height: 352px;
    margin-top: 44px;
    border-top-width: 9px;
    border-top-left-radius: 58px 34px;
    border-top-right-radius: 58px 34px;
  }
  .site-footer__inner {
    width: calc(100% - 28px);
    padding-top: 30px;
  }
  .site-footer__brand {
    width: min(318px, 84vw);
  }
  .site-footer__nav {
    gap: 14px 17px;
    margin-top: 30px;
  }
  .site-footer__nav a {
    font-size: 16px;
  }
  .site-footer__governor {
    width: 94px;
    margin-top: 34px;
  }
}
.page-detail {
  background: #fff;
}

.page-top {
  min-height: 111px;
  padding: 18px 0 16px;
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: 100% auto;
  margin-top: -119px;
  position: relative;
  z-index: 2;
}
.page-top h1 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.05;
}
.page-top__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.page-top__breadcrumb a,
.page-top__breadcrumb span {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.page-top__breadcrumb a:not(:first-child)::before,
.page-top__breadcrumb span:not(:first-child)::before {
  content: "›";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 9px;
  border-radius: 50%;
  background: #fff;
  color: #5d1118;
  font-size: 16px;
  font-weight: 900;
  line-height: 14px;
  padding-top: 2px;
  position: relative;
  top: -1px;
}

.page-content {
  padding: 48px 0 20px;
}
.page-content__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 382px;
  gap: 56px;
  align-items: start;
}
.page-content__layout--single {
  grid-template-columns: minmax(0, 1fr);
}
.page-content__body {
  min-width: 0;
  color: #242222;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}
.page-content__body > *:first-child {
  margin-top: 0;
}
.page-content__body > *:last-child {
  margin-bottom: 0;
}
.page-content__body h2,
.page-content__body h3,
.page-content__body h4 {
  margin: 0px 0 14px;
  color: #2e2e2e;
  font-weight: 800;
  line-height: 1.2;
}
.page-content__body h2 {
  font-size: 27px;
}
.page-content__body h3 {
  font-size: 22px;
}
.page-content__body h4 {
  font-size: 19px;
}
.page-content__body p {
  margin: 0 0 20px;
}
.page-content__body a {
  color: #5d1118;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(200, 148, 68, 0.45);
  text-underline-offset: 4px;
}
.page-content__body a:hover {
  color: #8f5f2f;
}
.page-content__body ul,
.page-content__body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.page-content__body ul {
  list-style: disc;
}
.page-content__body ol {
  list-style: decimal;
}
.page-content__body li {
  margin-bottom: 8px;
  display: list-item;
}
.page-content__body li::marker {
  font-size: 1.7em;
}
.page-content__body blockquote {
  margin: 30px 0;
  padding: 22px 28px;
  border-left: 5px solid #c89444;
  background: #faf8f5;
  color: #6d3f2f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.5;
}
.page-content__body img {
  height: auto;
  border-radius: 18px;
}
.page-content__lead {
  color: #6d3f2f;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}
.page-content__media {
  position: sticky;
  top: 24px;
  overflow: hidden;
  border-radius: 28px;
  background: #f4f0eb;
}
.page-content__media img {
  display: block;
  width: 100%;
  aspect-ratio: 382/460;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width: 992px) {
  .page-top {
    background-size: auto 100%;
    margin-top: 0;
    min-height: 104px;
    background-color: #fff;
  }
  .page-top h1 {
    color: #5d1118;
    font-size: 34px;
  }
  .page-top__breadcrumb {
    gap: 9px;
    color: #5d1118;
    font-size: 11px;
  }
  .page-top__breadcrumb a,
  .page-top__breadcrumb span {
    color: #5d1118;
  }
  .page-top__breadcrumb a:not(:first-child)::before,
  .page-top__breadcrumb span:not(:first-child)::before {
    background: #5d1118;
    color: #fff;
  }
  .page-content {
    padding-top: 42px;
  }
  .page-content__layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .page-content__media {
    position: static;
    max-width: 520px;
    order: -1;
  }
  .page-content__media img {
    aspect-ratio: 16/10;
  }
}
@media (max-width: 560px) {
  .page-top {
    min-height: 100px;
    margin-top: 0;
    padding: 17px 0 14px;
  }
  .page-top h1 {
    font-size: 28px;
  }
  .page-top__breadcrumb {
    gap: 7px;
    font-size: 10px;
  }
  .page-top__breadcrumb a:not(:first-child)::before,
  .page-top__breadcrumb span:not(:first-child)::before {
    width: 14px;
    height: 14px;
    margin-right: 7px;
    font-size: 14px;
    line-height: 12px;
  }
  .page-content {
    padding-top: 34px;
  }
  .page-content__body {
    font-size: 16px;
  }
  .page-content__body h2 {
    font-size: 26px;
  }
  .page-content__body h3 {
    font-size: 22px;
  }
  .page-content__lead {
    font-size: 18px;
  }
}
.meal-detail {
  background: #fff;
  padding: 0 0 28px;
}
.meal-detail .page-top {
  margin-top: -154px;
}

.meal-detail__wrap {
  display: grid;
  grid-template-columns: 428px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  position: relative;
}

.meal-detail__media {
  position: relative;
  min-width: 0;
  border-radius: 42px;
  box-shadow: 0 24px 48px rgba(57, 31, 22, 0.08);
  background-color: #fff;
  padding: 10px;
}

.meal-detail__photo {
  display: block;
  overflow: hidden;
  border-radius: 30px;
}
.meal-detail__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 428/451;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.25s ease;
}
.meal-detail__photo:hover img {
  transform: scale(1.03);
}

.meal-detail__badge {
  position: absolute;
  bottom: -24px;
  left: -18px;
  width: 93px;
  height: 93px;
  border-radius: 50%;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.meal-detail__badge img {
  display: block;
  width: 69px;
  height: 67px;
  -o-object-fit: contain;
     object-fit: contain;
}

.meal-tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.meal-tabs__nav {
  display: flex;
  align-items: center;
  gap: 21px;
  min-height: 62px;
  margin-bottom: 38px;
  padding: 0 28px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}
.meal-tabs__nav label {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 62px;
  color: #b3b3b3;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.meal-tabs__panels {
  padding-left: 28px;
}

.meal-tabs__panel {
  display: none;
  color: #2c2c2c;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
}
.meal-tabs__panel h2,
.meal-tabs__panel h3 {
  margin: 0 0 19px;
  color: #2b2b2b;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1;
}
.meal-tabs__panel p {
  margin: 0 0 19px;
}
.meal-tabs__panel ul,
.meal-tabs__panel ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.meal-tabs__panel ul {
  list-style: disc;
}
.meal-tabs__panel ol {
  list-style: decimal;
}
.meal-tabs__panel li {
  display: list-item;
  margin-bottom: 9px;
}
.meal-tabs__panel li::marker {
  font-size: 1.7em;
}
.meal-tabs__panel a {
  color: #5d1118;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.meal-tabs__video {
  position: relative;
  overflow: hidden;
  max-width: 760px;
  aspect-ratio: 16/9;
  border-radius: 18px;
  background: #f3f3f3;
}
.meal-tabs__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#meal-tab-story:checked ~ .meal-tabs__nav label[for=meal-tab-story],
#meal-tab-ingredients:checked ~ .meal-tabs__nav label[for=meal-tab-ingredients],
#meal-tab-recipe:checked ~ .meal-tabs__nav label[for=meal-tab-recipe],
#meal-tab-video:checked ~ .meal-tabs__nav label[for=meal-tab-video] {
  color: #4d1118;
}
#meal-tab-story:checked ~ .meal-tabs__nav label[for=meal-tab-story]::after,
#meal-tab-ingredients:checked ~ .meal-tabs__nav label[for=meal-tab-ingredients]::after,
#meal-tab-recipe:checked ~ .meal-tabs__nav label[for=meal-tab-recipe]::after,
#meal-tab-video:checked ~ .meal-tabs__nav label[for=meal-tab-video]::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 0;
  left: 2px;
  height: 7px;
  border-radius: 7px 7px 0 0;
  background: #e7a91e;
}

#meal-tab-story:checked ~ .meal-tabs__panels .meal-tabs__panel--story,
#meal-tab-ingredients:checked ~ .meal-tabs__panels .meal-tabs__panel--ingredients,
#meal-tab-recipe:checked ~ .meal-tabs__panels .meal-tabs__panel--recipe,
#meal-tab-video:checked ~ .meal-tabs__panels .meal-tabs__panel--video {
  display: block;
}

@media (max-width: 1140px) {
  .meal-detail__wrap {
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 34px;
  }
  .meal-tabs__nav {
    gap: 16px;
    padding: 0 22px;
  }
  .meal-tabs__nav label {
    font-size: 14px;
  }
}
@media (max-width: 992px) {
  .meal-detail .page-top {
    margin-top: 0;
  }
  .meal-detail__wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .meal-detail__media {
    justify-self: center;
    width: min(100%, 520px);
    max-width: 520px;
  }
  .meal-detail__content {
    min-width: 0;
  }
  .meal-tabs__nav {
    flex-wrap: wrap;
    gap: 0 20px;
    height: auto;
    min-height: 0;
    padding: 0 22px;
  }
  .meal-tabs__nav label {
    height: 56px;
  }
  .meal-tabs__panels {
    padding-left: 0;
  }
}
@media (max-width: 560px) {
  .meal-detail {
    padding-top: 0;
  }
  .meal-detail .page-top {
    margin-top: 0;
  }
  .meal-detail__media {
    border-radius: 24px;
  }
  .meal-detail__photo {
    border-radius: 24px;
  }
  .meal-detail__photo img {
    border-radius: 24px;
  }
  .meal-detail__badge {
    bottom: -18px;
    left: -8px;
    width: 76px;
    height: 76px;
  }
  .meal-detail__badge img {
    width: 56px;
    height: 54px;
  }
  .meal-detail__zoom {
    top: 22px;
    right: 12px;
  }
  .meal-tabs__nav {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0 14px;
    height: auto;
    margin-bottom: 28px;
    padding: 0 16px;
  }
  .meal-tabs__nav label {
    height: 48px;
    font-size: 12px;
  }
  .meal-tabs__panel {
    font-size: 15px;
  }
  .meal-tabs__panel h2,
  .meal-tabs__panel h3 {
    font-size: 22px;
  }
}
.book-page,
.book-reader-page {
  background: #fff;
}

.book-intro {
  padding: 54px 0 30px;
}
.book-intro__layout {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}
.book-intro__media {
  overflow: hidden;
  border-radius: 30px;
  background: #f7f3ef;
  box-shadow: 0 24px 48px rgba(57, 31, 22, 0.08);
}
.book-intro__media img {
  display: block;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.book-intro__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #c89444;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.book-intro h2 {
  margin: 0 0 18px;
  color: #5d1118;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
}
.book-intro p, .book-intro__text {
  max-width: 660px;
  color: #2d2a29;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.72;
}
.book-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  height: 46px;
  padding: 0 24px;
  border: 1px solid #ead7c8;
  border-radius: 6px;
  background: #fff;
  color: #5d1118;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.book-btn:hover {
  border-color: #c89444;
  background: #faf4ed;
}
.book-btn--primary {
  border-color: #5d1118;
  background: #5d1118;
  color: #fff;
}
.book-btn--primary:hover {
  border-color: #7c513b;
  background: #7c513b;
  color: #fff;
}

.book-reader {
  padding: 42px 0 32px;
}
.book-reader__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 14px 14px 0 0;
  background: #5d1118;
  color: #fff;
}
.book-reader__toolbar span {
  display: block;
  margin-bottom: 4px;
  color: #d7af72;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.book-reader__toolbar strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}
.book-reader__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.book-reader__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}
.book-reader__actions a:hover {
  background: #c89444;
}
.book-reader__frame {
  overflow: hidden;
  height: min(78vh, 860px);
  min-height: 620px;
  border: 1px solid #ead7c8;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #f5f1ed;
  box-shadow: 0 20px 46px rgba(57, 31, 22, 0.1);
}
.book-reader__frame object,
.book-reader__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.book-reader__frame--flip {
  position: relative;
  min-height: 680px;
  background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 42%), linear-gradient(135deg, #f7efe6 0%, #e9d8c8 100%);
}
.book-reader__flipbook {
  width: 100%;
  height: 100%;
}
.book-reader__flipbook .flipbook-main-wrapper {
  border-radius: 0 0 14px 14px;
  background: transparent !important;
}
.book-reader__flipbook .flipbook-menuWrapper {
  top: auto;
  right: 0;
  bottom: 18px;
  left: 0;
  width: auto;
  display: flex;
  justify-content: center;
  padding: 0 18px;
  pointer-events: none;
}
.book-reader__flipbook .flipbook-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(93, 17, 24, 0.86) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px rgba(57, 31, 22, 0.26);
  pointer-events: auto;
}
.book-reader__flipbook .flipbook-menu-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 2px;
  border-radius: 50%;
  color: #fff !important;
  font-size: 15px !important;
  line-height: 36px !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.book-reader__flipbook .flipbook-menu-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #e7a91e !important;
  transform: translateY(-1px);
}
.book-reader__flipbook .flipbook-currentPage,
.book-reader__flipbook .flipbook-totalPages {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 36px !important;
  margin: 0 4px !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  font-family: "Gilroy", sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 36px !important;
  opacity: 1 !important;
  text-align: center !important;
  width: auto !important;
  min-width: 38px;
  z-index: 1;
}
.book-reader__flipbook .flipbook-totalPages {
  color: rgba(255, 255, 255, 0.72) !important;
}
.book-reader__flipbook .flipbook-totalPages::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.46);
}
.book-reader__flipbook .flipbook-loading-bar {
  position: absolute;
  right: 34px;
  bottom: -10px;
  left: 34px;
  width: auto;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.book-reader__flipbook .flipbook-progress-bar {
  border-radius: inherit;
  background: #e7a91e;
}

@media (max-width: 992px) {
  .book-intro__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .book-intro__media {
    max-width: 430px;
  }
  .book-intro h2 {
    font-size: 34px;
  }
  .book-reader__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .book-reader__frame {
    min-height: 520px;
  }
  .book-reader__flipbook .flipbook-menuWrapper {
    bottom: 14px;
    padding: 0 12px;
  }
  .book-reader__flipbook .flipbook-menu {
    flex-wrap: wrap;
    min-height: 46px;
    padding: 6px 9px;
  }
  .book-reader__flipbook .flipbook-menu-btn {
    width: 34px;
    height: 34px;
    font-size: 14px !important;
    line-height: 34px !important;
  }
}
@media (max-width: 560px) {
  .book-intro {
    padding-top: 38px;
  }
  .book-intro h2 {
    font-size: 29px;
  }
  .book-reader {
    padding-top: 32px;
  }
  .book-reader__toolbar {
    padding: 16px;
  }
  .book-reader__toolbar strong {
    font-size: 17px;
  }
  .book-reader__actions {
    width: 100%;
  }
  .book-reader__actions a {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 12px;
  }
  .book-reader__frame {
    min-height: 460px;
  }
  .book-reader__flipbook .flipbook-menuWrapper {
    bottom: 10px;
  }
  .book-reader__flipbook .flipbook-menu {
    max-width: calc(100vw - 44px);
  }
  .book-reader__flipbook .flipbook-currentPage,
  .book-reader__flipbook .flipbook-totalPages {
    height: 32px !important;
    min-width: 32px;
    padding: 0 8px !important;
    font-size: 12px !important;
    line-height: 32px !important;
  }
}/*# sourceMappingURL=style.css.map */