/* Isolated WZ product and newsletter UX fixes. */
body#product .wz-product-benefits,
body#product .wz-product-information {
  width: 100%;
  max-width: 1240px;
  margin: 34px auto 0;
  padding: 0 16px;
  box-sizing: border-box;
}
body#product .wz-product-benefits {
  clear: both;
  max-width: 1100px;
  margin-top: 44px;
}
body#product .wz-product-benefits > h2,
body#product .wz-product-information > h2 {
  margin: 0 0 18px;
  color: #222;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.2;
  font-weight: 700;
}
body#product .wz-product-benefits > h2 {
  margin-bottom: 20px;
  text-align: center;
}
body#product .wz-product-benefits__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
body#product .wz-product-benefit,
body#product .wz-product-info-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e4e1d9;
  border-radius: 14px;
  background: #fff;
}
body#product .wz-product-benefit[open],
body#product .wz-product-info-item[open] {
  border-color: #ff9700;
  box-shadow: 0 8px 24px rgba(42, 35, 24, .08);
}
body#product .wz-product-benefit[open] > summary {
  border-bottom: 1px solid #f0ebe3;
}
body#product .wz-product-benefit summary,
body#product .wz-product-info-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 15px 18px;
  color: #222;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  box-sizing: border-box;
}
body#product .wz-product-benefit summary::-webkit-details-marker,
body#product .wz-product-info-item summary::-webkit-details-marker { display: none; }
body#product .wz-product-benefit summary img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
body#product .wz-product-benefit__label,
body#product .wz-product-info-item summary > span:first-child { flex: 1 1 auto; }
body#product .wz-product-benefit__action,
body#product .wz-product-info-item__action {
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff9700;
}
body#product .wz-product-benefit__action::before,
body#product .wz-product-benefit__action::after,
body#product .wz-product-info-item__action::before,
body#product .wz-product-info-item__action::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 17px;
  width: 16px;
  height: 2px;
  background: #fff;
  transition: transform .2s ease;
}
body#product .wz-product-benefit__action::after,
body#product .wz-product-info-item__action::after { transform: rotate(90deg); }
body#product details[open] > summary .wz-product-benefit__action::after,
body#product details[open] > summary .wz-product-info-item__action::after { transform: rotate(0); }
body#product .wz-product-benefit__content,
body#product .wz-product-info-content {
  padding: 0 18px 19px;
  color: #4c4a46;
  font-size: 16px;
  line-height: 1.7;
}
body#product .wz-product-benefit__content {
  padding: 18px 72px 20px 80px;
  animation: wzProductAccordionReveal .18s ease-out both;
}
body#product .wz-product-benefit__content p {
  max-width: 860px;
}
@keyframes wzProductAccordionReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
body#product .wz-product-benefit__content p,
body#product .wz-product-info-content p { margin: 0 0 14px; }
body#product .wz-product-information__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
body#product .wz-product-info-content img { max-width: 100%; height: auto; }
body#product .wz-product-info-content table { display: block; max-width: 100%; overflow-x: auto; }

@media (min-width: 991px) {
  #header .ets_mm_megamenu .mm_menus_ul > .mm_menus_li.mm_has_sub.wz-force-closed > .mm_columns_ul {
    display: none !important;
  }
}

/* Compact footer newsletter without the photographic parallax banner. */
#footer .footer-before.parallax-bg {
  min-height: 0 !important;
  background: #f7f4ee !important;
  border-top: 1px solid #e7e1d7;
  border-bottom: 1px solid #e7e1d7;
}
#footer .footer-before .block_newsletter {
  padding: 26px 0 !important;
  text-align: left !important;
}
#footer .footer-before .block_newsletter > .container {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 16px 36px;
  max-width: 1200px;
  padding: 0 20px !important;
  color: #292724 !important;
}
#footer .footer-before .block_newsletter .block_title {
  margin: 0 !important;
  padding: 0 !important;
  color: #222 !important;
  filter: none !important;
  font-size: 23px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-align: left !important;
}
#footer .footer-before .block_newsletter .block_title::before { display: none !important; }
#footer .footer-before .block_newsletter .block_content {
  width: 100% !important;
  min-width: 0;
  padding: 0 !important;
  color: #5c5750 !important;
}
#footer .footer-before .block_newsletter .block_content > p {
  margin: 0 0 8px !important;
  color: #5c5750 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}
