:root {
  --font-family: "Manrope", sans-serif;
  --second-family: "Cormorant Unicase", serif;
  --text-body: #3d3933;
  --text-primary: #262420;
  --text-secondary: #625d55;
  --text-muted: #8f887d;
  --accent-sage: #7d8f78;
  --accent-sage-dark: #60715e;
  --accent-mineral-green: #203a31;
  --accent-soft-green: #a8b5a7;
  --surface-ivory: #fcfaf6;
  --surface-stone: #f1ece4;
  --background-milk: #f8f5ef;
  --border-light: #e5ded3;
  --border-medium: #d6ccbd;
  --color_cream: #f8f5ef;
  --color_sage: #7d8f78;
  --color_taupe: #8f887d;
  --color_sage_light: #a8b5a7;
  --color_brown: #3d3933;
  --color_cream_dark: #f1ece4;
  --color_brown_light: #625d55;
  --color_brown_dark: #262420;
  --radius: 18px;
}

/* Страница «Камневедение» */
.knowledge_hero {
  width: 100%;
  min-height: 560px;
  padding: 88px 0 32px;
  background-color: var(--background-milk);
  background-image:
    linear-gradient(90deg, rgb(248 245 239 / 92%) 0 52%, rgb(248 245 239 / 18%) 82%),
    var(--knowledge-hero-image, url("../img/knowledge-hero.png"));
  background-position: center, 66% top;
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, cover;
}

.knowledge_hero__inner {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.knowledge_hero h1 {
  margin-top: 36px;
  font-family: var(--second-family);
  font-size: clamp(44px, 9vw, 64px);
  font-weight: 600;
  line-height: 0.9;
}

.knowledge_hero p {
  width: min(738px, 88%);
  margin-top: 18px;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.knowledge_filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.knowledge_filters a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 14px;
  border: 1px solid var(--text-secondary);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.2;
}

.knowledge_filters a:hover,
.knowledge_filters a:focus-visible,
.knowledge_filters .knowledge_filters__link--active {
  border-color: var(--accent-sage);
  color: var(--surface-ivory);
  background: var(--accent-sage);
}

.knowledge_filters span {
  color: var(--text-muted);
}

.knowledge_filters a:hover span,
.knowledge_filters a:focus-visible span,
.knowledge_filters .knowledge_filters__link--active span {
  color: inherit;
}

.knowledge_subfilters {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 738px;
  gap: 20px 40px;
  margin-top: 20px;
}

.knowledge_subfilters[hidden] {
  display: none;
}

.knowledge_featured[hidden],
.knowledge_grid[hidden],
.knowledge_card[hidden] {
  display: none;
}

.knowledge_subfilters a {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
}

.knowledge_subfilters__link--active {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.knowledge_articles {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: 0;
}

.knowledge_featured,
.knowledge_grid {
  display: grid;
  gap: 20px;
}

.knowledge_grid {
  margin-top: 20px;
}

.knowledge_pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.knowledge_pagination__more {
  width: min(260px, 100%);
}

.knowledge_pagination__more[aria-busy="true"] {
  cursor: wait;
  opacity: 0.7;
}

.knowledge_grid .knowledge_card {
  display: flex;
  flex-direction: column;
}

.knowledge_grid .knowledge_card__content {
  flex: 1;
}

.knowledge_card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: var(--background-milk);
}

.knowledge_card__media {
  aspect-ratio: 312 / 250;
  overflow: hidden;
}

.knowledge_card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.knowledge_card__content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 20px;
}

.knowledge_card__category {
  color: var(--accent-sage);
  font-size: 12px;
  line-height: 1.1;
}

.knowledge_card h2 {
  margin-top: 10px;
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.knowledge_card p {
  margin-top: 10px;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.knowledge_grid .knowledge_card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.knowledge_grid .knowledge_card .text_link {
  margin-top: auto;
}

.knowledge_card .text_link {
  width: 106px;
  height: 23px;
  margin-top: 20px;
  padding: 0 0 5px;
  border-bottom: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.knowledge_page + .site_footer {
  margin-top: 80px;
}

@media (max-width: 767px) {
  .knowledge_hero {
    min-height: 0;
    padding-bottom: 60px;
  }

  .knowledge_filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 4px;
  }

  .knowledge_filters a {
    flex: 0 0 auto;
  }

  .knowledge_page + .site_footer {
    margin-top: 40px;
  }
}

@media (min-width: 768px) {
  .knowledge_hero {
    min-height: 0;
    padding: 108px 0 60px;
  }

  .knowledge_hero h1 {
    margin-top: 44px;
    font-size: 56px;
  }

  .knowledge_hero p {
    width: 56%;
    font-size: 16px;
  }

  .knowledge_featured,
  .knowledge_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .knowledge_hero {
    min-height: 777px;
    padding: 104px 0 32px;
    background-image: var(--knowledge-hero-image, url("../img/knowledge-hero.png"));
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .knowledge_hero--with_subfilters {
    min-height: 855px;
    padding-bottom: 32px;
  }

  .knowledge_hero + .knowledge_articles {
    margin-top: -277px;
  }

  .knowledge_hero .knowledge_hero__inner {
    width: calc(100% - 125px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: 63px;
  }

  .knowledge_hero h1 {
    margin-top: 48px;
    font-size: 56px;
  }

  .knowledge_hero p {
    width: 620px;
    font-size: 15px;
  }

  .knowledge_filters {
    width: 760px;
    margin-top: 28px;
  }

  .knowledge_filters a {
    font-size: 14px;
  }

  .knowledge_grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .knowledge_featured {
    grid-template-columns: 1fr;
  }

  .knowledge_card--featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .knowledge_card--featured .knowledge_card__media {
    min-height: 360px;
    aspect-ratio: auto;
  }
}

/* Страница результатов поиска */
.search_page {
  min-height: 75vh;
  padding-bottom: 72px;
  background: var(--surface-ivory);
}

.search_page__hero {
  padding: 108px 0 44px;
  border-bottom: 1px solid var(--border-light);
  background:
    radial-gradient(circle at 88% 8%, rgb(168 181 167 / 24%), transparent 32%),
    linear-gradient(135deg, var(--background-milk), var(--surface-ivory));
}

.search_page__eyebrow,
.search_results__label {
  color: var(--accent-sage-dark);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search_page__eyebrow {
  margin-top: 34px;
}

.search_page h1 {
  max-width: 820px;
  margin-top: 10px;
  font-family: var(--second-family);
  font-size: clamp(40px, 10vw, 62px);
  font-weight: 600;
  line-height: 0.95;
}

.search_page__form {
  display: grid;
  max-width: 820px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  background: var(--surface-ivory);
}

.search_page__form:focus-within {
  border-color: var(--accent-sage);
  box-shadow: 0 0 0 3px rgb(125 143 120 / 12%);
}

.search_page__form input {
  width: 100%;
  height: 56px;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: var(--text-primary);
  background: transparent;
  font-family: var(--font-family);
  font-size: 14px;
}

.search_page__form input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.search_page__form button {
  min-width: 84px;
  padding: 0 18px;
  color: var(--surface-ivory);
  background: var(--accent-sage);
  font-size: 14px;
  font-weight: 500;
}

.search_page__form button:hover,
.search_page__form button:focus-visible {
  background: var(--accent-sage-dark);
}

.search_results {
  padding-top: 44px;
}

.search_results__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.search_results__header h2 {
  margin-top: 8px;
  font-family: var(--second-family);
  font-size: clamp(30px, 7vw, 42px);
  font-weight: 600;
  line-height: 1;
}

.search_results__count {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 13px;
}

.search_results__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.search_card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: var(--background-milk);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.search_card:hover,
.search_card:focus-within {
  border-color: var(--border-medium);
  box-shadow: 0 16px 36px rgb(38 36 32 / 9%);
  transform: translateY(-3px);
}

.search_card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.search_card__media {
  display: grid;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 65% 35%, rgb(168 181 167 / 42%), transparent 35%),
    var(--surface-stone);
}

.search_card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.search_card:hover .search_card__media img {
  transform: scale(1.025);
}

.search_card__placeholder {
  color: var(--accent-sage);
  font-family: var(--second-family);
  font-size: 62px;
  font-weight: 600;
}

.search_card__content {
  display: flex;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
  padding: 20px;
}

.search_card__type {
  color: var(--accent-sage-dark);
  font-size: 11px;
  line-height: 1.35;
}

.search_card h2 {
  margin-top: 9px;
  font-family: var(--second-family);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.search_card__content > p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.search_card__footer {
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
}

.search_card__footer strong {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.search_pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 40px;
}

.search_pagination .page-numbers {
  display: grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 13px;
}

.search_pagination .page-numbers:hover,
.search_pagination .page-numbers:focus-visible,
.search_pagination .page-numbers.current {
  border-color: var(--accent-sage);
  color: var(--surface-ivory);
  background: var(--accent-sage);
}

.search_pagination .prev,
.search_pagination .next {
  padding-inline: 16px;
}

.search_results__empty {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 22px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  text-align: center;
  background: var(--background-milk);
}

.search_results__empty > span {
  display: inline-grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 50%;
  color: var(--surface-ivory);
  background: var(--accent-sage);
  font-family: var(--second-family);
  font-size: 32px;
}

.search_results__empty h2 {
  margin-top: 20px;
  font-family: var(--second-family);
  font-size: 34px;
  font-weight: 600;
}

.search_results__empty p {
  max-width: 520px;
  margin: 14px auto 24px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.search_results__empty .button {
  width: min(220px, 100%);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .search_results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .search_page__hero {
    padding-top: 130px;
    padding-bottom: 56px;
  }

  .search_page__form input {
    height: 62px;
    padding-inline: 20px;
    font-size: 16px;
  }

  .search_page__form button {
    min-width: 116px;
    font-size: 15px;
  }

  .search_results {
    padding-top: 56px;
  }
}

@media (min-width: 1280px) {
  .search_page {
    padding-bottom: 96px;
  }

  .search_page__hero > .container {
    width: calc(100% - 125px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: 63px;
  }

  .search_page__hero {
    padding-top: 170px;
    padding-bottom: 68px;
  }

  .search_page__eyebrow {
    margin-top: 46px;
  }

  .search_page h1 {
    font-size: 68px;
  }

  .search_results {
    padding-top: 68px;
  }

  .search_results__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .search_card__content {
    padding: 24px;
  }
}

@media (min-width: 1625px) {
  .search_results__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .search_results__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .search_page__form button {
    min-width: 74px;
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .search_card,
  .search_card__media img {
    transition: none;
  }
}

@media (min-width: 1440px) {
  .knowledge_hero {
    min-height: 807px;
    padding-top: 110px;
  }

  .knowledge_hero--with_subfilters {
    min-height: 885px;
  }

  .knowledge_hero + .knowledge_articles {
    margin-top: -292px;
  }

  .knowledge_hero h1 {
    margin-top: 54px;
    font-size: 64px;
  }

  .knowledge_hero p {
    width: 680px;
    font-size: 16px;
  }

  .knowledge_filters {
    width: 800px;
    margin-top: 32px;
  }

  .knowledge_filters a {
    font-size: 16px;
  }
}

@media (min-width: 1625px) {
  .knowledge_hero {
    min-height: 802px;
    padding-top: 118px;
  }

  .knowledge_hero--with_subfilters {
    min-height: 880px;
  }

  .knowledge_hero + .knowledge_articles {
    margin-top: -266px;
  }

  .knowledge_hero h1 {
    margin-top: 60px;
    font-size: 72px;
  }

  .knowledge_hero p {
    width: 738px;
    font-size: 18px;
  }

  .knowledge_filters {
    width: 920px;
    margin-top: 40px;
  }

  .knowledge_filters a {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 18px;
  }

  .knowledge_grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .knowledge_featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1900px) {
  .knowledge_grid .knowledge_card {
    display: grid;
    width: 100%;
    height: 491px;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 20px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    background: var(--background-milk);
  }

  .knowledge_grid .knowledge_card__media {
    width: 100%;
    height: auto;
    aspect-ratio: 379 / 280;
  }

  .knowledge_grid .knowledge_card__content {
    width: 100%;
    min-height: 191px;
    padding: 0 20px 20px;
  }

  .knowledge_grid .knowledge_card h2 {
    margin-top: 5px;
  }

  .knowledge_grid .knowledge_card p {
    margin-top: 10px;
  }

  .knowledge_grid .knowledge_card .text_link {
    margin-top: auto;
  }

  .knowledge_card--featured {
    width: 100%;
    height: 444px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    background: var(--background-milk);
  }

  .knowledge_card--featured .knowledge_card__media {
    width: 100%;
    height: 444px;
    min-height: 0;
  }

  .knowledge_card--featured .knowledge_card__content {
    width: 100%;
    height: 444px;
    padding: 40px 40px 40px 0;
  }

  .knowledge_card--featured .knowledge_card__category {
    color: var(--accent-sage);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.1;
  }

  .knowledge_card--featured h2 {
    margin-top: 5px;
    color: var(--text-primary);
    font-family: var(--second-family);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
  }

  .knowledge_card--featured p {
    margin-top: 10px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
  }

  .knowledge_card--featured .text_link {
    width: 106px;
    height: 23px;
    margin-top: 20px;
    padding: 0 0 5px;
    border-bottom: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color_brown_dark);
  background: var(--color_cream);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

body,
button,
a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul,
ol,
figure,
h1,
h2,
h3,
p {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

ul li::marker {
  font-size: 0.6em;
}

.container {
  width: calc(100% - 32px);
  max-width: 1576px;
  margin-inline: auto;
}

.page > .container + .container {
  margin-top: 16px;
}

.page > .hero + .promo {
  position: relative;
  z-index: 1;
  margin-top: -90px;
}

.page > .promo + .catalog {
  margin-top: 24px;
}

#catalog {
  scroll-margin-top: 50px;
}

.page > .catalog + .personal {
  margin-top: 32px;
}

.page > .personal + .stones {
  margin-top: 32px;
}

.page > .stones + .knowledge {
  margin-top: 32px;
}

.page > .knowledge + .recommendations {
  margin-top: 40px;
}

.section_title,
.offer_card__title,
.category_card__title,
.product_card__title {
  font-family: "Cormorant Unicase", serif;
  font-weight: 600;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.section_title {
  font-size: clamp(30px, 9vw, 40px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 4px;
  color: var(--color_cream);
  background: var(--color_sage);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--color_brown_light);
}

.button--wide {
  justify-content: space-between;
  width: 100%;
}

.text_link {
  display: inline-block;
  border-bottom: 1px solid var(--color_taupe);
  font-size: 13px;
  line-height: 1.4;
}

.text_link:hover,
.text_link:focus-visible {
  color: var(--color_sage);
}

.alphabet_nav {
  display: none;
}

.site_header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
}

.site_header__inner {
  width: 100%;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
}

.site_header__logo {
  position: relative;
  z-index: 2;
  width: 82px;
}

.site_header__logo img {
  width: 100%;
  height: 54px;
  object-fit: contain;
}

.site_header__menu_button {
  position: relative;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-content: center;
  gap: 5px;
}

.site_header__menu_button span {
  width: 24px;
  height: 1px;
  background: var(--color_brown_dark);
}

.site_header__nav {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: none;
  max-height: 100vh;
  overflow-y: auto;
  padding: 84px 20px 28px;
  background: var(--color_cream);
  box-shadow: 0 10px 20px rgb(38 36 32 / 10%);
}

.site_header__nav--open {
  display: block;
}

.site_header__nav > ul {
  display: grid;
  gap: 18px;
}

.site_header__nav a,
.site_header__catalog_button {
  font-size: 16px;
  font-weight: 500;
}

.site_header__catalog {
  position: relative;
}

.site_header__catalog_button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.site_header__catalog_menu {
  display: none;
  gap: 10px;
  padding: 20px;
  border-radius: 20px;
  background: var(--background-milk);
}

.site_header__catalog--open .site_header__catalog_menu {
  display: grid;
}

.site_header__catalog--open .site_header__arrow {
  transform: rotate(180deg);
}

.site_header__actions {
  position: absolute;
  z-index: 3;
  right: 66px;
  display: block;
}

.site_header__actions > * {
  display: none;
}

.site_header__actions .site_header__search_button {
  display: grid;
}

.site_header__search_button {
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border-radius: 50%;
}

.site_header__search_button:hover,
.site_header__search_button:focus-visible,
.site_header__search_button[aria-expanded="true"] {
  background: rgb(125 143 120 / 12%);
}

.site_header__search_button img {
  width: 28px;
  height: 28px;
}

body.site_search_open {
  overflow: hidden;
}

.site_search[hidden] {
  display: none;
}

.site_search {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  transition: opacity 180ms ease;
}

.site_search--open {
  opacity: 1;
}

.site_search__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgb(38 36 32 / 58%);
  backdrop-filter: blur(4px);
}

.site_search__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding: 74px 20px 40px;
  background:
    radial-gradient(circle at 100% 0%, rgb(168 181 167 / 26%), transparent 42%),
    var(--surface-ivory);
  box-shadow: 0 24px 80px rgb(38 36 32 / 20%);
  transform: translateY(-14px);
  transition: transform 220ms ease;
}

.site_search--open .site_search__panel {
  transform: translateY(0);
}

.site_search__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  background: rgb(252 250 246 / 78%);
}

.site_search__close span,
.site_search__close span::after {
  width: 18px;
  height: 1px;
  background: var(--text-primary);
  transform: rotate(45deg);
}

.site_search__close span::after {
  display: block;
  content: "";
  transform: rotate(90deg);
}

.site_search__close:hover,
.site_search__close:focus-visible {
  border-color: var(--accent-sage);
  background: var(--background-milk);
}

.site_search__eyebrow {
  color: var(--accent-sage-dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site_search h2 {
  max-width: 620px;
  margin-top: 10px;
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 600;
  line-height: 0.98;
}

.site_search__hint {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.35;
}

.site_search__form {
  width: 100%;
  margin-top: 28px;
}

.site_search__form .asl_w_container,
.site_search__form div.asl_w {
  width: 100% !important;
  margin: 0 !important;
}

.site_search__form #ajaxsearchlite1 {
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.site_search__form div.asl_w .probox {
  min-height: 58px !important;
  border: 1px solid var(--border-medium) !important;
  border-radius: 8px !important;
  background: var(--background-milk) !important;
  box-shadow: none !important;
}

.site_search__form div.asl_w .probox .proinput {
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 16px !important;
}

.site_search__form #ajaxsearchlite1 .probox .proinput input.orig {
  height: 56px !important;
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  font-family: var(--font-family) !important;
  font-size: 16px !important;
  text-shadow: none !important;
}

.site_search__form #ajaxsearchlite1 .probox .proinput input.autocomplete {
  top: -11px !important;
  color: var(--text-muted) !important;
  -webkit-text-fill-color: var(--text-muted) !important;
  font-family: var(--font-family) !important;
  font-size: 16px !important;
  text-shadow: none !important;
}

.site_search__form #ajaxsearchlite1 .probox .proinput input.orig::placeholder {
  color: var(--text-muted) !important;
  -webkit-text-fill-color: var(--text-muted) !important;
  opacity: 1;
}

.site_search__form div.asl_w .probox .promagnifier {
  width: 58px !important;
  height: 58px !important;
  border-radius: 0 7px 7px 0 !important;
  background: var(--accent-sage) !important;
}

.site_search__form div.asl_w .probox .proloading,
.site_search__form div.asl_w .probox .proclose {
  width: 42px !important;
  height: 58px !important;
}

.site_search__form div.asl_w .probox .proloading {
  margin-top: 16px !important;
}

.site_search__form #ajaxsearchlite1 .probox .proloading .asl_loader,
.site_search__form #ajaxsearchlite1 .probox .proloading .asl_loader-inner {
  width: 22px !important;
  height: 22px !important;
}

.site_search__form #ajaxsearchlite1 .probox .proloading .asl_simple-circle {
  border-width: 2px !important;
  border-color: var(--accent-sage) transparent var(--accent-sage) var(--accent-sage) !important;
}

div.asl_r {
  z-index: 100001 !important;
}

#ajaxsearchliteres1.asl_r.vertical {
  padding: 0 !important;
  border: 1px solid var(--border-medium) !important;
  border-radius: 8px !important;
  background: var(--surface-ivory) !important;
  box-shadow: 0 18px 44px rgb(38 36 32 / 16%) !important;
  overflow: hidden !important;
}

#ajaxsearchliteres1.asl_r .results .item,
#ajaxsearchliteres1.asl_r .results .item.hovered,
#ajaxsearchliteres1.asl_r .results .nores {
  color: var(--text-body) !important;
  background: var(--surface-ivory) !important;
  font-family: var(--font-family) !important;
}

#ajaxsearchliteres1.asl_r .results .item {
  padding: 14px 16px !important;
}

#ajaxsearchliteres1.asl_r .results .item.hovered {
  background: var(--background-milk) !important;
}

#ajaxsearchliteres1.asl_r.vertical .results .item::after {
  background: var(--border-light) !important;
}

#ajaxsearchliteres1.asl_r .results .item .asl_content,
#ajaxsearchliteres1.asl_r .results .item .asl_desc {
  color: var(--text-secondary) !important;
  font-family: var(--font-family) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  text-shadow: none !important;
}

#ajaxsearchliteres1.asl_r .results .item .asl_content h3,
#ajaxsearchliteres1.asl_r .results .item .asl_content h3 a,
#ajaxsearchliteres1.asl_r .results .item .asl_content h3 a:hover {
  color: var(--text-primary) !important;
  font-family: var(--font-family) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-shadow: none !important;
}

#ajaxsearchliteres1.asl_r .results .item .asl_image {
  border-radius: 6px !important;
}

#ajaxsearchliteres1.asl_r .results .nores {
  padding: 18px 16px !important;
  font-size: 14px !important;
  text-align: left !important;
}

