/* Shen Home v2 — scoped merge from shen/theme.css + shen/home.css */

.shen-home-v2 {
  --primary-color: #8f261d;
  --primary-color-hover: rgb(165, 45, 34);
  --accent-color: rgb(123, 33, 25);
  --accent-color-hover: rgb(102, 28, 21);
  --dark-color: #5a2121;

  --inputs-buttons-border-radius: 15px;
  --button-color: var(--primary-color);
  --button-color-hover: var(--primary-color-hover);
  --button-color-dark: var(--dark-color);
  --button-color-alt: var(--accent-color);
  --button-color-alt-hover: var(--accent-color-hover);
  --button-text-color: #fff;

  --ink: #17130f;
  --muted: #6b6560;
  --line: #e7e3dd;
  --bg: #ffffff;
  --ff-display: "Arial", sans-serif;

  font-family: var(--ff-display);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  box-sizing: border-box;
}

.blocks__item-shen .home-block {
  padding: 0;
}

.blocks__item-shen .home-block > .container {
  max-width: none;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.shen-home-v2 *,
.shen-home-v2 *::before,
.shen-home-v2 *::after {
  box-sizing: border-box;
}

/* home.css */
.shen-home-v2 .hm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shen-home-v2 .hm-container {
  max-width: calc(1395px + 48px);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.shen-home-v2 .hm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-color);
}
.shen-home-v2 .hm-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--primary-color);
  flex-shrink: 0;
}

.shen-home-v2 .hm-h2 {
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.shen-home-v2 .hm-hero {
  padding: 56px 0 0;
}

.shen-home-v2 .hm-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.shen-home-v2 .hm-hero.is-visible .hm-hero-grid {
  opacity: 1;
  transform: translateY(0);
}

.shen-home-v2 .hm-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  height: 28vw;
  max-height: 440px;
  overflow: hidden;
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}
.shen-home-v2 .hm-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 5s ease;
}
.shen-home-v2 .hm-banner:hover img {
  transform: scale(1.1);
}

.shen-home-v2 .hm-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(15, 10, 7, 0.78) 0%,
    rgba(15, 10, 7, 0.38) 42%,
    rgba(15, 10, 7, 0.16) 100%
  );
}

.shen-home-v2 .hm-banner-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 420px;
  padding: 32px 34px 34px;
}

