/* Отступы для контейнера на средних экранах */
._r-container {
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (min-width: 1240px) {
  ._r-container {
    padding-left: 0;
    padding-right: 0;
  }
}

._di > div[id^="bx_incl_area_"] {
  display: inline-block;
}

.history-line-item-content {
  margin-top: 10px;
  margin-bottom: 10px;
}

.sidebar {
  padding-bottom: 40px;
}

.blog-article-cat {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

._catalog-content {
  padding-bottom: 80px;
}

input.error, textarea.error {
  border-color: #b60707 !important;
}

.error-response {
  text-align: left;
  font-size: 12px;
  color: #b60707;
  margin-top: 10px;
}

.error-response:empty {
  margin: 0;
  display: none;
}

.coop-item .img-block img {
  width: 108px;
  height: 108px;
}

body a._catalog-link {
  grid-gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #2e2e2e;
  color: var(--black);
  position: relative;
  display: flex;
  align-items: center;
}

body a._catalog-link.active {
  font-weight: 700;
  color: #1b9640;
  color: var(--green);
}

body a._catalog-link.active:before {
  content: '';
  background-color: #2eb25c;
  background-color: var(--main-green);
  width: 1rem;
  display: block;
  height: 2px;
}

.filter-items-group:not(.open) .filter-items-title + .icon {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.filter-items-group.open .filter-items-title + .icon {
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.filter-items-title {
  padding-right: 8px;
}

._q {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

._q .icon {
  padding: 4px;
  cursor: pointer;
}

._contract-quiz-form input + input:not([type=submit]) {
  margin-top: 12px;
}

.sert-items-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.sert-items-wrapper .sert-item img {
  width: auto;
  height: 100px;
}

.sert-items-wrapper .sert-item {
  text-align: center;
}

@media (max-width: 767px) {
  .sert-items-wrapper {
    flex-wrap: wrap;
    gap: 20px;
  }

  .sert-items-wrapper .sert-item img {
    height: 70px;
  }
}

.section-description {
  margin-top: 40px;
}

.section-description h2 {
  font-family: var(--road);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(28px, 2vw, 42px);
  font-size: var(--h2);
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
}


.btn-green.btn-red {
  background: #ea563c;
  border-color: #ea563c;
}

.btn-green.btn-red:hover {
  background-color: #cd4f39;
  border-color: #cd4f39;
}

#order_calculation .img-cover {
  right: 0;
  left: unset;
  object-fit: contain;
  object-position: left;
  background-color: white;
}

#order_calculation .modal-form .form-wrapper,
#questions .modal-form .form-wrapper {
  margin-right: auto;
  margin-left: 0;
}

#questions .img-cover {
  right: 0;
  left: unset;
  object-fit: cover;
  object-position: center;
  background-color: white;
}

.main-page-form.form-background {
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
}

.has-iframe .fancybox__content {
  height: 90% !important;
}

.start-brand-wrapper {
  display: flex;
  gap: 2rem;
  padding-top: 70px;
  flex-wrap: wrap;
}

.start-brand-wrapper .start-brand_item {
  position: relative;
  border-radius: var(--brs);
  border: 1px solid #e1e2e6;
  background-color: var(--l-gray);
  padding: 1rem;
  z-index: 1;
  width: calc(25% - 2rem);
  text-align: center;
  font-size: var(--h4);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.start-brand-wrapper .start-brand_item .item_number {
  position: absolute;
  background-color: var(--main-green);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  text-align: center;
  top: -35px;
  left: 50%;
  font-size: 35px;
  padding-top: 10px;
  transform: translate(-50%, 0%);
  color: white;
}

@media (max-width: 767px) {
  .start-brand-wrapper .start-brand_item {
    width: calc(50% - 2rem);
  }

  .start-brand-wrapper .start-brand_item {
    margin-top: 35px;
  }

  .start-brand-wrapper .start-brand_item .item_number {
    top: -50%;
  }

  .start-brand-wrapper {
    padding-top: 30px;
  }

  .single-item-desc-wrapper .flex-group-items .single-filter-group {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .start-brand-wrapper .start-brand_item {
    width: 100%;
  }

  .table-wrapper {
    max-width: 90vw;
    overflow-x: scroll;
  }
}

.single-content p:has(img) {
  margin-bottom: 0;
}

.single-content .image-title {
  margin-top: 0;
  text-transform: uppercase;
  font-weight: bold;
  font-family: var(--road);
}

.catalog-content .section-description a {
  /* border-bottom: 2px solid var(--main-green); */
  color: var(--main-green) !important;
}

.catalog-content .section-description ul {
  padding-left: 15px;
}

.catalog-content .section-description ul li {
  position: relative;
  padding-left: 2rem;
}

.catalog-content .section-description ul li::before {
  position: absolute;
  content: '';
  display: block;
  top: .55em;
  left: 0;
  background-color: #2eb25c;
  background-color: var(--main-green);
  width: 12px;
  height: 2px;
}

.catalog-content .section-description ul li + li {
  margin-top: 10px;
}

.main-page-catalog-item:hover {
  border-color: #2eb25c;
}

.catalog-card-preview:hover {
  outline: 1px solid #2eb25c;
}

.single-item-desc-wrapper .flex-group-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.single-item-desc-wrapper .flex-group-items .single-filter-group,
.single-item-desc-wrapper .flex-group-items p {
  align-self: center;
  display: flex;
  width: 45%;
}

.single-item-desc-wrapper .flex-group-items .single-filter-group .select-group {
  width: 100%;
}

.single-item-desc-wrapper .flex-group-items .single-filter-group .select-group .select-item-list li {
  padding: 6px 1rem;
}

._tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

._tags a {
  display: block;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid #2e2e2e20;
  color: #2e2e2e90;
  transition: all 0.3s;
}

._tags a:hover {
  border-color: #2eb25c;
  color: #2eb25c;
}

.single-tags-list:not(:empty) {
  margin-bottom: 30px;
}

.__article ul li {
  list-style: none;
  position: relative;
}

.__article ul li:before {
  content: '';
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 100%;
  background: #3aaf5d;
  position: absolute;
  top: 7px;
  left: 0;
}

.__article q {
  padding-left: 30px;
  position: relative;
  border-left: 4px solid #ff8900;
  display: block;
  margin: 1rem 0;
}

.__article q:before,
.__article q:after {
  display: none;
}

.__article mark, .__article del {
  border-radius: 20px;
  background: #f2f6fc;
  padding: 36px 50px;
  display: block;
  margin: 1rem 0;
}

.__article del {
  text-decoration: none;
}

._r-article .sidebar-tags-list {
  margin-top: 0;
  margin-bottom: 1rem;
}

.__article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.__article-tags span {
  border-radius: 40px;
  border: 1px solid #2eb25c;
  background: #fff;
  color: #2e2e2e;
  padding: 6px 16px;
  font-size: 12px;
  cursor: default;
}

body ._r-header {
  overflow: visible;
}

._r-nav .dropdown {
  position: relative;
}

._r-nav .dropdown-menu {
  position: absolute;
  z-index: 1000;
  display: none;
  top: 100%;
  left: -10px;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 16px 10px;
  width: 300px;
  flex-direction: column;
  gap: 10px;
}

._r-nav .dropdown:hover .dropdown-menu {
  display: flex;
}

._r-header__mobile-menu-nav {
  padding-left: 16px;
  padding-right: 16px;
  height: calc(100svh - 80px);
}

._r-header__mobile-menu-nav a svg {
  flex-shrink: 0;
}

._r-main ._r-header__mobile-menu-nav .submenu a {
  font-size: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 16px;
}

._r-header--opened ._r-header__mobile-menu {
  overflow: auto;
}

._r-header__mobile-menu-bottom {
  flex-direction: column;
}

._r-main ._r-header__mobile-menu-nav ._r-header__mobile-menu-bottom a {
  padding: 0;
  border: none;
  display: inline-block;
}

.price-modal {
  padding: 0;
}

.price-modal__row {
  display: flex;

  @media (max-width: 767px) {
    display: block;
  }
}

.price-modal__image {
  width: 466px;
  flex: 1;
  background-image: url('/price-bg.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  @media (max-width: 767px) {
    width: 100%;
    height: 400px;
  }
}

.price-modal__right {
  flex: 1;
}

.price-modal__content {
  padding: 60px 26px 30px;
}

.price-modal__title {
  font-weight: 800;
  font-size: 22px;
  line-height: 120%;
  text-transform: uppercase;
  text-align: center;
  color: #000;
  margin-bottom: 7px;
}

.price-modal__text {
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  text-align: center;
  color: #000;
  margin-bottom: 25px;
}

.price-modal__form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.price-modal__form input[type="text"],
.price-modal__form input[type="tel"] {
  border-radius: 5px;
  background: #f1f1f1;
  outline: none;
  font-weight: 400;
  font-size: 15px;
  padding: 11px 24px;
  border: 1px solid transparent;
}

.price-modal__form input[type="text"].error,
.price-modal__form input[type="tel"].error {
  border-color: #b60707;
}

.price-modal__form button {
  display: inline-block;
  margin: 0 auto;
  border-radius: 5px;
  background: #1b9640;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  color: #fff;
  padding: 12px 74px;
  border: none;
  outline: none;
  cursor: pointer;
}

.price-modal__checkbox {
  margin-top: 38px;
}

.price-modal__checkbox input[type="checkbox"] {
  display: none;
}

.price-modal__checkbox label {
  position: relative;
  font-style: italic;
  font-weight: 250;
  font-size: 10px;
  text-align: center;
  color: #000;
  padding-left: 21px;
  cursor: pointer;
}

.price-modal__checkbox label::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 2px;
  background: #f9eeee;
}

.price-modal__checkbox input[type="checkbox"]:checked + label::before {
  background: #1b9640;
}

._policy-modal {
  position: fixed;
  bottom: 10px;
  right: 10px;
  display: none;
  background: #fff;
  z-index: 999990;
  padding: 10px 20px 10px 10px;
  font-size: 13px;
  max-width: calc(100% - 20px);
  width: 500px;
  border: 1px solid #eee;
  border-radius: 12px;
}

._policy-modal__close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  display: block;
  text-decoration: none;
  border: none !important;
  color: #000;
}

._policy-modal__close svg {
  width: 100%;
  height: 100%;
}

._policy-modal button {
  all: unset;
  background: #1b9640;
  padding: 6px 20px;
  color: #fff;
  cursor: pointer;
  margin-top: 8px;
  border-radius: 8px;
}

._policy-modal a {
  color: #1b9640;
}

._policy-modal a:hover {
  text-decoration: underline;
}

._r-footer__col-nav-item a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.production-block img {
  max-width: inherit;
}

.unique-products p {
  margin: inherit;
}

.unique-products .title {
  margin: 0;
}

.unique-products .unique-products__stages {
  margin: 0;
}

.production-block .title {
  text-transform: inherit;
  font-family: var(--font-family-primary);
}

.production-block-item:nth-child(5) .production-block-item__img {
  max-width: none;
}

.block__wrap {
  @media screen and (max-width: 600px) {
    padding-left: 0;
    padding-right: 0;
  }
}

.unique-products .title,
.profit .title,
.certificates .title {
  font-family: var(--font-family-primary);
  text-transform: inherit;
}

.certificates p {
  margin: 0;
}

.modal.fancybox__content .title {
  font-size: inherit;
}

.main__trand {
  max-width: 760px;
  @media screen and (max-width: 600px) {
    max-width: 100%;
  }
}

._r-about__gallery--mobile.swiper {
  display: none;
  @media screen and (max-width: 400px) {
    display: block;
  }
}

.order-production p {
  margin: 0;
}

#callback.modal {
  max-width: 880px;
}

p.order-production__title,
p.order-production__date {
  margin-bottom: 40px;
  font-size: 40px;
}

._r-main .order-production__btn {
  padding: 16px 34px;
  color: var(--white);
  font-family: var(--font-family-primary);
  font-size: 60px;
  font-weight: 700;
  border-radius: 16px;
  background: var(--green-dark);
}

.order-production-table__title,
.order-production-table__note,
._r-partners .order-production-table__body .order-production-table__data,
._r-partners .order-production__btn {
  font-size: 17px;
}

@media screen and (max-width: 767px) {
  ._r-main .order-production__btn {
    font-size: 20px;
    padding: 5px 8px;
    border-radius: 6px;
  }

  p.order-production__title,
  p.order-production__date {
    font-size: 32px;
  }

  .order-production-table__title,
  .order-production-table__note,
  ._r-partners .order-production-table__body .order-production-table__data,
  ._r-partners .order-production__btn {
    font-size: 12px;
  }
}

.certificates__content p.title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  @media screen and (max-width: 1199px) {
    text-align: center;
    font-size: 56px;
  }

  @media screen and (max-width: 767px) {
    font-size: 32px;
  }
}

