/* PD consent — matches static .consent-row from service pages */

.standart-express-cf7 .cf7-consent,
.standart-express-fallback-form .cf7-consent {
  margin: 0;
  padding: 0;
  grid-column: 1 / -1;
  min-width: 0;
}

.standart-express-cf7 .cf7-consent .wpcf7-form-control-wrap,
.standart-express-cf7 .cf7-consent .wpcf7-acceptance,
.standart-express-cf7 .cf7-consent .wpcf7-list-item {
  display: block;
  width: 100%;
  min-width: 0;
}

.standart-express-cf7 .cf7-consent > p,
.standart-express-cf7 .cf7-consent p {
  margin: 0;
}

.standart-express-cf7 .cf7-consent .wpcf7-list-item,
.standart-express-fallback-form .cf7-consent {
  display: block;
  margin: 0;
}

.standart-express-cf7 .cf7-consent label.consent-row,
.standart-express-fallback-form .cf7-consent.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  cursor: pointer;
  user-select: none;
  width: 100%;
  min-width: 0;
}

#standart-express-site .standart-express-cf7 .cf7-consent label.consent-row .cf7-consent__input,
#standart-express-site .standart-express-cf7 .cf7-consent label.consent-row input[type='checkbox'],
#standart-express-site .standart-express-fallback-form .cf7-consent__input,
.standart-express-cf7 .cf7-consent label.consent-row .cf7-consent__input,
.standart-express-cf7 .cf7-consent label.consent-row input[type='checkbox'],
.standart-express-fallback-form .cf7-consent__input {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  min-width: 18px;
  max-width: 18px;
  margin: 1px 0 0;
  padding: 0;
  flex: 0 0 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--line-2, #d8dce3);
  border-radius: 4px;
  background-color: #fff;
  background-image: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 9px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, background-image 0.15s ease;
  position: relative;
}

#standart-express-site .standart-express-cf7 .cf7-consent label.consent-row .cf7-consent__input:hover,
#standart-express-site .standart-express-cf7 .cf7-consent label.consent-row input[type='checkbox']:hover,
#standart-express-site .standart-express-fallback-form .cf7-consent__input:hover,
.standart-express-cf7 .cf7-consent label.consent-row .cf7-consent__input:hover,
.standart-express-cf7 .cf7-consent label.consent-row input[type='checkbox']:hover,
.standart-express-fallback-form .cf7-consent__input:hover {
  border-color: var(--accent, #e85d04);
}

#standart-express-site .standart-express-cf7 .cf7-consent label.consent-row .cf7-consent__input:checked,
#standart-express-site .standart-express-cf7 .cf7-consent label.consent-row input[type='checkbox']:checked,
#standart-express-site .standart-express-fallback-form .cf7-consent__input:checked,
.standart-express-cf7 .cf7-consent label.consent-row .cf7-consent__input:checked,
.standart-express-cf7 .cf7-consent label.consent-row input[type='checkbox']:checked,
.standart-express-fallback-form .cf7-consent__input:checked {
  background-color: var(--accent, #e85d04);
  border-color: var(--accent, #e85d04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 9' fill='none'%3E%3Cpath d='M1 4.2 4.1 7.3 10 1.3' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#standart-express-site .standart-express-cf7 .cf7-consent label.consent-row .cf7-consent__input:focus-visible,
#standart-express-site .standart-express-cf7 .cf7-consent label.consent-row input[type='checkbox']:focus-visible,
#standart-express-site .standart-express-fallback-form .cf7-consent__input:focus-visible,
.standart-express-cf7 .cf7-consent label.consent-row .cf7-consent__input:focus-visible,
.standart-express-cf7 .cf7-consent label.consent-row input[type='checkbox']:focus-visible,
.standart-express-fallback-form .cf7-consent__input:focus-visible {
  outline: 2px solid var(--accent, #e85d04);
  outline-offset: 2px;
}

.standart-express-cf7 .cf7-consent .consent-text,
.standart-express-fallback-form .cf7-consent .consent-text {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--muted, #6b7280);
}

.standart-express-cf7 .cf7-consent .consent-text a,
.standart-express-fallback-form .cf7-consent .consent-text a {
  color: var(--accent, #e85d04);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.standart-express-cf7 .cf7-consent .consent-text a:hover,
.standart-express-fallback-form .cf7-consent .consent-text a:hover {
  text-decoration: none;
}

#standart-express-site.standart-express-goroda
  .cta-section
  .standart-express-cf7.variant-callback
  .wpcf7-form
  > .cf7-consent {
  flex: 1 1 100%;
  width: 100%;
  min-width: 100%;
  order: 10;
}

.standart-express-cf7.context-popup .cf7-consent {
  margin-top: 4px;
}

/* Legacy duplicate consent lines under forms (removed from markup; hide if cached HTML remains) */
.hero-form-foot,
.form-foot {
  display: none !important;
}
