/*
 * Pozostałe podstrony: tekstowe, blog, logowanie, kontakt, lista zakupowa, porównywarka…
 * Wygenerowane automatycznie z css/style.css (podział per typ strony).
 */
.shopping_list_top .slt_link .badge:not(:empty) {
    display: block;
}
		

#menu_messages_warning {
	margin-top: 40px !important;
	border: 1px solid #F65D2D;
	border-radius: 6px;
	background: #fff;
	padding: 45px 35px 45px 100px;
	box-sizing: border-box;
	position: relative;
}

	#menu_messages_warning:before {
		content: "";
		position: absolute;
		left: 35px;
		top: 50%;
		transform: translateY(-50%);
		width: 50px;
		height: 50px;
		background: url("data:image/svg+xml,%3Csvg width='62' height='62' viewBox='0 0 62 62' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50.6327 28.3053C50.6327 28.8575 51.0804 29.3053 51.6327 29.3053C52.185 29.3053 52.6327 28.8575 52.6327 28.3053H51.6327H50.6327ZM51.6327 22.2793L50.6327 22.277V22.2793H51.6327ZM47.6569 15.1819L48.1606 14.318L48.159 14.3171L47.6569 15.1819ZM32.1674 6.18921L31.6644 7.05352L31.6653 7.05403L32.1674 6.18921ZM24.6319 6.18921L25.1339 7.0541L25.1348 7.05352L24.6319 6.18921ZM9.14229 15.1792L8.64032 14.3143L8.63865 14.3153L9.14229 15.1792ZM5.16653 22.2793H6.16654L6.16653 22.2767L5.16653 22.2793ZM5.16653 39.7209L6.16653 39.7231V39.7209H5.16653ZM9.14229 46.8182L8.63865 47.6821L8.64021 47.6831L9.14229 46.8182ZM24.6319 55.811L25.1348 54.9466L25.134 54.9461L24.6319 55.811ZM32.1674 55.811L31.6653 54.9461L31.6644 54.9466L32.1674 55.811ZM39.2272 52.8688C39.7048 52.5915 39.8673 51.9795 39.59 51.5019C39.3127 51.0242 38.7007 50.8618 38.2231 51.1391L38.7251 52.0039L39.2272 52.8688ZM50.5915 18.2395C51.0592 17.9457 51.2001 17.3284 50.9063 16.8608C50.6125 16.3931 49.9953 16.2522 49.5276 16.5459L50.0596 17.3927L50.5915 18.2395ZM7.27164 16.5459C6.80398 16.2522 6.1867 16.3931 5.89291 16.8608C5.59911 17.3284 5.74005 17.9457 6.20771 18.2395L6.73967 17.3927L7.27164 16.5459ZM27.3996 56.8062C27.3996 57.3585 27.8473 57.8062 28.3996 57.8062C28.9519 57.8062 29.3996 57.3585 29.3996 56.8062H28.3996H27.3996ZM57.5552 39.1564C57.9373 38.7576 57.9238 38.1246 57.525 37.7425C57.1262 37.3604 56.4932 37.3739 56.1111 37.7727L56.8332 38.4646L57.5552 39.1564ZM45.7102 48.6282C45.3281 49.0269 45.3416 49.66 45.7404 50.042C46.1392 50.4241 46.7722 50.4106 47.1543 50.0118L46.4322 49.32L45.7102 48.6282ZM47.1542 37.7971C46.7721 37.3984 46.1391 37.3849 45.7403 37.767C45.3416 38.1492 45.3281 38.7822 45.7103 39.1809L46.4322 38.489L47.1542 37.7971ZM56.1112 50.0337C56.4933 50.4324 57.1264 50.4459 57.5251 50.0637C57.9238 49.6816 57.9373 49.0486 57.5551 48.6498L56.8332 49.3417L56.1112 50.0337ZM51.6327 28.3053H52.6327V22.2793H51.6327H50.6327V28.3053H51.6327ZM51.6327 22.2793L52.6327 22.2816C52.6364 20.6652 52.2265 19.0749 51.4424 17.6751L50.5699 18.1638L49.6975 18.6526C50.3116 19.7489 50.6356 21.0005 50.6327 22.277L51.6327 22.2793ZM50.5699 18.1638L51.4424 17.6751C50.6581 16.2751 49.5266 15.1143 48.1606 14.318L47.6569 15.1819L47.1533 16.0458C48.2035 16.6581 49.0835 17.5565 49.6975 18.6526L50.5699 18.1638ZM47.6569 15.1819L48.159 14.3171L32.6694 5.32439L32.1674 6.18921L31.6653 7.05403L47.1549 16.0467L47.6569 15.1819ZM32.1674 6.18921L32.6703 5.32491C31.3671 4.56652 29.897 4.16675 28.3996 4.16675V5.16675V6.16675C29.5395 6.16675 30.6631 6.47082 31.6644 7.05352L32.1674 6.18921ZM28.3996 5.16675V4.16675C26.9022 4.16675 25.4321 4.56652 24.1289 5.32491L24.6319 6.18921L25.1348 7.05352C26.1362 6.47082 27.2597 6.16675 28.3996 6.16675V5.16675ZM24.6319 6.18921L24.1299 5.32433L8.64032 14.3143L9.14229 15.1792L9.64426 16.0441L25.1339 7.0541L24.6319 6.18921ZM9.14229 15.1792L8.63865 14.3153C7.27225 15.1119 6.1404 16.2731 5.35612 17.6737L6.22864 18.1623L7.10116 18.6509C7.71517 17.5544 8.59542 16.6555 9.64593 16.0431L9.14229 15.1792ZM6.22864 18.1623L5.35612 17.6737C4.57199 19.0741 4.16233 20.6651 4.16654 22.2819L5.16653 22.2793L6.16653 22.2767C6.16321 20.9998 6.48701 19.7477 7.10116 18.6509L6.22864 18.1623ZM5.16653 22.2793H4.16653V39.7209H5.16653H6.16653V22.2793H5.16653ZM5.16653 39.7209L4.16654 39.7186C4.16285 41.3349 4.57275 42.9253 5.35686 44.325L6.2293 43.8363L7.10175 43.3476C6.48762 42.2513 6.16362 40.9997 6.16653 39.7231L5.16653 39.7209ZM6.2293 43.8363L5.35686 44.325C6.14112 45.7251 7.27268 46.8858 8.63865 47.6821L9.14229 46.8182L9.64593 45.9543C8.59576 45.3421 7.71573 44.4437 7.10175 43.3476L6.2293 43.8363ZM9.14229 46.8182L8.64021 47.6831L24.1298 56.6758L24.6319 55.811L25.134 54.9461L9.64437 45.9534L9.14229 46.8182ZM24.6319 55.811L24.1289 56.6753C25.4321 57.4336 26.9022 57.8334 28.3996 57.8334V56.8334V55.8334C27.2597 55.8334 26.1362 55.5293 25.1348 54.9466L24.6319 55.811ZM28.3996 56.8334V57.8334C29.897 57.8334 31.3671 57.4336 32.6703 56.6753L32.1674 55.811L31.6644 54.9466C30.6631 55.5293 29.5395 55.8334 28.3996 55.8334V56.8334ZM32.1674 55.811L32.6694 56.6758L39.2272 52.8688L38.7251 52.0039L38.2231 51.1391L31.6653 54.9461L32.1674 55.811ZM50.0596 17.3927L49.5276 16.5459L27.8677 30.1533L28.3996 31.0001L28.9316 31.8468L50.5915 18.2395L50.0596 17.3927ZM28.3996 31.0001L28.9316 30.1533L7.27164 16.5459L6.73967 17.3927L6.20771 18.2395L27.8677 31.8468L28.3996 31.0001ZM28.3996 56.8062H29.3996V31.0001H28.3996H27.3996V56.8062H28.3996ZM56.8332 38.4646L56.1111 37.7727L50.8996 43.212L51.6216 43.9038L52.3437 44.5957L57.5552 39.1564L56.8332 38.4646ZM51.6216 43.9038L50.8996 43.212L45.7102 48.6282L46.4322 49.32L47.1543 50.0118L52.3437 44.5957L51.6216 43.9038ZM46.4322 38.489L45.7103 39.1809L50.8997 44.5957L51.6216 43.9038L52.3436 43.2119L47.1542 37.7971L46.4322 38.489ZM51.6216 43.9038L50.8997 44.5957L56.1112 50.0337L56.8332 49.3417L57.5551 48.6498L52.3436 43.2119L51.6216 43.9038Z' fill='%23F65D2D'/%3E%3C/svg%3E") no-repeat center / contain;
		pointer-events: none;
	}

/* ========================================================= Strona porownania produktow tylko #product_compare_list* */
#product_compare_list_wrapper {
  position: relative !important;
  background: transparent;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  margin: 0 0 24px;
  overflow: visible !important;
}

/* Nakadka 1. kolumny poza scrollem (Pulse sticky w <table> nie dziaa) */
#product_compare_list_wrapper .rnew-compare-sticky-col {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  width: 280px;
  background: #fff;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.025);
  pointer-events: auto;
  box-sizing: border-box;
}

#product_compare_list_wrapper .rnew-compare-sticky-col .rnew-compare-sticky-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  margin: 0;
  background: #fff;
}

#product_compare_list_wrapper .rnew-compare-sticky-col th,
#product_compare_list_wrapper .rnew-compare-sticky-col td {
  width: 280px !important;
  max-width: 280px !important;
  min-width: 280px !important;
  box-sizing: border-box;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid #f5f5f5;
  border-right: 2px solid #f5f5f5;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 21px;
  color: #333333;
  background: #fff;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

#product_compare_list_wrapper .rnew-compare-sticky-col tr:not(.cmp_product) > th {
  background: #F6F7F8 !important;
  font-weight: 600;
  color: #767676;
  border-bottom: 1px solid #E4E7EC !important;
}

#product_compare_list_wrapper .rnew-compare-sticky-col tr.cmp_product > th {
  background: #fff !important;
  padding: 16px;
}

#product_compare_list_wrapper .rnew-compare-sticky-col .item_width {
  max-width: none !important;
  width: 100% !important;
}

#product_compare_list_wrapper .rnew-compare-sticky-col .btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px !important;
  margin: 0 0 10px !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: center;
  text-decoration: none !important;
  white-space: normal !important;
  box-shadow: none !important;
}

#product_compare_list_wrapper .rnew-compare-sticky-col .btn.--secondary {
  background: #fff !important;
  border: 1px solid #D14512 !important;
  color: #D14512 !important;
}

#product_compare_list_wrapper .rnew-compare-sticky-col .btn:not(.--secondary) {
  background: #F65D2D !important;
  border: 1px solid #F65D2D !important;
  color: #161515 !important;
}

#product_compare_list.compare_page {
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #D0D5DD transparent;
  background: transparent;
  border: 0 !important;
  box-shadow: none !important;
  position: relative;
  transform: none !important;
}

#product_compare_list.compare_page::-webkit-scrollbar {
  height: 8px;
}

#product_compare_list.compare_page::-webkit-scrollbar-thumb {
  background: #D0D5DD;
  border-radius: 4px;
}

#product_compare_list.compare_page table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
  background: transparent;
  border: 0;
  position: relative !important;
  left: 0 !important;
  right: auto !important;
  margin-left: 0 !important;
  transform: none !important;
}

#product_compare_list.compare_page th,
#product_compare_list.compare_page td {
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid #f5f5f5;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 21px;
  color: #333333;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Oryginalna 1. kolumna zwinita; widoczna tylko nakadka (.rnew-compare-sticky-col) */
#product_compare_list_wrapper.rnew-compare-has-sticky #product_compare_list.compare_page {
  padding-left: 280px !important;
  box-sizing: border-box !important;
}

#product_compare_list.compare_page table tr > *:first-child,
#product_compare_list.compare_page tbody tr > th:first-child,
#product_compare_list.compare_page tr.cmp_product > th.cmp_product.configure {
  position: relative !important;
  left: auto !important;
  z-index: 0 !important;
  box-shadow: none !important;
}

#product_compare_list_wrapper.rnew-compare-has-sticky #product_compare_list.compare_page table tr > *:first-child,
#product_compare_list_wrapper.rnew-compare-has-sticky #product_compare_list.compare_page tbody tr > th:first-child,
#product_compare_list_wrapper.rnew-compare-has-sticky #product_compare_list.compare_page tr.cmp_product > th.cmp_product.configure {
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}

#product_compare_list_wrapper.rnew-compare-has-sticky #product_compare_list.compare_page table tr > *:first-child *,
#product_compare_list_wrapper.rnew-compare-has-sticky #product_compare_list.compare_page tr.cmp_product > th.cmp_product.configure * {
  display: none !important;
}
/* Zaznacz rnice wiersze z klas .highlight */
#product_compare_list.compare_page table tr.highlight > th,
#product_compare_list.compare_page table tr.highlight > td {
  background: #fff7f4 !important;
  box-shadow: inset 3px 0 0 #F65D2D;
}

#product_compare_list.compare_page table tr.highlight > th:first-child {
  background: #ffefe8 !important;
  color: #333333;
}

#product_compare_list_wrapper .rnew-compare-sticky-col tr.highlight > th,
#product_compare_list_wrapper .rnew-compare-sticky-col tr.highlight > td {
  background: #ffefe8 !important;
  box-shadow: inset 3px 0 0 #F65D2D;
  color: #333333;
}

#product_compare_list.compare_page tbody tr:not(.cmp_product) > th:first-child {
  background: #F6F7F8 !important;
  font-weight: 600;
  color: #767676;
  z-index: 5 !important;
  border-bottom: 1px solid #E4E7EC !important;
}

#product_compare_list.compare_page tbody tr:not(.cmp_product) > th:first-child .item_width {
  max-width: none;
  width: 100%;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

#product_compare_list.compare_page tr.cmp_product > th.cmp_product.configure {
  z-index: 7 !important;
  padding: 16px;
  vertical-align: top;
  background: #fff !important;
}

#product_compare_list.compare_page tr.cmp_product > th.cmp_product.configure .item_width {
  max-width: none;
  width: 100%;
}

#product_compare_list.compare_page tr.cmp_product > td.cmp_product {
  min-width: 240px;
  max-width: 280px;
  width: 260px;
  padding: 16px;
  background: #fff;
  border-bottom: 2px solid #f5f5f5;
  border-right: 2px solid #f5f5f5;
  vertical-align: top;
}

#product_compare_list.compare_page tr.cmp_product > td.cmp_product:last-child {
  border-right: 0;
}

/* Ukryta kolumna produktu (Pulse: .hideCol) wska, tytu pionowo */
#product_compare_list.compare_page tr.cmp_product > td.cmp_product.hideCol {
  min-width: 78px !important;
  max-width: 84px !important;
  width: 84px !important;
  padding: 16px 6px !important;
  overflow: hidden;
  vertical-align: top;
  background: #fff !important;
}

#product_compare_list.compare_page tbody tr:not(.cmp_product) > td.hideCol {
  min-width: 78px !important;
  max-width: 84px !important;
  width: 84px !important;
  padding: 14px 6px !important;
  overflow: hidden;
}

#product_compare_list.compare_page tr.cmp_product > td.cmp_product.hideCol .item_width {
  max-width: 100% !important;
  width: 100% !important;
}

#product_compare_list.compare_page tr.cmp_product > td.cmp_product.hideCol .configure_item {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
  margin: 0 0 10px;
  writing-mode: horizontal-tb;
  transform: none;
}

#product_compare_list.compare_page tr.cmp_product > td.cmp_product.hideCol .configure_item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 100%;
  min-height: 32px;
  padding: 6px 6px;
  border: 1px solid #F6F7F8;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
  color: #767676;
  white-space: nowrap;
  text-decoration: none;
  writing-mode: horizontal-tb;
  box-sizing: border-box;
}

#product_compare_list.compare_page tr.cmp_product > td.cmp_product.hideCol .configure_item a:hover {
  color: #333333;
  border-color: #D0D5DD;
  background: #fafafa;
  text-decoration: none;
}

#product_compare_list.compare_page tr.cmp_product > td.cmp_product.hideCol .configure_item a:not(.hideCol) {
  color: #F65D2D;
}

#product_compare_list.compare_page tr.cmp_product > td.cmp_product.hideCol .product_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

#product_compare_list.compare_page tr.cmp_product > td.cmp_product.hideCol a.product-icon,
#product_compare_list.compare_page tr.cmp_product > td.cmp_product.hideCol a.product-name,
#product_compare_list.compare_page tr.cmp_product > td.cmp_product.hideCol .product_wrapper > * {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  float: none !important;
  transform: none !important;
}

#product_compare_list.compare_page tr.cmp_product > td.cmp_product.hideCol a.product-icon {
  z-index: 0;
  display: flex;
  width: 100%;
  min-height: 70px;
  padding: 4px;
  overflow: hidden;
}

#product_compare_list.compare_page tr.cmp_product > td.cmp_product.hideCol a.product-icon img {
  max-height: 70px;
  max-width: 100%;
  z-index: 0;
}

#product_compare_list.compare_page tr.cmp_product > td.cmp_product.hideCol a.product-name {
  z-index: 1;
  display: block;
  width: auto;
  max-width: 100%;
  height: 250px;
  max-height: 250px;
  margin: 8px auto 0;
  padding: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: #333333;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  writing-mode: vertical-rl;
  transform: rotate(180deg) !important;
  background: #fff;
}

#product_compare_list.compare_page tbody tr:not(.cmp_product) > td.hideCol .item_width {
  font-size: 11px;
  line-height: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#product_compare_list.compare_page tbody tr:not(.cmp_product) > td {
  border-right: 2px solid #f5f5f5;
}

#product_compare_list.compare_page tbody tr:not(.cmp_product) > td:last-child {
  border-right: 0;
}

#product_compare_list.compare_page tbody tr:not(.cmp_product):nth-child(even) > td {
  background: #fafafa;
}

#product_compare_list.compare_page tbody tr:not(.cmp_product):hover > td {
  background: #fff7f4;
}

#product_compare_list.compare_page .item_width {
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Przyciski: Wroc / Zaznacz roznice */
#product_compare_list.compare_page th.cmp_product.configure .btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px !important;
  margin: 0 0 10px !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: center;
  text-decoration: none !important;
  white-space: normal !important;
  box-shadow: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#product_compare_list.compare_page th.cmp_product.configure .btn.--secondary {
  background: #fff !important;
  border: 1px solid #D14512 !important;
  color: #D14512 !important;
}

#product_compare_list.compare_page th.cmp_product.configure .btn.--secondary:hover {
  background: #fff7f4 !important;
  border-color: #D14512 !important;
  color: #D14512 !important;
}

#product_compare_list.compare_page th.cmp_product.configure .btn:not(.--secondary) {
  background: #F65D2D !important;
  border: 1px solid #F65D2D !important;
  color: #161515 !important;
}

#product_compare_list.compare_page th.cmp_product.configure .btn:not(.--secondary):hover {
  background: #D14512 !important;
  border-color: #D14512 !important;
  color: #fff !important;
}

/* Ukryj / Usun rwne chipy */
#product_compare_list.compare_page .configure_item {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  margin: 0 0 12px;
}

#product_compare_list.compare_page .configure_item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #F6F7F8;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: #767676;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

#product_compare_list.compare_page .configure_item a i[class*="icon-"] {
  display: none !important;
}

#product_compare_list.compare_page .configure_item a:hover {
  color: #333333;
  border-color: #D0D5DD;
  background: #fafafa;
}

#product_compare_list.compare_page .configure_item a.hideCol {
  color: #D14512;
  border-color: #F6F7F8;
}

#product_compare_list.compare_page .configure_item a.hideCol:hover {
  color: #D14512;
  border-color: #D14512;
  background: #fff7f4;
  text-decoration: none;
}

/* Karta produktu w kolumnie â flex tylko wewnÄtrz wrappera (NIE na td = psuje table-cell) */
#product_compare_list.compare_page tr.cmp_product > td.cmp_product:not(.hideCol) > .product_wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

#product_compare_list.compare_page .product_wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#product_compare_list.compare_page a.product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 150px;
  padding: 12px;
  border-radius: 6px;
  background: #fafafa;
  text-decoration: none;
  border: 0;
}

#product_compare_list.compare_page a.product-icon img {
  display: block;
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

#product_compare_list.compare_page a.product-name {
  display: block;
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #333333;
  text-decoration: none;
  transition: color 0.15s ease;
}

#product_compare_list.compare_page a.product-name:hover {
  color: #F65D2D;
}

#product_compare_list.compare_page .product_prices {
  flex: 0 0 auto;
  margin: 0;
  margin-top: auto;
}

#product_compare_list.compare_page .list_traits {
  flex: 0 0 auto;
  margin: 0;
}

#product_compare_list.compare_page .product_prices .price {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #161515;
}

#product_compare_list.compare_page .product_prices .price .price_vat {
  display: none;
}

#product_compare_list.compare_page .list_traits {
  margin: 0;
}

#product_compare_list.compare_page .list_traits ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

#product_compare_list.compare_page .list_traits li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
}

#product_compare_list.compare_page .list_traits li > span {
  font-size: 13px;
  color: #767676;
}

#product_compare_list.compare_page .list_traits li > div {
  font-size: 13px;
  color: #333333;
}

/* Strzalki nawigacji ikona wycentrowana */
#product_compare_list_wrapper .navigation {
  position: absolute;
  top: 180px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}

#product_compare_list_wrapper .navigation a.prev,
#product_compare_list_wrapper .navigation a.next {
  pointer-events: auto;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #F6F7F8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: #333333;
  text-decoration: none;
  line-height: 1 !important;
  font-size: 0;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

#product_compare_list_wrapper .navigation a.prev i,
#product_compare_list_wrapper .navigation a.next i,
#product_compare_list_wrapper .navigation a.prev::before,
#product_compare_list_wrapper .navigation a.next::before {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: 100%;
  font-size: 16px !important;
  line-height: 1 !important;
  position: static !important;
  float: none !important;
}

#product_compare_list_wrapper .navigation a.prev:hover,
#product_compare_list_wrapper .navigation a.next:hover {
  border-color: #F65D2D;
  color: #F65D2D;
  background: #fff7f4;
}

#product_compare_list_wrapper.hidePrev .navigation a.prev,
#product_compare_list_wrapper.hideNext .navigation a.next {
  opacity: 0;
  pointer-events: none;
}

/* ===== Schowek / lista zakupowa (Pulse) ===== */
/* Uwaga: NIE używać body:has(.shopping_list_menu) — menu jest w DOM na wielu stronach */
.shoppinglist_page,
.wishesedit_page,
/* [U-06] pkt 86: tło na body, nie na html — tło na html zasłaniało granatowy pas stopki */
html.wisheslist_empty body,
body:has(section.shopping_list) {
  background: #f5f5f5;
}

.shoppinglist_page #layout,
.wishesedit_page #layout,
body:has(section.shopping_list) #layout,
html.wisheslist_empty #layout {
  align-items: flex-start;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 48px;
}

.shoppinglist_page #layout > aside.col-3,
.wishesedit_page #layout > aside.col-3,
body:has(section.shopping_list) #layout > aside.col-3,
html.wisheslist_empty #layout > aside.col-3 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (min-width: 979px) {
  .shoppinglist_page #layout > aside.col-3,
  .wishesedit_page #layout > aside.col-3,
  body:has(section.shopping_list) #layout > aside.col-3,
  html.wisheslist_empty #layout > aside.col-3 {
    flex: 0 0 320px !important;
    max-width: 320px !important;
    width: 320px !important;
  }

  .shoppinglist_page #content.col-12,
  .wishesedit_page #content.col-12,
  body:has(section.shopping_list) #content.col-12,
  html.wisheslist_empty #content.col-12 {
    flex: 1 1 auto;
    max-width: calc(100% - 344px);
  }
}

/* --- Sidebar (tylko strony schowka — inaczej widać go wszędzie w aside) --- */
.shoppinglist_page .shopping_list_menu,
.wishesedit_page .shopping_list_menu,
body:has(section.shopping_list) .shopping_list_menu,
html.wisheslist_empty .shopping_list_menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent !important;
  padding: 0 !important;
}

.shopping_list_menu .slm_lists__nav_item[data-current] .slm_lists__nav_link {
  background: #fff7f4;
  color: #161515 !important;
  font-weight: 600;
}

.shopping_list_menu .slm_lists__nav_item[data-current] .slm_lists__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: #f65d2d;
  color: #161515;
  font-size: 12px;
  font-weight: 700;
}

/* --- Główna sekcja --- */
.shopping_list {
  background: transparent;
}