@media (max-width: 767px) {
  div.asl_r {
    right: auto !important;
    left: 20px !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site_search,
  .site_search__panel {
    transition: none;
  }
}

.hero {
  position: relative;
  display: flex;
  min-height: 620px;
  align-items: center;
  overflow: hidden;
  background: url("../img/hero-background.png") 62% center / cover no-repeat;
}

.page > .hero {
  width: 100%;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding: 124px 20px 48px;
}

.hero__title {
  font-family: "Cormorant Unicase", serif;
  font-size: clamp(42px, 13vw, 58px);
  font-weight: 600;
  line-height: 1;
}

.hero__text {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.35;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.button--large img {
  width: 20px;
  height: 20px;
}

.hero__button--secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 8px;
  color: var(--text-secondary);
  font-size: 14px;
}

.hero__button--secondary span {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text-secondary);
}

.promo {
  display: grid;
  gap: 20px;
}

.promo__story,
.offer_card {
  border-radius: var(--radius);
  overflow: hidden;
}

.promo__story {
  position: relative;
  width: 100%;
}

.promo__slide {
  position: relative;
  min-height: 480px;
}

.promo__image,
.offer_card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo__content {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 36px 20px 44px;
}

.promo__content p {
  margin-top: 20px;
  font-size: 14px;
}

.promo__content .button {
  margin-top: 32px;
}

.promo__offers {
  display: grid;
  gap: 20px;
}

.offer_card {
  position: relative;
  min-height: 220px;
}

.offer_card__content {
  position: relative;
  z-index: 1;
  width: min(320px, 100%);
  padding: 24px 20px;
}

.offer_card__title {
  font-size: 25px;
}

.offer_card__content p {
  margin: 10px 0 24px;
  font-size: 13px;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.category_card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
}

.category_card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category_card:hover .category_card__image {
  transform: scale(1.03);
}

.category_card__title,
.category_card__arrow {
  position: absolute;
  z-index: 1;
  bottom: 12px;
  color: var(--text-primary);
}

.category_card__title {
  left: 12px;
  max-width: calc(100% - 52px);
  font-size: 18px;
}

.category_card__arrow {
  right: 12px;
  width: 24px;
  height: 24px;
}

.personal {
  position: relative;
  display: grid;
  min-height: 0;
  align-items: center;
  overflow: hidden;
  gap: 32px;
  padding: 32px 20px;
  border-radius: var(--radius);
}

.personal__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.personal__content,
.personal__features {
  position: relative;
  z-index: 1;
}

.personal__content {
  padding: 0;
}

.personal__content p {
  max-width: 440px;
  margin-top: 12px;
  font-size: 14px;
}

.personal__content .button {
  margin-top: 24px;
}

.personal__features {
  display: grid;
  gap: 20px;
  padding: 0;
}

.personal__feature {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.personal__feature img {
  width: 48px;
  height: 48px;
}

.personal__feature p {
  display: grid;
  gap: 5px;
  font-size: 13px;
}

.personal__feature strong {
  font-size: 15px;
}

.stones {
  display: grid;
  gap: 24px;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--color_cream_dark);
}

.stones__intro p {
  margin: 10px 0 20px;
  font-size: 13px;
}

.stones__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(100px, 1fr));
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.stones__list::-webkit-scrollbar {
  display: none;
}

.stones__list li {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 100px;
  font-size: 12px;
}

.stones__card {
  display: grid;
  gap: 8px;
  text-align: center;
}

.stones__list img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.stones__all {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 16px;
  border-radius: 14px;
  background: var(--color_cream);
  font-size: 13px;
  text-align: center;
}

.stones__all br {
  display: none;
}

.stones__all img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.knowledge {
  display: grid;
  gap: 20px;
}

.knowledge__card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
}

.knowledge__card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.knowledge__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px 20px;
}

.knowledge__card--nature {
  display: flex;
  min-height: 460px;
  align-items: flex-end;
}

.knowledge__content p {
  margin-top: 12px;
  font-size: 14px;
}

.knowledge__content .text_link {
  margin-top: 20px;
}

.recommendations {
  padding-top: 0;
}

.recommendations__header {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.recommendations__header .text_link {
  align-self: flex-end;
}

.recommendations__list {
  display: flex;
  gap: 0;
  overflow: visible;
  padding-bottom: 0;
}

.product_card {
  width: min(312px, calc(100vw - 40px));
  min-width: 0;
}

.product_card__inner {
  position: relative;
  height: 100%;
  padding: 14px 14px 18px;
  border: 1px solid var(--color_cream_dark);
  border-radius: var(--radius);
}

.product_card__inner:focus-visible {
  outline: 2px solid var(--accent-sage);
  outline-offset: 3px;
}

.product_card__media {
  position: relative;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  border-radius: 13px;
  background: white;
}

.product_card__image_link {
  display: block;
  width: 100%;
  height: 100%;
}

.product_card__image_link > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product_card__image_link:focus-visible,
.product_card__title a:focus-visible {
  outline: 2px solid var(--accent-sage);
  outline-offset: 3px;
}

.product_card__media button,
.product_card__badge {
  position: absolute;
  z-index: 1;
  top: 10px;
}

.product_card__badge {
  left: 10px;
  width: auto;
  max-width: max-content;
  padding: 0 5px;
  border-radius: 4px;
  color: white;
  background: var(--color_sage_light);
  font-size: 10px;
}

.product_card__media button {
  right: 10px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
}

.product_card__media button img {
  display: none;
}

.product_card__media button::before {
  width: 24px;
  height: 24px;
  background: var(--text-muted);
  content: "";
  mask: url("../img/Heart.svg") center / contain no-repeat;
  -webkit-mask: url("../img/Heart.svg") center / contain no-repeat;
}

.product_card__media > .tinv-wraper {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  margin: 0;
}

.product_card__favorite.tinvwl_add_to_wishlist_button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.product_card__favorite img {
  display: none;
}

.product_card__favorite::before {
  width: 24px;
  height: 24px;
  background: var(--text-muted);
  content: "";
  mask: url("../img/Heart.svg") center / contain no-repeat;
  -webkit-mask: url("../img/Heart.svg") center / contain no-repeat;
}

.product_card__favorite.tinvwl-product-in-list::before {
  background: var(--accent-sage-dark);
}

.product_card__favorite.tinvwl-product-in-list {
  border-radius: 50%;
  background: rgb(168 181 167 / 35%);
}

.product_card__title {
  margin-top: 12px;
  font-size: 22px;
}

.product_card__title a {
  color: inherit;
  text-decoration: none;
}

.product_card__inner > p {
  min-height: 38px;
  margin-top: 6px;
  font-size: 13px;
  overflow-wrap: break-word;
}

.product_card__footer strong {
  display: block;
  margin-top: 12px;
  font-size: 14px;
}

.product_card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product_card__cart {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--color_taupe);
  border-radius: 50%;
}

.product_card__cart img {
  width: 18px;
  height: 18px;
}

.advantages {
  margin-top: 40px;
}

.advantages__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--color_cream_dark);
}

.advantages__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color_brown_light);
  font-size: 14px;
}

.advantages__list img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.site_footer {
  padding: 40px 0 34px;
}

.site_footer__inner {
  display: grid;
  gap: 34px;
  padding-inline: 20px;
}

.site_footer__logo img {
  width: 231px;
  max-width: 100%;
  height: 93px;
  object-fit: contain;
}

.site_footer__logo {
  display: block;
  width: 231px;
  max-width: 100%;
}

.site_footer__brand {
  display: flex;
  flex-direction: column;
}

.site_footer__brand small {
  display: grid;
  width: 231px;
  max-width: 100%;
  gap: 5px;
  margin-top: 24px;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
}

