@charset "UTF-8";
:root {
  --moss-primary: #678132;
  --moss-hover: #425916;
  --moss-soft: #678132;
  --background: #F5F5F3;
  --surface: #FFFFFF;
  --concrete-100: #E6E6E2;
  --concrete-200: #D3D3CD;
  --line: #C9CAC4;
  --text-primary: #111312;
  --text-secondary: #4A4F4C;
  --text-muted: #747A76;
  --error: #C23A2B;
  --warning: #B7791F;
  --success: #1F6B45;
  --font-heading: 'Viaoda Libre', sans-serif;
  --font-text: 'Mulish', sans-serif;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

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

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

html {
  margin: 0 !important;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background: none;
  border: none;
  outline: transparent;
}

* {
  color: var(--text-primary);
  font-family: var(--font-text);
}

body {
  background-color: var(--background);
}

.container {
  max-width: 1302px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(10px, 40px, 6vw - 20px);
}

.section {
  padding: clamp(60px, 120px, 10vw) 0;
}

.main {
  padding-top: 140px;
}

.title-1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 56px;
  line-height: 64px;
  letter-spacing: 0.5%;
}

.title-2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0.4%;
}

.title-3 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.2%;
}

.title-4 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.1%;
}

.title-5 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0%;
}

.text-l {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0%;
}

.text-m {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
}

.text-s {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
}

.text-nav {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0%;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  padding: 15.5px 0;
  width: 284px;
  min-width: 284px;
  text-align: center;
  background-color: var(--moss-primary);
  border: 1px solid var(--moss-primary);
  color: var(--surface);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover {
  background-color: var(--moss-hover);
  border: 1px solid var(--moss-hover);
}
.btn--outline {
  background-color: transparent;
  border-color: var(--moss-primary);
  color: var(--text-primary);
}
.btn--outline:hover {
  background-color: var(--moss-hover);
  border-color: var(--moss-hover);
  color: var(--background);
}
.btn:disabled {
  border: 1px solid var(--text-muted);
  background-color: var(--text-muted);
  color: var(--background);
  cursor: initial;
}
.btn:disabled:hover {
  border: 1px solid var(--text-muted);
  background-color: var(--text-muted);
  color: var(--background);
}

/* Хлебные крошки */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4A4F4C;
}

.breadcrumbs a {
  font-family: var(--font-text);
  font-weight: 800;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1%;
  text-decoration: none;
  color: var(--text-secondary);
}

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

.breadcrumbs span:not(:last-child) {
  color: var(--text-secondary);
  font-family: var(--font-text);
  font-weight: 800;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1%;
  text-decoration: none;
}