.shopping_list .sl_header {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  padding: 0 !important;
  margin-bottom: 16px !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

.shopping_list .sl_header__headline {
  margin: 0 !important;
  padding: 0 !important;
  margin-right: auto !important;
  justify-content: flex-start;
}

.shopping_list .sl_header__headline .headline__name {
  color: #161515;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  text-transform: none;
}

.shopping_list .sl_header__total {
  color: #767676;
  font-size: 14px;
  line-height: 21px;
  margin-left: 0 !important;
  margin-right: 16px !important;
}

.shopping_list .sl_header__total_count {
  color: #161515;
  font-weight: 600;
}

.shopping_list .sl_header__options {
  margin-left: 0 !important;
}

.shopping_list .sl_header__share {
  color: #f65d2d !important;
  font-size: 14px !important;
  font-weight: 500;
  padding: 0 !important;
  border-radius: 0;
  background: transparent !important;
  transition: color 0.15s ease;
}

.shopping_list .sl_header__share:before {
  color: inherit;
  transition: color 0.15s ease;
}

.shopping_list .sl_header__share:hover {
  background: transparent !important;
  color: #252474 !important;
  text-decoration: none;
}

.shopping_list .sl_header__share:hover:before {
  color: #252474 !important;
}

.shopping_list .sl_header__mobile {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
  color: #161515;
}

.shopping_list .sl_header__mobile:before {
  font-size: 16px;
}

/* --- Ustawienia / widok --- */
.shopping_list .sl_settings {
  margin-bottom: 8px;
}

.shopping_list .sl_settings__group .sl_settings__group_button.--mobile,
.shopping_list .sl_settings__group .sl_settings__group_button.--desktop {
  background: #fff !important;
  border: 1px solid #e6e6e6 !important;
  color: #161515 !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.shopping_list .sl_settings__group .sl_settings__group_button.--mobile:before,
.shopping_list .sl_settings__group .sl_settings__group_button.--desktop:before {
  border: 1.5px solid #767676 !important;
  border-radius: 4px !important;
  background: #fff !important;
}

.shopping_list .sl_settings__group .sl_settings__group_button.--mobile:hover,
.shopping_list .sl_settings__group .sl_settings__group_button.--desktop:hover {
  background: #fff7f4 !important;
  border-color: #f65d2d !important;
  color: #161515 !important;
}

.shopping_list .sl_settings__group .sl_settings__group_button.--mobile:hover:before,
.shopping_list .sl_settings__group .sl_settings__group_button.--desktop:hover:before {
  border-color: #f65d2d !important;
}

.shopping_list.--group .sl_settings__group .sl_settings__group_button.--mobile,
.shopping_list.--group .sl_settings__group .sl_settings__group_button.--desktop {
  background: #f65d2d !important;
  border-color: #f65d2d !important;
  color: #161515 !important;
}

.shopping_list.--group .sl_settings__group .sl_settings__group_button.--mobile:before,
.shopping_list.--group .sl_settings__group .sl_settings__group_button.--desktop:before {
  border-color: #161515 !important;
  background: #fff !important;
}

.shopping_list.--group .sl_settings__group .sl_settings__group_button.--mobile:after,
.shopping_list.--group .sl_settings__group .sl_settings__group_button.--desktop:after {
  border-color: #f65d2d !important;
}

.shopping_list .sl_settings__label.--view {
  color: #767676;
  font-size: 13px;
  font-weight: 500;
  margin-right: 4px;
}

/* Pulse zostawia .--active na gallery — aktywny stan to .--solid / .--outline */
.shopping_list .sl_settings__view_link,
.shopping_list .sl_settings__view_link.btn,
.shopping_list .sl_settings__view_link.--outline,
.shopping_list .sl_settings__view_link.btn.--outline,
.shopping_list .sl_settings__view_link.--active.--outline,
.shopping_list .sl_settings__view_link.--active.btn.--outline {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #767676 !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.shopping_list .sl_settings__view_link:hover,
.shopping_list .sl_settings__view_link.--outline:hover,
.shopping_list .sl_settings__view_link.btn.--outline:hover {
  border-color: #f65d2d !important;
  color: #f65d2d !important;
  background: #fff !important;
}

.shopping_list .sl_settings__view_link.--solid,
.shopping_list .sl_settings__view_link.btn.--solid {
  background: #f65d2d !important;
  border-color: #f65d2d !important;
  color: #161515 !important;
}

/* --- Produkty: widok kafelków --- */
.shopping_list .sl_products {
  margin-left: -8px;
  gap: 16px;
}

.shopping_list:not(.--list) .sl_products {
	display: grid; 
	grid-template-columns: repeat(3, 1fr); 
	gap: 16px 16px; 
	width: 100%;
	margin: 0 0;
}

.shopping_list:not(.--list) .sl_products__product {
  margin: 0 !important;
  padding: 0 0;
  display: flex;
  flex-direction: column;
  background: #fff !important;
  border-radius: 6px 6px;
  width: 100%;
  max-width: 100%;

  padding-top: 4px !important;
  padding-bottom: 4px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.shopping_list:not(.--list) .sl_products__product > .sl_products__item.--top {
  background: #fff;
  border: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 0;
}


.shopping_list:not(.--list) .sl_products__product > .sl_products__item.--top .sl_products__select {
  left: 15px;
  top: 10px;
}

.shopping_list:not(.--list) .sl_products__product > .sl_products__item.--name,
.shopping_list:not(.--list) .sl_products__product > .sl_products__item.--prices {
  background: #fff;
  border: 0 !important;
  margin-bottom: 0 !important;
  padding: 4px 16px 8px;
}

.shopping_list:not(.--list) .sl_products__product > .sl_products__item.--prices {
  padding-top: 0;
  padding-bottom: 12px;
}

.shopping_list:not(.--list) .sl_products__product > .sl_products__item.--actions {
  background: #fff;
  border: 0 !important;
  border-radius: 0 0 6px 6px;
  margin-bottom: 0 !important;
  margin-top: auto;
  padding: 0 16px 16px;
  align-items: stretch !important;
}

.shopping_list .sl_products__icon {
  height: 180px !important;
  background: transparent;
}

.shopping_list .sl_products__icon img {
  max-height: 180px !important;
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.shopping_list .sl_products__remove.--top {
  top: 8px;
  right: 8px;
}

.shopping_list .sl_products__link.--remove {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #767676 !important;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.shopping_list .sl_products__link.--remove:hover {
  color: #c23b3b !important;
  background: #fff;
}

.shopping_list .sl_products__name {
  color: #333333 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 21px !important;
}

.shopping_list .sl_products__name:hover {
  color: #f65d2d !important;
}

.shopping_list .sl_products__price.--main {
  color: #161515;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.shopping_list:not(.--list) .sl_products__move {
  display: flex;
  align-items: stretch;
}

.shopping_list .sl_products__link.--move {
  width: auto !important;
  min-width: unset !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  align-self: stretch;
  border: 1px solid #e6e6e6 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #161515 !important;
}

.shopping_list .sl_products__link.--move:hover {
  border-color: #252474 !important;
  color: #252474 !important;
  background: #fff !important;
}

.shopping_list:not(.--list) .sl_products__buy_wrapper {
  display: flex;
  align-items: stretch;
}

.shopping_list .sl_products__buy.btn.--solid {
  background: #f65d2d !important;
  border: 1px solid #f65d2d !important;
  color: #161515 !important;
  border-radius: 6px !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  min-height: 40px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.shopping_list .sl_products__buy.btn.--solid:hover {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
  filter: none;
}

.shopping_list .sl_products__product[data-disabled] .sl_products__buy_wrapper .sl_products__buy {
  background-color: #cecece !important;
  border-color: #cecece !important;
  color: #767676 !important;
}

.shopping_list .sl_products__select .f-label:before,
.shopping_list .sl_footer__all + .f-label:before,
.shopping_list .sl_footer__label:before {
  border: 1.5px solid #767676 !important;
  border-radius: 4px !important;
  background: #fff !important;
}

.shopping_list .sl_products__select .f-control:checked + .f-label:before,
.shopping_list .sl_footer__all:checked + .f-label:before {
  border-color: #f65d2d !important;
  background: #f65d2d !important;
}

.shopping_list .sl_products__select .f-control:checked + .f-label:after,
.shopping_list .sl_footer__all:checked + .f-label:after {
  border-color: #161515 !important;
}

/* --- Produkty: widok listy --- */
.shopping_list.--list .sl_products {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  margin-left: 0;
  margin-right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
}

.shopping_list.--list .sl_products__product {
  background: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 16px !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 16px;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
}

.shopping_list.--list .sl_products__product:hover {
  background: #fff !important;
}

.shopping_list.--list .sl_products__item.--top,
.shopping_list.--list .sl_products__item.--name,
.shopping_list.--list .sl_products__item.--prices,
.shopping_list.--list .sl_products__item.--actions {
  margin-bottom: 0 !important;
  min-height: 0 !important;
  grid-area: auto !important;
}

.shopping_list.--list .sl_products__item.--top {
  flex: 0 0 72px !important;
  max-width: 72px !important;
  width: 72px !important;
}

.shopping_list.--list .sl_products__item.--name {
  flex: 1 1 auto !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.shopping_list.--list .sl_products__item.--prices {
  flex: 0 0 auto !important;
  max-width: none !important;
  width: auto !important;
  text-align: right;
  padding: 0 !important;
  white-space: nowrap;
}

.shopping_list.--list .sl_products__item.--actions {
  flex: 0 0 auto !important;
  max-width: none !important;
  width: auto !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.shopping_list.--list .sl_products__icon {
  height: 72px !important;
  width: 72px;
  margin: 0;
}

.shopping_list.--list .sl_products__icon img {
  max-height: 72px !important;
}

.shopping_list.--list .sl_products__name {
  font-size: 15px !important;
  line-height: 22px !important;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.shopping_list.--list .sl_products__name_txt {
  white-space: normal;
}

.shopping_list.--list .sl_products__price.--main {
  font-size: 18px;
  line-height: 26px;
  white-space: nowrap;
}

.shopping_list.--list .sl_products__move {
  display: none !important;
}

.shopping_list.--list .sl_products__buy_wrapper {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  max-width: none !important;
  width: auto !important;
}

.shopping_list.--list .sl_products__number_wrapper {
  display: flex !important;
  align-items: center;
  border: 1px solid #e6e6e6 !important;
  border-radius: 6px !important;
  overflow: hidden;
  background: #fff;
  height: 40px;
  flex: 0 0 auto;
}

.shopping_list.--list .sl_products__number_down,
.shopping_list.--list .sl_products__number_up {
  color: #161515;
  background: #f5f5f5;
  border: 0;
  min-width: 32px;
  height: 100%;
  padding: 0 8px;
}

.shopping_list.--list .sl_products__number_down:hover,
.shopping_list.--list .sl_products__number_up:hover {
  color: #252474 !important;
  background: #f0f0f8;
}

.shopping_list.--list .sl_products__quantity {
  border: 0 !important;
  color: #161515;
  font-weight: 600;
  width: 44px;
  min-width: 44px;
  height: 100%;
  text-align: center;
}

.shopping_list.--list .sl_products__buy,
.shopping_list.--list .sl_products__buy.btn.--solid {
  background: #f65d2d !important;
  border: 1px solid #f65d2d !important;
  color: #161515 !important;
  border-radius: 6px !important;
  min-width: 130px !important;
  width: auto !important;
  height: 40px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  white-space: nowrap !important;
  padding: 0 16px !important;
  margin-left: 0 !important;
  flex: 0 0 auto;
}

.shopping_list.--list .sl_products__buy:before {
  content: none !important;
  display: none !important;
}

.shopping_list.--list .sl_products__buy:hover {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
}

.shopping_list.--list .sl_products__remove.--actions {
  display: flex !important;
  align-items: center;
  flex: 0 0 auto;
}

.shopping_list.--list .sl_products__link.--remove {
  background: transparent;
  color: #767676 !important;
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 6px;
}

.shopping_list.--list .sl_products__link.--remove:hover {
  color: #c23b3b !important;
  background: #fff5f5;
}

/* --- Stopka akcji grupowych --- */
.shopping_list .sl_footer__wrapper {
  background: #fff !important;
  border: 0 solid #e6e6e6 !important;
  border-radius: 6px;
  margin-top: 16px !important;
  padding: 12px 16px;
}

.shopping_list .sl_footer__wrapper.--fixed {
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08) !important;
}

.shopping_list .sl_footer__label,
.shopping_list .sl_footer__link {
  color: #333333;
  font-weight: 500;
}

.shopping_list .sl_footer__link:hover {
  color: #f65d2d;
}

.shopping_list .sl_footer__link.--remove {
  color: #c23b3b !important;
}

.shopping_list .sl_footer__link.--remove:hover {
  color: #a12f2f !important;
}

.shopping_list .sl_footer__link.--buy.btn.--solid {
  background: #f65d2d !important;
  border-color: #f65d2d !important;
  color: #161515 !important;
  border-radius: 6px !important;
  font-weight: 700;
  text-transform: uppercase;
}

.shopping_list .sl_footer__link.--buy.--disabled {
  background: #cecece !important;
  border-color: #cecece !important;
  color: #767676 !important;
}

@media (max-width: 978px) {
  .shopping_list .sl_footer__link.--buy {
    border-radius: 6px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
  }
}

.shopping_list .sl_footer__option:hover,
.shopping_list .sl_products__option:hover {
  color: #f65d2d;
}

.shopping_list .sl_footer__move_options,
.shopping_list .sl_products__move_options {
  border-radius: 8px !important;
  border: 1px solid #e6e6e6;
}

.sl_d_manage__label,
.sl_m_manage__label,
.sl_share__label,
.sl_move__label {
  color: #161515;
  font-size: 18px;
  font-weight: 700;
}

.sl_share__description {
  color: #767676;
  font-size: 14px;
  line-height: 21px;
}

.sl_d_manage__list_count,
.sl_m_manage__list_count,
.sl_move__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #767676;
  font-size: 12px;
  font-weight: 600;
}

.sl_d_manage__list[data-current] .sl_d_manage__list_count,
.sl_m_manage__list[data-current] .sl_m_manage__list_count {
  background: #f65d2d;
  color: #161515;
}

.sl_share__link.--start.btn.--outline,
.sl_remove__link.--yes.btn.--outline,
.sl_remove__link.--no.btn.--outline,
.sl_d_manage__edit.btn.--outline,
.sl_m_manage__edit.btn.--outline {
  border: 1px solid #e6e6e6 !important;
  color: #161515 !important;
  background: #fff !important;
  border-radius: 6px !important;
}

.sl_share__link.--start.btn.--outline:hover,
.sl_remove__link.--yes.btn.--outline:hover,
.sl_d_manage__edit.btn.--outline:hover,
.sl_m_manage__edit.btn.--outline:hover {
  border-color: #f65d2d !important;
  color: #f65d2d !important;
  background: #fff7f4 !important;
}

.sl_move .f-group.--radio .f-label:before {
  border: 1.5px solid #767676 !important;
}

.sl_move .f-group.--radio .f-control:checked + .f-label:before {
  border-color: #f65d2d !important;
}

.sl_move .f-group.--radio .f-control:checked + .f-label:after {
  background: #f65d2d !important;
  border-color: #f65d2d !important;
}

/* --- Pusty schowek --- */
#return_sub_wisheslist_empty,
html.wisheslist_empty #content {
  text-align: center;
}

html.wisheslist_empty .shopping_list_menu .shopping_list_menu__block {
  text-align: left;
}

#return_sub_wisheslist_empty h3.return_label,
.return_page h3.return_label {
  color: #161515 !important;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
}

#return_sub_wisheslist_empty p,
.return_page #return_sub_wisheslist_empty + p,
#return_sub_wisheslist_empty ~ p {
  color: #767676;
  font-size: 14px;
  line-height: 21px;
}

#return_sub_wisheslist_empty ~ a.btn,
.return_page a.n54744,
a.n54744.btn,
#return_wrapper a.btn.--solid {
  background: #f65d2d !important;
  border: 1px solid #f65d2d !important;
  color: #161515 !important;
  border-radius: 6px !important;
  font-weight: 700;
  text-transform: none;
  min-height: 48px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* --- Potwierdzenie opinii / komunikaty return_success --- */
#content:has(#return_success),
#content:has(#return_sub_opinion_needconfirmation) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 42vh;
  padding: 48px 16px 64px;
  box-sizing: border-box;
  text-align: center;
}

#return_success.n54531_outline,
#return_success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 36px 36px;
  background: #fff;
  border: 1px solid #cecece;
  border-radius: 6px;
  box-sizing: border-box;
  position: relative;
}

/* Ikona na karcie — nie na bloku z tekstem (Pulse ma absolute :before na messages) */
#return_success::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #f65d2d;
  background-color: #fff4ef;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%23f65d2d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  position: static !important;
  float: none !important;
  inset: auto !important;
}

#return_success .n54531_outline_sub,
#return_success .menu_messages_success,
#return_sub_opinion_needconfirmation {
  position: static !important;
  margin: 0;
  padding: 0 !important;
  border: 0;
  background: transparent !important;
  min-height: 0 !important;
}

/* Wyłącz domyślne :before Pulsara — nachodziło na treść */
#return_success .menu_messages_success::before,
#return_success .n54531_outline_sub::before,
#return_sub_opinion_needconfirmation::before,
#return_success .menu_messages_success::after,
#return_sub_opinion_needconfirmation::after {
  content: none !important;
  display: none !important;
}

#return_success h3.return_label,
#return_sub_opinion_needconfirmation h3.return_label {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  color: #161515 !important;
  font-family: var(--font-family-headline, "Montserrat", sans-serif);
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

#return_success .n54744_goback,
.n54744_goback {
  margin: 0;
  text-align: center;
}

#return_success ~ .n54744_goback a.n54744,
.n54744_goback a.n54744.btn,
a#retbut_opinion_needconfirmation.btn {
  background: #f65d2d !important;
  border: 1px solid #f65d2d !important;
  color: #161515 !important;
  border-radius: 6px !important;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  min-height: 48px;
  padding: 12px 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* [U-02] pkt 82: hover jak inne przyciski — granatowe tło, biały tekst, bez obwódki Pulse (box-shadow) */
#return_success ~ .n54744_goback a.n54744:hover,
#return_success ~ .n54744_goback a.n54744:focus-visible,
.n54744_goback a.n54744.btn:hover,
.n54744_goback a.n54744.btn:focus-visible,
a#retbut_opinion_needconfirmation.btn:hover,
a#retbut_opinion_needconfirmation.btn:focus-visible {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* [KO-01] pkt 97: pusty koszyk (return.html?status=basket_empty) bez „Dodaj produkty podając kody”, jak w obecnym sklepie */
.n54744_goback .addCodesToBasketLink {
  display: none !important;
}

/* [LG-03] pkt 91: komunikaty błędu (np. „Podany login lub hasło nie jest poprawne.”) — zwykły tekst w kolorze ramki,
   zaokrąglona ramka jak reszta szablonu, zamiast nagłówka 28 px na czarno */
/* podwójna klasa: mocniej niż div.menu_messages_error z Pulse */
.menu_messages_error.menu_messages_error {
  border-radius: 8px;
  padding: 16px 24px 16px 60px;
}
#return_error .menu_messages_error h3.return_label,
.menu_messages_error h3.return_label {
  color: #be123c !important;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  margin: 0;
}

@media (max-width: 757px) {
  #content:has(#return_success),
  #content:has(#return_sub_opinion_needconfirmation) {
    min-height: 0;
    padding: 28px 12px 48px;
  }

  #return_success.n54531_outline,
  #return_success {
    padding: 28px 20px 24px;
    gap: 16px;
  }

  #return_success h3.return_label,
  #return_sub_opinion_needconfirmation h3.return_label {
    font-size: 18px;
    line-height: 26px;
  }

  #return_success::before {
    width: 48px;
    height: 48px;
    background-size: 24px 24px;
  }
}

/* --- Ekran podziękowania po płatności (return.php?status=payment_success, nakładka .paymentReturn__wrapper) ---
   karta, przycisk i link jak w reszcie szablonu: zaokrąglenia 8/6 px, hover przycisku granatowy */
.paymentReturn__wrapper #paymentReturn.paymentReturn {
  width: 560px;
  max-width: calc(100% - 32px);
  padding: 44px 48px 40px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.0627);
  box-sizing: border-box;
}

.paymentReturn__wrapper #paymentReturn .paymentReturn__shop_logo {
  margin-bottom: 32px;
}

.paymentReturn__wrapper #paymentReturn .paymentReturn__header {
  gap: 20px;
  margin-bottom: 16px;
}

.paymentReturn__wrapper #paymentReturn .paymentReturn__header > span {
  color: #161515;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.paymentReturn__wrapper #paymentReturn .paymentReturn__header svg {
  width: 64px;
  height: 64px;
}

.paymentReturn__wrapper #paymentReturn .paymentReturn__txt {
  color: #767676;
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 32px;
}

.paymentReturn__wrapper #paymentReturn a.paymentReturn__btn.btn {
  background: #f65d2d !important;
  border: 1px solid #f65d2d !important;
  color: #161515 !important;
  border-radius: 6px !important;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  min-height: 48px;
  padding: 12px 32px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.paymentReturn__wrapper #paymentReturn a.paymentReturn__btn.btn:hover,
.paymentReturn__wrapper #paymentReturn a.paymentReturn__btn.btn:focus-visible {
  background: #252474 !important;
  border-color: #252474 !important;
  color: #fff !important;
}

.paymentReturn__wrapper #paymentReturn a.paymentReturn__return {
  color: #252474;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.paymentReturn__wrapper #paymentReturn a.paymentReturn__return:hover,
.paymentReturn__wrapper #paymentReturn a.paymentReturn__return:focus-visible {
  color: #f65d2d;
}

@media (max-width: 757px) {
  .paymentReturn__wrapper #paymentReturn.paymentReturn {
    padding: 32px 20px 28px;
  }

  .paymentReturn__wrapper #paymentReturn .paymentReturn__header > span {
    font-size: 18px;
    line-height: 26px;
  }

  .paymentReturn__wrapper #paymentReturn a.paymentReturn__btn.btn {
    width: 100%;
  }
}

@media (max-width: 978px) {
  .shopping_list .sl_header {
    padding: 0 !important;
  }

  .shopping_list .sl_header__headline .headline__name {
    font-size: 22px;
    line-height: 30px;
  }

  .shopping_list:not(.--list) .sl_products__product > .sl_products__item.--top,
  .shopping_list:not(.--list) .sl_products__product > .sl_products__item.--name,
  .shopping_list:not(.--list) .sl_products__product > .sl_products__item.--prices,
  .shopping_list:not(.--list) .sl_products__product > .sl_products__item.--actions {
    padding-left: 12px;
    padding-right: 12px;
  }

  .shopping_list:not(.--list) .sl_products__product > .sl_products__item.--top {
    padding-top: 12px;
  }

  .shopping_list:not(.--list) .sl_products__product > .sl_products__item.--actions {
    padding-bottom: 12px;
  }

  .shopping_list .sl_products__icon {
    height: 140px !important;
  }

  .shopping_list .sl_products__icon img {
    max-height: 140px !important;
  }

  .shopping_list .sl_products__price.--main {
    font-size: 16px;
    line-height: 24px;
  }

  .shopping_list:not(.--list) .sl_products__buy.btn.--solid {
    font-size: 11px;
    padding: 0 8px;
  }

  .shopping_list.--list .sl_products__product {
    gap: 12px;
    padding: 12px !important;
  }

  .shopping_list.--list .sl_products__item.--top {
    flex: 0 0 56px !important;
    max-width: 56px !important;
    width: 56px !important;
  }

  .shopping_list.--list .sl_products__icon {
    height: 56px !important;
    width: 56px;
  }

  .shopping_list.--list .sl_products__icon img {
    max-height: 56px !important;
  }

  .shopping_list.--list .sl_products__buy,
  .shopping_list.--list .sl_products__buy.btn.--solid {
    min-width: 110px !important;
    font-size: 11px !important;
    padding: 0 10px !important;
  }
}

/* ===== Lista marek / producers ===== */
body:has(#producers-list) {
  background: #f5f5f5;
}

body:has(#producers-list) #layout > aside.col-3 {
  display: none !important;
}

body:has(#producers-list) #content.col-12 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

#producers-list.producers {
  max-width: 1200px;
  margin: 0 auto 64px;
  padding: 8px 16px 0;
  box-sizing: border-box;
}

#producers-list .big_label {
  margin: 0 0 24px;
  padding: 0;
  color: #161515;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  text-transform: none;
  background: transparent;
  border: 0;
}

#producers-list .producers__list,
#producers-list_sub.producers__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#producers-list .producers__item {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

#producers-list .producers__item:hover {
  border-color: #f65d2d;
  box-shadow: 0 10px 28px rgba(22, 21, 21, 0.08);
  transform: translateY(-2px);
}

/* Strefa logo — zawsze ta sama wysokość */
#producers-list .producers__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 104px;
  padding: 18px 16px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  box-sizing: border-box;
}

#producers-list .producers__icon img,
#producers-list .links_producers {
  display: block;
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.9;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

#producers-list .producers__item:hover .producers__icon img,
#producers-list .producers__item:hover .links_producers {
  filter: none;
  opacity: 1;
  transform: scale(1.03);
}

#producers-list .producers__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
  padding: 14px 12px 16px;
  text-align: center;
  text-decoration: none;
  color: #161515;
  box-sizing: border-box;
}

#producers-list .producers__name span {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #161515;
  word-break: break-word;
  transition: color 0.15s ease;
}

#producers-list .producers__name small {
  color: #767676;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

#producers-list .producers__item:hover .producers__name span {
  color: #f65d2d;
}

/*
  Marki bez logo: zdublowana nazwa w polu logo (wyblakła, szara),
  pod spodem normalna nazwa + liczba — jak przy kartach z logo.
*/
#producers-list .producers__item:not(:has(.producers__icon)) .producers__name {
  padding: 0 0 16px;
  gap: 4px;
}

#producers-list .producers__item:not(:has(.producers__icon)) .producers__name::before {
  content: attr(title);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 104px;
  margin: 0 0 14px;
  padding: 16px 14px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  color: #c4c4c4;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  box-sizing: border-box;
  transition: color 0.15s ease, background-color 0.15s ease;
}

#producers-list .producers__item:not(:has(.producers__icon)):hover .producers__name::before {
  color: #b0b0b0;
  background: #f7f7f7;
}

#producers-list .producers__item:not(:has(.producers__icon)) .producers__name span,
#producers-list .producers__item:not(:has(.producers__icon)) .producers__name small {
  padding: 0 12px;
}

@media (max-width: 767px) {
  #producers-list.producers {
    padding: 0 12px;
    margin-bottom: 48px;
  }

  #producers-list .big_label {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 16px;
  }

  #producers-list .producers__list,
  #producers-list_sub.producers__list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  #producers-list .producers__icon,
  #producers-list .producers__item:not(:has(.producers__icon)) .producers__name::before {
    height: 88px;
  }
}

@media (max-width: 479px) {
  #producers-list .producers__list,
  #producers-list_sub.producers__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ——— Podstrony tekstowe (Regulamin, Polityka, CMS) ——— */
#Text.section.text_menu,
section.text_menu {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 64px;
  padding: 8px 24px 48px;
  background: transparent;
  box-sizing: border-box;
  background: #fff;
  padding: 48px 56px;
  border-radius: 8px;
}

#Text .text_menu__label.headline,
section.text_menu .text_menu__label.headline {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

#Text .text_menu__label .headline__name,
section.text_menu .text_menu__label .headline__name {
  display: block;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: #161515;
  letter-spacing: -0.01em;
}

/* Spis treści (szablon) — szary boks, linki jako kafelki; .row/.col-* z Pulse wyzerowane */
#Text .text_menu__wrapper,
section.text_menu .text_menu__wrapper {
  margin: 0 0 32px !important;
  padding: 20px 24px !important;
  background: #f6f7f8;
  border: 0;
  border-radius: 8px;
}

#Text .text_menu__sublabel,
section.text_menu .text_menu__sublabel {
  margin: 0 0 12px !important;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #767676;
}

#Text .text_menu__list,
section.text_menu .text_menu__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: auto !important;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}

#Text .text_menu__item,
section.text_menu .text_menu__item {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  margin: 0 !important;
  padding: 0;
}

#Text .text_menu__link,
section.text_menu .text_menu__link {
  display: block;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #161515;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

#Text .text_menu__link:hover,
#Text .text_menu__link:focus-visible,
section.text_menu .text_menu__link:hover,
section.text_menu .text_menu__link:focus-visible {
  border-color: #f65d2d;
  color: #f65d2d;
}

@media (max-width: 575px) {
  #Text .text_menu__wrapper,
  section.text_menu .text_menu__wrapper {
    padding: 16px !important;
  }

  #Text .text_menu__item,
  section.text_menu .text_menu__item {
    flex: 1 1 100%;
  }
}

#Text .text_menu__txt,
section.text_menu .text_menu__txt {
  max-width: 100%;
  color: #333333;
  font-size: 15px;
  line-height: 1.7;
  /* RG-01 (pkt 115): długie adresy (np. link do karty gwarancyjnej PDF) łamią się zamiast wychodzić poza ekran */
  overflow-wrap: break-word;
}

#Text .text_menu__txt_sub.cm,
section.text_menu .text_menu__txt_sub.cm {
  padding-bottom: 0 !important;
}

#Text .text_menu__txt h2,
section.text_menu .text_menu__txt h2 {
  margin: 40px 0 16px;
  padding-top: 0 !important;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  color: #161515;
  text-align: left !important;
}

#Text .text_menu__txt h2:first-child,
section.text_menu .text_menu__txt h2:first-child {
  margin-top: 0;
}

#Text .text_menu__txt h3:not(.hotspot__wrapper *),
section.text_menu .text_menu__txt h3:not(.hotspot__wrapper *) {
  margin: 36px 0 14px;
  padding-top: 8px !important;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  color: #161515;
  text-align: left !important;
}

#Text .text_menu__txt p:not(.hotspot__wrapper *),
section.text_menu .text_menu__txt p:not(.hotspot__wrapper *) {
  margin: 0 0 14px;
}

#Text .text_menu__txt ol,
#Text .text_menu__txt ul,
section.text_menu .text_menu__txt ol,
section.text_menu .text_menu__txt ul {
  margin: 0 0 18px;
  padding-left: 1.35em;
}

#Text .text_menu__txt li,
section.text_menu .text_menu__txt li {
  margin: 0 0 8px;
  padding-left: 0.15em;
}

#Text .text_menu__txt li > ol,
#Text .text_menu__txt li > ul,
section.text_menu .text_menu__txt li > ol,
section.text_menu .text_menu__txt li > ul {
  margin-top: 8px;
  margin-bottom: 4px;
}

/* :not(.hotspot__wrapper *) — kafelki produktów w treści mają wyglądać jak w reszcie sklepu */
#Text .text_menu__txt a:not(.hotspot__wrapper *),
section.text_menu .text_menu__txt a:not(.hotspot__wrapper *) {
  color: #f65d2d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#Text .text_menu__txt a:not(.hotspot__wrapper *):hover,
section.text_menu .text_menu__txt a:not(.hotspot__wrapper *):hover {
  color: #252474;
}

#Text .text_menu__txt strong:not(.hotspot__wrapper *),
section.text_menu .text_menu__txt strong:not(.hotspot__wrapper *) {
  color: #161515;
  font-weight: 700;
}

#Text .text_menu__txt table,
section.text_menu .text_menu__txt table {
  width: 100%;
  margin: 20px 0 28px;
  border-collapse: collapse;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}

/* Header: thead albo sam <th> — nie pierwszy wiersz <td> */
#Text .text_menu__txt thead th,
#Text .text_menu__txt thead td,
#Text .text_menu__txt th,
section.text_menu .text_menu__txt thead th,
section.text_menu .text_menu__txt thead td,
section.text_menu .text_menu__txt th {
  background: #f65d2d;
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid #e05528;
  vertical-align: top;
}

#Text .text_menu__txt thead th a,
#Text .text_menu__txt thead td a,
#Text .text_menu__txt th a,
section.text_menu .text_menu__txt thead th a,
section.text_menu .text_menu__txt thead td a,
section.text_menu .text_menu__txt th a {
  color: #fff;
}

#Text .text_menu__txt td,
section.text_menu .text_menu__txt td {
  background: #fff;
  color: #333333;
  font-weight: 400;
  padding: 11px 14px;
  border: 1px solid #e8e8e8;
  vertical-align: top;
}

@media (max-width: 767px) {
  #Text.section.text_menu,
  section.text_menu {
    margin-bottom: 40px;
    /* RG-01 (pkt 115): odstęp nad nagłówkiem w białym boksie (było 0) */
    padding: 28px 16px 32px;
  }

  #Text .text_menu__txt table,
  section.text_menu .text_menu__txt table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 13px;
  }

  #Text .text_menu__txt th,
  #Text .text_menu__txt td,
  #Text .text_menu__txt thead th,
  #Text .text_menu__txt thead td,
  section.text_menu .text_menu__txt th,
  section.text_menu .text_menu__txt td,
  section.text_menu .text_menu__txt thead th,
  section.text_menu .text_menu__txt thead td {
    padding: 10px 12px;
  }

  #Text .text_menu__label .headline__name,
  section.text_menu .text_menu__label .headline__name {
    font-size: 26px;
    line-height: 34px;
  }

  #Text .text_menu__txt,
  section.text_menu .text_menu__txt {
    font-size: 14px;
    line-height: 1.65;
  }

  #Text .text_menu__txt h2,
  section.text_menu .text_menu__txt h2 {
    font-size: 20px;
    line-height: 28px;
    margin-top: 32px;
  }

  #Text .text_menu__txt h3,
  section.text_menu .text_menu__txt h3 {
    font-size: 17px;
    line-height: 24px;
  }
}

/* ——— CMS: Klasy sprzętu (#klasy-sprzetu, treść z inline style) ——— */
/* Tytuł z szablonu zbędny: strona ma własny baner i H1 */
#Text.text_menu:has(#klasy-sprzetu) > .text_menu__label {
  display: none;
}

#Text #klasy-sprzetu {
  color: #333333;
}