.main-container .content {
  flex: 1;
}

.main-container > .visually-hidden {
  display: none;
}

.__about {
  padding-top: 90px;
}

._r-main h1.__title {
  text-transform: uppercase;
}

body .__about .about-top-content p {
  margin: 20px 0;
}

/* Catalog filter styles */
._catalog-filter-active .filter-items-title {
  color: #1b9640;
  font-weight: 700;
}

/* Mobile Filter Styles */
.mobile-filter-btn {
  display: none;
  margin-left: auto;
}

.mobile-filter-btn button {
  padding: 8px 16px;
  font-size: 14px;
}

/* Header layout for filters */
.section-title-wrapper--filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.section-title-wrapper--filter h1 {
  margin: 0;
}

.mobile-filter-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}

.mobile-filter-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.mobile-filter-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 12px;
  padding: 0;
  max-width: 90vw;
  width: 400px;
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-filter-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e1e2e6;
}

.mobile-filter-modal__header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.mobile-filter-modal__close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.mobile-filter-modal__body {
  padding: 20px;
}

.mobile-filter-modal__body .filter-items-group {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-filter-modal__body .filter-items-group:last-child {
  border-bottom: none;
}

.mobile-filter-modal__body .filter-items-title {
  color: #333;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  display: block;
}

.mobile-filter-modal__body .filter-items-title:hover {
  color: #3aaf5d;
}

.mobile-filter-modal__body ._catalog-filter-active .filter-items-title {
  color: #3aaf5d;
  font-weight: bold;
}

._catalog-item {
  display: none;
}

._catalog-item._catalog-item-visible {
  display: block;
}

/* Product Modal */
/* Product Page */
._product-page, .__catalog-page {
  padding: 100px 0 40px;
}

.__catalog-page {
  padding-top: 60px;
}

._product-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #999;
  flex-wrap: wrap;
}

