:root {
  --fresh-catalog-ink: #18231f;
  --fresh-catalog-muted: #66716d;
  --fresh-catalog-accent: #a2e3cd;
  --fresh-catalog-accent-dark: #477c6b;
  --fresh-catalog-surface: #ffffff;
  --fresh-catalog-soft: #f3f8f6;
  --fresh-catalog-line: #dfe9e5;
}

.fresh-tilda-store-disabled[hidden] {
  display: none !important;
}

.fresh-tilda-cart-disabled[hidden] {
  display: none !important;
}

.fresh-catalog-native-record,
.fresh-catalog-shell {
  box-sizing: border-box;
  width: 100%;
}

.fresh-catalog,
.fresh-catalog * {
  box-sizing: border-box;
}

.fresh-catalog {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  color: var(--fresh-catalog-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.fresh-catalog--archive {
  padding: 54px 0 80px;
}

.fresh-catalog__header {
  max-width: 760px;
  margin: 0 0 32px;
}

.fresh-catalog__eyebrow {
  margin: 0 0 8px;
  color: var(--fresh-catalog-accent-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fresh-catalog__title {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
}

.fresh-catalog__lead {
  margin: 16px 0 0;
  color: var(--fresh-catalog-muted);
  font-size: 17px;
  line-height: 1.55;
}

.fresh-catalog__tools {
  margin: 0 0 24px;
}

.fresh-catalog__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.fresh-catalog__search-label {
  flex: 1 1 280px;
  max-width: 420px;
}

.fresh-catalog__search {
  width: 100%;
  height: 50px;
  padding: 0 18px;
  border: 1px solid var(--fresh-catalog-line);
  border-radius: 12px;
  background: var(--fresh-catalog-surface);
  color: var(--fresh-catalog-ink);
  font: inherit;
  font-size: 16px;
  outline: none;
}

.fresh-catalog__sort-label {
  flex: 0 1 290px;
}

.fresh-catalog__sort {
  width: 100%;
  height: 50px;
  padding: 0 42px 0 16px;
  border: 1px solid var(--fresh-catalog-line);
  border-radius: 12px;
  background: var(--fresh-catalog-surface);
  color: var(--fresh-catalog-ink);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.fresh-catalog__search:focus,
.fresh-catalog__sort:focus {
  border-color: var(--fresh-catalog-accent-dark);
  box-shadow: 0 0 0 3px rgba(162, 227, 205, .35);
}

.fresh-catalog-breadcrumbs {
  margin: 0 0 24px;
  color: var(--fresh-catalog-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.fresh-catalog-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fresh-catalog-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fresh-catalog-breadcrumbs li:not(:last-child)::after {
  content: '/';
  color: var(--fresh-catalog-accent-dark);
}

.fresh-catalog-breadcrumbs a {
  color: var(--fresh-catalog-accent-dark);
  text-decoration: none;
}

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

.fresh-catalog-breadcrumbs [aria-current='page'] {
  color: var(--fresh-catalog-ink);
}

.fresh-catalog__filters {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-bottom: 5px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.fresh-catalog__filter {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--fresh-catalog-line);
  border-radius: 999px;
  background: var(--fresh-catalog-surface);
  color: var(--fresh-catalog-ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.fresh-catalog__filter:hover,
.fresh-catalog__filter.is-active {
  border-color: var(--fresh-catalog-accent);
  background: var(--fresh-catalog-accent);
}

.fresh-catalog__result-count {
  margin: 0 0 18px;
  color: var(--fresh-catalog-muted);
  font-size: 14px;
}

.fresh-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
}

.fresh-catalog-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--fresh-catalog-line);
  border-radius: 16px;
  background: var(--fresh-catalog-surface);
  box-shadow: 0 7px 24px rgba(31, 60, 51, .07);
}

.fresh-catalog-card[hidden] {
  display: none !important;
}

.fresh-catalog-card__image-link {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--fresh-catalog-soft);
  color: var(--fresh-catalog-muted);
  text-decoration: none;
}

.fresh-catalog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.fresh-catalog-card:hover .fresh-catalog-card__image {
  transform: scale(1.025);
}

.fresh-catalog-card__no-image {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 20px;
  place-items: center;
  text-align: center;
}

.fresh-catalog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.fresh-catalog-card__mark {
  align-self: flex-start;
  margin-bottom: 9px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--fresh-catalog-accent);
  font-size: 12px;
  font-weight: 700;
}

.fresh-catalog-card__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

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

.fresh-catalog-card__description {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  color: var(--fresh-catalog-muted);
  font-size: 14px;
  line-height: 1.45;
}

.fresh-catalog-card__description p {
  margin: 0;
}

.fresh-catalog-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.fresh-catalog-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}

.fresh-catalog-card__price strong {
  font-size: 19px;
}

.fresh-catalog-card__price del {
  color: var(--fresh-catalog-muted);
  font-size: 13px;
}

.fresh-catalog-card__more {
  color: var(--fresh-catalog-accent-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.fresh-catalog__empty {
  margin: 0;
  padding: 28px;
  border-radius: 14px;
  background: var(--fresh-catalog-soft);
  color: var(--fresh-catalog-muted);
  text-align: center;
}

.fresh-catalog-topbar {
  border-bottom: 1px solid var(--fresh-catalog-line);
  background: #fff;
}

.fresh-catalog-topbar__inner {
  display: flex;
  width: min(1200px, calc(100% - 40px));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
}

.fresh-catalog-topbar a {
  color: var(--fresh-catalog-ink);
  font-weight: 700;
  text-decoration: none;
}

.fresh-catalog-topbar .fresh-catalog-topbar__home {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--fresh-catalog-accent);
  transition: background-color .2s ease, transform .2s ease;
}

.fresh-catalog-topbar .fresh-catalog-topbar__home:hover {
  background: #8bd8bd;
  transform: translateY(-1px);
}

.fresh-catalog-topbar .fresh-catalog-topbar__home:focus-visible {
  outline: 3px solid rgba(71, 124, 107, .3);
  outline-offset: 2px;
}

.fresh-product__breadcrumbs {
  width: min(1050px, calc(100% - 40px));
  margin: 32px auto -22px;
}

.fresh-product {
  display: grid;
  width: min(1050px, calc(100% - 40px));
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  margin: 0 auto;
  padding: 54px 0 80px;
  color: var(--fresh-catalog-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.fresh-product__image-wrap {
  overflow: hidden;
  border-radius: 18px;
  background: var(--fresh-catalog-soft);
}

.fresh-product__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.fresh-product__no-image {
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  color: var(--fresh-catalog-muted);
}

.fresh-product__categories {
  margin: 0 0 12px;
  color: var(--fresh-catalog-accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.fresh-product__title {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
}

.fresh-product__price {
  margin: 20px 0 0;
  font-size: 25px;
}

.fresh-product__description,
.fresh-product__content {
  margin-top: 22px;
  color: var(--fresh-catalog-muted);
  font-size: 16px;
  line-height: 1.65;
}

.fresh-product__characteristics {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.fresh-product__characteristics li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--fresh-catalog-line);
}

@media (max-width: 980px) {
  .fresh-catalog__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .fresh-catalog {
    width: min(100% - 24px, 1200px);
  }

  .fresh-catalog--archive {
    padding: 34px 0 54px;
  }

  .fresh-catalog__controls {
    align-items: stretch;
    flex-direction: column;
  }

  .fresh-catalog__search-label,
  .fresh-catalog__sort-label {
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }

  .fresh-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .fresh-catalog-card {
    border-radius: 12px;
  }

  .fresh-catalog-card__body {
    padding: 12px;
  }

  .fresh-catalog-card__title,
  .fresh-catalog-card__price strong {
    font-size: 16px;
  }

  .fresh-catalog-card__description {
    -webkit-line-clamp: 3;
    font-size: 13px;
  }

  .fresh-catalog-card__footer {
    display: block;
  }

  .fresh-catalog-card__more {
    display: inline-block;
    margin-top: 12px;
  }

  .fresh-product {
    width: min(100% - 24px, 1050px);
    grid-template-columns: 1fr;
    padding: 28px 0 54px;
  }

  .fresh-product__breadcrumbs {
    width: min(100% - 24px, 1050px);
    margin-top: 22px;
    margin-bottom: -10px;
  }

  .fresh-catalog-topbar__inner {
    width: min(100% - 24px, 1200px);
  }

  .fresh-catalog-topbar .fresh-catalog-topbar__home {
    padding: 10px 14px;
  }
}
