.wg-account-table{overflow-x:auto;border:1px solid #dce5f2;border-radius:14px;background:#fff}.wg-account-table table{width:100%;min-width:640px;border-collapse:collapse}.wg-account-table th{padding:12px 16px;border-bottom:1px solid #dce5f2;background:#f5f8fe;color:#52617d;font-family:'JetBrains Mono',monospace;font-size:12px;font-weight:600;letter-spacing:.06em;text-align:left;text-transform:uppercase;white-space:nowrap}.wg-account-table td{padding:14px 16px;border-bottom:1px solid #dce5f2;color:#13213d;font-size:14px;vertical-align:middle}.wg-account-table tbody tr:last-child td{border-bottom:0}.wg-alert-product{display:flex;align-items:center;gap:12px;color:#13213d;text-decoration:none}.wg-alert-product__image{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;overflow:hidden;border-radius:10px;background:#eaf2fd}.wg-alert-product__image img{max-width:42px;max-height:46px;object-fit:contain}.wg-alert-product>span:last-child{display:flex;min-width:0;flex-direction:column;gap:3px}.wg-alert-product strong{font-weight:600}.wg-alert-product small{color:#52617d;font-size:13px}.wg-account-status{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap}.wg-account-status i{width:7px;height:7px;border-radius:50%;background:currentColor}.wg-account-status--waiting{background:#fff5e0;color:#8a5a00}.wg-account-table__actions{text-align:right}.wg-account-remove,.wg-btn-danger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 14px;border:1px solid #f1c7cd;border-radius:10px;background:#fff;color:#c8283b!important;font-weight:600;text-decoration:none}.wg-account-remove .material-icons{font-size:18px}.wg-account-hint{margin:18px 0 0;color:#52617d;font-size:14px;line-height:1.6}.wg-account-empty{display:flex;min-height:330px;padding:36px;align-items:center;justify-content:center;flex-direction:column;border:1px solid #dce5f2;border-radius:16px;background:#fff;text-align:center}.wg-account-empty>.material-icons{display:grid;place-items:center;width:64px;height:64px;margin-bottom:18px;border-radius:50%;background:#eaf2fd;color:#2a6bd1;font-size:30px}.wg-account-empty h2,.wg-account-card h2{margin:0;font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-size:24px;line-height:1.1;color:#13213d}.wg-account-empty p,.wg-account-card p{color:#52617d;font-size:15px;line-height:1.6}.wg-gdpr-account{display:flex;flex-direction:column;gap:20px}.wg-account-card{display:flex;min-width:0;padding:28px;flex-direction:column;gap:20px;border:1px solid #dce5f2;border-radius:16px;background:#fff}.wg-account-card p{margin:0}.wg-account-actions{display:flex;flex-wrap:wrap;gap:12px}.wg-account-actions .btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:11px 18px;border-radius:10px;font-size:15px;font-weight:600;text-transform:none}.wg-account-actions .material-icons{font-size:18px}body#module-ps_emailalerts-account .wg-account,body#module-psgdpr-gdpr .wg-account{padding:8px 0 42px}@media(max-width:575px){.wg-account-card{padding:22px 18px}.wg-account-actions .btn{width:100%}}

/* Shared customer-account shell. Every core and module account route uses the
   same layout, navigation, cards and responsive breakpoints. */
body:is(#my-account,#identity,#addresses,#address,#history,#order-detail,#order-slip,#discount,#order-follow,#order-return) #wrapper {
  background: #FFFFFF;
}

body:is(#my-account,#identity,#addresses,#address,#history,#order-detail,#order-slip,#discount,#order-follow,#order-return) #main.wg-account {
  padding: 8px 0 42px;
}

.wg-account-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.wg-account-nav {
  overflow: hidden;
  border: 1px solid #d7e1ef;
  border-radius: 16px;
  background: rgba(255, 255, 255, .2);
}

.wg-account-nav__person {
  display: grid;
  padding: 18px;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  background: #12346b;
  color: #fff;
}

.wg-account-nav__person > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #2a6bd1;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.wg-account-nav__person strong { font-size: 16px; }
.wg-account-nav nav { padding: 10px; }

.wg-account-nav nav a {
  display: flex;
  min-height: 42px;
  padding: 9px 12px;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  color: #13213d;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.wg-account-nav nav a:hover {
  background: #eaf2fd;
  color: #1d52a8;
}

.wg-account-nav nav a .material-icons {
  width: 20px;
  color: #13213d;
  font-size: 19px;
}

body#my-account .wg-account-nav [data-account-page="my-account"],
body#identity .wg-account-nav [data-account-page="identity"],
body:is(#addresses,#address) .wg-account-nav [data-account-page="addresses"],
body:is(#history,#order-detail) .wg-account-nav [data-account-page="history"],
body#order-slip .wg-account-nav [data-account-page="order-slip"],
body#discount .wg-account-nav [data-account-page="discount"],
body:is(#order-follow,#order-return) .wg-account-nav [data-account-page="order-follow"] {
  background: #eaf2fd;
  color: #1d52a8;
}

.wg-account-nav__logout {
  margin-top: 8px;
  padding-top: 14px !important;
  border-top: 1px solid #d7e1ef;
  border-radius: 0 !important;
  color: #d6243b !important;
}

.wg-account-nav__logout .material-icons { color: #d6243b !important; }
.wg-account-main { min-width: 0; }

.wg-account-main__head h1 {
  margin: 2px 0 26px;
  color: #13213d;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.05;
}

.wg-account-main__head h1 small {
  display: block;
  margin-top: 8px;
  color: #52617d;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.wg-account-content {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.wg-account-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wg-account-tiles > a {
  display: flex;
  min-height: 152px;
  padding: 22px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #dce5f2;
  border-radius: 16px;
  background: #fff;
  color: #13213d;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}

.wg-account-tiles > a:hover {
  border-color: #a9c2e7;
  transform: translateY(-2px);
}

.wg-account-tiles .material-icons {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 12px;
  background: #eaf2fd;
  color: #2a6bd1;
  font-size: 22px;
}

.wg-account-tiles strong { margin-bottom: 8px; font-size: 15px; }
.wg-account-tiles span { color: #52617d; font-size: 12px; line-height: 1.4; }
.wg-account-recommendations { margin-top: 28px; }

.wg-account-recommendations :is(.pxb-section,.wg-related-section) {
  padding-right: 0 !important;
  padding-left: 0 !important;
  background: transparent !important;
}

.wg-account-content > :is(form,.address-form,.addresses,.table,.box,.card) {
  border: 1px solid #dce5f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

.wg-account-content .table { background: #fff; }
.wg-account-content .table thead th { border-bottom: 1px solid #dce5f2; background: #F5F8FE; color: #52617d; font-size: 12px; text-transform: uppercase; }
.wg-account-content .table td { border-color: #e4ebf4; vertical-align: middle; }
.wg-account-content .alert { border-radius: 12px; }

@media (max-width: 1199px) {
  .wg-account-shell { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .wg-account-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .wg-account-shell { grid-template-columns: 1fr; }
  .wg-account-nav nav { display: flex; overflow-x: auto; }
  .wg-account-nav nav a { flex: 0 0 auto; }
  .wg-account-nav__logout { margin: 0 0 0 8px; padding-top: 9px !important; border-top: 0; border-left: 1px solid #d7e1ef; }
}

@media (max-width: 767px) {
  .wg-account-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wg-account-main__head h1 { font-size: 36px; }
}

@media (max-width: 480px) {
  .wg-account-tiles { grid-template-columns: 1fr; }
}

/* Account modules: wishlists, stock alerts and GDPR share the customer shell. */
body:is(#module-blockwishlist-lists,#module-blockwishlist-products,#module-ps_emailalerts-account,#module-psgdpr-gdpr) #wrapper,
body#view #wrapper {
  background: #FFFFFF;
}

body:is(#module-blockwishlist-lists,#module-blockwishlist-products) .wg-account-nav [data-account-page="wishlist"],
body#view .wg-account-nav [data-account-page="wishlist"],
body#module-ps_emailalerts-account .wg-account-nav [data-account-page="alerts"],
body#module-psgdpr-gdpr .wg-account-nav [data-account-page="gdpr"] {
  background: #eaf2fd;
  color: #1d52a8;
}

.wg-wishlist-view,
body#module-ps_emailalerts-account .wg-account-content > ul,
body#module-psgdpr-gdpr .wg-account-content .page_content {
  min-height: 360px;
  padding: 22px;
  border: 1px solid #dce5f2;
  border-radius: 16px;
  background: rgba(255, 255, 255, .45);
}

body#module-psgdpr-gdpr .wg-account-content .container {
  width: 100% !important;
  padding: 0 !important;
}

body#module-psgdpr-gdpr .psgdprinfo17 {
  float: none;
  width: 100%;
  margin-bottom: 16px;
  padding: 24px;
  border: 1px solid #dce5f2;
  border-radius: 14px;
  background: #fff;
}

body#module-psgdpr-gdpr .psgdprinfo17 h2 {
  color: #13213d;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

body#view #main.wg-account { padding: 8px 0 42px; }
body#view .wg-account-content > .wishlist-products-container { min-height: 360px; }

body#view .wishlist-products-container-header {
  display: flex;
  min-height: 48px;
  margin-bottom: 22px;
  align-items: center;
  justify-content: flex-end;
}

body#view .wishlist-products-container-header > h1 { display: none; }

body#view .wishlist-products-container-header .sort-by-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

body#view .wishlist-products-container-header .sort-by {
  width: auto;
  padding: 0;
  color: #52617d;
  font-size: 14px;
  white-space: nowrap;
}

body#view .wishlist-products-container-header .products-sort-order {
  width: 238px;
  padding: 0;
}

body#view .wishlist-products-container-header .select-title {
  display: flex;
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #cbd7e8;
  border-radius: 10px;
  background: #fff;
  color: #13213d;
  font-size: 14px;
}

body#view .wishlist-products-container > #content {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body#view .wishlist-products-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

body#view .wishlist-products-item {
  width: auto;
  min-width: 0;
  max-width: none;
}

body#view .wishlist-product {
  display: flex;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #dce5f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(19, 33, 61, .06);
}

body#view .wishlist-product-link {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  color: #13213d;
  text-decoration: none;
}

body#view .wishlist-product-image {
  position: relative;
  display: grid;
  width: 100%;
  height: auto;
  min-height: 230px;
  margin: 0;
  padding: 22px;
  place-items: center;
  background: #eaf2fd;
}

body#view .wishlist-product-image > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 190px;
  object-fit: contain;
}