._product-breadcrumbs a {
  color: #3aaf5d;
  text-decoration: none;
}

._product-breadcrumbs a:hover {
  text-decoration: underline;
}

._product-page .single-item-jumb {
  display: flex;
  gap: 40px;
}

._product-page .single-item-preview {
  flex: 1;
  max-width: 500px;
}

._product-page .single-item-desc-wrapper {
  flex: 1;
}

._product-page .single-item-title {
  margin-bottom: 16px;
}

._product-page-price {
  margin: 20px 0;
  font-size: 28px;
  font-weight: bold;
  color: #3aaf5d;
}

._product-page-price._has-discount,
._product-page-price:has(._old-price) {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

._product-page .flex-group-items {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e1e2e6;
}

._product-page .single-desc-tabs {
  margin-top: 24px;
}

._product-page .single-tab-line {
  border-bottom: 1px solid #e1e2e6;
}

._product-page .single-tab-line button {
  width: 100%;
  text-align: left;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}

._product-page .single-tab-line button .icon {
  transition: transform 0.3s;
  transform: rotate(90deg);
}

._product-page .single-tab-line button.active .icon {
  transform: rotate(-90deg);
}

._product-page .single-tab-line-desc {
  padding-bottom: 16px;
}

._product-page .single-desc-wrapper {
  padding-top: 40px;
}

._product-taste-selector {
  margin: 20px 0;
}

/* Product Gallery Swiper */
._product-gallery-main {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e1e2e6;
  background: #fff;
}

._product-gallery-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  user-select: none;
}

._product-gallery-main .swiper-slide img {
  width: 100%;
  height: auto;
  max-height: 498px;
  /*object-fit: cover;*/
  display: block;
  user-select: none;
}

._product-gallery-prev,
._product-gallery-next {
  color: #2eb25c;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
}

._product-gallery-prev:hover,
._product-gallery-next:hover {
  background: #fff;
  color: #25924c;
}

._product-gallery-prev::after,
._product-gallery-next::after {
  font-size: 18px;
  font-weight: bold;
}

._product-gallery-prev.swiper-button-disabled,
._product-gallery-next.swiper-button-disabled {
  opacity: 0.3;
}

._product-gallery-thumbs {
  margin-top: 12px;
  padding: 4px 0;
}

._product-gallery-thumbs .swiper-slide {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e1e2e6;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s;
}

._product-gallery-thumbs .swiper-slide:hover {
  opacity: 0.85;
}

