/* Mirror overlay — minimalist editorial.
 * Warm monochrome, thin borders, serif heading, no gradients, no emoji.
 * Independent of original site CSS, scoped under .mwm-* prefix. */

/* ---------- Modal ---------------------------------------------------------- */
.mwm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.42);
  z-index: 2147483646;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mwm-modal-backdrop.is-open {
  display: flex;
  opacity: 1;
}

.mwm-modal {
  background: #FFFFFF;
  color: #111111;
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  padding: 40px 40px 32px;
  font-family: -apple-system, 'SF Pro Text', 'Geist Sans', 'Helvetica Neue', system-ui, sans-serif;
  line-height: 1.6;
  transform: translateY(8px);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.mwm-modal-backdrop.is-open .mwm-modal { transform: translateY(0); }

.mwm-modal h2 {
  margin: 0 0 16px;
  font-family: 'Newsreader', 'Lyon Text', 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111111;
}

.mwm-modal p {
  margin: 0 0 14px;
  font-size: 15px;
  color: #2F3437;
}
.mwm-modal p.mwm-modal-reason {
  color: #787774;
  font-size: 14px;
  margin-bottom: 20px;
}

.mwm-modal strong { font-weight: 600; color: #111111; }

.mwm-contact {
  border-top: 1px solid #EAEAEA;
  border-bottom: 1px solid #EAEAEA;
  padding: 18px 0;
  margin: 18px 0 24px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  font-family: 'Geist Mono', 'SF Mono', 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
}
.mwm-contact .mwm-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  color: #787774;
  align-self: center;
}
.mwm-contact a {
  color: #111111;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  transition: border-color 160ms;
}
.mwm-contact a:hover { border-bottom-color: #111111; }

.mwm-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 8px;
}
.mwm-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.005em;
  padding: 12px 22px;
  border-radius: 6px;
  transition: background 160ms, transform 120ms;
}
.mwm-btn-primary {
  background: #111111;
  color: #FFFFFF;
}
.mwm-btn-primary:hover { background: #2F3437; }
.mwm-btn-primary:active { transform: scale(0.98); }

.mwm-close-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: transparent;
  color: #787774;
  border: 0;
  font-family: ui-monospace, monospace;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms, color 160ms;
}
.mwm-close-x:hover { background: #F7F6F3; color: #111111; }

.mwm-modal-wrap { position: relative; }

[data-shop-disabled="true"]:hover { cursor: help; }

/* ---------- Persistent banner --------------------------------------------- */
.mwm-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2147483645;
  background: #FBFBFA;
  color: #111111;
  border-bottom: 1px solid #EAEAEA;
  font-family: -apple-system, 'SF Pro Text', 'Geist Sans', 'Helvetica Neue', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}
html.mwm-banner-active body { padding-top: 60px; }
@media (max-width: 600px) {
  html.mwm-banner-active body { padding-top: 88px; }
}

/* Hide original ASP.NET runtime error popups + 3rd-party widgets that error out
 * because they can't reach the backend (reCAPTCHA, chat widgets, error toasts). */
.error-popup, .error-window, .info-popup, .notification-error,
[class*="ErrorPopup"], [class*="errorPopup"],
[id*="error-popup"], [id*="errorPopup"],
[class*="WitryneInformacje"], [id*="WitryneInformacje"],
[class*="info-witryny"], [id*="info-witryny"],
.grecaptcha-badge,
.smartsupp-widget-button,
#chat-widget-container, .chat-widget-container,
.tawk-min-container, .tawk-button-circle {
  display: none !important;
}

/* ---------- Cookie consent banner (bottom-right, minimal) ----------------- */
.mwm-cookie-banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: auto;
  max-width: 380px;
  z-index: 2147483644;
  background: #FFFFFF;
  color: #111111;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 18px 20px;
  font-family: -apple-system, 'SF Pro Text', 'Geist Sans', 'Helvetica Neue', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 220ms ease-out, transform 220ms ease-out;
}
.mwm-cookie-banner.is-shown { opacity: 1; transform: translateY(0); }
.mwm-cookie-banner h3 {
  font-family: 'Newsreader', 'Lyon Text', Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: #111111;
}
.mwm-cookie-banner p { margin: 0 0 14px; color: #2F3437; }
.mwm-cookie-banner a {
  color: #111111;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  text-decoration: none;
}
.mwm-cookie-banner a:hover { border-bottom-color: #111111; }
.mwm-cookie-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.mwm-cookie-banner .mwm-btn {
  font-size: 13px;
  padding: 9px 16px;
}
.mwm-cookie-banner .mwm-btn-secondary {
  background: transparent;
  color: #2F3437;
  border: 1px solid #EAEAEA;
}
.mwm-cookie-banner .mwm-btn-secondary:hover { background: #F7F6F3; }
@media (max-width: 600px) {
  .mwm-cookie-banner {
    bottom: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
}
.mwm-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  max-width: 1440px;
  margin: 0 auto;
}
.mwm-banner-tag {
  font-family: 'Geist Mono', 'SF Mono', ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  background: #F7F6F3;
  color: #2F3437;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #EAEAEA;
  flex-shrink: 0;
}
.mwm-banner-text {
  flex: 1;
  color: #2F3437;
}
.mwm-banner-link {
  color: #111111;
  text-decoration: none;
  border-bottom: 1px solid #111111;
  font-weight: 500;
  white-space: nowrap;
}
.mwm-banner-link:hover { color: #2F3437; }
.mwm-banner-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #787774;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 160ms, color 160ms;
}
.mwm-banner-close:hover { background: #F7F6F3; color: #111111; }
.mwm-banner-hidden { display: none; }

/* ---------- Shop-paused fallback page section ------------------------------ */
.mwm-shop-paused-section {
  padding: 96px 24px 80px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  font-family: -apple-system, 'SF Pro Text', 'Geist Sans', system-ui, sans-serif;
}
.mwm-shop-paused-section h1 {
  font-family: 'Newsreader', 'Lyon Text', 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0 0 20px;
}
.mwm-shop-paused-section p {
  font-size: 16px;
  line-height: 1.65;
  color: #2F3437;
  margin: 0 0 16px;
}
.mwm-shop-paused-section .mwm-contact {
  max-width: 360px;
  margin: 28px auto;
}
.mwm-shop-paused-section .mwm-back-home {
  display: inline-block;
  margin-top: 32px;
  font-size: 14px;
  color: #111111;
  text-decoration: none;
  border-bottom: 1px solid #111111;
  padding-bottom: 1px;
}

/* ---------- Image placeholder for missing dynamic images ------------------- */
.mwm-img-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F7F6F3;
  border: 1px solid #EAEAEA;
  border-radius: 4px;
  color: #787774;
  font-family: 'Geist Mono', 'SF Mono', ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 80px;
  padding: 8px;
}

/* ---------- Responsive ---------------------------------------------------- */
@media (max-width: 600px) {
  .mwm-modal { padding: 28px 24px 24px; }
  .mwm-modal h2 { font-size: 24px; }
  .mwm-banner-inner { flex-wrap: wrap; padding: 8px 14px; gap: 10px; }
  .mwm-banner { font-size: 12.5px; }
  .mwm-shop-paused-section { padding: 64px 20px 56px; }
  .mwm-shop-paused-section h1 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .mwm-modal-backdrop,
  .mwm-modal-backdrop .mwm-modal,
  .mwm-btn,
  .mwm-close-x,
  .mwm-banner-close,
  .mwm-contact a { transition: none; }
}