.breadcrumbs span:last-child {
  font-family: var(--font-text);
  font-weight: 800;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1%;
  text-decoration: none;
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

.text-surface {
  color: var(--surface);
}

.link-to {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  text-align: center;
  text-decoration: none;
}
.link-to:hover {
  text-decoration: underline;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  width: 100%;
  max-width: 286px;
  text-decoration: none;
  position: relative;
  height: 100%;
}
.product-card img {
  width: 100%;
  height: 380px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.product-card__content {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 4px;
}
.product-card__title {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
}
.product-card__manufacture {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0%;
}
.product-card .btn {
  position: absolute;
  opacity: 0;
  left: 50%;
  top: 360px;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 331px;
  min-width: auto;
}
.product-card:hover .btn {
  opacity: 1;
  top: 320px;
}
.product-card__price {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.2%;
}
.product-card__badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  top: 8px;
  left: 8px;
}

/* Dropdown размеров */
.size-dropdown {
  position: absolute;
  top: 390px;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  z-index: 100;
  padding: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.size-dropdown.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.size-dropdown__title {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding: 0 4px;
}

.size-dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.size-dropdown__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s;
  text-align: left;
  width: 100%;
}

.size-dropdown__item:hover:not(:disabled) {
  background: #f5f5f5;
}

.size-dropdown__item:disabled {
  cursor: default;
  opacity: 0.5;
}

.size-dropdown__item--in-cart {
  opacity: 0.5;
}

.size-dropdown__item--loading {
  justify-content: center;
  color: #999;
}

.size-dropdown__name {
  font-weight: 500;
}

.size-dropdown__price {
  color: #666;
}

.size-dropdown__item--disabled .size-dropdown__price {
  color: #ccc;
}

.input-text {
  border: 1px solid var(--line);
  padding: 14px 10px;
  width: 100%;
  background-color: var(--background);
}
.input-text::-moz-placeholder {
  color: rgba(28, 31, 26, 0.5019607843);
}
.input-text::placeholder {
  color: rgba(28, 31, 26, 0.5019607843);
}

.badge {
  font-family: var(--font-text);
  font-weight: 800;
  font-size: 12px;
  line-height: 16px;
  color: var(--surface);
  padding: 2px 8px;
  background: var(--moss-primary);
  width: -moz-max-content;
  width: max-content;
}

.cart-count.is-bump {
  animation: cartBump 0.35s ease;
}

@keyframes cartBump {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}
.add-notification {
  position: absolute;
  right: 0;
  top: 160px;
  z-index: 5;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--background);
  border: 2px solid var(--moss-primary);
  opacity: 0;
  transform: translateX(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: 100%;
  max-width: 543px;
}
.add-notification.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.add-notification .btn {
  min-width: 0;
  width: 100%;
  max-width: 284px;
}
.add-notification img {
  height: auto;
  max-width: 93px;
  width: 100%;
}
.add-notification__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.add-notification__title {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
}
.add-notification__size {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
}
.add-notification__size span {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.2%;
  text-align: center;
}

.text-page {
  padding-bottom: 120px;
}
.text-page .breadcrumbs {
  margin: 60px 0;
}

.text-content p + p,
.text-content p + ol,
.text-content p + ul {
  margin-top: 24px;
}
.text-content ul,
.text-content ol {
  padding-left: 0;
  list-style: none;
}
.text-content ul li,
.text-content ol li {
  position: relative;
  padding-left: 16px;
  line-height: 1.7;
}
.text-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #678132;
  font-weight: 700;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 10px;
  border: 1px solid var(--line);
  background-color: var(--background);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.custom-select__icon {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.custom-select.is-open .custom-select__icon {
  transform: rotate(180deg);
}

/* dropdown animation */
.custom-select__dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  z-index: 30;
  border: 1px solid var(--line);
  border-top: 1px solid var(--background);
  background: var(--background);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  max-height: min(260px, 50vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.custom-select__label {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-secondary);
}

.custom-select.is-open .custom-select__dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.custom-select__option {
  padding: 5px 10px;
  cursor: pointer;
  outline: none;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-secondary);
}

.custom-select__option:hover {
  background: var(--concrete-100);
}

.custom-select__option.is-selected {
  background: var(--concrete-200);
  font-weight: 600;
  cursor: initial;
}

@media (max-width: 1080px) {
  .text-page {
    padding-bottom: 60px;
  }
  .text-page .breadcrumbs {
    margin-top: 20px;
    margin-bottom: 40px;
  }
  .title-1 {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: 0.3%;
  }
  .title-2 {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: 0.2%;
  }
  .title-3 {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.2%;
  }
  .title-4 {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.1%;
  }
  .title-5 {
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0%;
  }
  .text-l {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
  }
  .text-s {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
  }
  .text-nav {
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0%;
  }
  .btn {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
  }
  .main {
    padding-top: 80px;
  }
  .product-card .btn {
    position: initial;
    transform: none;
    opacity: 1;
    width: 100%;
    max-width: 100%;
    padding: 14px 0;
  }
  .add-notification {
    top: 100px;
    padding: 10px;
  }
  .add-notification img {
    max-width: 83px;
  }
}
@media (max-width: 620px) {
  .product-card {
    border: 1px solid var(--moss-hover);
  }
}
.header {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  z-index: 4;
  background-color: var(--concrete-100);
  height: 140px;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.header__nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__nav .menu-item {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0%;
}
.header__nav .menu-item a {
  text-decoration: none;
}
.header__nav .menu-item a:hover {
  color: var(--moss-primary);
}
.header__logo {
  position: relative;
  z-index: 2;
}
.header__search {
  font-size: 0;
  color: transparent;
  cursor: pointer;
  padding: 5px;
}
.header__search:hover svg path {
  stroke: var(--moss-primary);
}
.header:has(.desktop-search-wrapper.open) .header__search {
  background-color: var(--moss-hover);
  border-radius: 50%;
}
.header:has(.desktop-search-wrapper.open) .header__search svg path {
  stroke: var(--surface);
}
.header__cart {
  font-size: 0;
  color: transparent;
  cursor: pointer;
  position: relative;
}
.header__cart:hover svg path {
  stroke: var(--moss-primary);
}
.header__cart span {
  display: flex;
  font-family: var(--font-text);
  font-weight: 800;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1%;
  color: var(--background);
  border-radius: 50%;
  aspect-ratio: 1/1;
  background-color: var(--moss-primary);
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 50%;
  left: 50%;
  height: 80%;
}
.header__controls {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}
.header__mobile-controls {
  display: none;
}

.mobile-menu {
  display: none;
}

.desktop-search {
  position: relative;
}
.desktop-search input {
  padding-left: 52px;
}
.desktop-search svg {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.desktop-search-wrapper {
  position: absolute;
  left: 50%;
  top: 140px;
  z-index: 5;
  background: var(--background);
  opacity: 0;
  transform: translate3d(-50%, -16px, 0);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: 100%;
  max-width: 1200px;
}
.desktop-search-wrapper.open {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
  pointer-events: auto;
}

@media (max-width: 1080px) {
  .desktop-search-wrapper {
    display: none;
  }
  .header {
    height: 80px;
  }
  .header__controls {
    display: none;
  }
  .header__nav {
    display: none;
  }
  .header__burger {
    cursor: pointer;
  }
  .header__mobile-controls {
    display: flex;
    gap: 20px;
    align-items: center;
  }
  .header__mobile-cart {
    position: relative;
  }
  .header__mobile-cart span {
    display: flex;
    font-family: var(--font-text);
    font-weight: 800;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 1%;
    color: var(--moss-hover);
    border-radius: 50%;
    aspect-ratio: 1/1;
    padding: 0;
    background-color: var(--background);
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 50%;
    left: 50%;
    height: 40%;
    border: 0.25px solid var(--moss-soft);
  }
  .header__logo img {
    width: 51px;
    height: 80px;
  }
  .mobile-menu {
    position: fixed;
    top: 80px;
    right: 0;
    z-index: 4;
    background-color: var(--background);
    padding: 20px 0px;
  }
  .mobile-menu a {
    text-decoration: none;
  }
  .mobile-menu a:hover {
    text-decoration: underline;
  }
  .mobile-menu__inner {
    display: grid;
    gap: 40px;
  }
  .mobile-menu__group {
    display: grid;
    gap: 20px;
  }
  .mobile-menu__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .mobile-menu__nav .menu-item {
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
  }
  .mobile-menu.open {
    display: flex;
  }
  .mobile-menu .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .mobile-menu .mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mobile-menu__socials {
    display: flex;
  }
  .mobile-menu__socials a {
    font-size: 0px;
    color: transparent;
  }
  .mobile-menu__info {
    display: grid;
    gap: 10px;
  }
  .mobile-menu__contacts {
    display: grid;
    gap: 10px;
  }
  .mobile-menu .mobile-search {
    position: relative;
  }
  .mobile-menu .mobile-search input {
    padding-left: 52px;
  }
  .mobile-menu .mobile-search svg {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
  }
}
@media (max-width: 640px) {
  .mobile-menu {
    width: 100%;
    max-height: calc(100dvh - 80px);
    height: 100%;
    overflow-y: auto;
  }
}
.footer {
  background-color: var(--moss-primary);
  padding: 28px 0 35px;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12.5px;
  border-bottom: 1px solid var(--line);
  gap: 40px 28px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__column {
  width: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer .footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer .footer-nav__list .menu-item a {
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: var(--surface);
  font-family: var(--font-text);
}
.footer__labe {
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  font-family: var(--font-text);
}
.footer__socials {
  display: flex;
}
.footer__socials a {
  color: transparent;
  font-size: 0;
}
.footer__bottom {
  padding-top: 10px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cookies {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--surface);
  border-top: 1px solid var(--line);
  padding: 20px;
  display: none;
}
.cookies__inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.cookies .btn {
  min-width: 0;
  max-width: 250px;
  width: 100%;
}
.cookies.open {
  display: block;
}

@media (max-width: 1080px) {
  .footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .cookies__inner {
    flex-direction: column;
    gap: 10px;
  }
  .cookies .btn {
    max-width: 100%;
  }
  .footer {
    padding: 8px 0;
  }
  .footer .footer-nav .menu-item, .footer .footer-nav .footer-nav__list a {
    font-size: 14px;
    line-height: 20px;
  }
  .footer__inner {
    grid-template-areas: "first first" "second third" "last last";
  }
  .footer__labe {
    font-weight: 400;
    font-size: 14px;
  }
  .footer__contacts {
    gap: 12px;
  }
  .footer__inner {
    padding-bottom: 40px;
  }
  .footer__bottom {
    padding-bottom: 0;
  }
  .footer__column {
    width: 100%;
    gap: 10px;
  }
  .footer__column:first-child {
    grid-area: first;
    grid-column: 1/3;
  }
  .footer__column:nth-child(2) {
    grid-area: second;
  }
  .footer__column:nth-child(3) {
    grid-area: third;
  }
  .footer__column:last-child {
    grid-area: last;
    grid-column: 1/3;
  }
}
.intro {
  height: 800px;
  width: 100%;
}
.intro__content {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 37px;
}
.intro__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.intro__link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.intro__link:hover {
  text-decoration: underline;
}
.intro__btns {
  display: flex;
  align-items: center;
  gap: 20px;
}

.intro-wrapper {
  overflow: hidden;
  position: relative;
}
.intro-wrapper__img {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 1440px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  opacity: 0.4;
  z-index: -1;
}
.intro-wrapper__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

@media (max-width: 1080px) {
  .intro {
    height: 500px;
  }
  .intro__content {
    text-align: center;
    align-items: center;
  }
  .intro-wrapper__img {
    height: 500px;
    opacity: 0.3;
  }
  .intro-wrapper__img img {
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: top center;
       object-position: top center;
  }
}
@media (max-width: 620px) {
  .intro__btns {
    width: 100%;
  }
  .intro__content {
    gap: 40px;
  }
  .intro__text {
    gap: 40px;
  }
  .intro .btn {
    width: 100%;
  }
  .intro__btns {
    flex-direction: column;
    gap: 10px;
  }
}
.popular {
  background-color: rgba(103, 129, 50, 0.5019607843);
}
.popular__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
}
.popular__link {
  position: absolute;
  right: 0;
  top: 12px;
}
.popular__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.popular__items:has(.product-card:nth-child(2)) {
  grid-template-columns: 1fr 1fr;
}
.popular__items:has(.product-card:nth-child(3)) {
  grid-template-columns: 1fr 1fr 1fr;
}
.popular__items:has(.product-card:nth-child(4)) {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

@media (max-width: 1080px) {
  .popular__items:has(.product-card:nth-child(2)) {
    grid-template-columns: 1fr 1fr;
  }
  .popular__link {
    position: initial;
  }
}
@media (max-width: 620px) {
  .popular__items {
    grid-template-columns: 1fr !important;
    width: 100%;
  }
  .popular__items .product-card {
    max-width: 100%;
    text-align: center;
  }
  .popular__items .product-card__content * {
    color: var(--text-primary);
  }
  .popular__inner {
    gap: 40px;
  }
}
.new__header {
  display: grid;
  gap: 20px;
}
.new__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 40px;
}
.new__title {
  text-align: center;
}
.new__link {
  position: absolute;
  right: 0;
  top: 12px;
}
.new__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 20px;
  width: 100%;
}
.new__cards .product-card {
  max-width: 100%;
}

@media (min-width: 1080px) {
  .new__cards .product-card {
    max-width: 100%;
  }
  .new__cards .product-card img {
    height: 780px;
  }
  .new__cards .product-card__manufacture {
    font-size: 37.26px;
    line-height: 57.96px;
  }
  .new__cards .product-card__title {
    font-size: 33.12px;
    line-height: 49.68px;
  }
  .new__cards .product-card__price {
    font-size: 37.26px;
    line-height: 49.68px;
  }
  .new__cards .product-card .btn {
    top: 760px;
  }
  .new__cards .product-card:hover .btn {
    top: 716px;
  }
  .new__cards .badge {
    font-weight: 800;
    font-size: 24.84px;
    line-height: 33.12px;
    top: 16px;
    left: 16px;
  }
}
@media (max-width: 1080px) {
  .new__link {
    position: initial;
  }
}
@media (max-width: 620px) {
  .new__cards {
    grid-template-columns: 1fr;
  }
  .new__cards .product-card {
    text-align: center;
  }
}
.categories {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.categories__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  width: 100%;
  gap: 40px 22px;
}

.category-card {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.category-card__title {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 32px;
  line-height: 48px;
  text-align: center;
  display: block;
  width: 100%;
  background-color: var(--concrete-200);
}
.category-card img {
  width: 100%;
  height: 387px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  transition: scale 0.3s;
}
.category-card:hover img {
  scale: 1.05;
}

@media (max-width: 640px) {
  .categories__items {
    gap: 20px;
    grid-template-columns: 1fr;
  }
  .category-card__title {
    font-size: 24px;
    line-height: 48px;
  }
  .category-card img {
    height: 340px;
  }
}
.advantages {
  padding-bottom: 60px;
}
.advantages__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
}
.advantages__title {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 20px;
}
.advantages__items {
  display: flex;
  gap: 40px 20px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.advantages__item {
  width: 100%;
  max-width: 285px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.advantages__item-icon {
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--surface);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  min-width: 44px;
}
.advantages__item-icon img {
  height: 100%;
  width: auto;
}
.advantages__item-title {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
}
.advantages__item-text {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

@media (max-width: 620px) {
  .advantages__item-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
  }
  .advantages__item-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
}
.info {
  background-color: var(--moss-primary);
  padding: 80px 0;
}
.info__inner {
  display: flex;
  gap: clamp(40px, 160px, 20vw - 100px);
  justify-content: center;
  align-items: center;
}
.info__item {
  display: grid;
  text-align: center;
  gap: 20px;
}
.info__title {
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
}
.info__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 820px) {
  .info {
    padding: 40px 0;
  }
  .info__inner {
    flex-direction: column;
    gap: 40px;
  }
  .info__item {
    gap: 10px;
  }
  .info__title {
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
  }
  .info__text {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
}
.news {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
}
.news__link {
  position: absolute;
  right: 0;
  top: 20px;
}
.news__items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.news__card {
  box-shadow: 0 4px 4px rgba(12, 12, 13, 0.0509803922), 0 4px 4px rgba(12, 12, 13, 0.1019607843);
  background-color: var(--concrete-100);
  padding: 20px;
  display: grid;
  gap: 20px;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 8px rgba(12, 12, 13, 0.0509803922), 0 10px 8px rgba(12, 12, 13, 0.1019607843);
}
.news__card-date {
  display: flex;
  align-items: center;
  gap: 10px;
}
.news__card-badge {
  background-color: var(--moss-primary);
  padding: 4px 12px;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  width: -moz-max-content;
  width: max-content;
}
.news__card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news__card-excerpt {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.news__card-link {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--moss-primary);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}
.news__card-wrapper {
  text-decoration: none;
}

@media (max-width: 1080px) {
  .news__items {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .news__card {
    gap: 10px;
  }
}
@media (max-width: 620px) {
  .news__link {
    position: initial;
  }
  .news__card {
    padding: 10px;
  }
  .news__card-excerpt {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
  }
}
.faq {
  background-color: rgba(103, 129, 50, 0.5019607843);
}
.faq__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  position: relative;
}
.faq__link {
  position: absolute;
  top: 20px;
  right: 0;
}
.faq__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 20px;
}
.faq__item {
  display: grid;
  gap: 10px;
  background-color: var(--background);
  padding: 20px 20px 30px;
}
.faq__item-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.5%;
}
.faq__item-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 1080px) {
  .faq__link {
    position: initial;
  }
  .faq__items {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 620px) {
  .faq__item {
    padding: 10px;
  }
  .faq .btn {
    width: 100%;
  }
}
.instagram {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 40px;
  max-width: 100%;
}
.instagram__header {
  display: grid;
  text-align: center;
  gap: 20px;
}

.instagram__wrapper {
  max-width: 892px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

.instagram__carousel {
  overflow: hidden;
  position: relative;
}

.instagram__track {
  display: flex;
  will-change: transform;
}

.instagram__slide {
  flex-shrink: 0;
  width: 142px;
  padding: 0 4px;
  box-sizing: border-box;
  display: block;
}

.instagram__img {
  width: 100%;
  height: 142px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

.instagram__carousel.is-dragging {
  cursor: grabbing;
}

.instagram__carousel:not(.is-dragging) {
  cursor: grab;
}

@media (max-width: 1080px) {
  .instagram {
    gap: 20px;
  }
}
@media (max-width: 620px) {
  .instagram .btn {
    width: 100%;
  }
}
.catalog {
  padding-bottom: 90px;
}

.catalog__header {
  padding-top: 60px;
  display: grid;
  gap: 60px;
}

/* Тулбар */
.catalog__toolbar {
  display: grid;
  grid-template-columns: 96fr 67fr;
  gap: 19px;
  padding: 24px;
  background: var(--concrete-100);
  margin: 40px 0;
  border: 1px solid var(--concrete-100);
}

.catalog__search {
  position: relative;
}
.catalog__search input {
  padding-left: 52px;
}
.catalog__search svg {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.catalog__sort {
  min-width: 240px;
  width: 100%;
}

/* Категории */
.catalog__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 120px;
}

.catalog__category {
  padding: 10px 20px;
  border: 1px solid var(--line);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #E9ECE7;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
}

.catalog__category:hover {
  border-color: var(--moss-soft);
  color: var(--background);
  background-color: var(--moss-soft);
}

.catalog__category--active {
  background: var(--moss-primary);
  border-color: var(--moss-primary);
  color: var(--background);
}
.catalog__category--active:hover {
  background: var(--moss-primary);
  border-color: var(--moss-primary);
  color: var(--background);
}
.catalog__category--active {
  cursor: initial;
}

/* Сетка товаров */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  margin-bottom: 120px;
}
.catalog__grid .product-card {
  max-width: 100%;
}

/* Кнопка "Показать ещё" */
.catalog__load-more {
  display: flex;
  justify-content: center;
}

/* Пустой результат */
.catalog__empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 48px;
  font-size: 16px;
  color: #999;
}

/* Состояние загрузки — приглушаем сетку */
.catalog__grid {
  transition: opacity 0.2s ease;
}

.catalog__grid--loading {
  opacity: 0.5;
  pointer-events: none;
}

.catalog__grid--fade-out {
  opacity: 0;
}

/* Заблокированные категории */
.catalog__category--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Анимация появления новых карточек */
.product-card {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card--entering {
  opacity: 0;
  transform: translateY(20px);
}

/* Заблокированный select */
.catalog__sort select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Адаптив */
@media (max-width: 1080px) {
  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 80px;
  }
  .catalog__categories {
    margin-bottom: 60px;
  }
  .catalog__toolbar {
    margin: 20px 0 40px;
  }
}
@media (max-width: 620px) {
  .catalog__grid {
    gap: 20px 8px;
    margin-bottom: 40px;
  }
  .catalog__grid .product-card {
    border: none;
  }
  .catalog__grid .product-card__title {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
  }
  .catalog__grid .product-card__manufacture {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
  }
  .catalog__grid .product-card__price {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.2%;
  }
  .catalog__grid .product-card img {
    height: 227px;
  }
  .catalog__grid .product-card__badges {
    width: calc(100% - 20px);
    gap: 5px;
  }
  .catalog__grid .product-card__badge {
    text-align: center;
    width: 100%;
    font-weight: 700;
    padding: 2px 0;
  }
  .catalog__grid .product-card:hover .btn {
    top: 200px;
  }
  .catalog__toolbar {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .catalog__sort select {
    min-width: auto;
    width: 100%;
  }
  .catalog__title {
    font-weight: 400;
    font-size: 36px;
    line-height: 44px;
  }
  .catalog__categories {
    flex-direction: column;
    margin-bottom: 26px;
  }
  .catalog__category {
    width: 100%;
    text-align: center;
  }
}
/* ==================== LAYOUT ==================== */
.product-page {
  padding-bottom: 120px;
}

.product-page__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 60px;
  font-family: var(--font-text);
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  margin-top: 60px;
}

.product-page__back:hover {
  text-decoration: underline;
}

.product-page__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

/* ==================== ГАЛЕРЕЯ ==================== */
.product-gallery {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 8px;
}

.product-gallery__thumbs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.product-gallery__thumbs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.product-gallery__thumb {
  width: 96px;
  height: 116px;
  flex-shrink: 0;
  border: 1px solid transparent;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color 0.2s;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.product-gallery__arrow {
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.product-gallery__arrow:hover {
  opacity: 0.6;
}

.product-gallery__main {
  overflow: hidden;
  max-height: 835px;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

/* ==================== ИНФОРМАЦИЯ ==================== */
.product-info {
  display: flex;
  flex-direction: column;
}

/* Бейджи */
.product-info__badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  gap: 10px;
}

.product-info__badge {
  background: var(--moss-soft);
  color: var(--background);
  padding: 5px 38px;
  width: 100%;
  max-width: -moz-max-content;
  max-width: max-content;
}

/* Бренд */
.product-info__brand {
  color: #5C6258;
  margin-bottom: 20px;
}

/* Название */
.product-info__title {
  margin-bottom: 20px;
}

/* Цена */
.product-info__price {
  font-family: var(--font-text);
  font-weight: 700;
  font-style: Bold;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.4%;
  margin-bottom: 20px;
}

/* Мета: состояние + наличие */
.product-info__meta {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  color: #1C1F1A;
}

.product-info__meta-label {
  color: #1C1F1A;
}

.product-info__stock--in {
  color: var(--moss-hover);
}

.product-info__stock--out {
  color: #c00;
}

/* Размеры */
.product-info__sizes {
  margin-bottom: 40px;
}

.product-info__sizes-label {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  margin-bottom: 12px;
}

.product-info__sizes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-info__size {
  padding: 9px 15px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.2%;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.product-info__size:hover {
  border-color: var(--moss-hover);
}

.product-info__size--active {
  background: var(--moss-primary);
  border-color: var(--line);
  color: var(--surface);
}

.product-info__size--disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

#add-to-cart-btn {
  width: 100%;
  min-width: 0;
}

.product-line {
  margin: 60px 0 40px;
  width: 100%;
  border-top: 1px solid var(--line);
}

/* ==================== АККОРДЕОНЫ ==================== */
.product-accordions {
  display: grid;
  gap: 20px;
}

.accordion {
  border-bottom: 1px solid #D2D7CE;
}

.accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px 14px;
  background: none;
  border: none;
  font-size: 16px;
  color: #1a1a1a;
  cursor: pointer;
}

.accordion__header:hover {
  color: #678132;
}

.accordion__icon {
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion--open .accordion__icon {
  transform: rotate(180deg);
}

.accordion__body {
  display: none;
}

.accordion__content {
  padding: 0 24px 14px;
}

/* Таблица замеров / состав */
.product-specs {
  width: 100%;
  border-collapse: collapse;
}

.product-specs tr:not(:last-child) {
  border-bottom: 1px solid #f0f0f0;
}

.product-specs td {
  padding: 10px 0;
  font-size: 16px;
  font-family: var(--font-text);
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0%;
}

.product-specs td:first-child {
  color: #888;
  width: 45%;
  padding-right: 16px;
}

.product-specs td:last-child {
  color: #1a1a1a;
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 1080px) {
  .product-page__back {
    margin: 20px 0 40px;
  }
}
@media (max-width: 820px) {
  .product-page__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-info__title {
    margin-bottom: 10px;
  }
  .product-gallery {
    position: static;
    grid-template-columns: 1fr;
  }
  .product-line {
    margin: 40px 0;
  }
  .product-info__meta {
    margin-bottom: 20px;
  }
  .product-gallery__thumbs {
    flex-direction: row;
    order: 2;
    overflow-x: auto;
    width: 100%;
    max-width: 101%;
    gap: 19px;
  }
  .product-gallery__thumbs-list {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    gap: 8px;
    width: 100%;
    max-width: calc(100% - 48px - 40px);
  }
  .product-gallery__arrow {
    transform: rotateZ(-90deg);
  }
  .product-gallery__thumb {
    width: 55px;
    height: 55px;
  }
  .product-gallery__main {
    max-height: 600px;
  }
  .product-info__price {
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.2%;
    margin-bottom: 10px;
  }
  .product-info__badge {
    padding: 4px 17px;
  }
  .product-accordions {
    gap: 10px;
  }
  .accordion__header {
    padding: 12px 10px;
  }
  .accordion__body {
    padding: 12px 10px;
  }
  .main {
    padding-bottom: 60px;
  }
}
@media (max-width: 620px) {
  .product-gallery__main {
    max-height: 351px;
  }
  .product-info__sizes-list {
    justify-content: center;
  }
}
/* ========== КОРЗИНА ========== */
.cart-page {
  padding-bottom: 120px;
}

/* Заголовок */
.cart-page__header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 73px;
  margin-top: 120px;
}

.cart-page__count {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: var(--text-secondary);
}

/* Двухколоночный layout */
.cart-page__layout {
  display: grid;
  grid-template-columns: 1fr 386px;
  gap: 40px;
  align-items: start;
}

.cart-page__left {
  width: 100%;
  max-width: 646px;
}

/* ========== ТУЛБАР ========== */
.cart-page__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-page-line {
  border-top: 1px solid var(--text-secondary);
  width: 100%;
  margin: 60px 0 40px;
}

/* Чекбокс */
.cart-checkbox {
  display: flex;
  align-items: center;
  gap: 23px;
  cursor: pointer;
}

.cart-checkbox__input {
  display: none;
}

.cart-checkbox__box {
  width: 44px;
  height: 44px;
  border: 1px solid var(--moss-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.cart-checkbox__box svg {
  opacity: 0;
  transition: opacity 0.15s;
}

.cart-checkbox__input:checked + .cart-checkbox__box svg {
  opacity: 1;
}

/* Удалить все */
.cart-page__delete-selected {
  display: flex;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  cursor: pointer;
  transition: color 0.2s;
}

.cart-page__delete-selected:hover {
  color: #c00;
}

/* ========== ТОВАР ========== */
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 38px;
  transition: opacity 0.3s;
}

.cart-item__checkbox {
  flex-shrink: 0;
}

.cart-item__content {
  padding: 40px 40px 40px 20px;
  background-color: var(--surface);
  display: flex;
  align-items: flex-start;
  gap: 26px;
  width: 100%;
}

.cart-item__image {
  width: 100px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

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

.cart-item__title {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 20px;
}

.cart-item__brand {
  margin-bottom: 20px;
}

/* Селект размера */
.cart-item__size-wrap {
  margin-bottom: 20px;
}

.cart-item__size-select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: #fff url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 6L8 10L12 6" stroke="%23111312" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 16px center;
  border: 1px solid var(--line);
  padding: 9px 42px 9px 16px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  text-align: center;
  cursor: pointer;
}

/* Нижняя строка: цена + кол-во + удалить */
.cart-item__bottom {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.cart-item__price {
  font-family: var(--font-text);
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 24px;
}

/* Количество */
.cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  background: var(--background);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item__qty-btn:disabled {
  opacity: 0.3;
  cursor: initial;
}

.cart-item__qty-value {
  text-align: center;
}

/* Удалить один */
.cart-item__remove {
  background: none;
  border: none;
  cursor: pointer;
}
.cart-item__remove svg path {
  transition: stroke 0.2s;
}

.cart-item__remove:hover svg path {
  stroke: #c00;
}

/* ========== ИТОГО (правая колонка) ========== */
.cart-summary {
  background: #fff;
  padding: 24px 24px 13px;
  width: 100%;
  max-width: 325px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cart-summary .btn {
  min-width: 0;
  width: 100%;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #4A4F4C;
}

.cart-summary__total {
  display: flex;
  justify-content: space-between;
}

.cart-summary__checkout {
  display: block;
  width: 100%;
  padding: 14px;
  background: #678132;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

#summary-subtotal {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.cart-summary__line {
  border-bottom: 1px solid #D2D7CE;
  width: 100%;
}

.cart-summary__checkout:hover {
  background: #566d2a;
}

.cart-summary__note {
  color: #5C6258;
  text-align: center;
}

/* ========== ПУСТАЯ КОРЗИНА ========== */
.cart-page__empty {
  text-align: center;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.cart-page__continue {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid #4A4F4C;
  border-radius: 100px;
  color: #4A4F4C;
  text-decoration: none;
  transition: all 0.2s;
}

.cart-page__continue:hover {
  background: #4A4F4C;
  color: #fff;
}

.cart-page:not(:has(.cart-item)) .cart-page__header,
.cart-page:not(:has(.cart-item)) .cart-page__toolbar,
.cart-page:not(:has(.cart-item)) .cart-page-line {
  display: none;
}

/* скрываем нативный селект, но оставляем для логики */
.cart-item__size-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

/* кастом */
.cart-size-select {
  position: relative;
  width: 100%;
  max-width: 120px;
}

.cart-size-select__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.cart-size-select__btn:focus {
  outline: none;
}

.cart-size-select.is-open .cart-size-select__btn {
  border-bottom: none;
}

.cart-size-select__value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-size-select__chev {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.cart-size-select.is-open .cart-size-select__chev {
  transform: rotate(180deg);
}

.cart-size-select__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  z-index: 50;
  background: #fff;
  border: 1px solid var(--line);
  background-color: var(--surface);
  max-height: 240px;
  overflow: auto;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-size-select.is-open .cart-size-select__list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  border-top: none;
}

.cart-size-select__opt {
  width: 100%;
  text-align: left;
  padding: 5px 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.cart-size-select__opt.is-active {
  background: rgba(103, 129, 50, 0.12);
}

.cart-size-select__opt:focus {
  outline: none;
  background: rgba(103, 129, 50, 0.12);
}

@media (max-width: 1080px) {
  .cart-page__header {
    margin: 60px 0 40px;
  }
  .cart-page__layout {
    grid-template-columns: 1fr;
  }
  .cart-page__delete-selected {
    gap: 20px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
  }
  .cart-page__delete-selected svg {
    width: 16px;
    height: 16px;
  }
  .cart-summary {
    position: static;
    width: 100%;
    max-width: 100%;
  }
  .cart-page__left {
    max-width: 100%;
  }
  .cart-checkbox__box {
    width: 24px;
    height: 24px;
  }
  .cart-checkbox__box svg {
    width: 16px;
    height: 16px;
  }
  .cart-page__title {
    font-size: 32px;
  }
  .cart-item__image {
    width: 80px;
    height: 100px;
  }
  .cart-item__bottom {
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 620px) {
  .cart-page {
    padding-bottom: 0;
  }
  .cart-item__content {
    flex-direction: column;
    gap: 20px;
    padding: 9px;
  }
  .cart-item__image {
    width: 154px;
    height: 185px;
  }
  .cart-item__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .cart-item__price {
    order: 3;
  }
  .cart-item__quantity {
    order: 1;
  }
  .cart-item__qty-btn {
    width: 24px;
    height: 24px;
  }
  .cart-item__qty-btn svg {
    width: 16px;
    height: 16px;
  }
  .cart-item__brand {
    margin-bottom: 10px;
  }
  .cart-item__size-wrap {
    width: 100%;
    margin-bottom: 10px;
  }
  .cart-item__title {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
  }
  .cart-item__size-select {
    padding: 14px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
  }
  .cart-item__remove {
    order: 2;
    justify-self: flex-end;
    width: 24px;
    height: 24px;
  }
  .cart-item__remove svg {
    width: 16px;
    height: 16px;
  }
  .cart-size-select {
    max-width: 100%;
  }
  .cart-size-select__btn {
    padding: 14px 0;
    justify-content: center;
    gap: 10px;
  }
  .cart-size-select__opt {
    padding: 14px 0;
    justify-content: center;
    text-align: center;
    padding-right: 26px;
  }
  .cart-item__info {
    width: 100%;
  }
  #summary-subtotal {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
  }
  .cart-page__empty .btn {
    width: 100%;
  }
}
/* ==================== LAYOUT ==================== */
.checkout-page {
  padding-bottom: 120px;
}

.checkout-page__header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 120px;
}

.checkout-page__line {
  width: 100%;
  border-bottom: 1px solid var(--text-secondary);
  margin: 40px 0 72px;
}

.checkout-page__count {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.checkout-page__layout {
  display: grid;
  grid-template-columns: 1fr 386px;
  gap: 40px;
  align-items: start;
}

/* ==================== ШАГИ ==================== */
.checkout-steps {
  width: 100%;
  max-width: 713px;
}
.checkout-steps .btn {
  width: 100%;
  min-width: 0;
}

.checkout-step {
  margin-bottom: 20px;
}

.checkout-step__header {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--concrete-100);
  padding: 16px 20px;
}

.checkout-step__number {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.25px solid var(--moss-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.checkout-step__title {
  flex: 1;
}

.checkout-step__edit {
  background: none;
  border: none;
  color: #678132;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-step__edit:hover {
  color: #566d2a;
}

.checkout-step__footer {
  display: flex;
  justify-content: center;
  margin-left: auto;
  width: -moz-max-content;
  width: max-content;
  padding: 6px 20px;
  background-color: var(--surface);
}
.checkout-step__footer .btn {
  width: -moz-max-content;
  width: max-content;
  padding: 15.5px 60px;
}

.checkout-step__content {
  display: grid;
  grid-template-columns: 1fr 285px;
  gap: 40px;
  padding: 27px 20px 44px;
  background-color: var(--surface);
}

/* ==================== КНОПКА "ДАЛЕЕ" ==================== */
.checkout-btn {
  padding: 12px 48px;
  background: #678132;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.checkout-btn:hover {
  background: #566d2a;
}

/* ==================== ТОВАРЫ В ЗАКАЗЕ ==================== */
.order-items__header {
  display: grid;
  grid-template-columns: 1fr 80px 100px 80px;
  gap: 16px;
  padding: 20px 20px 9px;
  position: relative;
  background-color: var(--surface);
}
.order-items__header hr {
  border-top: 1px solid var(--text-muted);
  width: calc(100% - 40px);
  position: absolute;
  top: calc(100% - 1px);
  left: 20px;
}

.order-items__list {
  padding: 20px;
  background-color: var(--surface);
  gap: 24px;
}

.order-item {
  display: grid;
  grid-template-columns: 1fr 80px 100px 80px;
  gap: 16px;
  align-items: center;
}

.order-item:not(:last-child) {
  border-bottom: 1px solid #f0f0f0;
}

.order-item__main {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.order-item__mobile {
  display: none;
}

.order-item__image {
  width: 62px;
  height: 74px !important;
  border-radius: 4px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  flex-shrink: 0;
}

.order-item__info {
  min-width: 0;
}

.order-item__variation {
  margin-top: 10px;
  color: var(--text-secondary);
}
.order-item__variation span {
  color: var(--text-secondary);
}

.order-item__sum {
  font-weight: 600;
}

/* ==================== ДОСТАВКА ==================== */
.delivery-options {
  display: grid;
  gap: 20px;
  position: relative;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(auto-fit, minmax(0px, max-content));
  width: 100%;
}

.delivery-option {
  display: flex;
  background: #fff;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}
.delivery-option img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center center;
     object-position: center center;
}
.delivery-option-content {
  display: none;
}

.delivery-option--active {
  border-color: #678132;
}

.delivery-option input {
  display: none;
}

.delivery-option--active .delivery-option__radio::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: #678132;
  border-radius: 50%;
}

.delivery-option-content {
  display: flex;
  flex-direction: column;
  gap: 11px;
  background-color: var(--concrete-100);
  padding: 10px 20px 10px 10px;
  width: 100%;
}
.delivery-option-content__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.delivery-option-content__title {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.delivery-option-content__desc {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}
.delivery-option-content__name {
  font-family: var(--font-text);
  font-weight: 300;
  font-size: 12px;
  line-height: 16px;
}
.delivery-option-content__value {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}
.delivery-option-content__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.delivery-option-content__img {
  width: 62px;
  height: 30px;
  background-color: var(--surface);
}
.delivery-option-content__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center center;
     object-position: center center;
}

.delivery-option__icon {
  width: 80px;
  height: 40px;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
}

.delivery-option__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.delivery-option__name {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

.delivery-option__desc {
  font-size: 13px;
  color: #888;
}

/* ==================== ФОРМА ==================== */
.checkout-form .btn {
  margin-bottom: 24px;
}

.checkout-form__subtitle {
  margin-bottom: 20px;
  margin-top: 20px;
}

.checkout-field {
  margin-bottom: 16px;
}

.checkout-field__label {
  display: block;
  margin-bottom: 8px;
}

.checkout-field__label .required {
  color: #c00;
}

.checkout-field__input,
.checkout-field__textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  outline: none;
  transition: border-color 0.2s;
}
.checkout-field__input::-moz-placeholder, .checkout-field__textarea::-moz-placeholder {
  color: var(--text-secondary);
}
.checkout-field__input::placeholder,
.checkout-field__textarea::placeholder {
  color: var(--text-secondary);
}

.checkout-field__input:focus,
.checkout-field__textarea:focus {
  border-color: #678132;
}

.checkout-field__textarea {
  resize: vertical;
  min-height: 100px;
}

/* Ошибка */
.checkout-field--error .checkout-field__input,
.checkout-field--error .checkout-field__textarea {
  border-color: #c00;
}

.checkout-field--error .checkout-field__label {
  color: #c00;
}

/* Итого в форме */
.checkout-form__total {
  display: flex;
  justify-content: space-between;
  padding: 40px 0 24px;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}
.checkout-form__total span {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
}
.checkout-form__total span:last-child {
  font-weight: 500;
}

/* Согласие */
.checkout-form__agree {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.checkout-form__agree input {
  display: none;
}

.checkout-form__agree .cart-checkbox__box {
  width: 24px;
  height: 24px;
  border: 0.25px solid var(--moss-primary);
  border-radius: 2px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}

.checkout-form__agree input:checked + .cart-checkbox__box {
  background-color: var(--surface);
}

.checkout-form__agree input:checked + .cart-checkbox__box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 7px;
  height: 11px;
  border: solid var(--moss-hover);
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

.checkout-form__note {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0px;
  text-align: center;
  color: #5C6258;
}

/* ==================== ВАЖНО ==================== */
.checkout-notice {
  margin-top: 40px;
  padding: 20px 16px;
  background: var(--concrete-100);
  width: 100%;
}

.checkout-notice__title {
  margin-bottom: 10px;
}

.checkout-notice__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checkout-notice__list li {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  padding-left: 16px;
  position: relative;
}

.checkout-notice__list li::before {
  content: "•";
  position: absolute;
  left: 0;
}

/* ==================== САЙДБАР ИТОГО ==================== */
.checkout-summary {
  background: #fff;
  padding: 24px 24px 13px;
  width: 100%;
  max-width: 325px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #4A4F4C;
}

.checkout-summary__total {
  display: flex;
  justify-content: space-between;
}

.checkout-summary__checkout {
  display: block;
  width: 100%;
  padding: 14px;
  background: #678132;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

#checkout-subtotal {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.checkout-summary__line {
  border-bottom: 1px solid #D2D7CE;
  width: 100%;
}

.checkout-summary__checkout:hover {
  background: #566d2a;
}

.checkout-summary__note {
  color: #5C6258;
  text-align: center;
}

@media (max-width: 1080px) {
  .checkout-page__layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    width: 100%;
    max-width: 100%;
  }
  .checkout-page__count {
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
  }
  .checkout-page__line {
    margin: 40px 0 60px;
  }
  .checkout-page__header {
    margin-top: 40px;
  }
  .checkout-summary {
    position: static;
    order: -1;
  }
  .order-items__header {
    display: none;
  }
  .order-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .order-item__main {
    margin-bottom: 4px;
  }
  .order-item__price,
  .order-item__qty,
  .order-item__sum,
  .order-item__name,
  .order-item__variation {
    display: grid;
    width: 100%;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    color: var(--text-primary);
  }
  .order-item__price span,
  .order-item__qty span,
  .order-item__sum span,
  .order-item__name span,
  .order-item__variation span {
    color: var(--text-primary);
  }
  .order-item__info {
    width: 100%;
  }
  .order-item__main {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .order-item img {
    margin-bottom: 34px;
  }
  .order-item__mobile {
    display: block;
  }
  .checkout-field__input,
  .checkout-field__textarea,
  .checkout-form__submit,
  .checkout-form__total,
  .checkout-form__note {
    max-width: 100%;
  }
  .checkout-steps {
    max-width: 100%;
  }
  .checkout-step {
    width: 100%;
  }
  .checkout-step__content {
    grid-template-columns: 1fr 240px;
  }
}
.checkout-step__error {
  margin-top: 12px;
  font-size: 13px;
  color: #d33;
}

.checkout-step--error .checkout-step__header {
  border-color: #d33; /* если у заголовка есть бордер */
}

.checkout-step--error .checkout-step__number {
  background: #d33;
  color: #fff;
}

.checkout-form__agree.is-error {
  outline: 2px solid #d33;
  border-radius: 8px;
  padding: 8px;
}

.checkout-form__submit-error {
  margin-top: 10px;
  font-size: 13px;
  color: #d33;
}

.field-error {
  margin-top: 6px;
  font-size: 12px;
  color: #d33;
}

@media (max-width: 620px) {
  #checkout-subtotal {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
  }
  .checkout-summary {
    padding: 10px;
  }
  .checkout-step__footer {
    width: 100%;
    padding: 6px 15px;
  }
  .checkout-step__footer .btn {
    width: 100%;
  }
  .checkout-step__content {
    flex-direction: column;
    display: flex;
    gap: 20px;
    padding: 10px 14.5px;
  }
  .delivery-options {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }
  .order-items__list {
    padding: 10px 14.5px;
  }
  .delivery-option {
    height: 60px;
  }
  .checkout-page {
    padding-bottom: 60px;
  }
  .checkout-notice {
    margin-top: 20px;
  }
  .checkout-form__total {
    padding: 24px 0;
  }
}
.not-found {
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.not-found img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  opacity: 0.8;
}
.not-found__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px;
  position: relative;
  z-index: 2;
  align-items: center;
  width: 100%;
  max-width: 964px;
  text-align: center;
}

@media (max-width: 620px) {
  .not-found .btn {
    width: 100%;
    min-width: 0;
  }
}
.checkout-success {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Фон */
.checkout-success__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.checkout-success__bg-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.6;
}

/* Контент */
.checkout-success__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 0;
}

/* Заголовок */
.checkout-success__title {
  margin-bottom: 16px;
}

/* Текст */
.checkout-success__text {
  margin-bottom: 48px;
}

/* Подзаголовок */
.checkout-success__subtitle {
  margin-bottom: 24px;
}

/* Шаги */
.checkout-success__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Счётчик */
.checkout-success__steps {
  counter-reset: steps;
}

.checkout-success__steps li {
  counter-increment: steps;
}

.checkout-success__steps li::before {
  content: counter(steps) ". ";
}

/* Кнопки */
.checkout-success__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 768px) {
  .checkout-success__content {
    padding: 48px 0;
  }
  .checkout-success__actions {
    flex-direction: column;
    align-items: center;
  }
  .checkout-success .btn {
    width: 100%;
    min-width: 0;
  }
}
.blog-page .breadcrumbs {
  margin: 60px 0 0;
}

.blog-page__title {
  margin-bottom: 20px;
}

.blog-page__header {
  margin: 60px 0 120px;
}

.blog-page__desc {
  color: #5C6258;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
  margin-bottom: 120px;
}

.blog-card {
  display: grid;
  height: 100%;
  grid-template-rows: auto auto 40px 1fr auto;
  transition: opacity 0.4s, transform 0.4s;
  gap: 20px;
}

.blog-card--entering {
  opacity: 0;
  transform: translateY(20px);
}

/* Картинка */
.blog-card__image-link {
  display: block;
  overflow: hidden;
  height: 203px;
  width: 100%;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  display: block;
  transition: transform 0.3s;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.03);
}

/* Мета */
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-card__type {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: var(--moss-primary);
}

.blog-card__type--badge {
  background-color: var(--moss-primary);
  padding: 4px 12px;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  width: -moz-max-content;
  width: max-content;
  color: var(--surface);
}

.blog-card__date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5C6258;
}

.blog-card__date svg {
  flex-shrink: 0;
  color: #aaa;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: #678132;
}

/* Отрывок */
.blog-card__excerpt {
  color: #5C6258;
  flex: 1;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ссылка */
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-text);
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 20px;
  color: var(--moss-primary);
  text-decoration: none;
  transition: gap 0.2s;
}

.blog-card__link:hover {
  gap: 10px;
}

.blog-card__link svg {
  flex-shrink: 0;
}

/* ==================== ПОКАЗАТЬ ЕЩЁ ==================== */
.blog-page__load-more {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}

/* Пусто */
.blog-page__empty {
  text-align: center;
  padding: 64px 0;
  font-size: 16px;
  color: #888;
}

/* ==================== INSTAGRAM ==================== */
.blog-instagram {
  text-align: center;
  padding: 80px 0;
  border-top: 1px solid var(--line);
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  margin-top: 120px;
}

.blog-instagram__title {
  margin-bottom: 20px;
}

.blog-instagram__text {
  max-width: 560px;
  margin: 0 auto 20px;
  color: #5C6258;
}

.blog-instagram__btn {
  margin: 0 auto;
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 1080px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .blog-page__title {
    font-size: 32px;
  }
  .blog-page .breadcrumbs {
    margin-top: 20px;
  }
  .blog-page__header {
    margin: 60px 0 40px;
  }
  .blog-page__title {
    margin-bottom: 10px;
  }
  .blog-card {
    gap: 10px;
    grid-template-rows: auto;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
  }
  .blog-instagram__title {
    font-size: 28px;
  }
  .blog-instagram {
    padding: 20px 0;
    margin-top: 60px;
  }
  .blog-instagram .btn {
    width: 100%;
  }
}
.single-post__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 60px;
  font-family: var(--font-text);
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  margin-top: 60px;
}

.single-post__back:hover {
  text-decoration: underline;
}

/* Статья */
/* Мета */
.single-post__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.single-post__type {
  font-size: 14px;
  color: var(--moss-primary);
  font-weight: 500;
}

.single-post__date {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5C6258;
}

.single-post__date svg {
  flex-shrink: 0;
  color: #aaa;
}

/* Заголовок */
.single-post__title {
  margin-bottom: 40px;
}

.single-post-line {
  border-top: 1px solid var(--line);
  width: 100%;
}

/* Картинка */
.single-post__image {
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
  height: 414px;
}

.single-post__image img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

/* Контент */
.single-post__content {
  font-size: 16px;
  font-family: var(--font-text);
  line-height: 24px;
}

.single-post__content p {
  margin-bottom: 26px;
}

.single-post__content ul,
.single-post__content ol {
  margin-bottom: 26px;
  padding-left: 0;
  list-style: none;
}

.single-post__content ul li,
.single-post__content ol li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.single-post__content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-primary);
  font-weight: 700;
}