._product-gallery-thumbs .swiper-slide-thumb-active {
  border-color: #2eb25c;
  opacity: 1;
}

._product-gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


._purchase-modal {
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
}

._purchase-modal h2 {
  color: #333;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

._purchase-product-info {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

._purchase-product-info > div {
  display: flex;
  align-items: center;
  gap: 15px;
}

#purchaseProductImage {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

#purchaseProductName {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 5px;
  color: #333;
}

#purchaseProductPrice {
  font-size: 24px;
  font-weight: bold;
  color: #3aaf5d;
}

._purchase-form ._r-input-container {
  margin-bottom: 15px;
  position: relative;
}

._purchase-form ._r-input-container input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

._purchase-form ._r-input-container select {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
  box-sizing: border-box;
  background: white;
}

._purchase-form ._r-input-container input:focus,
._purchase-form ._r-input-container select:focus {
  outline: none;
  border-color: #3aaf5d;
}

._purchase-form ._r-input-container input.error,
._purchase-form ._r-input-container select.error {
  border-color: #b60707;
}

._purchase-form ._r-input-container select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}

._purchase-form .error-response {
  padding: 10px;
  border-radius: 6px;
  background: #ffebee;
  font-size: 14px;
  color: #b60707;
  margin: 10px 0;
}

._purchase-form .error-response:empty {
  display: none;
  margin: 0;
  padding: 0;
}

._purchase-form button[type="submit"] {
  width: 100%;
  margin-top: 10px;
  padding: 14px 30px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  color: #fff;
}

._purchase-form ._r-form__agreement {
  font-size: 12px;
  color: #666;
  margin-top: 15px;
  text-align: center;
  line-height: 1.5;
}

._purchase-form ._r-form__agreement a {
  color: #3aaf5d;
  text-decoration: none;
}

._purchase-form ._r-form__agreement a:hover {
  text-decoration: underline;
}

.catalog-card-price {
  font-size: 20px;
  color: #3aaf5d;
  margin: 10px 0;
  font-weight: 600;
}

/* Preloader for button */
._js-ajax-submit.preloader {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

._js-ajax-submit.preloader::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Price in product page */
._product-page-price {
  margin: 20px 0;
  font-size: 28px;
  font-weight: bold;
  color: #3aaf5d;
}

/* Mobile Bottom Navigation - hide on desktop */
.mobile-bottom-nav {
  display: none;
}

/* Mobile responsive for filters */
@media (max-width: 991px) {

  .catalog-wrapper .sidebar-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .catalog-wrapper .sidebar-filter .filter-items-group {
    flex-basis: calc((100% - 10px) / 2);
    width: calc((100% - 10px) / 2);
    padding: 10px;
    background: #1b964010;
    margin: 0 !important;
    border-radius: 8px;
    border: 1px solid #1b9640;
    text-align: center;
    display: block;
  }

  .catalog-wrapper .sidebar-filter .filter-items-group .filter-items-title {
    padding: 0;
  }

  .catalog-wrapper .sidebar-filter .filter-items-group ._q {
    justify-content: center;
    text-align: center;
    height: 100%;
  }

  .catalog-wrapper .sidebar-filter .filter-items-group ._q a {
    text-align: center;
    font-size: 14px;
  }

  .mobile-filter-btn {
    display: block;
  }

  .mobile-filter-modal__content {
    max-width: 95vw;
    width: 350px;
  }

  .mobile-filter-modal__header {
    padding: 15px;
  }

  .mobile-filter-modal__body {
    padding: 15px;
  }

  /* Mobile header - not fixed */
  ._r-header {
    position: relative !important;
    background: white !important;
    box-shadow: none !important;
  }

  /* Mobile bottom navigation */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e1e2e6;
    padding: 8px 0;
    z-index: 1000;
    justify-content: space-around;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    min-width: 60px;
  }

  .mobile-nav-item:hover,
  .mobile-nav-item:active {
    color: #3aaf5d;
    background: rgba(58, 175, 93, 0.1);
  }

  .mobile-nav-item svg {
    margin-bottom: 4px;
  }

  .mobile-nav-item span {
    font-size: 12px;
    font-weight: 500;
  }

  .mobile-nav-item__icon-wrapper {
    position: relative;
    display: inline-flex;
  }

  .mobile-nav-item__badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
  }

  /* Partner mobile nav item */
  .mobile-nav-item._mobile-nav-partner {
    color: #f57c00;
  }

  .mobile-nav-item._mobile-nav-partner:hover,
  .mobile-nav-item._mobile-nav-partner:active {
    color: #e65100;
    background: rgba(245, 124, 0, 0.1);
  }

  /* Admin mobile nav item */
  .mobile-nav-item._mobile-nav-admin {
    color: #3aaf5d;
  }

  .mobile-nav-item._mobile-nav-admin:hover,
  .mobile-nav-item._mobile-nav-admin:active {
    color: #2d9a4e;
    background: rgba(58, 175, 93, 0.1);
  }

  /* Add padding to body for fixed bottom nav */
  body {
    padding-bottom: 80px;
  }
}

@media (max-width: 768px) {
  ._purchase-modal {
    padding: 20px;
    margin: 20px;
  }

  ._purchase-modal h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  ._purchase-product-info {
    padding: 12px;
  }

  #purchaseProductImage {
    width: 60px;
    height: 60px;
  }

  #purchaseProductName {
    font-size: 16px;
  }

  #purchaseProductPrice {
    font-size: 20px;
  }

  ._purchase-form ._r-input-container input {
    font-size: 14px;
    padding: 10px 12px;
  }

  ._purchase-form ._r-input-container select {
    font-size: 14px;
    padding: 10px 35px 10px 12px;
  }

  ._purchase-form button[type="submit"] {
    padding: 12px 20px;
    font-size: 14px;
  }

  ._product-page .single-item-jumb {
    flex-direction: column;
    gap: 20px;
  }

  ._product-page .single-item-preview {
    max-width: 100%;
  }

  ._product-gallery-main .swiper-slide img {
    max-height: 300px;
  }

  ._product-gallery-prev,
  ._product-gallery-next {
    width: 32px;
    height: 32px;
  }

  ._product-gallery-prev::after,
  ._product-gallery-next::after {
    font-size: 14px;
  }

  ._product-gallery-thumbs .swiper-slide {
    width: 55px;
    height: 55px;
  }
}