#footer .footer-before .block_newsletter form,
#footer .footer-before .block_newsletter form .col-xs-12 {
  display: block !important;
  width: 100% !important;
  max-width: 680px;
  padding: 0 !important;
}
#footer .footer-before .block_newsletter form .input-wrapper {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  overflow: visible !important;
}
#footer .footer-before .block_newsletter form input[type="email"] {
  width: 100% !important;
  height: 48px !important;
  padding: 10px 140px 10px 16px !important;
  border: 1px solid #d8d2c8 !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #222 !important;
  box-shadow: none !important;
}
#footer .footer-before .block_newsletter form input.btn {
  top: 0 !important;
  right: 0 !important;
  height: 48px !important;
  padding: 9px 22px !important;
  border: 0 !important;
  border-radius: 0 9px 9px 0 !important;
  background: #ff9700 !important;
  color: #fff !important;
  font-weight: 700 !important;
}
#footer .footer-before .block_newsletter #gdpr_consent {
  padding: 7px 0 0 !important;
  color: #5c5750 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  text-align: left !important;
}
#footer .footer-before .block_newsletter #gdpr_consent label,
#footer .footer-before .block_newsletter #gdpr_consent .psgdpr_consent_message,
#footer .footer-before .block_newsletter #gdpr_consent a { color: #5c5750 !important; }

@media (max-width: 767px) {
  body#product .wz-product-benefits,
  body#product .wz-product-information { margin-top: 26px; padding: 0 12px; }
  body#product .wz-product-benefits__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body#product .wz-product-benefit summary,
  body#product .wz-product-info-item summary { min-height: 64px; padding: 12px 14px; font-size: 16px; }
  body#product .wz-product-benefit summary img { flex-basis: 42px; width: 42px; height: 42px; }
  body#product .wz-product-benefit__content,
  body#product .wz-product-info-content { padding: 0 14px 16px; font-size: 15px; }
  body#product .wz-product-benefit__content { padding-top: 14px; }
  #footer .footer-before .block_newsletter { padding: 22px 0 !important; }
  #footer .footer-before .block_newsletter > .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 0 15px !important;
  }
  #footer .footer-before .block_newsletter .block_title { font-size: 21px !important; }
  #footer .footer-before .block_newsletter form input[type="email"] { padding-right: 76px !important; }
  #footer .footer-before .block_newsletter form input.btn { display: block !important; padding: 8px 16px !important; }
}

/* Final footer layout: predictable five-column grid instead of legacy floats. */
#footer .footer-container {
  padding: 34px 0 24px !important;
  background: #fff !important;
}
#footer .footer-container > .container {
  max-width: 1240px !important;
  padding: 0 20px 20px !important;
}
#footer .footer-container .footer {
  display: grid !important;
  grid-template-columns: 1.25fr .85fr 1fr 1.05fr 1.35fr;
  align-items: start;
  gap: 28px;
  width: 100% !important;
}
#footer .footer-container .footer > * {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
#footer .footer-container .block-contact { order: 1; grid-column: 1; grid-row: 1; }
#footer .footer-container .footer > .links.block { order: 2; }
#footer .footer-container .right-info { order: 5; }
#footer .footer-container .block-social { order: 6; grid-column: 1; grid-row: 2; }
#footer .footer-container h3,
#footer .footer-container h3 a,
#footer .footer-container .h3,
#footer .footer-container .block_title {
  margin: 0 0 14px !important;
  color: #2b2926 !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  text-transform: none !important;
}
#footer .footer-container ul { margin: 0 !important; padding: 0 !important; }
#footer .footer-container li {
  margin: 0 0 9px !important;
  padding: 0 !important;
  color: #58534d !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