.shen-home-v2 .hm-banner-title {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.shen-home-v2 .hm-banner-text {
  display: block;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.shen-home-v2 .hm-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px 9px;
  border-radius: var(--inputs-buttons-border-radius);
  background-color: var(--button-color);
  color: var(--button-text-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color 0.2s ease-in-out;
}
.shen-home-v2 .hm-banner-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.shen-home-v2 .hm-banner:hover .hm-banner-btn {
  background-color: var(--button-color-hover);
}

.shen-home-v2 .hm-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: hm-feat;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s 0.12s ease,
    transform 0.5s 0.12s ease;
}
.shen-home-v2 .hm-hero.is-visible .hm-features {
  opacity: 1;
  transform: translateY(0);
}

.shen-home-v2 .hm-feature {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0 16px;
  align-items: center;
  min-width: 0;
  padding: 22px 22px 22px 24px;
  counter-increment: hm-feat;
}
.shen-home-v2 .hm-feature:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  bottom: 18px;
  width: 1px;
  background: var(--line);
}
.shen-home-v2 .hm-feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(143, 38, 29, 0.07);
  color: var(--primary-color);
}
.shen-home-v2 .hm-feature-icon svg {
  width: 20px;
  height: 20px;
}
.shen-home-v2 .hm-feature-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 1px;
}
.shen-home-v2 .hm-feature-copy::before {
  content: counter(hm-feat, decimal-leading-zero);
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary-color);
}
.shen-home-v2 .hm-feature-text {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.shen-home-v2 .hm-feature-sub {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.shen-home-v2 .hm-section {
  padding: 90px 0;
}

.shen-home-v2 .hm-section-head {
  margin-bottom: 48px;
}

.shen-home-v2 .shen-hh-categories {
  margin-top: 0;
  margin-bottom: 0;
}

.shen-home-v2 .shen-hh-categories .block__header {
  margin-bottom: 24px;
}

.shen-home-v2 .shen-hh-categories .block__header_text {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.shen-home-v2 .hm-brands-stage {
  position: relative;
}

.shen-home-v2 .hm-brands-viewport {
  overflow: hidden;
}

.shen-home-v2 .hm-brands-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  box-shadow: 0 8px 20px rgba(23, 19, 15, 0.08);
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.shen-home-v2 .hm-brands-nav svg {
  width: 18px;
  height: 18px;
}
.shen-home-v2 .hm-brands-nav--prev {
  left: -8px;
}
.shen-home-v2 .hm-brands-nav--next {
  right: -8px;
}
.shen-home-v2 .hm-brands-stage:hover .hm-brands-nav,
.shen-home-v2 .hm-brands-stage:focus-within .hm-brands-nav {
  opacity: 1;
  pointer-events: auto;
}
.shen-home-v2 .hm-brands-nav:hover:not(:disabled) {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #fff;
}
.shen-home-v2 .hm-brands-nav:disabled {
  opacity: 0;
  pointer-events: none;
}
.shen-home-v2 .hm-brands-stage:hover .hm-brands-nav:disabled,
.shen-home-v2 .hm-brands-stage:focus-within .hm-brands-nav:disabled {
  opacity: 0.28;
  pointer-events: none;
}

@media (hover: none) {
  .shen-home-v2 .hm-brands-nav {
    opacity: 1;
    pointer-events: auto;
  }
  .shen-home-v2 .hm-brands-nav:disabled {
    opacity: 0.28;
  }
}

.shen-home-v2 .hm-brands-track {
  display: flex;
  gap: 14px;
  will-change: transform;
}

.shen-home-v2 .hm-brand {
  position: relative;
  flex: 0 0 calc((100% - 70px) / 6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 22px 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.shen-home-v2 .hm-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 2px;
  background: var(--primary-color);
  opacity: 0;
  transform: scaleX(0.5);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.shen-home-v2 .hm-brand:hover {
  border-color: rgba(143, 38, 29, 0.28);
  background: #fcfaf8;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 19, 15, 0.06);
}
.shen-home-v2 .hm-brand:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.shen-home-v2 .hm-brand-logo {
  display: block;
  width: 100%;
  max-width: 148px;
  height: 48px;
  object-fit: contain;
  object-position: center;
  opacity: 0.92;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.shen-home-v2 .hm-brand:hover .hm-brand-logo {
  opacity: 1;
  transform: scale(1.04);
}

.shen-home-v2 .hm-brands-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 28px;
}
.shen-home-v2 .hm-brands-dots:empty {
  display: none;
}

.shen-home-v2 .hm-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 100px;
  background: #ddd8d2;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    width 0.2s ease;
}
.shen-home-v2 .hm-dot:hover {
  background: #c4bdb4;
}
.shen-home-v2 .hm-dot.is-active {
  width: 20px;
  background: var(--primary-color);
}

@media (max-width: 1100px) {
  .shen-home-v2 .hm-banner {
    min-height: 320px;
    height: 34vw;
  }
  .shen-home-v2 .hm-banner-body {
    padding: 26px 28px 28px;
  }
}

@media (max-width: 900px) {
  .shen-home-v2 .hm-hero {
    padding: 36px 0 0;
  }
  .shen-home-v2 .hm-hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .shen-home-v2 .hm-banner {
    min-height: 280px;
    height: 52vw;
    max-height: 380px;
  }
  .shen-home-v2 .hm-features {
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
  }
  .shen-home-v2 .hm-feature:nth-child(2)::after {
    display: none;
  }
  .shen-home-v2 .hm-feature:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .shen-home-v2 .hm-feature {
    padding: 20px;
  }
  .shen-home-v2 .hm-section {
    padding: 64px 0;
  }
  .shen-home-v2 .hm-section-head {
    margin-bottom: 36px;
  }
  .shen-home-v2 .hm-brand {
    flex-basis: calc((100% - 28px) / 3);
    min-height: 104px;
  }
}

@media (max-width: 600px) {
  .shen-home-v2 .hm-container {
    padding: 0 15px;
  }
  .shen-home-v2 .hm-hero {
    padding: 24px 0 0;
  }
  .shen-home-v2 .hm-banner {
    min-height: 240px;
    height: 64vw;
    max-height: 320px;
    border-radius: 18px;
  }
  .shen-home-v2 .hm-banner-body {
    padding: 22px 20px 22px;
    max-width: none;
  }
  .shen-home-v2 .hm-banner-title {
    font-size: clamp(26px, 7.4vw, 34px);
    margin-bottom: 8px;
  }
  .shen-home-v2 .hm-banner-text {
    font-size: 13.5px;
    margin-bottom: 16px;
  }
  .shen-home-v2 .hm-features {
    grid-template-columns: 1fr;
    margin-top: 14px;
    border-radius: 16px;
  }
  .shen-home-v2 .hm-feature {
    padding: 18px 18px 18px 16px;
  }
  .shen-home-v2 .hm-feature::after {
    display: none;
  }
  .shen-home-v2 .hm-feature:nth-child(-n + 2) {
    border-bottom: none;
  }
  .shen-home-v2 .hm-feature:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }
  .shen-home-v2 .hm-section {
    padding: 48px 0;
  }
  .shen-home-v2 .hm-section-head {
    margin-bottom: 28px;
  }
  .shen-home-v2 .hm-brand {
    flex-basis: calc((100% - 14px) / 2);
    min-height: 96px;
    padding: 18px 14px;
  }
  .shen-home-v2 .hm-brands-dots {
    margin-top: 20px;
  }
}

.shen-home-v2 .shen-rv-sprite {
  display: none;
}

.shen-home-v2 .shen-rv-section {
  font-family: "Arial", sans-serif;
  background: #fff;
  padding: 90px 0;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.shen-home-v2 .shen-rv-container {
  max-width: calc(1395px + 48px);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.shen-home-v2 .shen-rv-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
  align-items: end;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 48px;
}

.shen-home-v2 .shen-rv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 18px;
}
.shen-home-v2 .shen-rv-eyebrow::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

.shen-home-v2 .shen-rv-heading h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #111;
  margin: 0;
}
.shen-home-v2 .shen-rv-heading h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--primary-color), #e74c3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shen-home-v2 .shen-rv-heading-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-end;
}

