/* Карточка товара — каталог и главная */

.lvsh-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #e7caa2;
  border-radius: 0.625rem;
  background: #fff9f0;
  box-shadow: 0 1px 3px rgb(69 26 3 / 6%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lvsh-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgb(69 26 3 / 10%);
}

.lvsh-product-card__inner {
  padding: 0.5rem;
  min-height: 100%;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .lvsh-product-card__inner {
    padding: 0.625rem;
    gap: 0.875rem;
  }
}

.lvsh-product-card__media {
  position: relative !important;
  width: 100% !important;
  overflow: visible !important;
}

.lvsh-product-card__media-link {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 0.375rem;
}

.lvsh-product-card__canvas {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  border-radius: 0.375rem;
  background: #e8d8bf !important;
}

.lvsh-product-card__thumb {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.25s ease;
}

.lvsh-product-card:hover .lvsh-product-card__thumb {
  transform: scale(1.04);
}

.lvsh-product-card__sale {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  z-index: 2;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: #b91c1c;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.25;
}

.lvsh-product-card__price {
  position: absolute;
  z-index: 15;
  right: 0;
  bottom: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  border-top-left-radius: 0.375rem;
  background: rgb(15 118 110 / 94%);
  color: #ecfdf5;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.lvsh-product-card__price--body {
  position: static;
  z-index: auto;
  display: block;
  width: 100%;
  margin: 0.1rem 0 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #0f766e;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.lvsh-product-card--home .lvsh-product-card__price--body,
.lvsh-product-card--store .lvsh-product-card__price--body {
  font-size: 0.75rem;
}

.lvsh-product-card__price--body .price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem 0.35rem;
  margin: 0;
  white-space: normal;
}

.lvsh-product-card__price--body ins {
  text-decoration: none;
  color: inherit;
}

.lvsh-product-card__price--body del {
  display: inline;
  color: #a8a29e;
  font-size: 0.6875rem;
  font-weight: 500;
  text-decoration: line-through;
}

.lvsh-product-card__price .screen-reader-text,
.lvsh-product-card__price--body .screen-reader-text {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  word-wrap: normal !important;
}

.lvsh-product-card__price .price {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 0;
  white-space: nowrap;
}

.lvsh-product-card__price ins {
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.lvsh-product-card__price del {
  display: none;
  margin-bottom: 0.05rem;
  color: rgb(236 253 245 / 70%);
  font-size: 0.5625rem;
  font-weight: 500;
  text-decoration: line-through;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .lvsh-product-card__price:not(.lvsh-product-card__price--body) {
    right: 0.5rem;
    bottom: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }

  .lvsh-product-card__price:not(.lvsh-product-card__price--body) del {
    display: block;
  }

  .lvsh-product-card--home .lvsh-product-card__price--body {
    font-size: 0.8125rem;
  }
}

.lvsh-product-card__vendor {
  display: block;
  max-width: 100%;
  margin-bottom: 0.05rem;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #92400e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lvsh-product-card__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lvsh-product-card__body {
  flex: 1 1 auto;
  gap: 0.35rem;
}

.lvsh-product-card__actions {
  padding-top: 0.25rem;
}

body.lvsh-front-page .lvsh-product-card__body {
  min-height: 3.5rem;
}

body.lvsh-front-page .lvsh-product-card__body:not(:has(.lvsh-product-card__rating)) {
  padding-bottom: 0.875rem;
}

.lvsh-product-card__rating {
  line-height: 1;
  min-height: 0.875rem;
  text-align: center;
}

.lvsh-product-card__rating .star-rating {
  float: none;
  display: inline-block;
  overflow: hidden;
  position: relative;
  height: 1em;
  line-height: 1;
  width: 5.4em;
  font-family: star;
  font-size: 0.625rem;
  color: #f59e0b;
  margin: 0 auto;
}

.lvsh-product-card__rating .star-rating::before {
  content: "\73\73\73\73\73";
  color: #d6d3d1;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  letter-spacing: 0;
}

.lvsh-product-card__rating .star-rating span {
  overflow: hidden;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 1.5em;
}

.lvsh-product-card__rating .star-rating span::before {
  content: "\53\53\53\53\53";
  top: 0;
  left: 0;
  position: absolute;
  letter-spacing: 0;
  color: #f59e0b;
}

@media (min-width: 768px) {
  .lvsh-product-card__rating .star-rating {
    font-size: 0.6875rem;
  }
}

.lvsh-product-card__materials,
.lvsh-product-card .lvsh-product-materials-loop {
  margin: 0;
  font-size: 0.625rem;
  line-height: 1.2;
  text-align: center;
  color: #7a6554;
}

@media (min-width: 768px) {
  .lvsh-product-card__materials,
  .lvsh-product-card .lvsh-product-materials-loop {
    font-size: 0.6875rem;
  }
}

/* Блок «Популярно сейчас» — правая колонка, стиль как «Наши ценности» */
.lvsh-popular-products {
  min-width: 0;
  width: 100%;
}

.lvsh-popular-products__title {
  margin: 0;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #451a03;
}

.lvsh-popular-products__frame {
  min-height: 0;
}

.lvsh-popular-products__panel {
  flex: 1;
  min-height: 0;
}

.lvsh-popular-products__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
  flex: 1;
}