#footer .footer-container li a,
#footer .footer-container .contactdiv,
#footer .footer-container .dropdown {
  color: #58534d !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
#footer .footer-container li a:hover { color: #e57f00 !important; }
#footer .footer-container .block-contact-title { display: none !important; }
#footer .footer-container #footer_logo { margin: 0 0 16px !important; }
#footer .footer-container #footer_logo img {
  width: 190px !important;
  max-width: 100% !important;
  height: auto !important;
}
#footer .footer-container .block-contact li .material-icons { display: none !important; }
#footer .footer-container .block-social ul {
  display: flex !important;
  align-items: center;
  gap: 18px;
}
#footer .footer-container .block-social li { margin: 0 !important; }
#footer .footer-container .right-info .footericons {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 15px 12px;
}
#footer .footer-container .right-info .footericons > div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 !important;
}
#footer .footer-container .right-info .footericons img {
  width: auto !important;
  max-width: 88px !important;
  max-height: 30px !important;
  object-fit: contain;
}

/* Stronger, benefit-led newsletter block. */
#footer .footer-before.parallax-bg {
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: #26231f !important;
  border: 0 !important;
}
#footer .footer-before .block_newsletter {
  height: auto !important;
  min-height: 0 !important;
  padding: 28px 0 !important;
  background: transparent !important;
}
#footer .footer-before .block_newsletter > .container {
  height: auto !important;
  min-height: 0 !important;
  grid-template-columns: minmax(245px, 335px) minmax(0, 1fr) !important;
  gap: 16px 42px !important;
  color: #fff !important;
}
#footer .footer-before .block_newsletter .block_title {
  color: #fff !important;
  font-size: 25px !important;
}
#footer .footer-before .block_newsletter .block_title::after {
  content: '10%';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 32px;
  margin-left: 10px;
  padding: 0 9px;
  border-radius: 999px;
  background: #ff9700;
  color: #fff;
  font-size: 15px;
  vertical-align: 3px;
}
#footer .footer-before .block_newsletter .block_content,
#footer .footer-before .block_newsletter .block_content > p,
#footer .footer-before .block_newsletter #gdpr_consent,
#footer .footer-before .block_newsletter #gdpr_consent label,
#footer .footer-before .block_newsletter #gdpr_consent .psgdpr_consent_message,
#footer .footer-before .block_newsletter #gdpr_consent a { color: #d8d3cc !important; }
#footer .footer-before .block_newsletter .block_content > p {
  margin-bottom: 9px !important;
  font-size: 13px !important;
}
#footer .footer-before .block_newsletter form input[type="email"] {
  border-color: #fff !important;
  background: #fff !important;
  color: #222 !important;
}
#footer .footer-before .block_newsletter form input.btn,
#footer .footer-before .block_newsletter form input.btn:disabled {
  background: #ff9700 !important;
  color: #fff !important;
}
#footer .footer-before .block_newsletter form input.btn:disabled { opacity: .55 !important; }
#footer .footer-before .block_newsletter form input.btn:not(:disabled):hover { background: #e88300 !important; }
#footer .footer-before .block_newsletter .custom-checkbox input[type="checkbox"] + span {
  border-color: #fff !important;
  background: transparent !important;
}

