/* ——— Inner pages ——— */
.page {
  background: var(--bg, #f7f5f0);
}

.page-main {
  padding-top: calc(var(--header-h, 4.25rem) + 1.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  min-height: 60vh;
}

.page-shell {
  width: 100%;
  max-width: var(--container, 72rem);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.page-breadcrumbs {
  margin-bottom: 1.25rem;
}

.page-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  color: rgba(15, 41, 35, 0.48);
}

.page-breadcrumbs a {
  color: rgba(15, 41, 35, 0.62);
  transition: color 0.2s ease;
}

.page-breadcrumbs a:hover {
  color: var(--gold-dim);
}

.page-breadcrumbs__sep {
  opacity: 0.35;
  user-select: none;
}

.page-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.page-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--green-deep);
}

.page-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(15, 41, 35, 0.58);
}

.page-empty {
  padding: 3rem 0;
  text-align: center;
  color: rgba(15, 41, 35, 0.55);
}

.nav--header > a.is-active,
.nav--header > .nav-dropdown .nav-dropdown__link.is-active {
  color: var(--gold-mid);
}

/* ——— Catalog pages ——— */
.page--catalog {
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 28%, var(--bg) 100%);
}

.catalog-page {
  --catalog-sidebar-w: 17.5rem;
}

.catalog-page__intro {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.catalog-page__intro .section-title {
  margin-bottom: 0.65rem;
}

/* Sidebar layout — category & subcategory views */
.catalog-shell {
  display: grid;
  grid-template-columns: var(--catalog-sidebar-w) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.catalog-aside {
  position: sticky;
  top: calc(var(--header-h, 4.25rem) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.catalog-aside__block {
  padding: 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-sm);
}

.catalog-aside__label {
  margin: 0 0 0.65rem;
  padding-bottom: 0.55rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
}

.catalog-aside__cats {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.catalog-aside__cat {
  display: block;
  padding: 0.55rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dim);
  border-radius: calc(var(--radius) - 2px);
  transition: background 0.2s ease, color 0.2s ease;
}

.catalog-aside__cat:hover {
  color: var(--green-deep);
  background: var(--green-soft);
}

.catalog-aside__cat.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  box-shadow: 0 4px 14px rgba(15, 41, 35, 0.18);
}

.catalog-aside__subs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: min(52vh, 28rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--green-muted) transparent;
}

.catalog-aside__sub {
  display: block;
  padding: 0.65rem 0.7rem;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 2px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.catalog-aside__sub:hover {
  border-color: var(--line);
  background: var(--bg);
}

.catalog-aside__sub.is-active {
  border-color: var(--line-gold);
  background: var(--gold-light);
}

.catalog-aside__sub-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3;
}

.catalog-aside__sub-hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.catalog-aside__sub.is-active .catalog-aside__sub-title {
  color: var(--green-deep);
}

.catalog-main {
  min-width: 0;
}

/* Category hero — как в админке: карусель слева, описание и подкатегории справа */
.catalog-category-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 1fr);
  gap: clamp(1.15rem, 2.5vw, 1.75rem);
  align-items: stretch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: clamp(1rem, 2vw, 1.25rem);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.catalog-category-hero__media {
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  min-height: clamp(280px, 42vw, 520px);
  background: var(--bg-muted);
}

.catalog-category-hero__media .media-carousel,
.catalog-category-hero__media .media-carousel__viewport,
.catalog-category-hero__media .media-carousel__track {
  height: 100%;
  min-height: 100%;
}

.catalog-category-hero__media .media-carousel__track {
  aspect-ratio: unset;
  min-height: clamp(280px, 42vw, 520px);
}

.catalog-category-hero__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 42vw, 520px);
  object-fit: cover;
}

.catalog-category-hero__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.catalog-category-hero__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.catalog-category-hero__num {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.catalog-category-hero__tag {
  margin: 0 0 0.35rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.catalog-category-hero__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--heading);
  line-height: 1.2;
}

.catalog-category-hero__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.catalog-category-hero__subs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.15rem;
}

.catalog-category-hero__subs--quad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-category-hero__subs--dense {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-category-hero__subs .cat-item {
  min-height: 4rem;
}

/* Subcategory filtered view header */
.catalog-subview__media {
  margin-bottom: 1rem;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  aspect-ratio: 21/9;
}

.catalog-subview__media .media-carousel,
.catalog-subview__media .media-carousel__viewport,
.catalog-subview__media .media-carousel__track {
  height: 100%;
  min-height: 100%;
}

.catalog-subview__media .media-carousel__track {
  aspect-ratio: unset;
}

.catalog-subview {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem 1.25rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-sm);
}

