/* ==========================================================================
   VENTIA — WSPÓLNY FUNDAMENT DLA STRON KONTA, AUTH I POZOSTAŁYCH FO
   Przenosi wzorce z revampu checkoutu (custom.css, sekcja body#checkout)
   na strony poza checkoutem. Scope przez body:is(...) z listą id stron,
   żeby wygrywać ze stylami bazowymi classic o tej samej specyficzności
   i nie dotykać stron już zrevampowanych (#index, #cart, #checkout,
   #category, #product).
   ========================================================================== */

/* Lista stron objętych fundamentem — trzymać w tej samej kolejności we
   wszystkich regułach tego pliku. */

/* Nagłówek strony */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .page-header h1 {
  margin: 8px 0 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--ventia-color-text-primary);
  text-transform: none;
}

@media (min-width: 768px) {
  body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .page-header h1 {
    font-size: 28px;
  }
}

/* Karta strony — biała rama zamiast gołego boxu classic (cień precz) */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) #content.page-content,
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) #content.card {
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--ventia-color-border-default);
  border-radius: var(--ventia-radius-12);
  box-shadow: none;
}

@media (max-width: 767.98px) {
  body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) #content.page-content,
  body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) #content.card {
    padding: 16px;
  }
}

/* Typografia bazowa treści */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) #main {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--ventia-color-text-primary);
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) #main :is(h2, h3, .h2, .h3) {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--ventia-color-text-primary);
  text-transform: none;
}

/* Fokus — zielony pierścień jak w checkoucie (030bfc14) */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) :is(a, button, .btn):focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 169, 80, 0.12);
}