.lvsh-popular-products__grid--count-1 {
  grid-template-columns: 1fr;
  max-width: 11rem;
  margin-inline: auto;
}

.lvsh-popular-products__grid--count-3 .lvsh-popular-card:last-child {
  grid-column: 1 / -1;
  width: calc(50% - 0.375rem);
  margin-inline: auto;
}

.lvsh-popular-card {
  margin: 0;
  list-style: none;
  min-width: 0;
}

.lvsh-popular-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  height: 100%;
  padding: 0.5rem;
  border: 1px solid #e7caa2;
  border-radius: 0.625rem;
  background: #fff9f0;
  box-shadow: 0 1px 3px rgb(69 26 3 / 6%);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lvsh-popular-card__inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgb(69 26 3 / 10%);
}

.lvsh-popular-card__media-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.lvsh-popular-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.375rem;
  background: #e8d8bf;
  overflow: hidden;
}

.lvsh-popular-card__thumb {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.25s ease;
}

.lvsh-popular-card__inner:hover .lvsh-popular-card__thumb {
  transform: scale(1.04);
}

.lvsh-popular-card__price {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.15rem 0.35rem;
  border-top-left-radius: 0.375rem;
  background: rgb(15 118 110 / 94%);
  color: #ecfdf5;
  font-size: 0.5625rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.lvsh-popular-card__price ins {
  text-decoration: none;
  color: inherit;
}

.lvsh-popular-card__price del {
  display: none;
}

.lvsh-popular-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  width: 100%;
  min-height: 2.5rem;
}