#Text #klasy-sprzetu > div[style*="max-width: 1170px"] {
  max-width: none !important;
  padding: 0 !important;
}

#Text #klasy-sprzetu picture img {
  border-radius: 8px;
}

/* Nagłówki: przywrócenie centrowania nadpisanego przez style podstron tekstowych */
#Text #klasy-sprzetu h1,
#Text #klasy-sprzetu h2,
#Text #klasy-sprzetu h3,
#Text #klasy-sprzetu h4 {
  padding-top: 0 !important;
  letter-spacing: -0.01em;
}

#Text #klasy-sprzetu h1,
#Text #klasy-sprzetu h3,
#Text #klasy-sprzetu h4,
#Text #klasy-sprzetu h2[style*="color: #333"] {
  color: #161515 !important;
}

#Text #klasy-sprzetu h2[style*="text-align: center"],
#Text #klasy-sprzetu h3[style*="text-align: center"] {
  text-align: center !important;
}

#Text #klasy-sprzetu p[style*="text-align: center"],
#Text #klasy-sprzetu section[style*="padding: 40px 0 50px"] p {
  max-width: 820px;
  margin-left: auto !important;
  margin-right: auto !important;
}

#Text #klasy-sprzetu p[style*="font-size: 18px"],
#Text #klasy-sprzetu p[style*="font-size:17px"],
#Text #klasy-sprzetu p[style*="font-size: 17px"],
#Text #klasy-sprzetu li[style*="font-size: 18px"],
#Text #klasy-sprzetu li[style*="font-size: 17px"] {
  font-size: 16px !important;
  line-height: 1.6;
}

/* Separator sekcji (Laptopy / Telefony) */
#Text #klasy-sprzetu span[style*="height: 1px"] {
  background: #e6e6e6 !important;
}

/* Listy z ptaszkami */
#Text #klasy-sprzetu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#Text #klasy-sprzetu li {
  margin: 0;
  padding-left: 0;
  align-items: flex-start;
}

#Text #klasy-sprzetu li > span:first-child[style*="#0e9150"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: #e7f4ed;
  font-size: 12px;
  line-height: 1;
}

/* Boks „Co łączy wszystkie klasy?” */
#Text #klasy-sprzetu section[style*="background: #f7f7f7"] {
  background: #f6f7f8 !important;
  border-radius: 8px;
}

/* Kroki 01 / 02 / 03 */
#Text #klasy-sprzetu div[style*="font-size: 44px"] {
  color: #f65d2d !important;
  opacity: 0.35;
}

/* Karty klas wizualnych */
#Text #klasy-sprzetu div[style*="border-top:5px solid"] {
  border-left-color: #e6e6e6 !important;
  border-right-color: #e6e6e6 !important;
  border-bottom-color: #e6e6e6 !important;
  border-radius: 8px;
  background: #fff;
}

#Text #klasy-sprzetu div[style*="border-top:5px solid"] div[style*="overflow:hidden"] {
  border-radius: 6px;
}

#Text #klasy-sprzetu div[style*="border-top:5px solid"] img {
  border-color: #e6e6e6 !important;
}

#Text #klasy-sprzetu span[style*="5px 14px"] {
  border-radius: 4px;
  font-size: 13px !important;
  letter-spacing: 0.01em;
}

#Text #klasy-sprzetu p[style*="border-top: 1px solid #f0f0f0"],
#Text #klasy-sprzetu p[style*="border-top:1px solid #f0f0f0"] {
  border-top-color: #e6e6e6 !important;
  font-size: 14px !important;
}

#Text #klasy-sprzetu button[aria-label="Poprzednie zdjęcie"],
#Text #klasy-sprzetu button[aria-label="Następne zdjęcie"] {
  border-radius: 8px;
  color: #161515 !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

#Text #klasy-sprzetu button[aria-label="Poprzednie zdjęcie"]:hover,
#Text #klasy-sprzetu button[aria-label="Następne zdjęcie"]:hover {
  background: #f65d2d !important;
  color: #fff !important;
}

/* Karty stanu technicznego */
#Text #klasy-sprzetu div[style*="border: 1px solid #ececec; padding: 28px"] {
  border-color: #e6e6e6 !important;
  border-radius: 8px;
}

/* Tabela porównawcza — wygląd jak tabele podstron tekstowych */
#Text #klasy-sprzetu table {
  display: table;
  margin: 0;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  font-size: 14px;
}

#Text #klasy-sprzetu table th,
#Text #klasy-sprzetu table td {
  padding: 11px 14px !important;
  border: 0 !important;
  border-right: 1px solid #e8e8e8 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  font-size: 14px !important;
}

#Text #klasy-sprzetu table tr > :last-child {
  border-right: 0 !important;
}

#Text #klasy-sprzetu table tbody tr:last-child > * {
  border-bottom: 0 !important;
}

#Text #klasy-sprzetu table thead th {
  padding: 12px 14px !important;
  background: #f65d2d !important;
  border-right-color: #e05528 !important;
  border-bottom-color: #e05528 !important;
}

#Text #klasy-sprzetu table thead th > span {
  color: #fff !important;
  font-size: 15px !important;
}

#Text #klasy-sprzetu table thead th > span > span:first-child {
  border-radius: 2px;
  box-shadow: 0 0 0 2px #fff;
}

#Text #klasy-sprzetu table thead th > span > span:last-child {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13px !important;
}

#Text #klasy-sprzetu table tbody th {
  background: #fafafa !important;
  color: #161515 !important;
  font-weight: 600 !important;
}

#Text #klasy-sprzetu table tbody td {
  background: #fff;
  color: #333333;
}

#Text #klasy-sprzetu table tbody td[style*="#231d76"] {
  color: #252474 !important;
}

/* FAQ */
#Text #klasy-sprzetu details {
  border-top-color: #e6e6e6 !important;
}

#Text #klasy-sprzetu details:last-of-type {
  border-bottom: 1px solid #e6e6e6;
}

#Text #klasy-sprzetu details > summary {
  padding: 16px 4px !important;
  font-size: 16px !important;
  color: #161515 !important;
  transition: color 0.15s ease;
}

#Text #klasy-sprzetu details > summary:hover,
#Text #klasy-sprzetu details[open] > summary {
  color: #f65d2d !important;
}

/* Pulse dokłada własną strzałkę w pseudoelemencie — przy space-between spychała .faq-chev na środek */
#Text #klasy-sprzetu details > summary::before,
#Text #klasy-sprzetu details > summary::after {
  content: none !important;
  display: none !important;
}

/* Znak „ˇ” siedzi wysoko w linii i po obrocie zjeżdża w dół — zamiast niego chevron z ramek w kwadratowym polu */
#Text #klasy-sprzetu details .faq-chev {
  position: relative;
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-left: auto;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  transform-origin: 50% 50%;
  transition: transform 0.25s ease !important;
}

#Text #klasy-sprzetu details .faq-chev::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #f65d2d;
  border-bottom: 2px solid #f65d2d;
  transform: translate(-50%, -75%) rotate(45deg);
}

#Text #klasy-sprzetu details > div {
  padding: 0 4px 18px !important;
  font-size: 15px !important;
}

@media (max-width: 767px) {
  #Text #klasy-sprzetu section[style*="background: #f7f7f7"] {
    padding: 24px 20px !important;
  }

  #Text #klasy-sprzetu div[style*="border-top:5px solid"],
  #Text #klasy-sprzetu div[style*="border: 1px solid #ececec; padding: 28px"] {
    padding: 20px !important;
    gap: 20px !important;
  }

  #Text #klasy-sprzetu table {
    font-size: 13px;
  }

  #Text #klasy-sprzetu table th,
  #Text #klasy-sprzetu table td {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }
}

/*
 * ——— CMS: Program Lojalnościowy ———
 * Scope: blok CMS z banerem programlojalnosciowy/baner (brak własnego id). Karty „Jak zbierać”
 * (floaty, trójkąt, cienie z inline style) → siatka kart; wiersze .row rozpoznawane po zawartości;
 * <br> do odstępów wyłączone.
 */
#Text.text_menu:has(img[src*="programlojalnosciowy/baner"]) > .text_menu__label {
  display: none;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) .row {
  display: block;
  width: auto;
  margin: 0;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row {
  margin: 0 0 56px !important;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) [class*="col-"] {
  width: auto;
  max-width: 100%;
  padding: 0;
  float: none;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > br {
  display: none;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) img {
  max-width: 100%;
  height: auto;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) :is(h1, h2, h3) {
  padding-top: 0 !important;
}

/* Nagłówki sekcji + pomarańczowa kreska */
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) h1 {
  margin: 0;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #161515;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px 0 0;
  background: #f65d2d;
  border-radius: 2px;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: #161515;
  text-align: left !important;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) p:last-child {
  margin-bottom: 0;
}

/* Baner */
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="baner_gra"]) {
  margin-bottom: 40px !important;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) img[src*="baner_gra"] {
  display: block;
  border-radius: 8px;
}

/* Wstęp pod banerem */
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="baner_gra"]) + .row {
  max-width: 820px;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="baner_gra"]) + .row h1 {
  margin-bottom: 20px;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: 0;
  text-transform: none;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="baner_gra"]) + .row h1::after {
  margin: 16px auto 0;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="baner_gra"]) + .row h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: #333333;
  text-align: center !important;
}

/* Wiersze z samym nagłówkiem: bliżej treści, którą otwierają */
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(+ .row #triangle),
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(h1[style*="color"]) {
  margin-bottom: 24px !important;
}

/* „A teraz wymień punkty…” — nadtytuł nad „Wymień punkty na produkt” */
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) h1[style*="color"] {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.06em;
  color: #f65d2d !important;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) h1[style*="color"]::after {
  content: none;
}

/* Jak zbierać punkty — 3 karty: ikona nad tekstem */
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(#triangle) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(#triangle) > [class*="col-"] {
  padding: 24px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(#triangle) img {
  display: block;
  width: 72px !important;
  height: auto !important;
  margin: 0 0 20px;
  box-shadow: none !important;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) div:has(> #triangle) {
  display: none;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) div:has(> #triangle) + div {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  box-shadow: none !important;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(#triangle) h2 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(#triangle) h2 > br {
  display: none;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(#triangle) p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  text-align: left !important;
}

/* Wymień na produkt / na rabat — karty „tekst | grafika” */
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="grafika_punkty"]),
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="podstrona_punkty2"]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  align-items: center;
  padding: 32px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="grafika_punkty"]) {
  margin-bottom: 20px !important;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="grafika_punkty"]) img {
  display: block;
}

/* Rabat: nagłówek siedzi w lewej kolumnie — spłaszczony, żeby szedł nad obie kolumny */
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="podstrona_punkty2"]) > [class*="col-"]:has(h1) {
  display: contents;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="podstrona_punkty2"]) > [class*="col-"] > .row {
  grid-column: 1 / -1;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) img[src*="podstrona_punkty2"] {
  display: block;
  margin: 0 auto;
}

/* Ile mam punktów? — szary boks */
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(h1 + h2 + p) {
  padding: 36px 24px;
  background: #f6f7f8;
  border-radius: 8px;
  text-align: center;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(h1 + h2 + p) h1 {
  margin-bottom: 20px;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(h1 + h2 + p) h1::after {
  margin: 12px auto 0;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(h1 + h2 + p) h2 {
  margin-bottom: 4px;
  text-align: center !important;
}

/* Zasady programu + przyciski */
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(.button_pkt) {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0 !important;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(.button_pkt) > [class*="col-"]:not(:has(.button_pkt)) {
  flex: 1 1 100%;
  margin-bottom: 12px;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(.button_pkt) h1 {
  margin-bottom: 20px;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(.button_pkt) > [class*="col-"]:has(.button_pkt) {
  flex: 0 0 auto;
  margin: 0 !important;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) a:has(> .button_pkt) {
  display: inline-block;
  text-decoration: none;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) .button_pkt {
  width: auto;
  min-width: 240px;
  padding: 14px 32px;
  border: 1px solid #f65d2d;
  border-radius: 6px;
  background: #f65d2d;
  color: #161515;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* Drugi przycisk jako wariant obrysowany */
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) [class*="col-"]:has(.button_pkt) ~ [class*="col-"] .button_pkt {
  background: #fff;
}

#Text .cm:has(img[src*="programlojalnosciowy/baner"]) .button_pkt:hover,
#Text .cm:has(img[src*="programlojalnosciowy/baner"]) [class*="col-"]:has(.button_pkt) ~ [class*="col-"] .button_pkt:hover {
  border-color: #252474;
  background: #252474;
  color: #fff;
}

@media (max-width: 978px) {
  /* Karty „Jak zbierać” jedna pod drugą: ikona | tekst */
  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(#triangle) {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(#triangle) > [class*="col-"] > .row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(#triangle) img {
    width: 56px !important;
    margin: 0;
  }

  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="grafika_punkty"]),
  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="podstrona_punkty2"]) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row {
    margin-bottom: 40px !important;
  }

  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="baner_gra"]) {
    margin-bottom: 28px !important;
  }

  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="baner_gra"]) + .row h1 {
    font-size: 22px;
    line-height: 30px;
  }

  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="baner_gra"]) + .row h2 {
    font-size: 15px;
  }

  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) h1 {
    font-size: 19px;
    line-height: 26px;
  }

  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) h2 {
    font-size: 16px;
    line-height: 24px;
  }

  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(#triangle) > [class*="col-"],
  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="grafika_punkty"]),
  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(img[src*="podstrona_punkty2"]) {
    padding: 20px 16px;
  }

  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(h1 + h2 + p) {
    padding: 28px 16px;
  }

  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) > .row:has(.button_pkt) > [class*="col-"]:has(.button_pkt),
  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) a:has(> .button_pkt),
  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) .button_pkt {
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
  }

  #Text .cm:has(img[src*="programlojalnosciowy/baner"]) a:has(> .button_pkt) {
    display: block;
  }
}

/*
 * ——— CMS: Odkup ———
 * Scope: blok CMS z banerem odkup/baner_odkup. Kroki .el_1–.el_6 (tło PNG z szarą cyfrą, wycentrowane)
 * → karty z numerem z licznika CSS. Blok kontaktu (.image_kontakt) leży poza .container,
 * więc ogólne reguły kart pracowników go nie łapią — styl tutaj.
 */
#Text.text_menu:has(img[src*="odkup/baner_odkup"]) > .text_menu__label {
  display: none;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  counter-reset: odkup-step;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .row {
  display: block;
  width: auto;
  margin: 0;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row {
  margin: 0 0 56px !important;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) [class*="col-"] {
  width: auto;
  max-width: 100%;
  padding: 0;
  float: none;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > br,
#Text .cm:has(img[src*="odkup/baner_odkup"]) [class*="col-"] > br {
  display: none;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) img {
  max-width: 100%;
  height: auto;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) :is(h1, h2, h3) {
  padding-top: 0 !important;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  color: #161515;
  text-align: left !important;
}

/* Nagłówki sekcji + pomarańczowa kreska */
#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(img[src*="komputery_i_laptopy"]) h2,
#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row h3 {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #161515;
  text-align: left !important;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(img[src*="komputery_i_laptopy"]) h2::after,
#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px 0 0;
  background: #f65d2d;
  border-radius: 2px;
}

/* Baner */
#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(img[src*="baner_odkup"]) {
  margin-bottom: 40px !important;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) img[src*="baner_odkup"] {
  display: block;
  border-radius: 8px;
}

/* Wstęp: hasło, „Możesz nam zaoferować” jako nadtytuł, pasek ikon urządzeń */
#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(img[src*="odkup_ikony"]) {
  max-width: 860px;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(img[src*="odkup_ikony"]) h2 {
  margin: 0;
  font-size: 26px;
  line-height: 34px;
  text-align: center !important;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(img[src*="odkup_ikony"]) h2[style*="color"] {
  margin: 32px 0 16px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f65d2d !important;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) img[src*="odkup_ikony"] {
  display: block;
  margin: 0 auto 24px;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(img[src*="odkup_ikony"]) p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* Jak przebiega proces — tekst | zdjęcie */
#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(img[src*="komputery_i_laptopy"]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  align-items: center;
  margin-bottom: 24px !important;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) img[src*="komputery_i_laptopy"] {
  display: block;
  border-radius: 8px;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(img[src*="komputery_i_laptopy"]) p {
  margin: 0;
}

/* Kroki 1–6 — karty z numerem zamiast tła z cyfrą */
#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(> .el_1, > .el_3, > .el_5) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px !important;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(> .el_5) {
  margin-bottom: 56px !important;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) :is(.el_1, .el_2, .el_3, .el_4, .el_5, .el_6) {
  position: relative;
  min-height: 92px;
  padding: 24px 24px 24px 92px !important;
  background: #fff !important;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  text-align: left !important;
  counter-increment: odkup-step;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) :is(.el_1, .el_2, .el_3, .el_4, .el_5, .el_6)::before {
  content: counter(odkup-step);
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f65d2d;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) :is(.el_1, .el_2, .el_3, .el_4, .el_5, .el_6) h2 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 24px;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) :is(.el_1, .el_2, .el_3, .el_4, .el_5, .el_6) p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) :is(.el_1, .el_2, .el_3, .el_4, .el_5, .el_6) p > br {
  display: none;
}

/* „Skontaktuj się z nami” — nagłówek tuż nad boksem kontaktu */
#Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:last-child {
  margin-bottom: 0 !important;
}

/* Kontakt ITAD — szary boks, karta pracownika: zdjęcie | dane */
#Text .cm:has(img[src*="odkup/baner_odkup"]) > .row:has(.image_kontakt) {
  margin: 0 !important;
  padding: 32px;
  background: #f6f7f8 !important;
  border-radius: 8px;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) > .row:has(.image_kontakt) h1 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #161515;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .divider {
  width: 48px !important;
  height: 3px !important;
  margin: 0 0 24px !important;
  background: #f65d2d !important;
  border-radius: 2px;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .divider > div {
  display: none;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) [class*="col-"]:has(> .image_kontakt) {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  max-width: 460px;
  margin: 0 !important;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .image_kontakt img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top center;
  object-position: top center;
  border-radius: 6px;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .image_kontakt + div {
  text-align: left !important;
  font-size: 14px;
  line-height: 22px;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .image_kontakt + div p {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: #767676;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .image_kontakt + div p:has(b) {
  margin-bottom: 2px;
  font-size: 16px;
  line-height: 22px;
  color: #161515;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .image_kontakt + div p + p {
  margin-bottom: 10px;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .image_kontakt + div a {
  color: #f65d2d;
  text-decoration: none;
  word-break: break-word;
}

#Text .cm:has(img[src*="odkup/baner_odkup"]) .image_kontakt + div a:hover {
  color: #252474;
}

@media (max-width: 978px) {
  #Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(img[src*="komputery_i_laptopy"]),
  #Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(> .el_1, > .el_3, > .el_5) {
    grid-template-columns: minmax(0, 1fr);
  }

  #Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(> .el_1, > .el_3, > .el_5) {
    gap: 12px;
    margin-bottom: 12px !important;
  }
}

@media (max-width: 767px) {
  #Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row {
    margin-bottom: 40px !important;
  }

  #Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(img[src*="baner_odkup"]) {
    margin-bottom: 28px !important;
  }

  #Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(img[src*="odkup_ikony"]) h2 {
    font-size: 21px;
    line-height: 29px;
  }

  #Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row:has(img[src*="komputery_i_laptopy"]) h2,
  #Text .cm:has(img[src*="odkup/baner_odkup"]) .container > .row h3 {
    font-size: 19px;
    line-height: 26px;
  }

  #Text .cm:has(img[src*="odkup/baner_odkup"]) :is(.el_1, .el_2, .el_3, .el_4, .el_5, .el_6) {
    min-height: 0;
    padding: 20px 16px 20px 76px !important;
  }

  #Text .cm:has(img[src*="odkup/baner_odkup"]) :is(.el_1, .el_2, .el_3, .el_4, .el_5, .el_6)::before {
    top: 20px;
    left: 16px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  #Text .cm:has(img[src*="odkup/baner_odkup"]) > .row:has(.image_kontakt) {
    padding: 24px 16px;
  }

  #Text .cm:has(img[src*="odkup/baner_odkup"]) [class*="col-"]:has(> .image_kontakt) {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    max-width: none;
  }
}

/*
 * ——— CMS: Raty 0% (PayU) ———
 * Scope: blok CMS z banerem raty_2021/baner. Tytuł z szablonu zostaje — to jedyny H1 strony.
 * Tabela kroków 01–05 (tło z samolotem i duże paddingi z inline <style>) → karty kroków;
 * pytania FAQ korzystają ze wspólnych reguł podstrony FAQ (#Text .local-page-wrapper details).
 */
#Text .cm:has(img[src*="raty_2021/baner"]) .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .row {
  display: block;
  width: auto;
  margin: 0;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .container > .row {
  margin: 0 0 56px !important;
}

#Text .cm:has(img[src*="raty_2021/baner"]) [class*="col-"] {
  width: auto;
  max-width: 100%;
  padding: 0;
  float: none;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .container > br,
#Text .cm:has(img[src*="raty_2021/baner"]) .row > br {
  display: none;
}

#Text .cm:has(img[src*="raty_2021/baner"]) img {
  max-width: 100%;
  height: auto;
}

/* Inline <style> CMS daje każdemu <p> 16px i wyrównanie do lewej */
#Text .cm:has(img[src*="raty_2021/baner"]) p {
  font-size: inherit;
}

/* Nagłówki sekcji + pomarańczowa kreska */
#Text .cm:has(img[src*="raty_2021/baner"]) h2 {
  margin: 0 0 20px;
  padding-top: 0 !important;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  color: #161515;
  text-align: center !important;
}

#Text .cm:has(img[src*="raty_2021/baner"]) h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px auto 0;
  background: #f65d2d;
  border-radius: 2px;
}

/* Baner — prawa połowa jest biała, ramka oddziela go od tła */
#Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="raty_2021/baner"]) {
  margin-bottom: 32px !important;
}

#Text .cm:has(img[src*="raty_2021/baner"]) img[src*="raty_2021/baner"] {
  display: block;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

/* Korzyści — 3 karty: ikona, tytuł, opis */
#Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="balony"]) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 0 !important;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="balony"]) > [class*="col-"] {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="balony"]) img {
  display: block;
  width: 72px !important;
  margin: 0 auto 16px;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="balony"]) b {
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #161515;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="balony"]) p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* Jak to działa — szary boks, kroki 01–05 jako karty */
#Text .cm:has(img[src*="raty_2021/baner"]) .SL_tlo_jakdziala {
  margin: 0;
  padding: 40px 32px !important;
  background: #f6f7f8 !important;
  border-radius: 8px;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .SL_tlo_jakdziala table {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .SL_tlo_jakdziala tbody {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .SL_tlo_jakdziala tr {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .SL_tlo_jakdziala td {
  display: block;
  padding: 0 !important;
  border: 0;
  background: transparent;
  color: #333333;
  font-size: 14px !important;
  line-height: 1.6;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .SL_tlo_jakdziala td:first-child {
  color: #f65d2d !important;
  font-size: 28px !important;
  line-height: 1;
  font-weight: 700;
}

/* Produkty na raty — wstęp + kafelki kategorii (klikalne w całości) */
#Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="raty_2021/ikony"]) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="raty_2021/ikony"]) > [class*="col-"]:first-child {
  grid-column: 1 / -1;
  max-width: 820px;
  margin: 0 auto 12px;
  text-align: center;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="raty_2021/ikony"]) > [class*="col-"]:first-child p {
  text-align: center;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="raty_2021/ikony"]) > [class*="col-"]:not(:first-child) {
  padding: 0 !important;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .col-12:has(img[src*="raty_2021/ikony"]) {
  position: relative;
  padding: 24px 16px !important;
  background: #fff !important;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  text-align: center;
  transition: border-color 0.15s ease;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .col-12:has(img[src*="raty_2021/ikony"]):hover {
  border-color: #f65d2d;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .col-12:has(img[src*="raty_2021/ikony"]) a::after {
  content: "";
  position: absolute;
  inset: 0;
}

#Text .cm:has(img[src*="raty_2021/baner"]) img[src*="raty_2021/ikony"] {
  display: block;
  width: 88px !important;
  margin: 0 auto 12px;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .col-12:has(img[src*="raty_2021/ikony"]) p {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: #161515;
  transition: color 0.15s ease;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .col-12:has(img[src*="raty_2021/ikony"]):hover p {
  color: #f65d2d;
}

/* FAQ — pytania w stylu podstrony FAQ (wspólne reguły details / .odpowiedz) */
#Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(details) {
  margin-bottom: 0 !important;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .odpowiedz :is(p, ul) {
  font-size: inherit;
  text-align: left;
}

#Text .cm:has(img[src*="raty_2021/baner"]) .odpowiedz p:empty {
  display: none;
}

@media (max-width: 978px) {
  #Text .cm:has(img[src*="raty_2021/baner"]) .SL_tlo_jakdziala tbody {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) .SL_tlo_jakdziala tr {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) .SL_tlo_jakdziala td:first-child {
    flex: 0 0 40px;
    font-size: 24px !important;
  }
}

@media (max-width: 767px) {
  #Text .cm:has(img[src*="raty_2021/baner"]) .container > .row {
    margin-bottom: 40px !important;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="raty_2021/baner"]) {
    margin-bottom: 24px !important;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) h2 {
    font-size: 19px;
    line-height: 26px;
  }

  /* Korzyści: ikona | tekst, jedna pod drugą */
  #Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="balony"]) {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="balony"]) > [class*="col-"] {
    padding: 16px;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="balony"]) > [class*="col-"] > .row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    text-align: left;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="balony"]) > [class*="col-"] > .row > [class*="col-"] {
    text-align: left !important;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="balony"]) img {
    width: 56px !important;
    margin: 0;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="balony"]) p {
    text-align: left !important;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) .SL_tlo_jakdziala {
    padding: 28px 16px !important;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) .container > .row:has(img[src*="raty_2021/ikony"]) {
    gap: 8px;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) .col-12:has(img[src*="raty_2021/ikony"]) {
    padding: 16px 8px !important;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) img[src*="raty_2021/ikony"] {
    width: 56px !important;
  }

  #Text .cm:has(img[src*="raty_2021/baner"]) .col-12:has(img[src*="raty_2021/ikony"]) p {
    font-size: 13px;
    line-height: 18px;
  }
}

/*
 * ——— CMS: Landing B2B (/about/b2b-84) ———
 * Scope: blok CMS z #b2b-contact-form. Landing ma własny duży <style> (reset .cm *, sekcje, karty),
 * ale siedzi w podstronie tekstowej — style #Text .text_menu__txt (h2/h3 do lewej !important,
 * linki pomarańczowe z podkreśleniem, pomarańczowe <th>) psują mu przyciski, nagłówki i tabelę.
 * Tu: neutralizacja tych stylów + karty/boksy jak na reszcie podstron. FAQ — wspólne reguły podstrony FAQ.
 */
#Text.text_menu:has(#b2b-contact-form) > .text_menu__label {
  display: none;
}

#Text .cm:has(#b2b-contact-form) .container {
  max-width: 100%;
  padding: 0;
}

#Text .cm:has(#b2b-contact-form) > div > section {
  margin: 0 0 64px;
  padding: 0;
}

#Text .cm:has(#b2b-contact-form) > div > section:last-of-type {
  margin-bottom: 0;
}

#Text .cm:has(#b2b-contact-form) > div > br {
  display: none;
}

