.button {
  display: inline-grid;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-button);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.button--gold {
  width: 280px;
  height: 64px;
  color: #fff;
  background: var(--color-brand-gold);
  box-shadow: var(--shadow-hero-button);
}

.button--green {
  height: 42px;
  padding-inline: 22px;
  color: #fff;
  background: var(--color-brand-green-strong);
}

.button:hover {
  filter: brightness(1.06);
}

.benefit {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  height: 88px;
  padding-inline: 34px 24px;
}

.benefit + .benefit {
  border-left: 1px solid #dbd6cb;
}

.benefit__icon {
  width: 54px;
  height: 50px;
  flex: 0 0 54px;
  object-fit: contain;
}

.benefit__text {
  color: #173a2d;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.category-card {
  position: relative;
  height: 218px;
  overflow: hidden;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.category-card__image {
  width: 100%;
  height: 162px;
  object-fit: cover;
}

.category-card__title {
  padding: 12px 16px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
}

.product-card {
  position: relative;
  height: 410px;
  overflow: hidden;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.product-card__image {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.availability {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  width: 112px;
  height: 26px;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: var(--color-success);
  font-size: 11px;
  font-weight: 600;
  line-height: 11px;
}

.availability--low {
  background: var(--color-low-stock);
}

.product-card__title {
  position: absolute;
  top: 207px;
  left: 16px;
  width: calc(100% - 32px);
  height: 48px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.product-card__sku {
  position: absolute;
  top: 262px;
  left: 16px;
  width: calc(100% - 32px);
  color: rgb(99 105 99 / 70%);
  font-size: 11px;
  line-height: 13px;
}

.product-card__price {
  position: absolute;
  top: 294px;
  left: 16px;
  width: calc(100% - 32px);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.product-card__button {
  position: absolute;
  bottom: 22px;
  left: 16px;
  min-width: 132px;
}

.article-card {
  position: relative;
  width: 410px;
  height: 394px;
  overflow: hidden;
  border: var(--border-default);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.article-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-card__category,
.article-card__title,
.article-card__excerpt,
.article-card__meta,
.article-card__link {
  position: absolute;
}

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

.article-card__title {
  top: 222px;
  right: 16px;
  left: 16px;
  height: 52px;
  overflow: hidden;
  font-size: 18px;
  font-weight: 600;
  line-height: 23px;
}

.article-card__excerpt {
  top: 282px;
  right: 16px;
  left: 16px;
  height: 58px;
  overflow: hidden;
  color: rgb(99 105 99 / 88%);
  font-size: 13px;
  line-height: 19px;
}

.article-card__meta {
  bottom: 18px;
  left: 16px;
  color: rgb(99 105 99 / 72%);
  font-size: 12px;
  line-height: 16px;
}

.article-card__link {
  right: 16px;
  bottom: 14px;
  color: var(--color-brand-green-strong);
  font-size: 13px;
  font-weight: 600;
  line-height: 24px;
}

.mobile-menu {
  position: fixed;
  z-index: 50;
  top: 76px;
  right: 0;
  left: 0;
  display: none;
  height: calc(100dvh - 76px);
  overflow-y: auto;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.mobile-menu[data-open="true"] {
  display: block;
}

.mobile-menu__inner {
  width: min(calc(100% - 40px), 350px);
  margin-inline: auto;
  padding-block: 8px 24px;
}

.mobile-menu__nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  font-weight: 500;
}

.mobile-menu__contacts {
  display: grid;
  gap: 8px;
  padding-block: 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}

.mobile-menu__socials {
  display: flex;
  gap: 12px;
  padding-top: 20px;
}

.mobile-menu__socials .social-link {
  width: 44px;
  height: 44px;
  padding: 4px;
}

.menu-button {
  position: absolute;
  top: 16px;
  right: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border-radius: var(--radius-button);
  color: var(--color-brand-green);
  background: transparent;
  cursor: pointer;
}

.menu-button__icon,
.menu-button__icon::before,
.menu-button__icon::after {
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.menu-button__icon {
  position: relative;
  transition: background-color 160ms ease;
}

.menu-button__icon::before,
.menu-button__icon::after {
  position: absolute;
  left: 0;
  content: "";
  transition: transform 160ms ease, top 160ms ease;
}

.menu-button__icon::before {
  top: -6px;
}

.menu-button__icon::after {
  top: 6px;
}

.menu-button[aria-expanded="true"] .menu-button__icon {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-button__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button__icon::after {
  top: 0;
  transform: rotate(-45deg);
}