.site_footer__developer {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site_footer__developer img {
  width: 39px;
  height: 16px;
  object-fit: contain;
}

.site_footer__nav h2 {
  margin-bottom: 20px;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.site_footer__nav ul {
  display: grid;
  gap: 10px;
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
}

.site_footer__nav a:hover,
.site_footer__nav a:focus-visible {
  color: var(--color_sage);
}

.site_footer__contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site_footer__contact > .button {
  width: 100%;
  min-height: 56px;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: var(--accent-soft-green);
  font-size: 13px;
}

.site_footer__contact > .button img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.site_footer__contact address {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  font-size: 15px;
  font-style: normal;
}

.site_footer__contact address a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site_footer__contact address img {
  width: 24px;
  height: 24px;
}

.site_footer__socials {
  display: flex;
  gap: 7px;
}

.site_footer__socials a {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 0;
  border-radius: 50%;
}

.site_footer__socials img {
  width: 37px;
  height: 37px;
}

@media (min-width: 480px) {
  .advantages__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .container {
    width: calc(100% - 48px);
  }

  .page > .hero,
  .site_header__inner {
    width: 100%;
  }

  .page > .container + .container {
    margin-top: 20px;
  }

  .page > .promo + .catalog,
  .page > .catalog + .personal,
  .page > .personal + .stones,
  .page > .stones + .knowledge {
    margin-top: 32px;
  }

  .page > .knowledge + .recommendations {
    margin-top: 48px;
  }

  .site_header__inner {
    min-height: 88px;
    padding-inline: 24px;
  }

  .site_header__logo {
    width: 96px;
  }

  .site_header__logo img {
    height: 62px;
  }

  .site_header__actions {
    right: 78px;
  }

  .site_search {
    padding: 84px 24px 24px;
  }

  .site_search__panel {
    width: min(920px, 100%);
    min-height: 0;
    padding: 52px 58px 58px;
    border: 1px solid rgb(214 204 189 / 72%);
    border-radius: 24px;
  }

  .site_search__close {
    top: 22px;
    right: 22px;
  }

  .site_search__form {
    margin-top: 34px;
  }

  .hero {
    min-height: 660px;
  }

  .hero__content {
    padding: 150px 48px 60px;
  }

  .page > .hero + .promo {
    margin-top: -90px;
  }

  .promo__slide {
    min-height: 560px;
  }

  .promo__content {
    padding: 60px 42px;
  }

  .catalog__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .catalog__item:last-child {
    grid-column: span 2;
  }

  .catalog__item:last-child .category_card {
    aspect-ratio: 2 / 1;
  }

  .personal {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px 32px;
  }

  .personal__content {
    padding: 0;
  }

  .personal__features {
    padding: 0;
  }

  .stones {
    grid-template-columns: minmax(0, 1fr) 140px;
    align-items: center;
    padding: 36px 32px;
  }

  .stones__list {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .stones__all {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .knowledge {
    grid-template-columns: 1fr 1fr;
  }

  .knowledge__card--nature {
    grid-row: span 2;
  }

  .recommendations__list {
    grid-auto-columns: minmax(260px, 38%);
  }

  .recommendations__header {
    align-items: flex-end;
    flex-direction: row;
  }

  .advantages__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site_footer__inner {
    grid-template-columns: 231px repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .site_footer__contact {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
  }

  .site_footer__brand small {
    margin-top: auto;
  }
}

@media (min-width: 1280px) {
  body {
    position: relative;
    font-size: 18px;
  }

  .page > .container + .container {
    margin-top: 20px;
  }

  .page > .promo + .catalog,
  .page > .catalog + .personal,
  .page > .personal + .stones,
  .page > .stones + .knowledge {
    margin-top: 40px;
  }

  .page > .knowledge + .recommendations {
    margin-top: 60px;
  }

  .page,
  .page_section,
  .site_header {
    margin-left: 205px;
  }

  .page > .container,
  .page_section > .container {
    width: calc(100% - 125px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: 63px;
  }

  .page > .hero {
    width: calc(100% - 43px);
    max-width: none;
    margin-right: 0;
    margin-left: auto;
  }

  .site_header > .container {
    max-width: none;
    margin-inline: 0;
  }

  .alphabet_nav {
    position: absolute;
    z-index: 30;
    top: 8px;
    bottom: 0;
    left: 48px;
    display: flex;
    width: 200px;
    min-height: 100vh;
    align-items: center;
    flex-direction: column;
    padding: 0;
    border-right: 1px solid var(--border-medium);
    background: var(--color_cream);
  }

  .alphabet_nav::before {
    position: absolute;
    top: -8px;
    right: -1px;
    width: 1px;
    height: 8px;
    background: var(--border-medium);
    content: "";
  }

  .alphabet_nav__logo {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
  }

  .alphabet_nav__logo::after {
    width: 50px;
    height: 0;
    margin-top: 20px;
    border-top: 1px solid var(--border-light);
    content: "";
  }

  .alphabet_nav__logo img {
    width: 64px;
    height: 64px;
  }

  .alphabet_nav nav {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px 0 42px;
  }

  .alphabet_nav__list {
    display: grid;
    gap: 15px;
    text-align: center;
  }

  .alphabet_nav__list::after {
    width: 50px;
    height: 0;
    justify-self: center;
    margin-top: 5px;
    border-top: 1px solid var(--border-light);
    content: "";
  }

  .alphabet_nav__list > li > a {
    display: block;
    min-width: 32px;
    color: var(--text-body);
    font-family: var(--second-family);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
  }

  .alphabet_nav__list > li > a:hover,
  .alphabet_nav__list > li > a:focus-visible {
    color: var(--color_sage);
  }

  .alphabet_nav__list > li {
    position: relative;
  }

  .alphabet_nav__submenu {
    position: absolute;
    z-index: 40;
    top: 50%;
    left: 58px;
    display: none;
    width: 180px;
    gap: 10px;
    padding: 20px;
    border-radius: 20px;
    background: var(--background-milk);
    box-shadow: 0 8px 24px rgb(38 36 32 / 8%);
    text-align: left;
    transform: translateY(-50%);
  }

  .alphabet_nav__list > li:first-child .alphabet_nav__submenu {
    transform: translateY(calc(-50% + 50px));
  }

  .alphabet_nav__submenu::before {
    position: absolute;
    top: 0;
    right: 100%;
    width: 26px;
    height: 100%;
    content: "";
  }

  .alphabet_nav__list > li:hover .alphabet_nav__submenu,
  .alphabet_nav__list > li:focus-within .alphabet_nav__submenu {
    display: grid;
  }

  .alphabet_nav__submenu a {
    display: block;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
  }

  .alphabet_nav__submenu a:hover,
  .alphabet_nav__submenu a:focus-visible {
    color: var(--accent-sage);
  }

  .alphabet_nav__all {
    display: grid;
    justify-items: center;
    gap: 5px;
    margin-top: 20px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
  }

  .alphabet_nav__all img {
    width: 26px;
    height: 26px;
  }

  .site_header > .site_header__inner {
    width: calc(100% - 125px);
    max-width: 1576px;
    height: 70px;
    min-height: 70px;
    justify-content: flex-start;
    gap: 20px;
    margin-left: 63px;
    padding-inline: 0;
  }

  .site_header__logo {
    width: 113px;
    flex: 0 0 113px;
  }

  .site_header__logo img {
    height: 70px;
  }

  .site_header__menu_button {
    display: none;
  }

  .site_header__nav {
    position: static;
    display: block;
    max-height: none;
    overflow: visible;
    margin-right: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .site_header__nav > ul {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .site_header__nav a,
  .site_header__catalog_button {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
  }

  .site_header__catalog_menu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 18px);
    left: -20px;
    width: 195px;
    gap: 10px;
    padding: 20px;
    border-radius: 20px;
    background: var(--background-milk);
    box-shadow: 0 8px 24px rgb(38 36 32 / 8%);
  }

  .site_header__catalog_menu a {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
    white-space: nowrap;
  }

  .site_header__arrow {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }

  .site_header__actions {
    position: static;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .site_header__actions > * {
    display: block;
  }

  .site_header__actions .site_header__search_button {
    display: grid;
  }

  .site_header__search_button {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .site_header__actions a {
    position: relative;
    display: block;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .site_header__wishlist .wishlist_products_counter_number,
  .site_header__cart_count {
    position: absolute;
    top: -5px;
    right: -7px;
    display: grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    padding: 0 4px;
    border: 2px solid var(--background-milk);
    border-radius: 999px;
    color: white;
    background: var(--accent-sage-dark);
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
  }

  .site_header__wishlist .wishlist_products_counter_number:empty,
  .site_header__wishlist:not(.wishlist-counter-with-products) .wishlist_products_counter_number,
  .site_header__cart_count:empty,
  .site_header__cart:not(.site_header__cart--has-items) .site_header__cart_count {
    display: none;
  }

  .site_header__actions img {
    width: 34px;
    height: 34px;
  }

  .site_header {
    top: 30px;
  }

  .hero {
    min-height: 680px;
    align-items: flex-start;
    border-radius: 0;
  }

  .hero__content {
    padding: 325px 40px 40px;
  }

  .hero__title {
    color: var(--text-primary);
    font-family: var(--second-family);
    font-size: 72px;
    font-weight: 600;
    line-height: 0.78;
  }

  .hero__text {
    margin-top: 20px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
  }

  .hero__actions {
    gap: 20px;
    margin-top: 60px;
  }

  .button--large {
    width: 228px;
    height: 64px;
    min-height: 64px;
    gap: 10px;
    padding: 20px 30px;
    border-radius: 5px;
    color: var(--surface-ivory);
    background: var(--accent-sage);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }

  .button--large img {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }

  .hero__button--secondary {
    display: flex;
    width: 216px;
    height: 64px;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
  }

  .hero__button--secondary span {
    width: 156px;
    height: 23px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }

  .page > .hero + .promo {
    margin-top: 0;
  }

  .promo {
    grid-template-columns: minmax(0, 1.4124fr) minmax(360px, 1fr);
  }

  .promo__story {
    border-radius: 20px;
  }

  .promo__slide {
    min-height: 0;
    aspect-ratio: 911 / 494;
  }

  .promo__content {
    position: absolute;
    top: 60px;
    bottom: 60px;
    left: 60px;
    display: flex;
    width: 450px;
    flex-direction: column;
    padding: 0;
  }

  .promo__content .section_title {
    color: var(--text-primary);
    font-family: var(--second-family);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.05;
  }

  .promo__content p {
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
  }

  .promo__content .button {
    width: 250px;
    height: 64px;
    margin-top: auto;
    padding: 20px 30px;
    border-radius: 5px;
    background: var(--accent-sage);
  }

  .promo__offers {
    grid-template-rows: repeat(2, 1fr);
  }

  .offer_card {
    min-height: 0;
    aspect-ratio: 645 / 237;
    padding: 40px;
    border-radius: 20px;
  }

  .offer_card__content {
    display: flex;
    width: min(385px, 100%);
    height: 100%;
    flex-direction: column;
    padding: 0;
  }

  .offer_card__title {
    color: var(--text-primary);
    font-family: var(--second-family);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
  }

  .offer_card__content p {
    margin: 10px 0 0;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
  }

  .offer_card__content .text_link {
    width: fit-content;
    height: 23px;
    margin-top: auto;
    padding: 0 0 5px;
    border-bottom: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }

  .catalog__grid {
    grid-template-columns: repeat(20, minmax(0, 1fr));
    gap: 20px;
  }

  .catalog__item {
    grid-column: span 4;
  }

  .catalog__item--large {
    grid-column: span 5;
  }

  .catalog__item:last-child {
    grid-column: span 4;
  }

  .catalog__item:last-child .category_card {
    aspect-ratio: 299 / 260;
  }

  .catalog__item--large .category_card {
    aspect-ratio: 379 / 360;
  }

  .category_card {
    aspect-ratio: 299 / 260;
    padding: 20px;
    border-radius: 20px;
    background: var(--surface-ivory);
  }

  .category_card__image {
    position: absolute;
    inset: 0;
  }

  .category_card__title,
  .category_card__arrow {
    bottom: 20px;
    color: var(--text-primary);
  }

  .category_card__title {
    left: 20px;
    color: var(--text-primary);
    font-family: var(--second-family);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
  }

  .category_card__arrow {
    right: 20px;
    width: 34px;
    height: 34px;
    color: var(--text-primary);
  }

  .catalog__item--large .category_card__title {
    font-size: 32px;
    line-height: 1.15;
  }

  .personal {
    min-height: 552px;
    grid-template-columns: minmax(0, 404px) auto;
    justify-content: space-between;
    padding: 80px 40px;
    border-radius: 20px;
  }

  .personal__content {
    grid-column: 1;
    width: 404px;
    padding: 0;
  }

  .personal__content .section_title {
    color: var(--text-primary);
    font-family: var(--second-family);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.05;
  }

  .personal__content p {
    max-width: none;
    margin-top: 0;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
  }

  .personal__content .section_title + p {
    margin-top: 20px;
  }

  .personal__content p + p {
    margin-top: 10px;
  }

  .personal__content .button {
    width: 218px;
    height: 64px;
    margin-top: 40px;
    padding: 20px 30px;
    border-radius: 5px;
    color: var(--surface-ivory);
    background: var(--accent-sage);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }

  .personal__features {
    grid-column: 2;
    width: 404px;
    gap: 40px;
    padding: 0;
  }

  .personal__feature {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 20px;
  }

  .personal__feature img {
    width: 60px;
    height: 60px;
  }

  .personal__feature p {
    width: 246px;
    gap: 10px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.1;
  }

  .personal__feature strong {
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
  }

  .stones {
    min-height: 305px;
    grid-template-columns: minmax(300px, 472px) minmax(0, 830px) minmax(
        120px,
        150px
      );
    align-items: center;
    gap: 20px;
    padding: 40px;
    border-radius: 20px;
  }

  .stones__intro {
    width: 472px;
  }

  .stones__intro .section_title {
    font-size: 48px;
    line-height: 1.05;
  }

  .stones__intro p {
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
  }

  .stones__intro .text_link {
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }

  .stones__list {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(5, minmax(0, 150px));
    gap: 20px;
    overflow: visible;
  }

  .stones__list li,
  .stones__all {
    width: 100%;
    max-width: 150px;
    height: auto;
    aspect-ratio: 3 / 4;
    padding: 10px;
    border-radius: 20px;
  }

  .stones__all {
    display: grid;
    grid-column: auto;
    grid-row: auto;
    place-content: center;
    justify-items: center;
    gap: 5px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
  }

  .stones__all br {
    display: initial;
  }

  .stones__all img {
    width: 24px;
    height: 24px;
  }

  .stones__list li {
    position: relative;
    overflow: hidden;
  }

  .stones__card {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: inherit;
  }

  .stones__list img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .stones__list span {
    position: absolute;
    z-index: 1;
    right: 10px;
    bottom: 10px;
    left: 10px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
  }

  .knowledge__card {
    min-height: 0;
  }

  .knowledge__card--nature {
    min-height: 0;
    aspect-ratio: 778 / 505;
    padding: 40px;
    border-radius: 20px;
  }

  .knowledge__card--nature .knowledge__content {
    width: min(605px, 100%);
    padding: 0;
  }

  .knowledge__card--nature .section_title {
    color: var(--text-primary);
    font-family: var(--second-family);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.05;
  }

  .knowledge__card--nature .knowledge__content p {
    margin-top: 10px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
  }

  .knowledge__card--nature .text_link {
    width: 68px;
    height: 23px;
    margin-top: 20px;
    padding: 0 0 5px;
    border-bottom: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }

  .knowledge__card--consultation {
    aspect-ratio: 778 / 261;
    padding: 40px;
    border-radius: 20px;
  }

  .knowledge__card--consultation .knowledge__content {
    width: min(428px, 100%);
    padding: 0;
  }

  .knowledge__card--consultation .section_title {
    color: var(--text-primary);
    font-family: var(--second-family);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
  }

  .knowledge__card--consultation .knowledge__content p {
    margin-top: 10px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
  }

  .knowledge__card--consultation .text_link {
    width: 83px;
    height: 23px;
    margin-top: 20px;
    padding: 0 0 5px;
    border-bottom: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }

  .knowledge__card--encyclopedia {
    padding: 40px;
    border-radius: 20px;
  }

  .knowledge__card--encyclopedia .knowledge__content {
    width: min(428px, 100%);
    padding: 0;
  }

  .knowledge__card--encyclopedia .section_title {
    color: var(--text-primary);
    font-family: var(--second-family);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
  }

  .knowledge__card--encyclopedia .knowledge__content p {
    margin-top: 10px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
  }

  .knowledge__card--encyclopedia .text_link {
    width: max-content;
    height: 23px;
    margin-top: 20px;
    padding: 0 0 5px;
    border-bottom: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }

  .knowledge {
    grid-template-columns: 1fr 1fr;
  }

  .recommendations {
    padding-top: 0;
  }

  .recommendations__header {
    margin-bottom: 20px;
  }

  .recommendations__header .section_title {
    color: var(--text-primary);
    font-family: var(--second-family);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.05;
  }

  .recommendations__header .text_link {
    width: 183px;
    height: 23px;
    padding: 0 0 5px;
    border-bottom: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }

  .recommendations__list {
    display: flex;
    gap: 0;
    overflow: visible;
  }

  .product_card {
    width: 312px;
    max-width: 312px;
    aspect-ratio: 312 / 391;
  }

  .product_card__inner {
    padding: 20px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    background: var(--background-milk);
  }

  .product_card__media {
    width: calc(100% + 40px);
    height: 250px;
    margin: -20px -20px 0;
    aspect-ratio: auto;
    border-radius: 20px 20px 0 0;
  }

  .product_card__media button img {
    display: none;
  }

  .product_card__badge {
    top: 20px;
    left: 18px;
    display: grid;
    width: auto;
    max-width: max-content;
    height: 21px;
    place-items: center;
    padding: 0 5px;
    color: var(--surface-ivory);
    background: var(--accent-sage);
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.1;
  }

  .product_card__media button {
    top: 15px;
    right: 15px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
  }

  .product_card__media > .tinv-wraper {
    top: 15px;
    right: 15px;
  }

  .product_card__favorite.tinvwl_add_to_wishlist_button {
    width: 36px;
    height: 36px;
  }

  .product_card__media button::before {
    display: block;
    width: 24px;
    height: 24px;
    background: #8f887d;
    content: "";
    mask: url("../img/Heart.svg") center / contain no-repeat;
    -webkit-mask: url("../img/Heart.svg") center / contain no-repeat;
  }

  .product_card__title,
  .product_card__inner > p,
  .product_card__footer {
    width: 272px;
  }

  .product_card__title {
    margin-top: 10px;
    color: var(--text-primary);
    font-family: var(--second-family);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
  }

  .product_card__inner > p {
    min-height: 0;
    margin-top: 5px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.1;
  }

  .product_card__footer {
    margin-top: 10px;
  }

  .product_card__footer strong {
    margin-top: 0;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
  }

  .product_card__footer .product_card__cart {
    position: static;
    flex: 0 0 36px;
  }

  .advantages {
    margin-top: 60px;
  }

  .advantages__list {
    min-height: 140px;
    grid-template-columns: repeat(6, minmax(0, 232px));
    gap: 20px;
    padding: 40px;
    border-radius: 20px;
  }

  .advantages__list li {
    width: 100%;
    max-width: 232px;
    gap: 20px;
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
  }

  .advantages__list img {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
  }

  .site_footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 40px;
    min-height: 0;
    padding: 0 0 20px;
  }

  .site_footer__contact {
    grid-column: auto;
    grid-template-columns: 1fr;
    width: min(347px, 100%);
    gap: 0;
  }

  .site_footer__contact > .button {
    width: min(347px, 100%);
    height: 64px;
    justify-content: center;
    gap: 10px;
    padding: 20px 30px;
    border-radius: 5px;
    color: var(--surface-ivory);
    background: var(--accent-soft-green);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }

  .site_footer__contact > .button img {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }

  .site_footer__contact > .button + .button {
    margin-top: 10px;
  }

  .site_footer__contact address {
    gap: 13px;
    margin-top: 20px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
  }

  .site_footer__contact address a {
    gap: 10px;
  }

  .site_footer__contact address img {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }

  .site_footer__socials {
    gap: 7px;
    margin-top: 20px;
  }

  .site_footer {
    margin-top: 40px;
    padding: 0;
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .site_header > .site_header__inner {
    gap: 8px;
  }

  .site_header__nav > ul {
    gap: 12px;
  }
}

@media (min-width: 1280px) and (max-width: 1905px) {
  .knowledge__card--nature {
    min-height: 505px;
    aspect-ratio: auto;
  }

  .knowledge__card--consultation {
    min-height: 261px;
    aspect-ratio: auto;
  }

  .knowledge__card--encyclopedia {
    min-height: 224px;
  }
}

@media (min-width: 1440px) {
  .hero {
    min-height: 997px;
    background-position: top center;
    background-size: 100% auto;
  }

  .page > .hero + .promo {
    position: relative;
    z-index: 1;
    margin-top: -313px;
  }
}

@media (min-width: 1600px) {
  .site_header > .site_header__inner,
  .site_header__nav > ul {
    gap: 40px;
  }

  .site_footer__inner {
    grid-template-columns: 231px repeat(3, minmax(0, 1fr)) minmax(300px, 347px);
    column-gap: 20px;
    row-gap: 0;
    min-height: 308px;
  }
}

@media (min-width: 1280px) and (max-width: 1624px) {
  .site_header > .site_header__inner,
  .site_header__nav > ul {
    gap: 12px;
  }

  .site_header__logo {
    width: 100px;
  }

  .site_header__nav a,
  .site_header__catalog_button {
    font-size: 15px;
  }

  .site_header__actions {
    gap: 12px;
  }

  .site_header__actions a,
  .site_header__actions img {
    width: 30px;
    height: 30px;
  }

  .site_header__actions a {
    flex-basis: 30px;
  }

  .hero__title {
    font-size: 64px;
  }

  .promo {
    grid-template-columns: 1fr;
  }

  .promo__slide {
    min-height: 494px;
    aspect-ratio: auto;
  }

  .promo__content {
    top: 40px;
    bottom: 40px;
    left: 40px;
    width: min(400px, calc(100% - 80px));
  }

  .promo__content .section_title,
  .personal__content .section_title,
  .knowledge__card--nature .section_title,
  .recommendations__header .section_title {
    font-size: 42px;
  }

  .promo__content p {
    font-size: 16px;
  }

  .promo__offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .offer_card {
    min-height: 237px;
    aspect-ratio: auto;
    padding: 28px;
  }

  .offer_card__title {
    font-size: 28px;
  }

  .offer_card__content p {
    font-size: 14px;
  }

  .catalog__item--large .category_card__title {
    font-size: 28px;
  }

  .category_card__title {
    font-size: 22px;
  }

  .personal {
    min-height: 480px;
    padding: 48px 32px;
  }

  .stones {
    min-height: 0;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) 110px;
    gap: 12px;
    padding: 24px;
  }

  .stones__intro {
    grid-column: 1;
    grid-row: 1;
    width: auto;
  }

  .stones__list {
    grid-column: 2;
    grid-row: 1;
    gap: 8px;
  }

  .stones__all {
    grid-column: 3;
    grid-row: 1;
    max-width: 110px;
  }

  .knowledge__card--nature,
  .knowledge__card--consultation,
  .knowledge__card--encyclopedia {
    padding: 32px;
  }

  .advantages__list {
    min-height: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    padding: 24px;
  }

  .advantages__list li {
    max-width: none;
    gap: 20px;
    font-size: 14px;
  }

  .advantages__list img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .site_footer__inner {
    grid-template-columns: 231px repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .site_footer__contact {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 12px 20px;
  }

  .site_footer__contact > .button {
    width: 100%;
  }

  .site_footer__contact > .button + .button {
    margin-top: 0;
  }
}

/* Страница персонального браслета */
.personal_bracelet_document,
.personal_bracelet_body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.personal_bracelet_hero {
  min-height: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 88px 0 0;
  background-image:
    linear-gradient(90deg, rgb(248 245 239 / 96%) 0 54%, rgb(248 245 239 / 10%) 100%),
    url("../img/personal-bracelet-hero.png");
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% auto;
}

.personal_bracelet_hero__inner {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.personal_bracelet_hero__content {
  width: min(738px, 100%);
  max-width: 100%;
}

.personal_bracelet_hero h1 {
  max-width: 640px;
  margin-top: 54px;
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: clamp(48px, 9vw, 72px);
  font-weight: 600;
  line-height: 0.9;
}

.personal_bracelet_hero__content > p {
  width: min(700px, 88%);
  margin-top: 20px;
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.personal_bracelet_hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.personal_bracelet_hero__actions .button,
.personal_process__lead .button,
.personal_order__form .button {
  gap: 16px;
  color: var(--surface-ivory);
}

.personal_bracelet_hero__actions > .button {
  width: 218px;
  height: 64px;
  min-height: 64px;
  padding: 20px 30px;
  border-radius: 5px;
  color: var(--surface-ivory);
  background: var(--accent-sage);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  line-height: 120%;
  white-space: nowrap;
}

.personal_bracelet_hero .personal_bracelet_hero__actions > .text_link {
  display: flex;
  width: 192px;
  height: 64px;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 0;
}

.personal_bracelet_hero .personal_bracelet_hero__actions > .text_link span {
  width: 132px;
  height: 23px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--text-secondary);
}

.personal_bracelet_hero__actions .text_link,
.personal_bracelet_type .text_link {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.personal_bracelet_intro {
  margin-top: 40px;
  color: var(--text-body);
}

.personal_bracelet_intro p {
  width: min(1044px, 100%);
  font-size: 18px;
  line-height: 1.3;
}

.personal_bracelet_intro p + p {
  margin-top: 10px;
}

.personal_bracelet_types {
  display: grid;
  gap: 20px;
}

.personal_bracelet_type {
  display: flex;
  min-height: 315px;
  align-items: flex-start;
  flex-direction: column;
  padding: 40px;
  overflow: hidden;
  border-radius: 20px;
  background-position: center;
  background-size: cover;
}

.personal_bracelet_type--intention {
  background-image: url("../img/personal-bracelet-intention.png");
}

.personal_bracelet_type--rune {
  background-image: url("../img/personal-bracelet-rune.png");
}

.personal_bracelet_type--custom {
  background-image: url("../img/personal-bracelet-custom.png");
}

.personal_bracelet_type h2 {
  width: min(260px, 100%);
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
}

.personal_bracelet_type p {
  width: min(260px, 100%);
  margin-top: 10px;
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 110%;
}

.personal_bracelet_type .text_link {
  margin-top: auto;
}

.personal_bracelet_type .text_link {
  width: 66px;
  height: 23px;
  padding: 0 0 5px;
  border-bottom: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  line-height: 120%;
}

.personal_process,
.personal_details {
  min-height: 210px;
  padding: 40px;
  border-radius: 20px;
  background: var(--surface-stone);
}

.personal_process {
  display: grid;
  gap: 20px;
}

.personal_process__lead h2,
.personal_details h2,
.personal_order h2 {
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.05;
}

.personal_process__lead h2 {
  font-size: 48px;
}

.personal_details h2 {
  font-size: 48px;
}

.personal_process__lead .button {
  width: 218px;
  height: 64px;
  min-height: 64px;
  margin-top: 20px;
  padding: 20px 30px;
  border-radius: 5px;
  background: var(--accent-sage);
  white-space: nowrap;
}

.personal_process__steps {
  display: grid;
  gap: 20px;
}

.personal_process__steps li {
  min-width: 0;
  min-height: 168px;
  padding: 20px;
  border-radius: 10px;
  background: var(--border-light);
}

.personal_process__steps span {
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 110%;
}

.personal_process__steps h3 {
  margin-top: 10px;
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: 24px;
  font-weight: 600;
  line-height: 125%;
}

.personal_process__steps p {
  margin-top: 10px;
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 110%;
}

.personal_details ul {
  display: grid;
  gap: 24px;
  margin-top: 20px;
}

.personal_details li {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
}

.personal_details li img {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
}

.personal_services {
  display: grid;
  gap: 20px;
}

.personal_services__handmade {
  grid-row: auto;
}

.personal_services__small .knowledge__content {
  width: min(428px, 100%);
}

.personal_services__small,
.personal_services__handmade {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.personal_bracelet_type,
.personal_process,
.personal_process__steps,
.personal_process__steps li,
.personal_details,
.personal_details li,
.personal_services,
.personal_order,
.personal_order__form_wrap,
.personal_order__benefits,
.personal_order__benefits li {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.personal_services__handmade .knowledge__content {
  width: min(507px, 100%);
}

.personal_order {
  display: grid;
  gap: 30px;
  min-height: 558px;
  padding: 60px 40px;
  overflow: hidden;
  border-radius: 20px;
  background: url("../img/personal-bracelet-order.png") 62% center / cover no-repeat;
}

.personal_order__form_wrap {
  width: min(472px, 100%);
  min-height: 438px;
  min-width: 0;
}

.personal_order__form_wrap h2 {
  font-family: var(--second-family);
  font-size: 48px;
  font-weight: 600;
  line-height: 105%;
}

.personal_order__form_wrap > p {
  width: min(472px, 100%);
  margin-top: 20px;
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 110%;
}

.personal_order__form {
  display: grid;
  width: min(472px, 100%);
  gap: 10px;
  margin-top: 40px;
}

.personal_order__form label > span:not(.personal_order__agreement span) {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
}

.personal_order__form input[type="text"],
.personal_order__form input[type="tel"],
.personal_order__form textarea {
  width: 100%;
  height: 38px;
  min-height: 38px;
  padding: 10px 20px;
  border: 0;
  border-radius: 10px;
  color: var(--text-muted);
  background: var(--surface-stone);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 110%;
  resize: none;
}

.personal_order__form input::placeholder,
.personal_order__form textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.personal_order__agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 30px;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 400;
  line-height: 110%;
  cursor: pointer;
}

.personal_order__agreement input {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin: 0;
  appearance: none;
  background: url("../img/checkbox.svg") center / contain no-repeat;
  cursor: pointer;
}

.personal_order__agreement input:checked {
  background-image: url("../img/checkbox-checked.svg");
}

.personal_order__agreement input:focus-visible {
  outline: 2px solid var(--accent-sage);
  outline-offset: 2px;
}

.personal_order__form .button {
  width: 224px;
  height: 64px;
  min-height: 64px;
  margin-top: 0;
  padding: 20px 30px;
  border-radius: 5px;
  background: var(--accent-sage);
}

.order_modal {
  width: min(552px, calc(100% - 32px));
  max-width: 552px;
  max-height: calc(100dvh - 32px);
  padding: 60px 40px;
  overflow-y: auto;
  border: 0;
  border-radius: 20px;
  color: var(--text-primary);
  background: var(--background-milk) url("../img/form.png") center top / cover no-repeat;
}

.order_modal::backdrop {
  background: rgb(38 36 32 / 45%);
}

.order_modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 24px;
  height: 24px;
  padding: 0;
}

.order_modal__close:focus-visible {
  outline: 2px solid var(--accent-sage);
  outline-offset: 3px;
}

.order_modal h2 {
  max-width: 472px;
  font-family: var(--second-family);
  font-size: 48px;
  font-weight: 600;
  line-height: 105%;
  overflow-wrap: break-word;
}

.order_modal__intro {
  margin-top: 20px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 110%;
}

.order_modal .order_modal__form {
  margin-top: 40px;
}

body:has(.order_modal[open]) {
  overflow: hidden;
}

.personal_order__status,
.form__status {
  width: 100%;
  margin-top: 12px;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.4;
}

.personal_order__status {
  max-width: 306px;
}

.personal_order__status[data-status="error"],
.form__status[data-status="error"] {
  color: #9d2f2f;
}

.personal_order__status[data-status="success"],
.form__status[data-status="success"] {
  color: var(--accent-sage);
}

.form_success_modal {
  width: min(520px, calc(100% - 32px));
  max-width: 520px;
  padding: 56px 48px 48px;
  overflow: visible;
  border: 0;
  border-radius: 20px;
  background: var(--background-milk) url("../img/form.png") center / cover no-repeat;
  color: var(--text-body);
  text-align: center;
}

.form_success_modal::backdrop {
  background: rgb(38 36 32 / 45%);
}

.form_success_modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
}

.form_success_modal__close::before,
.form_success_modal__close::after {
  position: absolute;
  top: 13px;
  left: 4px;
  width: 20px;
  height: 1px;
  background: currentcolor;
  content: "";
}

.form_success_modal__close::before {
  transform: rotate(45deg);
}

.form_success_modal__close::after {
  transform: rotate(-45deg);
}

.form_success_modal__content {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.form_success_modal__mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-sage);
  color: #fff;
  font-size: 28px;
}

.form_success_modal__eyebrow {
  color: var(--accent-sage);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form_success_modal h2 {
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 600;
  line-height: 1;
}

.form_success_modal p:not(.form_success_modal__eyebrow) {
  max-width: 360px;
  font-size: 16px;
  line-height: 1.4;
}

.form_success_modal .button {
  margin-top: 8px;
}

body.page--modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .order_modal {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 48px 20px 32px;
    border-radius: 16px;
  }

  .order_modal__close {
    top: 16px;
    right: 16px;
  }

  .order_modal h2 {
    font-size: 38px;
  }

  .order_modal__intro {
    font-size: 14px;
  }

  .order_modal__intro br {
    display: none;
  }

  .order_modal .order_modal__form {
    margin-top: 28px;
  }

  .order_modal .personal_order__agreement {
    margin-top: 20px;
  }
}

.personal_order__benefits {
  display: grid;
  width: min(404px, 100%);
  min-height: 368px;
  align-content: center;
  gap: 40px;
}

.personal_order__benefits li {
  display: flex;
  align-items: center;
  gap: 20px;
}

.personal_order__benefits img {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
}

.personal_order__benefits div {
  display: grid;
  gap: 10px;
}

.personal_order__benefits strong {
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 600;
  line-height: 130%;
}

.personal_order__benefits span {
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 110%;
}

.page > .personal_bracelet_hero + .personal_bracelet_types,
.page > .personal_bracelet_types + .personal_process,
.page > .personal_process + .personal_details,
.page > .personal_details + .personal_services,
.page > .personal_services + .personal_order {
  margin-top: 40px;
}

.personal_bracelet_page + .site_footer {
  margin-top: 40px;
}

@media (max-width: 767px) {
  .personal_bracelet_hero {
    min-height: 0;
    background-position: center, 70% top;
  }

  .personal_bracelet_hero h1 {
    margin-top: 36px;
    font-size: clamp(38px, 12vw, 48px);
  }

  .personal_bracelet_hero__content > p,
  .personal_bracelet_intro p {
    width: 100%;
    font-size: 16px;
  }

  .personal_bracelet_hero__actions {
    width: 100%;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 8px;
  }

  .personal_bracelet_hero__actions > .button {
    width: auto;
    height: 48px;
    min-width: 0;
    min-height: 48px;
    flex: 0 1 146px;
    gap: 6px;
    padding: 10px 8px;
    font-size: 12px;
  }

  .personal_bracelet_hero__actions > .button img {
    width: 14px;
    height: 14px;
  }

  .personal_bracelet_hero .personal_bracelet_hero__actions > .text_link {
    width: auto;
    height: 52px;
    min-width: 0;
    flex: 1 1 130px;
    justify-content: center;
    padding: 12px 4px;
    font-size: 12px;
  }

  .personal_bracelet_hero .personal_bracelet_hero__actions > .text_link span {
    width: auto;
    height: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .personal_bracelet_type {
    min-height: 280px;
    padding: 28px 24px;
  }

  .personal_bracelet_type h2,
  .personal_bracelet_type p {
    width: 62%;
  }

  .personal_process,
  .personal_details,
  .personal_order {
    padding: 28px 20px;
  }

  .personal_process__lead h2,
  .personal_details h2,
  .personal_order h2 {
    font-size: 32px;
  }

  .personal_process__steps li {
    min-height: 0;
  }

  .personal_details ul {
    gap: 20px;
  }

  .personal_details li {
    gap: 16px;
    font-size: 16px;
  }

  .personal_details li img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .personal_services__small,
  .personal_services__handmade {
    min-height: 360px;
  }

  .personal_order {
    min-height: 0;
    gap: 32px;
    padding: 28px 20px;
    background-image:
      linear-gradient(rgb(248 245 239 / 45%), rgb(248 245 239 / 45%)),
      url("../img/personal-bracelet-order.png");
    background-position: center, 72% center;
    background-size: cover, auto 100%;
  }

  .personal_order__form_wrap,
  .personal_order__benefits {
    width: 100%;
    min-height: 0;
  }

  .personal_order__form {
    width: 100%;
    margin-top: 32px;
  }

  .personal_order__agreement {
    margin-top: 20px;
  }

  .personal_order__form .button {
    width: 100%;
  }

  .personal_order__benefits {
    display: none;
  }
}

@media (min-width: 768px) {
  .personal_bracelet_hero {
    padding-top: 108px;
  }

  .personal_bracelet_types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .personal_bracelet_type--custom {
    grid-column: 1 / -1;
  }

  .personal_process__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .personal_details ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (min-width: 768px) and (max-width: 1279px) {
  .personal_process__lead h2,
  .personal_details h2,
  .personal_order h2 {
    font-size: 40px;
  }

  .personal_process,
  .personal_details,
  .personal_order {
    padding: 32px;
  }

  .personal_order {
    min-height: 0;
    gap: 40px;
    grid-template-columns: 1fr;
    padding: 40px 32px;
    background-image:
      linear-gradient(rgb(248 245 239 / 45%), rgb(248 245 239 / 45%)),
      url("../img/personal-bracelet-order.png");
    background-position: center, 72% center;
    background-size: cover, auto 100%;
  }

  .personal_order__form_wrap {
    min-height: 0;
  }

  .personal_order__benefits {
    display: none;
  }
}

@media (min-width: 1280px) {
  .personal_bracelet_body .alphabet_nav {
    display: none;
  }

  body.personal_bracelet_body.page,
  .personal_bracelet_body .page,
  .personal_bracelet_body .page_section,
  .personal_bracelet_body .site_header {
    margin-left: 0;
  }

  .personal_bracelet_body .page > .container,
  .personal_bracelet_body .page_section > .container,
  .personal_bracelet_body .site_header > .site_header__inner,
  .personal_bracelet_body .personal_bracelet_hero__inner {
    width: calc(100% - 32px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: auto;
  }

  .personal_bracelet_hero {
    min-height: 0;
    padding: 104px 0 0;
    background-image: url("../img/personal-bracelet-hero.png");
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% auto;
  }

  .personal_bracelet_hero__inner {
    width: calc(100% - 125px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: 63px;
  }

  .personal_bracelet_hero__content {
    width: min(738px, calc(100% - 40px));
    margin-top: 10px;
    margin-left: 40px;
  }

  .personal_bracelet_hero h1 {
    max-width: 610px;
    margin-top: 52px;
    font-size: 64px;
  }

  .personal_bracelet_hero__content > p {
    width: 738px;
    font-size: 15px;
  }

  .personal_bracelet_types {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .personal_bracelet_type--custom {
    grid-column: auto;
  }

  .personal_bracelet_type {
    min-height: 280px;
    padding: 30px;
  }

  .personal_process {
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: stretch;
  }

  .personal_process,
  .personal_details {
    padding: 32px;
  }

  .personal_process__lead h2,
  .personal_details h2,
  .personal_order h2 {
    font-size: 40px;
  }

  .personal_process__steps li {
    min-height: 150px;
    padding: 16px;
  }

  .personal_process__steps h3 {
    font-size: 20px;
  }

  .personal_details ul {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .personal_details li {
    gap: 12px;
    font-size: 15px;
  }

  .personal_details li img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .personal_services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .personal_services__small {
    grid-column: 1;
  }

  .personal_services__small--consultation {
    grid-row: 1;
  }

  .personal_services__small--rune {
    grid-row: 2;
  }

  .personal_services__handmade {
    grid-column: 2;
    grid-row: 1 / span 2;
    height: 100%;
  }

  .personal_order {
    min-height: 510px;
    grid-template-columns: 400px 300px minmax(0, 1fr);
    gap: 32px;
    padding: 40px 32px;
  }

  .personal_order__form_wrap {
    min-height: 420px;
  }

  .personal_order__benefits {
    width: 300px;
    min-height: 360px;
    gap: 24px;
  }
}

@media (min-width: 1440px) {
  .personal_bracelet_hero {
    padding-top: 110px;
  }

  .personal_bracelet_hero h1 {
    font-size: 68px;
  }

  .personal_bracelet_type h2 {
    font-size: 32px;
  }

  .personal_bracelet_type {
    min-height: 300px;
    padding: 32px;
  }

  .personal_process {
    grid-template-columns: 400px minmax(0, 1fr);
  }

  .personal_process,
  .personal_details {
    padding: 36px;
  }

  .personal_process__lead h2,
  .personal_details h2,
  .personal_order h2 {
    font-size: 44px;
  }

  .personal_process__steps li {
    min-height: 160px;
    padding: 18px;
  }

  .personal_process__steps h3 {
    font-size: 22px;
  }

  .personal_order {
    min-height: 534px;
    grid-template-columns: 440px 340px minmax(0, 1fr);
    gap: 40px;
    padding: 48px 36px;
  }

  .personal_order__form_wrap {
    min-height: 438px;
  }

  .personal_order__benefits {
    width: 340px;
    min-height: 368px;
    gap: 32px;
  }
}

@media (min-width: 1625px) {
  .personal_bracelet_hero {
    padding-top: 118px;
  }

  .personal_bracelet_hero h1 {
    font-size: 72px;
    line-height: 78%;
  }

  .personal_bracelet_hero__content > p,
  .personal_bracelet_intro p {
    font-size: 18px;
  }

  .personal_process {
    grid-template-columns: 472px minmax(0, 1fr);
  }

  .personal_bracelet_type {
    min-height: 315px;
    padding: 40px;
  }

  .personal_process__lead h2,
  .personal_details h2,
  .personal_order h2 {
    font-size: 48px;
  }

  .personal_process__steps li {
    min-height: 168px;
    padding: 20px;
  }

  .personal_process__steps h3 {
    font-size: 24px;
  }

  .personal_details ul {
    grid-template-columns: repeat(6, 232px);
    gap: 20px;
  }

  .personal_details li {
    width: 232px;
    gap: 20px;
    font-size: 18px;
  }

  .personal_details li img {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .personal_process,
  .personal_details {
    padding: 40px;
  }

  .personal_order {
    min-height: 558px;
    grid-template-columns: 472px 404px minmax(0, 1fr);
    gap: 60px;
    padding: 60px 40px;
  }

  .personal_order__form_wrap {
    min-height: 438px;
  }

  .personal_order__benefits {
    width: 404px;
    min-height: 368px;
    gap: 40px;
  }
}

/* Страница «О нас» */
.about_document,
.about_body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.about_hero {
  min-height: 500px;
  padding: 88px 0 32px;
  background: url("../img/about-hero.png") 68% center / cover no-repeat;
}

.about_hero__content {
  width: min(738px, 100%);
}

.about_hero h1,
.about_catalog > h2,
.about_values h2,
.about_card h2 {
  color: var(--text-primary);
  font-family: var(--second-family);
  font-weight: 600;
}

.about_hero h1 {
  margin-top: 64px;
  font-size: clamp(44px, 8vw, 64px);
  line-height: 90%;
}

.about_hero__content > p {
  margin-top: 20px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 130%;
}

.about_hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.about_hero__actions .button {
  width: 228px;
  height: 64px;
  min-height: 64px;
  padding: 20px 30px;
  border-radius: 5px;
  color: var(--surface-ivory);
  background: var(--accent-sage);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  line-height: 120%;
  white-space: nowrap;
}

.about_hero__actions > .text_link {
  display: flex;
  width: 293px;
  height: 64px;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 0;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  line-height: 120%;
}

.about_hero__actions > .text_link span {
  width: 233px;
  height: 23px;
  padding: 0 0 5px;
  border-bottom: 1px solid var(--text-secondary);
  white-space: nowrap;
}

.about_intro {
  color: var(--text-body);
}

.about_intro p {
  max-width: 1044px;
  font-size: 16px;
  line-height: 130%;
}

.about_intro p + p {
  margin-top: 10px;
}

.about_intro .text_link {
  width: 47px;
  height: 23px;
  margin-top: 20px;
  padding: 0 0 5px;
  border-bottom: 1px solid var(--text-muted);
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  line-height: 120%;
}

.about_catalog > h2,
.about_values h2 {
  font-size: 40px;
  line-height: 105%;
}

.about_catalog .catalog__grid {
  margin-top: 20px;
}

.about_ally {
  min-height: 516px;
}

.about_ally .personal__content {
  max-width: 420px;
}

.about_ally .personal__content p {
  line-height: 120%;
}

.about_hero__content,
.about_intro,
.about_catalog,
.about_ally,
.about_process,
.about_process li,
.about_values,
.about_cards,
.about_card,
.about_stones {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.about_process {
  width: 100%;
}

.about_values {
  display: grid;
  gap: 30px;
}

.about_values__content {
  padding: 0;
}

.about_values ul {
  margin-top: 20px;
  padding-left: 20px;
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
  list-style: disc;
}

.about_values > img {
  width: 100%;
  aspect-ratio: 778 / 420;
  border-radius: 20px;
  object-fit: cover;
}

.about_cards {
  display: grid;
  gap: 20px;
}

.about_card {
  display: flex;
  min-height: 297px;
  align-items: flex-start;
  flex-direction: column;
  padding: 32px;
  overflow: hidden;
  border-radius: 20px;
  background-position: center;
  background-size: cover;
}

.about_card--natural {
  background-image: url("../img/about-natural-beauty.png");
}

.about_card--craft {
  background-image: url("../img/about-craft.png");
}

.about_card--gift {
  background-image: url("../img/about-gift.png");
}

.about_card h2,
.about_card p {
  width: min(260px, 58%);
}

.about_card h2 {
  font-size: 28px;
  line-height: 115%;
}

.about_card p {
  margin-top: 10px;
  color: var(--text-body);
  font-size: 14px;
  line-height: 120%;
}

.about_card .text_link {
  margin-top: auto;
}

.about_stones {
  margin-top: 40px;
}

.about_page + .site_footer {
  margin-top: 40px;
}

.about_page > .about_hero + .about_intro {
  margin-top: 40px;
}

.about_page > .about_intro + .about_catalog,
.about_page > .about_catalog + .about_ally,
.about_page > .about_ally + .about_process,
.about_page > .about_process + .about_values,
.about_page > .about_values + .about_cards,
.about_page > .about_cards + .about_stones {
  margin-top: 40px;
}

@media (max-width: 767px) {
  .about_hero {
    min-height: 560px;
    background-position: 30% center;
  }

  .about_hero__content {
    width: 100%;
  }

  .about_hero h1 {
    margin-top: 52px;
    font-size: 42px;
  }

  .about_hero__actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .about_hero__actions .button {
    width: auto;
    height: 48px;
    min-width: 0;
    min-height: 48px;
    flex: none;
    gap: 6px;
    padding: 10px 8px;
    font-size: 12px;
  }

  .about_hero__actions .button img {
    width: 14px;
    height: 14px;
  }

  .about_hero__actions > .text_link {
    width: auto;
    height: 48px;
    min-width: 0;
    flex: none;
    justify-content: flex-start;
    padding: 10px 0;
    font-size: 12px;
  }

  .about_hero__actions > .text_link span {
    width: max-content;
    max-width: 100%;
    height: auto;
    padding-bottom: 4px;
    text-align: left;
    white-space: nowrap;
  }

  .about_catalog > h2,
  .about_values h2 {
    font-size: 32px;
  }

  .about_intro p,
  .about_values ul {
    font-size: 15px;
  }

  .about_ally {
    min-height: 680px;
  }

  .about_ally .personal__content {
    padding: 20px;
    border-radius: 16px;
    background: rgb(248 245 239 / 78%);
  }

  .about_ally .personal__features {
    padding: 20px;
    border-radius: 16px;
    background: rgb(248 245 239 / 78%);
  }

  .about_card {
    min-height: 280px;
    padding: 24px;
  }

  .about_card h2,
  .about_card p {
    width: 62%;
  }

  .about_page > .about_hero + .about_intro,
  .about_page > .about_intro + .about_catalog,
  .about_page > .about_catalog + .about_ally,
  .about_page > .about_ally + .about_process,
  .about_page > .about_process + .about_values,
  .about_page > .about_values + .about_cards,
  .about_page > .about_cards + .about_stones {
    margin-top: 32px;
  }
}

@media (max-width: 359px) {
  .about_hero__actions .button,
  .about_hero__actions > .text_link {
    padding-inline: 4px;
    font-size: 10px;
  }

  .about_hero__actions .button img {
    width: 12px;
    height: 12px;
  }
}

@media (min-width: 768px) {
  .about_hero {
    padding-top: 108px;
  }

  .about_values {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .about_cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about_card:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .about_hero {
    background-position: 55% center;
  }

  .about_hero__content {
    width: min(620px, 76%);
  }

  .about_hero h1 {
    font-size: 54px;
  }

  .about_hero__content > p,
  .about_intro p,
  .about_values ul {
    font-size: 16px;
  }

  .about_ally {
    min-height: 620px;
  }

  .about_card {
    padding: 28px;
  }

  .about_page > .about_hero + .about_intro,
  .about_page > .about_intro + .about_catalog,
  .about_page > .about_catalog + .about_ally,
  .about_page > .about_ally + .about_process,
  .about_page > .about_process + .about_values,
  .about_page > .about_values + .about_cards,
  .about_page > .about_cards + .about_stones {
    margin-top: 36px;
  }
}

@media (min-width: 1280px) {
  body.about_body.page,
  body.page-template-page-about.page,
  .about_body .alphabet_nav,
  .page-template-page-about .alphabet_nav {
    margin-left: 0;
  }

  .about_body .alphabet_nav,
  .page-template-page-about .alphabet_nav {
    display: none;
  }

  .about_body .page,
  .about_body .page_section,
  .about_body .site_header,
  .page-template-page-about .page,
  .page-template-page-about .page_section,
  .page-template-page-about .site_header {
    margin-left: 0;
  }

  .about_body .page > .container,
  .about_body .page_section > .container,
  .about_body .site_header > .site_header__inner,
  .about_body .about_hero__inner,
  .page-template-page-about .page > .container,
  .page-template-page-about .page_section > .container,
  .page-template-page-about .site_header > .site_header__inner,
  .page-template-page-about .about_hero__inner {
    width: calc(100% - 32px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: auto;
  }

  .about_hero {
    min-height: 500px;
    padding-top: 104px;
    background-position: center top;
    background-size: cover;
  }

  .about_hero__content {
    margin-left: 40px;
  }

  .about_catalog > h2,
  .about_values h2 {
    font-size: 44px;
  }

  .about_values ul {
    font-size: 16px;
  }

  .about_ally {
    min-height: 470px;
    grid-template-columns: minmax(280px, 360px) 1fr minmax(250px, 300px);
    padding: 32px;
  }

  .about_ally .personal__content {
    grid-column: 1;
  }

  .about_ally .personal__features {
    grid-column: 3;
  }

  .about_cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about_card:last-child {
    grid-column: auto;
  }

  .about_card {
    min-height: 270px;
    padding: 28px;
  }

  .about_card h2 {
    font-size: 26px;
  }

  .about_card p {
    font-size: 13px;
  }

}

@media (min-width: 1440px) {
  .about_hero h1 {
    font-size: 68px;
  }

  .about_card {
    min-height: 285px;
    padding: 32px;
  }

  .about_values ul {
    font-size: 17px;
  }

  .about_ally {
    grid-template-columns: minmax(320px, 390px) 1fr minmax(280px, 330px);
    min-height: 490px;
    padding: 40px;
  }
}

@media (min-width: 1625px) {
  .about_hero {
    min-height: 526px;
    padding-top: 118px;
  }

  .about_hero h1 {
    font-size: 72px;
    line-height: 78%;
  }

  .about_hero__content > p,
  .about_intro p {
    font-size: 18px;
  }

  .about_catalog > h2,
  .about_values h2 {
    font-size: 48px;
  }

  .about_ally {
    grid-template-columns: 420px 1fr 360px;
    min-height: 516px;
    padding: 60px 40px;
  }

  .about_cards {
    grid-template-columns: repeat(3, 512px);
  }

  .about_card {
    min-height: 297px;
    padding: 40px;
  }

  .about_card h2 {
    font-size: 32px;
  }

  .about_values ul {
    font-size: 18px;
  }
}

@media (min-width: 1906px) {
  .about_hero {
    background-position: top;
    background-size: 100% auto;
  }
}

/* Детальная статья о камне */
.mineral_article_hero {
  min-height: 620px;
  padding: 88px 0 48px;
  background:
    linear-gradient(90deg, rgb(248 245 239 / 94%) 0 58%, rgb(248 245 239 / 15%) 100%),
    var(--mineral-article-hero-image, url("../img/aquamarine-article-hero.png")) 68% top / cover no-repeat;
}

.mineral_article_hero__inner {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.mineral_article_hero__category {
  margin-top: 60px;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
}

.mineral_article_hero__time {
  display: inline-flex;
  width: 103px;
  height: 43px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 10px 20px;
  border: 1px solid var(--text-body);
  border-radius: 10px;
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
}

.mineral_article_hero h1 {
  width: min(738px, 100%);
  margin-top: 20px;
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 600;
  line-height: 0.78;
  overflow-wrap: break-word;
}

.mineral_article_hero p {
  width: min(738px, 100%);
  margin-top: 20px;
  color: var(--text-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
}

.mineral_article_profile {
  margin-top: 40px;
}

.mineral_article_content {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}

.page > .mineral_article_profile + .mineral_article_content {
  margin-top: 40px;
}

.mineral_article_content__intro {
  display: grid;
  gap: 30px;
}

.mineral_article_content__intro > img,
.mineral_article_content__wide_image {
  overflow: hidden;
  border-radius: 20px;
  object-fit: cover;
}

.mineral_article_content__intro > img {
  width: min(778px, 100%);
  aspect-ratio: 778 / 479;
}

.mineral_article_content__wide_image {
  width: min(1044px, 100%);
  aspect-ratio: 1044 / 620;
}

.mineral_article_content__text,
.mineral_article_content__intro > div {
  color: var(--text-body);
  overflow-wrap: break-word;
}

.mineral_article_content__text {
  width: 100%;
  max-width: 1044px;
}

.mineral_article_content h2 {
  margin-top: 40px;
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.15;
}

.mineral_article_content h2:first-child {
  margin-top: 0;
}

.mineral_article_content h3 {
  margin-top: 20px;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
}

.mineral_article_content p {
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
}

.mineral_article_content li {
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
}

.mineral_article_content p {
  margin-top: 10px;
}

.mineral_article_content h2 + p {
  margin-top: 20px;
}

.mineral_article_content ul {
  margin-top: 20px;
}

.mineral_article_content ul {
  display: grid;
  gap: 4px;
  padding-left: 22px;
  list-style: disc;
}

.mineral_article_section_heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.mineral_article_section_heading h2 {
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
}

.mineral_article_section_heading .text_link {
  width: auto;
  min-width: max-content;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.2;
}

.mineral_article_products {
  margin-top: 60px;
}

.page > .mineral_article_content + .mineral_article_products,
.page > .mineral_article_products + .mineral_article_related {
  margin-top: 60px;
}

.mineral_article_products__grid,
.mineral_article_related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mineral_article_products__grid .product_card {
  width: 100%;
  min-width: 0;
  max-width: none;
  aspect-ratio: auto;
}

.mineral_article_products__grid .product_card__inner {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  padding: 0 20px 20px;
  background: var(--background-milk);
}

.mineral_article_products__grid .product_card__media {
  width: calc(100% + 40px);
  margin: 0 -20px;
  border-radius: 20px 20px 0 0;
}

.mineral_article_products__grid .product_card__title,
.mineral_article_products__grid .product_card__inner > p,
.mineral_article_products__grid .product_card__footer {
  width: 100%;
}

.mineral_article_products__grid .product_card__title {
  margin-top: 20px;
}

.mineral_article_products__grid .product_card__inner > p {
  margin-top: 10px;
}

.mineral_article_products__grid .product_card__footer {
  margin-top: auto;
  padding-top: 20px;
}

.mineral_article_related {
  margin-top: 60px;
}

.mineral_article_related__grid .knowledge_card {
  display: flex;
  flex-direction: column;
}

.mineral_article_related__grid .knowledge_card__content {
  flex: 1;
}

.mineral_article_related__grid .knowledge_card .text_link {
  margin-top: auto;
}

.mineral_article_page + .site_footer {
  margin-top: 80px;
}

@media (max-width: 767px) {
  .mineral_article_hero {
    min-height: 560px;
    background-position: center, 73% top;
  }

  .mineral_article_hero__category {
    margin-top: 28px;
    font-size: 16px;
  }

  .mineral_article_hero__time {
    width: auto;
    height: 36px;
    padding: 7px 14px;
    font-size: 14px;
  }

  .mineral_article_hero h1 {
    font-size: 40px;
    line-height: 0.9;
  }

  .mineral_article_hero p {
    font-size: 14px;
  }

  .mineral_article_profile {
    margin-top: 20px;
  }

  .mineral_article_content,
  .mineral_article_products,
  .mineral_article_related {
    margin-top: 40px;
  }

  .mineral_article_content__intro,
  .mineral_article_content__text {
    min-width: 0;
  }

  .mineral_article_content h2 {
    font-size: 24px;
  }

  .mineral_article_content h3 {
    font-size: 20px;
  }

  .mineral_article_content p,
  .mineral_article_content li {
    font-size: 14px;
  }

  .mineral_article_section_heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .mineral_article_section_heading h2 {
    font-size: 32px;
  }

  .mineral_article_products__grid,
  .mineral_article_related__grid {
    grid-template-columns: 1fr;
  }

  .mineral_article_page + .site_footer {
    margin-top: 40px;
  }
}

@media (min-width: 768px) {
  .mineral_article_hero {
    min-height: 640px;
    padding-top: 108px;
  }

  .mineral_article_hero h1 {
    width: min(620px, 80%);
    font-size: clamp(48px, 6vw, 56px);
    line-height: 0.9;
  }

  .mineral_article_hero p {
    width: min(620px, 80%);
  }

  .mineral_article_related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mineral_article_section_heading h2 {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .mineral_article_content__intro {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
    align-items: start;
  }
}

@media (min-width: 1280px) {
  .mineral_article_hero {
    min-height: 703px;
    padding: 104px 0 48px;
    background-image: var(--mineral-article-hero-image, url("../img/aquamarine-article-hero.png"));
    background-position: top;
    background-size: cover;
  }

  .mineral_article_hero__inner {
    width: calc(100% - 125px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: 63px;
  }

  .mineral_article_hero__category {
    margin-top: 48px;
    font-size: 16px;
  }

  .mineral_article_hero h1 {
    width: 650px;
    font-size: 56px;
    line-height: 0.86;
  }

  .mineral_article_hero p {
    width: 650px;
    font-size: 15px;
  }

  .mineral_article_content__intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
  }

  .mineral_article_products__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mineral_article_related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) {
  .mineral_article_hero {
    padding-top: 110px;
  }

  .mineral_article_hero h1 {
    width: 720px;
    font-size: 64px;
  }

  .mineral_article_hero p {
    width: 720px;
    font-size: 16px;
  }

  .mineral_article_content h2 {
    font-size: 30px;
  }

  .mineral_article_section_heading h2 {
    font-size: 40px;
  }

  .mineral_article_products__grid,
  .mineral_article_related__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1625px) {
  .mineral_article_hero {
    padding-top: 118px;
  }

  .mineral_article_hero h1 {
    width: 738px;
    font-size: 72px;
    line-height: 0.78;
  }

  .mineral_article_hero p {
    width: 738px;
    font-size: 18px;
  }

  .mineral_article_hero__category {
    margin-top: 60px;
    font-size: 20px;
  }

  .mineral_article_content h2 {
    font-size: 32px;
  }

  .mineral_article_content h3 {
    font-size: 20px;
  }

  .mineral_article_content p {
    font-size: 18px;
  }

  .mineral_article_content li {
    font-size: 18px;
  }

  .mineral_article_section_heading h2 {
    font-size: 48px;
  }

  .mineral_article_products__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) and (max-width: 1624px) {
  .site_header > .site_header__inner,
  .site_header__nav > ul {
    gap: 20px;
  }

  .promo {
    grid-template-columns: minmax(0, 1.4124fr) minmax(360px, 1fr);
  }

  .promo__slide {
    min-height: 0;
    aspect-ratio: 911 / 494;
  }

  .promo__offers {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
  }

  .offer_card {
    min-height: 0;
    padding: 24px;
  }

  .offer_card__title {
    font-size: 26px;
  }

  .offer_card__content p {
    font-size: 13px;
  }

  .stones {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) 130px;
    gap: 16px;
  }

  .stones__list {
    grid-column: 2;
    grid-row: 1;
    gap: 12px;
  }

  .stones__list li,
  .stones__all {
    max-width: 130px;
  }

  .stones__all {
    grid-column: 3;
    grid-row: 1;
  }

  .advantages__list li {
    font-size: 15px;
  }

  .advantages__list img {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}

@media (min-width: 1906px) {
  .site_footer__inner {
    grid-template-columns: 231px 113px 235px 180px 347px;
    column-gap: 117.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Страница каталога */
.catalog_hero {
  min-height: 430px;
  padding-top: 92px;
  background: url("../img/catalog.png") center / cover no-repeat;
}

.catalog_hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
}
.breadcrumbs span:last-child {
  color: var(--accent-mineral-green);
}
.catalog_hero__title {
  margin-top: 38px;
  font-family: var(--second-family);
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 600;
  line-height: 1;
  color: var(--text-primary);
}
.catalog_hero__text {
  max-width: 720px;
  margin-top: 20px;
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: break-word;
}
.catalog_categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
  margin-top: 32px;
}
.catalog_categories a {
  padding: 9px 18px;
  border: 1px solid var(--text-body);
  border-radius: 10px;
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}
.catalog_categories .catalog_categories__link--active {
  color: white;
  border-color: var(--accent-sage);
  background: var(--accent-sage);
}

.catalog_products {
  position: relative;
  display: grid;
  grid-template-columns: 266px minmax(0, 1fr);
  gap: 20px;
  padding-top: 40px;
}

.catalog_filters {
  width: 266px;
  align-self: start;
  padding: 20px;
  border-top: 1px solid var(--border-medium);
  border-right: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
  border-radius: 0 20px 20px 0;
}
.catalog_filters fieldset {
  display: grid;
  gap: 5px;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}
.catalog_filters legend {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}
.catalog_filters label {
  display: flex;
  align-items: center;
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
}
.catalog_filters label small {
  margin-left: 4px;
  color: var(--border-medium);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
}
.catalog_filters input[type="checkbox"] {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin: 0 6px 0 0;
  appearance: none;
  border-radius: 6px;
  background: url("../img/checkbox.svg") center / contain no-repeat;
}
.catalog_filters input[type="checkbox"]:checked {
  background-color: var(--accent-sage);
}
.catalog_filters input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent-sage);
  outline-offset: 2px;
}
.catalog_filters__search {
  width: 226px;
  height: 38px;
  gap: 6px;
  margin-bottom: 5px;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--surface-stone);
}
.catalog_filters__search img {
  width: 16px;
  height: 16px;
  opacity: 0.45;
}
.catalog_filters__search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text-primary);
  background: transparent;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
}
.catalog_filters__search input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}
.catalog_filters__more {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 2px;
  margin-top: 5px;
  padding: 0;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}
.catalog_filters__more img {
  width: 16px;
  height: 16px;
}
.catalog_filters fieldset:last-of-type {
  gap: 0;
}
.catalog_filters__range_wrap {
  position: relative;
  width: 226px;
  height: 16px;
}
.catalog_filters__range {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 226px;
  height: 16px;
  margin: 0;
  appearance: none;
  outline: 0;
  background: transparent;
  pointer-events: none;
}
.catalog_filters__range::-webkit-slider-runnable-track {
  height: 2px;
  background: transparent;
}
.catalog_filters__range::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -7px;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: var(--accent-sage);
  pointer-events: auto;
}
.catalog_filters__range::-moz-range-track {
  height: 2px;
  background: transparent;
}
.catalog_filters__range::-moz-range-progress {
  height: 2px;
  background: var(--accent-sage);
}
.catalog_filters__range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-sage);
  pointer-events: auto;
}
.catalog_filters__range--min {
  z-index: 3;
}
.catalog_filters__range--max::-webkit-slider-thumb {
  background: var(--surface-stone);
}
.catalog_filters__range--max::-moz-range-thumb {
  background: var(--surface-stone);
}
.catalog_filters__range:focus-visible {
  outline: 2px solid var(--accent-sage);
  outline-offset: 3px;
}
.catalog_filters__range_progress {
  position: absolute;
  z-index: 1;
  top: 7px;
  left: 0;
  width: 226px;
  height: 2px;
  appearance: none;
  border: 0;
  background: var(--surface-stone);
}
.catalog_filters__range_progress::-webkit-progress-bar {
  background: transparent;
}
.catalog_filters__range_progress--max::-webkit-progress-bar {
  background: var(--surface-stone);
}
.catalog_filters__range_progress--max::-webkit-progress-value {
  background: var(--accent-sage);
  transition: width 0.1s ease;
}
.catalog_filters__range_progress--min::-webkit-progress-value {
  background: var(--surface-stone);
  transition: width 0.1s ease;
}
.catalog_filters__range_progress--max::-moz-progress-bar {
  background: var(--accent-sage);
}
.catalog_filters__range_progress--min::-moz-progress-bar {
  background: var(--surface-stone);
}
.catalog_filters__prices {
  display: flex;
  width: 226px;
  justify-content: space-between;
  margin-top: 5px;
  color: var(--text-muted);
}
.catalog_filters__prices small {
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.1;
}
.catalog_filters > .button {
  width: 100%;
}
.catalog_filters__reset {
  display: block;
  margin: 14px auto 0;
  padding: 0 0 3px;
  border-bottom: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}
.catalog_products__content {
  min-width: 0;
}
.catalog_sort {
  position: relative;
  z-index: 5;
  width: min(100%, 376px);
  height: 43px;
  margin: 0 0 20px auto;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}
.catalog_sort summary {
  display: flex;
  height: 43px;
  align-items: center;
  gap: 5px;
  padding: 10px 48px 10px 20px;
  border: 1px solid var(--text-muted);
  border-radius: 10px;
  background: var(--background-milk) url("../img/arrow-down-small.svg") right
    20px center / 16px 16px no-repeat;
  cursor: pointer;
  list-style: none;
}
.catalog_sort summary::-webkit-details-marker {
  display: none;
}
.catalog_sort summary strong {
  font: inherit;
}
.catalog_sort[open] summary {
  border-radius: 10px 10px 0 0;
}
.catalog_sort__menu {
  position: absolute;
  top: 42px;
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--text-muted);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: var(--surface-ivory);
  box-shadow: 0 10px 24px rgb(38 36 32 / 10%);
}
.catalog_sort__menu button {
  display: block;
  width: 100%;
  padding: 10px 20px;
  color: var(--text-muted);
  font: inherit;
  text-align: left;
}
.catalog_sort__menu button:hover,
.catalog_sort__menu button:focus-visible {
  color: white;
  outline: 0;
  background: var(--accent-sage);
}

.catalog_products__empty {
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 18px;
}

.catalog_products__loading {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding-top: 90px;
  color: var(--text-primary);
  background: rgb(250 248 243 / 78%);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.catalog_products[aria-busy="true"] .catalog_products__loading {
  opacity: 1;
  pointer-events: auto;
}

.catalog_products__spinner {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid var(--border-medium);
  border-top-color: var(--accent-sage);
  border-radius: 50%;
  animation: runa-catalog-spin 700ms linear infinite;
}

.stone_detail_page .catalog_products[aria-busy="true"] .catalog_products__content,
.stone_detail_page .catalog_products[aria-busy="true"] .catalog_filters {
  pointer-events: none;
}

@keyframes runa-catalog-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog_products__spinner {
    animation-duration: 1.4s;
  }
}
.catalog_products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.catalog_products__grid .product_card {
  width: 100%;
  max-width: none;
}
.catalog_products__grid .product_card__inner {
  display: flex;
  flex-flow: column;
  background: var(--background-milk);
}
.catalog_products__grid .product_card__title {
  flex-grow: 1;
}
.catalog_products__grid .product_card__title,
.catalog_products__grid .product_card__inner > p,
.catalog_products__grid .product_card__footer {
  width: 100%;
}
.catalog_products__grid .product_card__badge {
  width: auto;
  max-width: max-content;
  padding: 0 5px;
  white-space: nowrap;
}
.product_card__badge--gold {
  background: #b79c68;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 22px;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}
.pagination a:first-child,
.pagination a:last-child {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  font-weight: 400;
}
.pagination a:first-child {
  margin-right: 15px;
}
.pagination a:last-child {
  margin-left: 15px;
}
.pagination > a:not(:first-child):not(:last-child),
.pagination > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
}
.pagination a:first-child::before,
.pagination a:last-child::after {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: var(--text-muted);
  content: "";
  mask: url("../img/arrow-down-small.svg") center / contain no-repeat;
  -webkit-mask: url("../img/arrow-down-small.svg") center / contain no-repeat;
}
.pagination a:first-child::before {
  transform: rotate(90deg);
}
.pagination a:last-child::after {
  transform: rotate(-90deg);
}
.pagination [aria-current="page"] {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 5px 10px;
  border-radius: 20px;
  color: var(--surface-ivory);
  background: var(--accent-sage);
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}
.catalog_page + .advantages {
  margin-top: 40px;
}

@media (max-width: 767px) {
  .catalog_hero {
    min-height: 0;
    padding: 88px 0 32px;
    background-position: 62% center;
  }
  .breadcrumbs {
    font-size: 12px;
  }
  .catalog_hero__title {
    margin-top: 32px;
    font-size: 40px;
    line-height: 0.9;
  }
  .catalog_hero__text {
    margin-top: 16px;
    font-size: 14px;
  }
  .catalog_hero__text br {
    display: none;
  }
  .catalog_categories {
    gap: 6px;
    margin-top: 24px;
  }
  .catalog_categories a {
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
  }
  .catalog_products {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 24px;
  }
  .catalog_filters {
    width: 100%;
    padding: 16px;
    border-left: 1px solid var(--border-medium);
    border-radius: 16px;
  }
  .catalog_filters__search,
  .catalog_filters__range_wrap,
  .catalog_filters__range,
  .catalog_filters__range_progress,
  .catalog_filters__prices {
    width: 100%;
  }
  .catalog_sort {
    width: 100%;
    height: 40px;
    font-size: 14px;
  }
  .catalog_sort summary {
    height: 40px;
    padding: 8px 40px 8px 14px;
    background-position: right 14px center;
  }
  .catalog_sort__menu button {
    padding: 9px 14px;
  }
  .catalog_products__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .catalog_products__grid .product_card {
    width: 100%;
    max-width: none;
  }
  .pagination {
    gap: 3px;
    font-size: 16px;
  }
  .pagination a:first-child,
  .pagination a:last-child {
    margin-inline: 5px;
    font-size: 14px;
  }
  .pagination > a:not(:first-child):not(:last-child),
  .pagination > span,
  .pagination [aria-current="page"] {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  .pagination > a:nth-of-type(4),
  .pagination > a:nth-of-type(5),
  .pagination > span:not([aria-current="page"]) {
    display: none;
  }
  .catalog_page + .advantages {
    margin-top: 32px;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .catalog_hero {
    min-height: 460px;
    padding-top: 108px;
  }
  .catalog_hero__title {
    margin-top: 42px;
    font-size: 52px;
    line-height: 0.9;
  }
  .catalog_hero__text {
    font-size: 16px;
  }
  .catalog_categories {
    margin-top: 28px;
  }
  .catalog_categories a {
    padding: 8px 14px;
    font-size: 15px;
  }
  .catalog_products {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
    padding-top: 32px;
  }
  .catalog_filters {
    width: 220px;
    padding: 16px;
    border-left: 1px solid var(--border-medium);
    border-radius: 16px;
  }
  .catalog_filters__search,
  .catalog_filters__range_wrap,
  .catalog_filters__range,
  .catalog_filters__range_progress,
  .catalog_filters__prices {
    width: 100%;
  }
  .catalog_filters__search {
    padding-inline: 12px;
  }
  .catalog_filters legend {
    font-size: 18px;
  }
  .catalog_filters label,
  .catalog_filters label small {
    font-size: 14px;
  }
  .catalog_filters input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .catalog_sort {
    width: min(100%, 320px);
    font-size: 15px;
  }
  .catalog_products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .catalog_products__grid .product_card {
    width: 100%;
    max-width: none;
  }
}

@media (min-width: 1625px) {
  .catalog_hero {
    min-height: 515px;
    padding-top: 118px;
  }
  .catalog_hero__title,
  .catalog_hero__text,
  .catalog_categories {
    margin-left: 20px;
  }
  .catalog_hero__title {
    margin-top: 63px;
    margin-left: 20px;
    font-size: 72px;
    line-height: 0.78;
  }
  .catalog_hero__text {
    margin-top: 20px;
    font-size: 18px;
  }
  .catalog_categories {
    margin-top: 40px;
  }
  .catalog_categories a {
    font-size: 18px;
  }
  .catalog_products {
    grid-template-columns: 246px minmax(0, 1fr);
    gap: 20px;
  }
  .catalog_products__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .catalog_products__grid .product_card {
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
  }
  .catalog_products__grid .product_card__inner {
    padding: 20px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
  }
}

@media (min-width: 1280px) {
  .catalog_hero__inner {
    width: calc(100% - 125px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: 63px;
  }

  .catalog_products {
    grid-template-columns: 246px minmax(0, 1fr);
  }
  .catalog_filters {
    margin-left: -20px;
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .catalog_hero {
    min-height: 460px;
    padding-top: 104px;
  }
  .catalog_hero__title {
    margin-top: 48px;
    margin-left: 12px;
    font-size: 56px;
    line-height: 0.88;
  }
  .catalog_hero__text,
  .catalog_categories {
    margin-left: 12px;
  }
  .catalog_hero__text {
    font-size: 15px;
  }
  .catalog_categories {
    margin-top: 28px;
  }
  .catalog_categories a {
    padding: 8px 13px;
    font-size: 14px;
  }
  .catalog_products {
    grid-template-columns: 206px minmax(0, 1fr);
    gap: 16px;
    padding-top: 32px;
  }
  .catalog_filters {
    width: 226px;
    padding: 16px;
  }
  .catalog_filters__search,
  .catalog_filters__range_wrap,
  .catalog_filters__range,
  .catalog_filters__range_progress,
  .catalog_filters__prices {
    width: 100%;
  }
  .catalog_filters__search {
    padding-inline: 12px;
  }
  .catalog_filters legend {
    font-size: 18px;
  }
  .catalog_filters label,
  .catalog_filters label small {
    font-size: 14px;
  }
  .catalog_filters input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .catalog_sort {
    width: 300px;
    height: 40px;
    font-size: 15px;
  }
  .catalog_sort summary {
    height: 40px;
    padding-block: 8px;
  }
  .catalog_products__grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }

  .catalog_products__grid .product_card {
    aspect-ratio: auto;
  }
}

@media (min-width: 1440px) and (max-width: 1624px) {
  .catalog_hero {
    min-height: 490px;
    padding-top: 110px;
  }
  .catalog_hero__title {
    margin-top: 54px;
    margin-left: 16px;
    font-size: 64px;
    line-height: 0.82;
  }
  .catalog_hero__text,
  .catalog_categories {
    margin-left: 16px;
  }
  .catalog_hero__text {
    font-size: 16px;
  }
  .catalog_categories {
    margin-top: 32px;
  }
  .catalog_categories a {
    padding: 8px 15px;
    font-size: 16px;
  }
  .catalog_products {
    grid-template-columns: 226px minmax(0, 1fr);
    gap: 18px;
    padding-top: 36px;
  }
  .catalog_filters {
    width: 246px;
    padding: 20px;
  }
  .catalog_filters__search,
  .catalog_filters__range_wrap,
  .catalog_filters__range,
  .catalog_filters__range_progress,
  .catalog_filters__prices {
    width: 100%;
  }
  .catalog_sort {
    width: 340px;
    font-size: 16px;
  }
  .catalog_products__grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
  }

  .catalog_products__grid .product_card {
    aspect-ratio: auto;
  }
}

/* Страница «Избранное» */
.wishlist_hero {
  min-height: 330px;
}

.wishlist_catalog {
  padding-top: 40px;
  padding-bottom: 40px;
}

.wishlist_content > p:empty,
.wishlist_page .tinv-header,
.wishlist_page .tinvwl-table-manage-list thead,
.wishlist_page .tinvwl-table-manage-list .product-cb,
.wishlist_page .tinvwl-table-manage-list .product-date,
.wishlist_page .tinvwl-table-manage-list .product-stock {
  display: none !important;
}

.wishlist_page .tinv-wishlist,
.wishlist_page .tinv-wishlist form,
.wishlist_page .tinvwl-table-manage-list {
  width: 100%;
  margin: 0;
}

.wishlist_page .tinvwl-table-manage-list,
.wishlist_page .tinvwl-table-manage-list tbody,
.wishlist_page .tinvwl-table-manage-list tfoot,
.wishlist_page .tinvwl-table-manage-list tfoot tr,
.wishlist_page .tinvwl-table-manage-list tfoot td {
  display: block;
  border: 0;
}

.wishlist_page .tinvwl-table-manage-list tbody {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.wishlist_page .tinvwl-table-manage-list tbody > tr {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 390px;
  overflow: hidden;
  flex-direction: column;
  padding: 14px 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--background-milk);
}

.wishlist_page .tinvwl-table-manage-list tbody > tr > td {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: var(--text-body);
  font-family: var(--font-family);
  text-align: left;
}

.wishlist_page .tinvwl-table-manage-list .product-thumbnail {
  order: 1;
}

.wishlist_page .product-thumbnail > a,
.wishlist_page .product-thumbnail > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  border-radius: 13px;
  background: white;
}

.wishlist_page .product-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.wishlist_page .tinvwl-table-manage-list .product-name {
  order: 2;
  margin-top: 12px;
  padding-right: 42px;
  font-family: var(--second-family);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.wishlist_page .product-name > a {
  color: var(--text-primary);
}

.wishlist_page .product-name .variation {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.wishlist_page .product-name .variation dt,
.wishlist_page .product-name .variation dd {
  margin: 0;
}

.wishlist_page .product-name .variation dd:not(:last-child)::after {
  content: "/";
  margin-left: 4px;
}

.wishlist_page .tinvwl-table-manage-list .product-price {
  order: 3;
  margin-top: auto;
  padding-top: 16px;
  padding-right: 58px;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.wishlist_page .product-price del {
  margin-right: 5px;
  color: var(--text-muted);
  font-size: 0.8em;
}

.wishlist_page .product-price ins {
  text-decoration: none;
}

.wishlist_page .tinvwl-table-manage-list .product-remove {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  order: 0;
  width: 34px;
}

.wishlist_page .product-remove button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  color: var(--text-body);
  background: rgb(248 245 239 / 88%);
  cursor: pointer;
}

.wishlist_page .product-remove button i {
  display: none;
}

.wishlist_page .product-remove button::before {
  content: "×";
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.wishlist_page .product-remove button:hover,
.wishlist_page .product-remove button:focus-visible {
  color: white;
  outline: 0;
  background: var(--accent-sage-dark);
}

.wishlist_page .tinvwl-table-manage-list .product-action {
  position: absolute;
  right: 14px;
  bottom: 14px;
  order: 4;
  width: 48px;
}

.wishlist_page .product-action .button {
  display: block;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent url("../img/Bag.svg") center / 32px 32px no-repeat;
  box-shadow: none;
  cursor: pointer;
  font-size: 0;
}

.wishlist_page .product-action .button i,
.wishlist_page .product-action .button .tinvwl-txt {
  display: none;
}

.wishlist_page .tinvwl-table-manage-list tfoot {
  margin-top: 20px;
}

.wishlist_page .tinv-lists-nav {
  margin-top: 30px;
}

.wishlist_page .cart-empty {
  padding: 48px 24px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  color: var(--text-muted);
  background: var(--background-milk);
  font-size: 18px;
  text-align: center;
}

.wishlist_page .return-to-shop {
  margin-top: 20px;
  text-align: center;
}

.wishlist_page .return-to-shop .button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 5px;
  color: white;
  background: var(--accent-sage);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
}

.wishlist_page + .site_footer {
  margin-top: 40px;
}

@media (min-width: 768px) {
  .wishlist_page .tinvwl-table-manage-list tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wishlist_page .tinvwl-table-manage-list tbody > tr {
    padding: 20px;
    border-radius: 20px;
  }

  .wishlist_page .product-thumbnail > a,
  .wishlist_page .product-thumbnail > img {
    aspect-ratio: 272 / 250;
    border-radius: 20px 20px 0 0;
  }

  .wishlist_page .tinvwl-table-manage-list .product-remove {
    top: 30px;
    right: 30px;
  }

  .wishlist_page .tinvwl-table-manage-list .product-action {
    right: 20px;
    bottom: 18px;
  }
}

@media (min-width: 1280px) {
  body.wishlist_body.page {
    margin-left: 0;
  }

  .wishlist_page .tinvwl-table-manage-list tbody {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1625px) {
  .wishlist_page .tinvwl-table-manage-list tbody {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Страница товара */
.product_page {
  padding-top: 92px;
}

.product_overview {
  display: grid;
  gap: 24px;
}

.product_overview__breadcrumbs {
  flex-wrap: wrap;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
}

.product_overview__breadcrumbs span:last-child {
  color: var(--accent-mineral-green);
}

.product_gallery__main {
  aspect-ratio: 1.1 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-ivory);
  cursor: zoom-in;
}

.product_gallery__main:focus-visible {
  outline: 2px solid var(--accent-sage);
  outline-offset: 3px;
}

.product_gallery__main img,
.product_gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product_gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.product_gallery__thumbs button {
  aspect-ratio: 1.1 / 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
}

.product_gallery__thumbs .product_gallery__thumb--active {
  border-color: var(--accent-sage);
}

.product_details {
  min-width: 0;
}

.product_details__meta,
.product_details__price_row,
.product_details__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product_details__meta {
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.product_details__title {
  margin: 14px 0 0;
  font-family: var(--second-family);
  font-size: clamp(40px, 12vw, 58px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text-primary);
  overflow-wrap: break-word;
}

.product_details__price_row {
  margin-top: 24px;
}

.product_details__price_row strong {
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
}

.product_details__availability {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-sage-dark);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.product_details__availability img {
  width: 24px;
  height: 24px;
}

.product_details__stones {
  margin-top: 24px;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.product_details__material {
  margin-top: 10px;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.product_details__stones_link,
.product_details__material span {
  color: var(--text-body);
}

.product_details__stones_link:hover,
.product_details__stones_link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product_sizes {
  margin: 34px 0 0;
  padding: 0;
  border: 0;
}

.product_sizes__legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.product_sizes__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product_sizes__heading > span {
  font-weight: 500;
}

.product_sizes__heading .text_link {
  color: var(--text-muted);
  font-size: 12px;
}

.product_sizes__options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.product_sizes__options label {
  min-width: 0;
}

.product_sizes__options input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.product_sizes__options span {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  place-items: center;
  padding: 8px 4px;
  border: 1px solid var(--text-muted);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}

.product_sizes__options input:checked + span {
  border-color: var(--accent-sage);
  background: rgb(125 143 120 / 10%);
}

.product_sizes__options input:focus-visible + span {
  outline: 2px solid var(--accent-sage);
  outline-offset: 2px;
}

.product_details__actions {
  margin-top: 34px;
}

.product_details__cart {
  width: 100%;
  min-width: 0;
}

.product_details__cart img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.product_details__cart:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.product_details__price_row del {
  margin-right: 8px;
  color: var(--text-muted);
  font-size: 0.65em;
}

.product_details__price_row ins {
  text-decoration: none;
}

.product_details__favorite {
  display: grid;
  width: 64px;
  min-width: 64px;
  min-height: 52px;
  place-items: center;
  border: 1px solid var(--text-muted);
  border-radius: 4px;
}

.product_details__favorite img {
  width: 26px;
  height: 26px;
}

.product_details__actions > .tinv-wraper {
  flex: 0 0 auto;
  margin: 0;
}

.product_details__actions > .tinv-wraper .tinvwl-tooltip,
.product_card__media > .tinv-wraper .tinvwl-tooltip {
  display: none;
}

.product_details__favorite.tinvwl_add_to_wishlist_button {
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.product_details__favorite.tinvwl-product-in-list {
  border-color: var(--accent-sage);
  background: var(--accent-sage);
}

.product_details__favorite.tinvwl-product-in-list img {
  filter: brightness(0) invert(1);
}

.product_benefits {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.product_benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
}

.product_benefits img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.product_story {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.product_characteristics,
.personal_offer {
  overflow: hidden;
  border-radius: 18px;
}

.product_characteristics {
  padding: 22px 18px;
  background: var(--surface-stone);
  min-height: auto;
}

.product_characteristics h2,
.personal_offer h2 {
  font-family: var(--second-family);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.product_characteristics > p {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 13px;
  overflow-wrap: break-word;
}

.product_characteristics > ul:not(.product_tags) {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 13px;
}

.product_characteristics > ul:not(.product_tags) li {
  position: relative;
  padding-left: 14px;
  overflow-wrap: break-word;
}

.product_characteristics > ul:not(.product_tags) li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-sage);
  content: "";
}

.product_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.product_tags li {
  display: grid;
  width: 52px;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.product_tags img {
  width: 34px;
  height: 34px;
}

.product_tags small {
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.1;
}

.product_tags--properties {
  margin-top: 16px;
}

.personal_offer {
  position: relative;
  min-height: 430px;
}

.personal_offer > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.personal_offer__content {
  position: relative;
  z-index: 1;
  width: min(310px, 78%);
  padding: 28px 20px;
}

.personal_offer__content p {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.15;
}

.personal_offer__content .button {
  margin-top: 24px;
}

.personal_offer__content .button img {
  width: 18px;
  height: 18px;
}

.page > .product_story + .product_recommendations {
  margin-top: 44px;
}

.product_page + .advantages {
  margin-top: 40px;
}

@media (min-width: 768px) {
  .product_benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .personal_offer__content {
    width: min(360px, 60%);
  }

  .personal_offer {
    width: min(512px, 100%);
    min-height: 469px;
    justify-self: start;
  }
}

@media (min-width: 1280px) {
  .product_page {
    padding-top: 120px;
  }

  .product_overview {
    grid-template-columns: minmax(0, 778px) minmax(0, 778px);
    column-gap: 20px;
    row-gap: 40px;
  }

  .product_overview__breadcrumbs {
    grid-column: 1 / -1;
  }

  .product_gallery {
    width: 100%;
    max-width: 778px;
  }

  .product_gallery__main {
    width: 100%;
    max-width: 778px;
    aspect-ratio: 778 / 700;
    border-radius: 20px;
  }

  .product_gallery__thumbs {
    grid-template-columns: repeat(5, minmax(0, 147px));
    justify-content: space-between;
    gap: 0;
    margin-top: 16px;
  }

  .product_gallery__thumbs button {
    width: 100%;
    aspect-ratio: 147 / 150;
    border-radius: 10px;
  }

  .product_details {
    padding: 0 0 0 20px;
  }

  .product_details__title {
    margin-top: 22px;
    font-size: 64px;
  }

  .product_details__meta {
    font-size: 20px;
  }

  .product_details__price_row {
    margin-top: 38px;
  }

  .product_details__price_row strong {
    font-size: 48px;
  }

  .product_details__availability {
    font-size: 20px;
  }

  .product_details__stones {
    max-width: 520px;
    margin-top: 40px;
    font-size: 18px;
  }

  .product_details__material {
    font-size: 18px;
  }

  .product_sizes {
    margin-top: 60px;
  }

  .product_sizes__heading > span {
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
  }

  .product_sizes__heading .text_link {
    width: 180px;
    height: 23px;
    padding: 0 0 5px;
    border-bottom: 1px solid var(--text-muted);
    color: var(--text-muted);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }

  .product_sizes__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }

  .product_sizes__options span {
    width: 100px;
    height: 58px;
    min-width: 100px;
    min-height: 58px;
    padding: 20px 30px;
    border-radius: 10px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
  }

  .product_sizes__options input:checked + span {
    width: 99px;
    min-width: 99px;
    border-color: var(--accent-mineral-green);
    background: rgb(168 181 167 / 20%);
  }

  .product_details__actions {
    gap: 20px;
    margin-top: 60px;
  }

  .product_details__cart {
    width: min(625px, 100%);
    max-width: 625px;
    height: 64px;
    min-height: 64px;
    flex: 1 1 625px;
    padding: 20px 30px;
    border-radius: 5px;
    color: var(--surface-ivory);
    background: var(--accent-sage);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }

  .product_details__favorite {
    width: 113px;
    height: 64px;
    min-width: 113px;
    min-height: 64px;
    padding: 10px;
    border-radius: 5px;
  }

  .product_details__favorite img {
    width: 34px;
    height: 34px;
  }

  .product_benefits {
    gap: 20px;
    margin-top: 60px;
  }

  .product_benefits li {
    gap: 20px;
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
  }

  .product_benefits img {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .page > .product_overview + .product_story {
    grid-template-columns: minmax(0, 1044px) minmax(0, 512px);
    align-items: start;
    margin-top: 40px;
  }

  .page > .product_story--without-characteristics {
    grid-template-columns: minmax(0, 512px);
    justify-content: end;
  }

  .product_characteristics {
    width: 100%;
    max-width: 1044px;
    min-height: auto;
    padding: 20px;
    border-radius: 20px;
  }

  .product_characteristics h2 {
    color: var(--text-body);
    font-family: var(--second-family);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
  }

  .personal_offer h2 {
    color: var(--text-primary);
    font-family: var(--second-family);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
  }

  .personal_offer__content h2 + p {
    margin-top: 20px;
  }

  .personal_offer__content p {
    width: min(339px, 100%);
    margin-top: 10px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
  }

  .product_characteristics > p {
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
  }

  .product_characteristics > p:first-of-type {
    margin-top: 40px;
  }

  .product_characteristics > p:last-of-type {
    margin-top: 20px;
  }

  .product_characteristics > ul:not(.product_tags) {
    gap: 10px;
    margin-top: 20px;
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
  }

  .product_characteristics > ul:not(.product_tags) strong {
    color: var(--text-primary);
    font-weight: 400;
  }

  .product_tags {
    gap: 27px;
    margin-top: 40px;
  }

  .product_tags--properties {
    margin-top: 40px;
  }

  .personal_offer {
    width: 100%;
    max-width: 512px;
    min-height: 469px;
    border-radius: 20px;
  }

  .personal_offer__content {
    width: 100%;
    padding: 40px;
  }

  .personal_offer__content .button {
    width: 218px;
    height: 64px;
    min-height: 64px;
    margin-top: 40px;
    padding: 20px 30px;
    border-radius: 5px;
    color: var(--surface-ivory);
    background: var(--accent-sage);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
  }

  .page > .product_story + .product_recommendations {
    margin-top: 60px;
  }

  .product_page + .advantages {
    margin-top: 60px;
  }
}

/* Страница «Акции» */
.promotions_page {
  overflow-x: hidden;
}

.promotions_hero {
  min-height: 0;
  padding: 88px 0 40px;
  background: var(--background-milk) url("../img/promotions-hero.png") top / 100% auto no-repeat;
}

.promotions_hero__inner {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.promotions_hero__content {
  width: min(738px, 100%);
}

.promotions_hero h1 {
  margin-top: 40px;
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: 48px;
  font-weight: 600;
  line-height: 0.9;
}

.promotions_hero p {
  margin-top: 20px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 130%;
}

.promotions_filters {
  display: flex;
  flex-wrap: wrap;
  width: min(738px, 100%);
  gap: 8px;
  margin-top: 28px;
}

.promotions_filters a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 14px;
  border: 1px solid var(--text-secondary);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 120%;
}

.promotions_filters span {
  color: var(--text-muted);
}

.promotions_filters a:hover,
.promotions_filters a:focus-visible,
.promotions_filters .promotions_filters__link--active {
  border-color: var(--accent-sage);
  color: var(--surface-ivory);
  background: var(--accent-sage);
}

.promotions_filters a:hover span,
.promotions_filters a:focus-visible span,
.promotions_filters .promotions_filters__link--active span {
  color: inherit;
}

.promotions_hero + .promotions_list {
  margin-top: 24px;
}

.promotions_grid {
  display: grid;
  gap: 20px;
}

.promotions_card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: var(--background-milk);
}

.promotions_card__media {
  aspect-ratio: 512 / 280;
  overflow: hidden;
}

.promotions_card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promotions_card__content {
  padding: 20px;
}

.promotions_card h2 {
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: 22px;
  font-weight: 600;
  line-height: 125%;
  overflow-wrap: break-word;
}

.promotions_card p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 110%;
  overflow-wrap: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.promotions_page + .site_footer {
  margin-top: 40px;
}

@media (min-width: 768px) {
  .promotions_hero {
    padding: 108px 0 60px;
    background-position: 46% top;
  }

  .promotions_hero h1 {
    margin-top: 44px;
    font-size: 56px;
  }

  .promotions_hero p {
    width: 620px;
    max-width: 76%;
    font-size: 16px;
  }

  .promotions_filters {
    max-width: 100%;
  }

  .promotions_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  body.promotions_body {
    margin-left: 0;
  }

  .promotions_hero {
    min-height: 0;
    padding: 104px 0 500px;
    background-position: top;
  }

  .promotions_hero .promotions_hero__inner {
    width: calc(100% - 125px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: 63px;
  }

  .promotions_hero h1 {
    margin-top: 48px;
    font-size: 56px;
  }

  .promotions_hero p {
    width: 620px;
    max-width: none;
    font-size: 15px;
  }

  .promotions_filters {
    margin-top: 32px;
  }

  .promotions_filters a {
    font-size: 14px;
  }

  .promotions_hero + .promotions_list {
    position: relative;
    z-index: 1;
    margin-top: -440px;
  }
}

@media (min-width: 1440px) {
  .promotions_hero h1 {
    font-size: 64px;
  }

  .promotions_hero p {
    width: 680px;
    font-size: 16px;
  }

  .promotions_filters a {
    font-size: 16px;
  }

  .promotions_grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1625px) {
  .promotions_hero {
    padding-top: 118px;
  }

  .promotions_hero h1 {
    margin-top: 60px;
    font-size: 72px;
  }

  .promotions_hero p {
    width: 738px;
    font-size: 18px;
  }

  .promotions_filters {
    margin-top: 40px;
  }

  .promotions_filters a {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 18px;
  }

  .promotions_card h2 {
    font-size: 24px;
  }
}

/* Страница «Доставка и оплата» */
.delivery_body,
.delivery_page {
  overflow-x: hidden;
}

.delivery_hero {
  min-height: 588px;
  padding: 88px 0 40px;
  background: var(--background-milk) url("../img/delivery-hero.png") 58% top / auto 100% no-repeat;
}

.delivery_hero__content {
  width: min(738px, 100%);
}

.delivery_hero h1,
.delivery_methods h2,
.delivery_section h2,
.delivery_method h3 {
  color: var(--text-primary);
  font-family: var(--second-family);
  font-weight: 600;
  overflow-wrap: break-word;
}

.delivery_hero h1 {
  margin-top: 44px;
  font-size: 46px;
  line-height: 90%;
}

.delivery_hero__text {
  display: grid;
  gap: 4px;
  margin-top: 20px;
}

.delivery_hero__text p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 130%;
}

.delivery_hero__line {
  display: block;
  margin-top: 10px;
}

.delivery_methods {
  margin-top: 40px;
}

.delivery_methods > h2,
.delivery_section h2 {
  font-size: 34px;
  line-height: 105%;
}

.delivery_methods__grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.delivery_method {
  min-width: 0;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: var(--surface-stone);
}

.delivery_method h3 {
  font-size: 26px;
  line-height: 105%;
}

.delivery_method h3,
.delivery_method p {
  width: min(260px, 100%);
}

.delivery_method p {
  margin-top: 10px;
  color: var(--text-body);
  font-size: 14px;
  line-height: 120%;
  overflow-wrap: break-word;
}

.delivery_page > .delivery_methods + .delivery_content {
  display: grid;
  gap: 60px;
  margin-top: 60px;
}

.delivery_section {
  width: min(1044px, 100%);
}

.delivery_section > p,
.delivery_section__group {
  margin-top: 20px;
}

.delivery_section > p + p {
  margin-top: 10px;
}

.delivery_section > h2:not(:first-child) {
  margin-top: 60px;
}

.delivery_section > h3 {
  margin-top: 20px;
}

.delivery_section > h3 + p,
.delivery_section > h3 + ul {
  margin-top: 10px;
}

.delivery_section__group + .delivery_section__group {
  margin-top: 20px;
}

.delivery_section h3,
.delivery_section p,
.delivery_section li {
  font-family: var(--font-family);
  line-height: 130%;
}

.delivery_section h3 {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 20px;
}

.delivery_section p,
.delivery_section li {
  color: var(--text-body);
  font-weight: 400;
  font-size: 18px;
}

.delivery_section__group p,
.delivery_section__group ul {
  margin-top: 10px;
}

.delivery_section ul {
  padding-left: 20px;
  list-style: disc;
}

.delivery_page + .site_footer {
  margin-top: 60px;
}

@media (min-width: 768px) {
  .delivery_hero {
    padding-top: 108px;
    background-position: 54% top;
  }

  .delivery_hero__content {
    width: min(620px, 72%);
  }

  .delivery_hero h1 {
    font-size: 56px;
  }

  .delivery_hero__text p {
    font-size: 16px;
  }

  .delivery_methods {
    margin-top: 48px;
  }

  .delivery_methods__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .delivery_method {
    min-height: 240px;
    padding: 32px;
  }

}

@media (min-width: 1280px) {
  body.delivery_body.page {
    margin-left: 0 !important;
  }

  .delivery_body .alphabet_nav {
    display: none;
  }

  .delivery_body .page,
  .delivery_body .page_section,
  .delivery_body .site_header {
    margin-left: 0;
  }

  .delivery_body .page > .container,
  .delivery_body .page_section > .container,
  .delivery_body .site_header > .site_header__inner,
  .delivery_body .delivery_hero__inner {
    width: calc(100% - 32px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: auto;
  }

  .delivery_hero {
    min-height: 588px;
    padding: 104px 0 36px;
    background-position: top;
    background-size: cover;
  }

  .delivery_hero__content {
    width: 620px;
    margin-left: 40px;
  }

  .delivery_hero h1 {
    margin-top: 48px;
    font-size: 56px;
  }

  .delivery_hero__text {
    gap: 4px;
  }

  .delivery_hero__text p {
    font-size: 15px;
  }

  .delivery_methods__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .delivery_method {
    min-height: 250px;
    padding: 32px;
  }

  .delivery_method h3 {
    font-size: 28px;
  }

}

@media (min-width: 1440px) {
  .delivery_hero h1 {
    font-size: 64px;
  }

  .delivery_hero__content {
    width: 680px;
  }

  .delivery_methods > h2,
  .delivery_section h2 {
    font-size: 44px;
  }

  .delivery_method {
    min-height: 260px;
    padding: 36px;
  }
}

@media (min-width: 1625px) {
  .delivery_hero {
    padding-top: 118px;
  }

  .delivery_hero__content {
    width: 738px;
  }

  .delivery_hero h1 {
    margin-top: 60px;
    font-size: 72px;
    line-height: 78%;
  }

  .delivery_hero__text {
    gap: 4px;
  }

  .delivery_hero__text p {
    font-size: 18px;
  }

  .delivery_methods {
    margin-top: 60px;
  }

  .delivery_methods > h2,
  .delivery_section h2 {
    font-size: 48px;
  }

  .delivery_method {
    min-height: 274px;
    padding: 40px;
  }

  .delivery_method h3 {
    font-size: 32px;
    line-height: 115%;
  }

  .delivery_method p {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
  }

}


/* Страница камней */
/* Страница «Контакты» */
.contacts_body,
.contacts_page {
  overflow-x: hidden;
}

.contacts_hero {
  min-height: 520px;
  padding: 88px 0 36px;
  background: var(--background-milk) url("../img/contacts.png") 58% center / cover no-repeat;
}

.contacts_hero__content {
  width: min(738px, 100%);
}

.contacts_hero h1,
.contacts_info h2,
.contacts_help h2 {
  color: var(--text-primary);
  font-family: var(--second-family);
  font-weight: 600;
  overflow-wrap: break-word;
}

.contacts_hero h1 {
  margin-top: 44px;
  font-size: 46px;
  line-height: 90%;
}

.contacts_hero__content p {
  margin-top: 20px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 130%;
}

.contacts_info,
.contacts_page > .contacts_info + .contacts_help {
  margin-top: 40px;
}

.contacts_info h2,
.contacts_help h2 {
  font-size: 34px;
  line-height: 105%;
}

.contacts_info__grid,
.contacts_help__grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.contacts_card {
  display: flex;
  min-width: 0;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: var(--surface-stone);
  overflow-wrap: break-word;
}

.contacts_card > span {
  color: var(--text-body);
  font-size: 14px;
  line-height: 130%;
}

.contacts_card > a,
.contacts_card > p {
  margin-top: 20px;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 130%;
}

.contacts_card__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.contacts_card__socials a {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--border-medium);
  border-radius: 50px;
}

.contacts_card__socials img {
  display: block;
  max-width: 20px;
  max-height: 19px;
}

.contacts_help {
  padding: 28px 20px;
  border-radius: 20px;
  background: var(--surface-stone);
}

.contacts_help__card {
  min-width: 0;
  min-height: 135px;
  padding: 20px;
  border-radius: 10px;
  background: var(--border-light);
  overflow-wrap: break-word;
}

.contacts_help__card h3 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
}

.contacts_help__card p {
  margin-top: 10px;
  color: var(--text-body);
  font-size: 12px;
  line-height: 110%;
}

.contacts_page > .contacts_help + .personal_order {
  margin-top: 40px;
}

.contacts_page + .site_footer {
  margin-top: 60px;
}

@media (min-width: 768px) {
  .contacts_hero {
    min-height: 423px;
    padding-top: 108px;
    background-position: center;
  }

  .contacts_hero__content {
    width: min(620px, 72%);
  }

  .contacts_hero h1 {
    margin-top: 48px;
    font-size: 56px;
  }

  .contacts_hero__content p {
    font-size: 16px;
  }

  .contacts_info,
  .contacts_page > .contacts_info + .contacts_help {
    margin-top: 48px;
  }

  .contacts_info__grid,
  .contacts_help__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .contacts_help {
    padding: 32px;
  }

  .contacts_page > .contacts_help + .personal_order {
    margin-top: 48px;
  }
}

@media (min-width: 1280px) {
  .contacts_body .alphabet_nav,
  .page-template-page-contacts .alphabet_nav {
    display: none;
  }

  .contacts_body .page,
  .contacts_body .page_section,
  .contacts_body .site_header,
  .page-template-page-contacts .page,
  .page-template-page-contacts .page_section,
  .page-template-page-contacts .site_header {
    margin-left: 0;
  }

  .contacts_body .page > .container,
  .contacts_body .page_section > .container,
  .contacts_body .site_header > .site_header__inner,
  .contacts_body .contacts_hero__inner,
  .page-template-page-contacts .page > .container,
  .page-template-page-contacts .page_section > .container,
  .page-template-page-contacts .site_header > .site_header__inner,
  .page-template-page-contacts .contacts_hero__inner {
    width: calc(100% - 32px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: auto;
  }

  .contacts_hero {
    padding: 104px 0 36px;
  }

  .contacts_hero__content {
    width: 620px;
  }

  .contacts_info,
  .contacts_page > .contacts_info + .contacts_help,
  .contacts_page > .contacts_help + .personal_order {
    margin-top: 60px;
  }

  .contacts_info__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contacts_help {
    padding: 36px 32px;
  }

  .contacts_help__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 1440px) {
  .contacts_hero__content {
    width: 680px;
  }

  .contacts_hero h1 {
    font-size: 64px;
  }

  .contacts_info h2,
  .contacts_help h2 {
    font-size: 44px;
  }

  .contacts_card {
    padding: 32px;
  }
}

@media (min-width: 1625px) {
  .contacts_hero {
    padding-top: 118px;
  }

  .contacts_hero__content {
    width: 738px;
  }

  .contacts_hero h1 {
    margin-top: 60px;
    font-size: 72px;
    line-height: 78%;
  }

  .contacts_hero__content p {
    font-size: 18px;
  }

  .contacts_info h2,
  .contacts_help h2 {
    font-size: 48px;
  }

  .contacts_card {
    min-height: 153px;
    justify-content: flex-start;
    padding: 40px;
  }

  .contacts_card > a,
  .contacts_card > p {
    color: var(--text-body);
    font-size: 20px;
  }

  .contacts_help {
    padding: 40px;
  }

  .contacts_help__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }
}

/* Страница «Уход за украшениями» */
.care_body,
.care_page {
  overflow-x: hidden;
}

.care_hero {
  min-height: 600px;
  padding: 88px 0 36px;
  background: var(--background-milk) url("../img/care.png") 60% center / cover no-repeat;
}

.care_hero__content {
  width: min(738px, 100%);
}

.care_hero h1,
.care_panel h2,
.care_section h2,
.care_card h3 {
  color: var(--text-primary);
  font-family: var(--second-family);
  font-weight: 600;
  overflow-wrap: break-word;
}

.care_hero h1 {
  margin-top: 44px;
  font-size: 46px;
  line-height: 90%;
}

.care_hero__content p {
  margin-top: 20px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 130%;
}

.care_hero__content .button {
  display: inline-flex;
  width: 228px;
  height: 64px;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding: 20px 30px;
  border-radius: 5px;
  color: var(--surface-ivory);
  background: var(--accent-sage);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  line-height: 120%;
  white-space: nowrap;
}

.care_content {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}

.care_intro,
.care_section {
  width: min(1044px, 100%);
}

.care_intro p,
.care_panel > p,
.care_section p,
.care_section h3,
.care_section li,
.care_storage__list span {
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 130%;
  overflow-wrap: break-word;
}

.care_intro p + p,
.care_section p + p {
  margin-top: 10px;
}

.care_panel {
  min-width: 0;
  padding: 28px 20px;
  border-radius: 20px;
  background: var(--surface-stone);
}

.care_panel h2,
.care_section h2 {
  font-size: 34px;
  line-height: 105%;
}

.care_cards {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.care_card {
  min-width: 0;
  min-height: 135px;
  padding: 20px;
  border-radius: 10px;
  background: var(--border-light);
  overflow-wrap: break-word;
}

.care_card h3 {
  font-size: 20px;
  line-height: 115%;
}

.care_card p {
  margin-top: 10px;
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 110%;
}

.care_section > p,
.care_section > h3 {
  margin-top: 20px;
}

.care_section > p + p {
  margin-top: 10px;
}

.care_section > h2:not(:first-child) {
  margin-top: 40px;
}

.care_section h3 {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
}

.care_section ul {
  margin-top: 10px;
  padding-left: 20px;
  list-style: disc;
}

.care_storage > p {
  margin-top: 20px;
}

.care_storage__list {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.care_storage__list li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 20px;
}

.care_storage__list img {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
}

.care_page + .site_footer {
  margin-top: 60px;
}

@media (min-width: 768px) {
  .care_hero {
    min-height: 503px;
    padding-top: 108px;
    background-position: center;
  }

  .care_hero__content {
    width: min(620px, 72%);
  }

  .care_hero h1 {
    margin-top: 48px;
    font-size: 56px;
  }

  .care_hero__content p {
    font-size: 16px;
  }

  .care_hero__content .button {
    margin-top: 36px;
  }

  .care_content {
    gap: 48px;
    margin-top: 48px;
  }

  .care_section > h2:not(:first-child) {
    margin-top: 48px;
  }

  .care_panel {
    padding: 32px;
  }

  .care_cards,
  .care_storage__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1280px) {
  body.care_body.page {
    margin-left: 0;
  }

  .care_body .alphabet_nav {
    display: none;
  }

  .care_body .page,
  .care_body .page_section,
  .care_body .site_header {
    margin-left: 0;
  }

  .care_body .page > .container,
  .care_body .page_section > .container,
  .care_body .site_header > .site_header__inner,
  .care_body .care_hero__inner {
    width: calc(100% - 32px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: auto;
  }

  .care_hero {
    padding: 104px 0 36px;
  }

  .care_hero__content {
    width: 620px;
    margin-left: 40px;
  }

  .care_content {
    gap: 60px;
    margin-top: 60px;
  }

  .care_section > h2:not(:first-child) {
    margin-top: 60px;
  }

  .care_panel {
    padding: 36px 32px;
  }

  .care_cards,
  .care_storage__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) {
  .care_hero__content {
    width: 680px;
  }

  .care_hero h1 {
    font-size: 64px;
  }

  .care_panel h2,
  .care_section h2 {
    font-size: 44px;
  }
}

@media (min-width: 1625px) {
  .care_hero {
    padding-top: 118px;
  }

  .care_hero__content {
    width: 738px;
  }

  .care_hero h1 {
    margin-top: 60px;
    font-size: 72px;
    line-height: 78%;
  }

  .care_hero__content p,
  .care_intro p,
  .care_panel > p,
  .care_section p,
  .care_section li,
  .care_storage__list span {
    font-size: 18px;
  }

  .care_hero__content .button {
    margin-top: 40px;
  }

  .care_panel {
    padding: 40px;
  }

  .care_panel h2,
  .care_section h2 {
    font-size: 48px;
  }

  .care_card h3 {
    font-size: 24px;
  }
}

/* Страница «Политика конфиденциальности» */
.privacy_body,
.privacy_page {
  overflow-x: hidden;
}

.privacy_content {
  padding-top: 88px;
}

.privacy_intro {
  width: min(1044px, 100%);
}

.privacy_intro h1,
.privacy_section h2 {
  color: var(--text-primary);
  font-family: var(--second-family);
  font-weight: 600;
  overflow-wrap: break-word;
}

.privacy_intro h1 {
  width: min(1044px, 100%);
  margin-top: 44px;
  font-size: 46px;
  line-height: 90%;
}

.privacy_intro p {
  margin-top: 20px;
}

.privacy_section {
  width: min(1044px, 100%);
  margin-top: 48px;
}

.privacy_section h2 {
  font-size: 34px;
  line-height: 105%;
}

.privacy_intro p,
.privacy_section h3,
.privacy_section p,
.privacy_section li {
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 130%;
  overflow-wrap: break-word;
}

.privacy_section h3 {
  margin-top: 20px;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
}

.privacy_section > p,
.privacy_section__group {
  margin-top: 20px;
}

.privacy_section > p + p,
.privacy_section__group p,
.privacy_section__group ul {
  margin-top: 10px;
}

.privacy_section ul {
  padding-left: 20px;
  list-style: disc;
}

.privacy_section--content:empty {
  display: none;
}

.privacy_section--content > :first-child {
  margin-top: 0;
}

.privacy_section--content > h2:not(:first-child) {
  margin-top: 48px;
}

.privacy_section--content > h2 + h3,
.privacy_section--content > h2 + p,
.privacy_section--content > h2 + ul,
.privacy_section--content > h2 + ol,
.privacy_section--content > h3 + p,
.privacy_section--content > h3 + ul,
.privacy_section--content > h3 + ol {
  margin-top: 20px;
}

.privacy_section--content > ul,
.privacy_section--content > ol {
  margin-top: 10px;
  padding-left: 20px;
}

.privacy_section--content > ol {
  list-style: decimal;
}

.privacy_section--content a {
  color: var(--accent-sage-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.privacy_section--content blockquote {
  margin-top: 28px;
  padding: 20px 24px;
  border-left: 3px solid var(--accent-sage);
  color: var(--text-body);
  background: var(--surface-stone);
}

.privacy_section--content img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-top: 28px;
  border-radius: 12px;
}

.privacy_section--content table {
  display: block;
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  overflow-x: auto;
}

.privacy_section--content th,
.privacy_section--content td {
  min-width: 140px;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}

.privacy_section--content th {
  color: var(--text-primary);
  font-weight: 500;
  background: var(--surface-stone);
}

.privacy_pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.privacy_pagination .post-page-numbers {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  text-decoration: none;
}

.privacy_pagination .current {
  border-color: var(--accent-sage);
  color: #fff;
  background: var(--accent-sage);
}

.privacy_section--chapter h2 {
  font-size: 24px;
  line-height: 115%;
}

.privacy_page + .site_footer {
  margin-top: 60px;
}

@media (min-width: 768px) {
  .privacy_content {
    padding-top: 108px;
  }

  .privacy_intro h1 {
    margin-top: 48px;
    font-size: 56px;
  }

  .privacy_intro p,
  .privacy_section p,
  .privacy_section li {
    font-size: 16px;
  }

  .privacy_section {
    margin-top: 56px;
  }

  .privacy_section--chapter h2 {
    font-size: 28px;
  }
}

@media (min-width: 1280px) {
  body.privacy_body.page {
    margin-left: 0;
  }

  .privacy_body .alphabet_nav {
    display: none;
  }

  .privacy_body .page,
  .privacy_body .page_section,
  .privacy_body .site_header {
    margin-left: 0;
  }

  .privacy_body .page > .container,
  .privacy_body .page_section > .container,
  .privacy_body .site_header > .site_header__inner {
    width: calc(100% - 32px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: auto;
  }

  .privacy_content {
    padding-top: 104px;
  }

  .privacy_intro h1 {
    font-size: 56px;
  }

  .privacy_section {
    margin-top: 60px;
  }
}

@media (min-width: 1440px) {
  .privacy_intro h1 {
    font-size: 64px;
  }

  .privacy_section h2 {
    font-size: 44px;
  }

  .privacy_section--chapter h2 {
    font-size: 30px;
  }
}

@media (min-width: 1625px) {
  .privacy_content {
    padding-top: 118px;
  }

  .privacy_intro h1 {
    margin-top: 60px;
    font-size: 72px;
    line-height: 78%;
  }

  .privacy_intro p,
  .privacy_section p,
  .privacy_section li {
    font-size: 18px;
  }

  .privacy_section h2 {
    font-size: 48px;
  }

  .privacy_section--chapter h2 {
    font-size: 32px;
  }
}

/* Страница 404 */
.error_body,
.error_page {
  overflow-x: hidden;
}

.error_page {
  padding-top: 140px;
  background: var(--background-milk) url("../img/404.png") center top / auto 720px no-repeat;
}

.error_content h1,
.error_content h2 {
  color: var(--text-primary);
  font-family: var(--second-family);
  font-weight: 600;
  overflow-wrap: break-word;
}

.error_content h1 {
  font-size: 88px;
  line-height: 78%;
}

.error_content h2 {
  margin-top: 32px;
  font-size: 34px;
  line-height: 105%;
}

.error_content > p {
  width: min(650px, 100%);
  margin-top: 20px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 130%;
  overflow-wrap: break-word;
}

.error_content__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.error_content__actions .button {
  display: inline-flex;
  width: 228px;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  border-radius: 5px;
  color: var(--surface-ivory);
  background: var(--accent-sage);
  font-size: 15px;
  font-weight: 500;
  line-height: 120%;
  white-space: nowrap;
}

.error_content__actions .text_link {
  width: auto;
  padding-bottom: 5px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  line-height: 120%;
}

.error_page > .error_content + .error_catalog {
  margin-top: 48px;
}

.error_page + .site_footer {
  margin-top: 60px;
}

@media (min-width: 768px) {
  .error_page {
    padding-top: 180px;
    background-size: auto 900px;
  }

  .error_content h1 {
    font-size: 104px;
  }

  .error_content h2 {
    margin-top: 36px;
    font-size: 40px;
  }

  .error_content > p {
    font-size: 16px;
  }

  .error_content__actions {
    gap: 48px;
    margin-top: 36px;
  }

  .error_page > .error_content + .error_catalog {
    margin-top: 56px;
  }
}

@media (min-width: 1280px) {
  .error_body .alphabet_nav {
    display: none;
  }

  .error_body .page,
  .error_body .page_section,
  .error_body .site_header {
    margin-left: 0;
  }

  .error_body .page > .container,
  .error_body .page_section > .container,
  .error_body .site_header > .site_header__inner {
    width: calc(100% - 32px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: auto;
  }

  .error_page {
    padding-top: 200px;
    background-size: 100% auto;
  }

  .error_content h1 {
    font-size: 112px;
  }

  .error_content h2 {
    font-size: 42px;
  }

  .error_page > .error_content + .error_catalog {
    margin-top: 60px;
  }
}

@media (min-width: 1440px) {
  .error_page {
    padding-top: 220px;
  }

  .error_content h1 {
    font-size: 120px;
  }

  .error_content h2 {
    margin-top: 46px;
    font-size: 44px;
  }

  .error_content__actions {
    gap: 56px;
    margin-top: 40px;
  }
}

@media (min-width: 1625px) {
  .error_page {
    padding-top: 224px;
  }

  .error_content h1 {
    font-size: 128px;
  }

  .error_content h2 {
    font-size: 48px;
  }

  .error_content > p {
    font-size: 18px;
  }

  .error_content__actions {
    gap: 60px;
  }
}

.stones_hero {
  min-height: 420px;
  padding-top: 92px;
  background: url("../img/stones-hero.png") center / cover no-repeat;
}

.stones_hero__inner {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.stones_hero h1 {
  margin-top: 36px;
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: clamp(44px, 8vw, 64px);
  font-weight: 600;
  line-height: 1.05;
}

.stones_hero__text {
  display: grid;
  max-width: 670px;
  gap: 10px;
  margin-top: 16px;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.stones_catalog {
  padding-top: 40px;
}

.stones_catalog__controls {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.stones_search {
  display: flex;
  width: 100%;
  height: 44px;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--surface-stone);
}

.stones_search img {
  width: 16px;
  height: 16px;
  opacity: 0.45;
}

.stones_search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text-primary);
  background: transparent;
  font: inherit;
}

.stones_search input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.stones_sort {
  width: 100%;
  margin: 0;
}

.stones_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 12px;
}

.stone_card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--background-milk);
}

.stone_card[hidden] {
  display: none;
}

.stone_card > a {
  display: flex;
  flex: 1;
  height: 100%;
  flex-direction: column;
}

.stone_card > a:focus-visible {
  outline: 2px solid var(--accent-sage);
  outline-offset: -2px;
}

.stone_card img {
  width: 100%;
  aspect-ratio: 246 / 227;
  object-fit: cover;
  background: var(--surface-stone);
}

.stone_card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px;
}

.stone_card h2 {
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.stone_card p {
  min-height: 42px;
  margin-top: 5px;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.stone_card span {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 10px;
  border-bottom: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.2;
}

.stones_about {
  display: grid;
  gap: 28px;
  min-height: 386px;
  padding: 32px 20px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgb(252 250 246 / 70%), rgb(252 250 246 / 92%)),
    url("../img/stones-about.png") left center / cover no-repeat;
}

.stones_catalog + .stones_about {
  margin-top: 40px;
}

.stones_about__content h2 {
  color: var(--text-primary);
  font-family: var(--second-family);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.05;
}

.stones_about__content p {
  margin-top: 14px;
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.stones_about__content .button {
  margin-top: 28px;
}

.stones_about__content .button img {
  width: 18px;
  height: 18px;
}

.stones_about__benefits {
  display: grid;
  align-content: center;
  gap: 22px;
}

.stones_about__benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stones_about__benefits img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

.stones_about__benefits div {
  display: grid;
  gap: 4px;
}

.stones_about__benefits strong {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}

.stones_about__benefits span {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.2;
}

.stones_page + .site_footer {
  margin-top: 60px;
}

@media (max-width: 767px) {
  .stones_hero {
    min-height: 470px;
    padding: 88px 0 32px;
    background-position: 67% center;
  }

  .stones_hero__text {
    max-width: 82%;
    padding: 12px;
    border-radius: 12px;
    background: rgb(248 245 239 / 78%);
  }

  .stones_page + .site_footer {
    margin-top: 32px;
  }
}

@media (min-width: 768px) {
  .stones_hero {
    min-height: 470px;
    padding-top: 108px;
  }

  .stones_hero h1 {
    margin-top: 42px;
    font-size: 56px;
  }

  .stones_hero__text {
    max-width: 55%;
    font-size: 15px;
  }

  .stones_catalog__controls {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .stones_search,
  .stones_sort {
    width: 320px;
  }

  .stones_grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .stone_card div {
    padding: 16px;
  }

  .stones_about {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}

@media (min-width: 1024px) {
  .stones_about {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  }
}

@media (min-width: 1280px) {
  body.page-template-page-stones.page {
    margin-left: 0;
  }

  .stones_hero {
    min-height: 460px;
    padding-top: 104px;
  }

  .stones_hero__inner {
    width: calc(100% - 125px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: 63px;
  }

  .stones_hero h1 {
    margin-top: 48px;
    margin-left: 12px;
    font-size: 56px;
  }

  .stones_hero__text {
    max-width: 610px;
    margin-left: 12px;
    font-size: 15px;
  }

  .stones_grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stones_about {
    grid-template-columns: minmax(280px, 1fr) minmax(230px, 0.8fr);
    gap: 24px;
    padding: 40px 32px 36px 34%;
    background: url("../img/stones-about.png") left center / cover no-repeat;
  }

  .stones_catalog + .stones_about {
    margin-top: 60px;
  }
}

@media (min-width: 1625px) {
  .stones_hero {
    min-height: 511px;
    padding-top: 118px;
  }

  .stones_hero h1 {
    margin-top: 59px;
    margin-left: 20px;
    font-size: 72px;
    line-height: 0.9;
  }

  .stones_hero__text {
    width: min(738px, 100%);
    max-width: 738px;
    margin-top: 15px;
    margin-left: 20px;
    font-size: 18px;
  }

  .stones_search,
  .stones_sort {
    width: 376px;
  }

  .stones_grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
  }

  .stone_card {
    border-radius: 20px;
  }

  .stone_card div {
    padding: 16px 20px 20px;
  }

  .stone_card h2 {
    font-size: 24px;
  }

  .stone_card p {
    font-size: 12px;
  }

  .stone_card span {
    font-size: 15px;
  }

  .stones_about {
    grid-template-columns: minmax(300px, 1fr) 340px;
    gap: 40px;
    padding: 48px 40px 40px 34%;
  }

  .stones_about__content h2 {
    font-size: 48px;
  }

  .stones_about__content p {
    font-size: 14px;
  }

  .stones_catalog + .stones_about {
    margin-top: 60px;
  }
}

@media (min-width: 1906px) {
  .stones_grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .stone_card {
    width: 246px;
    min-height: 339px;
    padding: 20px;
    background: var(--background-milk);
  }

  .stone_card img {
    width: 246px;
    max-width: none;
    height: 220px;
    margin: -20px -20px 0;
  }

  .stone_card div {
    padding: 5px 0 0;
  }

  .stone_card p {
    min-height: 28px;
  }

  .stones_about {
    width: 1576px;
    max-width: 100%;
    min-height: 412px;
    grid-template-columns: 430px 540px minmax(0, 1fr);
    gap: 60px;
    padding: 60px 40px;
  }

  .stones_about__content {
    grid-column: 2;
    width: 540px;
  }

  .stones_about__content h2 {
    font-family: var(--second-family);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.05;
    color: var(--text-primary);
  }

  .stones_about__content p {
    width: 540px;
    margin-top: 10px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
  }

  .stones_about__content h2 + p {
    margin-top: 20px;
  }

  .stones_about__content .button {
    width: 254px;
    height: 64px;
    min-height: 64px;
    margin-top: 40px;
    padding: 20px 30px;
    border-radius: 5px;
    color: var(--surface-ivory);
    background: var(--accent-sage);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
  }

  .stones_about__benefits {
    grid-column: 3;
    gap: 40px;
  }

  .stones_about__benefits img {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .stones_about__benefits div {
    gap: 10px;
  }

  .stones_about__benefits strong {
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
  }

  .stones_about__benefits span {
    width: 246px;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.1;
  }
}

/* Детальная страница камня */
.stone_detail_hero {
  min-height: 430px;
  padding: 88px 0 36px;
  background: url("../img/agate-hero.png") 65% 38% / cover no-repeat;
}

.stone_detail_hero__inner {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.stone_detail_hero h1 {
  margin-top: 34px;
  font-family: var(--second-family);
  font-size: clamp(44px, 9vw, 64px);
  font-weight: 600;
  line-height: 0.9;
}

.stone_detail_hero p {
  width: min(738px, 100%);
  max-width: 738px;
  margin-top: 15px;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.stone_detail_hero .button {
  margin-top: 28px;
  color: var(--surface-ivory);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.stone_detail_hero .button img {
  width: 18px;
  height: 18px;
}

.stone_profile {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  padding: 28px 20px;
  border-radius: 20px;
  background: var(--surface-stone);
}

.stone_profile__image {
  width: min(238px, 100%);
  height: 238px;
  overflow: hidden;
  justify-self: center;
  border-radius: 20px;
}

.stone_profile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stone_profile__group {
  min-width: 0;
}

.stone_profile__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stone_profile__heading img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

.stone_profile__heading h2 {
  color: var(--text-body);
  font-family: var(--second-family);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.stone_profile__group ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-left: 66px;
}

.stone_profile__group li {
  position: relative;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.2;
}

.stone_profile__group li::before {
  position: absolute;
  top: 0.5em;
  left: -15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-sage);
  content: "";
}

.stone_profile__zodiac ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  margin-top: -2px;
  padding-left: 79px;
}

.stone_profile__zodiac .stone_profile__heading,
.stone_profile__details .stone_profile__heading {
  align-items: flex-start;
}

.stone_profile__zodiac li,
.stone_profile__details li {
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.stone_profile__facts {
  display: grid;
  width: min(240px, 100%);
  align-content: start;
  gap: 60px;
}

.stone_profile__details {
  display: grid;
  gap: 28px;
}

.stone_profile__details .stone_profile__group ul {
  margin-top: -2px;
  padding-left: 79px;
}

.stone_categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 0;
}

.page > .stone_profile + .stone_categories {
  margin-top: 40px;
}

.stone_categories a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid var(--text-secondary);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.2;
}

.stone_categories a:hover,
.stone_categories a:focus-visible,
.stone_categories .stone_categories__link--active {
  border-color: var(--accent-sage);
  color: var(--surface-ivory);
  background: var(--accent-sage);
}

.stone_categories + .catalog_products {
  margin-top: 20px;
  padding-top: 0;
}

.catalog_filters--berocket .berocket_single_filter_widget,
.catalog_filters--berocket .bapf_sfilter {
  margin: 0 !important;
  padding: 0 !important;
}

.catalog_filters--berocket .berocket_single_filter_widget:not(:last-child),
.catalog_filters--berocket .bapf_sfilter:not(:last-child) {
  margin-bottom: 30px !important;
}

.catalog_filters--berocket .bapf_body ul {
  display: grid;
  gap: 5px;
  margin: 0 !important;
  padding: 0 !important;
}

.catalog_filters--berocket .bapf_body li {
  margin: 0 !important;
  padding: 0 !important;
}

.catalog_filters--berocket .bapf_body label {
  margin: 0 !important;
  cursor: pointer;
}

.catalog_filters--berocket .bapf_body input[type="checkbox"] {
  margin: 0 6px 0 0 !important;
}

.catalog_filters--berocket .bapf_count {
  margin-left: 4px;
  color: var(--border-medium);
}

.catalog_filters--berocket .bapf_button {
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.catalog_filters--berocket .bapf_update {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 24px;
  border-radius: 4px;
  color: var(--color_cream);
  background: var(--color_sage);
  transition: background-color 0.2s ease;
}

.catalog_filters--berocket .bapf_update:hover,
.catalog_filters--berocket .bapf_update:focus-visible {
  background: var(--color_brown_light);
}

.catalog_filters--berocket .berocket_single_filter_widget:has(.bapf_update) {
  margin-bottom: 0 !important;
}

.catalog_filters--berocket .berocket_single_filter_widget:has(.bapf_reset) .bapf_body {
  display: flex;
  justify-content: center;
}

.catalog_filters--berocket .bapf_reset {
  display: block;
  float: none !important;
  width: auto;
  min-height: 0;
  margin: 14px auto 0 !important;
  padding: 0 0 3px;
  border-radius: 0;
  border-bottom: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  background: transparent;
}

.catalog_filters--berocket .bapf_reset:hover,
.catalog_filters--berocket .bapf_reset:focus-visible {
  color: var(--text-primary);
  background: transparent;
}

.catalog_filters--berocket .bapf_head h3 {
  margin: 0 0 18px !important;
  color: var(--text-primary) !important;
  font-family: var(--font-family) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

.catalog_filters--berocket .bapf_body,
.catalog_filters--berocket .bapf_slidr_all {
  margin: 0 !important;
  padding: 0 !important;
}

.catalog_filters--berocket .irs--round {
  height: 52px !important;
}

.catalog_filters--berocket .irs--round .irs-line,
.catalog_filters--berocket .irs--round .irs-bar {
  top: 14px !important;
  height: 2px !important;
  border: 0 !important;
  border-radius: 2px !important;
}

.catalog_filters--berocket .irs--round .irs-line {
  background: var(--border-light) !important;
}

.catalog_filters--berocket .irs--round .irs-bar {
  background: var(--accent-sage) !important;
}

.catalog_filters--berocket .irs--round .irs-handle {
  top: 7px !important;
  width: 16px !important;
  height: 16px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--accent-sage) !important;
  box-shadow: none !important;
  cursor: pointer;
}

.catalog_filters--berocket .irs--round .irs-handle i,
.catalog_filters--berocket .irs--round .irs-min,
.catalog_filters--berocket .irs--round .irs-max,
.catalog_filters--berocket .irs--round .irs-single {
  display: none !important;
}

.catalog_filters--berocket .irs--round .irs-from,
.catalog_filters--berocket .irs--round .irs-to {
  top: 31px !important;
  padding: 0 !important;
  color: var(--text-muted) !important;
  background: transparent !important;
  font-family: var(--font-family) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  visibility: visible !important;
}

.catalog_filters--berocket .irs--round .irs-from {
  right: auto !important;
  left: 0 !important;
}

.catalog_filters--berocket .irs--round .irs-to {
  right: 0 !important;
  left: auto !important;
}

.catalog_filters--berocket .irs--round .irs-from::before,
.catalog_filters--berocket .irs--round .irs-to::before {
  display: none !important;
}

.catalog_filter_toggle,
.catalog_filter_backdrop {
  display: none;
}

@media (max-width: 767px) {
  body.catalog_filter_drawer_open {
    overflow: hidden;
  }

  body.catalog_filter_drawer_ready .catalog_filter_toggle {
    position: fixed;
    z-index: 1002;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border: 1px solid var(--border-medium);
    border-radius: 999px;
    color: var(--text-primary);
    background: rgb(252 250 246 / 94%);
    box-shadow: 0 14px 36px rgb(68 52 35 / 18%), 0 4px 12px rgb(68 52 35 / 10%);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateX(calc(100% + 36px));
    backdrop-filter: blur(14px);
    transition:
      color 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      opacity 0.2s ease,
      transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.catalog_filter_drawer_ready .catalog_filter_toggle.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  body.catalog_filter_drawer_ready .catalog_filter_toggle.is-open {
    border-color: var(--accent-sage);
    color: var(--surface-ivory);
    background: var(--accent-sage);
    box-shadow: 0 16px 40px rgb(68 52 35 / 24%), 0 5px 14px rgb(68 52 35 / 12%);
  }

  body.catalog_filter_drawer_ready .catalog_filter_toggle.is-visible.is-open {
    transform: translateY(8px);
  }

  .catalog_filter_toggle:focus-visible {
    outline: 2px solid var(--accent-sage);
    outline-offset: 3px;
  }

  .catalog_filter_toggle__icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .catalog_filter_toggle.is-open .catalog_filter_toggle__icon {
    transform: rotate(90deg);
  }

  body.catalog_filter_drawer_ready .catalog_filter_backdrop {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgb(46 36 26 / 38%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    backdrop-filter: blur(3px);
    transition: opacity 0.24s ease, visibility 0.24s step-end;
  }

  body.catalog_filter_drawer_ready .catalog_filter_backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.24s ease, visibility 0s step-start;
  }

  body.catalog_filter_drawer_ready .catalog_filters--berocket {
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    width: min(360px, calc(100vw - 16px));
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    margin: 0;
    padding: max(28px, env(safe-area-inset-top)) 20px max(92px, calc(72px + env(safe-area-inset-bottom)));
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--border-medium);
    border-right: 0;
    border-radius: 20px 0 0 20px;
    outline: 0;
    background: rgb(252 250 246 / 98%);
    box-shadow: -20px 0 60px rgb(68 52 35 / 20%);
    opacity: 0;
    overscroll-behavior: contain;
    pointer-events: none;
    transform: translateX(104%);
    visibility: hidden;
    -webkit-overflow-scrolling: touch;
    transition:
      opacity 0.2s ease,
      transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.24s step-end;
  }

  body.catalog_filter_drawer_ready .catalog_filters--berocket.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
    transition:
      opacity 0.2s ease,
      transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s step-start;
  }
}

.catalog_pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 18px;
}

.catalog_pagination a:hover,
.catalog_pagination a:focus-visible {
  color: var(--accent-sage);
}

.catalog_pagination__link--active {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--surface-ivory);
  background: var(--accent-sage);
}

.catalog_products__grid .product_card__footer .text_link {
  width: 94px;
  height: 23px;
  padding: 0 0 5px;
  border-bottom: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.product_card__badge--preorder {
  background: var(--accent-soft-green);
}

.stone_detail_page + .site_footer {
  margin-top: 80px;
}

@media (max-width: 767px) {
  .stone_detail_hero {
    min-height: 500px;
    background-position: 69% center;
  }

  .stone_detail_hero p {
    max-width: 82%;
    padding: 10px;
    border-radius: 10px;
    background: rgb(248 245 239 / 76%);
  }

  .stone_profile {
    gap: 24px;
    padding: 24px 16px;
  }

  .stone_profile__zodiac ul {
    column-gap: 12px;
  }

  .stone_profile__zodiac li,
  .stone_profile__details li {
    font-size: 14px;
  }

  .stone_profile__facts {
    width: 100%;
  }

  .stone_profile__details {
    width: 100%;
  }

  .stone_categories {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .stone_categories a {
    flex: 0 0 auto;
  }

  .catalog_pagination {
    gap: 12px;
    font-size: 13px;
  }

  .stone_detail_page + .site_footer {
    margin-top: 40px;
  }
}

@media (min-width: 768px) {
  .stone_detail_hero {
    min-height: 470px;
    padding-top: 108px;
  }

  .stone_detail_hero p {
    width: 56%;
    max-width: 56%;
  }

  .stone_profile {
    grid-template-columns: minmax(0, 1fr) 238px;
    align-items: center;
    padding: 36px;
  }

  .stone_profile__details {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stone_categories {
    padding-top: 0;
  }
}

@media (min-width: 1280px) {
  .stone_detail_hero {
    width: calc(100% - 43px);
    min-height: 777px;
    margin-right: 0;
    margin-left: auto;
    padding-top: 104px;
  }

  .stone_detail_hero__inner {
    width: calc(100% - 82px);
    max-width: 1494px;
    margin-right: auto;
    margin-left: 40px;
  }

  .stone_detail_hero h1 {
    margin-top: 46px;
    font-size: 56px;
  }

  .stone_detail_hero p {
    max-width: 620px;
    font-size: 15px;
  }

  .stone_profile {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 32px;
    padding: 36px 28px;
  }

  .stone_detail_hero + .stone_profile {
    margin-top: -280px;
  }

  .stone_profile__details {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .stone_profile__details .stone_profile__group ul {
    margin-top: 0;
    padding-left: 73px;
  }

  .stone_profile__heading img {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .stone_profile__heading h2 {
    font-size: 21px;
  }

  .stone_profile__group ul {
    padding-left: 60px;
  }

  .stone_categories a {
    padding-inline: 16px;
    font-size: 13px;
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .stone_profile__zodiac ul {
    grid-template-columns: repeat(2, 200px);
  }
}

@media (min-width: 1440px) {
  .stone_detail_hero {
    min-height: 807px;
    padding-top: 110px;
  }

  .stone_detail_hero h1 {
    margin-top: 52px;
    font-size: 64px;
  }

  .stone_profile {
    grid-template-columns: minmax(330px, 1fr) 238px minmax(360px, 1fr);
    gap: 28px;
    padding: 38px;
  }

  .stone_profile__details {
    grid-column: 3;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

}

@media (min-width: 1625px) {
  .stone_detail_hero {
    min-height: 802px;
    padding-top: 118px;
  }

  .stone_detail_hero h1 {
    margin-top: 60px;
    font-size: 72px;
  }

  .stone_detail_hero p {
    width: 738px;
    max-width: 738px;
    font-size: 18px;
  }

  .stone_detail_hero .button {
    width: 236px;
    min-height: 64px;
    margin-top: 40px;
  }

  .stone_profile {
    min-height: 317px;
    grid-template-columns: minmax(0, 1fr) 238px minmax(0, 1fr);
    gap: clamp(28px, 5vw, 109px);
    padding: 40px;
  }

  .stone_profile__zodiac,
  .stone_profile__details {
    width: 100%;
    height: 238px;
  }

  .stone_profile__details {
    grid-template-columns: repeat(2, minmax(0, 240px));
    gap: clamp(20px, 2vw, 40px);
  }

  .stone_profile__image {
    width: 238px;
    height: 238px;
  }

  .stone_profile__heading img {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .stone_profile__heading h2 {
    font-size: 24px;
  }

  .stone_profile__group ul {
    gap: 10px;
    padding-left: 76px;
  }

  .stone_profile__group li {
    font-size: 16px;
  }

  .stone_profile__zodiac li,
  .stone_profile__details li {
    font-size: 18px;
  }

  .stone_profile__zodiac ul {
    grid-template-columns: repeat(2, 200px);
    column-gap: 20px;
    margin-top: -10px;
    padding-left: 87px;
  }

  .stone_profile__details .stone_profile__group ul {
    margin-top: -10px;
    padding-left: 87px;
  }

  .stone_categories {
    padding-top: 0;
  }

  .stone_categories a {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 18px;
  }

}
/* Таблица размеров */
.size_guide {
  width: min(1310px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  overflow: auto;
  padding: 52px 20px 28px;
  border: 0;
  border-radius: 20px;
  color: var(--text-body);
  background: var(--surface-ivory);
}

.size_guide::backdrop {
  background: rgb(38 36 32 / 55%);
}

.size_guide__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  padding: 0;
  color: var(--text-muted);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
}

.size_guide > h2 {
  font-family: var(--second-family);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--text-primary);
  overflow-wrap: break-word;
}

.size_guide__content {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}

.size_guide__instructions h3 {
  color: var(--accent-sage);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.size_guide__instructions p,
.size_guide__instructions li,
.size_guide th,
.size_guide td {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.size_guide__instructions p {
  margin-top: 10px;
  line-height: 1.1;
}

.size_guide__instructions ol {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding-left: 22px;
  list-style: decimal;
}

.size_guide__tables {
  min-width: 0;
  overflow-x: auto;
}

.size_guide__tables section + section {
  margin-top: 40px;
}

.size_guide__tables h3 {
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.size_guide table {
  width: 100%;
  min-width: 0;
  margin-top: 10px;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
}

.size_guide th,
.size_guide td {
  border-bottom: 1px solid var(--border-light);
}

.size_guide th {
  padding: 10px 0;
  border-top: 1px solid var(--border-light);
  color: var(--text-primary);
  font-weight: 400;
  overflow-wrap: anywhere;
}

.size_guide td {
  padding: 10px 0;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .size_guide {
    padding: 56px 40px 40px;
  }
}

@media (min-width: 1024px) {
  .size_guide {
    padding-inline: 60px;
  }

  .size_guide__content {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1280px) {
  .size_guide {
    min-height: 580px;
    padding: 48px 60px;
  }

  .size_guide__close {
    top: 32px;
    right: 32px;
  }

  .size_guide > h2 {
    font-size: 40px;
  }

  .size_guide__content {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 20px;
    margin-top: 40px;
  }

  .size_guide th,
  .size_guide td {
    font-size: 14px;
  }
}

@media (min-width: 1625px) {
  .size_guide {
    min-height: 713px;
    padding: 60px 80px;
  }

  .size_guide > h2 {
    font-size: 48px;
  }

  .size_guide__content {
    grid-template-columns: 409px 721px;
  }

  .size_guide__tables {
    width: 721px;
  }

  .size_guide__tables h3 {
    font-size: 20px;
    color: var(--text-primary);
  }

  .size_guide table {
    width: 721px;
    min-width: 721px;
  }

  .size_guide th {
    height: 38px;
    font-size: 16px;
    line-height: 1.1;
  }

  .size_guide td {
    height: 35px;
    font-size: 14px;
    line-height: 1.1;
  }

  .size_guide__instructions h3 {
    font-size: 20px;
  }

  .size_guide__instructions p {
    font-size: 16px;
  }

  .size_guide__instructions ol {
    gap: 20px;
    margin-top: 40px;
  }

  .size_guide__instructions li {
    font-size: 18px;
    line-height: 1.3;
  }
}

@media (min-width: 1280px) and (max-width: 1624px) {
  .product_characteristics {
    min-height: auto;
  }

  .personal_offer {
    min-height: 420px;
  }

  .product_details__title {
    font-size: 46px;
  }

  .product_details__meta {
    font-size: 16px;
  }

  .product_details__price_row {
    margin-top: 24px;
  }

  .product_details__price_row strong {
    font-size: 32px;
  }

  .product_details__availability {
    font-size: 16px;
  }

  .product_details__stones {
    margin-top: 22px;
    font-size: 14px;
  }

  .product_details__material {
    font-size: 14px;
  }

  .product_sizes {
    margin-top: 30px;
  }

  .product_sizes__heading > span {
    font-size: 18px;
  }

  .product_sizes__heading .text_link {
    width: 160px;
    height: 21px;
    padding-bottom: 3px;
    font-size: 13px;
  }

  .product_sizes__options {
    gap: 6px;
    margin-top: 12px;
  }

  .product_sizes__options span {
    width: auto;
    height: 44px;
    min-width: 64px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
  }

  .product_sizes__options input:checked + span {
    width: auto;
    min-width: 64px;
  }

  .product_details__actions {
    gap: 12px;
    margin-top: 28px;
  }

  .product_details__cart {
    width: 100%;
    max-width: none;
    height: 52px;
    min-height: 52px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .product_details__favorite {
    width: 80px;
    height: 52px;
    min-width: 80px;
    min-height: 52px;
    padding: 8px;
  }

  .product_details__favorite img {
    width: 26px;
    height: 26px;
  }

  .product_benefits {
    margin-top: 26px;
  }

  .product_benefits li {
    gap: 14px;
    font-size: 11px;
  }

  .product_benefits img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .product_characteristics h2,
  .personal_offer h2 {
    font-size: 28px;
  }

  .product_characteristics > p,
  .product_characteristics > ul:not(.product_tags) {
    font-size: 14px;
  }

  .product_characteristics > p:first-of-type {
    margin-top: 24px;
  }

  .product_characteristics > ul:not(.product_tags) {
    gap: 6px;
    margin-top: 16px;
  }

  .product_tags {
    gap: 12px;
    margin-top: 24px;
  }

  .product_tags--properties {
    margin-top: 16px;
  }

  .personal_offer__content {
    padding: 30px 22px;
  }

  .personal_offer__content p {
    font-size: 14px;
  }

  .personal_offer__content .button {
    width: 190px;
    height: 52px;
    min-height: 52px;
    padding: 12px 20px;
    gap: 10px;
    font-size: 14px;
  }
}

@media (min-width: 1280px) {
  body.contacts_body > .alphabet_nav,
  body.page-template-page-contacts > .alphabet_nav {
    display: none !important;
  }

  body.contacts_body > .page,
  body.contacts_body > .page_section,
  body.contacts_body > .site_header,
  body.page-template-page-contacts > .page,
  body.page-template-page-contacts > .page_section,
  body.page-template-page-contacts > .site_header {
    margin-left: 0 !important;
  }

  body.contacts_body .contacts_hero,
  body.page-template-page-contacts .contacts_hero {
    width: 100%;
    margin-left: 0;
  }

  body.contacts_body .page > .container,
  body.contacts_body .page_section > .container,
  body.contacts_body .site_header > .site_header__inner,
  body.contacts_body .contacts_hero__inner,
  body.page-template-page-contacts .page > .container,
  body.page-template-page-contacts .page_section > .container,
  body.page-template-page-contacts .site_header > .site_header__inner,
  body.page-template-page-contacts .contacts_hero__inner {
    width: calc(100% - 32px);
    max-width: 1576px;
    margin-right: auto;
    margin-left: auto;
  }
}