#Text .cm:has(#b2b-contact-form) :is(h1, h2, h3, h4) {
  padding-top: 0 !important;
}

/* Nagłówki sekcji — wyśrodkowane, z pomarańczową kreską */
#Text .cm:has(#b2b-contact-form) .headline {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

#Text .cm:has(#b2b-contact-form) #contact-form {
	padding-bottom: 0;
}

#Text .cm:has(#b2b-contact-form) :is(h2.section-title, h2.headline__name, #main_cms2 h2) {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 34px;
  font-weight: 700;
  color: #161515;
  text-align: center !important;
}

#Text .cm:has(#b2b-contact-form) #main_cms2 h2 .headline__name {
  font-size: inherit;
  margin: 0;
}

#Text .cm:has(#b2b-contact-form) :is(h2.section-title, h2.headline__name, #main_cms2 h2)::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px auto 0;
  background: #f65d2d;
  border-radius: 2px;
}

#Text .cm:has(#b2b-contact-form) :is(.product-categories__subtitle, .pricing-table__description, .renewal-process__subtitle, .inquiry-cta__text) {
  max-width: 760px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  text-align: center;
}

#Text .cm:has(#b2b-contact-form) .pricing-table__intro,
#Text .cm:has(#b2b-contact-form) .renewal-process__intro {
  margin-bottom: 0;
}

#Text .cm:has(#b2b-contact-form) strong.navy {
  color: #252474;
}

/* Przyciski .btn — style linków podstrony tekstowej zdjęte, wygląd jak w sklepie */
#Text .cm:has(#b2b-contact-form) .btn.--solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 48px;
  padding: 12px 32px;
  border: 1px solid #f65d2d;
  border-radius: 6px;
  background: #f65d2d;
  color: #161515;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#Text .cm:has(#b2b-contact-form) .btn.--solid:hover,
#Text .cm:has(#b2b-contact-form) .btn.--solid:focus-visible {
  border-color: #252474;
  background: #252474;
  color: #fff;
}

/* Hero */
#Text .cm:has(#b2b-contact-form) .hero__image {
  height: auto;
  margin: 0 auto 32px;
  border-radius: 8px;
}

#Text .cm:has(#b2b-contact-form) .hero__title {
  max-width: 860px;
  margin: 0 auto 16px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: #161515;
}

#Text .cm:has(#b2b-contact-form) .hero .hero__description {
  max-width: 760px;
  margin: 0 auto 4px !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: #333333 !important;
}

#Text .cm:has(#b2b-contact-form) .hero .hero__description:last-of-type {
  margin-bottom: 28px !important;
}

/* Dla kogo / Korzyści — karty; niepełny ostatni rząd wycentrowany */
#Text .cm:has(#b2b-contact-form) :is(.target-audience__grid, .benefits__grid) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 32px 0 0;
}

#Text .cm:has(#b2b-contact-form) .benefits__grid {
  margin-bottom: 32px;
}

#Text .cm:has(#b2b-contact-form) :is(.audience-card, .benefit-card) {
  position: relative;
  flex: 0 1 calc((100% - 40px) / 3);
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  text-align: center;
  transition: border-color 0.15s ease;
}

#Text .cm:has(#b2b-contact-form) :is(.audience-card__icon, .benefit-card__icon) {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}

/* Bez odbijania ikony na hover — karty bez akcji nie reagują */
#Text .cm:has(#b2b-contact-form) :is(.audience-card, .benefit-card):hover :is(.audience-card__icon, .benefit-card__icon) {
  transform: none;
}

#Text .cm:has(#b2b-contact-form) :is(.audience-card, .benefit-card):hover path[fill^="#333"] {
  fill: #333333;
}

#Text .cm:has(#b2b-contact-form) :is(.audience-card__title, .benefit-card__title) {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  color: #161515;
  text-align: center !important;
}

#Text .cm:has(#b2b-contact-form) :is(.audience-card__description, .benefit-card__description) {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}

/* Korzyści z modalem — klikalne: ramka na hover, „Dowiedz się więcej ›” pod opisem */
#Text .cm:has(#b2b-contact-form) .benefit-card:has(.modal-opener) {
  cursor: pointer;
}

#Text .cm:has(#b2b-contact-form) .benefit-card:has(.modal-opener):hover {
  border-color: #f65d2d;
}

#Text .cm:has(#b2b-contact-form) .benefit-card:has(.modal-opener) .benefit-card__description::after {
  content: "Dowiedz się więcej ›";
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #f65d2d;
}

/* Tytuł otwiera modal — rozciągnięty na całą kartę */
#Text .cm:has(#b2b-contact-form) .benefit-card__title.modal-opener::before {
  content: "";
  position: absolute;
  inset: 0;
}

#Text .cm:has(#b2b-contact-form) .benefits__cta,
#Text .cm:has(#b2b-contact-form) .bestsellers-placeholder .container,
#Text .cm:has(#b2b-contact-form) .inquiry-cta {
  text-align: center;
}

/* Modal korzyści */
#Text .cm:has(#b2b-contact-form) .benefitsModal .modal-content {
  border: 0;
  border-radius: 8px;
  color: #333333;
}

#Text .cm:has(#b2b-contact-form) .benefitsModal .modal-header h4 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: #161515;
}

#Text .cm:has(#b2b-contact-form) .benefitsModal .modal-content p {
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

#Text .cm:has(#b2b-contact-form) .benefitsModal p:last-of-type::after {
  content: none;
}

/* Kategorie sprzętu — karty z przyciskiem na dole */
#Text .cm:has(#b2b-contact-form) .product-categories__grid {
  gap: 20px;
}

#Text .cm:has(#b2b-contact-form) .product-card {
  padding: 24px 20px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

#Text .cm:has(#b2b-contact-form) .product-card__image {
  width: 160px;
  height: 160px;
  -o-object-fit: contain;
  object-fit: contain;
}

#Text .cm:has(#b2b-contact-form) .product-card__title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 24px;
  text-align: center !important;
}

#Text .cm:has(#b2b-contact-form) .product-card__description {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}

#Text .cm:has(#b2b-contact-form) .product-card .btn.--solid {
  width: 100%;
  min-width: 0;
  padding: 10px 16px;
}

/* Polityka rabatowa — tabela w stylu sklepu (zdjęte pomarańczowe <th> podstron tekstowych) */
#Text .cm:has(#b2b-contact-form) .pricing-table__intro {
  margin-bottom: 8px;
}

#Text .cm:has(#b2b-contact-form) .pricing-table__wrapper {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

#Text .cm:has(#b2b-contact-form) table.pricing {
  display: table;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  font-size: 15px;
}

#Text .cm:has(#b2b-contact-form) table.pricing :is(th, td) {
  padding: 14px 20px;
  border: 0;
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
  color: #333333;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
}

#Text .cm:has(#b2b-contact-form) table.pricing tr:last-child :is(th, td) {
  border-bottom: 0;
}

#Text .cm:has(#b2b-contact-form) table.pricing tbody th {
  font-weight: 600;
  color: #161515;
  text-align: left;
}

#Text .cm:has(#b2b-contact-form) table.pricing thead th {
  background: #f6f7f8;
  vertical-align: top;
}

#Text .cm:has(#b2b-contact-form) table.pricing thead th .tier-name {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: #f65d2d;
}

#Text .cm:has(#b2b-contact-form) table.pricing thead th .tier-desc {
  font-size: 13px;
  line-height: 18px;
  color: #767676;
}

#Text .cm:has(#b2b-contact-form) table.pricing td img {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

#Text .cm:has(#b2b-contact-form) table.pricing tr:has(.warranty-header) :is(th, td) {
  background: #f6f7f8 !important;
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #161515;
}

#Text .cm:has(#b2b-contact-form) .pricing-table__scroll-hint {
  margin: 12px 0 0;
  font-size: 13px;
  font-style: normal;
  color: #767676;
}

/* Bestsellery (hotspot) — nagłówek jak pozostałe sekcje */
#Text .cm:has(#b2b-contact-form) #main_hotspot_zone3 {
  margin-bottom: 24px !important;
}

#Text .cm:has(#b2b-contact-form) #main_hotspot_zone3 h2 {
  margin: 0 0 24px;
  text-align: center !important;
}

#Text .cm:has(#b2b-contact-form) #main_hotspot_zone3 .headline__name::before {
  font-size: 26px;
  line-height: 34px;
  font-weight: 700;
  color: #161515;
}

/* Wariant zapytania — CTA w szarym boksie */
#Text .cm:has(#b2b-contact-form) .inquiry-cta {
  padding: 40px 24px;
  background: #f6f7f8;
  border-radius: 8px;
}

#Text .cm:has(#b2b-contact-form) .inquiry-cta__text {
  margin-bottom: 24px;
}

/* Proces odnawiania — kroki | zdjęcie */
#Text .cm:has(#b2b-contact-form) .renewal-process__two-columns {
  gap: 40px;
  align-items: center;
  margin: 0 0 24px;
}

#Text .cm:has(#b2b-contact-form) .renewal-process__steps {
  gap: 20px 16px;
}

#Text .cm:has(#b2b-contact-form) .renewal-step__number {
  font-size: 28px;
  line-height: 1;
  color: #f65d2d;
}

#Text .cm:has(#b2b-contact-form) .renewal-step__text {
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
}

#Text .cm:has(#b2b-contact-form) .renewal-process__image {
  height: auto;
  border-radius: 8px;
}

#Text .cm:has(#b2b-contact-form) .renewal-process__footer {
  padding: 24px;
  background: #f6f7f8;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1.5;
  color: #161515;
}

/* Opinie — karty jak reszta podstron */
#Text .cm:has(#b2b-contact-form) .cms__opinions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

#Text .cm:has(#b2b-contact-form) .cms__opinions-wrapper {
  width: auto;
  max-width: none;
  padding: 0;
}

#Text .cm:has(#b2b-contact-form) .cms__opinions-wrapper-sub {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

#Text .cm:has(#b2b-contact-form) .opinion-text {
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
}

#Text .cm:has(#b2b-contact-form) .cms__opinions-author {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #161515;
}

#Text .cm:has(#b2b-contact-form) .cms__opinions-verificate {
  gap: 6px;
  margin-top: auto;
  padding: 16px 0 0 !important;
  font-size: 13px !important;
  font-weight: 600;
}

#Text .cm:has(#b2b-contact-form) .cms__opinions-verificate a {
  color: #f65d2d;
}

#Text .cm:has(#b2b-contact-form) .cms__opinions .opinions-links {
  grid-column: 1 / -1;
  gap: 16px;
  margin: 8px 0 0;
  padding: 0;
}

#Text .cm:has(#b2b-contact-form) .opinions-links-wrapper {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

#Text .cm:has(#b2b-contact-form) .opinions-links-wrapper img {
  width: 120px;
}

/* Film */
#Text .cm:has(#b2b-contact-form) > div > .lite-youtube-wrapper {
  margin: 0 0 64px;
  border-radius: 8px;
  overflow: hidden;
}

/* Formularz kontaktowy — powody | szary boks z polami */
#Text .cm:has(#b2b-contact-form) .contact-form__left {
  padding-top: 0;
}

#Text .cm:has(#b2b-contact-form) .contact-form__title {
  margin: 0 0 24px;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  color: #161515;
  text-align: left !important;
}

#Text .cm:has(#b2b-contact-form) .contact-form__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px 0 0;
  background: #f65d2d;
  border-radius: 2px;
}

#Text .cm:has(#b2b-contact-form) .contact-form__reasons {
  margin: 0 0 24px;
  padding: 0;
}

#Text .cm:has(#b2b-contact-form) .contact-form__reason {
  margin: 0 0 16px;
  padding: 0;
  font-size: 15px;
  line-height: 1.6;
}

#Text .cm:has(#b2b-contact-form) .contact-form__reason-icon {
  width: 20px;
  height: 20px;
}

#Text .cm:has(#b2b-contact-form) .contact-form__info {
  padding: 16px 20px;
  background: #f6f7f8;
  border-left: 3px solid #f65d2d;
  border-radius: 0 8px 8px 0;
}

#Text .cm:has(#b2b-contact-form) .contact-form__info-text {
  font-size: 15px;
  line-height: 1.6;
}

#Text .cm:has(#b2b-contact-form) .contact-form__right {
  padding: 32px;
  background: #f6f7f8;
  border-radius: 8px;
}

#Text .cm:has(#b2b-contact-form) .form-group :is(input, textarea) {
  display: block;
  padding: 12px 36px 12px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: #161515;
  font-family: inherit;
  font-size: 15px;
  line-height: 22px;
  transition: border-color 0.15s ease;
}

#Text .cm:has(#b2b-contact-form) .form-group :is(input, textarea):focus {
  border-color: #f65d2d;
  outline: none;
}

#Text .cm:has(#b2b-contact-form) .form-group :is(input, textarea)::placeholder {
  color: #767676;
}

#Text .cm:has(#b2b-contact-form) .form-group--required::after {
  top: 12px;
  right: 14px;
}

#Text .cm:has(#b2b-contact-form) .file-upload {
  flex-wrap: wrap;
}

#Text .cm:has(#b2b-contact-form) .file-upload__label {
  font-size: 15px;
  color: #161515;
}

#Text .cm:has(#b2b-contact-form) .file-upload__button {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

#Text .cm:has(#b2b-contact-form) .file-upload__button:hover {
  background: #f65d2d;
  color: #fff;
}

#Text .cm:has(#b2b-contact-form) .file-upload__status {
  color: #767676;
}

#Text .cm:has(#b2b-contact-form) .consent {
  gap: 10px;
  margin: 0 0 12px;
}

#Text .cm:has(#b2b-contact-form) .consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #f65d2d;
}

#Text .cm:has(#b2b-contact-form) .consent label {
  font-size: 13px;
  line-height: 1.6;
}

#Text .cm:has(#b2b-contact-form) .form-submit .btn.--solid {
  width: 100%;
}

/* FAQ — pytania ze wspólnych reguł podstrony FAQ; tu tylko reset przycisku */
#Text .cm:has(#b2b-contact-form) .faq__list {
  margin-top: 24px;
}

#Text .cm:has(#b2b-contact-form) .faq__item {
  border-top: 0;
}

#Text .cm:has(#b2b-contact-form) .faq__question {
  display: block;
  width: 100%;
  border: 0;
  font-family: inherit;
  text-align: left;
}

@media (max-width: 978px) {
  #Text .cm:has(#b2b-contact-form) :is(.audience-card, .benefit-card) {
    flex-basis: calc((100% - 20px) / 2);
  }

  #Text .cm:has(#b2b-contact-form) .contact-form__wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  #Text .cm:has(#b2b-contact-form) .cms__opinions {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 767px) {
  #Text .cm:has(#b2b-contact-form) > div > section,
  #Text .cm:has(#b2b-contact-form) > div > .lite-youtube-wrapper {
    margin-bottom: 40px;
  }

  #Text .cm:has(#b2b-contact-form) :is(h2.section-title, h2.headline__name, #main_cms2 h2) {
    font-size: 21px;
    line-height: 29px;
  }

  #Text .cm:has(#b2b-contact-form) #main_hotspot_zone3 .headline__name::before {
    font-size: 21px;
    line-height: 29px;
  }

  #Text .cm:has(#b2b-contact-form) .hero__image {
    margin-bottom: 20px;
  }

  #Text .cm:has(#b2b-contact-form) .hero__title {
    font-size: 24px;
    line-height: 32px;
  }

  #Text .cm:has(#b2b-contact-form) .hero .hero__description,
  #Text .cm:has(#b2b-contact-form) :is(.product-categories__subtitle, .pricing-table__description, .renewal-process__subtitle, .inquiry-cta__text) {
    font-size: 15px !important;
  }

  #Text .cm:has(#b2b-contact-form) :is(.audience-card, .benefit-card) {
    flex-basis: 100%;
    padding: 20px 16px;
  }

  #Text .cm:has(#b2b-contact-form) :is(.target-audience__grid, .benefits__grid) {
    gap: 12px;
  }

  #Text .cm:has(#b2b-contact-form) table.pricing :is(th, td) {
    padding: 10px 12px;
    font-size: 13px;
  }

  #Text .cm:has(#b2b-contact-form) table.pricing thead th .tier-name {
    font-size: 15px;
    line-height: 20px;
  }

  #Text .cm:has(#b2b-contact-form) table.pricing thead th .tier-desc {
    font-size: 11px;
    line-height: 15px;
  }

  #Text .cm:has(#b2b-contact-form) .inquiry-cta,
  #Text .cm:has(#b2b-contact-form) .renewal-process__footer {
    padding: 28px 16px;
  }

  #Text .cm:has(#b2b-contact-form) .renewal-process__footer {
    font-size: 16px;
  }

  #Text .cm:has(#b2b-contact-form) .contact-form__right {
    padding: 24px 16px;
  }

  #Text .cm:has(#b2b-contact-form) .btn.--solid {
    width: 100%;
    min-width: 0;
  }
}

/*
 * ——— CMS: Reklamacje (Gwarancja) ———
 * Scope: blok CMS z .main-timeline9 (brak własnego id). Stary „timeline” z CMS
 * (floaty, kółka 180px, łączniki) zamieniony na siatkę kart; <br> do odstępów wyłączone.
 */
#Text.text_menu:has(.main-timeline9) > .text_menu__label {
  display: none;
}

#Text .cm:has(.main-timeline9) .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

#Text .cm:has(.main-timeline9) .row {
  display: block;
  width: auto;
  margin: 0;
}

#Text .cm:has(.main-timeline9) [class*="col-"] {
  width: auto;
  max-width: 100%;
  padding: 0;
  float: none;
}

/* Odstępy robione <br> w treści — zastąpione marginesami sekcji */
#Text .cm:has(.main-timeline9) > br,
#Text .cm:has(.main-timeline9) div > br {
  display: none;
}

#Text .cm:has(.main-timeline9) img {
  max-width: 100%;
  height: auto;
}

#Text .cm:has(.main-timeline9) .container > .row:first-child img {
  display: block;
  border-radius: 8px;
}

#Text .cm:has(.main-timeline9) h1 {
  max-width: 860px;
  margin: 36px auto 28px;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  color: #161515;
  text-align: center;
}

#Text .cm:has(.main-timeline9) h2 {
  margin: 48px 0 16px;
}

#Text .cm:has(.main-timeline9) h2 strong {
  color: inherit;
}

/* „Dział Reklamacji” + godziny i kontakt */
#Text .cm:has(.main-timeline9) h2:has(> p) {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f65d2d;
}

#Text .cm:has(.main-timeline9) h2 > p {
  margin: 0;
}

#Text .cm:has(.main-timeline9) h2:has(> p) ~ p[style*="text-align: center"] {
  margin: 0 0 4px;
  font-size: 15px;
  color: #161515;
}

/* Warunki gwarancji */
#Text .cm:has(.main-timeline9) ul {
  margin: 0 0 8px;
  padding: 20px 24px 20px 44px;
  border-radius: 8px;
}

#Text .cm:has(.main-timeline9) ul li:last-child {
  margin-bottom: 0;
}

#Text .cm:has(.main-timeline9) .lite-youtube-wrapper {
  margin: 8px 0 40px;
}

/* Timeline → karty */
#Text .cm:has(.main-timeline9) .main-timeline9 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

#Text .cm:has(.main-timeline9) .main-timeline9::before,
#Text .cm:has(.main-timeline9) .main-timeline9::after,
#Text .cm:has(.main-timeline9) .main-timeline9 .timeline::before,
#Text .cm:has(.main-timeline9) .main-timeline9 .timeline::after,
#Text .cm:has(.main-timeline9) .main-timeline9 .timeline-content::before,
#Text .cm:has(.main-timeline9) .main-timeline9 .circle::before,
#Text .cm:has(.main-timeline9) .main-timeline9 .circle span::before,
#Text .cm:has(.main-timeline9) .main-timeline9 .circle span::after,
#Text .cm:has(.main-timeline9) .main-timeline9 .icon {
  display: none !important;
}

#Text .cm:has(.main-timeline9) .main-timeline9 .timeline {
  width: auto;
  float: none;
  margin: 0 !important;
  padding: 24px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

#Text .cm:has(.main-timeline9) .main-timeline9 .timeline-content {
  float: none;
  margin: 0;
  text-align: left;
}

#Text .cm:has(.main-timeline9) .main-timeline9 .circle {
  float: none;
  width: 56px;
  height: 56px;
  margin: 0 0 16px;
  border: 0;
  background: transparent;
}

#Text .cm:has(.main-timeline9) .main-timeline9 .circle span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #f65d2d;
  line-height: 1;
  font-size: 0;
}

#Text .cm:has(.main-timeline9) .main-timeline9 .circle img {
  height: 55% !important;
  width: auto;
}

#Text .cm:has(.main-timeline9) .main-timeline9 .content {
  display: block;
  padding: 0;
  margin: 0;
}

#Text .cm:has(.main-timeline9) .main-timeline9 .title {
  margin: 0 0 10px !important;
  font-size: 17px;
  line-height: 24px;
  color: #161515;
}

#Text .cm:has(.main-timeline9) .main-timeline9 .description {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

/* „Zgłoszenie reklamacji bywa niejasne?” — dekoracyjna ikona zbędna */
#Text .cm:has(.main-timeline9) .schowaj_svg_sl {
  display: none;
}

/* CTA „Zgłaszam reklamację” */
#Text .cm:has(.main-timeline9) > .row[style*="text-align:center"] {
  margin: 40px 0;
  padding: 36px 24px;
  background: #f6f7f8;
  border-radius: 8px;
}

#Text .cm:has(.main-timeline9) > .row[style*="text-align:center"] h2 {
  margin-top: 0;
  text-align: center !important;
}

#Text .cm:has(.main-timeline9) > .row[style*="text-align:center"] [class*="col-"] {
  margin: 0 !important;
}

#Text .cm:has(.main-timeline9) a:has(> .button_pkt) {
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
}

#Text .cm:has(.main-timeline9) .button_pkt {
  width: auto;
  min-width: 240px;
  padding: 14px 32px;
  border: 1px solid #f65d2d;
  border-radius: 6px;
  background: #f65d2d;
  color: #161515;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#Text .cm:has(.main-timeline9) .button_pkt:hover {
  border-color: #252474;
  background: #252474;
  color: #fff;
}

/* Kroki 1–3 */
#Text .cm:has(.main-timeline9) > div[style*="#231d74"] {
  color: #333333 !important;
}

#Text .cm:has(.main-timeline9) > div[style*="#231d74"] h2 {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 40px 0 16px;
  padding-top: 32px !important;
  border-top: 1px solid #e6e6e6;
}

#Text .cm:has(.main-timeline9) > div[style*="#231d74"] h2:first-of-type {
  margin-top: 0;
  padding-top: 0 !important;
  border-top: 0;
}

#Text .cm:has(.main-timeline9) > div[style*="#231d74"] h2 > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0 8px 0 6px;
  border-radius: 50%;
  background: #f65d2d;
  color: #fff;
  font-size: 17px !important;
  line-height: 1;
}

#Text .cm:has(.main-timeline9) > div[style*="#231d74"] + div[style*="text-align:center"] {
  margin: 40px 0 8px;
}

/* Adres do zwrotu */
#Text .cm:has(.main-timeline9) p[style*="line-height: 0.8"] {
  margin: 0 !important;
  line-height: 1.5 !important;
}

#Text .cm:has(.main-timeline9) p[style*="line-height: 0.8"] + p:not([style*="line-height: 0.8"]) {
  margin-top: 16px;
}

@media (max-width: 767px) {
  #Text .cm:has(.main-timeline9) h1 {
    margin: 24px 0 20px;
    font-size: 22px;
    line-height: 30px;
  }

  #Text .cm:has(.main-timeline9) h2 {
    margin-top: 36px;
  }

  #Text .cm:has(.main-timeline9) ul {
    padding: 16px 16px 16px 36px;
  }

  #Text .cm:has(.main-timeline9) .main-timeline9 .timeline {
    padding: 20px;
  }

  #Text .cm:has(.main-timeline9) > .row[style*="text-align:center"] {
    padding: 28px 16px;
  }

  #Text .cm:has(.main-timeline9) .button_pkt {
    width: 100%;
    min-width: 0;
  }

  #Text .cm:has(.main-timeline9) a:has(> .button_pkt) {
    display: block;
  }
}

/*
 * ——— CMS: Odstąpienie od umowy (zwroty) ———
 * Scope: blok CMS z linkiem do returns-open.html (brak własnego id). Siatka Bootstrap 3
 * z CMS wyzerowana, wiersze z kolumnami ułożone gridem; <br> do odstępów wyłączone.
 */
#Text .cm:has(a[href*="returns-open"]) .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

#Text .cm:has(a[href*="returns-open"]) .row {
  display: block;
  width: auto;
  margin: 0;
}

#Text .cm:has(a[href*="returns-open"]) [class*="col-"] {
  width: auto;
  max-width: 100%;
  padding: 0;
  float: none;
}

#Text .cm:has(a[href*="returns-open"]) > br,
#Text .cm:has(a[href*="returns-open"]) div > br {
  display: none;
}

#Text .cm:has(a[href*="returns-open"]) img {
  max-width: 100%;
  height: auto;
}

/* Nagłówki: centrowanie nadpisane przez style podstron tekstowych */
#Text .cm:has(a[href*="returns-open"]) [style*="text-align:center"] :is(h1, h2, h3, h4),
#Text .cm:has(a[href*="returns-open"]) [style*="text-align: center"] :is(h1, h2, h3, h4) {
  text-align: center !important;
}

#Text .cm:has(a[href*="returns-open"]) h1 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #161515;
}

#Text .cm:has(a[href*="returns-open"]) h2[style*="#E74629"] {
  color: #f65d2d !important;
}

/* Film */
#Text .cm:has(a[href*="returns-open"]) iframe[src*="youtube"] {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 auto 40px;
  border: 0;
  border-radius: 8px;
}

/* Wstęp + „Nie musisz…” */
#Text .cm:has(a[href*="returns-open"]) .row:has(> [class*="col-md-4"] > h4) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(> [class*="col-md-4"] > h4) > :first-child {
  grid-column: 1 / -1;
  max-width: 860px;
  margin: 0 auto 16px;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(> [class*="col-md-4"] > h4) > :first-child h2 {
  margin: 24px 0 10px;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(> [class*="col-md-4"] > h4) > :first-child > b {
  display: block;
  font-size: 15px;
  color: #161515;
}

/* Ptaszek w kółku nad tekstem, całość wycentrowana */
#Text .cm:has(a[href*="returns-open"]) [class*="col-md-4"] > h4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  height: 100%;
  margin: 0;
  padding: 24px 20px;
  background: #f6f7f8;
  border-radius: 8px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: #161515;
  text-align: center !important;
  box-sizing: border-box;
}

#Text .cm:has(a[href*="returns-open"]) [class*="col-md-4"] > h4 > span[style*="color"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #f65d2d !important;
  font-size: 18px;
  line-height: 1;
}

/*
 * Kafelki: 30 dni / Transport 0 zł / Zwrot należności / Proces zwrotu.
 * Tylko zewnętrzny wiersz (.container > .row) — każdy kafelek ma w środku własny .row z tym samym obrazkiem.
 */
#Text .cm:has(a[href*="returns-open"]) .container > .row:has(img[src*="podstrona_zwrot-0"]) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
  margin: 0 0 48px !important;
  padding: 0 !important;
  background: transparent !important;
}

#Text .cm:has(a[href*="returns-open"]) .container > .row:has(img[src*="podstrona_zwrot-0"]) > div {
  padding: 28px 20px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

#Text .cm:has(a[href*="returns-open"]) .container > .row:has(img[src*="podstrona_zwrot-0"]) img {
  display: block;
  width: 64px !important;
  margin: 0 auto 16px;
}

#Text .cm:has(a[href*="returns-open"]) .container > .row:has(img[src*="podstrona_zwrot-0"]) h2 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 26px;
}

#Text .cm:has(a[href*="returns-open"]) .container > .row:has(img[src*="podstrona_zwrot-0"]) h3 {
  margin: 0;
  padding-top: 0 !important;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #333333;
}

/* Tekst + ilustracja */
#Text .cm:has(a[href*="returns-open"]) .row:has(img[src*="ilustracja"]) {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
  font-size: 15px;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(img[src*="ilustracja"]) img {
  display: block;
  border-radius: 8px;
}

/* „Jak zgłosić zwrot produktu?” */
#Text .cm:has(a[href*="returns-open"]) .container > .row[style*="text-align:center"]:not([style*="margin-top"]) > div {
  max-width: 860px;
  margin: 0 auto 40px;
}

/* Kroki 1–4 */
#Text .cm:has(a[href*="returns-open"]) div[style*="#231d74"] {
  color: #333333 !important;
}