@media (max-width: 990px) {
  #footer .footer-container .footer { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
  #footer .footer-container .footer > * { grid-column: 1 !important; grid-row: auto !important; }
  #footer .footer-container .block-contact { order: 1; }
  #footer .footer-container .footer > .links.block { order: 2; }
  #footer .footer-container .right-info { order: 5; margin-top: 18px !important; }
  #footer .footer-container .block-social { order: 6; margin-top: 18px !important; }
  #footer .footer-container .right-info .footericons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  #footer .footer-before .block_newsletter > .container { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
  #footer .footer-before .block_newsletter .block_title { font-size: 22px !important; }
  #footer .footer-container { padding-top: 24px !important; }
  #footer .footer-container .right-info .footericons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Compact product purchase summary: price, shipping and multi-buy offer. */
body#product .product-prices.js-product-prices {
  display: inline-grid !important;
  grid-template-columns: max-content max-content !important;
  align-items: center !important;
  justify-content: start !important;
  gap: 12px 14px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 4px 0 22px !important;
}
body#product .product-prices.js-product-prices > .product-price {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: auto !important;
  margin: 0 !important;
  line-height: 1 !important;
}
body#product .product-prices.js-product-prices .current-price,
body#product .product-prices.js-product-prices .current-price span,
body#product .product-prices.js-product-prices .product-price,
body#product .product-prices.js-product-prices .price {
  font-size: 46px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: -.8px !important;
}
body#product .product-prices.js-product-prices > .mz-free-ship {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: start !important;
  align-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-height: 42px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 9px 14px !important;
  border: 1px solid #a9ddbc !important;
  border-radius: 999px !important;
  background: #eaf8ef !important;
  color: #16773f !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
body#product .product-prices.js-product-prices > .mz-promo-badge {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 9px 14px !important;
  border: 1px solid #ffc56b !important;
  border-radius: 10px !important;
  background: #fff7e9 !important;
  color: #7c4500 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  box-sizing: border-box !important;
}
body#product .product-prices.js-product-prices > .mz-promo-badge > b {
  color: #d3242b !important;
  font-size: 17px !important;
}
body#product .product-prices.js-product-prices .mz-promo-code {
  padding-left: 8px !important;
  border-left: 1px solid #e7c188 !important;
  color: #7c4500 !important;
  white-space: nowrap !important;
}
body#product .product-prices.js-product-prices .mz-promo-code b { color: #d3242b !important; }

@media (max-width: 767px) {
  body#product .product-prices.js-product-prices {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    gap: 10px !important;
  }
  body#product .product-prices.js-product-prices > .product-price,
  body#product .product-prices.js-product-prices > .mz-free-ship,
  body#product .product-prices.js-product-prices > .mz-promo-badge {
    grid-column: 1 !important;
    width: fit-content !important;
    max-width: 100% !important;
  }
  body#product .product-prices.js-product-prices > .product-price { grid-row: 1 !important; }
  body#product .product-prices.js-product-prices > .mz-free-ship { grid-row: 2 !important; }
  body#product .product-prices.js-product-prices > .mz-promo-badge {
    grid-row: 3 !important;
    flex-wrap: wrap !important;
  }
  body#product .product-prices.js-product-prices .current-price,
  body#product .product-prices.js-product-prices .current-price span,
  body#product .product-prices.js-product-prices .product-price,
  body#product .product-prices.js-product-prices .price { font-size: 38px !important; }
}

/* Final newsletter palette and deterministic desktop footer placement. */
#footer .footer-before.parallax-bg {
  background: #f6f1e8 !important;
  border-top: 1px solid #e7dfd2 !important;
  border-bottom: 1px solid #e7dfd2 !important;
}
#footer .footer-before .block_newsletter { padding: 24px 0 !important; }
#footer .footer-before .block_newsletter > .container { color: #2b2926 !important; }
#footer .footer-before .block_newsletter .block_title,
#footer .footer-before .block_newsletter .block_title * {
  color: #2b2926 !important;
  text-shadow: none !important;
}
#footer .footer-before .block_newsletter .block_title::after {
  background: #d96b00 !important;
  color: #fff !important;
}
#footer .footer-before .block_newsletter .block_content,
#footer .footer-before .block_newsletter .block_content > p,
#footer .footer-before .block_newsletter #gdpr_consent,
#footer .footer-before .block_newsletter #gdpr_consent label,
#footer .footer-before .block_newsletter #gdpr_consent .psgdpr_consent_message,
#footer .footer-before .block_newsletter #gdpr_consent a {
  color: #514b44 !important;
  text-shadow: none !important;
}
#footer .footer-before .block_newsletter form input.btn,
#footer .footer-before .block_newsletter form input.btn:disabled {
  background: #d96b00 !important;
  color: #fff !important;
  opacity: 1 !important;
}
#footer .footer-before .block_newsletter form input.btn:not(:disabled):hover { background: #b95600 !important; }
#footer .footer-before .block_newsletter .custom-checkbox input[type="checkbox"] + span {
  border-color: #7c746b !important;
  background: #fff !important;
}

