/* White photo area blends with supplier images; details sit on soft grey. */
body,
main.retailHome,
main.catalogPage,
main.detailPage,
main.infoPage,
main.accountPage,
main.paymentPage {
  background: #e8edef;
}

.retailHeader {
  background: #f1f4f5;
  border-bottom-color: #d8e0e4;
}

/* Stable header for short and long market names. */
.simplifiedHeader {
  grid-template-columns: 260px minmax(300px, 1fr) auto;
  gap: clamp(14px, 1.6vw, 26px);
}
.simplifiedHeader .retailBrand {
  min-width: 0;
}
.simplifiedHeader .retailWordmark {
  min-width: 0;
  display: flex;
  align-items: center;
  font-size: clamp(21px, 1.8vw, 26px);
  letter-spacing: -1.25px;
  line-height: 1;
}
.simplifiedHeader .retailWordmark small {
  display: none;
}
.simplifiedHeader .retailActions {
  gap: 10px;
}
.simplifiedHeader .retailActions > button,
.simplifiedHeader .retailActions > a {
  min-width: 0;
  padding-left: 2px;
  padding-right: 2px;
}
.simplifiedHeader .retailActions span {
  font-size: 12px;
}
.simplifiedHeader .retailActions small {
  font-size: 9px;
}
.simplifiedHeader .headerContactButton {
  padding-right: 12px;
}

.retailActions .headerContactButton {
  padding-right: 18px;
  border-right: 1px solid #d3dde2;
}

.simplifiedHeader .retailActions > button,
.simplifiedHeader .retailActions > a {
  color: #061522;
}

.simplifiedHeader .retailActions > button > svg,
.simplifiedHeader .retailActions > a > svg {
  color: #061522;
  stroke-width: 2;
}

.simplifiedHeader .retailActions span {
  color: #061522;
  font-size: 13px;
  font-weight: 800;
}

.simplifiedHeader .retailActions small {
  color: #304654;
  font-weight: 650;
}