.catalog-subview__num {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(166, 124, 46, 0.28);
}

.catalog-subview__body {
  flex: 1;
  min-width: min(100%, 16rem);
}

.catalog-subview__cat {
  margin: 0 0 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.catalog-subview__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--heading);
}

.catalog-subview__hint {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-dim);
}

.catalog-subview__count {
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--green-soft);
  border-radius: 999px;
  white-space: nowrap;
}

/* Overview — category cards */
.catalog-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.15rem);
}

.catalog-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(16rem, 28vw, 20rem);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  color: #fff;
  background: var(--green-deep);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
}

.catalog-cat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(166, 124, 46, 0.35);
  box-shadow: var(--shadow-md);
}

.catalog-cat-card__media {
  position: absolute;
  inset: 0;
}

.catalog-cat-card__media .media-carousel,
.catalog-cat-card__media .media-carousel__viewport,
.catalog-cat-card__media .media-carousel__track {
  height: 100%;
  min-height: 100%;
}

.catalog-cat-card__media .media-carousel__track {
  aspect-ratio: unset;
}

.catalog-cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.catalog-cat-card:hover .catalog-cat-card__media img {
  transform: scale(1.06);
}

.catalog-cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 41, 35, 0.15) 0%,
    rgba(15, 41, 35, 0.55) 45%,
    rgba(15, 41, 35, 0.92) 100%
  );
  transition: opacity 0.35s ease;
}

.catalog-cat-card:hover .catalog-cat-card__overlay {
  opacity: 0.95;
}

.catalog-cat-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  min-height: 100%;
  padding: clamp(1rem, 2.5vw, 1.35rem);
}

.catalog-cat-card__num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
}

.catalog-cat-card__tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-mid);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(201, 160, 74, 0.35);
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

.catalog-cat-card__title {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.catalog-cat-card__desc {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-mid);
}

.catalog-cat-card__cta .cat-item__arrow {
  position: static;
  margin-top: 0;
  transform: rotate(45deg);
  opacity: 1;
  border-color: var(--gold-mid);
}

.catalog-cat-card:hover .catalog-cat-card__cta .cat-item__arrow {
  right: auto;
}

/* Category hero — legacy, unused on inner pages */
.catalog-cat-hero {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  scroll-margin-top: 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) !important;
}

/* Subcategory sections */
.catalog-subs {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.catalog-sub {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  padding: clamp(1rem, 2vw, 1.25rem);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-sm);
}

.catalog-sub--compact {
  scroll-margin-top: calc(var(--header-h, 4.25rem) + 1rem);
}

.catalog-sub__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.catalog-sub__num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.catalog-sub__title {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
}

.catalog-sub__hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.catalog-sub__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-dim);
  white-space: nowrap;
}

.catalog-sub__link .cat-item__arrow {
  position: static;
  margin-top: 0;
  transform: rotate(45deg);
  opacity: 0.85;
}

.catalog-sub__link:hover {
  color: var(--green-deep);
}

/* Product grid & cards */
.product-grid--catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1rem);
}

.product-grid--catalog.product-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid--catalog.product-grid--one {
  grid-template-columns: 1fr;
  max-width: 42rem;
}

.product-grid--catalog.product-grid--one .product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.product-grid--catalog.product-grid--one .product-card__media {
  aspect-ratio: auto;
  min-height: 100%;
}

.product-grid--catalog.product-grid--one .product-card__media img {
  height: 100%;
  min-height: 12rem;
}

.product-grid--catalog.product-grid--one .product-card__body {
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  justify-content: center;
}

.product-grid--catalog.product-grid--one .product-card__title {
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.product-grid--page {
  margin-top: 0;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out), border-color 0.32s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-md);
}

.product-card__media {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
  background: var(--bg-muted);
}

.product-card__media .media-carousel,
.product-card__media .media-carousel__viewport,
.product-card__media .media-carousel__track {
  height: 100%;
}