body ._r-hero__adv {
  justify-content: flex-start;
}

._contacts p svg {
  margin-right: 4px;
  width: 20px;
  position: relative;
  top: 5px;
}

/* Toast Notification Styles */
._toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateX(120%);
  transition: transform 0.3s ease-in-out;
  max-width: 400px;
}

._toast-notification--visible {
  transform: translateX(0);
}

._toast-notification--success ._toast-icon {
  color: #1b9640;
}

._toast-notification--error ._toast-icon {
  color: #e74c3c;
}

._toast-notification--cart ._toast-icon {
  color: #1b9640;
}

._toast-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

._toast-icon svg {
  width: 24px;
  height: 24px;
}

._toast-content {
  flex: 1;
}

._toast-message {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}

._toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

._toast-close:hover {
  color: #333;
}

@media (max-width: 480px) {
  ._toast-notification {
    top: auto;
    bottom: 100px;
    left: 10px;
    right: 10px;
    max-width: none;
  }
}

/* Cart Link in Header */
._r-cart-link {
  position: relative;
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

._r-cart-link:hover {
  background-color: rgba(27, 150, 64, 0.1);
}

._r-cart-link svg {
  width: 24px;
  height: 24px;
}

._r-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: #1b9640;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Add to Cart Button Loading State */
._js-add-to-cart._loading {
  pointer-events: none;
  opacity: 0.7;
}

._js-add-to-cart._loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: _spin 0.8s linear infinite;
}

@keyframes _spin {
  to {
    transform: rotate(360deg);
  }
}

/* Cart Page Styles */
._cart-page {
  padding: 40px 0 80px;
}

._cart-page h1 {
  margin-bottom: 30px;
}

._cart-empty {
  text-align: center;
  padding: 60px 20px;
}

._cart-empty svg {
  width: 80px;
  height: 80px;
  color: #ccc;
  margin-bottom: 20px;
}

._cart-empty p {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

._cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

._cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

._cart-item__image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

._cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

._cart-item__info {
  flex: 1;
  min-width: 0;
}

._cart-item__name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

._cart-item__taste {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

._cart-item__price {
  font-size: 18px;
  font-weight: 700;
  color: #1b9640;
}

._cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 12px;
}

._cart-item__quantity-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

._cart-item__quantity-btn:hover {
  border-color: #1b9640;
  color: #1b9640;
}

._cart-item__quantity-value {
  font-size: 16px;
  font-weight: 600;
  min-width: 30px;
  text-align: center;
}

._cart-item__total {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  min-width: 100px;
  text-align: right;
}

._cart-item__remove {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}

._cart-item__remove:hover {
  color: #e74c3c;
}

._cart-item__remove svg {
  width: 20px;
  height: 20px;
}

._cart-summary {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

._cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

._cart-summary__row:last-of-type {
  border-bottom: none;
}

._cart-summary__label {
  font-size: 16px;
  color: #666;
}

._cart-summary__value {
  font-size: 18px;
  font-weight: 600;
}

._cart-summary__total {
  font-size: 24px;
  font-weight: 700;
  color: #1b9640;
}

._cart-summary__buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

._cart-summary__buttons .btn {
  flex: 1;
  text-align: center;
  padding: 14px 24px;
}

._cart-clear-btn {
  background: #f5f5f5;
  color: #666;
  border: none;
  border-radius: 30px;
}

._cart-clear-btn:hover {
  background: #eee;
}

._delivery-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  border-radius: 12px;
  margin: 16px 0;
  border-left: 4px solid #1b9640;
}

._delivery-info svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #1b9640;
}

._delivery-info span {
  font-size: 14px;
  color: #333;
}

/* Auth Pages Styles */
._auth-page {
  padding: 60px 0 80px;
  min-height: 60vh;
}

._auth-form {
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

._auth-form h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
}

._auth-form .form-group {
  margin-bottom: 20px;
}

._auth-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

._auth-form input[type="text"],
._auth-form input[type="email"],
._auth-form input[type="password"],
._auth-form input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.2s;
}

._auth-form input:focus {
  outline: none;
  border-color: #1b9640;
}

._auth-form .btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  border-radius: 30px;
}

._auth-form .auth-links {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

._auth-form .auth-links a {
  color: #1b9640;
  text-decoration: none;
}

._auth-form .auth-links a:hover {
  text-decoration: underline;
}

._auth-form .error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
}

._auth-form .success-message {
  color: #1b9640;
  font-size: 14px;
  margin-bottom: 20px;
  padding: 12px;
  background: #e8f5e9;
  border-radius: 8px;
  text-align: center;
}

/* Personal Account Styles */
._account-page {
  padding: 40px 0 80px;
}

._account-page h1 {
  margin-bottom: 30px;
}

