.lm-blog-hero {
  --lm-hero-bg-start: #2C1810;
  --lm-hero-bg-end: #8c6a48;
  --lm-hero-text: #ffffff;
  --lm-hero-muted: rgba(255, 255, 255, 0.78);
  --lm-hero-pill: rgba(255, 255, 255, 0.12);
  --lm-hero-input-bg: #ffffff;
  --lm-hero-input-text: #2f2119;
  position: relative;
  z-index: 10;
  color: var(--lm-hero-text);
  padding: clamp(8px, 6vw, 20px) 20px clamp(15px, 7vw, 20px);
  background: linear-gradient(135deg, var(--lm-hero-bg-start), var(--lm-hero-bg-end));
  overflow: visible;
}

.lm-blog-hero.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.lm-blog-hero::before,
.lm-blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lm-blog-hero::after {
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.18), transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(0, 0, 0, 0.25), transparent 45%);
  mix-blend-mode: soft-light;
  opacity: 0.7;
}

.lm-blog-hero__inner {
  position: relative;
  z-index: 20;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.lm-blog-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--lm-hero-pill);
  color: var(--lm-hero-text);
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.lm-blog-hero__title {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 600;
  font-family: var(--wd-title-font, "Georgia", serif);
  color: #ffffff;
}

.lm-blog-hero__subtitle {
  margin: 0 auto clamp(28px, 4vw, 40px);
  max-width: 720px;
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--lm-hero-muted);
}

.lm-blog-hero__search {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  background: transparent;
  z-index: 2;
  overflow: visible;
}

.lm-blog-hero__search-icon {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: #8c6a48;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.lm-blog-hero__search-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lm-blog-hero .lm-blog-hero__search-input {
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 16px 58px 16px 24px;
  font-size: 16px;
  line-height: 1.2;
  height: 56px;
  box-sizing: border-box;
  box-shadow: 0 20px 40px rgba(23, 16, 11, 0.25);
  background: #ffffff !important;
  color: #2c1810 !important;
  -webkit-appearance: none;
  appearance: none;
}

.lm-blog-hero .lm-blog-hero__search-input::placeholder {
  color: rgba(47, 33, 25, 0.6);
}

.lm-blog-hero .lm-blog-hero__search-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
  -webkit-text-fill-color: #2c1810;
}

.lm-blog-hero__search-input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.lm-blog-hero__results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 12px);
  background: #ffffff;
  color: #2f2119;
  border-radius: 16px;
  padding: 12px 12px 8px;
  box-shadow: 0 16px 32px rgba(23, 16, 11, 0.2);
  display: none;
  text-align: left;
  z-index: 40;
}

.lm-blog-hero__results.is-visible {
  display: block;
}

.lm-blog-hero__results-section + .lm-blog-hero__results-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(140, 106, 72, 0.15);
}

.lm-blog-hero__results-title {
  font-size: 13px;
  color: #8c6a48;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 4px 12px 8px;
}

.lm-blog-hero__results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lm-blog-hero__results-item {
  margin: 0;
}

.lm-blog-hero__results-link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 12px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 15px;
}

.lm-blog-hero__results-thumb {
  width: 64px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  background: #f2eee9;
  flex-shrink: 0;
}

.lm-blog-hero__results-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lm-blog-hero__results-meta {
  display: grid;
  gap: 6px;
}

.lm-blog-hero__results-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8c6a48;
}

.lm-blog-hero__results-text {
  font-size: 15px;
  color: #2c1810;
}

.lm-blog-hero__products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 4px 8px 8px;
}

.lm-blog-hero__product-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: rgba(140, 106, 72, 0.08);
}

.lm-blog-hero__product-card:hover,
.lm-blog-hero__product-card:focus {
  background: rgba(140, 106, 72, 0.16);
}

.lm-blog-hero__product-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #f2eee9;
}

.lm-blog-hero__product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lm-blog-hero__product-meta {
  display: grid;
  gap: 4px;
}

.lm-blog-hero__product-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8c6a48;
}

.lm-blog-hero__product-title {
  font-size: 13px;
  color: #2c1810;
}

.lm-blog-hero__product-price {
  font-size: 12px;
  color: #6a5445;
}

@media (max-width: 1024px) {
  .lm-blog-hero__products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lm-blog-hero__product-card {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .lm-blog-hero__product-thumb {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 640px) {
  .lm-blog-hero__products-grid {
    grid-template-columns: 1fr;
  }

  .lm-blog-hero__product-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .lm-blog-hero__product-thumb {
    width: 72px;
    height: 72px;
  }
}

.lm-blog-hero__results-link:hover,
.lm-blog-hero__results-link:focus {
  background: rgba(140, 106, 72, 0.12);
}

.lm-blog-hero__results-empty {
  padding: 12px 12px 10px;
  font-size: 14px;
  color: #6a5445;
}

@media (max-width: 640px) {
  .lm-blog-hero {
    padding: 20px 16px 30px;
  }

  .lm-blog-hero .lm-blog-hero__search-input {
    padding: 14px 52px 14px 18px;
    border-radius: 16px;
    height: 52px;
  }
}