#Text .cm:has(a[href*="returns-open"]) div[style*="#231d74"] h2 {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 40px 0 16px;
  padding-top: 32px !important;
  border-top: 1px solid #e6e6e6;
}

#Text .cm:has(a[href*="returns-open"]) div[style*="#231d74"] h2:first-of-type {
  margin-top: 0;
  padding-top: 0 !important;
  border-top: 0;
}

#Text .cm:has(a[href*="returns-open"]) div[style*="#231d74"] h2 > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0 8px 0 6px;
  border-radius: 50%;
  background: #f65d2d;
  color: #fff;
  font-size: 17px !important;
  line-height: 1;
}

#Text .cm:has(a[href*="returns-open"]) p[style*="line-height: 0.8"] {
  margin: 0 !important;
  line-height: 1.5 !important;
}

#Text .cm:has(a[href*="returns-open"]) p[style*="line-height: 0.8"] + h2 {
  margin-top: 40px;
}

/* CTA „Chcesz zgłosić zwrot?” */
#Text .cm:has(a[href*="returns-open"]) .row:has(.button_pkt) {
  margin: 48px 0 !important;
  padding: 36px 24px;
  background: #f6f7f8;
  border-radius: 8px;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(.button_pkt) > div {
  max-width: 760px;
  margin: 0 auto !important;
}

#Text .cm:has(a[href*="returns-open"]) a:has(> .button_pkt) {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
}

#Text .cm:has(a[href*="returns-open"]) .button_pkt {
  width: auto !important;
  min-width: 240px;
  padding: 14px 32px !important;
  border: 1px solid #f65d2d;
  border-radius: 6px;
  background: #f65d2d;
  color: #161515;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#Text .cm:has(a[href*="returns-open"]) .button_pkt:hover {
  border-color: #252474;
  background: #252474;
  color: #fff;
}

/* „Masz dodatkowe pytania?” — e-mail i telefon (tabelki bez stylu tabel treści) */
#Text .cm:has(a[href*="returns-open"]) .row:has(table) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin: 0 0 40px !important;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(table) > :first-child {
  flex: 0 0 100%;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(table) table {
  display: table;
  width: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(table) th {
  padding: 0 4px !important;
  border: 0 !important;
  background: transparent !important;
  color: #161515 !important;
  font-size: 15px;
  font-weight: 600;
  vertical-align: middle !important;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(table) th img {
  display: block;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(table) th a {
  color: #161515;
  text-decoration: none;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(table) th a:hover {
  color: #f65d2d;
}

#Text .cm:has(a[href*="returns-open"]) a[href*="rzetelnafirma"] {
  display: inline-block;
  margin-bottom: 40px;
}

/* Opiekun zwrotów — mała wycentrowana karta: zdjęcie na górze, dane pod spodem */
#Text .cm:has(a[href*="returns-open"]) .row:has(img[onmouseover]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto !important;
  padding: 24px;
  background: #f6f7f8 !important;
  border-radius: 8px;
  text-align: center;
  box-sizing: border-box;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(img[onmouseover]) > div {
  margin: 0 !important;
  padding: 0 !important;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(img[onmouseover]) img {
  display: block;
  width: 180px;
  margin: 0 auto;
  border-radius: 8px;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(img[onmouseover]) :is(h1, h2, h3) {
  text-align: center !important;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(img[onmouseover]) h1 {
  margin: 0 0 2px;
  font-size: 18px;
  line-height: 26px;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(img[onmouseover]) h3 {
  margin: 0 0 10px;
  padding-top: 0 !important;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #767676;
}

#Text .cm:has(a[href*="returns-open"]) .row:has(img[onmouseover]) h2 {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
}

@media (max-width: 767px) {
  #Text .cm:has(a[href*="returns-open"]) h1 {
    font-size: 20px;
    line-height: 28px;
  }

  #Text .cm:has(a[href*="returns-open"]) .row:has(> [class*="col-md-4"] > h4),
  #Text .cm:has(a[href*="returns-open"]) .row:has(img[src*="ilustracja"]) {
    grid-template-columns: minmax(0, 1fr);
  }

  #Text .cm:has(a[href*="returns-open"]) .row:has(.button_pkt) {
    padding: 28px 16px;
  }

  #Text .cm:has(a[href*="returns-open"]) .button_pkt {
    width: 100% !important;
    min-width: 0;
  }

  #Text .cm:has(a[href*="returns-open"]) a:has(> .button_pkt) {
    display: block;
  }
}

/*
 * ——— CMS: Dostawa i Płatność ———
 * Scope: blok CMS z sekcją #paczkomaty. Paski ikon (.l-row) → kafelki w szarym boksie,
 * sekcje metod (.row[id]) → karty „ikona | opis”. <br> zostają — niosą podział treści.
 */
#Text .cm:has(#paczkomaty) .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

#Text .cm:has(#paczkomaty) .row {
  display: block;
  width: auto;
  margin: 0;
}

#Text .cm:has(#paczkomaty) [class*="col-"] {
  width: auto;
  max-width: 100%;
  padding: 0;
  float: none;
}

#Text .cm:has(#paczkomaty) img {
  max-width: 100%;
  height: auto;
}

/* Paski ikon „Dostawa” / „Płatność” na górze */
#Text .cm:has(#paczkomaty) .row:has(> [class*="col-"] > .l-row) {
  margin: 0 0 40px !important;
}

#Text .cm:has(#paczkomaty) .row:has(> [class*="col-"] > .l-row) :is(h1, h2, h3) {
  padding-top: 0 !important;
  text-align: center !important;
}

#Text .cm:has(#paczkomaty) .row:has(> [class*="col-"] > .l-row) h1 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #161515;
}

#Text .cm:has(#paczkomaty) .row:has(> [class*="col-"] > .l-row) h2 {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  color: #333333;
}

#Text .cm:has(#paczkomaty) .row:has(> [class*="col-"] > .l-row) h3 {
  display: table;
  margin: 12px auto 0;
  padding: 6px 14px !important;
  background: #fff7f4;
  border-radius: 999px;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.03em;
  color: #f65d2d !important;
}

#Text .cm:has(#paczkomaty) .l-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 0;
}

/* Po 4 w rzędzie, poziomo: ikona | nazwa; niepełny ostatni rząd wycentrowany */
#Text .cm:has(#paczkomaty) .l-row > .l-col-lg-1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex: 0 0 calc(25% - 9px);
  max-width: none;
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: left;
  transition: border-color 0.15s ease;
}

#Text .cm:has(#paczkomaty) .l-row > .l-col-lg-1 > p {
  text-align: left !important;
}

#Text .cm:has(#paczkomaty) .l-row > .l-col-lg-1:hover {
  border-color: #f65d2d;
}

#Text .cm:has(#paczkomaty) .l-row .image-helper {
  display: none;
}

#Text .cm:has(#paczkomaty) .l-row p {
  margin: 0;
}

#Text .cm:has(#paczkomaty) .l-row .image-container {
  flex: 0 0 44px;
}

#Text .cm:has(#paczkomaty) .l-row img {
  display: block;
  width: 44px !important;
  margin: 0;
}

#Text .cm:has(#paczkomaty) .l-row .smaller-text a {
  display: block;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #161515;
  text-decoration: none;
}

#Text .cm:has(#paczkomaty) .l-row > .l-col-lg-1:hover .smaller-text a {
  color: #f65d2d;
}

#Text .cm:has(#paczkomaty) .lite-youtube-wrapper {
  margin: 28px 0 0;
}

/* Nagłówki sekcji „Dostawa” / „Płatność” + pomarańczowa kreska zamiast szarego dividera */
#Text .cm:has(#paczkomaty) .row:has(> [class*="col-"] > .divider) {
  margin: 48px 0 20px !important;
}

#Text .cm:has(#paczkomaty) .row:has(> [class*="col-"] > .divider) h1 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #161515 !important;
}

#Text .cm:has(#paczkomaty) .divider {
  width: 48px !important;
  height: 3px !important;
  background: #f65d2d !important;
  border-radius: 2px;
}

#Text .cm:has(#paczkomaty) .divider > div {
  display: none;
}

/* Karty metod dostawy i płatności */
#Text .cm:has(#paczkomaty) .container > .row[id] {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  column-gap: 28px;
  margin: 0 0 16px !important;
  padding: 24px 28px !important;
  background: #fff !important;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.7;
  scroll-margin-top: 24px;
}

#Text .cm:has(#paczkomaty) .row[id] > [class*="col-lg-12"] {
  grid-column: 1 / -1;
}

#Text .cm:has(#paczkomaty) .row[id] > [class*="col-lg-12"] > h2 {
  margin: 0 0 16px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid #e6e6e6;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

#Text .cm:has(#paczkomaty) .row[id] > [class*="col-md-3"] {
  font-size: 13px;
  line-height: 20px;
  color: #767676;
  text-align: center;
}

#Text .cm:has(#paczkomaty) .row[id] > [class*="col-md-3"] img {
  display: block;
  width: 72px !important;
  margin: 0 auto 4px;
}

#Text .cm:has(#paczkomaty) .row[id] > [class*="col-md-9"] img[style*="height:30px"] {
  margin: 0 12px 4px 0 !important;
  vertical-align: middle;
}

#Text .cm:has(#paczkomaty) .row[id] > [class*="col-md-9"] h2 {
  margin: 0 0 8px;
  padding-top: 0 !important;
  font-size: 15px;
  line-height: 22px;
}

#Text .cm:has(#paczkomaty) .row[id] iframe[src*="youtube"] {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}

/* Kontakt + „Wiesz już wszystko?” */
#Text .cm:has(#paczkomaty) .row:has(table) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 40px 0 0 !important;
  padding: 0 !important;
}

#Text .cm:has(#paczkomaty) .row:has(table) > [class*="col-lg-6"] {
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

#Text .cm:has(#paczkomaty) .row:has(table) > [class*="col-lg-6"] > h3 {
  margin: 0;
  padding-top: 0 !important;
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  color: #333333;
  text-align: center !important;
}

#Text .cm:has(#paczkomaty) .row:has(table) h3 > br {
  display: none;
}

#Text .cm:has(#paczkomaty) .row:has(table) table {
  display: table;
  width: auto;
  margin: 10px auto 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#Text .cm:has(#paczkomaty) .row:has(table) th {
  padding: 0 4px !important;
  border: 0 !important;
  background: transparent !important;
  color: #161515 !important;
  font-size: 17px;
  font-weight: 700;
  vertical-align: middle !important;
}

#Text .cm:has(#paczkomaty) .row:has(table) th img {
  display: block;
}

#Text .cm:has(#paczkomaty) .row:has(table) th a {
  color: #161515 !important;
  text-decoration: none;
}

#Text .cm:has(#paczkomaty) .row:has(table) th a:hover {
  color: #f65d2d !important;
}

#Text .cm:has(#paczkomaty) .row:has(table) > [class*="col-lg-12"] {
  grid-column: 1 / -1;
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 22px;
  text-align: center;
}

#Text .cm:has(#paczkomaty) .row:has(table) > [class*="col-lg-12"]:has(.button_pkt) {
  margin-top: 24px !important;
  padding: 32px 24px;
  background: #f6f7f8;
  border-radius: 8px;
  font-size: 18px !important;
  font-weight: 700;
  color: #161515;
}

#Text .cm:has(#paczkomaty) .row:has(table) > [class*="col-lg-12"]:has(.button_pkt) > br {
  display: none;
}

/* Przycisk pod „Wiesz już wszystko?”, nie obok */
#Text .cm:has(#paczkomaty) .row:has(table) > [class*="col-lg-12"] > a:has(> .button_pkt) {
  display: block;
}

/* Przyciski z CMS (.button_pkt) w stylu sklepu */
#Text .cm:has(#paczkomaty) a:has(> .button_pkt) {
  display: inline-block;
  margin-top: 16px;
  text-decoration: none;
}

#Text .cm:has(#paczkomaty) .button_pkt {
  width: auto !important;
  min-width: 240px;
  padding: 14px 32px !important;
  border: 1px solid #f65d2d;
  border-radius: 6px;
  background: #f65d2d;
  color: #161515;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#Text .cm:has(#paczkomaty) .button_pkt:hover {
  border-color: #252474;
  background: #252474;
  color: #fff;
}

#Text .cm:has(#paczkomaty) a[href*="rzetelnafirma"] {
  display: inline-block;
}

@media (max-width: 767px) {
  #Text .cm:has(#paczkomaty) .row:has(> [class*="col-"] > .l-row) h1 {
    font-size: 20px;
    line-height: 28px;
  }

  #Text .cm:has(#paczkomaty) .l-row > .l-col-lg-1 {
    flex: 0 0 calc(50% - 6px);
    gap: 10px;
    margin-bottom: 0;
    padding: 12px;
  }

  #Text .cm:has(#paczkomaty) .l-row .image-container {
    flex-basis: 32px;
  }

  #Text .cm:has(#paczkomaty) .l-row img {
    width: 32px !important;
  }

  #Text .cm:has(#paczkomaty) .l-row .smaller-text a {
    font-size: 12px;
    line-height: 16px;
  }

  #Text .cm:has(#paczkomaty) .container > .row[id] {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 16px !important;
  }

  /* Ikona + koszt w jednej linii nad opisem */
  #Text .cm:has(#paczkomaty) .row[id] > [class*="col-md-3"] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 12px;
    margin-bottom: 12px;
    text-align: left;
  }

  #Text .cm:has(#paczkomaty) .row[id] > [class*="col-md-3"] > br {
    display: none;
  }

  #Text .cm:has(#paczkomaty) .row[id] > [class*="col-md-3"] img {
    width: 48px !important;
    margin: 0;
  }

  #Text .cm:has(#paczkomaty) .row:has(table) {
    grid-template-columns: minmax(0, 1fr);
  }

  #Text .cm:has(#paczkomaty) .button_pkt {
    width: 100% !important;
    min-width: 0;
  }

  #Text .cm:has(#paczkomaty) a:has(> .button_pkt) {
    display: block;
  }
}

/*
 * ——— CMS: O nas (/terms/o-nas) ———
 * Scope: blok CMS z banerem O-nas/baner-rnew (reguły .image_kontakt niżej to inna podstrona).
 * Wiersze .container > .row rozpoznawane po zawartości; <br> do odstępów wyłączone tylko tam,
 * gdzie nie łamią tekstu (adres, opisy kart zostają).
 */
#Text .cm:has(img[src*="O-nas/baner"]) .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

#Text .cm:has(img[src*="O-nas/baner"]) .row {
  display: block;
  width: auto;
  margin: 0;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row {
  margin: 0 0 56px !important;
  padding: 0 !important;
  background: transparent !important;
}

#Text .cm:has(img[src*="O-nas/baner"]) [class*="col-"] {
  width: auto;
  max-width: 100%;
  padding: 0;
  float: none;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > br,
#Text .cm:has(img[src*="O-nas/baner"]) .row > br,
#Text .cm:has(img[src*="O-nas/baner"]) [class*="col-"] > img ~ br,
#Text .cm:has(img[src*="O-nas/baner"]) [class*="col-"] > p ~ br,
#Text .cm:has(img[src*="O-nas/baner"]) [class*="col-"] > h1 ~ br {
  display: none;
}

#Text .cm:has(img[src*="O-nas/baner"]) img {
  max-width: 100%;
  height: auto;
}

#Text .cm:has(img[src*="O-nas/baner"]) img[style*="width:100%"] {
  display: block;
  border-radius: 8px;
}

#Text .cm:has(img[src*="O-nas/baner"]) :is(h1, h2, h3) {
  padding-top: 0 !important;
}

#Text .cm:has(img[src*="O-nas/baner"]) [style*="text-align:center"] :is(h1, h2, h3),
#Text .cm:has(img[src*="O-nas/baner"]) :is(h1, h2, h3)[style*="text-align:center"] {
  text-align: center !important;
}

#Text .cm:has(img[src*="O-nas/baner"]) h1 {
  margin: 0 0 20px;
  font-size: 26px;
  line-height: 34px;
  font-weight: 700;
  color: #161515;
}

#Text .cm:has(img[src*="O-nas/baner"]) p {
  font-size: 15px;
  line-height: 1.7;
}

/* Hasło „Remarketing, Refurbish…” */
#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(h1 > span[style*="#F75C2C"]) h1 {
  max-width: 820px;
  margin: 0 auto;
  font-size: 30px;
  line-height: 40px;
}

#Text .cm:has(img[src*="O-nas/baner"]) h1 > span[style*="#F75C2C"] {
  color: #f65d2d !important;
}

/* „Nazwa Rnew nie jest dziełem przypadku” — szary boks, tekst | zdjęcie */
#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="nazwa-rnew"]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  align-items: center;
  padding: 40px !important;
  background: #f6f7f8 !important;
  border-radius: 8px;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="nazwa-rnew"]) > [class*="col-md-12"] {
  grid-column: 1 / -1;
}

/* „Jak to wszystko się zaczęło?” */
#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="jak-to-sie-zaczelo"]) > div {
  max-width: 900px;
  margin: 0 auto 24px !important;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="jak-to-sie-zaczelo"]) > div:last-child {
  margin-bottom: 0 !important;
}

/* Pasek „Minimum Wydatków, Maksimum Korzyści!” */
#Text .cm:has(img[src*="O-nas/baner"]) .container > .row[style*="margin-top: 80px"] {
  padding: 40px 24px !important;
  background: #252474 !important;
  border-radius: 8px;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row[style*="margin-top: 80px"] br,
#Text .cm:has(img[src*="O-nas/baner"]) .container > .row[style*="margin-top: 80px"] > div:first-child {
  display: none;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row[style*="margin-top: 80px"] h1 {
  margin: 0;
  color: #fff;
}

/* Misja / Wizja — karty z ikoną na górze */
#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="podstrona_O_NAS"]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="podstrona_O_NAS"]) > div {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="podstrona_O_NAS"]) img {
  display: block;
  width: 64px !important;
  margin: 0 auto 16px;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="podstrona_O_NAS"]) h2 {
  margin: 0 0 12px;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="podstrona_O_NAS"]) p {
  margin: 0;
}

/* Sekcje zdjęcie + tekst (Słuchamy Klientów / Bogata oferta / Stawiamy na ludzi) */
#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(> [class*="col-md-6"] > h3) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 48px;
  align-items: center;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(> [class*="col-md-6"] > h3) h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 28px;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(> [class*="col-md-6"] > h3) p {
  margin: 0;
}

/* Nagłówki „Co nas wyróżnia…” / „Opinie” + pomarańczowa kreska zamiast dividera */
#Text .cm:has(img[src*="O-nas/baner"]) .divider {
  width: 48px !important;
  height: 3px !important;
  margin: 0 0 28px !important;
  background: #f65d2d !important;
  border-radius: 2px;
}

#Text .cm:has(img[src*="O-nas/baner"]) .divider > div {
  display: none;
}

#Text .cm:has(img[src*="O-nas/baner"]) [class*="col-"]:has(> .divider) h1 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 30px;
}

/* „Co nas wyróżnia” — siatka kart (tylko zewnętrzny .row; karty mają w środku własny .row) */
#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(.comment) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Nieparzysta liczba kart: ostatnia na całą szerokość (div 1 = nagłówek, więc ostatnia karta to parzysty div) */
#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(.comment) > [class*="col-md-4"]:nth-of-type(even):last-of-type {
  grid-column: 1 / -1;
}

/* Ikona nad nagłówkiem, całość do lewej */
#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(.comment) > [class*="col-md-4"] > .row {
  display: block;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(.comment) > [class*="col-md-4"] > .row > div {
  text-align: left !important;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(.comment) > [class*="col-md-4"] h3 {
  text-align: left !important;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(.comment) > :first-child {
  grid-column: 1 / -1;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(.comment) > [class*="col-md-4"] {
  margin: 0 !important;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(.comment) > [class*="col-md-4"] img {
  display: block;
  width: 48px !important;
  margin: 0 0 16px;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(.comment) h3 {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: 0.02em;
}

#Text .cm:has(img[src*="O-nas/baner"]) .comment {
  font-size: 14px;
  line-height: 1.65;
  color: #333333;
}

#Text .cm:has(img[src*="O-nas/baner"]) .comment hr {
  width: 48px !important;
  height: 0;
  margin: 0 0 12px !important;
  border: 0;
  border-top: 2px solid #f65d2d;
}

#Text .cm:has(img[src*="O-nas/baner"]) .comment .morelink {
  font-weight: 600;
  color: #f65d2d;
}

/* Opinie — logotypy platform jako karty */
#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="google_opinie"]) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="google_opinie"]) > [class*="col-md-12"] {
  grid-column: 1 / -1;
  margin: 0 !important;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="google_opinie"]) > [class*="col-md-4"] > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="google_opinie"]) > [class*="col-md-4"] > a:hover {
  border-color: #f65d2d;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="google_opinie"]) img {
  width: auto !important;
  max-height: 64px;
}

#Text .cm:has(img[src*="O-nas/baner"]) a[href*="rzetelnafirma"] {
  display: inline-block;
}

/* Sklep stacjonarny: zdjęcie | dane w szarej karcie */
#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="sklep-stacjonarny"]) {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px 40px;
  align-items: center;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="sklep-stacjonarny"]) > [class*="col-md-5"] {
  padding: 28px;
  background: #f6f7f8;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.7;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="sklep-stacjonarny"]) h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 26px;
}

#Text .cm:has(img[src*="O-nas/baner"]) .container > .row:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  #Text .cm:has(img[src*="O-nas/baner"]) .container > .row {
    margin-bottom: 40px !important;
  }

  #Text .cm:has(img[src*="O-nas/baner"]) h1 {
    font-size: 22px;
    line-height: 30px;
  }

  #Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(h1 > span[style*="#F75C2C"]) h1 {
    font-size: 24px;
    line-height: 32px;
  }

  #Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="nazwa-rnew"]),
  #Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="podstrona_O_NAS"]),
  #Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(> [class*="col-md-6"] > h3),
  #Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="sklep-stacjonarny"]) {
    grid-template-columns: minmax(0, 1fr);
  }

  #Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="nazwa-rnew"]) {
    gap: 20px;
    padding: 24px 16px !important;
  }

  #Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(.comment) {
    grid-template-columns: minmax(0, 1fr);
  }

  #Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(.comment) > [class*="col-md-4"] {
    padding: 20px 16px;
  }

  #Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(.comment) > [class*="col-md-4"] img {
    width: 40px !important;
    margin-bottom: 12px;
  }

  #Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="google_opinie"]) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  #Text .cm:has(img[src*="O-nas/baner"]) .container > .row:has(img[src*="google_opinie"]) > [class*="col-md-4"] > a {
    padding: 12px 8px;
  }
}