._account-nav {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

._account-nav a {
  padding: 12px 24px;
  background: #f5f5f5;
  border-radius: 30px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
}

._account-nav a:hover,
._account-nav a.active {
  background: #1b9640;
  color: #fff;
}

._account-section {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

._account-section h2 {
  margin-bottom: 20px;
  font-size: 22px;
}

/* Orders List */
._orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

._order-item {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.2s;
}

._order-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

._order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

._order-number {
  font-size: 18px;
  font-weight: 600;
}

._order-date {
  color: #666;
  font-size: 14px;
}

._order-status {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

._order-status--new {
  background: #e3f2fd;
  color: #1976d2;
}

._order-status--processing {
  background: #fff3e0;
  color: #f57c00;
}

._order-status--shipped {
  background: #e8f5e9;
  color: #388e3c;
}

._order-status--completed {
  background: #e8f5e9;
  color: #1b9640;
}

._order-status--cancelled {
  background: #ffebee;
  color: #d32f2f;
}

._order-products {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

._order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

._order-total {
  font-size: 18px;
  font-weight: 700;
  color: #1b9640;
}

._orders-empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

._orders-empty svg {
  width: 60px;
  height: 60px;
  color: #ccc;
  margin-bottom: 16px;
}

/* User Header Link */
._r-user-link {
  position: relative;
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

._r-user-link:hover {
  background-color: rgba(27, 150, 64, 0.1);
}

._r-user-link svg {
  width: 24px;
  height: 24px;
}

/* Admin Header Link */
._r-admin-link {
  position: relative;
  display: flex;
  align-items: center;
  color: #3aaf5d;
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

._r-admin-link:hover {
  background-color: rgba(58, 175, 93, 0.15);
}

._r-admin-link svg {
  width: 24px;
  height: 24px;
}

/* Partner Header Link */
._r-partner-link {
  position: relative;
  display: flex;
  align-items: center;
  color: #f57c00;
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

._r-partner-link:hover {
  background-color: rgba(245, 124, 0, 0.15);
}

._r-partner-link svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  /* Global container padding on mobile */
  ._r-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Account page mobile fixes */
  ._account-page .title {
    font-size: 24px;
  }

  ._account-nav {
    flex-wrap: wrap;
    gap: 8px;
  }

  ._account-nav a {
    padding: 10px 16px;
    font-size: 14px;
  }

  ._account-section h2 {
    font-size: 18px;
  }

  ._order-item {
    padding: 15px;
  }

  ._order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  ._order-products {
    font-size: 13px;
  }

  ._order-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  ._order-footer-actions {
    width: 100%;
  }

  ._order-footer-actions .btn {
    flex: 1;
    text-align: center;
  }

  /* Auth page mobile fixes */
  ._auth-page {
    padding: 20px 0;
  }

  ._auth-form {
    padding: 20px;
  }

  ._auth-form h1 {
    font-size: 24px;
  }

  ._cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
            "image info remove"
            "image controls total";
    gap: 10px 12px;
    padding: 15px;
    align-items: center;
  }

  ._cart-item__image {
    grid-area: image;
    width: 70px;
    height: 70px;
  }

  ._cart-item__info {
    grid-area: info;
  }

  ._cart-item__name {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
  }

  ._cart-item__price {
    font-size: 15px;
  }

  ._cart-item__quantity {
    grid-area: controls;
    gap: 8px;
  }

  ._cart-item__quantity-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  ._cart-item__quantity-value {
    font-size: 14px;
    min-width: 24px;
  }

  ._cart-item__total {
    grid-area: total;
    font-size: 16px;
    min-width: auto;
    text-align: right;
  }

  ._cart-item__remove {
    grid-area: remove;
    padding: 4px;
  }

  ._cart-item__remove svg {
    width: 18px;
    height: 18px;
  }

  ._cart-summary__buttons {
    flex-direction: column;
  }

  ._cart-wrapper {
    gap: 20px;
  }

  ._cart-summary {
    padding: 15px;
  }
}

/* Auth Modal Styles */
._auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

._auth-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

._auth-modal__content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: _authModalIn 0.3s ease;
}

@keyframes _authModalIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

._auth-modal__close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

._auth-modal__close:hover {
  color: #333;
}

._auth-modal__form h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 26px;
  color: #333;
}

._auth-modal__field {
  margin-bottom: 16px;
}

._auth-modal__field input[type="text"],
._auth-modal__field input[type="email"],
._auth-modal__field input[type="password"],
._auth-modal__field input[type="tel"] {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

._auth-modal__field input:focus {
  outline: none;
  border-color: #1b9640;
  box-shadow: 0 0 0 3px rgba(27, 150, 64, 0.1);
}

._auth-modal__remember {
  display: flex;
  align-items: center;
}

._auth-modal__remember label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

._auth-modal__remember input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

._auth-modal__error {
  color: #e74c3c;
  font-size: 14px;
  margin-bottom: 16px;
  text-align: center;
  min-height: 20px;
}

._auth-modal__success {
  color: #2e7d32;
  font-size: 14px;
  padding: 20px;
  background: #e8f5e9;
  border-radius: 12px;
  text-align: center;
  line-height: 1.6;
}

._auth-modal__form .btn {
  width: 100%;
  padding: 16px;
  border-radius: 30px;
  font-size: 16px;
}

._auth-modal__switch {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

._auth-modal__switch a {
  color: #1b9640;
  text-decoration: none;
  font-weight: 500;
}

._auth-modal__switch a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  ._auth-modal__content {
    padding: 30px 20px;
  }
}

/* Nutritionist Section */
._nutritionist-section {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  border: 1px solid #cce5ff;
  border-radius: 16px;
  padding: 24px;
  margin-top: 20px;
}

._nutritionist-section__header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #1976d2;
  margin-bottom: 16px;
}

._nutritionist-section__header svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

._nutritionist-form {
  display: flex;
  flex-direction: column;
}

._nutritionist-form__hint {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 16px;
}

._nutritionist-form__input-group {
  display: flex;
  gap: 12px;
}

._nutritionist-form__input-group input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  min-width: 0;
}

._nutritionist-form__input-group input:focus {
  outline: none;
  border-color: #1976d2;
}

._nutritionist-form__input-group button {
  padding: 14px 24px;
  white-space: nowrap;
  border-radius: 30px;
  flex-shrink: 0;
}

._nutritionist-form__result {
  margin-top: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #4caf50;
}

._nutritionist-form__success {
  display: block;
  color: #2e7d32;
  font-weight: 500;
  margin-bottom: 12px;
}

._nutritionist-form__link-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

._nutritionist-form__link-wrapper input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  color: #666;
  background: #f9f9f9;
  min-width: 0;
}

._nutritionist-form__link-wrapper button {
  padding: 12px;
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

._nutritionist-form__link-wrapper button:hover {
  background: #eee;
}

._nutritionist-form__error {
  margin-top: 12px;
  padding: 12px;
  background: #ffebee;
  border-radius: 8px;
  color: #c62828;
  font-size: 14px;
}

/* Cart notice from nutritionist */
._cart-nutritionist-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 1px solid #a5d6a7;
  border-radius: 16px;
  margin-bottom: 30px;
}

._cart-nutritionist-notice svg {
  width: 32px;
  height: 32px;
  color: #2e7d32;
  flex-shrink: 0;
  margin-top: 4px;
}

._cart-nutritionist-notice strong {
  display: block;
  font-size: 18px;
  color: #1b5e20;
  margin-bottom: 8px;
}

._cart-nutritionist-notice p {
  font-size: 14px;
  color: #2e7d32;
  line-height: 1.5;
  margin: 0;
}

._cart-nutritionist-notice p strong {
  display: inline;
  font-size: inherit;
  color: inherit;
}

@media (max-width: 600px) {
  ._nutritionist-form__input-group {
    flex-direction: column;
  }

  ._cart-nutritionist-notice {
    padding: 16px;
    gap: 12px;
  }

  ._cart-nutritionist-notice svg {
    width: 24px;
    height: 24px;
  }

  ._cart-nutritionist-notice strong {
    font-size: 16px;
  }
}

/* Cart referral discount notice */
._cart-referral-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border: 1px solid #ffcc80;
  border-radius: 16px;
  margin-bottom: 30px;
}