.single-post__content h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0.4%;
  margin: 32px 0 16px;
}

.single-post__content h3 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.2%;
  margin: 24px 0 12px;
}

.single-post__content strong {
  color: #1a1a1a;
  font-weight: 600;
}

.single-post__content a {
  color: #678132;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-post__content a:hover {
  color: #566d2a;
}

.single-post__content .wp-block-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.single-post__content img {
  max-height: 600px;
  width: auto;
  margin: 24px auto;
}

.single-post__content blockquote {
  border-left: 3px solid #678132;
  padding: 16px 24px;
  margin: 24px 0;
  background: #f9f9f6;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4A4F4C;
}

/* ==================== CTA ==================== */
.single-post__cta {
  max-width: 736px;
  margin: 0 auto;
  text-align: center;
  padding: 60px;
  border-top: 1px solid #e8e8e8;
}

.single-post__cta-title {
  margin-bottom: 24px;
  text-align: left;
}

/* Кнопки в ряд */
.single-post__cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px 16px;
  margin-bottom: 27px;
}
.single-post__cta-buttons .btn {
  min-width: 0;
  width: 100%;
}

.single-post__cta-buttons + .btn {
  min-width: 0;
  width: 100%;
  grid-column: 1/3;
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 1080px) {
  .single-post__cta {
    padding: 40px 0 60px;
  }
  .single-post__content h2 {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: 0.2%;
  }
  .single-post__content h3 {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.2%;
  }
  .single-post__cta-title {
    text-align: center;
  }
  .single-post__cta-buttons {
    grid-template-columns: 1fr;
  }
}
.info-section {
  padding: 56px 0;
}