.product-card__media .media-carousel__track {
  aspect-ratio: unset;
  min-height: 100%;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.product-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 41, 35, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card:hover .product-card__shade {
  opacity: 1;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.05rem 1.1rem;
}

.product-card__cat {
  margin: 0 0 0.4rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.product-card__title {
  margin: 0 0 0.45rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
}

.product-card__title-link {
  color: var(--heading);
  text-decoration: none;
  transition: color 0.25s ease;
}

.product-card__title-link:hover {
  color: var(--green-mid);
}

.product-card__excerpt {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dim);
  text-decoration: none;
  transition: color 0.25s ease;
}

.product-card__more:hover {
  color: var(--gold, #c6a962);
}

.product-card__arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.product-card__more:hover .product-card__arrow {
  transform: rotate(45deg) translate(2px, -2px);
}

/* CTA block at bottom of catalog pages */
.catalog-page__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  background: linear-gradient(135deg, var(--green-soft) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-sm);
}

.catalog-page__cta-text {
  margin: 0;
  max-width: 28rem;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--heading);
}

@media (min-width: 1100px) {
  .catalog-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: #fff;
  border: 1px solid rgba(15, 41, 35, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 41, 35, 0.06);
}

.product-detail__gallery {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-muted, #eee);
}

.product-detail__gallery .media-carousel__track {
  aspect-ratio: 4/3;
}

.product-detail__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-detail__meta {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.product-detail__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.25;
}

.product-detail__excerpt {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(15, 41, 35, 0.62);
}

.product-detail__specs {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.product-detail__specs li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  color: rgba(15, 41, 35, 0.72);
}

.product-detail__specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.product-detail__actions .btn-outline {
  padding: 0.65rem 1.25rem;
}

/* Contacts page */
.page--contacts {
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 22%, var(--bg) 100%);
}

.contacts-page__intro {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.contacts-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.5vw, 1rem);
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.contacts-quick__card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  text-align: left;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 41, 35, 0.08);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(15, 41, 35, 0.05);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

button.contacts-quick__card {
  width: 100%;
  font: inherit;
  cursor: pointer;
}

.contacts-quick__card:hover,
.contacts-quick__card:focus-visible {
  border-color: rgba(166, 124, 46, 0.35);
  box-shadow: 0 12px 32px rgba(15, 41, 35, 0.1);
  transform: translateY(-2px);
}

.contacts-quick__card--wa .contacts-quick__icon {
  background: rgba(37, 211, 102, 0.12);
  color: #1a9e4b;
}

.contacts-quick__card--cta {
  background: linear-gradient(145deg, #1a3d33 0%, var(--green-deep) 100%);
  border-color: rgba(201, 160, 74, 0.35);
  color: #fff;
}

.contacts-quick__card--cta .contacts-quick__label {
  color: rgba(255, 255, 255, 0.55);
}

.contacts-quick__card--cta .contacts-quick__value {
  color: var(--gold-mid);
}

.contacts-quick__card--cta .contacts-quick__icon {
  background: rgba(201, 160, 74, 0.18);
  color: var(--gold-mid);
}

.contacts-quick__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(166, 124, 46, 0.1);
  color: var(--gold-dim);
  font-size: 1rem;
}

.contacts-quick__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.contacts-quick__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15, 41, 35, 0.45);
}

.contacts-quick__value {
  font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--green-deep);
  word-break: break-word;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.contacts-panel {
  height: 100%;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: #fff;
  border: 1px solid rgba(15, 41, 35, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 41, 35, 0.06);
}

.contacts-panel__title {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-deep);
}

.contacts-panel__desc {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(15, 41, 35, 0.55);
}

.contacts-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contacts-info-list--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
}

.contacts-info-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contacts-info-list i {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(166, 124, 46, 0.1);
  color: var(--gold-dim);
  font-size: 0.85rem;
}

.contacts-info-list strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 41, 35, 0.45);
}

.contacts-info-list span,
.contacts-info-list a {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--green-deep);
}

.contacts-info-list a:hover {
  color: var(--gold-dim);
}

.contacts-team {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: #fff;
  border: 1px solid rgba(15, 41, 35, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 41, 35, 0.06);
}

.contacts-team__head {
  margin-bottom: 1rem;
}

.contacts-team__lead {
  margin-bottom: 0;
}

.team-cards--contacts {
  max-width: none;
  margin-inline: 0;
  flex: 1;
  align-content: start;
}

.team-cards--contacts .person-card {
  padding: 1.1rem 1.15rem;
  height: 100%;
}