@media (min-width: 991px) {
  #footer .footer-container .footer {
    grid-template-areas:
      "contact offer service terms payments"
      "social offer service terms payments" !important;
    grid-template-columns: 1.2fr .82fr 1fr 1.08fr 1.28fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 32px !important;
    row-gap: 14px !important;
  }
  #footer .footer-container .footer > .block-contact {
    grid-area: contact !important;
    order: initial !important;
  }
  #footer .footer-container .footer > .block-social {
    grid-area: social !important;
    align-self: start !important;
    order: initial !important;
  }
  #footer .footer-container .footer > .links.block:nth-of-type(2) {
    grid-area: offer !important;
    order: initial !important;
  }
  #footer .footer-container .footer > .links.block:nth-of-type(3) {
    grid-area: service !important;
    order: initial !important;
  }
  #footer .footer-container .footer > .links.block:nth-of-type(4) {
    grid-area: terms !important;
    order: initial !important;
  }
  #footer .footer-container .footer > .right-info {
    grid-area: payments !important;
    order: initial !important;
  }
}

@media (min-width: 768px) and (max-width: 990px) {
  #footer .footer-container .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 36px !important;
  }
  #footer .footer-container .footer > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  #footer .footer-container .block-contact { order: 1 !important; }
  #footer .footer-container .footer > .links.block:nth-of-type(2) { order: 2 !important; }
  #footer .footer-container .footer > .links.block:nth-of-type(3) { order: 3 !important; }
  #footer .footer-container .footer > .links.block:nth-of-type(4) { order: 4 !important; }
  #footer .footer-container .right-info { order: 5 !important; }
  #footer .footer-container .block-social { order: 6 !important; }
}

#footer .footer-container .block-social > ul.hidden-md-down a {
  display: block !important;
  width: 40px !important;
  height: 40px !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 40px !important;
}
#footer .footer-container .block-social > ul.hidden-md-down a::before {
  color: #2b2926 !important;
  font-size: 18px !important;
}
#footer .footer-container .right-info > h3 {
  display: block !important;
  min-height: 22px;
}
#footer .footer-container .right-info > h3::before { content: 'Płatności i dostawa'; }
#footer .footer-container .right-info .footericons img {
  display: block !important;
  width: 78px !important;
  height: 30px !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

/* Restore the customer-account entry missing after the PS9 theme migration. */
#header .wz-header-account {
  flex: 0 0 72px;
  align-self: center;
  height: 58px;
}
#header .wz-header-account__link {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 100%;
  height: 100%;
  color: #222 !important;
  font-size: 14px;
  line-height: 1.1;
  text-decoration: none !important;
}
#header .wz-header-account__link svg { display: block; color: #222; }
#header .wz-header-account__link:hover,
#header .wz-header-account__link:focus { color: #d96b00 !important; }
#header .wz-header-account__link:hover svg,
#header .wz-header-account__link:focus svg { color: #d96b00; }

@media (max-width: 990px) {
  #header .header-nav .mobile #_mobile_logo { order: 1; margin-right: auto; }
  #header .header-nav .mobile #_mobile_search { order: 2; }
  #header .header-nav .mobile #_mobile_user_info.wz-mobile-account {
    display: flex !important;
    flex: 0 0 44px;
    order: 3;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    position: relative !important;
  }
  #header .header-nav .mobile #_mobile_cart { order: 4; }
  #header .wz-mobile-account .wz-header-account__link { width: 44px; height: 44px; }
  #header .wz-mobile-account .wz-header-account__link svg { width: 25px; height: 25px; }
}

