body.single-product {
	background: #f7f9fc;
}

body.single-product .product_title {
	color: var(--dm24-text, #132238);
	font-size: clamp(30px, 2.7vw, 42px) !important;
	font-weight: 800 !important;
	line-height: 1.16 !important;
	letter-spacing: -.025em;
}

body.single-product div.product p.price {
	margin: 12px 0 18px !important;
	color: #111827 !important;
	font-size: 30px !important;
	font-weight: 850 !important;
	line-height: 1.2;
}

body.single-product div.product p.price del {
	color: #98a2b3;
	font-size: 15px;
	font-weight: 500;
	opacity: 1;
}

body.single-product div.product p.price ins {
	text-decoration: none;
}

body.single-product.dm24-single-panel div.product .summary {
	padding: 26px !important;
	background: #fff;
	border: 1px solid #e7eaf0;
	border-radius: 14px;
	box-shadow: 0 6px 22px rgba(23, 35, 56, .04);
}

body.single-product div.product form.cart {
	margin: 18px 0 !important;
}

body.single-product div.product form.cart .quantity input {
	min-height: 52px;
	border-color: #d9dee7;
	border-radius: 8px;
}

body.single-product div.product form.cart .single_add_to_cart_button {
	min-height: 52px;
	padding: 14px 24px !important;
	background: var(--dm24-single-button, var(--dm24-orange, #FF6A00)) !important;
	border-radius: 8px !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 850 !important;
	box-shadow: none !important;
}

body.single-product div.product form.cart .single_add_to_cart_button:hover {
	filter: brightness(.95);
}

.dm24-product-delivery {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0 16px;
	padding: 12px 14px;
	background: #f0f8f3;
	border: 1px solid #d7ecdd;
	border-radius: 8px;
	color: #16833b;
	font-size: 13px;
}

.dm24-product-delivery > span {
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	background: #dff3e5;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 900;
}

.dm24-product-benefits {
	display: grid;
	gap: 8px;
	margin-top: 18px;
}

.dm24-product-benefit {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: #fafbfc;
	border: 1px solid #edf0f4;
	border-radius: 8px;
}

.dm24-benefit-check {
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	background: #eef7f1;
	border-radius: 50%;
	color: #16833b;
	font-size: 13px;
	font-weight: 900;
}

.dm24-product-benefit strong,
.dm24-product-benefit small {
	display: block;
}

.dm24-product-benefit strong {
	color: #344054;
	font-size: 13px;
}

.dm24-product-benefit small {
	margin-top: 2px;
	color: #7b8493;
	font-size: 11px;
}

body.single-product .product_meta {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #edf0f4;
	color: #667085;
	font-size: 12px;
}

body.single-product .woocommerce-product-gallery {
	background: #fff;
	border-radius: 12px;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
	padding: 4px;
	border: 1px solid transparent;
	border-radius: 7px;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover {
	border-color: #d8dde6;
}

@media (max-width: 690px) {
	body.single-product.dm24-single-panel div.product .summary {
		padding: 18px !important;
	}
}


/* Metadane produktu: SKU + EAN, z opcjonalnym ukryciem kategorii i znaczników */
body.single-product.dm24-hide-product-category .product_meta .posted_in {
	display: none !important;
}

body.single-product.dm24-hide-product-tags .product_meta .tagged_as {
	display: none !important;
}

body.single-product .product_meta .sku_wrapper,
body.single-product .product_meta .dm24-ean {
	display: inline-flex;
	align-items: center;
	margin: 0 18px 6px 0;
	color: #667085;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .035em;
}

body.single-product .product_meta .sku,
body.single-product .product_meta .dm24-ean span {
	margin-left: 5px;
	color: #344054;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
}


/* DM24 0.4.3 — dostępność i wysyłka w jednym wierszu */
body.single-product .summary > .stock:not(.dm24-stock-status),
body.single-product .summary .stock.dm24-stock-status {
	display: none !important;
}

body.single-product .dm24-product-delivery {
	display: none !important;
}

.dm24-availability-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 11px;
	margin: 14px 0 18px;
	padding: 13px 15px;
	background: #f8fafc;
	border: 1px solid #e7ecf2;
	border-radius: 9px;
	color: #475467;
	font-size: 13px;
	line-height: 1.3;
}

.dm24-availability-item,
.dm24-delivery-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.dm24-availability-item {
	color: var(--dm24-current-status, #16833b);
}

.dm24-availability-dot {
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	background: currentColor;
	border-radius: 50%;
}

.dm24-availability-separator {
	width: 1px;
	height: 22px;
	background: #d9e0e8;
}

.dm24-delivery-check {
	display: inline-grid;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	place-items: center;
	background: #e7f5eb;
	border-radius: 50%;
	color: #16833b;
	font-size: 11px;
	font-weight: 900;
}

.dm24-delivery-item strong {
	color: #344054;
}

@media (max-width: 560px) {
	.dm24-availability-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.dm24-availability-separator {
		display: none;
	}
}

/* =========================================================
   DM24 - LOGISTYKA PRODUKTU V2
   ========================================================= */

body.single-product .dm24-product-logistics {
margin: 18px 0 18px !important;
padding: 16px 18px !important;
border: 1px solid #dbe3ec !important;
border-radius: 12px !important;
background: #f8fafc !important;
}

body.single-product .dm24-logistics-grid {
display: grid !important;
grid-template-columns: 1fr 1fr !important;
gap: 24px !important;
align-items: start !important;
}

body.single-product .dm24-logistics-box {
display: flex !important;
flex-direction: column !important;
gap: 7px !important;
min-width: 0 !important;
margin: 0 !important;
padding: 0 !important;
}

body.single-product .dm24-logistics-label {
display: block !important;
margin: 0 !important;
color: #7a8699 !important;
font-size: 11px !important;
font-weight: 700 !important;
line-height: 1.2 !important;
letter-spacing: .06em !important;
text-transform: uppercase !important;
}

body.single-product .dm24-availability-item,
body.single-product .dm24-delivery-value {
display: inline-flex !important;
align-items: center !important;
gap: 8px !important;
margin: 0 !important;
font-size: 15px !important;
line-height: 1.35 !important;
}

body.single-product .dm24-availability-item strong,
body.single-product .dm24-delivery-value strong {
font-size: 15px !important;
font-weight: 700 !important;
}

body.single-product .dm24-availability-dot,
body.single-product .dm24-delivery-dot {
display: inline-block !important;
width: 9px !important;
height: 9px !important;
flex: 0 0 9px !important;
border-radius: 50% !important;
}

/* Dost>>pny */
body.single-product .dm24-availability-available {
color: #16833b !important;
}

body.single-product .dm24-availability-available .dm24-availability-dot {
background: #20a455 !important;
}

/* Ostatnie sztuki / mao */
body.single-product .dm24-availability-low,
body.single-product .dm24-availability-last,
body.single-product .dm24-availability-few {
color: #9a6700 !important;
}

body.single-product .dm24-availability-low .dm24-availability-dot,
body.single-product .dm24-availability-last .dm24-availability-dot,
body.single-product .dm24-availability-few .dm24-availability-dot {
background: #e6a700 !important;
}

/* Niedost>>pny */
body.single-product .dm24-availability-out {
color: #b42318 !important;
}

body.single-product .dm24-availability-out .dm24-availability-dot {
background: #dc3232 !important;
}

/* Wysyka 24h */
body.single-product .dm24-delivery-value-24 {
color: #16833b !important;
}

body.single-product .dm24-delivery-value-24 .dm24-delivery-dot {
background: #20a455 !important;
}

/* 48 / 72h */
body.single-product .dm24-delivery-value-fast {
color: #43864f !important;
}

body.single-product .dm24-delivery-value-fast .dm24-delivery-dot {
background: #64b36f !important;
}

/* 4-7 dni */
body.single-product .dm24-delivery-value-medium {
color: #9a6700 !important;
}

body.single-product .dm24-delivery-value-medium .dm24-delivery-dot {
background: #e6a700 !important;
}

/* 10+ dni */
body.single-product .dm24-delivery-value-slow,
body.single-product .dm24-delivery-value-other {
color: #b15f00 !important;
}

body.single-product .dm24-delivery-value-slow .dm24-delivery-dot,
body.single-product .dm24-delivery-value-other .dm24-delivery-dot {
background: #dd7a00 !important;
}


/* SAME DAY */

body.single-product .dm24-same-day {
display: flex !important;
align-items: center !important;
gap: 12px !important;
margin-top: 14px !important;
padding: 12px 14px !important;
border: 1px solid #bfe5ca !important;
border-radius: 9px !important;
background: #effaf2 !important;
color: #166534 !important;
}

body.single-product .dm24-same-day-icon {
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 30px !important;
height: 30px !important;
flex: 0 0 30px !important;
border-radius: 50% !important;
background: #dcf5e3 !important;
font-size: 16px !important;
line-height: 1 !important;
}

body.single-product .dm24-same-day-content {
display: flex !important;
flex-direction: column !important;
gap: 3px !important;
min-width: 0 !important;
}

body.single-product .dm24-same-day-content strong {
display: block !important;
color: #1f5130 !important;
font-size: 14px !important;
font-weight: 700 !important;
line-height: 1.3 !important;
}

body.single-product .dm24-same-day-countdown {
display: block !important;
margin: 0 !important;
color: #668273 !important;
font-size: 12px !important;
line-height: 1.3 !important;
}


/* GALERIA - ograniczenie nadmiernego powi>>kszania zdj>> */

@media (min-width: 768px) {

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
height: 620px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
overflow: hidden !important;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a {
width: 100% !important;
height: 100% !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
width: auto !important;
height: auto !important;
max-width: 100% !important;
max-height: 620px !important;
object-fit: contain !important;
margin: auto !important;
}
}

@media (max-width: 767px) {

body.single-product .dm24-logistics-grid {
grid-template-columns: 1fr 1fr !important;
gap: 12px !important;
}

body.single-product .dm24-product-logistics {
padding: 13px 14px !important;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
width: auto !important;
max-width: 100% !important;
max-height: 460px !important;
object-fit: contain !important;
margin: auto !important;
}
}