.team-cards--contacts .person-phone a {
  color: var(--green-deep);
  text-decoration: none;
  font-weight: 500;
}

.team-cards--contacts .person-phone a:hover {
  color: var(--gold-dim);
}

.contacts-map {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.contacts-map__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}

.contacts-map__head .contacts-panel__title {
  margin: 0;
}

.contacts-map__lead {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(15, 41, 35, 0.52);
}

.contacts-map__frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 41, 35, 0.08);
  box-shadow: 0 8px 32px rgba(15, 41, 35, 0.06);
  background: #e8e4dc;
}

.contacts-map__frame iframe {
  display: block;
  width: 100%;
  height: min(440px, 58vh);
  border: 0;
}

@media (max-width: 1024px) {
  .catalog-shell {
    grid-template-columns: 1fr;
  }

  .catalog-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .catalog-aside__subs {
    max-height: 12rem;
  }

  .catalog-category-hero {
    grid-template-columns: 1fr;
  }

  .catalog-category-hero__media,
  .catalog-category-hero__media .media-carousel__track,
  .catalog-category-hero__media img {
    min-height: clamp(220px, 52vw, 320px);
  }

  .catalog-category-hero__subs--quad,
  .catalog-category-hero__subs--dense {
    grid-template-columns: 1fr;
  }

  .product-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .contacts-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-info-list--grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .catalog-aside {
    grid-template-columns: 1fr;
  }

  .catalog-cats {
    grid-template-columns: 1fr;
  }

  .catalog-cat-card {
    min-height: 15rem;
  }

  .catalog-sub__head {
    grid-template-columns: auto 1fr;
  }

  .catalog-sub__link {
    grid-column: 1 / -1;
  }

  .product-grid--catalog,
  .product-grid--catalog.product-grid--two {
    grid-template-columns: 1fr;
  }

  .product-grid--catalog.product-grid--one .product-card {
    grid-template-columns: 1fr;
  }

  .product-detail__actions {
    flex-direction: column;
  }

  .product-detail__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contacts-quick {
    grid-template-columns: 1fr;
  }

  .contacts-map__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ——— Design services (MIHON DESIGN) ——— */
.design-page__hero {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 46rem;
}

.design-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: start;
}

.design-page__col {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  min-width: 0;
}

.design-block {
  padding: clamp(1.35rem, 2.8vw, 2rem);
  background: var(--bg-elev, #fff);
  border: 1px solid var(--line, rgba(15, 41, 35, 0.08));
  border-radius: calc(var(--radius-md, 12px) + 2px);
  box-shadow: var(--shadow-sm, 0 4px 24px rgba(15, 41, 35, 0.06));
}

.design-block--brand {
  background: linear-gradient(145deg, rgba(15, 41, 35, 0.05), rgba(198, 169, 98, 0.1));
  border-color: rgba(198, 169, 98, 0.28);
}

.design-block--experience {
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.design-block__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep, #0f2923);
  border-bottom: 1px solid rgba(15, 41, 35, 0.08);
}

.design-block__title::before {
  content: "";
  flex-shrink: 0;
  width: 3px;
  height: 1.1em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-mid, #c6a962), var(--green-mid, #1a4d3f));
}

.design-block__subtitle {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-deep, #0f2923);
}

.design-block__lead {
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: rgba(15, 41, 35, 0.8);
}

.design-block p {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(15, 41, 35, 0.76);
}

.design-block p:last-child {
  margin-bottom: 0;
}

.design-tagline {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--green-deep, #0f2923);
  background: rgba(198, 169, 98, 0.12);
  border-radius: var(--radius-sm, 8px);
  border-left: 3px solid var(--gold-mid, #c6a962);
}

.design-part + .design-part {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(15, 41, 35, 0.07);
}

.design-part__label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 41, 35, 0.55);
}

.design-brands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.75rem, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.design-brands li {
  margin: 0;
  min-width: 0;
}