/* Three clear purchase benefits above the main header. */
#header .header-banner {
  min-height: 54px !important;
  padding: 0 !important;
  background: #2b2926 !important;
  border: 0 !important;
}
#header .wz-header-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: min(1400px, 100%);
  min-height: 54px;
  margin: 0 auto;
  padding: 0 24px;
  color: #fff;
}
#header .wz-header-benefits__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
#header .wz-header-benefits__item + .wz-header-benefits__item {
  border-left: 1px solid rgba(255, 255, 255, .18);
}
#header .wz-header-benefits__icon {
  display: inline-flex;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  color: #ff9800;
}
#header .wz-header-benefits__icon svg { display: block; width: 100%; height: 100%; }
#header .wz-header-benefits__mobile { display: none; }

@media (max-width: 990px) {
  #header .header-banner { min-height: 50px !important; }
  #header .wz-header-benefits {
    min-height: 50px;
    padding: 0 10px;
  }
  #header .wz-header-benefits__item {
    gap: 7px;
    padding: 8px 10px;
    font-size: 13px;
  }
  #header .wz-header-benefits__icon { flex-basis: 21px; width: 21px; height: 21px; }
}

@media (max-width: 575px) {
  #header .header-banner { min-height: 56px !important; }
  #header .wz-header-benefits {
    min-height: 56px;
    padding: 0 3px;
  }
  #header .wz-header-benefits__item {
    flex-direction: column;
    gap: 2px;
    padding: 6px 4px;
    font-size: 11px;
    line-height: 1.12;
  }
  #header .wz-header-benefits__icon { flex-basis: 19px; width: 19px; height: 19px; }
  #header .wz-header-benefits__desktop { display: none; }
  #header .wz-header-benefits__mobile { display: block; }
}

/* Final audit fixes: mobile header, home H1, notification and personalization. */
@media (max-width: 990px) {
  html, body { max-width: 100% !important; overflow-x: hidden !important; }
  #header,
  #header .header-banner,
  #header .header-nav,
  #header .header-top-main,
  #header .header-top,
  #wrapper {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  #header .header-nav.fixed {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
  }
  #search_block_top,
  #_mobile_search .search-widget {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

.product-notification {
  left: auto !important;
  right: 16px !important;
  bottom: 16px !important;
  width: min(320px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  max-width: 320px !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.product-notification .product-recommend,
.product-notification .product-notification-content,
.product-notification .column-right {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.product-notification img,
.product-notification .product-image {
  width: 72px !important;
  max-width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
}
.product-notification .product-name,
.product-notification .product-title,
.product-notification p {
  font-size: 13px !important;
  line-height: 1.3 !important;
  overflow-wrap: anywhere !important;
}

.product-customization-item .product-message + span > i:first-child,
.product-customization .product-message + span > i:first-child,
.product-customization-item span > i:first-child {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  margin-right: 8px !important;
  border-radius: 50% !important;
  background: #d96b00 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 18px !important;
  vertical-align: middle !important;
}

#index .single-product-title,
#index .normal-title.center.big {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  text-align: center !important;
}
#index h1.light-title {
  display: block !important;
  width: min(980px, calc(100% - 32px)) !important;
  margin: 0 auto 26px !important;
  color: #2b2926 !important;
  font-size: clamp(24px, 3vw, 38px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

#index .normal-title.center.big {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 18px 0 0 !important;
}

#index h1.light-title {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

/* Final product-page cleanup after the responsive migration. */
@media (max-width: 990px) {
  nav.breadcrumb > .container {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  nav.breadcrumb > .container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

body .product-notification,
body .product-notification.active {
  left: auto !important;
  right: 16px !important;
  width: 320px !important;
  max-width: calc(100vw - 32px) !important;
}

#footer .footer-container .footer > .product-notification,
#footer .footer-container .footer > .product-notification.active {
  left: auto !important;
  right: 16px !important;
  width: 320px !important;
  max-width: calc(100vw - 32px) !important;
}

@media (max-width: 990px) {
  .ets_mm_megamenu .mm_menus_ul > .mm_menus_li.hidden-md-down {
    display: list-item !important;
  }
}

/* 2026-08-15: mobile header flow and compact personalization drawer. */
@media (max-width: 990px) {
  #header,
  #header .header-top-main,
  #header .header-top-main > .container {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  #header .header-top-main > .container {
    display: flow-root !important;
    padding-bottom: 10px !important;
  }

  /* The legacy menu fixes the inner container at 40 px, so reserve the
   * second row explicitly for search instead of letting it cover the hero. */
  #header .header-top-main {
    min-height: 112px !important;
  }

  #search_block_top,
  #_mobile_search .search-widget {
    position: relative !important;
    inset: auto !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 0 !important;
  }

  #product-customization-sidebar {
    width: min(100vw, 520px) !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  #product-customization-sidebar .product-customization-sidebar-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: 100% !important;
    height: auto !important;
    padding: 58px 22px 24px !important;
    box-sizing: border-box !important;
  }

  #product-customization-sidebar .wk-product-customization-temp,
  #product-customization-sidebar .product-customization-item,
  #product-customization-sidebar .product-customization-item .product-message {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #product-customization-sidebar .product-customization-item .product-message {
    min-height: 120px !important;
    height: 120px !important;
    resize: vertical !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  #product-customization-sidebar .product-customization-save-buttom {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 22px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #product-customization-sidebar .product-customization-save-buttom .add,
  #product-customization-sidebar .product-customization-save-buttom button {
    width: 100% !important;
  }

  #product-customization-sidebar .product-customization-save-buttom > span {
    display: none !important;
  }
}

