/* hzlead.css - product lead/request modal. */
.hzlead {
  position: fixed;
  inset: 0;
  z-index: var(--hc-z-modal, 1000);
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(26, 23, 20, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hzlead[x-cloak] {
  display: none;
}

.hzlead__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px 32px 28px;
  background: #fdf8ef;
  border-radius: 20px;
  box-shadow: 0 40px 120px rgba(28, 22, 16, 0.28);
}

.hzlead__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26, 23, 20, 0.1);
  border-radius: 50%;
  background: var(--hc-paper, #ffffff);
  color: var(--hc-ink, #1a1714);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.18s ease;
}

.hzlead__close:hover {
  border-color: var(--hc-accent, #8b7355);
  color: var(--hc-accent, #8b7355);
  transform: scale(1.04);
}

.hzlead__close svg {
  width: 16px;
  height: 16px;
}

.hzlead__head {
  margin: 0 0 18px;
  padding-right: 44px;
}

.hzlead__title {
  margin: 0 0 8px;
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--hc-ink, #1a1714);
}

.hzlead__sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(26, 23, 20, 0.62);
}

/* Product preview — shown for Быстрый заказ / 1-click so the buyer sees exactly
   what they're ordering (image + name + price), framed premium. */
.hzlead__product {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 0.5px solid var(--hc-gold-border, rgba(180, 151, 115, 0.34));
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.96), rgba(247, 242, 234, 0.82));
}

.hzlead__product-media {
  flex: none;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  background: var(--hc-paper, #ffffff);
  border: 0.5px solid rgba(180, 151, 115, 0.22);
  border-radius: 11px;
  overflow: hidden;
}

.hzlead__product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.hzlead__product-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.hzlead__product-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 15px;
  line-height: 1.25;
  color: var(--hc-ink, #1a1714);
}

.hzlead__product-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.hzlead__product-sku {
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 23, 20, 0.5);
}

.hzlead__product-price {
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  color: var(--hc-ink, #1a1714);
}

.hzlead__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.hzlead__chips li {
  position: relative;
  padding: 6px 12px 6px 26px;
  font-size: 12px;
  line-height: 1.3;
  color: #6f5a3c;
  background: rgba(212, 184, 150, 0.14);
  border: 0.5px solid rgba(180, 151, 115, 0.32);
  border-radius: 100px;
  white-space: nowrap;
}

.hzlead__chips li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--hc-accent, #8b7355);
  border-bottom: 1.5px solid var(--hc-accent, #8b7355);
  transform: translateY(-65%) rotate(-45deg);
}

.hzlead__form {
  display: grid;
  gap: 14px;
}

.hzlead__field {
  display: grid;
  gap: 6px;
}

.hzlead__field[x-show] {
  min-width: 0;
}

.hzlead__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--hc-ink, #1a1714);
}

.hzlead__label em {
  font-style: normal;
  color: #c0392b;
  margin-left: 2px;
}

.hzlead__input,
.hzlead__textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: var(--hc-ink, #1a1714);
  background: var(--hc-paper, #ffffff);
  border: 0.5px solid rgba(180, 151, 115, 0.35);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.hzlead__input::placeholder,
.hzlead__textarea::placeholder {
  color: rgba(26, 23, 20, 0.4);
}

.hzlead__input:focus,
.hzlead__textarea:focus {
  outline: none;
  border-color: var(--hc-accent, #8b7355);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.18);
}

.hzlead__textarea {
  resize: vertical;
  min-height: 76px;
}

.hzlead__submit {
  height: 50px;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--hc-ink, #1a1714);
  color: var(--hc-paper, #ffffff);
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}

.hzlead__submit:hover {
  background: #2c2620;
  transform: translateY(-1px);
}

.hzlead__legal {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(26, 23, 20, 0.55);
  text-align: center;
}

.hzlead__legal a {
  color: rgba(26, 23, 20, 0.7);
  text-decoration: underline;
  text-decoration-color: rgba(26, 23, 20, 0.3);
}

.hzlead__legal a:hover {
  color: var(--hc-ink, #1a1714);
}
