.catalog-page {
  background: #fbf9f4;
}

.catalog-main {
  min-height: 1248px;
}

.catalog-breadcrumbs {
  height: 66px;
  color: #777c77;
  font-size: 13px;
  line-height: 17px;
}

.catalog-breadcrumbs .container {
  display: flex;
  gap: 8px;
  padding-top: 26px;
}

.catalog-breadcrumbs a {
  color: var(--color-brand-green-strong);
}

.catalog-heading {
  height: 94px;
}

.catalog-heading h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 46px;
}

.catalog-content {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  height: 904px;
}

.catalog-sidebar {
  height: 884px;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: #fff;
}

.filters-form {
  position: relative;
  height: 100%;
  padding: 16px;
}

.filters-form h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 23px;
}

.filters-result {
  margin-top: 4px;
  color: #92958f;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.filter-group {
  border: 0;
}

.filter-group legend,
.filter-select > span {
  display: block;
  width: 100%;
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

.filter-group label,
.filter-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  color: #2b312e;
  font-size: 12px;
  line-height: 16px;
  cursor: pointer;
}

.filter-group input,
.filter-stock input,
.mobile-filter-stock input {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  accent-color: var(--color-brand-green-strong);
}

.filter-group--categories {
  margin-top: 12px;
}

.filter-group--categories legend {
  margin-bottom: 4px;
}

.filter-group--categories label + label {
  margin-top: 4px;
}

.filter-group--grade {
  margin-top: 18px;
}

.filter-group--grade legend {
  margin-bottom: 4px;
}

.filter-group--grade label + label {
  margin-top: 2px;
}

.filter-group--thickness {
  display: grid;
  grid-template-columns: 96px 96px;
  column-gap: 16px;
  margin-top: 6px;
}

.filter-group--thickness legend {
  margin-bottom: 4px;
}

.filter-group--thickness label {
  margin-bottom: 6px;
}

.filter-select {
  display: block;
  margin-top: 8px;
}

.filter-select + .filter-select {
  margin-top: 14px;
}

.filter-select select,
.catalog-sort select,
.mobile-sort select,
.mobile-filter-field select {
  width: 100%;
  border: var(--border-default);
  border-radius: var(--radius-input);
  color: var(--color-text-primary);
  background-color: #fff;
  font: inherit;
}

.filter-select select {
  height: 42px;
  margin-top: 4px;
  padding: 0 12px;
  font-size: 13px;
  line-height: 42px;
}

.filter-stock {
  margin-top: 12px;
  font-size: 13px;
}

.filters-apply {
  width: 228px;
  height: 44px;
  margin-top: 16px;
}

.filters-reset {
  width: 228px;
  height: 28px;
  margin-top: 8px;
  color: var(--color-brand-green-strong);
  background: transparent;
  font-size: 13px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

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

.catalog-controls {
  display: grid;
  grid-template-columns: 708px 228px;
  gap: 24px;
  width: 960px;
  height: 44px;
}

.catalog-search {
  position: relative;
}

.catalog-search input {
  width: 100%;
  height: 44px;
  padding: 0 42px 0 14px;
  border: var(--border-default);
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
}

.catalog-search input::placeholder {
  color: #979b96;
}

.search-icon {
  position: absolute;
  top: 17px;
  right: 16px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--color-brand-green-strong);
  border-radius: 50%;
  pointer-events: none;
}

.search-icon::after {
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 4px;
  height: 1.5px;
  transform: rotate(-45deg);
  background: var(--color-brand-green-strong);
  content: "";
}

.catalog-sort select {
  height: 44px;
  padding: 0 12px;
  font-size: 14px;
}

.mobile-filter-row {
  display: none;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 304px);
  gap: 24px;
  margin-top: 16px;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  height: 184px;
  padding-top: 104px;
}

.catalog-pagination a {
  display: grid;
  width: 40px;
  height: 40px;
  border: var(--border-default);
  border-radius: 4px;
  place-items: center;
  background: #fff;
  font-size: 14px;
  line-height: 14px;
}

.catalog-pagination a[aria-current="page"] {
  border-color: var(--color-brand-green-strong);
  color: #fff;
  background: var(--color-brand-green-strong);
}

.catalog-pagination a[aria-disabled="true"],
.articles-pagination a[aria-disabled="true"] {
  color: var(--color-text-secondary);
  cursor: default;
}

.filter-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  overflow-y: auto;
  background: rgb(2 37 25 / 35%);
}

.filter-overlay[data-open="true"] {
  display: block;
}

.filter-panel {
  width: min(390px, 100%);
  min-height: 784px;
  margin: 0 auto;
  background: #f9f7f1;
}

.filter-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 20px;
}

.filter-panel__header h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.filter-panel__close {
  position: relative;
  width: 44px;
  height: 44px;
  color: var(--color-brand-green-strong);
  background: transparent;
  cursor: pointer;
}

.filter-panel__close span::before,
.filter-panel__close span::after {
  position: absolute;
  top: 21px;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  content: "";
}

.filter-panel__close span::before { transform: rotate(45deg); }
.filter-panel__close span::after { transform: rotate(-45deg); }

.mobile-filters-form {
  padding: 12px 20px 48px;
}

.mobile-filter-field {
  display: block;
  margin-bottom: 14px;
}

.mobile-filter-field > span,
.mobile-grade legend {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
}

.mobile-filter-field select {
  height: 48px;
  padding: 0 14px;
  font-size: 15px;
  line-height: 48px;
}

.mobile-grade {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  border: 0;
}

.mobile-grade legend {
  width: 100%;
}

.mobile-grade label {
  cursor: pointer;
}

.mobile-grade input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mobile-grade span {
  display: grid;
  width: 64px;
  height: 44px;
  border: var(--border-default);
  border-radius: var(--radius-button);
  place-items: center;
  background: #fff;
  font-size: 14px;
}

.mobile-grade label:first-of-type span {
  width: 70px;
}

.mobile-grade input:checked + span {
  border-color: var(--color-brand-green-strong);
  color: #fff;
  background: var(--color-brand-green-strong);
}

.mobile-grade input:focus-visible + span {
  outline: 2px solid var(--color-brand-gold);
  outline-offset: 3px;
}

.mobile-filter-stock {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  margin-top: 4px;
  font-size: 15px;
  cursor: pointer;
}

.mobile-filter-stock input {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.mobile-filter-apply {
  width: 100%;
  height: 48px;
  margin-top: 20px;
}

.mobile-filter-reset {
  width: 100%;
  height: 44px;
  margin-top: 14px;
  border: var(--border-default);
  border-radius: var(--radius-button);
  color: var(--color-brand-green-strong);
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

body.filter-open {
  overflow: hidden;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .catalog-main { min-height: 0; }
  .catalog-breadcrumbs, .catalog-heading { height: auto; }
  .catalog-breadcrumbs .container,
  .catalog-heading,
  .catalog-content {
    width: min(calc(100% - 64px), 960px);
    margin-inline: auto;
  }
  .catalog-breadcrumbs .container { padding-block: 24px 12px; }
  .catalog-heading { padding-bottom: 24px; }
  .catalog-heading h1 { font-size: 36px; line-height: 42px; }
  .catalog-content { display: block; height: auto; }
  .catalog-sidebar { display: none; }
  .catalog-controls { display: block; width: 100%; }
  .catalog-search { width: 100%; }
  .catalog-sort { display: none; }
  .mobile-filter-row {
    display: grid;
    grid-template-columns: 160px minmax(220px, 280px);
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
  }
  .mobile-filter-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 44px;
    border: 1px solid #d6d3c7;
    border-radius: var(--radius-button);
    background: #fff;
    font-size: 15px;
    cursor: pointer;
  }
  .mobile-sort select { height: 44px; padding-inline: 12px; font-size: 15px; }
  .mobile-result { grid-column: 1 / -1; color: var(--color-text-secondary); font-size: 13px; }
  .filter-icon { position: relative; width: 16px; height: 12px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
  .filter-icon::after { position: absolute; top: 4px; left: 3px; width: 10px; height: 1.5px; background: currentColor; content: ""; }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 350px));
    justify-content: center;
    gap: 24px;
  }
  .catalog-pagination {
    width: min(calc(100% - 64px), 960px);
    height: 120px;
    margin-inline: auto;
    padding-top: 40px;
  }
}

