/* MP Newsletter 1.0.1 — czytelna zachęta w kasie i rejestracji.
   Stylujemy wyłącznie dedykowany komponent, nie formularz zamówienia. */
.mp-newsletter-consent {
  box-sizing: border-box;
  width: 100%;
  clear: both;
  overflow: hidden;
  margin: 18px 0 16px !important;
  padding: 0 !important;
  background: #fff;
  border: 1px solid #efb0b2;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(23, 34, 45, .06);
  color: #25313c;
  text-align: left;
}
.mp-newsletter-consent,
.mp-newsletter-consent * { box-sizing: border-box; }
.mp-newsletter-consent .mp-newsletter-consent-offer {
  padding: 13px 13px 12px;
  background: #fff1f2;
  border-bottom: 1px solid #fbd5d7;
}
.mp-newsletter-consent .mp-newsletter-consent-headline {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
  color: #bf151c;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: .01em;
}
.mp-newsletter-consent .mp-newsletter-consent-headline strong {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.mp-newsletter-consent .mp-newsletter-consent-icon {
  display: inline-block;
  font-size: 21px;
  flex: 0 0 auto;
  line-height: 1;
}
.mp-newsletter-consent .mp-newsletter-consent-benefit {
  margin: 0 !important;
  padding: 0 !important;
  color: #25313c;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.48;
}
.mp-newsletter-consent .mp-newsletter-consent-benefit strong {
  color: #a20d16;
  font-weight: 800;
}
.mp-newsletter-consent label.mp-newsletter-consent-option {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  padding: 13px 13px 5px !important;
  width: 100%;
  cursor: pointer;
  color: #26313e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
}
.mp-newsletter-consent label.mp-newsletter-consent-option span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}
.mp-newsletter-consent input.mp-newsletter-consent-checkbox[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  display: block !important;
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  float: none !important;
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  vertical-align: top;
  accent-color: #ce1b25;
  border-radius: 3px;
  cursor: pointer;
}
.mp-newsletter-consent input.mp-newsletter-consent-checkbox:focus-visible {
  outline: 3px solid #ef9a9f;
  outline-offset: 2px;
}
.mp-newsletter-consent .mp-newsletter-consent-legal {
  margin: 0 !important;
  padding: 0 13px 13px !important;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: #56616c;
}
.mp-newsletter-consent .mp-newsletter-consent-legal a {
  color: #b5151c;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 420px) {
  .mp-newsletter-consent .mp-newsletter-consent-offer { padding: 12px; }
  .mp-newsletter-consent .mp-newsletter-consent-headline { font-size: 16px; }
  .mp-newsletter-consent label.mp-newsletter-consent-option { padding: 12px 12px 5px !important; }
  .mp-newsletter-consent .mp-newsletter-consent-legal { padding: 0 12px 12px !important; }
}

/* Potwierdzenie zapisu przy zakupie gościnnym */
.mp-newsletter-postorder {margin:20px 0;padding:19px;border:1px solid #efb0b2;border-left:5px solid #d51e27;border-radius:10px;background:#fff7f7;color:#25313c;}
.mp-newsletter-postorder>strong {display:block;font-weight:800;font-size:19px;color:#b5151c;margin-bottom:7px;}
.mp-newsletter-postorder p {margin:8px 0;line-height:1.55;}
.mp-newsletter-postorder a.button {display:inline-block;background:#d71e28;color:#fff!important;text-decoration:none;border-radius:6px;padding:12px 17px;font-weight:700;}

/* Zalogowany, aktywny subskrybent — bez ponownego checkboxa. */
.mp-newsletter-consent [hidden] { display: none !important; }
.mp-newsletter-confirmed { padding: 17px 15px; background: #f2faf4; color: #1a5130; }
.mp-newsletter-confirmed strong { display: block; font-weight: 800; font-size: 15px; line-height: 1.4; }
.mp-newsletter-confirmed span { display: block; margin-top: 5px; font-size: 12px; line-height: 1.5; }

/* Claim form: prior affirmative marketing consent is retained, no new checkbox. */
.mp-newsletter-claim-existing { margin: 14px 0; border: 1px solid #b8d8c0; border-radius: 9px; padding: 13px 15px; background:#f1faf4; color:#194d2e; line-height:1.45; font-size:14px; }
.mp-newsletter-claim-existing strong { display:block; font-weight:750; }
.mp-newsletter-claim-existing span { display:block; margin-top:5px; font-size:12px; }
