/*
 * DM24 0.8.9 — listingi 1:1 jak karty na stronie głównej
 */

/* Ukrycie dużego hero */
body.dm24-product-listing .hero-section,
body.dm24-product-listing [data-prefix*="woo"] > .hero-section,
body.dm24-product-listing .page-title,
body.dm24-product-listing .ct-page-title {
	display: none !important;
}

body.dm24-product-listing main#main,
body.dm24-product-listing .site-main {
	padding-top: 28px !important;
}

body.dm24-product-listing .woocommerce,
body.dm24-product-listing .ct-container-full,
body.dm24-product-listing .ct-container {
	width: min(100% - 48px, 1420px) !important;
	max-width: 1420px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

/* Kompaktowy nagłówek */
body.dm24-product-listing .dm24-archive-heading {
	display: flex !important;
	align-items: flex-end !important;
	justify-content: space-between !important;
	gap: 24px !important;
	margin: 0 0 22px !important;
	padding: 0 0 18px !important;
	border-bottom: 1px solid var(--dm24-border, #e4e9f0) !important;
}

body.dm24-product-listing .dm24-archive-heading__eyebrow {
	display: block;
	margin: 0 0 6px;
	color: var(--dm24-orange, #ff6a00);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

body.dm24-product-listing .dm24-archive-heading h1 {
	margin: 0 !important;
	color: var(--dm24-navy, #0b2341) !important;
	font-size: clamp(26px, 3vw, 38px) !important;
	font-weight: 850 !important;
	line-height: 1.1 !important;
}

body.dm24-product-listing .dm24-archive-heading__count {
	color: var(--dm24-muted, #667085);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

/* Sortowanie */
body.dm24-product-listing .woocommerce-result-count {
	margin: 8px 0 22px !important;
	color: var(--dm24-muted, #667085) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: .04em;
	text-transform: uppercase;
}

body.dm24-product-listing .woocommerce-ordering {
	margin: 0 0 22px !important;
}

body.dm24-product-listing .woocommerce-ordering select {
	min-height: 42px;
	padding: 0 38px 0 14px;
	background: #fff;
	border: 1px solid var(--dm24-border, #e4e9f0);
	border-radius: 8px;
	color: var(--dm24-text, #132238);
	font-size: 12px;
}

/* 6 kolumn — ta sama szerokość kart co na stronie głównej */
body.dm24-product-listing ul.products,
body.dm24-product-listing .products {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	grid-auto-rows: auto !important;
	align-items: start !important;
	gap: 16px !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Karta */
body.dm24-product-listing ul.products li.product {
	box-sizing: border-box !important;
	display: flex !important;
	flex-direction: column !important;
	align-self: start !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 12px !important;
	overflow: hidden !important;
	background: var(--dm24-surface, #fff) !important;
	border: 1px solid var(--dm24-border, #e4e9f0) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
}

body.dm24-product-listing ul.products li.product:hover {
	transform: translateY(-3px) !important;
	border-color: #d7dce5 !important;
	box-shadow: 0 12px 28px rgba(23, 35, 56, .08) !important;
}

body.dm24-product-listing ul.products li.product > a.woocommerce-LoopProduct-link {
	display: flex !important;
	flex: 0 0 auto !important;
	flex-direction: column !important;
	width: 100% !important;
}

/* Zdjęcie jak na homepage */
body.dm24-product-listing ul.products li.product img {
	display: block !important;
	width: 100% !important;
	height: 205px !important;
	margin: 0 0 12px !important;
	object-fit: contain !important;
}

/* Tytuł: 3 linie */
body.dm24-product-listing ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box !important;
	width: 100% !important;
	min-height: calc(1.42em * 3) !important;
	max-height: calc(1.42em * 3) !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	overflow: hidden !important;
	color: var(--dm24-navy, #0b2341) !important;
	font-size: 15px !important;
	font-weight: 750 !important;
	line-height: 1.42 !important;
	overflow-wrap: anywhere !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

/* Bez kategorii pod tytułem */
body.dm24-product-listing ul.products li.product .ct-product-categories,
body.dm24-product-listing ul.products li.product .product-category,
body.dm24-product-listing ul.products li.product .product-categories,
body.dm24-product-listing ul.products li.product .posted_in,
body.dm24-product-listing ul.products li.product [class*="categor"] {
	display: none !important;
}

/* Status 1:1 */
body.dm24-product-listing .dm24-card-availability {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	align-content: flex-start !important;
	gap: 5px 7px !important;
	width: 100% !important;
	min-height: 34px !important;
	margin: 0 0 8px !important;
	overflow: hidden !important;
	color: var(--dm24-muted, #667085) !important;
	font-size: 10.5px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	white-space: normal !important;
}

body.dm24-product-listing .dm24-card-stock,
body.dm24-product-listing .dm24-card-delivery {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	min-width: 0 !important;
	font-size: inherit !important;
	font-weight: 700 !important;
	line-height: inherit !important;
	white-space: nowrap !important;
}

body.dm24-product-listing .dm24-card-stock {
	color: var(--dm24-stock-color, #16833b) !important;
}

body.dm24-product-listing .dm24-card-stock-dot {
	display: block !important;
	width: 7px !important;
	height: 7px !important;
	flex: 0 0 7px !important;
	background: currentColor !important;
	border-radius: 50% !important;
}

body.dm24-product-listing .dm24-card-stock.is-in-stock,
body.dm24-product-listing .dm24-card-stock.is-available,
body.dm24-product-listing .dm24-card-stock[data-status="instock"] {
	color: #16833b !important;
}

body.dm24-product-listing .dm24-card-stock.is-low-stock,
body.dm24-product-listing .dm24-card-stock.is-last-items,
body.dm24-product-listing .dm24-card-stock[data-status="lowstock"] {
	color: #df2f25 !important;
}

body.dm24-product-listing .dm24-card-stock.is-out-of-stock,
body.dm24-product-listing .dm24-card-stock[data-status="outofstock"] {
	color: #344054 !important;
}

body.dm24-product-listing .dm24-card-separator {
	display: block !important;
	width: 1px !important;
	height: 14px !important;
	flex: 0 0 1px !important;
	background: var(--dm24-border, #e4e9f0) !important;
}

body.dm24-product-listing .dm24-card-delivery {
	color: var(--dm24-muted, #667085) !important;
}

body.dm24-product-listing .dm24-card-delivery strong {
	color: var(--dm24-text, #132238) !important;
	font-size: inherit !important;
	font-weight: 700 !important;
}

/* Cena */
body.dm24-product-listing ul.products li.product .price {
	display: block !important;
	min-height: 24px !important;
	margin: 0 0 10px !important;
	color: var(--dm24-text, #132238) !important;
	font-size: 17px !important;
	font-weight: 850 !important;
	line-height: 1.25 !important;
}

/* Przycisk — bez rozciągania karty */
body.dm24-product-listing ul.products li.product .button {
	display: flex !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	min-height: 42px !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 10px 12px !important;
	background: var(--dm24-orange, #ff6a00) !important;
	border-radius: 7px !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	text-align: center !important;
}

/* Paginacja */
body.dm24-product-listing nav.woocommerce-pagination {
	margin: 44px 0 10px !important;
}

body.dm24-product-listing nav.woocommerce-pagination ul {
	display: flex !important;
	justify-content: center !important;
	gap: 8px !important;
	border: 0 !important;
}

body.dm24-product-listing nav.woocommerce-pagination li {
	border: 0 !important;
}

body.dm24-product-listing nav.woocommerce-pagination a,
body.dm24-product-listing nav.woocommerce-pagination span {
	display: grid !important;
	min-width: 38px !important;
	height: 38px !important;
	padding: 0 10px !important;
	place-items: center !important;
	background: #fff !important;
	border: 1px solid var(--dm24-border, #e4e9f0) !important;
	border-radius: 7px !important;
	color: var(--dm24-text, #132238) !important;
	font-size: 12px !important;
	font-weight: 750 !important;
}

body.dm24-product-listing nav.woocommerce-pagination span.current {
	background: var(--dm24-navy, #0b2341) !important;
	border-color: var(--dm24-navy, #0b2341) !important;
	color: #fff !important;
}

@media (max-width: 1280px) {
	body.dm24-product-listing ul.products,
	body.dm24-product-listing .products {
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 1100px) {
	body.dm24-product-listing ul.products,
	body.dm24-product-listing .products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 850px) {
	body.dm24-product-listing ul.products,
	body.dm24-product-listing .products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 650px) {
	body.dm24-product-listing .woocommerce,
	body.dm24-product-listing .ct-container-full,
	body.dm24-product-listing .ct-container {
		width: min(100% - 28px, 1420px) !important;
	}

	body.dm24-product-listing .dm24-archive-heading {
		align-items: flex-start !important;
		flex-direction: column !important;
		gap: 8px !important;
	}

	body.dm24-product-listing ul.products,
	body.dm24-product-listing .products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px !important;
	}

	body.dm24-product-listing ul.products li.product {
		padding: 10px !important;
	}

	body.dm24-product-listing ul.products li.product img {
		height: 170px !important;
	}

	body.dm24-product-listing ul.products li.product .woocommerce-loop-product__title {
		font-size: 13px !important;
	}
}

@media (max-width: 420px) {
	body.dm24-product-listing ul.products,
	body.dm24-product-listing .products {
		grid-template-columns: 1fr !important;
	}
}


/* DM24 Core 0.9.35 — accessible grid/list selector for WooCommerce archives only. */
body.dm24-product-listing .dm24-view-switch {
  float:right; display:inline-flex; align-items:center; gap:3px;
  padding:4px; margin:0 0 20px 12px;
  border:1px solid #dce5ee; border-radius:11px; background:#f6f8fb;
}
body.dm24-product-listing .dm24-view-switch__button {
  appearance:none; display:inline-flex; justify-content:center; align-items:center; gap:8px;
  min-height:36px; padding:7px 12px; border:1px solid transparent; border-radius:8px;
  background:transparent; color:#53657c; cursor:pointer; font:inherit;
  font-size:12px; font-weight:750; line-height:1.15; white-space:nowrap;
}
body.dm24-product-listing .dm24-view-switch__button:hover {background:#fff;color:#162d49;}
body.dm24-product-listing .dm24-view-switch__button.is-active {
  background:#fff; color:#d9560d; border-color:#f3d1bd; box-shadow:0 2px 8px rgba(25,40,65,.07);
}
body.dm24-product-listing .dm24-view-switch__button:focus-visible {outline:2px solid #eb6a18;outline-offset:2px;}
body.dm24-product-listing .dm24-view-switch__icon {
  display:block; flex:0 0 15px; width:15px; height:15px; opacity:.85;
}
body.dm24-product-listing .dm24-view-switch__icon--grid {
  background:linear-gradient(#526b85,#526b85) 0 0/6px 6px no-repeat,
    linear-gradient(#526b85,#526b85) 9px 0/6px 6px no-repeat,
    linear-gradient(#526b85,#526b85) 0 9px/6px 6px no-repeat,
    linear-gradient(#526b85,#526b85) 9px 9px/6px 6px no-repeat;
}
body.dm24-product-listing .dm24-view-switch__icon--list {
  background:linear-gradient(#526b85,#526b85) 0 1px/15px 3px no-repeat,
    linear-gradient(#526b85,#526b85) 0 6px/15px 3px no-repeat,
    linear-gradient(#526b85,#526b85) 0 11px/15px 3px no-repeat;
}
body.dm24-product-listing .dm24-view-switch__button.is-active .dm24-view-switch__icon {filter:sepia(1) saturate(3) hue-rotate(339deg);}



/* DM24 0.9.40 — one compact toolbar: result count / native sort / view toggle.
   Scoped to the wrapper rendered only on WooCommerce archive pages; no card or sidebar grid changes. */
body.dm24-product-listing .dm24-category-main > .dm24-catalog-toolbar,
body.dm24-product-listing .dm24-catalog-toolbar {
  box-sizing:border-box !important;
  clear:both !important;
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  column-gap:14px !important;
  row-gap:10px !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 0 20px !important;
  padding:0 !important;
  float:none !important;
}
body.dm24-product-listing .dm24-catalog-toolbar > .woocommerce-result-count {
  float:none !important;
  flex:0 1 auto !important;
  margin:0 !important;
  min-width:0 !important;
}
body.dm24-product-listing .dm24-catalog-toolbar > .woocommerce-ordering {
  float:none !important;
  display:block !important;
  flex:0 1 auto !important;
  margin:0 !important;
  min-width:0 !important;
}
body.dm24-product-listing .dm24-catalog-toolbar > .woocommerce-ordering select {
  max-width:100% !important;
  margin:0 !important;
}
body.dm24-product-listing .dm24-catalog-toolbar > .dm24-view-switch {
  float:none !important;
  display:inline-flex !important;
  flex:0 0 auto !important;
  margin:0 0 0 auto !important;
  align-self:center !important;
  position:static !important;
  top:auto !important;
  right:auto !important;
  clear:none !important;
}
@media(max-width:680px) {
  body.dm24-product-listing .dm24-catalog-toolbar {
    column-gap:10px !important;
    row-gap:10px !important;
  }
  body.dm24-product-listing .dm24-catalog-toolbar > .woocommerce-result-count {
    flex:1 1 100% !important;
  }
  body.dm24-product-listing .dm24-catalog-toolbar > .woocommerce-ordering {
    flex:1 1 150px !important;
  }
  body.dm24-product-listing .dm24-catalog-toolbar > .woocommerce-ordering select {
    width:100% !important;
  }
  body.dm24-product-listing .dm24-catalog-toolbar > .dm24-view-switch {
    margin-left:auto !important;
  }
}


/* 0.9.42: self-contained list card; no interaction with normal tiles or catalog columns. */
body.dm24-product-listing.dm24-view-list .dm24-category-main ul.products,
body.dm24-product-listing.dm24-view-list ul.products {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
  width:100%!important;min-width:0!important;align-items:stretch!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product,
body.dm24-product-listing.dm24-view-list .dm24-category-main ul.products > li.product.dm24-list-product {
  display:grid!important;grid-template-columns:144px minmax(0,1fr) 178px!important;
  align-items:center!important;gap:20px!important;grid-auto-rows:auto!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:178px!important;height:auto!important;margin:0!important;padding:16px!important;
  float:none!important;clear:both!important;transform:none!important;overflow:visible!important;
  border:1px solid #e0e7ef!important;border-radius:12px!important;
  box-sizing:border-box!important;background:#fff!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product:hover {transform:none!important;border-color:#c9d5e3!important;}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__media {
  grid-column:1!important;grid-row:1!important;position:relative!important;display:flex!important;
  align-items:center!important;justify-content:center!important;
  width:144px!important;height:144px!important;min-height:0!important;min-width:0!important;
  margin:0!important;padding:0!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__media a {
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:100%!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__media img {
  width:100%!important;height:140px!important;max-width:100%!important;max-height:140px!important;
  object-fit:contain!important;margin:0!important;padding:0!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__sale {
  position:absolute;top:0;left:0;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:800;
  background:#fff0e7;color:#b94f08;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__info {
  grid-column:2!important;grid-row:1!important;align-self:center!important;display:flex!important;
  flex-direction:column!important;align-items:flex-start!important;gap:10px!important;
  min-width:0!important;width:100%!important;margin:0!important;padding:0!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__name-link {
  display:block!important;width:100%!important;text-decoration:none!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .woocommerce-loop-product__title {
  display:block!important;min-height:0!important;max-height:none!important;-webkit-line-clamp:unset!important;
  overflow:visible!important;margin:0!important;padding:0!important;
  font-size:16px!important;font-weight:750!important;line-height:1.45!important;color:#102b4e!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__description {
  margin:0!important;font-size:12px!important;line-height:1.55!important;color:#64748b!important;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__stock {
  display:flex;align-items:center;flex-wrap:wrap;gap:7px;
  font-size:12px;font-weight:700;color:#34445a;line-height:1.4;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__stock-dot {
  background:var(--dm24-list-stock,#16833b);width:8px;height:8px;flex:0 0 8px;border-radius:100%;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__delivery {
  color:#64748b;font-weight:600;padding-left:8px;border-left:1px solid #e1e6ef;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__buy {
  grid-column:3!important;grid-row:1!important;min-width:0!important;width:100%!important;
  display:flex!important;flex-direction:column!important;gap:13px!important;
  align-self:center!important;align-items:stretch!important;margin:0!important;padding:0!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__price {
  margin:0!important;font-size:19px!important;font-weight:850!important;line-height:1.3!important;color:#112c4c!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__price :is(del,ins) {font-size:inherit;}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__buy .button {
  width:100%!important;min-height:44px!important;margin:0!important;display:flex!important;
  align-items:center!important;justify-content:center!important;
}
@media(max-width:1030px) {
  body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product {
    grid-template-columns:115px minmax(0,1fr) 154px!important;gap:13px!important;padding:13px!important;min-height:145px!important;
  }
  body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__media {width:115px!important;height:115px!important;}
  body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__media img {height:110px!important;max-height:110px!important;}
}
@media(max-width:680px) {
  body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product {
    grid-template-columns:95px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;min-height:0!important;
  }
  body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__media {width:95px!important;height:105px!important;}
  body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__media img {height:100px!important;max-height:100px!important;}
  body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__info {grid-column:2!important;grid-row:1!important;}
  body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__buy {
    grid-column:1/-1!important;grid-row:2!important;display:flex!important;flex-direction:row!important;
    flex-wrap:wrap!important;align-items:center!important;gap:10px!important;
  }
  body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__price {flex:1 1 auto;}
  body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__buy .button {flex:0 1 150px!important;}
}

/* 0.9.45 — a single controlled wide wrapper; avoid nested shrinking. */
@media(min-width:901px){
 body.dm24-product-listing .site-main,
 body.dm24-product-listing main#main{
  box-sizing:border-box!important;
  width:100%!important;max-width:1560px!important;
  margin-left:auto!important;margin-right:auto!important;
 }
 body.dm24-product-listing .ct-container,
 body.dm24-product-listing .ct-container-full{
  box-sizing:border-box!important;
  width:calc(100% - 32px)!important;max-width:1560px!important;
  margin-left:auto!important;margin-right:auto!important;
 }
 body.dm24-product-listing .woocommerce{
  box-sizing:border-box!important;
  width:100%!important;max-width:1560px!important;
  margin-inline:auto!important;
 }
}


/* v0.9.48: clear purchase hierarchy in horizontal product list only. */
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product {
  min-height:172px!important;
  padding:18px 20px!important;
  column-gap:22px!important;
  transition:border-color .15s ease,box-shadow .15s ease;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product:hover {
  border-color:#c9d7e7!important;
  box-shadow:0 6px 25px rgba(18,43,73,.065)!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__buy {
  gap:11px!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__pricing {
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:center!important;gap:3px!important;width:100%!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__price-label {
  font-size:10px!important;letter-spacing:.055em!important;text-transform:uppercase!important;
  color:#667991!important;font-weight:700!important;line-height:1.3!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__current-price {
  color:#c64e08!important;font-size:24px!important;font-weight:850!important;
  line-height:1.2!important;white-space:nowrap!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__regular-price {
  font-size:12px!important;color:#748399!important;line-height:1.45!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__regular-price del {
  color:#748399!important;opacity:1!important;text-decoration:line-through!important;
  font-size:13px!important;font-weight:600!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__saving {
  color:#137447!important;background:#eaf8f0!important;border-radius:6px!important;
  padding:3px 7px!important;font-weight:750!important;font-size:11px!important;
  line-height:1.4!important;margin-top:2px!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__price {
  font-size:21px!important;line-height:1.25!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__buy .button {
  border-radius:9px!important;min-height:46px!important;font-weight:750!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__info {gap:9px!important;}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__name-link:hover h2 {color:#e45c09!important;}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__sale {
  background:#e65e14!important;color:#fff!important;font-size:11px!important;
  padding:5px 9px!important;border-radius:7px!important;box-shadow:0 2px 8px rgba(198,78,8,.12)!important;
}
@media(max-width:1030px) {
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product {padding:14px!important;column-gap:14px!important;}
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__current-price {font-size:21px!important;}
}
@media(max-width:680px) {
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product {padding:13px!important;gap:13px!important;}
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__buy {align-items:stretch!important;justify-content:space-between!important;}
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__pricing {flex:1 1 auto!important;}
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__current-price {font-size:22px!important;}
}


/* v0.9.49: right-aligned pricing column and explicit discount badge. */
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__buy {
  align-items:flex-end!important;
  text-align:right!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__pricing {
  align-items:flex-end!important;
  text-align:right!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__regular-price,
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__saving,
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__price-label,
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__price {
  text-align:right!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__buy .button {
  width:min(100%, 190px)!important;
  align-self:flex-end!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__sale {
  min-height:28px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
@media(max-width:680px) {
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__buy {
  align-items:stretch!important;
  text-align:left!important;
 }
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__pricing,
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__regular-price,
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__saving,
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__price-label,
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__price {
  align-items:flex-start!important;
  text-align:left!important;
 }
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__buy .button {
  width:100%!important;
  max-width:none!important;
  align-self:stretch!important;
 }
}


/* v0.9.58: shipping time and verified 30-day historical price in list cards. */
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__omnibus {
  display:block!important;
  font-size:11px!important;
  font-weight:500!important;
  color:#68768b!important;
  line-height:1.45!important;
  max-width:250px!important;
  text-align:right!important;
  overflow-wrap:anywhere;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__delivery {
  display:inline-flex!important;
  align-items:center!important;
  line-height:1.45!important;
  font-size:12px!important;
}
@media(max-width:680px) {
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__omnibus {
  text-align:left!important;max-width:100%!important;
 }
}


/* DM24 0.9.61: shared EAN and Additional information rows in both catalog modes. */
body.dm24-product-listing .dm24-catalog-facts {
    display:grid!important;gap:5px!important;margin:8px 0!important;min-width:0!important;
    color:#52647e!important;font-size:12px!important;line-height:1.45!important;
}
body.dm24-product-listing .dm24-catalog-facts__row {display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;overflow-wrap:anywhere!important;}
body.dm24-product-listing .dm24-catalog-facts__label {font-weight:750!important;color:#243a56!important;}
body.dm24-product-listing.dm24-view-list .dm24-list-product__info .dm24-catalog-facts {margin:4px 0!important;gap:4px!important;}
body.dm24-product-listing:not(.dm24-view-list) ul.products li.product .dm24-catalog-facts {
    width:100%!important;flex:0 0 auto!important;font-size:11px!important;gap:5px!important;
    padding:8px 0!important;margin:5px 0 8px!important;border-top:1px solid #edf0f5!important;
}
body.dm24-product-listing:not(.dm24-view-list) ul.products li.product .dm24-tile-omnibus {
    width:100%!important;flex:0 0 auto!important;color:#667085!important;font-size:10px!important;
    line-height:1.4!important;margin:3px 0 10px!important;overflow-wrap:anywhere!important;
}
@media(max-width:700px){body.dm24-product-listing .dm24-catalog-facts{font-size:11px!important;}}


/* DM24 0.9.62 — consistent card heights, archive gutters and dispatch message. */
@media (min-width: 701px) {
 body.dm24-product-listing:not(.dm24-view-list) ul.products {
   align-items:stretch!important;grid-auto-rows:1fr!important;
 }
 body.dm24-product-listing:not(.dm24-view-list) ul.products > li.product {
   display:flex!important;flex-direction:column!important;align-self:stretch!important;
   height:100%!important;min-height:0!important;
 }
 body.dm24-product-listing:not(.dm24-view-list) ul.products > li.product .dm24-catalog-facts {
   min-height:74px!important;
 }
 body.dm24-product-listing:not(.dm24-view-list) ul.products > li.product .dm24-tile-omnibus {
   min-height:28px!important;
 }
 body.dm24-product-listing:not(.dm24-view-list) ul.products > li.product > a.button,
 body.dm24-product-listing:not(.dm24-view-list) ul.products > li.product > a.add_to_cart_button,
 body.dm24-product-listing:not(.dm24-view-list) ul.products > li.product > a.product_type_simple {
   margin-top:auto!important;flex-shrink:0!important;
 }
}
/* Keep the same catalogue spacing on the main /sklep/ archive. */
body.dm24-product-listing.post-type-archive-product.dm24-view-list ul.products,
body.dm24-product-listing.woocommerce-shop.dm24-view-list ul.products {
  gap:12px!important;row-gap:12px!important;
}
body.dm24-product-listing.post-type-archive-product .dm24-catalog-toolbar,
body.dm24-product-listing.woocommerce-shop .dm24-catalog-toolbar {
  margin-bottom:18px!important;
}
body.dm24-product-listing .dm24-catalog-same-day {
  display:flex;align-items:center;gap:9px;box-sizing:border-box;
  width:100%;margin:8px 0 10px!important;padding:9px 11px;
  background:#eefaf2;border:1px solid #bee9cc;border-radius:9px;
  color:#195e36;font-size:11px;line-height:1.35;text-align:left;
}
body.dm24-product-listing .dm24-catalog-same-day__copy {display:flex;flex-direction:column;gap:3px;min-width:0;}
body.dm24-product-listing .dm24-catalog-same-day__icon {font-size:16px;flex:none;}
body.dm24-product-listing .dm24-catalog-same-day strong {font-weight:750;}
body.dm24-product-listing .dm24-catalog-same-day small {font-size:10px;color:#467b5c;}
body.dm24-product-listing .dm24-catalog-same-day[hidden] {display:none!important;}
body.dm24-product-listing.dm24-view-list .dm24-list-product__info .dm24-catalog-same-day {max-width:380px;margin:3px 0!important;}
@media(max-width:700px) {
 body.dm24-product-listing:not(.dm24-view-list) ul.products {align-items:stretch!important;}
 body.dm24-product-listing:not(.dm24-view-list) ul.products > li.product {align-self:stretch!important;height:100%!important;}
}


/* 0.9.63: switch to first additional gallery image on mouse hover (list view). */
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__media a:has(.dm24-list-image-secondary) {
  position:relative!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__media img.dm24-list-image-secondary {
  position:absolute!important;inset:0!important;z-index:1!important;
  width:100%!important;height:100%!important;max-height:none!important;
  margin:0!important;padding:0!important;object-fit:contain!important;
  opacity:0!important;visibility:hidden!important;
  transition:opacity .2s ease,visibility .2s ease!important;
  transform:none!important;pointer-events:none!important;
}
@media (hover:hover) and (pointer:fine) {
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product:hover .dm24-list-product__media img.dm24-list-image-secondary,
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__media a:focus-visible img.dm24-list-image-secondary {
   opacity:1!important;visibility:visible!important;
 }
}
@media (prefers-reduced-motion:reduce) {
 body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product .dm24-list-product__media img.dm24-list-image-secondary {transition:none!important;}
}

/* 0.9.65 – whole card is a navigation target, existing action links keep native behavior. */
body.dm24-product-listing ul.products > li.product { cursor: pointer; }
body.dm24-product-listing ul.products > li.product :is(a, button, input, select, textarea, label) { cursor: revert; }


/* DM24 0.9.106 — category/search/shop list: consistent breathing room. */
body.dm24-product-listing.dm24-view-list ul.products {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  row-gap:18px!important;column-gap:0!important;align-content:start!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product {
  margin:0!important;box-sizing:border-box!important;
  border:1px solid #e1e7ee!important;border-radius:14px!important;
  box-shadow:0 2px 9px rgba(19,43,75,.035)!important;
}
/* The bank's catalogue teaser is styled, not recreated: calculations and links remain native. */
body.dm24-product-listing.dm24-view-list .dm24-list-product__buy > .dm24-list-finance-teaser {
  width:100%!important;max-width:100%!important;min-width:0!important;
  padding:10px 12px!important;margin:0!important;
  border:1px solid #dcece3!important;border-radius:10px!important;
  background:#f4faf6!important;box-shadow:none!important;box-sizing:border-box!important;
  display:flex!important;flex-direction:column!important;gap:5px!important;
  text-align:left!important;align-items:flex-start!important;
  color:#18374a!important;font-size:12px!important;line-height:1.35!important;
}
body.dm24-product-listing.dm24-view-list .dm24-list-finance-teaser :is(p,div,span,strong,small) {
  max-width:100%!important;min-width:0!important;margin-top:0!important;margin-bottom:0!important;
  line-height:1.35!important;overflow-wrap:normal!important;
}
body.dm24-product-listing.dm24-view-list .dm24-list-finance-teaser a {
  display:inline-flex!important;align-items:center!important;min-height:22px!important;
  font-size:12px!important;font-weight:750!important;line-height:1.35!important;
  color:#13365c!important;text-decoration:underline!important;text-underline-offset:2px!important;
}
body.dm24-product-listing.dm24-view-list .dm24-list-finance-teaser :is(small,.description) {
  font-size:10px!important;color:#708079!important;line-height:1.35!important;
}
@media (max-width:900px){
  body.dm24-product-listing.dm24-view-list ul.products {row-gap:14px!important;}
}
@media (max-width:680px){
  body.dm24-product-listing.dm24-view-list ul.products {row-gap:12px!important;}
  body.dm24-product-listing.dm24-view-list .dm24-list-product__buy > .dm24-list-finance-teaser {
    flex:1 1 100%!important;order:3!important;
  }
}


/* DM24 0.9.107 — list spacing: scoped to REAL Blocksy/WooCommerce markup.
   Vertical margin is deliberate: previous grid gap was overridden in category layouts. */
body.dm24-product-listing.dm24-view-list ul.products,
body.dm24-product-listing.dm24-view-list .dm24-category-main ul.products {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  row-gap:0!important;
  column-gap:0!important;
  align-items:stretch!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product,
body.dm24-product-listing.dm24-view-list .dm24-category-main ul.products > li.product.dm24-list-product {
  margin:0!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product + li.product.dm24-list-product,
body.dm24-product-listing.dm24-view-list .dm24-category-main ul.products > li.product.dm24-list-product + li.product.dm24-list-product {
  margin-top:18px!important;
}
/* The loan teaser is injected by a payment provider; the JS only marks its wrapper.
   No calculations, labels or URLs are replaced. */
body.dm24-product-listing.dm24-view-list .dm24-list-product__buy > .dm24-finance-teaser-detected {
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:5px!important;
  margin:2px 0 0!important;
  padding:10px 11px!important;
  border:1px solid #dcebe3!important;
  border-radius:10px!important;
  background:#f5faf7!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  text-align:left!important;
  box-shadow:none!important;
  font-size:12px!important;
  line-height:1.4!important;
  overflow-wrap:anywhere!important;
}
body.dm24-product-listing.dm24-view-list .dm24-finance-teaser-detected :is(p,div,span,strong,small) {
  margin-top:0!important;
  margin-bottom:0!important;
  max-width:100%!important;
  line-height:1.4!important;
}
body.dm24-product-listing.dm24-view-list .dm24-finance-teaser-detected a:not(.button) {
  color:#183a5e!important;
  font-size:12px!important;
  font-weight:700!important;
  text-decoration:underline!important;
  text-underline-offset:2px!important;
}
@media (max-width:900px){
  body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product + li.product.dm24-list-product {margin-top:14px!important;}
}
@media (max-width:680px){
  body.dm24-product-listing.dm24-view-list ul.products > li.product.dm24-list-product + li.product.dm24-list-product {margin-top:12px!important;}
}