.info-section__title {
  margin: 0 0 28px;
}

.info-divider {
  border: 0;
  border-top: 1px solid #e8e3dc;
  margin: 48px 0;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 80px; /* как на скрине: шире по горизонтали */
  align-items: start;
  max-width: 920px; /* визуально центр и воздух */
  margin: 0 auto;
}

.delivery-card__name {
  margin-bottom: 10px;
}

.delivery-card__meta {
  display: grid;
  gap: 6px;
  color: #6f6b65;
}

.delivery-card__row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.delivery-card__label {
  color: #6f6b65;
}

.delivery-card__value {
  color: #6f6b65;
}

.delivery-card__desc {
  margin-top: 10px;
  color: #6f6b65;
}

.info-text {
  color: #6f6b65;
  margin: 0;
}

.info-text--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.important-box {
  border: 1px solid #f2c7c7;
  background: #fff3f3;
  padding: 36px 28px;
  text-align: center;
}

.info-page {
  padding-bottom: 120px;
}

.important-box__title {
  line-height: 1.2;
  color: #b32626;
  margin: 0 0 14px;
}

.important-box__text {
  color: #b32626;
  max-width: 860px;
  margin: 0 auto;
}

/* адаптив */
@media (max-width: 860px) {
  .delivery-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 520px;
  }
  .important-box__title {
    font-size: 26px;
  }
  .info-page {
    padding-bottom: 60px;
  }
}
.contacts-page {
  padding-bottom: 120px;
}