/*
 * ——— CMS: Komputery dla szkół 0% VAT ———
 * Scope: blok CMS z banerem komputery_dla_szkol_glowny. Kontener ma też sekcję .image_kontakt,
 * więc łapie go blok kontaktu (.container:has(> .row > [class*="col-"] > .image_kontakt)) —
 * karty pracowników zostają stamtąd, tu nadpisane białe boksy wierszy i nagłówki H1.
 */
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row {
  margin: 0 0 48px !important;
  padding: 0;
  background: transparent !important;
  border-radius: 0;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:not(:has(.image_kontakt)) {
  display: block;
  width: auto;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:not(:has(.image_kontakt)) .row {
  display: block;
  width: auto;
  margin: 0;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:not(:has(.image_kontakt)) [class*="col-"] {
  width: auto;
  max-width: 100%;
  padding: 0;
  float: none;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > br {
  display: none;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) :is(h1, h2, h3, h4) {
  padding-top: 0 !important;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) h1 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #161515;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) div[style*="text-align:center"] > h1,
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) [style*="text-align:center"] h1 {
  text-align: center !important;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) p {
  font-size: 15px;
  line-height: 1.7;
}

/* Sekcje tekstowe: wstęp wycentrowany, węższa kolumna */
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row > [class*="col-lg-12"]:has(> div > h1) {
  max-width: 900px;
  margin: 0 auto;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row > [class*="col-lg-12"]:has(> div > h1) p {
  margin: 0;
  text-align: center;
}

/* Wiersz nagłówka + następny wiersz z tekstem i ikoną: bliżej siebie */
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(> [class*="col-lg-12"] > div > h1):not(:has([class*="col-md-9"])) {
  margin-bottom: 24px !important;
}

/* Tekst | ilustracja (svg) */
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(> [class*="col-md-9"]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 24px 40px;
  align-items: center;
  font-size: 15px;
  line-height: 1.7;
}

/* Szare boksy: ilustracja przed tekstem → kolumna ilustracji z lewej */
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(> [class*="col-lg-12"] + [class*="col-md-3"]) {
  grid-template-columns: 180px minmax(0, 1fr);
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(> [class*="col-md-9"]) > [class*="col-lg-12"] {
  grid-column: 1 / -1;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(> [class*="col-md-9"]) img {
  border-radius: 0;
}

/* Szare boksy z teksturą → płaski szary boks jak na reszcie podstron */
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row[style*="tlo_szare"] {
  padding: 40px !important;
  background: #f6f7f8 !important;
  background-image: none !important;
  border-radius: 8px;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row[style*="tlo_szare"] > [class*="col-lg-12"] {
  max-width: 900px;
  margin: 0 auto 8px;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(img[src*="glowny"]) img,
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(img[src*="foto_szkola"]) img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

/* Nagłówki z dividerem (Co nas wyróżnia / SPRZEDAŻ) */
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) [class*="col-"]:has(> .divider) h1 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 30px;
  text-align: left !important;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .divider {
  width: 48px !important;
  height: 3px !important;
  margin: 0 0 28px !important;
  background: #f65d2d !important;
  border-radius: 2px;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .divider > div {
  display: none;
}

/* „Co nas wyróżnia” — 2 karty w rzędzie, ikona nad tekstem (jak na „O nas”) */
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(.comment) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0 !important;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(.comment) > :first-child {
  grid-column: 1 / -1;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(.comment) > [class*="col-md-4"]:nth-of-type(even):last-of-type {
  grid-column: 1 / -1;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(.comment) > [class*="col-md-4"] {
  margin: 0 !important;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  text-align: left !important;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(.comment) > [class*="col-md-4"] > .row > div {
  text-align: left !important;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(.comment) > [class*="col-md-4"] img {
  display: block;
  width: 48px !important;
  margin: 0 0 16px;
  border-radius: 0;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(.comment) h3 {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: 0.02em;
  text-align: left !important;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .comment {
  font-size: 14px;
  line-height: 1.65;
  color: #333333;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .comment hr {
  width: 48px !important;
  height: 0;
  margin: 0 0 12px !important;
  border: 0;
  border-top: 2px solid #f65d2d;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .comment .morelink {
  display: inline-block;
  margin-top: 4px;
  font-weight: 600;
  color: #f65d2d;
  text-decoration: none;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .comment .morelink:hover {
  color: #252474;
}

/* „Masz dodatkowe pytania?” — e-mail i telefon w jednej linii, tabelki bez stylu tabel treści */
/* !important: reset .row:not(:has(.image_kontakt)) ma wyższą specyficzność (0-2-0 vs 0-1-1) */
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(table) {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  padding: 36px 24px !important;
  background: #f6f7f8 !important;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.7;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(table) > :first-child {
  flex: 0 0 100%;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(table) > :first-child > br {
  display: none;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(table) > :first-child strong {
  display: block;
}

/* E-mail i telefon w jednym wycentrowanym rzędzie: flex z .col-md-3 / .col-sm-12 Pulse wyzerowany */
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(table) > [class*="col-md-3"] {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  margin: 0 !important;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(table) th {
  white-space: nowrap;
}

/* Ikony JPG mają białe tło — multiply chowa je na szarym boksie */
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(table) th img {
  mix-blend-mode: multiply;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(table) table {
  display: table;
  width: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(table) th {
  padding: 0 4px !important;
  border: 0 !important;
  background: transparent !important;
  color: #161515 !important;
  font-size: 16px;
  font-weight: 700;
  vertical-align: middle !important;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(table) th img {
  display: block;
  border-radius: 0;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(table) th a {
  color: #161515;
  text-decoration: none;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(table) th a:hover {
  color: #f65d2d;
}

/* SPRZEDAŻ — karty pracowników z bloku kontaktu, tu tylko szary boks wokół */
#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(.image_kontakt) {
  margin-bottom: 0 !important;
  padding: 32px 16px 24px;
  background: #f6f7f8 !important;
  border-radius: 8px;
}

#Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(.image_kontakt) > div[style*="width: 100%"] h4 {
  border-top-color: #e6e6e6;
}

@media (max-width: 767px) {
  #Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row {
    margin-bottom: 36px !important;
  }

  #Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) h1 {
    font-size: 22px;
    line-height: 30px;
  }

  /* Dekoracyjne ilustracje obok tekstu — na telefonie zbędne */
  #Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(> [class*="col-md-9"]) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(> [class*="col-md-9"]) > [class*="col-md-3"] {
    display: none;
  }

  #Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row[style*="tlo_szare"] {
    padding: 24px 16px !important;
  }

  #Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(.comment) {
    grid-template-columns: minmax(0, 1fr);
  }

  #Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(.comment) > [class*="col-md-4"] {
    padding: 20px 16px;
  }

  #Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(.comment) > [class*="col-md-4"] img {
    width: 40px !important;
    margin-bottom: 12px;
  }

  #Text .cm:has(img[src*="komputery_dla_szkol_glowny"]) .container > .row:has(table) {
    padding: 28px 16px !important;
  }
}

/*
 * ——— CMS: Informacje o leasingu ———
 * Scope: blok CMS z banerem leasing/podstrona_leaisng. Kontener ma sekcje .image_kontakt
 * (blok kontaktu — karty pracowników zostają stamtąd). Karuzele .cards__container(2)
 * z CMS (transformy, z-index -1, strzałki z ibb.co) → statyczna siatka kart, wszystkie punkty widoczne.
 */
#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row {
  margin: 0 0 48px !important;
  padding: 0;
  background: transparent !important;
  border-radius: 0;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:not(:has(.image_kontakt)) {
  display: block;
  width: auto;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:not(:has(.image_kontakt)) [class*="col-"] {
  width: auto;
  max-width: 100%;
  padding: 0;
  float: none;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > br,
#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row > br {
  display: none;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) :is(h1, h2, h3, h4) {
  padding-top: 0 !important;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) h1 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #161515;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) [style*="text-align:center"] :is(h1, h2) {
  text-align: center !important;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) span[style*="#F65D2D"] {
  color: #f65d2d !important;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:first-child img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

/* Masz firmę? / 24/7/365 / Pamiętaj — szare boksy tekst | ilustracja */
#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-10"]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 24px 40px;
  align-items: center;
  margin-bottom: 16px !important;
  padding: 32px 40px !important;
  background: #f6f7f8 !important;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.7;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-2"] + [class*="col-md-10"]) {
  grid-template-columns: 120px minmax(0, 1fr);
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-10"]) img {
  border-radius: 0;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-10"]) h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 28px;
}

/* Zobacz jakie to proste — 4 kroki jako numerowane karty */
#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-3"][style*="border-right"]) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 32px !important;
  counter-reset: leasing-krok;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-3"][style*="border-right"]) > [class*="col-md-12"] {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-3"][style*="border-right"]) > [class*="col-md-12"] h1 {
  margin: 0;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-3"][style*="border-right"]) > [class*="col-md-12"] h1:last-child {
  color: #f65d2d;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-3"][style*="border-right"]) > [class*="col-md-3"] {
  align-self: stretch !important;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid #e6e6e6 !important;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-3"][style*="border-right"]) h2 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 24px;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-3"][style*="border-right"]) h2::before {
  counter-increment: leasing-krok;
  content: counter(leasing-krok);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #f65d2d;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

/* Leasing operacyjny / Pożyczka leasingowa — karuzele → siatka kart */
#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(.cards-wrapper) h1 {
  font-size: 22px;
  line-height: 30px;
  letter-spacing: 0.02em;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(.cards-wrapper) > div {
  position: static;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(.cards-wrapper) .button {
  display: none !important;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .cards-wrapper {
  display: block;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) :is(.cards__container, .cards__container2) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
  height: auto;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) :is(.cards__container, .cards__container2) > li {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  justify-content: flex-start !important;
  gap: 12px;
  position: static;
  left: auto;
  z-index: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 20px;
  transform: none !important;
  animation: none !important;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: none;
  color: #333333;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) :is(.cards__container, .cards__container2) > li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff7f4;
  color: #f65d2d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* „Masz dodatkowe pytania?” — jak na podstronie dla szkół */
/* !important: reset .row:not(:has(.image_kontakt)) ma wyższą specyficzność (0-2-0 vs 0-1-1) */
#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(table) {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-bottom: 0 !important;
  padding: 36px 24px !important;
  background: #f6f7f8 !important;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.7;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(table) > :first-child {
  flex: 0 0 100%;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(table) > :first-child > br {
  display: none;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(table) > :first-child strong {
  display: block;
}

/* E-mail i telefon w jednym wycentrowanym rzędzie: flex z .col-md-3 / .col-sm-12 Pulse wyzerowany */
#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(table) > [class*="col-md-3"] {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  margin: 0 !important;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(table) th {
  white-space: nowrap;
}

/* Ikony JPG mają białe tło — multiply chowa je na szarym boksie */
#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(table) th img {
  mix-blend-mode: multiply;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(table) table {
  display: table;
  width: auto;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(table) th {
  padding: 0 4px !important;
  border: 0 !important;
  background: transparent !important;
  color: #161515 !important;
  font-size: 16px;
  font-weight: 700;
  vertical-align: middle !important;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(table) th img {
  display: block;
  border-radius: 0;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(table) th a {
  color: #161515;
  text-decoration: none;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(table) th a:hover {
  color: #f65d2d;
}

/* „Rozpocznij zakupy” — kolumna luzem w kontenerze, pod boksem kontaktu */
#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > [class*="col-"]:has(.button_pkt) {
  width: auto;
  max-width: none;
  margin: 24px 0 48px !important;
  padding: 0;
  text-align: center;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) a:has(> .button_pkt) {
  display: inline-block;
  text-decoration: none;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .button_pkt {
  width: auto;
  min-width: 240px;
  padding: 14px 32px;
  border: 1px solid #f65d2d;
  border-radius: 6px;
  background: #f65d2d;
  color: #161515;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .button_pkt:hover {
  border-color: #252474;
  background: #252474;
  color: #fff;
}

/* SPRZEDAŻ / ADMINISTRACJA — karty pracowników z bloku kontaktu w szarych boksach */
#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(.image_kontakt) {
  margin-bottom: 16px !important;
  padding: 32px 16px 24px;
  background: #f6f7f8 !important;
  border-radius: 8px;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(.image_kontakt):last-child {
  margin-bottom: 0 !important;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) [class*="col-"]:has(> .divider) h1 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 30px;
  text-align: left !important;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .divider {
  width: 48px !important;
  height: 3px !important;
  margin: 0 0 28px !important;
  background: #f65d2d !important;
  border-radius: 2px;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .divider > div {
  display: none;
}

#Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(.image_kontakt) > div[style*="width: 100%"] h4 {
  border-top-color: #e6e6e6;
}

@media (max-width: 991px) {
  #Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-3"][style*="border-right"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row {
    margin-bottom: 36px !important;
  }

  #Text .cm:has(img[src*="leasing/podstrona_leaisng"]) h1 {
    font-size: 22px;
    line-height: 30px;
  }

  /* Dekoracyjne ilustracje obok tekstu — na telefonie zbędne */
  #Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-10"]) {
    grid-template-columns: minmax(0, 1fr) !important;
    margin-bottom: 12px !important;
    padding: 24px 16px !important;
  }

  #Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-10"]) > [class*="col-md-2"] {
    display: none;
  }

  #Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(table) {
    padding: 28px 16px !important;
  }

  #Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .button_pkt {
    width: 100%;
    min-width: 0;
  }

  #Text .cm:has(img[src*="leasing/podstrona_leaisng"]) a:has(> .button_pkt) {
    display: block;
  }
}

@media (max-width: 479px) {
  #Text .cm:has(img[src*="leasing/podstrona_leaisng"]) .container > .row:has(> [class*="col-md-3"][style*="border-right"]) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/*
 * ——— CMS: Karta Dużej Rodziny (.kdr) ———
 * Treść CMS bez zmian: własny <style> w treści (.kdr-category, .rect-element, .arrow-*) przebijany
 * selektorami z #Text; utility Pulse (.m-5, .p-md-5…) mają !important, więc tu też.
 * Kroki: .row z dwiema .col-5 (1,3 | 2,4) i .col-2 ze strzałkami → siatka 4 kart w kolejności 1–4.
 * Hotspot #main_hotspot_zone3 przerabia theme.js (cmsPage__kdrHotspot__init), za nim dokłada
 * kategorie i „Proces odnawiania”.
 */
#Text.text_menu:has(.kdr .kdr-how-to) > .text_menu__label {
  display: none;
}

#Text .kdr > .mb-md-5 {
  margin: 0 0 56px !important;
}

#Text .kdr h1 {
  margin: 0 0 20px;
  padding: 0;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #161515;
}

#Text .kdr h2 {
  margin: 0 0 24px;
}

/* Baner — skrypt z treści przenosi go przed #layout */
body:has(#Text .kdr .kdr-how-to) img#banner {
  display: block;
  width: calc(100% - 48px);
  max-width: 1200px;
  height: auto;
  margin: 24px auto 32px !important;
  border-radius: 8px;
}

/* Jak skorzystać — 4 kroki */
#Text .kdr .kdr-how-to.container {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

#Text .kdr .kdr-how-to > .row.clearfix {
  display: none;
}

#Text .kdr .kdr-how-to > .row:not(.clearfix) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 !important;
}

#Text .kdr .kdr-how-to [class*="col-5"] {
  display: contents;
}

#Text .kdr .kdr-how-to [class*="col-2"] {
  display: none;
}

#Text .kdr .kdr-how-to .rect-element {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: auto;
  margin: 0;
  padding: 24px;
  background: #f6f7f8;
  border-radius: 8px;
}

#Text .kdr .kdr-how-to [class*="col-5"]:first-child > .rect-element:first-child { order: 1; }
#Text .kdr .kdr-how-to [class*="col-5"]:last-child > .rect-element:first-child { order: 2; }
#Text .kdr .kdr-how-to [class*="col-5"]:first-child > .rect-element:last-child { order: 3; }
#Text .kdr .kdr-how-to [class*="col-5"]:last-child > .rect-element:last-child { order: 4; }

/* Numer kroku */
#Text .kdr .kdr-how-to .rect-element::before {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: #f65d2d;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

#Text .kdr .kdr-how-to [class*="col-5"]:first-child > .rect-element:first-child::before { content: "1"; }
#Text .kdr .kdr-how-to [class*="col-5"]:last-child > .rect-element:first-child::before { content: "2"; }
#Text .kdr .kdr-how-to [class*="col-5"]:first-child > .rect-element:last-child::before { content: "3"; }
#Text .kdr .kdr-how-to [class*="col-5"]:last-child > .rect-element:last-child::before { content: "4"; }

/* Strzałka do następnego kroku (desktop; krok 4 bez) */
#Text .kdr .kdr-how-to .rect-element::after {
  content: "\203A";
  position: absolute;
  top: 32px;
  right: -13px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 100%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(22, 21, 21, 0.12);
  color: #f65d2d;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
}

#Text .kdr .kdr-how-to [class*="col-5"]:last-child > .rect-element:last-child::after {
  content: none;
}

#Text .kdr .kdr-how-to .rect-element img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: 8px auto 12px;
}

#Text .kdr .kdr-how-to .rect-element > p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

#Text .kdr .kdr-how-to .rect-element > p br {
  display: none;
}

/* Wideo */
#Text .kdr .lite-youtube-wrapper {
  max-width: 880px;
  margin: 0 auto 40px;
  border-radius: 8px;
}

/* Kategorie — jak kafelki „Odnowione produkty…”; link rozciągnięty na cały kafelek */
#Text .kdr .container:has(.kdr-category) {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

#Text .kdr .row:has(> .kdr-category-cont) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 !important;
}

#Text .kdr .kdr-category-cont {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: auto;
  max-width: none;
  padding: 24px 16px !important;
  background: #f5f5f5;
  border-radius: 6px;
  color: #161515;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

#Text .kdr .kdr-category-cont:hover {
  background: #e2e1e1;
  color: #f65d2d;
}

#Text .kdr .kdr-category,
#Text .kdr .kdr-category:hover {
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
}

#Text .kdr .kdr-category a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
}

#Text .kdr .kdr-category img {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
}

/* Hotspot: bez nazwy strefy (nagłówek „Najczęściej kupowane z KDR” jest w treści); reszta — wspólne reguły modułów niżej */
#Text .kdr section#main_hotspot_zone3 .hotspot__name {
  display: none;
}

/* Kontakt */
#Text .kdr > .mb-md-5:has(a[href^="tel:"]) {
  margin-bottom: 0 !important;
  padding: 24px 32px;
  background: #f6f7f8;
  border-radius: 8px;
}

#Text .kdr > .mb-md-5:has(a[href^="tel:"]) p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #161515;
}

#Text .kdr a[href^="tel:"] {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  #Text .kdr .kdr-how-to > .row:not(.clearfix) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #Text .kdr .kdr-how-to .rect-element::after {
    content: none !important;
  }
}

@media (max-width: 767px) {
  #Text .kdr > .mb-md-5 {
    margin-bottom: 40px !important;
  }

  #Text .kdr h1 {
    font-size: 26px;
    line-height: 34px;
  }

  body:has(#Text .kdr .kdr-how-to) img#banner {
    width: calc(100% - 32px);
    margin: 16px auto 20px !important;
  }

  #Text .kdr .kdr-how-to > .row:not(.clearfix) {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #Text .kdr .kdr-how-to .rect-element {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 20px;
  }

  #Text .kdr .kdr-how-to .rect-element img {
    display: none;
  }

  #Text .kdr .row:has(> .kdr-category-cont) {
    gap: 8px;
  }

  #Text .kdr .kdr-category-cont {
    padding: 16px 8px !important;
    font-size: 13px;
    line-height: 18px;
  }

  #Text .kdr > .mb-md-5:has(a[href^="tel:"]) {
    padding: 20px;
  }
}

/*
 * ——— CMS: moduły z theme.js na podstronach tekstowych ———
 * #main_categories_with_image i #main_renewal_process dokłada theme.js za #main_hotspot_zone3
 * (KDR, Landing B2B). Na podstronie siedzą w białej karcie #Text i w .cm, gdzie:
 * - Pulse: .cm { overflow: auto } ucinał wysunięte tło i dawał scroll w karcie,
 * - <style> landingów (.cm *, .cm section, .cm .section-title) zerował paddingi i kolory.
 * Selektory z id sekcji — reguły landingu B2B mają w :is() #main_cms2 (dwa id).
 */
#Text .cm:has(#main_renewal_process) {
  overflow: visible;
}

/*
 * Hotspot w treści: bez białego boksu z paddingiem ze strony głównej, typografia bazowa Pulse
 * (14px / 1.3 / #333) zamiast tekstu podstrony (15px / 1.7) i bez wyśrodkowania z landingu B2B.
 * Linki/strong/p/h3 wyłączone z reguł #Text .text_menu__txt przez :not(.hotspot__wrapper *).
 */
#Text .cm section#main_hotspot_zone3 {
  margin: 0 0 24px !important;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: 14px;
  line-height: 1.3;
  color: #333333;
  text-align: left;
}

/* Pulse .cm h3 / .cm p { margin: 15px 0 } */
#Text .cm #main_hotspot_zone3 .hotspot__name {
  margin: 0 0 24px;
}

#Text .cm #main_hotspot_zone3 .tooltip-content p {
  margin: 0;
}

/* Landing B2B: .cm * { padding: 0 } (po arkuszu sklepu) zerował paddingi badge'y na zdjęciu */
#Text .cm #main_hotspot_zone3 .label_icons > * {
  padding: var(--label-padding);
}

#Text .cm #main_hotspot_zone3 .product_condition {
  padding: 2px 8px;
}

/* Węższe kafelki niż na głównej — „Cena nowego: …” przy 14px zawijała się do dwóch linii */
#Text .cm #main_hotspot_zone3 .product .product__prices .price.--max {
  font-size: 13px;
}

/*
 * Ikonka (i) przy „Cena nowego”: w treści CMS .tooltip dostawał ::after (zasłaniał tekst),
 * a inline <svg> siadał na linii bazowej — ikonka niżej niż tekst.
 */
#Text .cm #main_hotspot_zone3 .price.--max .tooltip::before,
#Text .cm #main_hotspot_zone3 .price.--max .tooltip::after {
  content: none !important;
  display: none !important;
}

#Text .cm #main_hotspot_zone3 .price.--max .tooltip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  height: 15px;
}

#Text .cm #main_hotspot_zone3 .price.--max .tooltip > svg {
  display: block;
}

#Text .cm #main_categories_with_image {
  padding: 32px 0 48px;
}

#Text .cm #main_categories_with_image::after {
  display: none;
}

#Text .cm #main_categories_with_image a.category-item {
  text-decoration: none;
}

/*
 * Tło na całą szerokość karty #Text (bez jej paddingów 56px / ≤767: 16px) zamiast 100vw,
 * które rozpychało stronę. isolation — inaczej z-index:-1 chowa tło pod białą kartą.
 */
#Text .cm #main_renewal_process {
  width: auto;
  margin: 0 -56px 32px;
  padding: 60px 56px;
  box-sizing: border-box;
  isolation: isolate;
}

#Text .cm #main_renewal_process::after {
  left: 0;
  width: 100%;
  transform: none;
}

/* Kafelki od góry — przy różnej liczbie linii tytułu zdjęcia nie skaczą */
#Text .cm #main_renewal_process .section-body .process-item {
  justify-content: flex-start;
}

#Text .cm :is(#main_categories_with_image, #main_renewal_process) .section-title {
  margin: 0;
  text-align: center !important;
}

#Text .cm #main_renewal_process .section-title {
  color: #fff !important;
}

#Text .cm #main_renewal_process .section-description {
  margin: 11px 0 0;
  color: #fff;
}

@media (max-width: 767px) {
  #Text .cm #main_renewal_process {
    margin: 0 -16px 24px;
    padding: 40px 16px;
  }
}

.rnew-business-discount-modal__body .rnew-business-discount-modal__cms,
.rnew-business-discount-modal__body .cms,
.rnew-business-discount-modal__body #text,
.rnew-business-discount-modal__body #Text {
  margin: 0 !important;
  padding: 0 !important;
}

/* ——— Podstrona FAQ (CMS) — wygląd w stylu szablonu dla istniejącego kodu strony ——— */
/* Strona ma własny <style> i atrybuty style="" — stąd #Text w selektorach i !important przy style="" / klasach Bootstrapa */
#Text #banner {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 24px !important;
  border-radius: 6px;
}

#Text .text_page.container,
#Text .faq-tabs .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

#Text .text_page > .row,
#Text .local-page-wrapper .row {
  margin-left: 0;
  margin-right: 0;
}

#Text .text_page > .row > [class*="col-"],
#Text .local-page-wrapper .faq-df > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

/* Wyszukiwarka */
#Text .local-page-wrapper .faq-df {
  margin: 0 0 24px !important;
  padding: 32px 40px !important;
  background: #fff !important;
  border-radius: 6px;
}

#Text .local-page-wrapper .faq-df h2 {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  color: #161515;
  text-align: center !important;
}

#Text .local-page-wrapper .faq-df .col-md-12 > div {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

#Text .local-page-wrapper .faq-df .form-group {
  margin: 0;
  width: 100%;
}

#Text .local-page-wrapper .faq-df input {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  padding: 0 16px 0 48px;
  border: 1px solid #cecece;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  font-family: var(--font-family, "Montserrat", sans-serif);
  font-size: 15px;
  color: #161515;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#Text .local-page-wrapper .faq-df input:focus {
  border-color: #f65d2d;
  box-shadow: 0 0 0 3px rgba(246, 93, 45, 0.15);
}

#Text .local-page-wrapper .faq-df button {
  position: absolute;
  left: 4px;
  top: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  background: none;
  color: #767676;
  font-size: 18px;
  pointer-events: none;
}

/* Kafelki kategorii */
#Text .faq-tabs .mb-md-5 {
  margin-bottom: 24px !important;
}

#Text .faq-tabs .tabs__buttons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0 !important;
}

#Text .faq-tabs .kdr-category-cont {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 10px 18px !important;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #161515;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

#Text .faq-tabs .kdr-category-cont:hover,
#Text .faq-tabs .kdr-category-cont.tab__button--active {
  border-color: #f65d2d;
  color: #f65d2d;
}

#Text .faq-tabs .kdr-category-cont.tab__button--active {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.0627);
}

#Text .faq-tabs .kdr-category,
#Text .faq-tabs .kdr-category:hover {
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
}

#Text .faq-tabs .kdr-category img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Boksy z pytaniami: zakładki i wyniki wyszukiwania */
#Text .faq-tabs .tabs__contents,
#Text #search-results {
  margin: 0 0 16px;
  padding: 32px 40px 12px;
  background: #fff;
  border-radius: 6px;
}

#Text #search-results {
  margin-bottom: 24px;
}

#Text .faq-tabs .tabs__contents h3,
#Text #search-results h3 {
  margin: 0 0 8px;
  padding-top: 0 !important;
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  color: #161515;
}

/* Pytania — ten sam wzór co .main-faq na stronie głównej. Też FAQ na podstronie rat (ten sam kod <details> z CMS)
   i na landingu B2B (button.faq__question + .active z JS zamiast <details>/[open]) */
#Text .local-page-wrapper details,
#Text .cm:has(img[src*="raty_2021/baner"]) details,
#Text .cm:has(#b2b-contact-form) .faq__item {
  border-bottom: 1px solid #ececec;
}

#Text .local-page-wrapper details:last-child,
#Text .cm:has(img[src*="raty_2021/baner"]) details:last-child,
#Text .cm:has(#b2b-contact-form) .faq__item:last-child {
  border-bottom: 0;
}

#Text .local-page-wrapper details > summary,
#Text .cm:has(img[src*="raty_2021/baner"]) details > summary,
#Text .cm:has(#b2b-contact-form) .faq__question {
  position: relative;
  padding: 20px 0 20px 40px;
  border-top: 0;
  background: none;
  list-style: none;
  cursor: pointer;
  outline: none;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #161515;
  transition: color 0.15s ease;
}

#Text .local-page-wrapper details > summary:hover,
#Text .cm:has(img[src*="raty_2021/baner"]) details > summary:hover,
#Text .cm:has(#b2b-contact-form) .faq__question:hover,
#Text .local-page-wrapper details[open] > summary,
#Text .cm:has(img[src*="raty_2021/baner"]) details[open] > summary,
#Text .cm:has(#b2b-contact-form) .faq__question.active {
  color: #f65d2d;
}

#Text .local-page-wrapper details > summary:focus-visible,
#Text .cm:has(img[src*="raty_2021/baner"]) details > summary:focus-visible,
#Text .cm:has(#b2b-contact-form) .faq__question:focus-visible {
  outline: 2px solid #f65d2d;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Plus → minus zamiast znaku „ˇ”: pionowa kreska obraca się do poziomu */
#Text .local-page-wrapper details > summary::before,
#Text .cm:has(img[src*="raty_2021/baner"]) details > summary::before,
#Text .cm:has(#b2b-contact-form) .faq__question::before,
#Text .local-page-wrapper details > summary::after,
#Text .cm:has(img[src*="raty_2021/baner"]) details > summary::after,
#Text .cm:has(#b2b-contact-form) .faq__question::after {
  content: "";
  position: absolute;
  left: 9px;
  right: auto;
  top: 32px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: #f65d2d;
  font-size: 0;
  line-height: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

#Text .local-page-wrapper details > summary::after,
#Text .cm:has(img[src*="raty_2021/baner"]) details > summary::after,
#Text .cm:has(#b2b-contact-form) .faq__question::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

#Text .local-page-wrapper details[open] > summary::after,
#Text .cm:has(img[src*="raty_2021/baner"]) details[open] > summary::after,
#Text .cm:has(#b2b-contact-form) .faq__question.active::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

#Text .local-page-wrapper .odpowiedz,
#Text .cm:has(img[src*="raty_2021/baner"]) .odpowiedz,
#Text .cm:has(#b2b-contact-form) .faq__answer {
  padding: 0 0 24px 40px;
  background: none;
  font-size: 15px;
  line-height: 1.7;
  color: #333333;
}

/* Puste <p> zostawione przez edytor CMS */
#Text .local-page-wrapper .odpowiedz p:empty,
#Text .cm:has(img[src*="raty_2021/baner"]) .odpowiedz p:empty,
#Text .cm:has(#b2b-contact-form) .faq__answer p:empty {
  display: none;
}

#Text .local-page-wrapper .odpowiedz iframe,
#Text .cm:has(img[src*="raty_2021/baner"]) .odpowiedz iframe,
#Text .cm:has(#b2b-contact-form) .faq__answer iframe {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 4px 0 20px;
  border: 0;
  border-radius: 6px;
}

@media (max-width: 978px) {
  #Text .faq-tabs .tabs__buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  /* Kategorie w jednym przewijanym rzędzie */
  #Text .faq-tabs .tabs__buttons {
    display: flex;
    gap: 8px;
    margin: 0 -16px !important;
    padding: 0 16px 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #Text .faq-tabs .tabs__buttons::-webkit-scrollbar {
    display: none;
  }

  #Text .faq-tabs .kdr-category-cont {
    flex: 0 0 116px;
    gap: 8px;
    padding: 14px 8px 12px !important;
    font-size: 13px;
  }

  #Text .faq-tabs .kdr-category img {
    width: 36px;
    height: 36px;
  }

  #Text .local-page-wrapper .faq-df {
    padding: 24px 20px !important;
  }

  #Text .faq-tabs .tabs__contents,
  #Text #search-results {
    padding: 24px 20px 4px;
  }

  #Text .local-page-wrapper .faq-df h2,
  #Text .faq-tabs .tabs__contents h3,
  #Text #search-results h3 {
    font-size: 20px;
    line-height: 28px;
  }

  #Text .local-page-wrapper details > summary,
  #Text .cm:has(img[src*="raty_2021/baner"]) details > summary,
  #Text .cm:has(#b2b-contact-form) .faq__question {
    padding: 16px 0 16px 32px;
    font-size: 15px;
    line-height: 22px;
  }

  #Text .local-page-wrapper details > summary::before,
  #Text .cm:has(img[src*="raty_2021/baner"]) details > summary::before,
  #Text .cm:has(#b2b-contact-form) .faq__question::before,
  #Text .local-page-wrapper details > summary::after,
  #Text .cm:has(img[src*="raty_2021/baner"]) details > summary::after,
  #Text .cm:has(#b2b-contact-form) .faq__question::after {
    top: 27px;
    width: 16px;
  }

  #Text .local-page-wrapper .odpowiedz,
  #Text .cm:has(img[src*="raty_2021/baner"]) .odpowiedz,
  #Text .cm:has(#b2b-contact-form) .faq__answer {
    padding: 0 0 20px 32px;
    font-size: 14px;
  }
}

/*
 * Podstrona bloga (lista wpisów, kategorie, archiwum) — kafelki jak #main_blog na głównej:
 * biały boks 8px, siatka 3 kolumn, „Czytaj więcej ›” wysuwa się na hover (≤978 zawsze widoczne, jak w kompakcie).
 */
.blog_categoriesdescription .big_label {
  margin: 0;
  padding: 0;
  color: #161515;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  text-align: left;
  text-transform: none;
  background: transparent;
  border: 0;
}

#blog_list {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  max-width: 100%;
}

#blog_list .article__block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

#blog_list .article__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
}

/* Zdjęcia mają różne proporcje (420×280, 1280×853) — kadr 3:2 zamiast stałej wysokości */
#blog_list .article__item .article__image_wrapper {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
}

#blog_list .article__item .article__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

#blog_list .article__item .article__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

#blog_list .article__item .article__name_wrapper {
  margin: 16px 0 8px;
  font-size: 18px;
  line-height: 26px;
}

#blog_list .article__item .article__name {
  color: #161515;
  font-weight: 600;
  text-decoration: none;
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}

#blog_list .article__item:hover .article__name {
  color: #d14512;
}

/* Zajawka max 4 linie; wklejki z edytora (p, div, span ze stylami inline) bez własnych rozmiarów i marginesów */
#blog_list .article__item .article__text {
  height: auto;
  max-height: 88px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 22px;
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

#blog_list .article__item .article__text * {
  margin: 0 !important;
  font: inherit !important;
  color: inherit !important;
  white-space: normal !important;
}

#blog_list .article__item .article__text p,
#blog_list .article__item .article__text div {
  display: inline;
}

#blog_list .article__item .article__more_link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-item-align: start;
  align-self: flex-start;
  margin-top: auto;
}

#blog_list .article__item .article__more_link .icon {
  display: none;
}

/* Paginacja — jak #paging_setting_bottom na listingu */
#blog_list + .pagination {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 4px;
  padding: 15px;
  background: #fff;
  border-radius: 6px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#blog_list + .pagination .pagination__element:not(.--button):not(.--prev):not(.--next) {
  width: 42px;
  height: 42px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 42px;
  flex: 0 0 42px;
}

