/* Vilano Measurement Guide V2 — candidate only */
body.vilano-measure-2026 {
  --vl-ink: #1f1c1a;
  --vl-muted: #6b635c;
  --vl-bronze: #8b7355;
  --vl-border: #ddd4c8;
  --vl-stone: #f3eee6;
  --vl-bg: #f7f4ef;
  background: var(--vl-bg);
}

body.vilano-measure-2026 .vilano-measure-2026-legacy {
  display: none !important;
}

.vilano-measure-2026-root {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 96px;
  direction: rtl;
  color: var(--vl-ink);
  font-family: Heebo, "Assistant", sans-serif;
}

.vl-m-hero {
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--vl-border);
  margin-bottom: 8px;
}

.vl-m-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.vl-m-hero p {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--vl-muted);
  max-width: 42ch;
}

.vl-m-hero-note {
  font-size: 0.95rem !important;
}

.vl-m-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--vl-bronze);
}

.vl-m-video-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--vl-border);
  position: relative;
}

.vl-m-video-section::before {
  content: "";
  position: absolute;
  top: 40px;
  inset-inline-end: 0;
  width: min(180px, 40%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vl-bronze));
  opacity: 0.7;
}

.vl-m-video-section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 700;
}

.vl-m-video-support {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--vl-muted);
  max-width: 46ch;
}

.vl-m-video {
  width: min(100%, 980px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #1a1816;
  position: relative;
  overflow: hidden;
}

.vl-m-video-facade {
  appearance: none;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
  display: block;
  background: #1a1816;
}

.vl-m-video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.vl-m-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.vl-m-video-play::before {
  content: "";
  position: absolute;
  inset: 22px 0 0 26px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--vl-ink);
}

.vl-m-video-label {
  position: absolute;
  inset-inline-start: 14px;
  bottom: 14px;
  padding: 6px 10px;
  background: rgba(247, 244, 239, 0.92);
  color: var(--vl-ink);
  font-size: 12px;
  font-weight: 600;
}

.vl-m-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vl-m-check {
  padding: 36px 0;
  border-bottom: 1px solid var(--vl-border);
}

.vl-m-check h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
}

.vl-m-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vl-m-checklist li {
  position: relative;
  padding: 10px 0 10px 0;
  padding-inline-start: 28px;
  border-bottom: 1px solid var(--vl-border);
  font-size: 15px;
  color: var(--vl-ink-soft, var(--vl-muted));
}

.vl-m-checklist li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  color: var(--vl-bronze);
  font-weight: 700;
}

.vl-m-checklist li:last-child {
  border-bottom: 0;
}

.vilano-pdp-2026-drawer-guide--secondary {
  display: inline-block;
  margin-top: 8px;
  opacity: 0.85;
}

.vl-m-step {
  padding: 32px 0;
  border-bottom: 1px solid var(--vl-border);
}

.vl-m-num {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--vl-bronze);
}

.vl-m-step h2,
.vl-m-faq h2,
.vl-m-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
}

.vl-m-step p,
.vl-m-faq p,
.vl-m-cta p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--vl-muted);
}

.vl-m-step ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vl-m-step li {
  position: relative;
  padding: 8px 0 8px 0;
  padding-inline-start: 18px;
  border-bottom: 1px solid var(--vl-border);
  font-size: 15px;
  color: var(--vl-muted);
}

.vl-m-step li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vl-bronze);
}

.vl-m-step li:last-child {
  border-bottom: 0;
}

.vl-m-split {
  display: grid;
  gap: 20px;
  align-items: start;
}

.vl-m-diagram {
  width: 100%;
  max-width: 420px;
  height: auto;
  color: var(--vl-ink);
  background: #fff;
  border: 1px solid var(--vl-border);
  padding: 16px;
}

.vl-m-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.vl-m-field {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--vl-border);
}

.vl-m-field span {
  font-size: 12px;
  font-weight: 700;
}

.vl-m-field strong {
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--vl-muted);
}

.vl-m-field em {
  font-style: normal;
  font-size: 12px;
  color: var(--vl-muted);
}

.vl-m-faq {
  padding: 32px 0;
}

.vl-m-faq details {
  border-bottom: 1px solid var(--vl-border);
}

.vl-m-faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  list-style: none;
}

.vl-m-faq summary::-webkit-details-marker {
  display: none;
}

.vl-m-cta {
  margin-top: 12px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--vl-border);
}

.vl-m-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.vl-m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--vl-ink);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
}

.vl-m-btn--ghost {
  background: transparent;
  color: var(--vl-ink) !important;
  border: 1px solid var(--vl-ink);
}

.vl-m-link {
  color: var(--vl-bronze);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-inline-start: 4px;
}

@media (min-width: 800px) {
  .vl-m-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
  }

  .vilano-measure-2026-root {
    padding-top: 40px;
  }
}

@media (max-width: 640px) {
  .vl-m-preview {
    grid-template-columns: 1fr;
  }

  .vl-m-btn {
    width: 100%;
  }
}
