/* Hlídací pes – product detail, 2026-11-26. Scoped; no fonts or network assets. */
.mzw {
  --mzw-forest: #1d5643;
  --mzw-forest-hover: #174534;
  --mzw-ink: #243831;
  --mzw-muted: #606e65;
  --mzw-border: #dce5da;
  --mzw-sage: #edf3e9;
  display: block;
  clear: both;
  box-sizing: border-box;
  width: 100%;
  margin: 18px 0 0;
  padding: 18px 18px 16px;
  border: 1px solid var(--mzw-border);
  border-radius: 14px;
  background: linear-gradient(135deg, #f6f9f3 0%, #eef4ea 100%);
  color: var(--mzw-ink);
  font-family: inherit;
  text-align: left;
}
.mzw *, .mzw *::before, .mzw *::after { box-sizing: border-box; }
.mzw [hidden] { display: none !important; }
.mzw svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mzw-head { display: flex; align-items: center; gap: 13px; }
.mzw-icon { display: flex; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--mzw-forest); box-shadow: 0 2px 8px rgb(29 86 67 / 8%); }
.mzw-copy { min-width: 0; }
.mzw p { margin: 0; padding: 0; }
.mzw .mzw-title { margin: 0 0 2px; font-size: 15px; font-weight: 800; line-height: 1.3; color: var(--mzw-forest); }
.mzw .mzw-text { font-size: 13px; line-height: 1.5; color: var(--mzw-muted); }
.mzw-form { margin: 14px 0 0; padding: 0; }
.mzw .mzw-label { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 700; line-height: 1.4; color: var(--mzw-ink); }
.mzw-row { display: flex; align-items: stretch; gap: 10px; }
.mzw .mzw-input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 50px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #cfdbcc;
  border-radius: 10px;
  background: #fff;
  color: var(--mzw-ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: none;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.mzw .mzw-input:focus { border-color: var(--mzw-forest); box-shadow: 0 0 0 3px rgb(29 86 67 / 14%); }
.mzw .mzw-input[aria-invalid="true"] { border-color: #c15d60; box-shadow: 0 0 0 3px rgb(193 93 96 / 12%); }
.mzw .mzw-submit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid var(--mzw-forest);
  border-radius: 10px;
  background: var(--mzw-forest);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.mzw .mzw-submit:hover { background: var(--mzw-forest-hover); }
.mzw .mzw-submit:active { transform: translateY(1px); }
.mzw .mzw-submit[disabled] { opacity: .65; cursor: wait; }
.mzw .mzw-submit svg { width: 18px; height: 18px; }
.mzw-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.mzw .mzw-consent { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; padding: 0; font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--mzw-muted); cursor: pointer; }
.mzw .mzw-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--mzw-forest); cursor: pointer; }
.mzw .mzw-consent span { display: block; flex: 1 1 auto; min-width: 0; padding-top: 0; }
.mzw .mzw-consent.is-invalid { color: #9b4244; }
.mzw-active { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 12px 14px; border: 1px solid #cfe2d3; border-radius: 11px; background: #fff; }
.mzw-check { display: flex; flex: 0 0 30px; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mzw-forest); color: #fff; }
.mzw-check svg { width: 17px; height: 17px; stroke-width: 2.4; }
.mzw-active p { flex: 1 1 auto; min-width: 0; font-size: 13px; line-height: 1.5; color: var(--mzw-ink); }
.mzw-active strong { font-weight: 800; color: var(--mzw-forest); }
.mzw .mzw-link { flex: 0 0 auto; margin: 0; padding: 6px 2px; border: 0; background: none; color: var(--mzw-muted); font: inherit; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mzw .mzw-link:hover { color: #9b4244; }
.mzw .mzw-status { margin: 10px 0 0; font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--mzw-forest); }
.mzw .mzw-status.is-error { color: #9b4244; }
.mzw :is(button, input):focus-visible { outline: 3px solid rgb(29 86 67 / 45%); outline-offset: 2px; }

/* Shield against generic product-box rules (div margins, span colours). */
.mzw *, .mzw *::before, .mzw *::after { margin-left: 0 !important; margin-right: 0 !important; }
.mzw svg { fill: none !important; stroke: currentColor !important; color: inherit !important; flex: 0 0 auto; }
.mzw .mzw-icon svg { width: 20px; height: 20px; }
.mzw .mzw-head, .mzw .mzw-icon, .mzw .mzw-copy, .mzw .mzw-row, .mzw .mzw-active, .mzw .mzw-check { margin-top: 0 !important; margin-bottom: 0 !important; }
.mzw .mzw-active { margin-top: 14px !important; }
.mzw, .mzw .mzw-head, .mzw .mzw-copy, .mzw .mzw-form, .mzw .mzw-active p { color: var(--mzw-ink); }
.mzw span { color: inherit !important; }
.mzw .mzw-icon { color: var(--mzw-forest) !important; }
.mzw .mzw-check, .mzw .mzw-submit, .mzw .mzw-submit span { color: #fff !important; }
.mzw .mzw-consent span { color: var(--mzw-muted) !important; }
.mzw .mzw-consent.is-invalid span { color: #9b4244 !important; }

/* Readable label on the native disabled buy button next to the watchdog. */
body.mzp-site .mzpd-detail .product-buy .buy.disabled,
body.mzp-site .mzpd-detail .product-buy .buy.disabled * { color: #5f6b62 !important; }

@media (max-width: 560px) {
  .mzw { padding: 16px 14px 14px; }
  .mzw-row { flex-direction: column; gap: 9px; }
  .mzw .mzw-input, .mzw .mzw-submit { width: 100%; }
  .mzw-active { flex-wrap: wrap; }
  .mzw .mzw-link { margin-left: 42px; }
}