.lvsh-popular-card__vendor {
  width: 100%;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #92400e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lvsh-popular-card__title {
  margin: 0;
  width: 100%;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

.lvsh-popular-card__title a {
  color: #451a03;
  text-decoration: none;
}

.lvsh-popular-card__title a:hover {
  text-decoration: underline;
}

.lvsh-popular-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 1.75rem;
  margin-top: auto;
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.lvsh-popular-products__empty-item {
  grid-column: 1 / -1;
  list-style: none;
}

.lvsh-popular-products__empty {
  margin: 0;
  padding: 1.5rem 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #7a6554;
}

.lvsh-popular-products__cta {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  text-align: center;
  background-color: #451a03;
  background-size: cover;
  color: var(--color-orange-200) !important;
}

@media (min-width: 768px) {
  .lvsh-popular-products__grid {
    gap: 0.875rem;
  }

  .lvsh-popular-products__grid--count-1 {
    max-width: 12.5rem;
  }

  .lvsh-popular-card__inner {
    gap: 0.625rem;
    padding: 0.625rem;
  }

  .lvsh-popular-card__title {
    font-size: 0.8125rem;
    max-width: 21ch;
  }

  .lvsh-popular-card__price {
    font-size: 0.625rem;
    padding: 0.2rem 0.4rem;
  }

  .lvsh-popular-card__vendor {
    font-size: 0.5625rem;
  }

  .lvsh-popular-card__cta {
    min-height: 2rem;
    font-size: 0.6875rem;
  }

  .lvsh-popular-products__cta {
    font-size: 0.875rem;
  }
}

body.lvsh-front-page .lvsh-product-card--home .lvsh-product-card__inner,
body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__inner {
  min-width: 0;
  padding: 0.5rem;
  gap: 0.55rem;
}

body.lvsh-front-page .lvsh-product-card--home .lvsh-product-card__body,
body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__body {
  flex: 0 1 auto;
  justify-content: flex-start !important;
  width: 100%;
  min-width: 0;
  min-height: 0;
  gap: 0.3rem;
  padding-inline: 0.125rem;
  padding-bottom: 0 !important;
}

body.lvsh-front-page .lvsh-product-card--home .lvsh-product-card__vendor,
body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__vendor {
  width: 100%;
  font-size: 0.625rem;
  line-height: 1.25;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.lvsh-front-page .lvsh-product-card--home .lvsh-product-card__title,
body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__title {
  width: 100%;
  max-width: 100%;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
}

body.lvsh-front-page .lvsh-product-card--home .lvsh-product-card__title a,
body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__title a {
  overflow-wrap: anywhere;
}

body.lvsh-front-page .lvsh-product-card--home .lvsh-product-card__price--body,
body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__price--body {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25;
}

body.lvsh-front-page .lvsh-product-card--home .lvsh-product-materials-loop,
body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-materials-loop {
  display: -webkit-box;
  max-width: 100%;
  font-size: 0.6875rem;
  line-height: 1.3;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.lvsh-front-page .lvsh-product-card--home .lvsh-product-card__actions,
body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__actions {
  align-self: stretch;
  margin-top: 0.15rem !important;
  padding-top: 0;
}

body.lvsh-front-page .lvsh-product-card--home .lvsh-product-actions .add_to_cart_button,
body.lvsh-front-page .lvsh-product-card--home .lvsh-product-actions .lvsh-loop-atc,
body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .add_to_cart_button,
body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .lvsh-loop-atc {
  min-height: 2rem;
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: normal;
}

@media (min-width: 768px) {
  body.lvsh-front-page .lvsh-product-card--home .lvsh-product-card__inner,
  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__inner {
    padding: 0.625rem;
    gap: 0.65rem;
  }

  body.lvsh-front-page .lvsh-product-card--home .lvsh-product-card__title,
  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__title {
    font-size: 0.875rem;
  }

  body.lvsh-front-page .lvsh-product-card--home .lvsh-product-card__price--body,
  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__price--body {
    font-size: 0.9375rem;
  }

  body.lvsh-front-page .lvsh-product-card--home .lvsh-product-materials-loop,
  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-materials-loop {
    font-size: 0.75rem;
  }
}

@media (max-width: 767px) {
  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__inner {
    padding: 0.55rem;
    gap: 0.5rem;
  }

  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__body {
    gap: 0.25rem;
  }

  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__vendor {
    font-size: 0.6875rem;
    line-height: 1.25;
    letter-spacing: 0.025em;
  }

  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__title {
    font-size: 0.875rem;
    line-height: 1.25;
  }

  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__price--body {
    font-size: 0.9375rem;
  }

  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-materials-loop {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .add_to_cart_button,
  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .lvsh-loop-atc {
    min-height: 2.125rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 360px) and (max-width: 390px) {
  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__vendor {
    font-size: 0.625rem;
  }

  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__title {
    font-size: 0.8125rem;
  }

  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__price--body {
    font-size: 0.875rem;
  }

  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-materials-loop {
    font-size: 0.6875rem;
  }
}

body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__inner {
  height: 100%;
}

body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__body {
  flex: 1 1 auto;
}

body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__vendor {
  min-height: 2.5em;
}

body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__title {
  height: 2.7em;
  min-height: 2.7em;
  line-height: 1.3;
  overflow: visible;
}

body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__title a {
  display: -webkit-box;
  line-height: inherit;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-materials-loop {
  min-height: 2.6em;
  color: #5f4b3a;
}

body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__actions {
  margin-top: auto !important;
}

@media (max-width: 767px) {
  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__vendor {
    min-height: 2.4em;
  }

  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__title {
    height: 2.6em;
    min-height: 2.6em;
    line-height: 1.25;
  }

  body.lvsh-catalog-page .lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-materials-loop {
    min-height: 2.5em;
  }
}

/* Catalog-only card layout. Keep home, product recommendations and Dokan store cards untouched. */
body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) {
  overflow: visible !important;
  border: 1px solid rgb(126 72 35 / 10%) !important;
  border-radius: 0.875rem !important;
  background: #fffaf3 !important;
  box-shadow: 0 4px 14px rgb(69 26 3 / 6%) !important;
  transform: none !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store):hover {
  box-shadow: 0 8px 22px rgb(69 26 3 / 9%) !important;
  transform: translateY(-1px) !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__inner {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 100% !important;
  padding: 0.625rem !important;
  gap: 0.7rem !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__media {
  position: relative !important;
  width: 100% !important;
  overflow: visible !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__canvas,
body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__media-link {
  border-radius: 0.75rem !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__canvas {
  aspect-ratio: 1 / 1 !important;
  background: #efe3d2 !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__thumb {
  object-fit: cover !important;
  object-position: center !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store):hover .lvsh-product-card__thumb {
  transform: none !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__wishlist {
  top: 0.5rem !important;
  right: 0.5rem !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__sale {
  display: none !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__body {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  gap: 0.35rem !important;
  padding: 0 0.1rem !important;
  text-align: left !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__vendor {
  display: -webkit-box !important;
  width: 100% !important;
  min-height: 2.5em !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #8a7564 !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  text-transform: none !important;
  white-space: normal !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__title {
  width: 100% !important;
  height: 4.15em !important;
  min-height: 4.15em !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #2f241c !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__title a {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: inherit !important;
  font-weight: 600 !important;
  line-height: inherit !important;
  overflow-wrap: anywhere !important;
  text-align: left !important;
  text-decoration: none !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__title a:hover {
  color: #7c2d12 !important;
  text-decoration: none !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__price--body {
  display: block !important;
  width: 100% !important;
  margin: 0.2rem 0 0 !important;
  color: #0f766e !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: normal !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__price--body .price {
  justify-content: flex-start !important;
  gap: 0.15rem 0.35rem !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__price--body del {
  color: #a8a29e !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__rating {
  display: none !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-materials-loop {
  display: block !important;
  width: 100% !important;
  min-height: 1.35em !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #766554 !important;
  font-size: 0.8125rem !important;
  line-height: 1.35 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__body:not(:has(.lvsh-product-materials-loop))::after {
  content: "";
  display: block;
  min-height: 1.35em;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__actions {
  align-self: stretch !important;
  width: 100% !important;
  margin-top: auto !important;
  padding-top: 0.15rem !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .button,
body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .add_to_cart_button,
body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .lvsh-loop-atc {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 2.75rem !important;
  padding: 0.65rem 0.8rem !important;
  border: 0 !important;
  border-radius: 0.625rem !important;
  background-color: #7a4328 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fff8ed !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .button:hover,
body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .add_to_cart_button:hover,
body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .lvsh-loop-atc:hover {
  background-color: #8f4d2d !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .button:focus-visible,
body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .add_to_cart_button:focus-visible,
body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .lvsh-loop-atc:focus-visible {
  outline: 3px solid rgb(194 65 12 / 28%) !important;
  outline-offset: 0.18rem !important;
}

@media (max-width: 767px) {
  body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__inner {
    padding: 0.5rem !important;
    gap: 0.55rem !important;
  }

  body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__body {
    gap: 0.28rem !important;
  }

  body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__vendor {
    font-size: 0.6875rem !important;
    min-height: 2.5em !important;
  }

  body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__title {
    font-size: 0.9375rem !important;
    line-height: 1.32 !important;
    height: 2.9em !important;
    min-height: 2.9em !important;
  }

  body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__title a {
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-card__price--body {
    font-size: 1rem !important;
  }

  body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-materials-loop {
    font-size: 0.75rem !important;
  }

  body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .button,
  body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .add_to_cart_button,
  body.lvsh-catalog-page #lvsh-catalog-grid > li.product.lvsh-product-card:not(.lvsh-product-card--store) .lvsh-product-actions .lvsh-loop-atc {
    min-height: 2.625rem !important;
    padding: 0.6rem 0.65rem !important;
    font-size: 0.8125rem !important;
  }
}

.lvsh-hero-copy { padding-bottom: 2rem !important; }

.lvsh-hero-brand-mark::before,
.lvsh-hero-brand-mark::after { width: 0.125rem !important; opacity: 0.5; }

.lvsh-home-tag-cta { display: block !important; min-width: 11.5rem; max-width: calc(100vw - 2rem); color: inherit; text-decoration: none; cursor: pointer; transition: transform 0.18s ease, filter 0.18s ease; }
.lvsh-home-tag-cta h2 { transition: color 0.18s ease; }
.lvsh-home-tag-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }

.lvsh-home-tag-cta:hover h2,
.lvsh-home-tag-cta:focus-visible h2 { color: #fff7ed !important; }

.lvsh-home-tag-cta:focus-visible { outline: 2px solid rgb(253 230 138 / 85%); outline-offset: 0.25rem; border-radius: 1rem; }

@media (min-width: 768px) {
  .lvsh-hero-copy { margin-bottom: 3rem !important; padding: 10rem 9rem !important; }
}

/* Главная: «Наши ценности» + «Знакомьтесь с мастером» */
.lvsh-home-showcase {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 1rem;
}

.lvsh-home-unified {
  position: relative;
  overflow: hidden;
  border: 1px solid #e7caa2;
  border-radius: 0.75rem;
  background: #fff9f0;
  box-shadow: 0 2px 10px rgb(69 26 3 / 6%);
}

.lvsh-home-unified::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
}

.lvsh-home-unified__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-width: 0;
}

.lvsh-home-unified__heading {
  margin: 0 0 0.875rem;
  font-size: clamp(0.8125rem, 1.4vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  color: #451a03;
}

.lvsh-home-showcase__values {
  min-width: 0;
  max-width: 100%;
  padding: 1.125rem 1rem 1.125rem;
}

.lvsh-values-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.875rem;
  align-items: stretch;
}

.lvsh-values-grid__empty {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  color: #7a6554;
}

.lvsh-value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem 0.875rem;
  border: 1px solid #e7caa2;
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 45%);
  box-shadow: 0 1px 3px rgb(69 26 3 / 4%);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lvsh-value-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgb(69 26 3 / 8%);
}

.lvsh-value-item__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem;
  border: 2px solid #fff;
  border-radius: 0.375rem;
  background: #e8d8bf;
}

.lvsh-value-item__icon {
  width: auto;
  max-width: 4.75rem;
  height: auto;
  max-height: 4.75rem;
  object-fit: contain;
}

.lvsh-value-item__icon--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border: 1px dashed #c8956b;
  border-radius: 0.375rem;
  background: #f4efdf;
  font-size: 0.625rem;
  color: #7a6554;
}

.lvsh-value-item__title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(0.625rem, 0.95vw, 0.875rem);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  color: #451a03;
}

.lvsh-value-item__text {
  display: none;
  margin: 0;
  max-width: 24ch;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #7a6554;
}

.lvsh-value-item__text p {
  margin: 0;
}

.lvsh-home-showcase__master {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  padding: 1.125rem 1rem 1.125rem;
  border-top: 1px solid #e7caa2;
  background: linear-gradient(180deg, #f4efdf 0%, #ebe0cf 100%);
  color: #5c4a3a;
}

.lvsh-home-showcase__master .lvsh-home-unified__heading {
  text-align: center;
}

.lvsh-master-swiper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.lvsh-master-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}

.lvsh-master-swiper .swiper-wrapper {
  min-width: 0;
  max-width: 100%;
}

.lvsh-master-swiper .swiper-slide {
  width: 100% !important;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.lvsh-master-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  height: auto;
  text-align: center;
}

.lvsh-master-card__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.lvsh-master-card__photo-wrap {
  padding: 0.3rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e8d8bf;
  box-shadow: 0 2px 8px rgb(69 26 3 / 10%);
}

.lvsh-master-card__photo-link {
  display: block;
  line-height: 0;
  border-radius: 50%;
  overflow: hidden;
}

.lvsh-master-card__photo {
  display: block;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  object-fit: cover;
}

.lvsh-master-card__name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  color: #451a03;
}

.lvsh-master-card__name .lvsh-vendor-name {
  justify-content: center;
  gap: 0.35rem;
}

.lvsh-master-card__name .lvsh-verified-badge {
  color: #16a34a;
}

.lvsh-master-card__bio {
  margin: 0;
  max-width: none;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #7a6554;
  text-align: left;
}

.lvsh-master-card__bio--placeholder {
  opacity: 0.9;
}

@media (max-width: 899px) {
  .lvsh-home-showcase {
    padding: 2.5rem 0.75rem 0.75rem;
  }

  .lvsh-home-unified {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .lvsh-home-unified__heading {
    margin-bottom: 0.625rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .lvsh-home-showcase__values {
    padding: 0.875rem 0.625rem 0.625rem;
  }

  .lvsh-home-showcase__master {
    padding: 0.75rem 0.625rem 0.875rem;
  }

  .lvsh-values-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .lvsh-value-item {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0.25rem 0.75rem;
    align-items: center;
    padding: 0.625rem 0.75rem;
    text-align: left;
  }

  .lvsh-value-item__icon-wrap {
    grid-row: 1 / span 2;
    width: 3.25rem;
    min-width: 0;
    padding: 0.35rem;
  }

  .lvsh-value-item__icon {
    max-width: 2.5rem;
    max-height: 2.5rem;
  }

  .lvsh-value-item__title {
    grid-column: 2;
    min-width: 0;
    max-width: 24ch;
    font-size: 0.8125rem;
    line-height: 1.25;
    letter-spacing: 0.01em;
  }

  .lvsh-value-item__text {
    display: block;
    grid-column: 2;
    min-width: 0;
    max-width: none;
    font-size: 0.75rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .lvsh-master-card {
    gap: 0.375rem;
  }

  .lvsh-master-card__photo {
    width: 6.5rem;
    height: 6.5rem;
  }

  .lvsh-master-card__name {
    font-size: 0.8125rem;
  }

  .lvsh-master-card__bio {
    font-size: 0.75rem;
    line-height: 1.35;
  }
}

@media (min-width: 900px) {
  .lvsh-home-showcase {
    padding: 2.5rem 2.5rem 1.25rem;
  }

  .lvsh-home-unified__layout {
    grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
    align-items: stretch;
  }

  .lvsh-home-unified__layout--values-only {
    grid-template-columns: minmax(0, 1fr);
  }

  .lvsh-home-showcase__values {
    padding: 1.5rem 1.5rem;
  }

  .lvsh-home-showcase__master {
    border-top: none;
    border-left: 1px solid #e7caa2;
    justify-content: center;
    min-height: 100%;
    padding: 1.75rem 2rem;
  }

  .lvsh-home-unified__heading {
    margin-bottom: 1.25rem;
  }

  .lvsh-values-grid {
    gap: 0.85rem;
  }

  .lvsh-value-item {
    display: grid;
    grid-template-columns: 3.75rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0.2rem 0.9rem;
    align-items: center;
    justify-items: start;
    padding: 1rem 0.85rem;
    text-align: left;
  }

  .lvsh-value-item__icon-wrap {
    grid-row: 1 / span 2;
    width: 3.75rem;
    height: 3.75rem;
    padding: 0.45rem;
  }

  .lvsh-value-item__icon {
    max-width: 2.6rem;
    max-height: 2.6rem;
  }

  .lvsh-value-item__title,
  .lvsh-value-item__text {
    grid-column: 2;
    max-width: none;
  }

  .lvsh-value-item__text {
    display: block;
    font-size: 0.8125rem;
  }

  .lvsh-master-swiper {
    display: flex;
    align-items: center;
    flex: 1;
  }

  .lvsh-master-card {
    grid-template-columns: minmax(11rem, 13.5rem) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
    width: 100%;
    text-align: left;
  }

  .lvsh-master-card__identity {
    justify-self: center;
    gap: 1rem;
  }

  .lvsh-master-card__photo {
    width: 10rem;
    height: 10rem;
  }

  .lvsh-master-card__name {
    font-size: 1rem;
    text-align: center;
  }

  .lvsh-master-card__bio {
    align-self: center;
    font-size: 1.05rem;
    line-height: 1.62;
  }
}

/* Каталог: до трёх полных строк в названии товара */
@media (min-width: 768px) {
  body.lvsh-catalog-page
  #lvsh-catalog-grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-card__title {
    height: auto !important;
    min-height: 4.05em !important;
    max-height: none !important;
    line-height: 1.35 !important;
    overflow: visible !important;
  }

  body.lvsh-catalog-page
  #lvsh-catalog-grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-card__title a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    line-height: inherit !important;
    max-height: 4.05em !important;
    overflow: hidden !important;
  }
}

/* На телефоне оставляем две строки */
@media (max-width: 767px) {
  body.lvsh-catalog-page
  #lvsh-catalog-grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-card__title {
    height: auto !important;
    min-height: 2.7em !important;
    max-height: none !important;
  }

  body.lvsh-catalog-page
  #lvsh-catalog-grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-card__title a {
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    max-height: 2.7em !important;
  }
}

/* Главная: карточки товаров в стиле каталога, без изменения ссылки «Подробнее». */
body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store) {
  overflow: visible !important;
  border: 1px solid rgb(126 72 35 / 10%) !important;
  border-radius: 0.875rem !important;
  background: #fffaf3 !important;
  box-shadow: 0 4px 14px rgb(69 26 3 / 6%) !important;
  transform: none !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store):hover {
  box-shadow: 0 8px 22px rgb(69 26 3 / 9%) !important;
  transform: translateY(-1px) !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__inner {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 100% !important;
  padding: 0.625rem !important;
  gap: 0.7rem !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__media {
  position: relative !important;
  width: 100% !important;
  overflow: visible !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__canvas,
body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__media-link {
  border-radius: 0.75rem !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__canvas {
  aspect-ratio: 1 / 1 !important;
  background: #efe3d2 !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__thumb {
  object-fit: cover !important;
  object-position: center !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store):hover
.lvsh-product-card__thumb {
  transform: none !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__wishlist {
  top: 0.5rem !important;
  right: 0.5rem !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__sale {
  display: none !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  gap: 0.35rem !important;
  padding: 0 0.1rem !important;
  text-align: left !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__vendor {
  display: -webkit-box !important;
  width: 100% !important;
  min-height: 2.5em !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #8a7564 !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  text-transform: none !important;
  white-space: normal !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__title {
  width: 100% !important;
  height: 4.05em !important;
  min-height: 4.05em !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #2f241c !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__title a {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: inherit !important;
  font-weight: 600 !important;
  line-height: inherit !important;
  overflow-wrap: anywhere !important;
  text-align: left !important;
  text-decoration: none !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__title a:hover {
  color: #7c2d12 !important;
  text-decoration: none !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__price--body {
  display: block !important;
  width: 100% !important;
  margin: 0.2rem 0 0 !important;
  color: #0f766e !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: normal !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__price--body
.price {
  justify-content: flex-start !important;
  gap: 0.15rem 0.35rem !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__rating {
  display: none !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-materials-loop {
  display: block !important;
  width: 100% !important;
  min-height: 1.35em !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #766554 !important;
  font-size: 0.8125rem !important;
  line-height: 1.35 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__body:not(:has(.lvsh-product-materials-loop))::after {
  content: "";
  display: block;
  min-height: 1.35em;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__actions {
  align-self: stretch !important;
  width: 100% !important;
  margin-top: auto !important;
  padding-top: 0.15rem !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-actions
.lvsh-loop-atc {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 2.75rem !important;
  padding: 0.65rem 0.8rem !important;
  border: 0 !important;
  border-radius: 0.625rem !important;
  background-color: #7a4328 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fff8ed !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-actions
.lvsh-loop-atc:hover {
  background-color: #8f4d2d !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-actions
.lvsh-loop-atc:focus-visible {
  outline: 3px solid rgb(194 65 12 / 28%) !important;
  outline-offset: 0.18rem !important;
}

@media (max-width: 767px) {
  body.lvsh-front-page
  .lvsh-popular-feed--home
  .lvsh-popular-feed__grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-card__inner {
    padding: 0.5rem !important;
    gap: 0.55rem !important;
  }

  body.lvsh-front-page
  .lvsh-popular-feed--home
  .lvsh-popular-feed__grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-card__body {
    gap: 0.28rem !important;
  }

  body.lvsh-front-page
  .lvsh-popular-feed--home
  .lvsh-popular-feed__grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-card__vendor {
    font-size: 0.6875rem !important;
    min-height: 2.5em !important;
  }

  body.lvsh-front-page
  .lvsh-popular-feed--home
  .lvsh-popular-feed__grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-card__title {
    font-size: 0.9375rem !important;
    line-height: 1.32 !important;
    height: 2.9em !important;
    min-height: 2.9em !important;
  }

  body.lvsh-front-page
  .lvsh-popular-feed--home
  .lvsh-popular-feed__grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-card__title a {
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  body.lvsh-front-page
  .lvsh-popular-feed--home
  .lvsh-popular-feed__grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-card__price--body {
    font-size: 1rem !important;
  }

  body.lvsh-front-page
  .lvsh-popular-feed--home
  .lvsh-popular-feed__grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-materials-loop {
    font-size: 0.75rem !important;
  }

  body.lvsh-front-page
  .lvsh-popular-feed--home
  .lvsh-popular-feed__grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-actions
  .lvsh-loop-atc {
    min-height: 2.625rem !important;
    padding: 0.6rem 0.65rem !important;
    font-size: 0.8125rem !important;
  }
}

/* Главная: выравниваем материал у всех карточек, включая AJAX-карточки */
body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-card__materials,

body.lvsh-front-page
.lvsh-popular-feed--home
.lvsh-popular-feed__grid
> li.product.lvsh-product-card:not(.lvsh-product-card--store)
.lvsh-product-materials-loop {
  width: 100%;
  align-self: stretch;
  text-align: left !important;
}

@media (max-width: 767px) {
  body.lvsh-front-page
  .lvsh-popular-feed--home
  .lvsh-popular-feed__grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-card__title {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.lvsh-front-page
  .lvsh-popular-feed--home
  .lvsh-popular-feed__grid
  > li.product.lvsh-product-card:not(.lvsh-product-card--store)
  .lvsh-product-card__title a {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: initial !important;
  }
}