.shen-home-v2 .shen-rv-heading-right > p {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

.shen-home-v2 .shen-rv-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  width: fit-content;
  max-width: 100%;
}
.shen-home-v2 .shen-rv-badge-stars {
  display: flex;
  gap: 2px;
}
.shen-home-v2 .shen-rv-badge-stars svg {
  width: 15px;
  height: 15px;
  fill: #e8a020;
}
.shen-home-v2 .shen-rv-badge-score {
  font-size: 22px;
  font-weight: 900;
  color: #111;
  letter-spacing: -0.03em;
}
.shen-home-v2 .shen-rv-badge-divider {
  width: 1px;
  height: 28px;
  background: rgba(0, 0, 0, 0.1);
}
.shen-home-v2 .shen-rv-badge-meta {
  font-size: 12px;
  color: #888;
  line-height: 1.4;
}
.shen-home-v2 .shen-rv-badge-meta strong {
  display: block;
  color: #333;
  font-size: 13px;
}

.shen-home-v2 .shen-rv-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.shen-home-v2 .shen-rv-row {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.shen-home-v2 .shen-rv-card {
  flex-shrink: 0;
  width: 320px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.04),
    0 4px 14px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  cursor: default;
}
.shen-home-v2 .shen-rv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.shen-home-v2 .shen-rv-stars {
  display: flex;
  gap: 3px;
}
.shen-home-v2 .shen-rv-stars svg {
  width: 14px;
  height: 14px;
  fill: #e8a020;
}

.shen-home-v2 .shen-rv-quote-mark {
  font-family: "Arial", sans-serif;
  font-size: 52px;
  line-height: 0.75;
  color: var(--primary-color);
  opacity: 0.25;
  user-select: none;
}

.shen-home-v2 .shen-rv-text {
  font-size: 14px;
  color: #333;
  line-height: 1.65;
  font-weight: 500;
  flex: 1;
  margin-top: -6px;
}

.shen-home-v2 .shen-rv-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.shen-home-v2 .shen-rv-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.shen-home-v2 .shen-rv-avatar--alt {
  background: linear-gradient(135deg, #2c3e50, #4a6274);
}
.shen-home-v2 .shen-rv-avatar--alt2 {
  background: linear-gradient(135deg, #27ae60, #1a7a42);
}
.shen-home-v2 .shen-rv-name {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}
.shen-home-v2 .shen-rv-sub {
  font-size: 12px;
  color: #888;
  margin-top: 1px;
}
.shen-home-v2 .shen-rv-platform {
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.35;
}

@media (max-width: 960px) {
  .shen-home-v2 .shen-rv-section {
    padding: 64px 0;
  }
  .shen-home-v2 .shen-rv-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .shen-home-v2 .shen-rv-section {
    padding: 48px 0;
  }
  .shen-home-v2 .shen-rv-container {
    padding: 0 15px;
  }
  .shen-home-v2 .shen-rv-heading {
    padding-bottom: 24px;
    margin-bottom: 24px;
    gap: 14px;
  }
  .shen-home-v2 .shen-rv-eyebrow {
    margin-bottom: 10px;
  }
  .shen-home-v2 .shen-rv-heading-right {
    gap: 12px;
  }
  .shen-home-v2 .shen-rv-badge {
    width: 100%;
    gap: 10px 12px;
  }
  .shen-home-v2 .shen-rv-heading-right > p {
    font-size: 13.5px;
    line-height: 1.55;
  }
  .shen-home-v2 .shen-rv-card {
    width: 270px;
    padding: 20px 18px;
  }
}