@media (max-width: 767px) {
  .catalog-main { min-height: 2712px; }
  .catalog-breadcrumbs { height: 44px; }
  .catalog-breadcrumbs .container,
  .catalog-heading,
  .catalog-controls,
  .mobile-filter-row,
  .catalog-page .catalog-grid,
  .catalog-pagination {
    width: calc(100% - 40px);
    max-width: 350px;
    margin-inline: auto;
  }
  .catalog-breadcrumbs .container { gap: 8px; padding-top: 8px; line-height: 28px; }
  .catalog-heading { height: 64px; padding-top: 8px; }
  .catalog-heading h1 { font-size: 28px; line-height: 34px; }
  .catalog-page .catalog-content { display: block; width: 100%; max-width: none; height: 2516px; margin-inline: 0; }
  .catalog-sidebar { display: none; }
  .catalog-controls { display: block; height: 64px; padding: 8px 0 12px; }
  .catalog-search { width: 100%; height: 44px; }
  .catalog-search input { height: 44px; font-size: 15px; }
  .catalog-sort { display: none; }
  .mobile-filter-row { display: grid; grid-template-columns: minmax(0, 156fr) minmax(0, 182fr); gap: 0 12px; height: 92px; padding: 4px 0 0; }
  .mobile-filter-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 44px; border: 1px solid #d6d3c7; border-radius: var(--radius-button); background: #fff; font-size: 15px; cursor: pointer; }
  .filter-icon { position: relative; width: 16px; height: 12px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
  .filter-icon::after { position: absolute; top: 4px; left: 3px; width: 10px; height: 1.5px; background: currentColor; content: ""; }
  .mobile-sort select { width: 100%; height: 44px; padding: 0 12px; font-size: 15px; }
  .mobile-result { grid-column: 1 / -1; height: 24px; margin-top: 10px; color: #868a84; font-size: 13px; line-height: 18px; }
  .catalog-page .catalog-products { width: 100%; }
  .catalog-page .catalog-grid {
    display: grid;
    grid-template-columns: minmax(0, min(350px, 100%));
    justify-content: center;
    gap: 16px;
    width: calc(100% - 40px);
    max-width: 350px;
    height: 2360px;
    margin-top: 0;
    padding-inline: 0;
  }
  .catalog-page .product-card { width: 350px; max-width: 100%; height: 380px; margin-inline: auto; }
  .catalog-page .product-card__image { height: 170px; }
  .catalog-page .product-card__title { top: 188px; height: 48px; font-size: 16px; line-height: 21px; }
  .catalog-page .product-card__sku { top: 240px; height: 20px; font-size: 12px; line-height: 16px; }
  .catalog-page .product-card__price { top: 270px; height: 30px; font-size: 21px; line-height: 26px; }
  .catalog-page .product-card__button { bottom: 16px; min-width: 138px; height: 44px; }
  .catalog-pagination { gap: 4px; max-width: 100%; height: 88px; padding-top: 18px; }
  .catalog-pagination a { width: 44px; height: 44px; }
}

/* Articles listing */
.articles-page,
.articles-main {
  background: #f9f7f1;
}

.articles-breadcrumbs {
  height: 70px;
  color: rgb(99 105 99 / 82%);
  font-size: 13px;
  line-height: 17px;
}

.articles-breadcrumbs .container {
  display: flex;
  gap: 8px;
  padding-top: 26px;
}

.articles-breadcrumbs a {
  color: var(--color-brand-green-strong);
}

.articles-intro {
  height: 146px;
}

.articles-intro h1 {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 54px;
}

.articles-intro__lead {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.articles-intro__secondary {
  margin-top: 10px;
  color: rgb(99 105 99 / 80%);
  font-size: 14px;
  line-height: 20px;
}

.featured-article-section {
  height: 340px;
}

.featured-article {
  display: grid;
  grid-template-columns: 620px minmax(0, 1fr);
  height: 340px;
  overflow: hidden;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.featured-article__image {
  width: 620px;
  height: 340px;
  object-fit: cover;
}

.featured-article__content {
  position: relative;
  border-left: var(--border-default);
  padding: 38px 38px 16px;
}

.featured-article__category {
  color: var(--color-brand-gold);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.featured-article h2 {
  width: 560px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 42px;
}

.featured-article__excerpt {
  width: 550px;
  height: 64px;
  margin-top: 18px;
  overflow: hidden;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 23px;
}

.featured-article__meta {
  margin-top: 12px;
  color: rgb(99 105 99 / 72%);
  font-size: 12px;
  line-height: 16px;
}

.featured-article__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
}

.featured-article__actions .button {
  width: 156px;
  height: 42px;
  padding-inline: 0;
}

.featured-article__catalog-link {
  color: var(--color-brand-green-strong);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.article-categories {
  height: 120px;
  padding-top: 40px;
}

.article-categories__scroller {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  height: 44px;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.article-categories__scroller::-webkit-scrollbar {
  display: none;
}

.article-categories button {
  height: 36px;
  flex: 0 0 auto;
  padding-inline: 18px;
  border: var(--border-default);
  border-radius: 18px;
  background: var(--color-surface);
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
  cursor: pointer;
}

.article-categories button[aria-pressed="true"] {
  border-color: var(--color-brand-green-strong);
  color: #fff;
  background: var(--color-brand-green-strong);
  font-weight: 600;
}

.articles-list {
  display: grid;
  grid-template-columns: repeat(3, 410px);
  gap: 24px 25px;
  height: 1230px;
}

.articles-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  height: 146px;
  padding-top: 48px;
}

.articles-pagination a {
  display: grid;
  width: 40px;
  height: 40px;
  border: var(--border-default);
  border-radius: var(--radius-button);
  place-items: center;
  background: #fff;
  font-size: 14px;
  line-height: 14px;
}

.articles-pagination a[aria-current="page"] {
  border-color: var(--color-brand-green-strong);
  color: #fff;
  background: var(--color-brand-green-strong);
  font-weight: 600;
}

.articles-seo {
  height: 180px;
  padding: 26px 28px 0;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: #f0ece3;
}

.articles-seo h2 {
  padding-top: 0;
  font-size: 24px;
  line-height: 30px;
}

.articles-seo p {
  width: 990px;
  min-height: 54px;
  margin-top: 16px;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 23px;
}

.articles-seo > div {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}

.articles-seo a {
  color: var(--color-brand-green-strong);
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
}

@media (min-width: 1200px) {
  .articles-main { height: 2288px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .articles-main { padding-bottom: 48px; }
  .articles-breadcrumbs .container,
  .articles-intro,
  .featured-article,
  .article-categories__scroller,
  .articles-list,
  .articles-seo {
    width: min(calc(100% - 64px), 960px);
  }
  .articles-intro { height: auto; padding-bottom: 28px; }
  .featured-article-section { height: auto; }
  .featured-article { grid-template-columns: minmax(320px, 46%) minmax(0, 1fr); }
  .featured-article__image { width: 100%; }
  .featured-article__content { padding: 30px 28px 16px; }
  .featured-article h2,
  .featured-article__excerpt { width: 100%; }
  .featured-article h2 { font-size: 29px; line-height: 36px; }
  .featured-article__actions { gap: 18px; }
  .article-categories__scroller { overflow-x: auto; scrollbar-width: none; }
  .article-categories__scroller::-webkit-scrollbar { display: none; }
  .articles-list { grid-template-columns: repeat(2, minmax(0, 410px)); justify-content: center; height: auto; }
  .article-card { width: 100%; }
  .articles-pagination { height: 128px; padding-top: 44px; }
  .articles-seo { height: auto; min-height: 180px; padding: 26px 28px; background-clip: border-box; }
  .articles-seo h2 { padding-top: 0; }
  .articles-seo p { width: min(760px, 100%); }
}

@media (max-width: 767px) {
  .articles-main { height: 5116px; }
  .articles-breadcrumbs { height: 44px; font-size: 13px; line-height: 18px; }
  .articles-breadcrumbs .container { width: min(calc(100% - 40px), 350px); gap: 8px; padding-top: 13px; }
  .articles-intro.container { width: min(calc(100% - 40px), 350px); height: 220px; padding-top: 22px; }
  .articles-intro h1 { font-size: 36px; line-height: 43px; }
  .articles-intro__lead { margin-top: 12px; font-size: 16px; line-height: 24px; }
  .articles-intro__secondary { margin-top: 12px; font-size: 14px; line-height: 21px; }
  .featured-article-section { height: 650px; padding-top: 20px; }
  .featured-article.container { display: block; width: min(calc(100% - 40px), 350px); height: 610px; }
  .featured-article__image { width: 100%; height: 230px; }
  .featured-article__content { height: 380px; border-top: 0; border-left: 0; padding: 18px; }
  .featured-article h2 { width: 100%; margin-top: 12px; font-size: 26px; line-height: 32px; }
  .featured-article__excerpt { width: 100%; height: 86px; margin-top: 18px; font-size: 15px; line-height: 22px; }
  .featured-article__meta { margin-top: 14px; }
  .featured-article__actions { display: block; margin-top: 18px; }
  .featured-article__actions .button { width: 152px; height: 44px; }
  .featured-article__catalog-link { display: block; margin-top: 18px; line-height: 20px; }
  .article-categories { height: 76px; padding-top: 16px; overflow: hidden; }
  .article-categories__scroller.container { width: auto; height: 44px; margin-left: 20px; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .article-categories__scroller::-webkit-scrollbar { display: none; }
  .article-categories button { height: 44px; padding-inline: 16px; border-radius: 22px; }
  .articles-list.container { grid-template-columns: minmax(0, 350px); justify-content: center; gap: 16px; width: 100%; height: 3650px; padding: 20px 20px 10px; }
  .article-card { width: 350px; max-width: 100%; height: 388px; }
  .article-card__image { height: 164px; }
  .article-card__category { top: 180px; }
  .article-card__title { top: 204px; height: 66px; }
  .article-card__excerpt { top: 280px; height: 66px; font-size: 15px; line-height: 22px; }
  .article-card__meta { bottom: 10px; line-height: 20px; }
  .article-card__link { bottom: 10px; line-height: 22px; }
  .articles-pagination { gap: 4px; height: 88px; padding-top: 22px; }
  .articles-pagination a { width: 44px; height: 44px; border-radius: 4px; }
  .articles-seo.container { width: 100%; height: 388px; padding: 20px; border: 0; border-radius: 0; background: transparent; }
  .articles-seo::before { position: absolute; z-index: 0; inset: 20px; border-radius: var(--radius-card); background: #f0ece3; content: ""; }
  .articles-seo { position: relative; }
  .articles-seo h2,
  .articles-seo p,
  .articles-seo > div { position: relative; z-index: 1; margin-inline: 18px; }
  .articles-seo h2 { padding-top: 20px; font-size: 24px; line-height: 30px; }
  .articles-seo p { width: auto; margin-top: 12px; font-size: 15px; line-height: 23px; }
  .articles-seo > div { display: grid; gap: 8px; margin-top: 10px; }
  .articles-seo a { line-height: 20px; }
}

/* About page */
.about-page,
.about-main {
  background: #fbf9f4;
}

.about-main {
  height: 2894px;
}

.about-breadcrumbs {
  height: 66px;
  color: rgb(99 105 99 / 82%);
  font-size: 13px;
  line-height: 17px;
}

.about-breadcrumbs .container {
  display: flex;
  gap: 8px;
  padding-top: 26px;
}

.about-breadcrumbs a {
  color: var(--color-brand-green-strong);
}

.company-hero {
  position: relative;
  height: 430px;
  overflow: hidden;
  border-radius: var(--radius-image);
  color: #fff;
  background-color: var(--color-brand-green);
  background-image:
    linear-gradient(90deg, rgb(2 37 25 / 96%) 0%, rgb(2 37 25 / 79%) 35%, rgb(2 37 25 / 12%) 78%),
    url("../images/company/warehouse.1f4cf19ecec1.png");
  background-position: center;
  background-size: cover;
}

.company-hero__content {
  width: 640px;
  padding-top: 56px;
  margin-left: 48px;
}

.company-hero__eyebrow,
.production-section__eyebrow {
  color: var(--color-brand-gold);
  font-size: 13px;
  line-height: 18px;
}

.company-hero h1 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 50px;
  line-height: 58px;
}

.company-hero__lead {
  width: 600px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 28px;
}

.company-hero__secondary {
  width: 610px;
  margin-top: 24px;
  color: rgb(255 255 255 / 86%);
  font-size: 15px;
  line-height: 23px;
}

.about-company {
  position: relative;
  height: 320px;
  margin-top: 48px;
}

.about-company__copy {
  width: 720px;
}

.about-company h2,
.why-aspenwood h2,
.buy-steps > h2,
.contact-location > h2,
.company-details > h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
}

.about-company__accent {
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 18px;
  background: var(--color-brand-gold);
}

.about-company p {
  margin-top: 25px;
  font-size: 16px;
  line-height: 25px;
}

.about-company p + p {
  margin-top: 20px;
}

.about-company__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 460px;
  height: 300px;
  border-radius: var(--radius-image);
  background: var(--color-surface);
  object-fit: contain;
}

.why-aspenwood {
  height: 360px;
  margin-top: 36px;
  background: #f0ece3;
}

.why-aspenwood .container {
  padding-top: 48px;
}

.why-aspenwood__grid {
  display: grid;
  grid-template-columns: repeat(4, 304px);
  justify-content: space-between;
  margin-top: 30px;
}

.why-card {
  height: 190px;
  padding: 18px;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.why-card__header {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 44px;
}

.why-card__icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
}

.why-card__icon img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}

.why-card h3 {
  font-size: 16px;
  line-height: 21px;
}

.why-card p {
  margin-top: 16px;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 19px;
}

.production-section {
  position: relative;
  height: 500px;
  margin-top: 36px;
  overflow: hidden;
  border-radius: var(--radius-image);
  color: #fff;
  background-color: var(--color-brand-green);
  background-image:
    linear-gradient(90deg, rgb(2 37 25 / 96%) 0%, rgb(2 37 25 / 78%) 38%, rgb(2 37 25 / 14%) 78%),
    url("../images/hero/hero-home.a0d630b31093.png");
  background-position: center;
  background-size: cover;
}

.production-section__content {
  width: 650px;
  padding-top: 54px;
  margin-left: 48px;
}

.production-section__eyebrow {
  font-size: 12px;
  line-height: 17px;
}

.production-section h2 {
  margin-top: 19px;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 48px;
}

.production-section__text {
  width: 610px;
  margin-top: 24px;
  color: rgb(255 255 255 / 90%);
  font-size: 16px;
  line-height: 24px;
}

.production-section__points {
  display: grid;
  grid-template-columns: repeat(2, 272px);
  column-gap: 28px;
  row-gap: 30px;
  margin-top: 28px;
  font-size: 14px;
  line-height: 24px;
}

.production-section__points li::before {
  display: inline-block;
  width: 28px;
  color: var(--color-brand-gold);
  font-weight: 700;
  content: "✓";
}

.buy-steps {
  height: 282px;
  margin-top: 44px;
}

.buy-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 304px);
  justify-content: space-between;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.step-card {
  height: 184px;
  padding: 14px 18px 0;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.step-card__header {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 14px;
  height: 44px;
  border-bottom: 1px solid rgb(209 204 191 / 65%);
}

.step-card__header span {
  color: var(--color-brand-gold);
  font-size: 22px;
  font-weight: 700;
  line-height: 26px;
}

.step-card h3 {
  font-size: 17px;
  line-height: 22px;
}

.step-card > p {
  margin-top: 15px;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 20px;
}

.contact-location {
  height: 394px;
  margin-top: 40px;
}

.contact-location__grid {
  display: grid;
  grid-template-columns: 500px 748px;
  gap: 32px;
  margin-top: 22px;
}

.company-contacts,
.location-card,
.company-details__list {
  border: var(--border-default);
  border-radius: var(--radius-card);
}

.company-contacts {
  position: relative;
  height: 330px;
  padding: 22px;
  font-style: normal;
  background: var(--color-surface);
}

.company-contacts__field > span,
.company-contacts__messengers > span,
.company-contacts__placeholders dt {
  display: block;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 18px;
}

.company-contacts__phone,
.company-contacts__email {
  display: block;
  margin-top: 6px;
  font-weight: 600;
}

.company-contacts__phone {
  font-size: 20px;
  line-height: 25px;
}

.company-contacts__email {
  font-size: 17px;
  line-height: 22px;
}

.company-contacts__field + .company-contacts__field {
  margin-top: 16px;
}

.company-contacts__messengers {
  margin-top: 14px;
}

.company-contacts__messengers > div {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.company-contacts__messengers .social-link {
  width: 36px;
  height: 36px;
}

.company-contacts__messengers .button {
  width: 174px;
  height: 40px;
  margin-left: 4px;
}

.company-contacts__placeholders {
  position: absolute;
  right: 22px;
  bottom: 10px;
  left: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding-top: 12px;
  border-top: 1px solid #e4e1da;
}

.company-contacts__placeholders dd {
  margin: 4px 0 0;
  color: rgb(14 19 17 / 58%);
  font-size: 14px;
  line-height: 19px;
}

.location-card {
  height: 330px;
  padding: 22px 28px 0;
  background: #f0ece3;
}

.location-card h3 {
  font-size: 24px;
  line-height: 30px;
}

.location-card__placeholder,
.about-map {
  position: relative;
  display: grid;
  width: 100%;
  height: 222px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: var(--radius-image);
  place-items: center;
  background: #f9f7f1;
}

.about-map__fallback {
  display: grid;
  gap: 8px;
  max-width: calc(100% - 48px);
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.about-map__fallback strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

.location-card__marker {
  position: absolute;
  top: 46px;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgb(199 154 74 / 55%);
  border-radius: 50%;
  color: var(--color-brand-gold);
  background: var(--color-surface);
  font-size: 30px;
  line-height: 30px;
}

.location-card__placeholder p {
  margin-top: 80px;
  color: rgb(99 105 99 / 68%);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.company-details {
  height: 254px;
  margin-top: 36px;
}

.company-details__list {
  height: 190px;
  margin-top: 22px;
  padding-inline: 18px;
  background: var(--color-surface);
}

.company-details__list > div {
  display: grid;
  grid-template-columns: 312px 1fr;
  align-items: center;
  height: 38px;
  border-bottom: 1px solid rgb(209 204 191 / 50%);
  font-size: 13px;
  line-height: 18px;
}

.company-details__list > div:last-child {
  border-bottom: 0;
}

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

.company-details dd {
  margin: 0;
  color: rgb(14 19 17 / 58%);
}

@media (min-width: 1200px) {
  .about-company h2 { width: 760px; white-space: nowrap; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .about-main { height: auto; }
  .about-breadcrumbs .container,
  .company-hero,
  .about-company,
  .why-aspenwood .container,
  .production-section,
  .buy-steps,
  .contact-location,
  .company-details {
    width: min(calc(100% - 64px), 960px);
    margin-inline: auto;
  }
  .about-breadcrumbs { height: 66px; }
  .company-hero { height: 430px; }
  .about-company { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .75fr); gap: 40px; height: auto; min-height: 320px; }
  .about-company__copy { width: auto; }
  .about-company__image { position: static; width: 100%; height: 300px; }
  .why-aspenwood { height: auto; padding-bottom: 48px; }
  .why-aspenwood__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .why-card { height: 160px; }
  .production-section { height: 500px; }
  .buy-steps { height: auto; padding-bottom: 40px; }
  .buy-steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .contact-location { height: auto; }
  .contact-location__grid { grid-template-columns: 1fr; }
  .company-contacts { width: min(500px, 100%); }
  .location-card { width: 100%; }
  .company-details { height: auto; margin-bottom: 48px; }
}

@media (max-width: 767px) {
  .about-main { height: 4450px; }
  .about-breadcrumbs { height: 44px; font-size: 13px; line-height: 18px; }
  .about-breadcrumbs .container { width: min(calc(100% - 40px), 350px); gap: 8px; padding-top: 13px; }
  .company-hero.container { width: 100%; height: 470px; padding: 20px; }
  .company-hero { border-radius: 0; background: none; }
  .company-hero::before { position: absolute; inset: 20px; border-radius: var(--radius-image); background-color: var(--color-brand-green); background-image: linear-gradient(90deg, rgb(2 37 25 / 95%) 0%, rgb(2 37 25 / 78%) 48%, rgb(2 37 25 / 20%) 100%), url("../images/company/warehouse.1f4cf19ecec1.png"); background-position: 57% center; background-size: cover; content: ""; }
  .company-hero__content { position: relative; width: calc(100% - 40px); max-width: 310px; padding-top: 14px; margin-left: 20px; }
  .company-hero__eyebrow { font-size: 12px; line-height: 18px; }
  .company-hero h1 { margin-top: 16px; font-size: 36px; line-height: 43px; }
  .company-hero__lead { width: 100%; margin-top: 20px; font-size: 16px; line-height: 24px; }
  .company-hero__secondary { width: 100%; margin-top: 22px; font-size: 14px; line-height: 22px; }
  .about-company.container { display: flex; width: min(350px, calc(100% - 40px)); height: 700px; flex-direction: column; margin: 0 auto; padding: 28px 0 35px; }
  .about-company__copy { width: 100%; }
  .about-company h2 { font-size: 28px; line-height: 34px; }
  .about-company__accent { width: 56px; margin-top: 12px; }
  .about-company p { margin-top: 19px; font-size: 15px; line-height: 23px; }
  .about-company p + p { margin-top: 16px; }
  .about-company__image { position: static; display: block; width: 350px; max-width: 100%; height: 206px; margin: auto auto 0; object-fit: cover; }
  .why-aspenwood { height: 706px; margin-top: 0; }
  .why-aspenwood .container { width: min(350px, calc(100% - 40px)); margin-inline: auto; padding: 28px 0 0; }
  .why-aspenwood h2 { width: 350px; max-width: 100%; margin-inline: auto; font-size: 28px; line-height: 34px; }
  .why-aspenwood__grid { width: 350px; max-width: 100%; grid-template-columns: minmax(0, 350px); gap: 12px; margin: 18px auto 0; }
  .why-card { width: 350px; max-width: 100%; height: 130px; margin-inline: auto; padding: 14px 16px; }
  .why-card__header { gap: 12px; height: 40px; }
  .why-card h3 { font-size: 16px; line-height: 20px; }
  .why-card p { margin-top: 12px; font-size: 14px; line-height: 20px; }
  .production-section.container { width: 100%; height: 600px; padding: 20px; margin-top: 0; border-radius: 0; background: none; }
  .production-section::before { position: absolute; inset: 20px; border-radius: var(--radius-image); background-color: var(--color-brand-green); background-image: linear-gradient(90deg, rgb(2 37 25 / 96%) 0%, rgb(2 37 25 / 76%) 56%, rgb(2 37 25 / 18%) 100%), url("../images/hero/hero-home.a0d630b31093.png"); background-position: 63% center; background-size: cover; content: ""; }
  .production-section__content { position: relative; width: calc(100% - 40px); max-width: 310px; padding-top: 14px; margin-left: 20px; }
  .production-section__eyebrow { font-size: 11px; line-height: 17px; }
  .production-section h2 { margin-top: 17px; font-size: 32px; line-height: 39px; }
  .production-section__text { width: 100%; margin-top: 14px; font-size: 15px; line-height: 23px; }
  .production-section__points { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; font-size: 15px; line-height: 28px; }
  .production-section__points li::before { width: 28px; }
  .buy-steps.container { width: min(350px, calc(100% - 40px)); height: 740px; padding: 28px 0 0; margin: 0 auto; }
  .buy-steps > h2 { font-size: 28px; line-height: 34px; }
  .buy-steps__grid { grid-template-columns: minmax(0, 350px); gap: 12px; margin-top: 14px; }
  .step-card { width: 350px; max-width: 100%; height: 146px; padding: 14px 16px 0; }
  .step-card__header { grid-template-columns: 40px 1fr; gap: 12px; height: 45px; }
  .step-card h3 { font-size: 16px; line-height: 22px; }
  .step-card > p { margin-top: 14px; font-size: 14px; line-height: 20px; }
  .contact-location.container { position: relative; width: min(350px, calc(100% - 40px)); height: 770px; padding: 26px 0 0; margin: 0 auto; }
  .contact-location > h2 { font-size: 28px; line-height: 34px; }
  .contact-location__grid { display: block; margin-top: 14px; }
  .company-contacts { width: 350px; max-width: 100%; height: 334px; padding: 16px 18px; }
  .company-contacts__field + .company-contacts__field { margin-top: 14px; }
  .company-contacts__phone { font-size: 20px; line-height: 25px; }
  .company-contacts__email { font-size: 17px; line-height: 23px; }
  .company-contacts__messengers { margin-top: 12px; }
  .company-contacts__messengers > div { gap: 14px; margin-top: 8px; }
  .company-contacts__messengers .button { width: 208px; height: 44px; margin-left: 6px; }
  .company-contacts__placeholders { right: 18px; bottom: 16px; left: 18px; grid-template-columns: minmax(0, 142fr) minmax(0, 148fr); gap: 24px; padding-top: 12px; }
  .location-card { position: absolute; top: 440px; left: 0; display: block; width: 100%; height: 330px; padding: 24px 0 0; border: 0; border-radius: 0; background: transparent; }
  .location-card h3 { font-size: 28px; line-height: 34px; }
  .location-card__placeholder,
  .about-map { width: 350px; max-width: 100%; height: 220px; margin-top: 22px; }
  .location-card__marker { top: 35px; }
  .location-card__placeholder p { width: 282px; max-width: calc(100% - 68px); margin-top: 80px; }
  .company-details.container { width: min(350px, calc(100% - 40px)); height: 420px; padding: 24px 0 0; margin: 0 auto; }
  .company-details > h2 { font-size: 28px; line-height: 34px; }
  .company-details__list { height: 314px; margin-top: 16px; padding-inline: 16px; }
  .company-details__list > div { display: block; height: 61px; padding-top: 8px; font-size: 13px; line-height: 18px; }
  .company-details__list dt { height: 18px; }
  .company-details__list dd { margin-top: 5px; font-size: 14px; line-height: 20px; }
}

@media (max-width: 374px) {
  .mobile-filter-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .mobile-filter-button, .mobile-sort select, .catalog-page .product-card { width: 100%; }
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-pagination { gap: 2px; }
  .catalog-pagination a { width: 42px; height: 44px; }
}

/* Product detail */
.product-page,
.product-main-page {
  background: #fbf9f4;
}

.product-main-page {
  position: relative;
  padding-bottom: 48px;
}

.product-breadcrumbs {
  height: 68px;
  color: #777c77;
  font-size: 12px;
  line-height: 16px;
}

.product-breadcrumbs .container {
  display: flex;
  gap: 8px;
  overflow: hidden;
  padding-top: 26px;
  white-space: nowrap;
}

.product-breadcrumbs a {
  color: var(--color-brand-green-strong);
}

.product-main-layout {
  display: grid;
  grid-template-columns: 700px 532px;
  gap: 48px;
  height: 622px;
}

.product-gallery {
  width: 700px;
  height: 620px;
}

.product-gallery__main {
  width: 700px;
  height: 500px;
  padding: 20px;
  overflow: hidden;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: #fff;
}

.product-gallery__main img {
  width: 660px;
  height: 460px;
  object-fit: cover;
}

.product-gallery__strip {
  display: grid;
  grid-template-columns: 36px 596px 36px;
  gap: 16px;
  width: 700px;
  height: 96px;
  margin-top: 16px;
}

.product-gallery__thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 140px);
  gap: 12px;
}

.gallery-thumbnail {
  width: 140px;
  height: 96px;
  padding: 8px;
  overflow: hidden;
  border: var(--border-default);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.gallery-thumbnail img {
  width: 124px;
  height: 80px;
  object-fit: cover;
}

.gallery-thumbnail.is-active {
  border-color: var(--color-brand-green-strong);
}

.gallery-arrow {
  align-self: center;
  width: 36px;
  height: 36px;
  border: var(--border-default);
  border-radius: 5px;
  color: var(--color-brand-green-strong);
  background: #fff;
  cursor: pointer;
}

.product-info {
  position: relative;
  width: 532px;
  height: 622px;
}

.product-info h1 {
  width: 532px;
  font-size: 38px;
  font-weight: 700;
  line-height: 44px;
}

.product-info__sku {
  margin-top: 6px;
  color: #8a8e89;
  font-size: 13px;
  line-height: 17px;
}

.product-status {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 24px;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

.product-status__state {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-status__dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--color-success);
}

.product-status__stock {
  color: #656b66;
}

.product-info__updated {
  margin-top: 2px;
  color: #9a9d98;
  font-size: 12px;
  line-height: 16px;
}

.product-info__price {
  margin-top: 10px;
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
}

.product-info__package {
  display: none;
}

.product-contact {
  position: absolute;
  top: 232px;
  left: 0;
  width: 532px;
  height: 124px;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: #fff;
}

.product-contact__helper {
  position: absolute;
  top: 12px;
  left: 16px;
  width: 500px;
  font-size: 13px;
  line-height: 19px;
}

.product-contact__phone {
  position: absolute;
  top: 54px;
  left: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.product-contact__button {
  position: absolute;
  top: 78px;
  left: 16px;
  width: 150px;
  height: 36px;
}

.product-contact__socials {
  position: absolute;
  right: 16px;
  bottom: 9px;
  display: flex;
  gap: 12px;
}

.product-contact__socials .social-link {
  width: 36px;
  height: 36px;
}

.product-specs {
  position: absolute;
  top: 374px;
  left: 0;
  width: 532px;
  height: 248px;
  padding: 12px 16px 10px;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: #fff;
}

.product-specs h2 {
  height: 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.product-specs dl {
  margin-top: 6px;
}

.product-specs dl div {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  height: 28px;
  border-bottom: 1px solid #e4e1da;
  font-size: 12px;
  line-height: 16px;
}

.product-specs dl div:last-child {
  border-bottom: 0;
}

.product-specs dt {
  color: #858a85;
}

.product-specs dd {
  margin: 0;
  font-weight: 500;
}

.product-tabs {
  display: flex;
  gap: 32px;
  height: 58px;
  margin-top: 24px;
  border-bottom: 1px solid #dfddd6;
}

.product-tabs [role="tab"] {
  position: relative;
  display: grid;
  width: 118px;
  height: 48px;
  place-items: center start;
  padding: 0;
  color: inherit;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  cursor: pointer;
}

.product-tabs [role="tab"]:nth-child(2) { width: 164px; }
.product-tabs [role="tab"]:nth-child(3) { width: 100px; }

.product-tabs [role="tab"].is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--color-brand-green-strong);
  content: "";
}

.product-tab-panel[hidden] {
  display: none;
}

.product-characteristics {
  min-height: 248px;
}

.product-characteristics .container {
  padding-top: 12px;
}

.product-characteristics h2 {
  height: 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.product-characteristics dl {
  width: 532px;
  margin-top: 6px;
  padding: 0 16px 10px;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: #fff;
}

.product-characteristics dl div {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  height: 28px;
  border-bottom: 1px solid #e4e1da;
  font-size: 12px;
  line-height: 16px;
}

.product-characteristics dl div:last-child {
  border-bottom: 0;
}

.product-characteristics dt {
  color: #858a85;
}

.product-characteristics dd {
  margin: 0;
  font-weight: 500;
}

.product-description {
  height: 220px;
}

.product-description .container {
  padding-top: 12px;
}

.product-description p {
  width: 940px;
  font-size: 16px;
  line-height: 25px;
}

.product-description ul {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 24px;
}

.product-description li::before {
  display: inline-block;
  width: 32px;
  color: var(--color-brand-green-strong);
  font-weight: 700;
  content: "✓";
}

.product-reviews {
  min-height: 180px;
}

.product-reviews .container {
  padding-top: 28px;
}

.product-reviews h2 {
  font-size: 22px;
  line-height: 28px;
}

.product-reviews p {
  margin-top: 8px;
  color: #777c77;
  font-size: 15px;
  line-height: 23px;
}

.related-products {
  height: 474px;
  margin-top: 20px;
}

.related-products h2 {
  height: 40px;
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
}

.related-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 304px);
  justify-content: space-between;
  margin-top: 24px;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .product-breadcrumbs .container,
  .product-main-layout,
  .product-tabs,
  .product-characteristics .container,
  .product-description .container,
  .related-products .container {
    width: min(calc(100% - 64px), 960px);
    margin-inline: auto;
  }
  .product-breadcrumbs { height: auto; }
  .product-breadcrumbs .container { padding-block: 24px 18px; }
  .product-main-layout { display: block; height: auto; }
  .product-gallery { margin-inline: auto; }
  .product-info { width: min(700px, 100%); height: 622px; margin: 32px auto 0; }
  .product-info h1 { width: 100%; }
  .product-contact, .product-specs { width: 100%; }
  .product-tabs { margin-top: 32px; }
  .product-characteristics { min-height: 248px; }
  .product-characteristics dl { width: min(532px, 100%); }
  .product-description { height: auto; min-height: 220px; }
  .product-description p { width: min(940px, 100%); }
  .related-products { height: auto; padding-block: 32px 48px; }
  .related-products__grid { grid-template-columns: repeat(2, minmax(0, 350px)); justify-content: center; gap: 24px; }
}

@media (max-width: 767px) {
  .product-main-page { padding-bottom: 0; }
  .product-breadcrumbs { height: 44px; font-size: 13px; line-height: 18px; }
  .product-breadcrumbs .container { width: calc(100% - 40px); max-width: 350px; gap: 7px; padding-top: 8px; line-height: 28px; }
  .product-breadcrumbs__desktop { display: none; }
  .product-main-layout.container { display: block; width: calc(100% - 40px); max-width: 350px; height: 776px; margin-inline: auto; }
  .product-gallery { width: 100%; height: 366px; padding-top: 8px; }
  .product-gallery__main { width: 100%; max-width: 350px; height: 270px; margin-inline: auto; padding: 12px; }
  .product-gallery__main img { width: 100%; height: 246px; }
  .product-gallery__strip { display: block; width: 100%; max-width: 350px; height: 64px; margin: 12px auto 0; }
  .product-gallery__thumbnails { grid-template-columns: repeat(4, minmax(0, 80px)); justify-content: space-between; gap: 10px; }
  .gallery-thumbnail { width: 80px; max-width: 100%; height: 60px; padding: 4px; }
  .gallery-thumbnail img { width: 100%; height: 52px; }
  .gallery-arrow { display: none; }
  .product-info { width: 100%; height: 410px; padding: 16px 0 0; }
  .product-info h1 { width: 100%; font-size: 28px; line-height: 34px; }
  .product-info__sku { margin-top: 2px; }
  .product-status { margin-top: 4px; }
  .product-info__updated { margin-top: 4px; }
  .product-info__price { margin-top: 10px; }
  .product-info__package { display: block; margin-top: 0; font-size: 14px; line-height: 19px; }
  .product-contact { top: 258px; left: 0; width: 100%; height: 132px; }
  .product-contact__helper { top: 10px; width: calc(100% - 32px); }
  .product-contact__button { top: 82px; width: 138px; height: 44px; }
  .product-contact__socials { right: 16px; bottom: 10px; gap: 16px; }
  .product-specs--desktop { display: none; }
  .product-tabs { gap: 4px; width: 100%; height: 56px; margin-top: 0; padding-inline: 20px; }
  .product-tabs [role="tab"] { width: 96px; height: 52px; }
  .product-tabs [role="tab"]:nth-child(2) { width: 166px; }
  .product-tabs [role="tab"]:nth-child(3) { width: 80px; }
  .product-tabs [role="tab"].is-active::after { height: 2px; }
  .product-characteristics { min-height: 354px; }
  .product-characteristics .container { width: calc(100% - 40px); max-width: 350px; padding-top: 10px; }
  .product-characteristics h2 { height: 40px; font-size: 28px; line-height: 34px; }
  .product-characteristics dl { width: 100%; height: 280px; margin-top: 8px; border: var(--border-default); border-radius: var(--radius-card); background: #fff; }
  .product-characteristics dl div { display: grid; grid-template-columns: 176px 1fr; align-items: center; height: 40px; padding-inline: 14px; font-size: 14px; line-height: 19px; }
  .product-characteristics dl div:not(:last-child) { border-bottom: 1px solid #e4e1da; }
  .product-characteristics dt { color: #858a85; }
  .product-characteristics dd { margin: 0; font-weight: 500; }
  .product-description { height: 306px; scroll-margin-top: 16px; }
  .product-description .container { width: calc(100% - 40px); max-width: 350px; padding-top: 18px; }
  .product-description p { width: 100%; font-size: 16px; line-height: 25px; }
  .product-description ul { gap: 8px; margin-top: 8px; line-height: 30px; }
  .product-reviews { min-height: 190px; }
  .product-reviews .container { width: calc(100% - 40px); max-width: 350px; padding-top: 28px; }
  .product-reviews h2 { font-size: 22px; line-height: 28px; }
  .related-products { height: 1668px; margin-top: 0; padding-top: 18px; }
  .related-products .container { width: 100%; }
  .related-products h2 { width: calc(100% - 40px); max-width: 350px; height: 42px; margin-inline: auto; font-size: 28px; line-height: 34px; }
  .related-products__grid { grid-template-columns: minmax(0, min(350px, 100%)); justify-content: center; gap: 16px; width: calc(100% - 40px); max-width: 350px; margin: 16px auto 0; }
  .product-page .related-products .product-card { width: 350px; max-width: 100%; height: 380px; margin-inline: auto; }
  .product-page .related-products .product-card__image { height: 170px; }
  .product-page .related-products .product-card__title { top: 188px; height: 48px; font-size: 16px; line-height: 21px; }
  .product-page .related-products .product-card__sku { top: 240px; height: 20px; font-size: 12px; line-height: 16px; }
  .product-page .related-products .product-card__price { top: 270px; height: 30px; font-size: 21px; line-height: 26px; }
  .product-page .related-products .product-card__button { bottom: 16px; min-width: 138px; height: 44px; }
}

/* Article detail */
.article-page,
.article-main {
  background: var(--color-background);
}

.article-page h3 {
  margin: 0;
}

.article-breadcrumbs {
  height: 70px;
  color: rgb(99 105 99 / 82%);
  font-size: 13px;
  line-height: 17px;
}

.article-breadcrumbs .container {
  display: flex;
  gap: 8px;
  padding-top: 26px;
  white-space: nowrap;
}

.article-breadcrumbs a,
.article-context-link {
  color: var(--color-brand-green-strong);
}

.article-header {
  height: 176px;
}

.article-header__category {
  color: var(--color-brand-gold);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.article-header h1 {
  width: 1080px;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 54px;
}

.article-header__lead {
  width: 900px;
  margin-top: 8px;
  font-size: 18px;
  line-height: 27px;
}

.article-header__meta {
  display: flex;
  gap: 22px;
  margin-top: 2px;
  color: var(--color-text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.article-lead-image {
  height: 440px;
  margin-top: 24px;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: var(--radius-image);
}

.article-lead-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-layout {
  display: grid;
  grid-template-columns: 860px 360px;
  grid-template-rows: auto 1fr;
  gap: 60px;
  row-gap: 0;
  height: auto;
  min-height: 2060px;
  margin-top: 50px;
}

.article-sections {
  min-width: 0;
}

.article-intro {
  grid-column: 1;
  grid-row: 1;
}

.article-sections {
  grid-column: 1;
  grid-row: 2;
}

.article-intro,
.article-section,
.article-summary {
  width: 800px;
}

.article-intro {
  height: auto;
  min-height: 76px;
  font-size: 17px;
  line-height: 28px;
}

.article-section h2,
.article-summary h2 {
  height: 38px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 34px;
}

.article-section > p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 26px;
}

.article-section--grade { height: auto; min-height: 430px; margin-top: 24px; }
.article-section--sizes { height: auto; min-height: 290px; margin-top: 30px; }
.article-section--wood { height: auto; min-height: 250px; margin-top: 40px; }
.article-section--buying { height: auto; min-height: 220px; margin-top: 40px; }
.article-section--storage { height: auto; min-height: 160px; margin-top: 40px; }
.article-section--installation { height: auto; min-height: 180px; margin-top: 40px; }
.article-summary { height: auto; min-height: 190px; margin-top: 40px; }

.article-table-wrap {
  width: 800px;
  height: auto;
  margin-top: 14px;
  overflow: visible;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.article-comparison {
  width: 100%;
  height: auto;
  border-collapse: collapse;
  table-layout: fixed;
}

.article-comparison tr {
  height: 80px;
}

.article-comparison tr + tr {
  border-top: 1px solid #e4e1da;
}

.article-comparison th,
.article-comparison td {
  padding: 12px 18px;
  text-align: left;
  vertical-align: middle;
}

.article-comparison th {
  width: 148px;
  font-size: 15px;
  font-weight: 600;
  line-height: 21px;
}

.article-comparison td {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 23px;
}

.article-context-link {
  display: inline-flex;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.article-check-card,
.article-buying-checklist {
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.article-check-card {
  display: grid;
  align-content: center;
  gap: 8px;
  height: 140px;
  margin-top: 14px;
  padding: 14px 18px;
}

.article-check-card li,
.article-buying-checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 23px;
}

.article-check-card li::before,
.article-buying-checklist li::before {
  position: absolute;
  left: 0;
  color: var(--color-brand-green-strong);
  font-weight: 700;
  content: "✓";
}

.article-materials {
  display: grid;
  grid-template-columns: repeat(3, 256px);
  gap: 16px;
  margin-top: 26px;
}

.article-materials section {
  height: 150px;
  padding: 16px;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.article-materials h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.article-materials p {
  margin-top: 10px;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 22px;
}

.article-buying-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 40px;
  height: 144px;
  margin-top: 26px;
  padding: 10px 18px;
}

.article-buying-checklist li {
  display: flex;
  align-items: center;
}

.article-section--storage .article-context-link,
.article-section--installation .article-context-link {
  margin-top: 8px;
}

.article-summary p {
  height: auto;
  min-height: 124px;
  margin-top: 20px;
  padding: 22px;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: #f0ece3;
  font-size: 16px;
  line-height: 25px;
}

.article-sidebar {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
}

.article-toc,
.article-catalog-cta {
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.article-toc {
  height: auto;
  min-height: 358px;
  padding: 18px;
}

.article-toc h2,
.article-catalog-cta h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
}

.article-toc a {
  display: flex;
  align-items: center;
  height: 44px;
  border-bottom: 1px solid #e4e1da;
  font-size: 13px;
  line-height: 18px;
}

.article-toc a:last-child {
  border-bottom: 0;
}

.article-catalog-cta {
  height: auto;
  min-height: 220px;
  margin-top: 24px;
  padding: 20px 18px;
  background: #f0ece3;
}

.article-catalog-cta p {
  margin-top: 12px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 21px;
}

.article-catalog-cta .button {
  width: 172px;
  margin-top: 14px;
  padding-inline: 0;
}

.article-catalog-cta .article-context-link {
  display: flex;
  margin-top: 10px;
}

.article-related-products {
  height: 474px;
  margin-top: 48px;
}

.article-related-products h2,
.article-read-also h2 {
  height: 40px;
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
}

.article-related-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 304px);
  justify-content: space-between;
  margin-top: 24px;
}

.article-read-also {
  height: 458px;
  margin-top: 58px;
  margin-bottom: 58px;
}

.article-read-also__grid {
  display: grid;
  grid-template-columns: repeat(3, 410px);
  justify-content: space-between;
  margin-top: 24px;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .article-breadcrumbs .container,
  .article-header,
  .article-lead-image,
  .article-layout,
  .article-related-products,
  .article-read-also {
    width: min(calc(100% - 64px), 960px);
  }

  .article-breadcrumbs { height: 64px; }
  .article-breadcrumbs .container { overflow: hidden; }
  .article-header { height: auto; padding-bottom: 30px; }
  .article-header h1 { width: 100%; font-size: 42px; line-height: 50px; }
  .article-header__lead { width: min(900px, 100%); }
  .article-lead-image { height: 380px; margin-top: 0; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto auto; gap: 0 32px; height: auto; margin-top: 42px; }
  .article-intro, .article-section, .article-summary, .article-table-wrap { width: 100%; }
  .article-intro { height: auto; }
  .article-sections { display: grid; gap: 40px; margin-top: 28px; }
  .article-section, .article-summary { height: auto; margin-top: 0; }
  .article-section h2, .article-summary h2 { height: auto; }
  .article-materials { grid-template-columns: 1fr; gap: 12px; }
  .article-materials section { height: auto; min-height: 112px; }
  .article-buying-checklist { height: auto; min-height: 144px; }
  .article-summary p { height: auto; min-height: 124px; }
  .article-related-products { height: auto; margin-top: 48px; }
  .article-related-products__grid { grid-template-columns: repeat(2, minmax(0, 350px)); justify-content: center; gap: 24px; }
  .article-read-also { height: auto; margin-block: 58px; }
  .article-read-also__grid { grid-template-columns: repeat(2, minmax(0, 410px)); justify-content: center; gap: 24px; }
}

@media (max-width: 767px) {
  .article-breadcrumbs { height: 44px; font-size: 13px; line-height: 18px; }
  .article-breadcrumbs .container { width: min(calc(100% - 40px), 350px); gap: 7px; padding-top: 13px; overflow: hidden; }
  .article-breadcrumbs span[aria-current="page"] { overflow: hidden; text-overflow: ellipsis; }

  .article-header.container { width: min(calc(100% - 40px), 350px); height: 340px; padding-top: 20px; }
  .article-header h1 { width: 100%; margin-top: 12px; font-size: 34px; line-height: 41px; }
  .article-header__lead { width: 100%; margin-top: 10px; font-size: 15px; line-height: 23px; }
  .article-header__meta { gap: 12px; margin-top: 14px; }

  .article-lead-image.container { width: min(calc(100% - 40px), 350px); height: 210px; margin-top: 20px; }
  .article-lead-image img { object-position: center; }

  .article-layout.container { display: flex; flex-direction: column; gap: 0; width: 100%; height: auto; margin-top: 20px; }
  .article-intro { order: 1; width: min(calc(100% - 40px), 350px); height: 180px; margin-inline: auto; padding-top: 28px; font-size: 15px; line-height: 24px; }
  .article-sidebar { display: contents; }
  .article-toc { order: 2; width: min(calc(100% - 40px), 350px); height: auto; min-height: 340px; margin: 20px auto; padding: 18px; }
  .article-toc a { height: 44px; font-size: 14px; line-height: 20px; }
  .article-catalog-cta { order: 3; width: min(calc(100% - 40px), 350px); height: auto; min-height: 220px; margin: 15px auto; }
  .article-catalog-cta .button { height: 44px; }
  .article-sections { order: 4; width: 100%; }

  .article-section,
  .article-summary {
    width: min(calc(100% - 40px), 350px);
    margin-inline: auto;
    padding-top: 28px;
  }

  .article-section h2,
  .article-summary h2 { height: auto; font-size: 25px; line-height: 31px; }
  .article-section > p { margin-top: 12px; font-size: 15px; line-height: 24px; }
  .article-section--grade { height: auto; min-height: 660px; margin-top: 0; }
  .article-section--sizes { height: auto; min-height: 510px; margin-top: 0; }
  .article-section--wood { height: auto; min-height: 570px; margin-top: 0; }
  .article-section--buying { height: auto; min-height: 487px; margin-top: 0; }
  .article-section--storage { height: auto; min-height: 320px; margin-top: 0; }
  .article-section--installation { height: auto; min-height: 300px; margin-top: 0; }
  .article-summary { height: auto; min-height: 280px; margin-top: 0; }

  .article-section--grade h2,
  .article-section--sizes h2,
  .article-section--wood h2 { min-height: 66px; }
  .article-section--buying h2 { min-height: 93px; }
  .article-section--storage h2 { min-height: 66px; }
  .article-section--installation h2,
  .article-summary h2 { min-height: 40px; }
  .article-section--grade > p { min-height: 96px; }
  .article-section--sizes > p { min-height: 116px; }
  .article-section--storage > p,
  .article-section--installation > p { min-height: 112px; }

  .article-table-wrap { width: 100%; height: auto; min-height: 360px; margin-top: 16px; overflow-x: auto; overflow-y: visible; }
  .article-comparison, .article-comparison tbody, .article-comparison tr, .article-comparison th, .article-comparison td { display: block; width: 100%; }
  .article-comparison tr { height: auto; min-height: 108px; padding: 16px; }
  .article-comparison th, .article-comparison td { padding: 0; }
  .article-comparison td { margin-top: 6px; font-size: 14px; line-height: 21px; }
  .article-section--grade .article-context-link { margin-top: 24px; }

  .article-check-card { height: 236px; margin-top: 16px; padding: 14px 16px; gap: 10px; }
  .article-check-card li { padding-left: 28px; font-size: 14px; line-height: 21px; }
  .article-materials { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
  .article-materials section { height: 132px; padding: 16px; }
  .article-materials p { font-size: 15px; line-height: 22px; }
  .article-buying-checklist { grid-template-columns: 1fr; grid-auto-rows: 47px; height: 310px; margin-top: 16px; padding: 14px 16px; }
  .article-buying-checklist li { font-size: 15px; line-height: 22px; }
  .article-section--storage .article-context-link,
  .article-section--installation .article-context-link { width: 100%; margin-top: 18px; line-height: 21px; }
  .article-summary p { height: auto; min-height: 164px; margin-top: 16px; padding: 18px; font-size: 15px; line-height: 24px; }

  .article-related-products.container { width: 100%; height: 1680px; margin-top: 0; padding-top: 28px; }
  .article-related-products h2,
  .article-read-also h2 { width: min(calc(100% - 40px), 350px); height: 40px; margin-inline: auto; font-size: 28px; line-height: 34px; }
  .article-related-products__grid { grid-template-columns: minmax(0, min(350px, 100%)); justify-content: center; gap: 16px; width: min(calc(100% - 40px), 350px); margin: 16px auto 0; }
  .article-page .article-related-products .product-card { width: 350px; max-width: 100%; height: 380px; margin-inline: auto; }
  .article-page .article-related-products .product-card__image { height: 170px; }
  .article-page .article-related-products .product-card__title { top: 188px; height: 48px; font-size: 16px; line-height: 21px; }
  .article-page .article-related-products .product-card__sku { top: 240px; height: 20px; font-size: 12px; line-height: 16px; }
  .article-page .article-related-products .product-card__price { top: 270px; height: 30px; font-size: 21px; line-height: 26px; }
  .article-page .article-related-products .product-card__button { bottom: 16px; min-width: 138px; height: 44px; }

  .article-read-also.container { width: 100%; height: 1296px; margin: 0; padding-top: 28px; }
  .article-read-also__grid { grid-template-columns: minmax(0, min(350px, 100%)); justify-content: center; gap: 16px; width: min(calc(100% - 40px), 350px); margin: 16px auto 0; }
}

@media (max-width: 374px) {
  .article-header.container,
  .article-intro,
  .article-toc,
  .article-catalog-cta,
  .article-section,
  .article-summary,
  .article-related-products.container,
  .article-read-also.container {
    height: auto;
    min-height: 0;
  }

  .article-header,
  .article-intro,
  .article-toc,
  .article-catalog-cta,
  .article-section,
  .article-summary,
  .article-related-products,
  .article-read-also {
    padding-bottom: 32px;
  }
}