#product-customization-sidebar .wz-customization-status {
  min-height: 22px !important;
  margin: 12px 0 0 !important;
  color: #7a3f00 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

/* stopka-mobile-2026-09-16 (Claude): zwarta, wyśrodkowana stopka na telefonie */
@media (max-width:767px){
#footer .footer-container{padding:8px 0!important}
#footer .footer-container .footer{padding:12px 0 16px!important}
#footer #block-contact_list{height:auto!important;text-align:center;padding:0!important}
#footer #block-contact_list .footer_logo{margin:0 auto 10px!important;text-align:center}
#footer #block-contact_list .footer_logo a{display:block;text-align:center}
#footer #block-contact_list .footer_logo img{display:inline-block!important;max-width:170px;height:auto;margin:0 auto!important;float:none!important}
#footer #block-contact_list li{display:block;margin:0 0 8px!important;padding:0!important;font-size:14px;line-height:1.45}
#footer #block-contact_list li i.material-icons{display:none}
#footer .links.block .title{padding:10px 0!important;margin:0!important;border-bottom:1px solid #eee}
#footer .links.block .block_title{font-size:17px}
#footer .right-info{margin:14px 0 0!important;text-align:center}
#footer .right-info .footericons{display:grid!important;grid-template-columns:repeat(4,1fr);gap:8px;max-width:340px;margin:0 auto}
#footer .right-info .footericons .col-auto{padding:0!important;width:auto!important;max-width:none!important;display:flex!important;align-items:center;justify-content:center}
#footer .right-info .footericons img{max-width:100%;height:auto;max-height:36px}
#footer .block-social{margin:12px 0 0!important;text-align:center}
#footer .block-social .block_title{display:none!important}
#footer .block-social ul.hidden-md-down{display:none!important}
#footer .block-social .collapse ul,#footer .block-social .collapse{display:flex!important;justify-content:center;gap:12px;height:auto!important}
}

/* === 2026-09-23 FIX: wybor metody platnosci Przelewy24 w kasie ===
   Regula w custom.css (ok. linii 1479) ukrywa .additional-information dla WSZYSTKICH
   metod platnosci. Dla Przelewy24 siedzi tam lista metod (BLIK / karta / banki) — bez niej
   klient nie moze wybrac metody, a przycisk "Kupuje i place" kreci spinner w nieskonczonosc. */
#tc-container #thecheckout-payment .payment-options > div .additional-information.przelewy24payment,
#tc-container-mobile #thecheckout-payment .payment-options > div .additional-information.przelewy24payment {
  display: block !important;
  text-align: left !important;
}