._cart-referral-notice svg {
  width: 32px;
  height: 32px;
  color: #e65100;
  flex-shrink: 0;
  margin-top: 4px;
}

._cart-referral-notice strong {
  display: block;
  font-size: 18px;
  color: #e65100;
  margin-bottom: 8px;
}

._cart-referral-notice p {
  font-size: 14px;
  color: #bf360c;
  line-height: 1.5;
  margin: 0;
}

._cart-referral-notice p strong {
  display: inline;
  font-size: inherit;
  color: inherit;
}

._cart-summary__discount {
  color: #2e7d32;
}

._cart-summary__discount ._cart-summary__value {
  color: #2e7d32;
  font-weight: 600;
}

@media (max-width: 600px) {
  ._cart-referral-notice {
    padding: 16px;
    gap: 12px;
  }

  ._cart-referral-notice svg {
    width: 24px;
    height: 24px;
  }

  ._cart-referral-notice strong {
    font-size: 16px;
  }
}

/* Product in cart controls */
._product-cart-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

._product-in-cart {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

._product-in-cart__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  border-radius: 30px;
  padding: 8px 12px;
}

._r-main button._product-in-cart__btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #333;
}

._r-main button._product-in-cart__btn:hover {
  background: #1b9640;
  color: #fff;
}

._product-in-cart__qty {
  min-width: 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

._product-in-cart__link {
  flex: 1;
}

._product-in-cart__link span {
  display: flex;
  align-items: center;
}

._product-in-cart__count {
  margin-left: 4px;
}

@media (max-width: 480px) {
  ._product-in-cart {
    gap: 10px;
  }

  ._product-in-cart__controls {
    justify-content: center;
  }

  ._product-in-cart__link {
    width: 100%;
    text-align: center;
  }
}

/* Shared Carts List (Nutritionist) */
._shared-carts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

._shared-cart-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 20px;
  transition: box-shadow 0.2s;
}

._shared-cart-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

._shared-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

._shared-cart-info {
  flex: 1;
}

._shared-cart-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  margin-bottom: 4px;
}

._shared-cart-email svg {
  color: #666;
}

._shared-cart-date {
  font-size: 13px;
  color: #888;
}

._shared-cart-status {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

._shared-cart-status--pending {
  background: #fff3e0;
  color: #e65100;
}

._shared-cart-status--viewed {
  background: #e3f2fd;
  color: #1565c0;
}

._shared-cart-status--ordered {
  background: #e8f5e9;
  color: #2e7d32;
}

._shared-cart-status--expired {
  background: #fafafa;
  color: #999;
}

._shared-cart-items {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 12px 0;
  margin-bottom: 16px;
}

._shared-cart-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
}

._shared-cart-product-name {
  flex: 1;
  color: #333;
}

._shared-cart-product-qty {
  color: #888;
  min-width: 40px;
}

._shared-cart-product-price {
  font-weight: 500;
  color: #333;
  min-width: 80px;
  text-align: right;
}

._shared-cart-product--more {
  color: #888;
  font-style: italic;
}

._shared-cart-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

._shared-cart-total {
  font-size: 15px;
  color: #333;
}

._shared-cart-total strong {
  font-size: 18px;
  color: #1b9640;
}

._shared-cart-link button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

._shared-cart-link button:hover {
  background: #eee;
  color: #333;
}

@media (max-width: 600px) {
  ._shared-cart-header {
    flex-direction: column;
  }

  ._shared-cart-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  ._shared-cart-link {
    width: 100%;
  }

  ._shared-cart-link button {
    width: 100%;
    justify-content: center;
  }
}

/* Order Footer Actions */
._order-footer-actions {
  display: flex;
  gap: 10px;
}

._btn-pay {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 30px;
}