/* Strzałki tuż przy numerach — cała paginacja wycentrowana */
#blog_list + .pagination .pagination__element.--prev,
#blog_list + .pagination .pagination__element.--next {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  min-width: 42px;
  height: 42px;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#blog_list + .pagination .pagination__element.--prev .pagination__link,
#blog_list + .pagination .pagination__element.--next .pagination__link {
  width: 42px;
  height: 42px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 42px;
  flex: 0 0 42px;
}

#blog_list + .pagination .pagination__element .pagination__link {
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  color: #333;
}

#blog_list + .pagination .pagination__element.--active .pagination__link {
  border-color: #333;
}

#blog_list + .pagination .pagination__element:not(.--disabled) .pagination__link:hover {
  border-color: #d14512;
}

/* B-05 (pkt 123): Pulse na mobile zamiast strzałki „›” pokazuje szeroki przycisk „Następna strona”,
   przez co paginacja wychodziła poza ekran (jak na listingu: zostaje strzałka) */
#blog_list + .pagination .pagination__element.--next .pagination__button {
  display: none !important;
}

#blog_list + .pagination .pagination__element.--next .pagination__link {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

/* Boczna kolumna (desktop): Kategorie / Archiwum / RSS jako osobne białe boksy jak #Filters, na szarym tle strony */
@media (min-width: 979px) {
  aside:has(#menu_blog:not(:empty)),
  aside #menu_blog {
    background: transparent !important;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  aside #menu_blog {
    padding: 0;
    margin: 0;
  }

  aside #menu_blog .menu_blog_box,
  aside #menu_blog #menu_blog_rss {
    display: block;
    background: #fff;
    border: 0;
    border-radius: 6px;
    padding: 22px;
    margin: 0 0 16px;
  }

  aside #menu_blog .menu_categories_label {
    display: block;
    margin: 0 0 12px;
    color: #333;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    text-transform: none; /* B-01 (pkt 119): „Kategorie”, „Archiwum” zwykłymi literami */
    letter-spacing: normal;
    text-decoration: none;
  }

  aside #menu_blog ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  aside #menu_blog ul a {
    color: #333;
    text-decoration: none;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  aside #menu_blog ul a:hover,
  aside #menu_blog #menu_blog_rss a:hover {
    color: #d14512;
  }

  aside #menu_blog_categories > ul > li + li {
    margin-top: 8px;
  }

  aside #menu_blog_categories > ul > li > a {
    display: block;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
  }

  /*
   * Archiwum (B-02, pkt 120): lata jak nagłówki filtrów na listingu (#Filters):
   * 16 px / 600, strzałka FontAwesome 12 px #767676 przy prawej krawędzi, szare linie 2 px na całą szerokość boksu.
   * Miesiące po rozwinięciu zostają „chipami” (lista jest długa).
   */
  aside #menu_blog #menu_blog_bydates {
    padding-bottom: 0;
  }

  aside #menu_blog #menu_blog_bydates > ul {
    margin: 0 -22px;
  }

  aside #menu_blog #menu_blog_bydates > ul > li {
    margin: 0;
    padding: 0 22px;
    border: 0;
    border-top: 2px solid #f6f7f8;
  }

  aside #menu_blog #menu_blog_bydates > ul > li > a {
    display: block;
    position: relative;
    margin: 0;
    padding: 16px 24px 16px 0;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
  }

  aside #menu_blog #menu_blog_bydates > ul > li > a::after {
    content: "\f107";
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-family: FontAwesome;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #767676;
  }

  aside #menu_blog #menu_blog_bydates > ul > li.active > a::after {
    content: "\f106";
  }

  aside #menu_blog #menu_blog_bydates > ul > li > ul {
    padding-bottom: 12px;
  }

  /*
   * Układ „chipów” na li, nie na ul: szablon zwija/rozwija rok, ustawiając ul inline display:block/none,
   * co kasowało flex — po kliknięciu miesiące spadały jeden pod drugi.
   */
  aside #menu_blog_bydates > ul > li > ul {
    font-size: 0;
  }

  aside #menu_blog_bydates > ul > li > ul > li {
    display: inline-block;
    margin: 0 4px 4px 0;
    vertical-align: top;
  }

  aside #menu_blog_bydates > ul > li > ul > li > a {
    display: block;
    padding: 2px 8px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 12px;
    line-height: 18px;
  }

  aside #menu_blog_bydates > ul > li > ul > li > a:hover {
    border-color: #d14512;
  }

  aside #menu_blog #menu_blog_rss a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }

  aside #menu_blog #menu_blog_rss .icon-rss {
    color: #f65d2d;
  }
}

@media (max-width: 1599px) {
  #blog_list {
    padding: 32px 28px;
  }

  #blog_list .article__block {
    gap: 24px;
  }
}

@media (max-width: 1199px) {
  #blog_list {
    padding: 24px;
  }

  #blog_list .article__block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ≤978: „Czytaj więcej ›” zawsze widoczne, pomarańczowe, bez wersalików — jak kompaktowy slider na głównej */
@media (max-width: 978px) {
  .blog_categoriesdescription {
    margin-bottom: 16px !important;
  }

  .blog_categoriesdescription .big_label {
    font-size: 22px;
    line-height: 30px;
  }

  #blog_list {
    padding: 20px;
  }

  #blog_list .article__block {
    gap: 24px 16px;
  }

  #blog_list .article__item .article__name_wrapper {
    margin: 12px 0 6px;
    font-size: 15px;
    line-height: 22px;
  }

  #blog_list .article__item .article__text {
    max-height: 60px;
    line-height: 20px;
    -webkit-line-clamp: 3;
  }

  #blog_list .article__item .article__more_link {
    color: #d14512; /* [G-05] pkt 18: jak na PC (było #f65d2d) */
    font-size: 14px;
    line-height: 20px;
    text-transform: none;
    -webkit-transform: none;
    transform: none;
  }

  #blog_list + .pagination {
    padding: 10px;
  }
}

@media (max-width: 575px) {
  #blog_list .article__block {
    grid-template-columns: minmax(0, 1fr);
  }
}

/*
 * Pojedynczy wpis bloga (#blog-item): treść w białym boksie (maks. 1200px).
 * B-04 (pkt 122): lewa kolumna z panelem bloga (Kategorie / Archiwum / RSS) widoczna jak na liście bloga —
 * usunięte dawne ukrywanie aside i rozciąganie #content na 100%.
 * Kolory nagłówków z edytora (style="color: #ff6600") nadpisane, żeby wpisy wyglądały jednolicie.
 */
#blog-item {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 48px 56px;
  background: #fff;
  border-radius: 8px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#blog-item > .big_label {
  margin: 0;
  padding: 0;
  color: #161515;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  text-align: left;
  text-transform: none;
  background: transparent;
  border: 0;
}

#blog-item .blog_date {
  margin: 12px 0 28px;
  color: #767676;
  font-size: 14px;
  line-height: 20px;
}

#blog-item .blog-item_sub {
  color: #333;
  font-size: 16px;
  line-height: 28px;
}

#blog-item .blog-item_sub p {
  margin: 0 0 16px;
}

#blog-item .blog-item_sub h2,
#blog-item .blog-item_sub h3,
#blog-item .blog-item_sub h4 {
  color: #161515 !important;
  font-weight: 700;
  text-transform: none;
}

#blog-item .blog-item_sub h2 {
  margin: 48px 0 16px;
  font-size: 24px;
  line-height: 32px;
}

#blog-item .blog-item_sub h3 {
  margin: 32px 0 12px;
  font-size: 20px;
  line-height: 28px;
}

#blog-item .blog-item_sub h4 {
  margin: 24px 0 8px;
  font-size: 17px;
  line-height: 26px;
}

#blog-item .blog-item_sub img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 32px auto;
  border-radius: 8px;
}

/* Zdjęcie główne (to samo co miniatura na liście) ukryte — wpis zaczyna się od tekstu */
#blog-item .blog-item_sub img.blog_image {
  display: none;
}

#blog-item .blog-item_sub a {
  color: #d14512;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#blog-item .blog-item_sub a:hover {
  color: #f65d2d;
}

#blog-item .blog-item_sub ul,
#blog-item .blog-item_sub ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

#blog-item .blog-item_sub li {
  margin: 0 0 8px;
  padding-left: 4px;
}

#blog-item .blog-item_sub li > p {
  margin: 0;
}

#blog-item .blog-item_sub li::marker {
  color: #f65d2d;
  font-weight: 700;
}

/* Blok „Sprawdź popularne kategorie” (inline <style> z CMS) — kafelki jak reszta sklepu, klikalne w całości */
#blog-item .loc-category-wrapper {
  gap: 16px;
  margin: 24px 0 0;
}

#blog-item .loc-category-cont {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  width: 100%;
  max-width: 220px;
  margin: 0;
  padding: 24px 16px 20px;
  background: #f6f7f8;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #161515;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  text-align: center;
  -webkit-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
}

#blog-item .loc-category-cont:hover {
  border-color: #f65d2d;
}

#blog-item .loc-category-cont img {
  width: auto;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 0;
}

#blog-item .loc-category-cont a::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Powiązane artykuły — kafelki z listy bloga, szerzej niż treść */
#blog-item + .big_label,
#blog-item ~ #blog_list {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

#blog-item + .big_label {
  margin-bottom: 16px;
  padding: 0;
  color: #161515;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  text-align: left;
  text-transform: none;
  background: transparent;
  border: 0;
}

/*
 * Powiązane artykuły: cała sekcja (nagłówek + boks) znika, gdy nie ma żadnego artykułu.
 * Siatka jak na liście bloga (3 kolumny): od B-04 obok jest lewa kolumna, więc 4 kolumny byłyby za ciasne.
 */
#content:has(> #blog-item):not(:has(#blog_list .article__item)) > #blog-item + .big_label,
#content:has(> #blog-item):not(:has(#blog_list .article__item)) > #blog-item ~ #blog_list {
  display: none;
}

@media (max-width: 978px) {
  #blog-item {
    margin-bottom: 32px;
    padding: 24px 20px;
  }

  #blog-item > .big_label {
    font-size: 24px;
    line-height: 32px;
  }

  #blog-item .blog_date {
    margin: 8px 0 20px;
  }

  #blog-item .blog-item_sub {
    font-size: 15px;
    line-height: 26px;
  }

  #blog-item .blog-item_sub h2 {
    margin-top: 36px;
    font-size: 20px;
    line-height: 28px;
  }

  #blog-item .blog-item_sub h3 {
    font-size: 18px;
    line-height: 26px;
  }

  #blog-item .blog-item_sub img {
    margin: 24px auto;
  }

  #blog-item + .big_label {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 756px) {
  #blog-item .loc-category-cont {
    max-width: 100%;
  }
}

/*
 * Podstrona „O nas” (treść z CMS) — scope: kontener, którego wiersze mają bezpośrednio .image_kontakt
 * (zewnętrzny #container.container tego nie spełnia). Sekcje .row jako białe boksy 8px,
 * style inline z edytora (szare tła, margin-bottom: 50px, dividery) nadpisane.
 */
.container:has(> .row > [class*="col-"] > .image_kontakt) {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.container:has(> .row > [class*="col-"] > .image_kontakt) > .row {
  margin: 0 0 24px !important;
  padding: 40px 25px;
  background: #fff !important;
  border-radius: 8px;
  row-gap: 0;
}

/* Baner na górze — bez ramki boksu */
.container:has(> .row > [class*="col-"] > .image_kontakt) > .row:first-child {
  padding: 0;
  overflow: hidden;
  background: transparent !important;
}

.container:has(> .row > [class*="col-"] > .image_kontakt) > .row:first-child > [class*="col-"] {
  padding: 0;
}

.container:has(> .row > [class*="col-"] > .image_kontakt) img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.container:has(> .row > [class*="col-"] > .image_kontakt) h2 {
  margin: 0 0 16px;
}

/* Lista korzyści: kropki w kolorze sklepu */
.container:has(> .row > [class*="col-"] > .image_kontakt) p > span[style*="color"] {
  color: #f65d2d !important;
}

/* Nagłówki działów (SPRZEDAŻ, ADMINISTRACJA…) + pomarańczowa kreska zamiast szarego dividera */
.container:has(> .row > [class*="col-"] > .image_kontakt) h1 {
  margin: 0 0 12px;
  padding: 0;
  color: #161515;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
}

.container:has(> .row > [class*="col-"] > .image_kontakt) .divider {
  width: 48px !important;
  height: 3px !important;
  margin: 0 0 28px !important;
  background: #f65d2d !important;
  border-radius: 2px;
}

.container:has(> .row > [class*="col-"] > .image_kontakt) .divider > div {
  display: none;
}

/* Karty pracowników */
.container:has(> .row > [class*="col-"] > .image_kontakt) [class*="col-"]:has(> .image_kontakt) {
  margin-bottom: 32px !important;
  text-align: center;
}

/* Kafelek 4:5 (o 25% wyższy niż kwadrat), podpis na zdjęciu na ciemnym gradiencie */
.container:has(> .row > [class*="col-"] > .image_kontakt) .image_kontakt {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.container:has(> .row > [class*="col-"] > .image_kontakt) .image_kontakt img {
  width: 100%;
  aspect-ratio: 4 / 5;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top center;
  object-position: top center;
  background: #f6f7f8;
}

.container:has(> .row > [class*="col-"] > .image_kontakt) .dane_pracownika {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  margin: 0;
  padding: 48px 12px 14px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(22, 21, 21, 0)), to(rgba(22, 21, 21, 0.85)));
  background: linear-gradient(180deg, rgba(22, 21, 21, 0) 0%, rgba(22, 21, 21, 0.55) 45%, rgba(22, 21, 21, 0.85) 100%);
  text-align: center;
  pointer-events: none;
}

.container:has(> .row > [class*="col-"] > .image_kontakt) .dane_pracownika p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13px;
  line-height: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.container:has(> .row > [class*="col-"] > .image_kontakt) .dane_pracownika p strong {
  display: block;
  color: #fff !important;
  font-size: 16px;
  line-height: 22px;
}

/* Kontakt pod kafelkiem */
.container:has(> .row > [class*="col-"] > .image_kontakt) [class*="col-"]:has(> .image_kontakt) > div:last-child:not(.image_kontakt) {
  margin-top: 12px;
  font-size: 14px;
  line-height: 22px;
}

.container:has(> .row > [class*="col-"] > .image_kontakt) [class*="col-"]:has(> .image_kontakt) a {
  color: #f65d2d;
  text-decoration: none;
  word-break: break-word;
}

.container:has(> .row > [class*="col-"] > .image_kontakt) [class*="col-"]:has(> .image_kontakt) a:hover {
  color: #252474;
}

/* „Zapraszamy do kontaktu: sklep@rnew.pl” pod działem sprzedaży */
.container:has(> .row > [class*="col-"] > .image_kontakt) > .row > div[style*="width: 100%"] h4 {
  margin: 8px 0 0;
  padding-top: 24px;
  border-top: 1px solid #ebebeb;
  color: #333;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

@media (max-width: 978px) {
  .container:has(> .row > [class*="col-"] > .image_kontakt) > .row {
    margin-bottom: 16px !important;
    padding: 24px 10px;
  }

  .container:has(> .row > [class*="col-"] > .image_kontakt) > .row:first-child {
    padding: 0;
  }

  .container:has(> .row > [class*="col-"] > .image_kontakt) h1 {
    font-size: 18px;
    line-height: 26px;
  }
}

/* Pracownicy: 4 w rzędzie → 3 (≤1300) → 2 (≤978) → 1 (≤575) */
@media (max-width: 1300px) {
  .container:has(> .row > [class*="col-"] > .image_kontakt) > .row > [class*="col-"]:has(> .image_kontakt) {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.3333%;
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (max-width: 978px) {
  .container:has(> .row > [class*="col-"] > .image_kontakt) > .row > [class*="col-"]:has(> .image_kontakt) {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 24px !important;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .container:has(> .row > [class*="col-"] > .image_kontakt) .dane_pracownika p strong {
    font-size: 14px;
    line-height: 20px;
  }

  .container:has(> .row > [class*="col-"] > .image_kontakt) [class*="col-"]:has(> .image_kontakt) > div:last-child:not(.image_kontakt) {
    font-size: 12px;
    line-height: 18px;
  }
}

@media (max-width: 575px) {
  .container:has(> .row > [class*="col-"] > .image_kontakt) > .row > [class*="col-"]:has(> .image_kontakt) {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Telefon: zdjęcia w kolumnach obok tekstu i tak schowane (d-none), reszta kolumn na całą szerokość */
@media (max-width: 767px) {
  .container:has(> .row > [class*="col-"] > .image_kontakt) > .row > [class*="col-"]:not(:has(> .image_kontakt)) {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Zdjęcie oferty pod listą korzyści */
  .container:has(> .row > [class*="col-"] > .image_kontakt) > .row > .col-md-6 + .col-md-6 {
    margin-top: 24px;
  }
}

/* „Zobacz także:” — linki do podstron miast (CMS) */
.other-cities {
  margin: 0 0 24px;
  padding: 24px 40px;
  background: #fff;
  border-radius: 8px;
  color: #333;
  font-size: 14px;
  line-height: 26px;
}

.other-cities p {
  margin: 0 0 6px;
  color: #161515;
  font-size: 15px;
  font-weight: 700;
}

.other-cities a {
  color: #333;
  text-decoration: none;
  -webkit-transition: color 0.15s ease;
  transition: color 0.15s ease;
}

.other-cities a:hover {
  color: #f65d2d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.other-cities a:empty {
  display: none;
}

/* Dane kontaktowe (Biuro obsługi klienta / Właściciel sklepu) — dwa boksy obok siebie, wiersze etykieta | wartość */
.contact_site {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 24px;
}

.contact_site__block {
  margin: 0;
  padding: 32px;
  background: #fff;
  border-radius: 8px;
  min-width: 0;
}

.contact_site .headline,
.contact_stocks .headline {
  display: block;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.contact_site .headline__name,
.contact_stocks .headline__name {
  display: block;
  color: #161515;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  text-transform: none;
}

.contact_site .headline::before,
.contact_site .headline::after,
.contact_stocks .headline::before,
.contact_stocks .headline::after {
  display: none;
}

.contact_site__firm {
  margin: 0 0 16px;
}

.contact_site__firm_name {
  margin: 0 0 4px;
  color: #161515;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.contact_site__firm_address {
  color: #333;
  font-size: 14px;
  line-height: 22px;
}

.contact_site__items {
  margin: 0;
  padding: 0;
}

.contact_site__item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid #ebebeb;
  font-size: 14px;
  line-height: 22px;
}

.contact_site__item:first-child {
  border-top: 0;
  padding-top: 0;
}

/* Szablon ucina etykiety i wartości (overflow + ellipsis) i daje etykiecie width: 22% — szerokość trzyma tu siatka */
.contact_site .contact_site__label,
.contact_site .contact_site__value {
  width: auto !important;
  max-width: none;
  margin: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.contact_site .contact_site__label {
  color: #767676;
  font-weight: 500;
}

.contact_site .contact_site__value {
  color: #161515;
  font-weight: 600;
  overflow-wrap: anywhere;
      font-size: 14px !important;
	  margin-bottom: unset !important;
}

.contact_site .contact_site__value a,
.contact_site a.contact_site__value {
  color: #f65d2d;
  text-decoration: none;
      font-size: 14px !important;
	  margin-bottom: unset !important;
}

.contact_site .contact_site__value a:hover,
.contact_site a.contact_site__value:hover {
  color: #252474;
}

/* Mapa */
#contact_map {
  margin: 0 0 24px;
  border-radius: 8px;
  overflow: hidden;
  z-index: 0;
}

#contact_map .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(22, 21, 21, 0.18);
}

#contact_map .leaflet-popup-content {
  margin: 14px 16px;
}

#contact_map .contact_marker__name {
  display: block;
  margin: 0 0 4px;
  color: #161515;
  font-size: 14px;
  line-height: 20px;
}

#contact_map .contact_marker__address span {
  display: block;
  color: #333;
  font-size: 13px;
  line-height: 19px;
}

#contact_map a.leaflet-popup-close-button:hover {
  color: #f65d2d;
}

/*
 * KT-01 (pkt 124): blok „Odwiedź jeden z naszych sklepów” ukryty — sklep stacjonarny jest jeden.
 * Blok pokazuje się, bo magazyny mają włączony odbiór osobisty; tego nie ruszamy w panelu (wpływa na zamówienia).
 * Style poniżej zostają na wypadek przywrócenia bloku.
 */
.contact_stocks {
  display: none !important;
}

/* „Odwiedź jeden z naszych sklepów” — tekst po lewej, przycisk po prawej */
.contact_stocks {
  grid-template-columns: minmax(0, 1fr) auto;
  -webkit-column-gap: 32px;
  column-gap: 32px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 0 24px;
  padding: 32px 40px;
  background: #fff;
  border-radius: 8px;
}

.contact_stocks .headline {
  grid-column: 1;
  margin-bottom: 8px;
}

.contact_stocks__info {
  grid-column: 1;
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 22px;
}

.contact_stocks__link.btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 48px;
  margin: 0;
  padding: 12px 28px;
  border: 0;
  border-radius: 4px;
  background: #f65d2d;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  white-space: nowrap;
  -webkit-transition: background-color 0.15s ease;
  transition: background-color 0.15s ease;
}

.contact_stocks__link.btn:hover,
.contact_stocks__link.btn:focus-visible {
  background: #252474;
  border: 0;
  color: #fff;
}

@media (max-width: 978px) {
  .other-cities,
  .contact_site__block,
  .contact_stocks {
    padding: 24px 20px;
  }

  .contact_site {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 16px;
  }

  .other-cities,
  #contact_map,
  .contact_stocks {
    margin-bottom: 16px;
  }

  .contact_stocks {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }

  .contact_stocks .headline {
    margin-bottom: 0;
  }

  .contact_stocks__link.btn {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }
}

@media (max-width: 479px) {
  .contact_site__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

/* ===== Wyszukiwarka zaawansowana (searching.html, Pulse) =====
   Wygląd jak karta logowania: biała karta 920 px, pola 52 px z jasną ramką #e6e6e6 (hover i focus pomarańczowe), zaokrąglenie 6 px,
   przycisk pomarańczowy z granatowym hoverem, wyśrodkowany. Na PC etykieta po lewej (160 px), na mobile nad polem. */
body:has(#searching) #menu_messages_warning,
#searching {
  max-width: 920px;
  margin-left: auto !important;
  margin-right: auto !important;
}

body:has(#searching) #menu_messages_warning {
  margin-top: 32px !important;
  margin-bottom: 24px;
  padding: 24px 28px 24px 84px;
}

body:has(#searching) #menu_messages_warning:before {
  left: 28px;
  width: 36px;
  height: 36px;
}

body:has(#searching) #menu_messages_warning .menu_messages_warning_sub,
body:has(#searching) #menu_messages_warning .menu_messages_warning_sub p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

#searching {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-sizing: border-box;
  margin-top: 32px;
  margin-bottom: 64px;
}

body:has(#searching) #menu_messages_warning + #searching {
  margin-top: 0;
}

#searching .header {
  margin: 0 0 32px;
  padding: 0;
  text-align: left;
}

#searching .header .big_label {
  display: block;
  color: #161515;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  text-transform: none;
  text-align: left;
  margin: 0 0 8px;
  padding: 0;
}

#searching .header .big_label::before,
#searching .header .big_label::after {
  display: none;
}

#searching .header .info {
  color: #767676;
  font-size: 14px;
  line-height: 21px;
  margin: 0;
  padding: 0;
}

/* Komunikat „Nie znaleziono produktu” (pokazuje go skrypt wyszukiwarki) */
#searching #select_products_info {
  margin: 0 0 24px !important;
  padding: 14px 18px;
  border: 1px solid #f65d2d;
  border-radius: 6px;
  background: #fff7f4;
}

#searching #select_products_info p {
  margin: 0;
  color: #161515;
  font-size: 14px;
  font-weight: 600;
}

#searching #searching_form .searching_form,
#searching #searching_form .searching_wrapper {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

#searching #searching_form .searching_top {
  margin: 0;
  padding: 0;
  border: 0;
}

#searching #searching_form .clr,
#searching #searching_form #find-text:empty {
  display: none;
}

/* Notka dla administratora z panelu („Wyszukiwarkę zaawansowaną skonfigurujesz…”) — klient jej nie potrzebuje */
#searching #searching_form .group_node.type_node_static {
  display: none;
}

/* Wiersze formularza: etykieta | pole */
#searching #searching_form .searching_text,
#searching #searching_form .n59070_price_sub,
#searching #searching_form .searching_checkboxes,
#searching #searching_form .searching_sort_cont {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  row-gap: 16px;
  margin: 0 0 16px;
  padding: 0;
  float: none;
  width: auto;
}

#searching #searching_form .searching_price,
#searching #searching_form #contener3,
#searching #searching_form .searching_nodes,
#searching #searching_form .searching_button_under:not(button) {
  display: block;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

#searching #searching_form .searching_nodes {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid #e6e6e6;
}

#searching #searching_form .searching_button_under:not(button) {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid #e6e6e6;
}

#searching #searching_form .searching_text > label,
#searching #searching_form .label,
#searching #searching_form .searching_sort_text {
  display: block;
  margin: 0;
  padding: 0;
  width: auto;
  float: none;
  color: #161515;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-align: left;
}

#searching #searching_form .type_node_sub_tree,
#searching #searching_form .type_node_sub_list,
#searching #searching_form .searching_engine_traits {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
}

/* Kategoria / Producent: bez zmiany display wiersza. Pulse ukrywa podkategorie (.item_node_children .type_node_tree
   { display: none }) i pokazuje je skryptem po wyborze kategorii, więc układ etykieta | lista robimy inline-blockami. */
#searching #searching_form .item_node {
  margin: 0 0 16px;
  padding: 0;
  float: none;
  width: auto;
}

#searching #searching_form .item_node > .label {
  display: inline-block;
  width: 160px;
  vertical-align: middle;
}

#searching #searching_form .item_node > .type_node_sub_tree,
#searching #searching_form .item_node > .type_node_sub_list {
  display: inline-block;
  width: calc(100% - 184px);
  margin-left: 24px;
  vertical-align: middle;
}

#searching #searching_form .f-group.f-dropdown,
#searching #searching_form .f-dropdown {
  margin: 0;
  width: 100%;
}

/* Cena: od [ ] do [ ] zł */
#searching #searching_form .n59070_price_sub {
  /* 172 px + odstęp 12 px = ta sama kolumna pól co w pozostałych wierszach (160 + 24) */
  grid-template-columns: 172px minmax(0, 1fr) auto minmax(0, 1fr) auto;
  column-gap: 12px;
}

#searching #searching_form .searching_price_sep,
#searching #searching_form .searching_currency {
  color: #333333;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

/* Pola i listy */
#searching #searching_form .form-control,
#searching #searching_form .f-dropdown-toggle.f-control {
  width: 100%;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background-color: #fff;
  color: #161515;
  font-size: 14px;
  text-align: left;
  box-shadow: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#searching #searching_form .f-dropdown-toggle.f-control {
  padding-right: 40px;
}

#searching #searching_form .form-control:hover,
#searching #searching_form .f-dropdown-toggle.f-control:hover {
  border-color: #f65d2d;
}

#searching #searching_form .form-control:focus,
#searching #searching_form .f-dropdown-toggle.f-control:focus-visible,
#searching #searching_form .f-dropdown-toggle.f-control[aria-expanded="true"] {
  border-color: #f65d2d;
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 93, 45, 0.12);
}

#searching #searching_form .f-dropdown-button {
  color: #161515;
  font-size: 14px;
  font-weight: 500;
}

#searching #searching_form .f-dropdown-menu {
  margin-top: 4px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  /* Pulse ogranicza listę do max-height 400 px i przewija ją; overflow: hidden ucinało dłuższe listy (np. Producent) */
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Pasek przewijania listy jak w podpowiedziach wyszukiwarki w nagłówku (#menu_search) */
#searching #searching_form .f-dropdown-menu::-webkit-scrollbar {
  width: 6px;
  background-color: transparent;
}

#searching #searching_form .f-dropdown-menu::-webkit-scrollbar-track {
  background-color: transparent;
}

#searching #searching_form .f-dropdown-menu::-webkit-scrollbar-thumb {
  background-color: #c4c7c8;
  border-radius: 3px;
}

#searching #searching_form .f-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background-color: #a6aaac;
}

@supports not selector(::-webkit-scrollbar) {
  #searching #searching_form .f-dropdown-menu {
    scrollbar-width: thin;
    scrollbar-color: #c4c7c8 transparent;
  }
}

#searching #searching_form .f-dropdown-item {
  font-size: 14px;
  color: #161515;
}

#searching #searching_form .f-dropdown-item:hover,
#searching #searching_form .f-dropdown-item.--selected {
  background: #fff7f4;
  color: #f65d2d;
}