@media (max-width: 1250px) {
  .simplifiedHeader {
    grid-template-columns: 250px minmax(280px, 1fr) auto;
    gap: 14px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .retailActions .headerContactButton small {
    display: none;
  }
}

@media (max-width: 1100px) {
  .simplifiedHeader .headerContactButton {
    display: none;
  }
}

@media (max-width: 850px) {
  .simplifiedHeader {
    grid-template-columns: 220px minmax(0, 1fr) 38px;
  }
}

@media (max-width: 560px) {
  .simplifiedHeader {
    grid-template-columns: minmax(0, 1fr) 34px;
  }
  .simplifiedHeader .retailWordmark {
    font-size: 20px;
  }
}

.retailHome .retailProducts {
  background: #eef2f3;
  border-radius: 14px;
}

main .productGrid .productCard,
main .catalogGrid .productCard {
  background: #f7f9f9;
  border: 1px solid #dbe3e7;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
main .productGrid .productCard:hover,
main .productGrid .productCard:focus-within,
main .catalogGrid .productCard:hover,
main .catalogGrid .productCard:focus-within {
  border-color: #dbe3e7;
  box-shadow: 0 12px 28px rgba(12, 35, 51, .10);
}
main .productGrid .productCard .imageWrap,
main .catalogGrid .productCard .imageWrap {
  background: #fff;
}
main .productGrid .productCard .productBody,
main .productGrid .productCard .priceRow,
main .catalogGrid .productCard .productBody,
main .catalogGrid .productCard .priceRow {
  background: #f7f9f9;
}
.productCard .imageWrap > img,
.productShowcase .productGallery .detailImage > img,
.productGallery .galleryThumbs img {
  border: 0;
  box-sizing: border-box;
  mix-blend-mode: normal;
}

.productShowcase .purchaseBox > p {
  color: #263e4d;
  font-size: 13px;
  font-weight: 750;
}

.productShowcase .purchaseBox > p svg {
  width: 18px;
  color: #142b3a;
}

.hubcapSetNotice {
  display: grid;
  gap: 5px;
  margin: -5px 0 20px;
  padding: 15px 17px;
  border-left: 3px solid #e52435;
  border-radius: 7px;
  background: #f1f4f5;
  color: #173041;
}

.hubcapSetNotice b {
  color: #071522;
  font-size: 15px;
}

.hubcapSetNotice span {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.hubcapFitmentNote small {
  margin-top: 4px;
  color: #263e4d;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

/* Czytelniejsza hierarchia danych na karcie produktu. */
.detailPage .productShowcase .detailInfo > .eyebrow {
  margin-bottom: 10px;
}

.detailPage .productShowcase .detailInfo h1 {
  max-width: 760px;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.7px;
}

.detailPage .productFacts {
  margin-top: 15px;
  padding: 16px;
  border: 1px solid #dce4e8;
  border-radius: 10px;
  background: #f5f7f8;
}

.detailPage .productFactsTitle {
  display: block;
  margin-bottom: 10px;
  color: #142b3b;
  font-size: 13px;
  font-weight: 850;
}

.detailPage .productShowcase .productFacts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.detailPage .productShowcase .productFacts dl .detailRow {
  display: block;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e0e6e9;
  border-radius: 7px;
  background: #fff;
}

.detailPage .productShowcase .productFacts dt {
  margin-bottom: 5px;
  color: #6a7c87;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .25px;
  line-height: 1.25;
  text-transform: uppercase;
}

.detailPage .productShowcase .productFacts dd {
  color: #10283a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.detailPage .productShowcase .productFacts .detailRowWide {
  grid-column: 1 / -1;
}

.detailPage .productShowcase .productFacts .detailRowCodes dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detailPage .productShowcase .productFacts .detailRowCodes dd span {
  padding: 5px 8px;
  border-radius: 5px;
  background: #edf2f4;
  color: #173246;
  font-size: 12px;
  line-height: 1;
}

.detailPage .productFacts + .purchaseBox {
  margin-top: 12px;
}

.detailPage .productFactsCompact {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
}

.detailPage .productIdentityLine {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: #627581;
  font-size: 13px;
}

.detailPage .productIdentityLine span + span::before {
  content: "\00b7";
  margin-right: 22px;
  color: #a4b1b8;
}

.detailPage .productIdentityLine b {
  color: #10283a;
  font-weight: 850;
}

.detailPage .oeCodes {
  border-top: 1px solid #dce4e8;
  padding-top: 11px;
}

.detailPage .oeCodesLabel {
  display: block;
  margin-bottom: 8px;
  color: #627581;
  font-size: 13px;
  font-weight: 650;
}

.detailPage .oeCodes > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detailPage .oeCodes > div span {
  padding: 5px 8px;
  border-radius: 5px;
  background: #e8eef1;
  color: #173246;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

@media (max-width: 560px) {
  .detailPage .productShowcase .detailInfo h1 {
    font-size: 32px;
    line-height: 1.1;
  }

  .detailPage .productFacts {
    padding: 12px;
  }

  .detailPage .productShowcase .productFacts dl {
    grid-template-columns: 1fr;
  }

  .detailPage .productShowcase .productFacts .detailRowWide {
    grid-column: auto;
  }

  .detailPage .productIdentityLine {
    display: grid;
    gap: 5px;
  }

  .detailPage .productIdentityLine span + span::before {
    content: none;
  }
}
.withdrawalTools {max-width:860px;margin:0 auto 28px;line-height:1.65}
.withdrawalActions {display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.withdrawalActions button {min-height:46px;padding:12px 18px;cursor:pointer}
.withdrawalDocument {max-width:860px;margin:0 auto 28px;padding:36px;border:1px solid #d7e1e7;border-radius:12px;background:#fff;color:#142a3d}
.infoContent .withdrawalDocument h2 {font-size:28px;line-height:1.25;margin:0 0 24px;color:#142a3d}
.withdrawalActions .outlineButton {color:#142a3d;background:#fff;border-color:#142a3d}
.withdrawalDocument p {line-height:1.6}
.withdrawalDocument label {display:grid;gap:8px;margin:18px 0;font-size:14px;font-weight:600}
.withdrawalDocument .withdrawalConsent {display:flex;align-items:flex-start;gap:10px;font-weight:500;line-height:1.45}
.withdrawalDocument .withdrawalConsent input {width:18px;min-height:18px;margin:2px 0 0;flex:0 0 18px}
.formHoneypot {position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.megaMenu button{width:100%;display:flex;justify-content:space-between;padding:13px 14px;border:0;border-bottom:1px solid #edf0f1;background:#fff;color:inherit;text-align:left;font:750 13px inherit;cursor:pointer}
.megaMenu button:last-child{border-bottom:0}.megaMenu button:hover{color:#e52435}
@media(min-width:851px) and (max-width:900px){.simplifiedHeader .retailMenu{display:block}}
.withdrawalDocument input,.withdrawalDocument textarea {width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid #b7c8d2;border-radius:6px;background:#fff;color:#142a3d;font:inherit}
.withdrawalDocument textarea {resize:vertical}
.withdrawalDocument input:focus,.withdrawalDocument textarea:focus {outline:2px solid #e52435;outline-offset:2px}
.withdrawalFields {display:grid;grid-template-columns:1fr 1fr;gap:20px}
.withdrawalSignature {margin-top:30px}
@media(max-width:600px){.withdrawalDocument{padding:20px}.withdrawalFields{grid-template-columns:1fr;gap:0}.withdrawalActions button{width:100%}}
@media print {
  body:has(.withdrawalDocument) {background:#fff!important}
  body:has(.withdrawalDocument) main > :not(.infoContent),
  body:has(.withdrawalDocument) .infoContent > :not(.withdrawalDocument) {display:none!important}
  body:has(.withdrawalDocument) main,body:has(.withdrawalDocument) .infoContent {margin:0!important;padding:0!important;width:100%!important;max-width:none!important;background:#fff!important;border:0!important;box-shadow:none!important}
  .withdrawalDocument {max-width:none;margin:0;padding:12mm;border:0;border-radius:0;font-size:10pt}
  .withdrawalDocument h2 {font-size:19pt}
  .withdrawalDocument label {margin:10px 0;font-size:10pt}
  .withdrawalDocument input,.withdrawalDocument textarea {min-height:30px;padding:5px;border-radius:0}
  .withdrawalDocument input::placeholder {color:transparent}
  .withdrawalDocument a {color:inherit;text-decoration:none}
  .withdrawalDocument label,.withdrawalSignature {break-inside:avoid}
}
.cookieBanner{position:fixed;z-index:180;left:24px;right:24px;bottom:24px;margin:auto;max-width:980px;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #d8e0e5;border-radius:12px;background:#fff;color:#10283b;box-shadow:0 18px 60px rgba(3,14,24,.22)}.cookieBanner[hidden]{display:none}.cookieBanner b{font-size:17px}.cookieBanner p{margin:5px 0;color:#607482;line-height:1.45}.cookieBanner a{color:#10283b;font-size:12px;font-weight:750}.cookieBanner>span{display:flex;gap:10px;flex:0 0 auto}.cookieBanner button{padding:11px 15px;border:1px solid #bdcbd3;border-radius:6px;background:#fff;color:#10283b;font-weight:800;cursor:pointer}.cookieBanner .cookieAccept{border-color:#e52435;background:#e52435;color:#fff}@media(max-width:720px){.cookieBanner{left:12px;right:12px;bottom:12px;align-items:stretch;flex-direction:column}.cookieBanner>span{display:grid;grid-template-columns:1fr 1fr}}

/* Mobile storefronts: keep long translated labels inside the viewport. */
@media(max-width:560px){
  html,body{max-width:100%;overflow-x:hidden}
  .simplifiedHeader{width:100%;box-sizing:border-box;overflow:hidden}
  .simplifiedHeader .retailBrand,.simplifiedHeader .retailWordmark,.simplifiedHeader .retailSearch{min-width:0}
  .simplifiedHeader .retailWordmark{white-space:nowrap;overflow:visible}
  .storefrontPreview{width:calc(100% - 28px);box-sizing:border-box;margin:14px auto 6px;overflow-wrap:anywhere;line-height:1.45}
  .detailPage .detailShell.productShowcase,.detailPage .productBelow,.infoContent,.phpAuth{min-width:0;box-sizing:border-box}
  .detailPage .productShowcase .detailInfo h1,.infoContent,.legalDocument{overflow-wrap:anywhere}
  .cookieBanner{box-sizing:border-box;max-width:none;padding:18px 20px;gap:15px}
  .cookieBanner>div,.cookieBanner>span,.cookieBanner button{min-width:0}
  .cookieBanner button{white-space:normal;font-size:12px;line-height:1.25}
}
@media(max-width:430px){
  .cookieBanner>span{grid-template-columns:1fr}
  .cookieBanner button{width:100%;min-height:44px}
}
.productBelow .manufacturerBottom{display:none!important}