/* Formularze — etykiety */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .form-control-label {
  padding-top: 14px;
  padding-bottom: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;
  color: var(--ventia-color-text-primary);
  text-align: left;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .form-group.row {
  margin-bottom: 14px;
}

/* Formularze — inputy i selecty 48px */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .form-control {
  height: 48px;
  padding: 0 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--ventia-color-text-primary);
  background: #fff;
  border: 1px solid var(--ventia-color-border-default);
  border-radius: 10px;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .form-control:focus {
  color: var(--ventia-color-text-primary);
  background-color: #fff;
  border-color: var(--ventia-color-brand-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 169, 80, 0.12);
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) select.form-control {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2368758f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) textarea.form-control {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
}

/* Hasło z przyciskiem "Pokaż" */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .input-group .form-control {
  border-right: none;
  border-radius: 10px 0 0 10px;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .input-group .input-group-btn > .btn {
  height: 48px;
  padding: 0 14px;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: none;
  color: var(--ventia-color-text-secondary);
  background: var(--ventia-color-bg-soft);
  border: 1px solid var(--ventia-color-border-default);
  border-radius: 0 10px 10px 0;
  box-shadow: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .input-group .input-group-btn > .btn:hover {
  color: var(--ventia-color-text-primary);
  background: var(--ventia-color-border-default);
}

/* Teksty pomocnicze przy polach */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .form-control-comment {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: var(--ventia-color-text-secondary);
}

/* Radio "Pan / Pani" */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0 24px 0 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--ventia-color-text-primary);
  cursor: pointer;
}

/* Custom radio — 20px, zielona kropka */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .custom-radio {
  width: 20px;
  height: 20px;
  margin-right: 0;
  background: #fff;
  border: 1px solid var(--ventia-color-border-default);
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .custom-radio input[type="radio"]:checked + span {
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  background-color: var(--ventia-color-brand-primary);
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .custom-radio:has(input[type="radio"]:checked) {
  border-color: var(--ventia-color-brand-primary);
}

/* Custom checkbox — 18px, radius 4px, zielone wypełnienie */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .custom-checkbox input[type="checkbox"] + span {
  width: 18px;
  height: 18px;
  background: #fff;
  border: 1px solid var(--ventia-color-border-default);
  border-radius: 4px;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .custom-checkbox input[type="checkbox"]:checked + span {
  background: var(--ventia-color-brand-primary);
  border-color: var(--ventia-color-brand-primary);
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .custom-checkbox input[type="checkbox"] + span .checkbox-checked {
  margin: 0;
  font-size: 14px;
  line-height: 16px;
  color: #fff;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .custom-checkbox > label {
  padding-left: 28px;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .custom-checkbox label {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: var(--ventia-color-text-primary);
  cursor: pointer;
}

/* Przyciski primary — pełna receptura checkoutowa, nie chuda globalna */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: none;
  color: #fff;
  background: var(--ventia-color-brand-primary);
  border: none;
  border-radius: var(--ventia-radius-12);
  box-shadow: none;
  cursor: pointer;
  transition: var(--ventia-transition-button);
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .btn-primary:hover:not(:disabled):not(.disabled) {
  color: #fff;
  background: var(--ventia-color-brand-primary-hover);
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .btn-primary:disabled,
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .btn-primary.disabled {
  color: var(--ventia-color-text-secondary);
  background: var(--ventia-color-border-default);
  opacity: 1;
}

/* Przycisk secondary — miękkie tło jak "Wróć" w checkoucie */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: none;
  color: #374151;
  background: var(--ventia-color-bg-soft);
  border: 1px solid var(--ventia-color-border-default);
  border-radius: var(--ventia-radius-12);
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .btn-secondary:hover {
  color: #374151;
  background: var(--ventia-color-border-default);
}

/* Tabele — nagłówek wyciszony, wiersze rozdzielone ramką systemową */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .table {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--ventia-color-text-primary);
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .table thead th {
  padding: 10px 12px;
  font-weight: 600;
  font-size: 12px;
  color: var(--ventia-color-text-secondary);
  background: var(--ventia-color-bg-soft);
  border-bottom: 1px solid var(--ventia-color-border-default);
  border-top: none;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .table td {
  padding: 12px;
  vertical-align: middle;
  border-top: 1px solid var(--ventia-color-border-default);
}

/* Alerty systemowe — sukces w zieleni marki, błąd w palecie koszykowej */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .alert {
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  line-height: 18px;
  border-radius: 10px;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .alert-success {
  color: var(--ventia-color-brand-primary-dark);
  background: var(--ventia-color-brand-primary-light);
  border: 1px solid var(--ventia-color-bg-tint);
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .alert-danger {
  color: #b02a37;
  background: #fdeef0;
  border: 1px solid #f2c6cd;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) :is(.alert-warning, .alert-info) {
  color: var(--ventia-color-text-primary);
  background: var(--ventia-color-bg-soft);
  border: 1px solid var(--ventia-color-border-default);
}

/* Błędy formularzy (form-errors.tpl renderuje li.alert.alert-danger) */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .help-block {
  margin: 6px 0 0;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .help-block li.alert {
  display: block;
  margin-bottom: 6px;
}

/* Ręcznie sklejane alerty stron hasła (ps-alert-*) — do palety systemowej */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) :is(.ps-alert-error, .ps-alert-success) {
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) :is(.ps-alert-error, .ps-alert-success) .item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 10px;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .ps-alert-error .item {
  color: #b02a37;
  background: #fdeef0;
  border: 1px solid #f2c6cd;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .ps-alert-success .item {
  color: var(--ventia-color-brand-primary-dark);
  background: var(--ventia-color-brand-primary-light);
  border: 1px solid var(--ventia-color-bg-tint);
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) :is(.ps-alert-error, .ps-alert-success) .item i {
  border: none;
  padding: 0;
}

/* Linki stopki konta ("Powrót do konta", "Strona główna") */
body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .page-footer .account-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--ventia-color-text-secondary);
  transition: color 0.15s ease;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .page-footer .account-link:hover {
  color: var(--ventia-color-brand-primary);
  text-decoration: none;
}

body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .page-footer {
  margin: 16px 0 24px;
}

/* Mobile — etykiety nad polami, przyciski na pełną szerokość */
@media (max-width: 767.98px) {
  body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .form-control-label {
    padding-top: 0;
    margin-bottom: 6px;
  }

  body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .btn-primary,
  body:is(#authentication, #registration, #password, #my-account, #identity, #addresses, #address, #history, #order-detail, #order-slip, #discount, #order-follow, #order-return, #order-confirmation, #guest-tracking, #contact, #cms, #stores, #sitemap, #pagenotfound, #search, #module-psgdpr-gdpr, #module-ps_emailalerts-account) .btn-secondary {
    display: flex;
    float: none;
    width: 100%;
  }
}