.design-brands__chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  word-break: break-word;
  hyphens: auto;
  color: var(--green-deep, #0f2923);
  background: linear-gradient(180deg, #fff, rgba(15, 41, 35, 0.03));
  border: 1px solid rgba(15, 41, 35, 0.1);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-brands__chip:hover {
  border-color: rgba(198, 169, 98, 0.45);
  box-shadow: 0 4px 12px rgba(15, 41, 35, 0.06);
}

.design-projects {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.design-projects li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(15, 41, 35, 0.82);
  background: rgba(15, 41, 35, 0.025);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.design-projects li:hover {
  background: rgba(198, 169, 98, 0.08);
  border-color: rgba(198, 169, 98, 0.2);
}

.design-projects__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.05rem;
  font-size: 0.7rem;
  color: var(--gold-dim, #9a7b3c);
  background: rgba(198, 169, 98, 0.15);
  border-radius: 6px;
}

.design-projects__badge {
  flex-shrink: 0;
  margin-left: auto;
  padding: 0.12rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green-deep, #0f2923);
  background: rgba(198, 169, 98, 0.35);
  border-radius: 4px;
}

.design-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.design-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.85rem 0.75rem;
  text-align: left;
  background: linear-gradient(160deg, rgba(15, 41, 35, 0.04), rgba(198, 169, 98, 0.08));
  border: 1px solid rgba(15, 41, 35, 0.08);
  border-radius: 10px;
}

.design-metric__value {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green-deep, #0f2923);
}

.design-metric__unit {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-dim, #9a7b3c);
}

.design-metric__label {
  font-size: 0.7rem;
  line-height: 1.35;
  color: rgba(15, 41, 35, 0.62);
}

.design-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(15, 41, 35, 0.78);
}

.design-list li {
  position: relative;
  padding-left: 0;
}

.design-list li + li {
  margin-top: 0.45rem;
}

.design-list--checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.35rem 0;
  line-height: 1.5;
}

.design-list--checks li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  font-size: 0.55rem;
  color: var(--green-deep, #0f2923);
  background: rgba(198, 169, 98, 0.25);
  border-radius: 50%;
}

.design-list--dots li {
  position: relative;
  padding-left: 1rem;
}

.design-list--dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-mid, #c6a962);
}

.design-note {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line, rgba(15, 41, 35, 0.08));
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(15, 41, 35, 0.62);
}

.design-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid rgba(198, 169, 98, 0.45);
}

.design-timeline li {
  position: relative;
  padding: 0 0 1.1rem 1.1rem;
}

.design-timeline li:last-child {
  padding-bottom: 0;
}

.design-timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-mid, #c6a962);
  box-shadow: 0 0 0 3px rgba(198, 169, 98, 0.25);
}

.design-timeline__year {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-dim, #9a7b3c);
}

.design-timeline__text {
  display: block;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(15, 41, 35, 0.8);
}

.design-page__cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  background: var(--bg-elev, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-sm);
}

.design-page__cta p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: rgba(15, 41, 35, 0.72);
}

.nav-dropdown__sep {
  height: 1px;
  margin: 0.35rem 0.5rem;
  background: rgba(15, 41, 35, 0.1);
  list-style: none;
}

.nav-dropdown__item--design .nav-dropdown__icon {
  background: linear-gradient(135deg, rgba(198, 169, 98, 0.2), rgba(15, 41, 35, 0.08));
  color: var(--gold-dim, #9a7b3c);
}

.nav-dropdown__item--design[aria-current="page"] {
  background: rgba(198, 169, 98, 0.12);
}

.mobile-nav__cat--design {
  border-top: 1px solid rgba(15, 41, 35, 0.08);
  margin-top: 0.35rem;
  padding-top: 0.65rem;
}

.footer-nav__design {
  font-weight: 600;
  color: var(--gold-dim, #9a7b3c) !important;
}

.catalog-sub__visual {
  margin-bottom: 1rem;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  aspect-ratio: 21/9;
}

.catalog-sub__visual .media-carousel,
.catalog-sub__visual .media-carousel__viewport,
.catalog-sub__visual .media-carousel__track {
  height: 100%;
  min-height: 100%;
}

.catalog-sub__visual .media-carousel__track {
  aspect-ratio: unset;
}

@media (max-width: 900px) {
  .design-page__grid {
    grid-template-columns: 1fr;
  }

  .design-metrics {
    grid-template-columns: 1fr;
  }

  .design-metric {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
  }

  .design-metric__label {
    flex: 1 1 100%;
  }

  .design-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .design-brands {
    grid-template-columns: 1fr 1fr;
  }

  .design-projects__badge {
    margin-left: 0;
    margin-top: 0.25rem;
  }

  .design-projects li {
    flex-wrap: wrap;
  }
}