.contacts-contact {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 60px;
  margin-bottom: 40px;
}

.contacts-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 108px;
  align-items: start;
}

.contacts-block__title {
  margin: 0 0 40px;
}

.contacts-hours__row {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.contacts-hours__note {
  margin: 0;
  color: var(--text-secondary);
}

.contacts-links {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 57px;
  align-items: start;
}

.contact-item__name {
  margin-bottom: 10px;
}

.contact-item__value {
  color: var(--moss-primary);
  text-decoration: none;
}

.contact-item__value:hover {
  text-decoration: underline;
}

.contact-item__note {
  margin-top: 6px;
  font-size: 12px;
  color: #9b948b;
  line-height: 1.5;
}

.contacts-divider {
  border: 0;
  border-top: 1px solid #e8e3dc;
  margin: 34px 0;
}

.contacts-address__title {
  margin: 0 0 37px;
}

.contacts-address__text {
  margin-bottom: 40px;
}

.contacts-map {
  width: 100%;
  overflow: hidden;
}

/* iframe на всю ширину */
.contacts-map iframe {
  display: block;
  width: 100%;
  height: 467px;
  border: 0;
}

.contacts-infos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contacts-infos p {
  color: #5C6258;
}

.contacts-map__placeholder {
  padding: 30px;
  color: #6f6b65;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .contacts-page {
    padding-bottom: 60px;
  }
  .contacts-top {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .contact-item {
    gap: 20px;
  }
  .contact-item__icon {
    width: 44px;
    height: 44px;
  }
  .contact-item__icon svg {
    width: 24px;
    height: 24px;
  }
}
@media (max-width: 620px) {
  .contacts-hours__value {
    white-space: nowrap;
  }
}
/* ==================== FAQ LIST ==================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 80px;
}

/* ==================== FAQ ITEM ==================== */
.faq-item {
  border: 1px solid var(--line);
  transition: border-color 0.2s;
  background-color: var(--surface);
}

/* Вопрос */
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-item__question:hover {
  color: #678132;
}

.faq-item__question span {
  flex: 1;
}

/* Иконка */
.faq-item__icon {
  flex-shrink: 0;
  color: #888;
  transition: transform 0.3s, color 0.2s;
}

.faq-item--open .faq-item__icon {
  transform: rotate(180deg);
  color: #678132;
}

/* Ответ */
.faq-item__answer {
  display: none;
}

.faq-item__answer-inner {
  padding: 0 24px 24px;
  color: #5C6258;
}

.faq-item__answer-inner p {
  margin-bottom: 12px;
}

.faq-item__answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-item__answer-inner a {
  color: #678132;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-item__answer-inner ul,
.faq-item__answer-inner ol {
  padding-left: 0;
  list-style: none;
  margin-bottom: 12px;
}

.faq-item__answer-inner li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

.faq-item__answer-inner li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #678132;
}

/* ==================== ОСТАЛИСЬ ВОПРОСЫ ==================== */
.faq-contact {
  text-align: center;
  padding: 0 0 60px;
}

.faq-contact__title {
  margin-bottom: 20px;
}

.faq-contact__text {
  max-width: 560px;
  text-align: center;
  margin: 0 auto 20px;
}

/* Соцсети */
.faq-contact__socials {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--moss-primary);
  padding: 3.5px 43px;
}

.faq-contact__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 0;
}

/* ==================== INSTAGRAM ==================== */
.faq-instagram {
  text-align: center;
  padding: 0 0 91px;
}

.faq-instagram__text {
  color: #5C6258;
  margin-bottom: 24px;
}

.faq-instagram__btn {
  margin: 0 auto;
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 1080px) {
  .faq-list {
    gap: 20px;
    margin-bottom: 60px;
  }
  .faq-item__question {
    padding: 16px 20px;
    font-size: 15px;
  }
  .faq-item__answer-inner {
    padding: 0 20px 20px;
  }
  .faq-page {
    padding-bottom: 0;
  }
}
@media (max-width: 620px) {
  .faq-contact__socials {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .faq-instagram {
    padding-bottom: 40px;
  }
  .faq-instagram .btn {
    width: 100%;
  }
}