body#view .wishlist-product-right {
  display: flex;
  width: 100%;
  min-width: 0;
  padding: 20px 20px 8px;
  flex: 1 1 auto;
  flex-direction: column;
}

body#view .wishlist-product-title {
  margin: 0 0 12px;
  color: #13213d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

body#view .wishlist-product-price {
  margin: 0 0 14px;
  color: #c8283b;
  font-size: 19px;
  font-weight: 800;
}

body#view .wishlist-product-price-promo {
  margin-right: 8px;
  color: #6b7a95;
  font-size: 13px;
  font-weight: 500;
  text-decoration: line-through;
}

body#view .wishlist-product-combinations {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body#view .wishlist-product-combinations-text {
  margin: 0;
  color: #52617d;
  font-size: 13px;
  line-height: 1.45;
}

body#view .wishlist-product-combinations .material-icons {
  color: #2a6bd1;
  font-size: 20px;
}

body#view .wishlist-product-bottom {
  display: grid;
  padding: 0 20px 20px;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 10px;
}

body#view .wishlist-product-addtocart {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: #2a6bd1;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

body#view .wishlist-product-bottom .wishlist-button-add {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid #f0cbd1;
  border-radius: 10px;
  background: #fff;
  color: #c8283b;
}

body#view .wishlist-product-availability-responsive { display: none; }