/* Checkboxy „Szukaj w” i radio „Rosnąco / Malejąco” */
#searching #searching_form .searching_checkboxes ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#searching #searching_form .searching_checkboxes li {
  margin: 0;
  padding: 0;
}

#searching #searching_form .searching_checkboxes li label,
#searching #searching_form .searching_sort_radios label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #333333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
}

#searching #searching_form .searching_checkboxes li label span {
  padding: 0;
  font-size: 14px;
}

/* Checkbox i radio jak w rejestracji / zamówieniu (KO-16): 20 px, pomarańczowa ramka 1,5 px na białym,
   zaznaczony = pomarańczowy ptaszek (checkbox) albo kropka 10 px (radio). Tu input nie stoi przed .f-label,
   więc rysujemy na samym inpucie (appearance: none + tło), bez ::before / ::after. */
#searching #searching_form input[type="checkbox"],
#searching #searching_form input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1.5px solid #f65d2d;
  border-radius: 4px;
  background: #fff no-repeat center / 20px 20px;
  box-sizing: border-box;
  box-shadow: none;
  cursor: pointer;
  flex: none;
  vertical-align: middle;
  transition: box-shadow 0.15s ease;
}

#searching #searching_form input[type="radio"] {
  border-radius: 50%;
}

#searching #searching_form input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.2' fill='none' stroke='%23f65d2d' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: -1.5px -1.5px;
}

#searching #searching_form input[type="radio"]:checked {
  background-image: radial-gradient(circle, #f65d2d 0 5px, #fff 5.5px);
  background-size: auto;
}

#searching #searching_form input[type="checkbox"]:focus-visible,
#searching #searching_form input[type="radio"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 93, 45, 0.2);
}

#searching #searching_form .searching_sort_radios {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

#searching #searching_form .searching_sort_radios label {
  margin-right: 16px;
}

/* Sortowanie: etykieta | lista, pod listą radio, pod nimi przycisk */
#searching #searching_form .searching_sort_cont {
  margin-bottom: 0;
}

#searching #searching_form button.searching_button_under.btn {
  grid-column: 1 / -1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 51px;
  margin: 8px 0 0;
  padding: 0 28px;
  border: 1px solid #f65d2d;
  border-radius: 6px;
  background: #f65d2d;
  color: #161515;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  float: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#searching #searching_form button.searching_button_under.btn:hover,
#searching #searching_form button.searching_button_under.btn:focus-visible {
  background: #252474;
  border-color: #252474;
  color: #fff;
  box-shadow: none;
  filter: none;
}

@media (max-width: 767px) {
  body:has(#searching) #menu_messages_warning {
    margin-top: 16px !important;
    margin-bottom: 16px;
    padding: 16px 16px 16px 60px;
  }

  body:has(#searching) #menu_messages_warning:before {
    left: 16px;
    width: 28px;
    height: 28px;
  }

  body:has(#searching) #menu_messages_warning .menu_messages_warning_sub,
  body:has(#searching) #menu_messages_warning .menu_messages_warning_sub p {
    font-size: 14px;
    line-height: 21px;
  }

  #searching {
    padding: 24px 16px;
    margin-top: 16px;
    margin-bottom: 40px;
  }

  #searching .header {
    margin-bottom: 24px;
  }

  #searching .header .big_label {
    font-size: 24px;
    line-height: 32px;
  }

  #searching #searching_form .searching_text,
  #searching #searching_form .searching_checkboxes,
  #searching #searching_form .searching_sort_cont {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }

  #searching #searching_form .item_node > .label {
    display: block;
    width: auto;
    margin-bottom: 8px;
  }

  #searching #searching_form .item_node > .type_node_sub_tree,
  #searching #searching_form .item_node > .type_node_sub_list {
    display: block;
    width: 100%;
    margin-left: 0;
  }

  #searching #searching_form .n59070_price_sub {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    row-gap: 8px;
    column-gap: 8px;
  }

  #searching #searching_form .n59070_price_sub > .label {
    grid-column: 1 / -1;
    margin-right: 0;
  }

  #searching #searching_form .searching_sort_radios,
  #searching #searching_form button.searching_button_under.btn {
    grid-column: 1;
  }

  #searching #searching_form .searching_sort_radios {
    margin-top: 4px;
  }

  #searching #searching_form button.searching_button_under.btn {
    width: 100%;
    margin-top: 16px;
  }
}

/* ===== LG-06 (pkt 136): podstrony konta (Pulse) =====
   Poszukiwane, Moje rabaty, Dodaj reklamację, Twoje reklamacje, Program partnerski, Dodatkowi użytkownicy.
   Ten sam język co panel „Twoje konto”: tytuł 32 px zwykłymi literami, białe karty 8 px, przyciski pomarańczowe
   z granatowym hoverem (jak logowanie), drugorzędne z jasną ramką, pola z zaokrągleniem 6 px. */
:is(.products-requests_page, .client-rebates_page, .rma-open_page, .rma-list_page, .affiliate-main_page) #content,
#content:has(.associatedClients) {
  padding-top: 32px !important;
  padding-bottom: 64px !important;
}

/* Tytuły stron */
:is(.products-requests_page, .client-rebates_page, .rma-open_page, .affiliate-main_page) #content h1:is(.headline, .big_label),
#content .associatedClients__header > :first-child {
  display: block;
  margin: 0 0 24px;
  padding: 0;
  color: #161515;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  text-align: left;
  text-transform: none;
}

:is(.products-requests_page, .client-rebates_page, .rma-open_page, .affiliate-main_page) #content h1:is(.headline, .big_label)::before,
:is(.products-requests_page, .client-rebates_page, .rma-open_page, .affiliate-main_page) #content h1:is(.headline, .big_label)::after {
  display: none;
}

:is(.products-requests_page, .client-rebates_page, .rma-open_page, .affiliate-main_page) #content h1 :is(.headline__name, span) {
  font: inherit;
  color: inherit;
  text-transform: inherit;
}

/* Przyciski główne i drugorzędne */
:is(.client-rebates_page, .rma-open_page, .rma-list_page, .affiliate-main_page) #content .btn.--solid:not(.--secondary),
.associatedForm .btn.--solid,
.associatedResetPass .btn.--solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  height: auto;
  padding: 10px 24px;
  border: 1px solid #f65d2d;
  border-radius: 6px;
  background: #f65d2d;
  color: #161515;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-transform: none;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

:is(.client-rebates_page, .rma-open_page, .rma-list_page, .affiliate-main_page) #content .btn.--solid:not(.--secondary):is(:hover, :focus-visible),
.associatedForm .btn.--solid:is(:hover, :focus-visible),
.associatedResetPass .btn.--solid:is(:hover, :focus-visible) {
  border-color: #252474;
  background: #252474;
  color: #fff;
  filter: none;
}

.client-rebates_page #content .btn.--solid.--secondary,
.associatedResetPass #passReset.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
  color: #161515;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.client-rebates_page #content .btn.--solid.--secondary:is(:hover, :focus-visible),
.associatedResetPass #passReset.btn:is(:hover, :focus-visible) {
  border-color: #f65d2d;
  background: #fff7f4;
  color: #f65d2d;
}

/* Pola formularzy */
:is(.client-rebates_page, .rma-open_page) #content .f-control,
.associatedForm .f-control {
  height: 52px;
  border: 1px solid #767676;
  border-radius: 6px;
  background: #fff;
  color: #161515;
}

:is(.client-rebates_page, .rma-open_page) #content .f-control:is(:hover, :focus),
.associatedForm .f-control:is(:hover, :focus) {
  border-color: #f65d2d;
  box-shadow: none;
}

/* Komunikaty: biały boks z pomarańczową ramką, ciemny tekst (Pulse: niebieski) */
.products-requests_page #content #menu_messages_warning,
.rma-open_page #content .rma_open__description.menu_messages_message {
  margin: 0 0 24px;
  border: 1px solid #f65d2d;
  border-radius: 8px;
  background: #fff7f4;
  color: #161515;
  text-align: left;
}

.products-requests_page #content #menu_messages_warning p {
  margin: 0;
  color: #161515;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
}

.products-requests_page #content #menu_messages_warning {
  padding: 24px 28px 24px 84px;
}

.products-requests_page #content #menu_messages_warning::before {
  left: 24px;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  top: 50%;
}

.rma-open_page #content .rma_open__description.menu_messages_message {
  padding: 20px 24px 20px 64px;
}

.rma-open_page #content .rma_open__description.menu_messages_message::before {
  left: 24px;
  color: #f65d2d;
}

/* --- Poszukiwane produkty (products-requests.html) --- */
.products-requests_page #content {
  display: flex;
  flex-direction: column;
}

/* Kolejność: tytuł, komunikat „lista pusta”, karta (Pulse: komunikat nad tytułem) */
.products-requests_page #content div.products_requests_list {
  display: contents;
}

.products-requests_page #content h1.products_requests_list_label {
  order: -2;
}

.products-requests_page #content #menu_messages_warning {
  order: -1;
  margin: 0 0 16px !important;
}

.products-requests_page #content .products_requests_list_sub {
  padding: 32px 40px;
  border-radius: 8px;
  background: #fff;
}

.products-requests_page #content table.products_requests_list:empty {
  display: none;
}

.products-requests_page #content .products_requests_add {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 21px;
  text-align: left;
}

.products-requests_page #content a.products_requests_add {
  color: #f65d2d;
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.products-requests_page #content a.products_requests_add:hover {
  color: #252474;
}

/* --- Moje rabaty (client-rebate.html) --- */
.client-rebates_page #content h2.headline {
  display: block;
  margin: 0 0 16px;
  padding: 0;
  color: #161515;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  text-align: left;
  text-transform: none;
}

.client-rebates_page #content h2.headline::before,
.client-rebates_page #content h2.headline::after {
  display: none;
}

.client-rebates_page #content h2.headline .headline__name {
  font: inherit;
  text-transform: inherit;
}

.client-rebates_page #content .rebates_forms,
.client-rebates_page #content .rebates_active,
.client-rebates_page #content .rebates_individual {
  margin: 0 0 24px !important;
  padding: 32px 40px;
  border-radius: 8px;
  background: #fff;
}

.client-rebates_page #content .rebates_forms__wrapper {
  margin: 0 !important;
}

.client-rebates_page #content .rebates_forms__sub {
  flex: 0 0 100%;
  max-width: 560px;
  margin: 0 !important;
  padding: 0;
}

.client-rebates_page #content .rebates_form {
  gap: 12px;
}

.client-rebates_page #content .rebates_form .f-group {
  flex: 1 1 auto;
}

.client-rebates_page #content .rebates_form__submit {
  margin-left: 0 !important;
  flex: none;
}

.client-rebates_page #content .rebates_active__wrapper {
  gap: 24px;
  padding: 0 !important;
  border: 0;
  background: transparent;
}

.client-rebates_page #content .rebates_active__name {
  color: #555;
  font-size: 14px;
}

.client-rebates_page #content .rebates_active__name strong {
  display: block;
  color: #161515;
  font-size: 18px;
  line-height: 26px;
}

.client-rebates_page #content .rebates_active__param {
  color: #555;
  font-size: 14px;
  line-height: 22px;
}

.client-rebates_page #content .rebates_active__param strong {
  color: #161515;
}

.client-rebates_page #content .rebates_active__sub.--buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.client-rebates_page #content .rebates_active__sub.--buttons .btn {
  margin: 0 !important;
}

.client-rebates_page #content .rebates_individual__wrapper {
  border: 0;
  background: transparent;
  padding: 0;
}

.client-rebates_page #content .rebates_other {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #e6e6e6;
}

.client-rebates_page #content .rebates_other:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.client-rebates_page #content .rebates_other:first-child {
  padding-top: 0;
}

.client-rebates_page #content .rebates_other__value.--txt {
  color: #161515;
  font-size: 15px;
}

.client-rebates_page #content .rebates_other__value.--percent {
  color: #f65d2d;
  font-size: 18px;
  font-weight: 700;
}

/* --- Dodaj reklamację (rma-open.html) --- */
.rma-open_page #content .rma_open {
  margin: 0 !important;
  padding: 40px;
  border-radius: 8px;
  background: #fff;
}

.rma-open_page #content .rma_open__form {
  margin-bottom: 24px !important;
}

.rma-open_page #content .rma_open__button {
  min-width: 220px;
}

.rma-open_page #content .rma_open__signin_link {
  color: #161515;
  font-weight: 500;
  text-decoration: underline;
}

.rma-open_page #content .rma_open__signin_link:hover {
  color: #f65d2d;
}

/* --- Twoje reklamacje (rma-list.html) --- */
.rma-list_page #content .rma_list_data_outline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 32px 40px;
  border-radius: 8px;
  background: #fff;
}

.rma-list_page #content div.rma_list_data_label {
  display: block !important;
  margin: 0;
  color: #161515;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
}

.rma-list_page #content .rma_list_data_addbutton {
  float: none;
  margin: 0;
}

.rma-list_page #content a.rma_list_data_addbutton.btn {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 24px;
  text-align: left;
}

.rma-list_page #content a.rma_list_data_addbutton .addbutton_maintxt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

.rma-list_page #content a.rma_list_data_addbutton .addbutton_sidetxt {
  font-size: 13px;
  font-weight: 400;
}

/* --- Program partnerski (affiliate-main.html) --- */
.affiliate-main_page #content .affiliate__cms .mobile-app-container {
  margin: 0 0 24px;
  border-radius: 8px;
  overflow: hidden;
}

.affiliate-main_page #content .mobile-app-container .mobile-app-title {
  color: #161515;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.affiliate-main_page #content .mobile-app-container :is(.mobile-app-lead, .mobile-app-pmiddle) {
  font-family: "Montserrat", sans-serif;
  color: #555;
}

.affiliate-main_page #content .mobile-app-container .mobile-app-lead {
  color: #161515;
}

.affiliate-main_page #content #affiliate_main_menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
}

.affiliate-main_page #content .affiliate__module {
  width: auto;
  max-width: none;
  margin: 0 !important;
  padding: 0;
}

.affiliate-main_page #content .affiliate__module > div {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px !important;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.affiliate-main_page #content .affiliate__module h3 {
  margin: 0 0 12px !important;
  color: #161515;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  text-transform: none;
}

.affiliate-main_page #content .affiliate__module > div > .d-flex.align-items-start {
  gap: 16px;
  margin-bottom: 20px !important;
  color: #767676;
  font-size: 14px;
  line-height: 21px;
}

.affiliate-main_page #content .affiliate__module > div > .d-flex.align-items-start > i {
  width: 48px;
  height: 48px;
  margin: 0 !important;
  border: 0;
  border-radius: 50%;
  background: #fff7f4;
  color: #f65d2d;
  font-size: 22px;
}

.affiliate-main_page #content .affiliate__module > div > .d-flex.mt-2 {
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 8px;
  margin-top: auto !important;
  padding-left: 64px;
}

/* W kartach programu przyciski drugorzędne, jak w panelu konta */
.affiliate-main_page #content .affiliate__module .btn.--solid:not(.--secondary) {
  min-height: 40px;
  margin: 0 !important;
  padding: 8px 16px;
  border-color: #e6e6e6;
  background: #fff;
  color: #161515;
}

.affiliate-main_page #content .affiliate__module .btn.--solid:not(.--secondary):is(:hover, :focus-visible) {
  border-color: #f65d2d;
  background: #fff7f4;
  color: #f65d2d;
}

/* --- Dodatkowi użytkownicy (client-new.html?associated) --- */
#content .associatedClients {
  padding: 32px 40px;
  border-radius: 8px;
  background: #fff;
}

#content .associatedClients__header {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 16px;
}

#content .associatedClients__header > :first-child {
  margin: 0;
  border: 0;
}

#content .associatedClients #addClient {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid #f65d2d;
  border-radius: 6px;
  background: #f65d2d;
  color: #161515;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#content .associatedClients #addClient::before {
  position: static;
  margin: 0;
  color: inherit;
}

#content .associatedClients #addClient:is(:hover, :focus-visible) {
  border-color: #252474;
  background: #252474;
  color: #fff;
}

#content .associatedClients__row.--head {
  border-bottom: 1px solid #e6e6e6;
  color: #767676;
  font-size: 13px;
  font-weight: 600;
}

#content .associatedClientsList_empty p {
  margin: 0;
  padding: 24px 0 8px;
  color: #767676;
  font-size: 14px;
  text-align: center;
}


/* Okno „Dodawanie / Edycja użytkownika” (#modal z kopią formularza) */
#modal:has(.associatedForm) .modal__wrapper {
  border-radius: 8px;
}

.associatedForm .big_label.associated__title {
  margin: 0 0 24px;
  color: #161515;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  text-transform: none;
}

.associatedForm .btn.--solid {
  white-space: nowrap;
}
@media (max-width: 991px) {
  .affiliate-main_page #content #affiliate_main_menu {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 575px) {
  :is(.products-requests_page, .client-rebates_page, .rma-open_page, .rma-list_page, .affiliate-main_page) #content,
  #content:has(.associatedClients) {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
  }

  :is(.products-requests_page, .client-rebates_page, .rma-open_page, .affiliate-main_page) #content h1:is(.headline, .big_label),
  #content .associatedClients__header > :first-child,
  .rma-list_page #content div.rma_list_data_label {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 32px;
  }

  .products-requests_page #content .products_requests_list_sub,
  .client-rebates_page #content :is(.rebates_forms, .rebates_active, .rebates_individual),
  .rma-open_page #content .rma_open,
  .rma-list_page #content .rma_list_data_outline,
  #content .associatedClients {
    padding: 20px;
  }

  .client-rebates_page #content .rebates_form {
    flex-wrap: wrap;
  }

  .client-rebates_page #content .rebates_form .f-group,
  .client-rebates_page #content .rebates_form__submit,
  .client-rebates_page #content .rebates_active__sub.--buttons .btn,
  .rma-list_page #content .rma_list_data_addbutton,
  .rma-list_page #content a.rma_list_data_addbutton.btn,
  .rma-open_page #content .rma_open__button {
    width: 100%;
  }

  .client-rebates_page #content .rebates_active__sub.--buttons {
    margin: 16px 0 0;
    width: 100%;
  }

  .affiliate-main_page #content .affiliate__module > div {
    padding: 20px !important;
  }

  .products-requests_page #content #menu_messages_warning {
    padding: 16px 16px 16px 64px;
  }

  .products-requests_page #content #menu_messages_warning::before {
    left: 16px;
    width: 32px;
    height: 32px;
  }

  .rma-open_page #content .rma_open__description.menu_messages_message {
    padding: 16px 16px 16px 52px;
  }

  .rma-open_page #content .rma_open__description.menu_messages_message::before {
    left: 16px;
  }

  .affiliate-main_page #content .affiliate__module > div > .d-flex.mt-2 {
    padding-left: 0;
  }

  #content .associatedClients #addClient {
    width: 100%;
    justify-content: center;
  }
}

/* ===== LG-06 (pkt 136): Zamówienia (client-orders.html, też ?display=closed / ?display=rma) i okno „Dodawanie użytkownika” ===== */
.client-orders_page #content {
  padding-top: 32px !important;
  padding-bottom: 64px !important;
}

.client-orders_page #content .client_order {
  padding: 32px 40px;
  border-radius: 8px;
  background: #fff;
}

.client-orders_page #content .client_order__labelWrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0 0 24px !important;
}

.client-orders_page #content .client_order__labelWrapper .big_label {
  display: block;
  flex: 1 1 auto;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  color: #161515;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  text-align: left;
  text-transform: none;
}

.client-orders_page #content .client_order__labelWrapper .big_label::before,
.client-orders_page #content .client_order__labelWrapper .big_label::after {
  display: none;
}

.client-orders_page #content .client_order__labelWrapper > div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.client-orders_page #content .client_order__labelWrapper > div a {
  color: #161515;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

.client-orders_page #content .client_order__labelWrapper > div a:hover {
  color: #f65d2d;
}

.client-orders_page #content .client_order__labelWrapper .progress__listIcon {
  color: #f65d2d;
}

/* Komunikat „Obecnie nie masz zamówień…” jak pozostałe komunikaty konta */
.client-orders_page #content .client_orders_null {
  position: relative;
  margin: 0 0 24px;
  padding: 20px 24px 20px 64px;
  border: 1px solid #f65d2d;
  border-radius: 8px;
  background: #fff7f4;
  color: #161515;
  font-size: 15px;
  line-height: 22px;
  text-align: left;
}

.client-orders_page #content .client_orders_null::before {
  left: 24px;
  color: #f65d2d;
}

.client-orders_page #content .n54744_goback {
  display: flex;
  justify-content: flex-start;
  margin: 0;
}

.client-orders_page #content .btn.--solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid #f65d2d;
  border-radius: 6px;
  background: #f65d2d;
  color: #161515;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.client-orders_page #content .btn.--solid:is(:hover, :focus-visible) {
  border-color: #252474;
  background: #252474;
  color: #fff;
  filter: none;
}

.client-orders_page #content .client_order table:has(td.ord:empty:only-child) {
  display: none;
}

/* Reklamacja: pasek kroków i podpowiedź kreatora */
/* Pasek ma 2 px, podpisy kroków wystają pod niego: odstęp na podpisy */
.client-orders_page #content .rma_progress_bar {
  margin: 16px 0 72px;
}

.client-orders_page #content .rma_progress_bar ._step > span {
  border: 1px solid #e6e6e6;
  background: #fff;
  color: #767676;
}

.client-orders_page #content .rma_progress_bar.pb_step1 ._step1 > span,
.client-orders_page #content .rma_progress_bar.pb_step2 ._step2 > span,
.client-orders_page #content .rma_progress_bar.pb_step3 ._step3 > span,
.client-orders_page #content .rma_progress_bar.pb_step4 ._step4 > span,
.client-orders_page #content .rma_progress_bar.pb_step5 ._step5 > span,
.client-orders_page #content .rma_progress_bar.pb_step6 ._step6 > span {
  border-color: #f65d2d;
  background: #f65d2d;
  color: #161515;
}

.client-orders_page #content .rma_progress_bar ._step p {
  color: #767676;
}

.client-orders_page #content .rma_progress_bar ._step p b {
  color: #161515;
}

.client-orders_page #content .progress__rmaHelper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 20px;
  border: 0;
  border-radius: 6px;
  background: #f5f5f5;
  color: #555;
  font-size: 14px;
}

.client-orders_page #content .progress__item.--rma .progress__step {
  color: #f65d2d;
}

/* --- Okno „Dodawanie / Edycja użytkownika”: pola, gwiazdki, checkboxy jak w rejestracji --- */
.associatedForm .f-feedback > .f-label,
.associatedForm .f-control + .f-label {
  color: #767676;
}

.associatedForm .f-control-feedback::before {
  color: #767676 !important;
}

.associatedForm .f-control:focus {
  box-shadow: 0 0 0 3px rgba(246, 93, 45, 0.12) !important;
  outline: none;
}

.associatedForm .associatedForm__label {
  margin: 8px 0 12px;
  color: #161515;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.associatedForm .associatedForm__group.--pass {
  color: #555;
  font-size: 13px;
  line-height: 20px;
}

.associatedForm .associatedForm__group.--pass::before {
  color: #f65d2d;
}

.associatedForm .associatedForm__group.--checkbox {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.associatedForm .associatedForm__group.--checkbox .associatedForm__input {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.associatedForm .associatedForm__group.--checkbox input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid #f65d2d;
  border-radius: 4px;
  background: #fff no-repeat center / 12px 12px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.associatedForm .associatedForm__group.--checkbox input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 4.8 9 10 3' fill='none' stroke='%23f65d2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.associatedForm .associatedForm__group.--checkbox input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 93, 45, 0.2);
}

.associatedForm .associatedForm__group.--checkbox .f-label {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

@media (max-width: 575px) {
  .client-orders_page #content {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
  }

  .client-orders_page #content .client_order {
    padding: 20px;
  }

  .client-orders_page #content .client_order__labelWrapper .big_label {
    font-size: 24px;
    line-height: 32px;
  }

  .client-orders_page #content .client_orders_null {
    padding: 16px 16px 16px 52px;
  }

  .client-orders_page #content .client_orders_null::before {
    left: 16px;
  }

  .client-orders_page #content .n54744_goback .btn {
    width: 100%;
  }
}

/* ===== LG-06 (pkt 136): Moje rabaty, ikonki i układ po „Zmień kod” =====
   Ikonki (karta, metka) w pomarańczowym kółku jak w panelu konta. Aktywny kod jako siatka: kod | opis | przyciski,
   po „Zmień kod” (Pulse dodaje .--change) formularz nowego kodu w drugim rzędzie na całą szerokość, bez drugiej metki. */
.client-rebates_page #content .rebates_form.--card::before,
.client-rebates_page #content .rebates_active__sub.--name::before {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  margin: 0 16px 0 0;
  border-radius: 50%;
  background: #fff7f4;
  color: #f65d2d;
  font-family: FontAwesome;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

/* Pulse daje glif tylko od 992 px: ustawiamy go na każdej szerokości */
.client-rebates_page #content .rebates_form.--card::before {
  content: "\e801";
}

.client-rebates_page #content .rebates_active__sub.--name::before {
  content: "\e80c";
}

.client-rebates_page #content .rebates_active__name {
  white-space: nowrap;
}

.client-rebates_page #content .rebates_form.--card {
  align-items: center !important;
  gap: 0;
}

.client-rebates_page #content .rebates_form.--card .f-group {
  margin-right: 12px !important;
}

.client-rebates_page #content .rebates_active__sub.--name {
  align-items: center;
}

.client-rebates_page #content .rebates_active__wrapper {
  display: grid !important;
  grid-template-columns: minmax(200px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 32px;
}

.client-rebates_page #content .rebates_active__sub {
  min-width: 0;
  margin: 0 !important;
}

.client-rebates_page #content .rebates_active__sub.--name {
  display: flex;
  flex-direction: row;
}

.client-rebates_page #content .rebates_active__sub.--info {
  padding-left: 32px;
  border-left: 1px solid #e6e6e6;
}

.client-rebates_page #content .rebates_active__sub.--buttons {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

/* Formularz nowego kodu: drugi rząd, oddzielony linią */
.client-rebates_page #content .rebates_active__wrapper.--change .rebates_active__sub.--form {
  display: block !important;
  grid-column: 1 / -1;
  grid-row: 2;
  padding-top: 20px;
  border-top: 1px solid #e6e6e6;
}

.client-rebates_page #content .rebates_form.--code {
  max-width: 560px;
  gap: 12px;
}

.client-rebates_page #content .rebates_form.--code::before {
  display: none;
}

/* Podczas zmiany kodu „Zmień kod” wyciszony (formularz już otwarty) */
.client-rebates_page #content .rebates_active__wrapper.--change .rebates_active__button.--change {
  border-color: #e6e6e6;
  background: #fff;
  color: #161515;
}

@media (max-width: 991px) {
  .client-rebates_page #content .rebates_active__wrapper {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .client-rebates_page #content .rebates_active__sub.--buttons {
    grid-column: 1 / -1;
    order: 1;
    justify-content: flex-start;
  }

  .client-rebates_page #content .rebates_active__wrapper.--change .rebates_active__sub.--form {
    grid-row: auto;
    order: 2;
  }
}

@media (max-width: 575px) {
  .client-rebates_page #content .rebates_active__wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .client-rebates_page #content .rebates_active__sub.--info {
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid #e6e6e6;
  }

  .client-rebates_page #content .rebates_active__sub.--buttons {
    flex-wrap: wrap;
  }

  .client-rebates_page #content .rebates_form.--card::before {
    display: none;
  }

  .client-rebates_page #content .rebates_form.--card .f-group {
    margin-right: 0 !important;
  }

  .client-rebates_page #content .rebates_form.--card {
    row-gap: 12px;
  }
}

/* LG-06 (pkt 136): okno „Dodawanie / Edycja użytkownika”, szary pasek przewijania jak w podpowiedziach wyszukiwarki (Pulse: ciemny) */
#modal:has(.associatedForm) .modal__wrapper::-webkit-scrollbar {
  width: 6px;
  background-color: transparent;
}

#modal:has(.associatedForm) .modal__wrapper::-webkit-scrollbar-track {
  background-color: transparent;
}

#modal:has(.associatedForm) .modal__wrapper::-webkit-scrollbar-thumb {
  background-color: #c4c7c8;
  border-radius: 3px;
}

#modal:has(.associatedForm) .modal__wrapper::-webkit-scrollbar-thumb:hover {
  background-color: #a6aaac;
}

@supports not selector(::-webkit-scrollbar) {
  #modal:has(.associatedForm) .modal__wrapper {
    scrollbar-width: thin;
    scrollbar-color: #c4c7c8 transparent;
  }
}