._btn-details {
  padding: 8px 20px;
  font-size: 14px;
  background: #f5f5f5;
  color: #333;
  border-radius: 30px;
}

._btn-details:hover {
  background: #eee;
}

/* Order Detail Page */
._order-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

._order-detail-title {
  font-size: 18px;
  font-weight: 600;
}

._order-detail-date {
  color: #666;
  margin-left: 15px;
}

._order-detail-items {
  margin-bottom: 0;
}

._order-detail-item {
  cursor: default;
}

._order-detail-qty {
  text-align: center;
  min-width: 80px;
  color: #666;
}

._order-detail-empty {
  padding: 20px;
  background: #f5f5f5;
  border-radius: 12px;
  text-align: center;
  color: #666;
}

._order-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

._order-info-block {
  color: #666;
  line-height: 1.8;
}

._order-info-block p {
  margin: 0 0 8px;
}

._order-total-value {
  font-size: 28px;
  font-weight: 700;
  color: #1b9640;
}

._btn-pay-full {
  width: 100%;
  margin-top: 20px;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 16px;
}

._btn-back {
  background: #f5f5f5;
  color: #333;
  border-radius: 30px;
  padding: 14px 30px;
}

._btn-back:hover {
  background: #eee;
}

._section-mb {
  margin-bottom: 30px;
}

._mt-30 {
  margin-top: 30px;
}

._delivery-info-order {
  margin-top: 20px;
}

/* Profile Page */
._profile-form {
  max-width: 500px;
}

._form-group {
  margin-bottom: 20px;
}

._form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

._form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

._form-input:focus {
  outline: none;
  border-color: #1b9640;
}

._form-input--disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

._form-hint {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

._btn-submit {
  border-radius: 30px;
}

._message {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

._message--success {
  color: #1b9640;
  background: #e8f5e9;
}

._message--error {
  color: #e74c3c;
  background: #ffebee;
}

/* Auth Pages Additional */
._auth-error {
  color: #e74c3c;
  margin-bottom: 20px;
  padding: 12px;
  background: #ffebee;
  border-radius: 8px;
  text-align: center;
}

._auth-success {
  color: #2e7d32;
  margin-bottom: 20px;
  padding: 16px;
  background: #e8f5e9;
  border-radius: 8px;
  text-align: center;
  line-height: 1.5;
}

._auth-checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

._auth-checkbox-group input[type="checkbox"] {
  width: auto;
}

._auth-checkbox-group label {
  margin: 0;
  font-weight: normal;
}

._auth-hint {
  color: #666;
  margin-bottom: 20px;
  text-align: center;
}

/* Payment Result Page */
._payment-result-page {
  padding: 80px 0;
  text-align: center;
}

._payment-result-content {
  max-width: 600px;
  margin: 0 auto;
}

._payment-result-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

._payment-result-icon--success {
  background: #3aaf5d;
}

._payment-result-icon--warning {
  background: #ff9800;
}

._payment-result-icon--error {
  background: #f44;
}

._payment-result-title {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

._payment-result-text {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

._payment-result-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

@media (max-width: 480px) {
  ._payment-result-title {
    font-size: 28px;
  }

  ._payment-result-actions {
    flex-direction: column;
  }

  ._payment-result-actions a {
    width: 100%;
  }
}

/* Order Nutritionist Info */
._order-nutritionist {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1976d2;
  margin-bottom: 15px;
}

._order-nutritionist svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Referral Discount Banner */
._referral-discount-banner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px 14px 18px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 1px solid #81c784;
  border-radius: 50px;
  margin-bottom: 24px;
}

._referral-discount-banner__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #43a047;
  box-shadow: 0 2px 8px rgba(67, 160, 71, 0.2);
}

._referral-discount-banner__icon svg {
  width: 22px;
  height: 22px;
}

._referral-discount-banner__text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

._referral-discount-banner__text strong {
  font-size: 16px;
  color: #2e7d32;
}

._referral-discount-banner__text span {
  font-size: 14px;
  color: #558b2f;
}

/* Discount price in catalog cards */
.catalog-card-price._has-discount {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-card-price ._old-price {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

.catalog-card-price ._new-price {
  font-size: 22px;
  color: #e65100;
  font-weight: 700;
}

/* Discount price in product page */
._product-page-price._has-discount,
._product-page-price:has(._old-price) {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

._product-page-price ._old-price {
  font-size: 20px;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

._product-page-price ._new-price {
  font-size: 28px;
  color: #e65100;
  font-weight: 700;
}

/* Discount badge in modal */
._discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-left: 12px;
  vertical-align: middle;
}

@media (max-width: 800px) {
  body ._r-main ._r-hero,
  body ._product-page,
  body .__catalog-page {
    padding-top: 20px;
  }
}

@media (max-width: 600px) {
  ._referral-discount-banner {
    padding: 12px 18px 12px 14px;
    gap: 10px;
  }

  ._referral-discount-banner__icon {
    width: 36px;
    height: 36px;
  }

  ._referral-discount-banner__icon svg {
    width: 20px;
    height: 20px;
  }

  ._referral-discount-banner__text {
    flex-direction: column;
    gap: 2px;
  }

  ._referral-discount-banner__text strong {
    font-size: 14px;
  }

  ._referral-discount-banner__text span {
    font-size: 12px;
  }

  .catalog-card-price._has-discount {
    flex-direction: column;
    gap: 4px;
  }

  .catalog-card-price ._old-price {
    font-size: 14px;
  }

  .catalog-card-price ._new-price {
    font-size: 20px;
  }
}

#bx-panel-back {
  display: none !important;
}

#bx-panel.bx-panel-fixed {
  bottom: 0 !important;
  top: auto !important;
}

._product-in-cart__btn {
  cursor: pointer;
  width: 16px;
  height: 16px;
  background: transparent;
}