@media (max-width: 1199px) {
  body#view .wishlist-products-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  body#view .wishlist-products-container-header { justify-content: stretch; }
  body#view .wishlist-products-container-header :is(.sort-by-row,.products-sort-order) { width: 100%; }
  body#view .wishlist-products-container-header .sort-by { display: none; }
  body#view .wishlist-products-list { grid-template-columns: minmax(0, 1fr); }
  body#view .wishlist-product-image { min-height: 210px; }
}

/* Guest order tracking, registration and password recovery belong to the
   global customer area and keep one responsive form/card language. */
body#guest-tracking #wrapper,
body#password #wrapper { background: #FFFFFF; }
body#guest-tracking #content,
body#password #content { max-width: none; padding: 0; }
.wg-guest-track { padding: 8px 0 26px; }
.wg-guest-track__intro { max-width: 660px; margin-bottom: 22px; }
.wg-guest-track__intro h1 { margin: 0 0 14px; color: #13213d; font: 700 44px/1.05 'Barlow Condensed','Arial Narrow',sans-serif; }
.wg-guest-track__intro p { margin: 0; color: #52617d; font-size: 16px; line-height: 1.6; }
.wg-guest-track__grid { display: grid; grid-template-columns: minmax(0,628px) minmax(0,588px); gap: 40px; align-items: start; }
.wg-guest-track__form,
.wg-guest-track__account { padding: 28px; border: 1px solid #dce5f2; border-radius: 16px; background: #fff; }
.wg-guest-track__field { margin-bottom: 16px; }
.wg-guest-track__field label { display: block; margin: 0 0 7px; color: #13213d; font-size: 14px; font-weight: 700; }
.wg-guest-track__field label sup { color: #c8283b; }
.wg-guest-track__field .form-control { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #cbd8e9; border-radius: 10px; }
.wg-guest-track__field small { display: block; margin-top: 6px; color: #52617d; }
.wg-guest-track__form .btn-primary { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 8px; border-color: #2a6bd1; border-radius: 10px; background: #2a6bd1; font-weight: 700; text-transform: none; }
.wg-guest-track__form .material-icons { font-size: 18px; }
.wg-guest-track__account { background: rgba(255,255,255,.55); }
.wg-guest-track__account h2 { margin: 0 0 18px; color: #13213d; font: 700 24px/1.1 'Barlow Condensed','Arial Narrow',sans-serif; }
.wg-guest-track__account p { margin: 0 0 22px; color: #52617d; font-size: 16px; line-height: 1.6; }
.wg-guest-track__account .btn { display: flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #cbd8e9; border-radius: 10px; background: #fff; color: #1d52a8; font-weight: 700; text-transform: none; }
.wg-guest-track__account .material-icons { font-size: 18px; }

.wg-auth--register { grid-template-columns: minmax(0,707px) minmax(0,508px); gap: 40px; align-items: start; }
.wg-auth--register .wg-auth__panel { order: 0; min-height: 0; padding: 36px; }
.wg-auth--register .wg-auth__head p { display: none; }
.wg-auth--register .register-form { margin-top: 18px; padding: 0; border: 0; }
.wg-auth--register .js-customer-form > div { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.wg-auth--register .js-customer-form > div > .form-group { grid-column: 1 / -1; margin: 0; }
.wg-auth--register .js-customer-form > div > .form-group:nth-child(2),
.wg-auth--register .js-customer-form > div > .form-group:nth-child(3),
.wg-auth--register .js-customer-form > div > .form-group:nth-child(6) { grid-column: auto; }
.wg-auth--register .form-group:has(input[name="customer_privacy"]) { display: none; }
.wg-auth--register .form-control-label,
.wg-auth--register .form-group > div { float: none; width: 100%; max-width: none; padding-right: 0; padding-left: 0; text-align: left; }
.wg-auth--register .form-control-label { margin-bottom: 7px; color: #13213d; font-size: 14px; font-weight: 700; }
.wg-auth--register .form-control-comment { position: static; width: auto; padding: 5px 0 0; font-size: 12px; text-align: left; }
.wg-auth--register .custom-checkbox label { font-size: 14px; line-height: 1.35; }
.wg-auth--register .form-footer { grid-column: 1 / -1; margin-top: 6px; }
.wg-register-visual { position: relative; order: 1; height: 520px; overflow: hidden; border-radius: 18px; background: #DCE5F2; }
.wg-register-visual > img { width: 100%; height: 100%; object-fit: cover; }
.wg-register-visual::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.72)); }
.wg-register-visual__offer { position: absolute; z-index: 1; right: 20px; bottom: 20px; left: 20px; padding: 22px; border-radius: 16px; background: #fff; }
.wg-register-visual__offer > span { display: block; margin-bottom: 10px; padding: 5px 10px; border-radius: 5px; background: linear-gradient(90deg,#c8283b 0 30%,#d51f3b 30%); color: #fff; font-size: 12px; font-weight: 800; }
.wg-register-visual__offer h2 { margin: 0 0 6px; color: #13213d; font: 700 24px/1.1 'Barlow Condensed','Arial Narrow',sans-serif; }
.wg-register-visual__offer p { margin: 0; color: #52617d; font-size: 14px; }

.wg-password-card { width: min(558px,100%); min-height: 584px; margin: 8px auto 25px; padding: 40px; border: 1px solid #dce5f2; border-radius: 16px; background: #fff; }
.wg-password-card__icon { display: grid; width: 64px; height: 64px; margin-bottom: 22px; place-items: center; border-radius: 16px; background: #eaf2fd; color: #2a6bd1; }
.wg-password-card__icon .material-icons { font-size: 30px; }
.wg-password-card h1 { margin: 0 0 18px; color: #13213d; font: 700 40px/1.05 'Barlow Condensed','Arial Narrow',sans-serif; }
.wg-password-card > p { margin: 0 0 22px; color: #52617d; font-size: 16px; line-height: 1.55; }
.wg-password-card form label { display: block; margin: 0 0 7px; color: #13213d; font-size: 14px; font-weight: 700; }
.wg-password-card form label sup { color: #c8283b; }
.wg-password-card .form-control { height: 46px; margin-bottom: 20px; padding: 0 14px; border: 1px solid #cbd8e9; border-radius: 10px; }
.wg-password-card .btn-primary { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 8px; border-color: #2a6bd1; border-radius: 10px; background: #2a6bd1; font-weight: 700; text-transform: none; }
.wg-password-card .btn-primary .material-icons { font-size: 18px; }
.wg-password-card__errors { margin: 0 0 18px; padding: 14px 18px 14px 36px; border-radius: 10px; background: #FDECEE; color: #b51f32; }
.wg-password-card__back { display: inline-block; margin-top: 22px; color: #1d52a8; font-weight: 600; }
.wg-password-card--reset { min-height: 520px; }
.wg-password-card--reset > p { margin-bottom: 22px; }
.wg-password-card--reset .form-control { margin-bottom: 20px; }
.wg-password-card--reset #new-password-confirm { margin-bottom: 6px; border-color: #dc3545; }
.wg-password-card__validation { display: block; margin: 0 0 18px; color: #dc3545; font-size: 13px; }

@media (max-width: 991px) {
  .wg-guest-track__grid,
  .wg-auth--register { grid-template-columns: 1fr; }
  .wg-guest-track__grid { gap: 20px; }
  .wg-register-visual { height: 420px; }
}

@media (max-width: 575px) {
  .wg-guest-track__intro h1 { font-size: 38px; }
  .wg-guest-track__form,
  .wg-guest-track__account { padding: 20px; }
  .wg-auth--register .js-customer-form > div { grid-template-columns: 1fr; }
  .wg-auth--register .js-customer-form > div > .form-group { grid-column: 1; }
  .wg-password-card { min-height: 0; padding: 26px 22px; }
}
/* ===== R310 — LOGOWANIE (mobile): panel/szerokość 1:1 z prototypem, wysokości pól 46px, przerwa na alert, lista korzyści 32px ===== */
@media (max-width: 991px) {
  body#authentication .wg-auth { padding-left: 0 !important; padding-right: 0 !important; margin-bottom: -21px !important; }
  body#authentication .wg-auth .wg-auth__panel { padding: 36px 69px !important; }
  body#authentication .wg-auth .wg-auth__benefits { padding: 36px 69px !important; }
  body#authentication .wg-auth .wg-auth__notice { display: block !important; min-height: 104px !important; margin: 0 !important; }
  body#authentication .wg-auth .login-form .form-control,
  body#authentication .wg-auth .login-form input[type=email],
  body#authentication .wg-auth .login-form input[type=password] { box-sizing: border-box !important; min-height: 46px !important; height: 46px !important; padding: 10px 14px !important; }
  body#authentication .wg-auth .login-form .form-group { margin-bottom: 16px !important; }
  body#authentication .wg-auth .login-form .form-control-label { margin: 0 0 6px !important; padding: 0 !important; }
  body#authentication .wg-auth .login-form .forgot-password { margin-top: -10px !important; }
  body#authentication .wg-auth .login-form .wg-remember { display: flex !important; align-items: center !important; gap: 10px !important; margin: 16px 0 0 !important; height: auto !important; }
  body#authentication .wg-auth .login-form #submit-login,
  body#authentication .wg-auth .login-form button[type=submit] { min-height: 54px !important; height: 54px !important; margin-top: 9px !important; }
  body#authentication .wg-auth .wg-auth__benefits .wg-auth__eyebrow { margin: 0 0 22px !important; }
  body#authentication .wg-auth .wg-auth__benefits ul { display: flex !important; flex-direction: column !important; gap: 12px !important; margin: 0 0 20px !important; padding: 0 !important; }
  body#authentication .wg-auth .wg-auth__benefits ul > li { margin: 0 !important; padding: 0 !important; line-height: 18px !important; min-height: 0 !important; }
  body#authentication .wg-auth .wg-auth__benefits .btn { min-height: 54px !important; }
  body#authentication .wg-auth .wg-auth__guest { margin-top: 20px !important; }
}

/* Legacy R158-R159 authentication wrapper geometry; ordered before newer account contracts. */
/* R158: mobile login – usuniecie marginesu 54px nad wrapperem (tresc/trustbar/newsletter na pozycjach prototypu 696/1916/2229) */
@media (max-width: 991px) {
  body[class*="authentication"] #wrapper { margin-top: 0 !important; }
}


/* R159: mobile login – nadpisanie body#authentication #wrapper (2 id) usuwajace margines 54px (tresc 696/trustbar 1916/newsletter 2229) */
@media (max-width: 767.98px) {
  body#authentication #wrapper { margin-top: 0 !important; }
}
@media (min-width: 768px) and (max-width: 991px) {
  body#authentication #wrapper { margin-top: 0 !important; }
}

/* Legacy R133-R136 authentication contracts; ordered before newer account rules. */
/* R133: login page parity — visible h1, 612px panels, gray benefits panel */
body#authentication .wg-auth{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:32px!important;max-width:1256px!important;margin:0 auto!important;align-items:stretch!important}
body#authentication .wg-auth__panel,body#authentication .wg-auth__benefits{padding:36px!important;border-radius:16px!important}
body#authentication .wg-auth__panel{background:#fff!important}
body#authentication .wg-auth__benefits{background:#F5F8FE!important}
body#authentication .wg-auth__head h1{display:block!important;visibility:visible!important;font-family:var(--wg-font-display)!important;font-size:40px!important;line-height:1.05!important;font-weight:700!important;color:#13213D!important;text-transform:none!important;margin:0 0 8px!important}
body#authentication .wg-auth__head p{font-size:16px!important;color:#52617D!important;margin:0 0 22px!important}


/* R134: login panel internal rhythm to prototype */
body#authentication #main{margin-top:-16px!important}
body#authentication .wg-auth__head h1{line-height:1.025!important;margin:0!important}
body#authentication .wg-auth__head p{font-size:15px!important;line-height:1.6!important;margin:20px 0 20px!important;height:24px!important;max-height:24px!important;overflow:hidden!important}
body#authentication .wg-auth__notice{margin:0!important}


/* R135: remove login form top gap */
body#authentication .wg-auth .login-form{margin-top:0!important;padding-top:0!important}
body#authentication .wg-auth form#login-form{margin-top:0!important;padding-top:0!important}


/* R136: login panel flow to prototype */
body#authentication .wg-auth__panel{display:block!important}
body#authentication .wg-auth__head{display:flex!important;flex-direction:column!important;gap:20px!important}
body#authentication .wg-auth__head p{margin:0 0 20px!important}
body#authentication .wg-auth__notice{margin:0 0 20px!important}
body#authentication .wg-auth .login-form{margin:0!important;display:block!important}

