body.type-product p{
	color:var(--master-color_black);
}
/* layout */
body.type-product div.p-image-wrapper{
	width:65%;
	display: flex;
	flex-wrap:wrap;
}
body.type-product div.p-info-wrapper{
	width:35%;
}
body.type-product div.p-image{
	width:100%;
}
body.type-product div.p-thumbnails-wrapper{
	width:100%;
}
/* breakcrumbs */
.breadcrumbs{
	border:unset;
	border-color:#ffffff !important;
	padding:10px 0;
}
.breadcrumbs, .breadcrumbs a{
	color:var(--master-grey-dark);
	font-weight:bold;
}
.breadcrumbs>span>a:before{
	content:unset !important;
}
.type-product div.breadcrumbs span[itemprop="name"]{
	max-width: 250px;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.breadcrumbs>span>a:after{
	background-image: url(/user/documents/upload/grafika/ikonky/right-arrow.png);
	background-size: 10px 10px;
	display: inline-block;
    width: 10px !important;
    height: 10px !important;
    position: absolute;
    right: -5px !important;
    background-color:unset !important;
    transform: unset !important;
    bottom:15px !important;
}
.breadcrumbs #navigation-first a{
	padding-left:0;
}
@media screen and (max-width: 991px){
	.breadcrumbs{
		overflow: overlay;
		display:flex;
		padding-top:0
	 }
	.breadcrumbs>span>a{
		display:flex;
		flex-direction: row;
		align-items:center;
	}
	.breadcrumbs>span>a:after{
		position:unset;
		content:"";
		margin-left:5px;
		margin-right:5px;
	}
}
@media screen and (max-width: 767px){
	.type-product .container.breadcrumbs-wrapper{
		padding:0 15px
	}
}
/* image wrapper */
body.type-product div.p-image div.flags{
	display:none;
}
body.type-product div.p-image-wrapper .p-image img{
	border-radius:5px
}
/* label */
body.type-product div.p-image-wrapper div.flags{
	display:none;
}

/* =============================== */
/* NEW TEXT WRAPPER LAYOUT        */
/* =============================== */

/* ------------------------------ */
/* INFO WRAPPER + TITLE          */
/* ------------------------------ */
.type-product .p-info-wrapper {
	container: small-info_wrapper-box / inline-size;
}

.type-product div.p-info-wrapper{
	display:grid;
	grid-template-columns: repeat(12,1fr);
}

.type-product div.p-detail-inner-header{
	grid-row-start: 1;
	grid-row-end: 1;
	grid-column: 1 / 13;
}

.p-detail-inner-header h1 {
	font-weight: bold;
	color: var(--master-color_black);
	margin-top: 0;
}

.type-product .p-info-wrapper p{
	margin-bottom:1rem
}


/* ------------------------------ */
/* PRODUCT LABELS                */
/* ------------------------------ */
.p-detail-info{
	flex-direction: column;
	align-items: flex-start;
}
.p-detail-info>div+div:before {
	content: unset;
}
.p-detail-info .stars-wrapper {
	display: none;
}

.type-product div.p-detail-info {
	grid-row: 2;
	grid-column: 1 / 13;
	margin-bottom: 1rem;
}

/* Product flags */
.type-product span.flag{
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

body.type-product .p-detail-info div.flags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

body.type-product .p-detail-info div.flags span.flag {
	width: fit-content;
	max-width: 100%;
	border-radius: 5px;
	line-height: 1.5;
}

body.type-product .p-detail-info div.flags:before {
	content: unset;
}

/* DKLab Zakoupeno */
#zakoupeno_wrapper{
	margin-top:-5px
}
#dklabZakoupeno{
	display: flex;
	position: unset;
	line-height: 1.5;
	background: none;
	color: #ffffff;
	background-color: #548484;
	padding: 4px 10px;
	border: none;
	font-size: 13px;
	font-weight: 700;
	border-radius: 5px;
	width: fit-content;
	align-items: end;
	margin-bottom:0.5rem
}
#dklabZakoupeno .num{
	padding-left:0.35rem;
	font-size:13px;
}


/* ------------------------------ */
/* INTERCONNECTION STYLES       */
/* ------------------------------ */
.type-product div.interconnection-main-wrapper {
	display: flex;
	flex-direction: column;
	grid-column: 1 / 13;
	grid-row: 3;
	margin-bottom: 1rem;
	margin-top:1rem
}

.type-product .interconnection-headline {
	font-weight: bold;
	margin-bottom: 0.5rem !important;
}

.type-product div.interconnection-products-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.type-product div.interconnection-product-item {
	min-width: 80px;
	width: 80px;
	height: 80px;
	border: 1px solid var(--master-grey-border);
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.type-product div.interconnection-main-wrapper.all-variants .interconnection-product-item {
	display: flex;
}

.type-product div.interconnection-product-item:hover {
	border-color: var(--master-color-primary);
}

.type-product div.interconnection-product-item img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	cursor: pointer;
	border-radius: 3px;
}

/* Tooltip */
.type-product .tooltip-product-variant {
	position: relative;
	display: inline-block;
}

.type-product .tooltip-product-variant-text {
	visibility: hidden;
	position: absolute;
	z-index: 1;
	opacity: 0;
	transition: opacity 0.3s;
	bottom: 45px;
	left: -115px;
	width: 160px;
	max-width: 300px;
	padding: 10px;
	text-align: center;
	color: #fff;
	background-color: var(--master-color-primary);
	border-radius: 6px;
	font-weight: bold;
	box-shadow: 0 0 8px rgba(0, 0, 0, .2);
}

.type-product .interconnection-product-item:hover .tooltip-product-variant-text {
	visibility: visible;
	opacity: 1;
}

.type-product div.interconnection-showmore-wrapper {
	display: none;
	margin-top: 5px;
}

.type-product .interconnection-showmore-text {
	cursor: pointer;
}

.type-product .interconnection-showmore-text:hover {
	text-decoration: underline;
}


/* ------------------------------ */
/* RESPONSIVE - INTERCONNECTION  */
/* ------------------------------ */
@media screen and (min-width: 1403px) {
	.type-product div.interconnection-product-item:nth-child(n + 7) {
		display: none;
	}

	.type-product div.interconnection-main-wrapper:has(div.variant-int-6) div.interconnection-showmore-wrapper {
		display: block;
	}
}

@media screen and (max-width: 1402px) {
	.type-product div.interconnection-product-item:nth-child(n + 6) {
		display: none;
	}

	.type-product div.interconnection-main-wrapper:has(div.variant-int-5) div.interconnection-showmore-wrapper {
		display: block;
	}
}

@media screen and (max-width: 1189px) {
	.type-product div.interconnection-product-item:nth-child(n + 5) {
		display: none;
	}

	.type-product div.interconnection-main-wrapper:has(div.variant-int-4) div.interconnection-showmore-wrapper {
		display: block;
	}
}

@media screen and (max-width: 1149px) {
	.type-product div.interconnection-product-item:nth-child(n) {
		display: flex;
	}

	.type-product div.interconnection-product-item:nth-child(n + 6) {
		display: none;
	}

	.type-product div.interconnection-main-wrapper:has(div.variant-int-5) div.interconnection-showmore-wrapper {
		display: block;
	}

	.type-product div.interconnection-main-wrapper:has(div.variant-int-4) div.interconnection-showmore-wrapper {
		display: none;
	}
}

@media screen and (max-width: 991px) {
	.type-product div.interconnection-product-item:nth-child(n) {
		display: flex;
	}

	.type-product div.interconnection-products-wrapper {
		overflow: overlay;
		flex-wrap: nowrap;
		padding-bottom: 10px;
	}

	.type-product div.interconnection-showmore-wrapper {
		display: none !important;
	}
}

@media screen and (max-width: 576px){
	.type-product div.interconnection-main-wrapper {
		grid-row: 1;
	}
}


/* ------------------------------ */
/* PARAMS STYLES                */
/* ------------------------------ */
.type-product table.detail-parameters {
	grid-row: 5;
	grid-column: 1 / 13;
	margin-bottom: 1rem;
	margin-top: 1rem;
}

.type-product table.detail-parameters tr:nth-child(1) {
	display: none;
}

.type-product table.detail-parameters th {
	display: flex;
	padding-bottom: 0.5rem;
}

.type-product table.detail-parameters .row-header-label {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	color: var(--master-color_black);
	font-size: 12px;
}

.type-product table.detail-parameters .row-header-label .row-header-label-colon {
	display: none;
}

.type-product table.detail-parameters td {
	color: var(--master-color_black);
	font-size: 12px;
	padding-bottom: 1rem;
	border: none;
}

.type-product table.detail-parameters td a {
	color: var(--master-color_black);
	text-decoration: underline;
}

.type-product table.detail-parameters td a:hover {
	color: var(--master-color-primary);
}
.p-info-wrapper p.lupa{
	margin-bottom:0
}
.p-info-wrapper p.lupa:before {
    content: '\f00e'!important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    font-size: 130%;
	margin-right:0.5rem;
}
.type-product table.detail-parameters tr:has(#jsUnavailableCombinationMessage){
	display:none
}
.type-product table.detail-parameters tr.sold-out{
	display:none !important
}
.type-product .p-info-wrapper table.detail-parameters th{
	font-weight:bold;
	color:var(--master-color_black);
}
.type-product .p-info-wrapper table.detail-parameters tr{
	display:flex;
	flex-direction: column;
}

/* ------------------------------ */
/* VARIANTS – výběr variant jako karty
   Karta = obrázek + název (label.advanced-parameter), zvolená karta s rámečkem a fajfkou,
   u nadpisu vpravo zvolená hodnota (.pp-variant-chosen), doporučená hodnota se štítkem
   (.is-recommended + .pp-variant-badge). Obojí doplňuje product_page_v2.js. */
/* ------------------------------ */
.type-product .p-info-wrapper table.detail-parameters{
	--pp-variant-accent: #0f8a8c;
	--pp-variant-reco: var(--master-color-primary);
	--pp-variant-reco-bg: var(--master-color-primary-ultralight);
	--pp-variant-line: #e3e3e3;
	--pp-variant-radius: 10px;
}
/* nadpis skupiny vlevo, zvolená hodnota vpravo */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > th{
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 0 0 12px;
	font-size: 15px;
	line-height: 1.3;
}
.type-product .p-info-wrapper table.detail-parameters .pp-variant-chosen{
	min-width: 0;
	overflow: hidden;
	font-size: 13px;
	font-weight: 400;
	color: var(--master-grey-dark);
	text-align: right;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td{
	padding-bottom: 24px;
}
/* mřížka karet – pevný počet sloupců, ať mají karty ve všech skupinách stejnou šířku */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}
/* obal skrytého výchozího radia („nic nevybráno“) by zabral první buňku */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > span:has(> input.variant-default){
	display: none;
}
/* štítek „Doporučujeme“ je proužek nahoře UVNITŘ karty (20 px) – všechny karty ve skupině
   dostanou nahoře stejné místo, ať obrázky a názvy zůstanou v jedné linii */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div:has(.is-recommended) > label{
	padding-top: 32px;
}
/* karta */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	width: auto;
	max-width: none;
	min-width: 0;
	height: auto;
	min-height: 0;
	max-height: none;
	margin: 0;
	padding: 14px 8px 12px;
	background-color: #ffffff;
	border: 1px solid var(--pp-variant-line);
	border-radius: var(--pp-variant-radius);
	box-shadow: none;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
}
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label:hover{
	border-color: var(--master-grey-medium);
}
/* obal obrázku – zrušit Shoptetí čtvereček a jeho fajfku */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div span.advanced-parameter-inner{
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div span.advanced-parameter-inner:before,
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div span.advanced-parameter-inner:after{
	content: none;
	display: none;
}
.type-product .p-info-wrapper table.detail-parameters .advanced-parameter-inner img{
	display: block;
	width: 100%;
	max-width: 96px;
	height: 64px;
	margin: 0 auto;
	object-fit: contain;
	border-radius: 0;
	mix-blend-mode: multiply; /* bílé pozadí obrázku zmizí i na podbarvené kartě */
}
/* radio skryté, ale ovladatelné z klávesnice */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list label.advanced-parameter input[type="radio"]{
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label:has(input:focus-visible){
	outline: 2px solid var(--pp-variant-accent);
	outline-offset: 2px;
}
/* název hodnoty (Shoptet ho má skrytý atributem hidden) */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div span.parameter-value{
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	font-size: 12.5px;
	font-weight: bold;
	line-height: 1.3;
	letter-spacing: 0;
	color: var(--master-color_black);
	text-align: center;
	/* bez dělení slov – „Delu-xe“, „Som-mera“ v němčině vypadaly špatně; dlouhé slovo se zlomí až v nouzi */
	overflow-wrap: break-word;
	hyphens: manual;
}
/* zvolená karta: rámeček + fajfka v kruhu vpravo nahoře – barva jako štítek „Doporučujeme“ */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label:has(input:checked){
	border-color: var(--pp-variant-reco);
	box-shadow: inset 0 0 0 1px var(--pp-variant-reco);
}
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label:has(input:checked):after{
	content: "";
	position: absolute;
	top: 7px;
	right: 7px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--pp-variant-reco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
/* starý štítek „DOPORUČUJEME / WIR EMPFEHLEN“ z custom_css/<SHOP>/config.css
   (#parameter-id-NNN > label:nth-child(3):before) – nahrazuje ho .pp-variant-badge;
   !important, protože config.css se načítá až po tomhle souboru */
.type-product table.detail-parameters tr.variant-list label.advanced-parameter:before{
	content: none !important;
	display: none !important;
}
/* doporučená hodnota: štítek nahoře v kartě; bez podbarvení – zvolená vypadá jako ostatní zvolené */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label.is-recommended{
	overflow: hidden; /* proužek kopíruje zaoblení karty */
}
/* fajfka pod proužek se štítkem */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label.is-recommended:has(input:checked):after{
	top: 25px;
}
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label.is-recommended:has(input:checked){
	border-color: var(--pp-variant-reco);
	box-shadow: inset 0 0 0 1px var(--pp-variant-reco);
}
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label.is-recommended:has(input:checked):after{
	background-color: var(--pp-variant-reco);
}
.type-product .p-info-wrapper table.detail-parameters .pp-variant-badge{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	height: 20px;
	padding: 0 6px;
	overflow: hidden;
	font-size: 11px;
	font-weight: bold;
	line-height: 1;
	color: var(--master-color-white);
	white-space: nowrap;
	background-color: var(--pp-variant-reco);
	border-radius: 0;
}
/* parametr bez obrázků – product_page_v2.js z <select> udělá karty jen s názvem (.pp-variant-text);
   select zůstává ve stránce kvůli Shoptetu, jen není vidět */
.type-product .p-info-wrapper table.detail-parameters tr.pp-variant-has-text-cards select.hidden-split-parameter{
	display: none;
}
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label.pp-variant-text{
	justify-content: center;
	min-height: 52px;
	padding: 14px 10px;
}
/* menší fajfka, ať v nízké kartě nepřekrývá text */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label.pp-variant-text:has(input:checked):after{
	top: 5px;
	right: 5px;
	width: 16px;
	height: 16px;
	background-size: 10px;
}
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label.pp-variant-text.is-disabled{
	opacity: .45;
	cursor: not-allowed;
}
/* hodnota, kterou teď nejde objednat (vyprodáno / nedostupné) – šedá, ale klikatelná;
   třídu dává product_page_v2.js podle shoptet.variantsSplit */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label.is-unavailable{
	background-color: var(--master-grey-ultralight);
}
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label.is-unavailable .advanced-parameter-inner img{
	opacity: .4;
	filter: grayscale(1);
}
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label.is-unavailable span.parameter-value{
	color: var(--master-grey-dark);
	font-weight: 600;
}
/* zvolená, ale neobjednatelná: rámeček i fajfka tmavě šedé (ne tyrkys – „vybráno“, ne „dobrá volba“);
   .is-unavailable.is-unavailable kvůli přebití .is-recommended:has(input:checked) */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label.is-unavailable.is-unavailable:has(input:checked){
	background-color: var(--master-grey-ultralight);
	border-color: var(--master-grey-dark);
	box-shadow: inset 0 0 0 1px var(--master-grey-dark);
}
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label.is-unavailable.is-unavailable:has(input:checked):after{
	background-color: var(--master-grey-dark);
}
/* zákazník klikl na Koupit bez výběru varianty */
.type-product.variant-not-chosen table.detail-parameters th{
	color:var(--master-color-secondary)
}
.type-product.variant-not-chosen .p-info-wrapper table.detail-parameters tr.variant-list:not(.variant-selected) > td > div > label{
	border-color: var(--master-color-secondary);
	box-shadow: none;
}

/* ------------------------------ */
/* RESPONSIVE - PARAMS STYLES  */
/* ------------------------------ */
/* úzký sloupec s informacemi (mobil i úzké PC) → 3 karty vedle sebe */
@container small-info_wrapper-box (inline-size < 420px) {
	.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div{
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}
	.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label{
		padding: 12px 6px 10px;
	}
	.type-product .p-info-wrapper table.detail-parameters .advanced-parameter-inner img{
		height: 52px;
	}
	.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div span.parameter-value{
		font-size: 12px;
	}
	.type-product .p-info-wrapper table.detail-parameters .pp-variant-badge{
		font-size: 10.5px;
	}
}
@media screen and (max-width: 554px){
	.type-product table.detail-parameters {
		grid-row: 2;
	}
}


/* ------------------------------ */
/* PRICE STYLES                 */
/* ------------------------------ */
.type-product div.availability-value {
	grid-row: 6;
	grid-column: 1 / 7;
	font-size: 14px;
	margin-bottom: 2rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	flex-direction: column;
	align-items: flex-start;
}

.type-product div.p-final-price-wrapper {
	grid-row: 6;
	grid-column: 7 / 13;
	margin-bottom: 2rem;
	text-align: right;
}

/* ------------------------------ */
/* RESPONSIVE PRICE STYLES           */
/* ------------------------------ */
@media screen and (max-width: 499px){
	.type-product div.availability-value{
		grid-row:5;
		grid-column: 1 / 13;
	}
	.type-product div.p-final-price-wrapper {
		grid-column: 1 / 13;
		text-align:left
	}
}

/* ------------------------------ */
/* ADD TO CART                  */
/* ------------------------------ */
.type-product div.add-to-cart {
	grid-row: 7;
	grid-column: 1 / 13;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom:2rem
}

.type-product div.add-to-cart button {
	height: 60px;
	flex: 1;
	font-weight: bold;
	font-size: 18px;
	border-radius: 5px;
	padding: 0 30px !important;
	background-color: var(--master-color-green);
	border-color: var(--master-color-green);
	margin-top:0 !important;
}

.type-product div.add-to-cart button:before {
	content: unset;
}

.type-product div.add-to-cart button:hover {
	border-color: var(--master-color-green-light) !important;
	background-color: var(--master-color-green-light) !important;
}

/* ------------------------------ */
/* QUANTITY                     */
/* ------------------------------ */
.type-product .p-detail .add-to-cart .quantity {
	width: 170px;
	height: 60px;
	border: none;
}

.type-product .p-info-wrapper .quantity input {
	width: 90px;
	height: 60px;
	font-size: 18px;
	font-weight: bold;
	color: var(--master-color_black);
}

.type-product .p-info-wrapper .quantity span {
	width: 60px;
	height: 60px;
}

.type-product .p-info-wrapper .quantity .decrease,
.type-product .p-info-wrapper .quantity .increase {
	border: none !important;
	border-radius: 5px;
	background-color: var(--master-color-primary-ultralight) !important;
}

.type-product .p-info-wrapper .quantity .decrease:hover,
.type-product .p-info-wrapper .quantity .increase:hover {
	background-color: var(--master-color-primary-light) !important;
}

.type-product .p-info-wrapper .quantity .decrease:before,
.type-product .p-info-wrapper .quantity .increase:before {
	font-size: 30px !important;
	line-height: 50px !important;
	color: var(--master-color-primary);
}

.type-product .p-info-wrapper .quantity .decrease:before {
	content: "−";
}

.type-product .p-info-wrapper .quantity .increase:before {
	content: "+";
}

.type-product .p-info-wrapper .quantity .decrease {
	left: 0;
	top: 0;
	right: auto;
}


/* ------------------------------ */
/* SHORT DESCRIPTION            */
/* ------------------------------ */
.type-product div.p-short-description {
	grid-row: 8;
	grid-column: 1 / 13;
	line-height:1.7
}

.type-product p[data-testid="productCardDescr"] {
	display: none;
}


/* ------------------------------ */
/* RESPONSIVE CONTAINERS        */
/* ------------------------------ */
@container small-info_wrapper-box (inline-size < 520px) {
	.type-product .p-detail .add-to-cart .quantity {
		width: 140px;
		height: 45px;
	}

	.type-product .p-info-wrapper .quantity input {
		width: 75px;
		height: 45px;
	}

	.type-product .p-info-wrapper .quantity span {
		width: 45px;
		height: 45px;
	}

	.type-product div.add-to-cart button {
		height: 45px;
		font-size: 16px;
		padding: 0 20px !important;
	}

	.type-product .p-info-wrapper .quantity .decrease:before,
	.type-product .p-info-wrapper .quantity .increase:before {
		line-height: 35px !important;
	}
}

@container small-info_wrapper-box (inline-size < 420px) {
	@media screen and (min-width: 992px) {
		.type-product div.add-to-cart {
			grid-column: 1 / 13 !important;
			margin-right: 0 !important;
		}

		.type-product div.add-to-cart button.add-to-cart-button {
			width: 100%;
			margin-top: 1rem;
		}
	}
}


/* ------------------------------ */
/* EXTRA DESCRIPTION            */
/* ------------------------------ */
.type-product #parameters_wrapper{
	grid-row-start: 10;
    grid-row-end: 10;
    grid-column: 1 / 13;
}
.type-product #parameters_wrapper h3{
	color:var(--master-color_black);
	font-weight:bold;
	padding-bottom:1.5rem;
	padding-top:1.5rem;
	display: flex;
    justify-content: space-between;
    padding-right:2.5rem;
    margin:0;
}
.type-product #parameters_wrapper h3:hover{
	cursor:pointer;
}
.type-product #parameters_wrapper h3:after{
	font-size:18px;
	content: "\f107";
	font-family: 'Font Awesome 5 Free';
}
.type-product #parameters_wrapper .parameter-item.visible h3:after{
	content: "\f106";
}
.type-product #parameters_wrapper .parameter-item:not(:first-child){
	border-top:1px solid var(--master-grey-light);
}
.type-product #parameters_wrapper .parameter-description{
	display:none;
	margin-bottom:1.5rem;
}
.type-product #parameters_wrapper .parameter-description ul{
	padding-left:20px;
	margin-top:0
}
.type-product #parameters_wrapper .parameter-description ul li{
	background:none;
	padding-left:0;
	color:var(--master-color_black);
	margin:0
}
.type-product #parameters_wrapper .parameter-item.visible .parameter-description{
	display:block;
}
.type-product #parameters_wrapper .parameter-table{
	display:flex;
	flex-wrap:wrap;
}
.type-product #parameters_wrapper .parameter-table > *{
	width:calc(50% - 10px);
	margin:0;
	color:var(--master-color_black);
	font-size:14px;
}
.type-product #parameters_wrapper .parameter-table h4{
	width:35%;
	display: flex;
	align-items: center;
	background-color: #f8f8f8;
  border-bottom: 1px solid #d9d9d9;
  padding: 1rem;
  padding-top: 1.2rem;
}
.type-product #parameters_wrapper .parameter-table h4:first-of-type{
	border-top-left-radius:5px;
}
.type-product #parameters_wrapper .parameter-table h4:last-of-type{
	border-bottom-left-radius:5px;
	border-bottom:none;
}
.type-product #parameters_wrapper .parameter-table p{
	width:65%;
	font-weight: 500;
	display: flex;
	align-items: center;
  border-bottom: 1px solid #d9d9d9;
  padding: 1rem;
  padding-top: 1.2rem;
}
.type-product #parameters_wrapper .parameter-table p:last-of-type{
	border-bottom:none;
}
.type-product #parameters_wrapper .parameter-image{
	display:flex;
	align-items:center
}
.type-product #parameters_wrapper .parameter-image .parameter-image-text{
	margin-left:10px;
	color:var(--master-color_black);
}

/* ------------------------------ */
/* RESPONSIVE EXTRA DESCRIPTION            */
/* ------------------------------ */
@media screen and (max-width: 767px){
	.type-product #parameters_wrapper{
		grid-row-start: 11;
	    grid-row-end: 11;
	}
	.type-product #parameters_wrapper h3{
		padding-right:0
	}
}


/* ------------------------------ */
/* UPSELL BOX            */
/* ------------------------------ */
body.type-product #product_upsellwrapper{
	grid-row-start: 15;
    grid-row-end: 15;
    grid-column: 1 / 13;
    margin-top:1rem;
}
body.type-product #product_upsellwrapper > p{
	font-weight:bold;
	margin-bottom:1rem;
}
body.type-product .product-upsellbox{
	display:flex;
	border-radius: 5px;
	border:1px solid var(--master-grey-border);
	padding:5px;
	align-items: center;
}
body.type-product .upsellbox-icon{
	max-width:150px;
}
body.type-product #product_upsellwrapper .upsellbox-text{
	padding:20px 10px;
	width:100%
}
body.type-product #product_upsellwrapper .product-name > a{
	color:var(--master-color_black);
}
body.type-product #product_upsellwrapper .product-name > a:hover{
	text-decoration:underline;
}
body.type-product #product_upsellwrapper .price-box{
	display:flex;
	justify-content: space-between;
	align-items:center;
}
body.type-product #product_upsellwrapper .price-box .product-price{
	margin-bottom:0;
	font-weight:bold;
	font-size:16px;
}
body.type-product #product_upsellwrapper .price-box a{
	color:var(--master-color-white);
	background-color:var(--master-color-green);
	border-radius:5px;
	font-weight:bold;
}
body.type-product #product_upsellwrapper .special-prices .normal-price{
	font-size:12px;
	text-decoration: line-through;
}
body.type-product #product_upsellwrapper .special-prices .price-save{
	font-size:12px;
}
/* ------------------------------ */
/* RESPONSIVE UPSELL BOX            */
/* ------------------------------ */
@container small-info_wrapper-box (inline-size < 450px) {
	body.type-product .product-upsellbox{
		flex-direction:column
	}
	body.type-product .upsellbox-icon{
		max-width:100%;
		width:100%;
	}
	body.type-product .upsellbox-icon img{
		border-radius:5px
	}
}
@media screen and (max-width: 576px){
	body.type-product .product-upsellbox{
		flex-direction:column
	}
	body.type-product .upsellbox-icon{
		max-width:100%;
		width:100%;
	}
	body.type-product .upsellbox-icon img{
		border-radius:5px
	}
}


/* text wrapper */
.type-product div.dkLabFavouriteDiv{
	display:none
}
.type-product div.social-buttons-wrapper{
	display:none;
}

/* read more */
.type-product p[data-testid="productCardDescr"] a{
	color:var(--master-color_black);
	font-weight:bold;
}
.type-product p[data-testid="productCardDescr"] a.chevron-after:after{
	font-size:10px;
}
.type-product p[data-testid="productCardDescr"] a:hover{
	text-decoration:underline;
}
/* variants */

/* prices */
.type-product .price-measure{
	margin-top:0;
}
.type-product .p-info-wrapper .price-standard{
	color:var(--master-color_black);
	font-size:14px;
	padding-bottom:5px;
}
.type-product .p-info-wrapper .price-save{
	background-color: #E94B4B;
	padding:4px 7px;
	border-radius:5px;
	color:#ffffff;
	font-size:14px;
	font-weight:bold;
}
.type-product .price-save:has(span.empty:not(.no-display)){
	display:none;
}
.type-product .p-info-wrapper:has(span.empty:not(.no-display)) #delivery_time_wrapper{
	display:none;
}
.type-product .p-info-wrapper .price-final{
	font-size:34px;
	margin-top:5px;
	margin-bottom:5px;
}
.type-product .p-info-wrapper .price-additional{
	font-size:12px;
}
/* availability */
.type-product .availability-label{
	font-weight:bold;
	margin-bottom: -20px;
	font-size:18px
}
.type-product .default-variant .availability-label{
	font-size:14px;
}
.type-product .availability-amount{
	color:var(--master-color_black);
	margin-bottom: -20px;
	margin-left:5px;
}
.type-product .availability-value span.default-variant span.availability-label{
	font-weight:normal;
	color:var(--master-color_black);
}
/* delivery */
.type-product .delivery-time-label{
	color:var(--master-color_black);
}
.type-product .delivery-time{
	padding-right:0;
	padding-bottom:0;
}
.type-product .delivery-time span{
	color:var(--master-color_black);
	font-weight:bold;
	margin-left:5px;
}
.type-product #delivery_time_wrapper{
	width:100%;
	display:flex;
	justify-content: flex-start;
}


/* favourites */
.type-product .dkLabFavDetailSpan.dkLabFavouriteDetailLinkAdd{
	color:var(--master-grey-dark);
}
.type-product .dkLabFavDetailSpan.dkLabFavouriteDetailLinkAdd:hover{
	color:var(--dklab-favourites-remove-text-detail-color);
}
.type-product .dkLabFavDetailSpan.dkLabFavouriteDetailLinkRemove:hover{
	color:var(--master-grey-dark);
}
@media screen and (max-width: 1499px){
	body.type-product div.p-image-wrapper{
		width:60%;
	}
	body.type-product div.p-info-wrapper{
		width:40%;
	}
}
@media screen and (max-width: 1149px){
	body.type-product div.p-image-wrapper{
		width:50%;
	}
	body.type-product div.p-info-wrapper{
		width:50%;
	}
}
@media screen and (max-width: 991px){
	body.type-product div.p-image-wrapper{
		width:50%;
	}
	body.type-product div.p-info-wrapper{
		width:50%;
	}
}


@media screen and (max-width: 991px){
	body.type-product .p-detail-inner-header h1{
		font-size:22px;
	}
	body.type-product .p-detail-info{
		margin-bottom:10px;
	}
	body.type-product div.p-image-wrapper{
		width:100%;
		display:block;
	}
	body.type-product div.p-image-wrapper .p-image{
		margin-bottom:10px;
	}
	body.type-product div.p-image-wrapper .p-thumbnails{
		height:80px;
		margin-bottom:0
	}
	body.type-product div.p-image-wrapper .p-thumbnails a{
		max-width:75px;
	}
	body.type-product div.p-info-wrapper{
		width:100%;
	}
}
@media screen and (max-width: 499px){
	.type-product table.detail-parameters{
    	margin-bottom:5px;
	}
	.type-product .p-info-wrapper .price-final{
		font-size:28px;
	}
	.type-product .p-info-wrapper .price-save{
		font-size:14px;
	}
	.type-product #delivery_time_wrapper{
		justify-content: flex-start;
	}
}


@media screen and (min-width: 992px){
	body.type-product.video_content_add div.p-image-wrapper{
		width:65%;
		display: flex;
		flex-wrap:wrap;
	}
	body.type-product.video_content_add div.p-image{
		width:70%;
	}
	body.type-product.video_content_add div.video-wrapper{
		width:30%;
		padding-left:0.25vw;
	}
	body.type-product.video_content_add div.video-wrapper video{
		border-radius:5px
	}
	body.type-product.video_content_add div.p-thumbnails-wrapper{
		width:100%;
	}
	body.type-product.video_content_add div.p-info-wrapper{
		width:35%;
	}
	body.type-product div.p-short-description{
		margin-top:0;
	}
}
@media screen and (max-width: 991px){
	body.type-product.video_content_add div.p-short-description{
		margin-top:0;
	}
	body.type-product.video_content_add div.dklabSliderplusDetail{
		display:block;
	}
	body.type-product.video_content_add div.video-wrapper{
		display:none;
		margin-top:10px;
	}
	body.type-product.video-mobile-visible div.video-wrapper{
		display:block;
	}
	body.type-product.video_content_add div.video-wrapper video{
		border-radius:5px
	}
	body.type-product.video-mobile-visible div.dklabSliderplusDetail,
	body.type-product.video-mobile-visible div.p-image,
	body.type-product.video-mobile-visible div.p-thumbnails-wrapper{
		display:none;
	}
	body.type-product.video_content_add #video_visibler{
		color:#F24646;
		display:flex;
		justify-content: flex-end;
	    top: -20px;
	    position: relative;
	    width: fit-content;
	}
	body.type-product.video_content_add div.p-image-wrapper > #video_visibler{
		top: -5px;
	}
	body.type-product.video-mobile-visible #video_visibler{
		display:none;
	}
	body.type-product.video_content_add #video_visibler img{
		width:20px;
	}
	body.type-product.video_content_add div.video-text {
		text-align:center;
		font-weight:bold;
		background-color:var(--master-grey-light);
		padding: 5px 0;
		border-top-left-radius: 5px;
		border-top-right-radius: 5px;
	}
	body.type-product.video_content_add div.video-text a{
		color:#666;
	}
}
@media screen and (max-width: 767px){
	body.type-product.video_content_add div.p-image-wrapper:has(div.dklabSliderplusDetail) #video_visibler{
	    top: -5px;
	}
	body.type-product.video_content_add div.p-image-wrapper:has(div.dklabSliderplusDetail) #video_visibler:has(+ div.swiper-pagination > span.swiper-pagination-bullet:nth-child(11)) {
		top: 10px
	}
	body.type-product.video_content_add div.p-image-wrapper > #video_visibler{
		top: -5px;
	}
}


/* related products */
.type-product .products-block.products-related>div:nth-child(4n){
	border-right-style:none !important
}
.type-product div.products-related{
	flex-wrap:nowrap;
	overflow:overlay;
}

.type-product .products-related-headline{
	font-weight:bold;
	color:var(--master-color_black);
}
.type-product div.products-related div.product{
	display:flex;
	flex-direction: column;
}
.type-product div.products-related .flag{
	font-size:10px !important;
	padding:5px 8px 4px 8px !important
}
.type-product div.products-related span[data-micro="name"]{
	font-size:14px;
	font-weight:normal;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2; /* Number of lines to display */
	-webkit-box-orient: vertical;
}
.type-product div.products-related div.p-tools{
	display:none ;
}
.type-product div.products-related .dkLabFavouriteProductDiv{
	display:none;
}
.type-product div.browse-p a.p-prev,
.type-product div.browse-p a.p-next{
	display:none;
}
.type-product #related_products_upper_wrap{
	display:flex;
	justify-content: space-between;
}
.type-product #related_products_arrows{
	display:flex;
	gap:1.5rem
}
.type-product #related_products_arrows svg{
	width:35px;
	height:auto;
}
.type-product #related_products_arrows svg:hover{
	cursor:pointer;
}
.type-product #related_products_arrows svg:not(.not-active):hover path:nth-child(2){
	fill:var(--master-color-primary)
}
.type-product #related_products_arrows svg.not-active{
	opacity:0.5;
	cursor:default;
}
.type-product div.p-detail:has(div.products.less-products) #related_products_arrows{
	display:none;
}
.type-product .products-related:after{
	content:unset
}
@media screen and (max-width: 767px){
	.type-product div.products-related span[data-micro="name"]{
		text-align:left;
		margin-bottom:10px
	}
	.type-product div.p-detail div.browse-p{
		display:none
	}
	.type-product .shp-tabs-holder{
		margin-left:unset;
		margin-right:unset;
		padding-left:unset;
		padding-right:unset;
	}
}

/* infobox */
.type-product div.product-infobox{
	background-color:var(--master-grey-ultralight);
	border-radius:5px;
	display:flex;
	margin-bottom:2rem;
	align-items:center;
}
.type-product div.product-infobox .infobox-icon{
	padding:15px;
}
.type-product div.product-infobox img{
	width:100px;
}
.type-product div.infobox-text{
	padding: 15px 10px 15px 0px;
}
.type-product div.product-infobox p{
	margin-bottom:0;
}
.type-product div.product-infobox p:nth-child(1){
	margin-bottom:5px;
}
.type-product div.infobox-text a{
	font-weight:bold;
	text-decoration:underline;
	color:black;
}
.type-product div.infobox-text a:hover{
	color:var(--master-color-primary);
}
@media screen and (max-width: 767px){
	.type-product div.product-infobox .infobox-icon{
		padding:10px;
	}
	.type-product div.infobox-text{
		padding: 10px 5px 10px 5px;
	}
}




/* x+y shoptet widget */
body.type-product div.xyDiscount__banner{
	background-color: #fdeeee;
    border-radius: 5px;
    border:none;
    margin: 0 0 2rem 0;
    color:#eb5757 !important;
}

/* sidebar */
.type-product .extended-description h3{
	color:var(--master-color_black);
	font-weight:700;
	font-size:14px;
}
.type-product .extended-description .detail-parameters{
	display:flex;
	background-color: var(--master-grey-ultralight);
	border-radius:5px;
	padding:1.5rem;
}
.type-product .extended-description .productEan{
	display:none
}

.type-product .more-categories-wrap{
	display:none;
}
.type-product .custom-more-categories{
	margin-top:3rem;
}
.type-product .custom-more-categories-wrapper{
	display:flex;
	flex-wrap:wrap;
	gap:1rem;
}
.type-product .custom-more-categories-wrapper a{
	color:var(--master-color_black);
	border:1px solid var(--master-grey-border);
	border-radius:5px;
	padding: 7px 8px;
    font-size: 12px;
}
.type-product .custom-more-categories-wrapper a:hover{
	color:var(--master-color-white);
	background-color:var(--master-color-primary);
	border-color:var(--master-color-primary);
}

/* tooltip */
.type-product .extended-description .question-tooltip{
	background-color:var(--master-grey-medium);
	border-color:var(--master-grey-medium);
	border-radius:10px;
	width:15px;
	height:15px;
	line-height:14px;
	font-size:10px;
	margin-right:5px;
}

/* down description handler */
.type-product .description-inner{
	flex-wrap: nowrap;
	gap:2rem;
}

/* newsletter form */
.type-product .email-image-wrapper{
	display:flex;
}
.type-product .email-image-wrapper img{
	width: 170px;
    margin-top: -75px;
    height: 170px;
    margin-right:0;
}

.type-product .custom-email-product-wrapper{
	padding:0;
	margin-top:3rem;
}
.type-product .e-mail-product-form{
	background-color:var(--master-grey-ultralight);
	padding:2rem 1.5rem;
	border-radius:5px;
}
.type-product .e-mail-product-form p{
	font-size:14px;
	margin-bottom:15px;
	line-height:1.7;
}
.type-product .custom-email-fields{
	display:flex;
	gap:1rem
}
.type-product .custom-email-fields input{
	height:40px;
}
.type-product .custom-email-fields #boldemEmail{
	flex:1;
	border:1px solid var(--master-grey-medium);
	background-color:var(--master-color-white);
	border-radius:5px;
	padding-left:1rem;
}
.type-product .custom-email-fields .email-product-submit{
	background-color:var(--master-grey-dark);
	border:1px solid var(--master-grey-dark);
	border-radius:5px;
	font-weight:bold;
	color:var(--master-color-white);
	letter-spacing: 1px;
	padding:0 15px;
}
.type-product .custom-email-fields .email-product-submit:hover{
	background-color: var(--master-color-primary);
	border:1px solid var(--master-color-primary);
}
.type-product .email-info-status-success{
	background-color:rgba(57,182,184,0.75);
	color:var(--master-color-white);
	border-radius:5px;
	padding:1rem 1.5rem;
	font-weight:bold;
}
.type-product .email-info-status-error{
	background-color:rgba(235,87,87,0.75);
	color:var(--master-color-white);
	border-radius:5px;
	padding:1rem 1.5rem;
	font-weight:bold;
}
.type-product .email-info-status p{
	display:none;
}
.type-product .email-info-status p.active{
	display:block;
}
.type-product .email-info-status p.hide{
	display:none
}
.type-product .email-info-status .email-info-status-error.active{
	margin-top:1rem;
}
.type-product .custom-email-product-wrapper form.hide{
	display:none;
}
.type-product .custom-email-product-wrapper form p{
	margin-top:0.5rem;
}
@media screen and (max-width: 1249px){
	.type-product .email-image-wrapper img{
		width:140px;
		height:140px;
	}
	.type-product .e-mail-product-form p{
		font-size:12px;
	}
}
@media screen and (max-width: 991px){
	.type-product .custom-email-product-wrapper{
		max-width:767px;
	}
	.type-product .email-image-wrapper p{
		flex:1;
	}
}
@media screen and (max-width: 499px){
	.type-product .custom-email-product-wrapper{
		margin-bottom:5rem;
		margin-top:5rem;
	}
	.type-product .email-image-wrapper img{
		width:120px;
		height:120px;
	}
	.type-product .custom-email-fields input{
		height:32px;
		font-size:12px;
	}
}
@media screen and (max-width: 399px){
	.type-product .email-image-wrapper{
		flex-direction: column-reverse;
		align-items: flex-end;
	}
	.type-product .email-image-wrapper img{
		width:90px;
		height:90px;
	}
	.type-product .custom-email-fields{
		flex-direction: column;
	}
	.type-product .custom-email-fields #boldemEmail{
		padding-top:0.75rem;
		padding-bottom:0.75rem;
	}
}

/* usefull products */
#usefull_articles_wrapper{
	display:flex;
	flex-direction: column;
}
#usefull_articles_wrapper img{
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	width:100%
}
#usefull_articles_wrapper div.usefull-article-info{
	background-color:var(--master-grey-ultralight);
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
}

#usefull_articles_wrapper .usefull-article-perex{
	font-size:12px;
	line-height:1.7;
}
#usefull_articles_wrapper .usefull-article-info a{
	color:var(--master-color_black);
	text-decoration:underline;
	font-size:12px;
}
#usefull_articles_wrapper .usefull-article-info a:hover{
	color:var(--master-color-primary);
}



/* moving iamges */
@media screen and (min-width: 992px){
	.p-image-wrapper, .video-wrapper {
		position: sticky;
		top: 0;
		z-index: 10;
	}
	.p-image-wrapper{
		overflow: hidden;
	}
	.p-image-wrapper .p-image{
		margin-bottom:10px;
	}
	.p-image-wrapper img, .video-wrapper video {
		height: auto;
	}
	}

/* price-different */
body.type-product .price-different > span{
	color:var(--master-color-green);
}

/* payments and certified */
#payments_certified_wrapper{
    grid-row-start: 9;
    grid-row-end: 9;
	grid-column: 1 / 13;
}
#payments_certified_wrapper > *{
	flex:1;
}
#payments_certified_wrapper #payment_and_delivery_wrapper img{
	height:15px;
}
#payments_certified_wrapper > div:nth-child(2) > img{
	height:50px;
}
#payments_certified_wrapper etrusted-widget{
	margin-top:-1.5em;
	display:flex;
	flex-direction: row-reverse;
}
@media screen and (max-width: 499px){
	#payments_certified_wrapper{
		grid-row-start: 10;
		grid-row-end: 10;
		flex-direction: column;
		flex-wrap:wrap
	}
	#payments_certified_wrapper > * {
		width:100%;
		justify-content: center;
	}
	#payments_certified_wrapper > div{
		align-items: center;
	}
	#payments_certified_wrapper etrusted-widget{
		margin-top:1rem;
		flex-direction: row;
	}
}

/* stock amount alert */
.availability-value:has(.amount-alert) > div{
	text-align:left;
}
.amount-alert{
	background-color: #ffb266;
	font-weight:bold;
	padding: 3px 10px;
	border-radius:5px;
}
@media screen and (max-width: 499px){
	.availability-value:has(.amount-alert) > div{
		text-align:left;
	}
	.certified-product-page{
		text-align:center !important;
		margin-top:2rem;
	}
}

/* vyprodáno */
body.type-product:not(:has(.product-top button[data-testid="buttonAddToCart"][data-action="buy"])) #dkLabFavouriteDiv,
body.type-product:not(:has(.product-top button[data-testid="buttonAddToCart"][data-action="buy"])) #payments_certified_wrapper{
	display:none;
}

body.type-product li[data-testid="tabRelatedFiles"]{
	display:none;
}


/* ==========================================================================
   NÁKUPNÍ BOX (.pp-buy) – cena, dostupnost a košík v jednom rámečku
   Skládá ho product_page_v2.js (zatím jen VYP_AT) z prvků Shoptetu.
   ========================================================================== */
.pp-hidden,
.type-product .detail-parameters tr.pp-hidden-row{
	display: none !important;
}
.type-product .p-info-wrapper .pp-buy{
	grid-row: 6;
	grid-column: 1 / 13;
	margin: 0 0 2rem;
	padding: 18px 20px 20px;
	background: #ffffff;
	border: 1px solid var(--pp-variant-line, #e3e3e3);
	border-radius: 12px;
}
/* --- cena: [stará cena][sleva] ........ [Sie sparen]
             [finální cena] ............ [bez DPH] --- */
.type-product .p-info-wrapper .pp-buy .p-final-price-wrapper{
	display: grid;
	grid-template-columns: auto auto 1fr auto;
	align-items: center;
	column-gap: 10px;
	margin: 0;
	text-align: left;
}
.type-product .p-info-wrapper .pp-buy .price-standard{
	grid-column: 1;
	grid-row: 1;
	padding: 0;
	font-size: 14px;
	color: var(--master-grey-dark);
}
.type-product .p-info-wrapper .pp-buy .price-save{
	grid-column: 2;
	grid-row: 1;
	justify-self: start;
	padding: 2px 7px;
	font-size: 13px;
	line-height: 1.4;
}
.type-product .p-info-wrapper .pp-buy .price-different{
	display: none;   /* dklab „Sie sparen“ – nahrazuje .pp-buy__save */
}
.type-product .p-info-wrapper .pp-buy .pp-buy__save{
	grid-column: 4;
	grid-row: 1;
	justify-self: end;
	font-size: 14px;
	font-weight: bold;
	color: var(--master-color-green);
	white-space: nowrap;
}
.type-product .p-info-wrapper .pp-buy .pp-buy__save:empty{
	display: none;
}
.type-product .p-info-wrapper .pp-buy .price-final{
	grid-column: 1 / 4;
	grid-row: 2;
	margin: 2px 0 0;
	font-size: 36px;
	line-height: 1.15;
	text-align: left;
}
.type-product .p-info-wrapper .pp-buy .price-additional{
	grid-column: 4;
	grid-row: 2;
	align-self: start;
	justify-self: end;
	margin-top: 4px;
	font-size: 13px;
	color: var(--master-grey-dark);
	text-align: right;
	white-space: nowrap;
}
/* bez „Sie sparen“ (nevybraná varianta) sedí cena bez DPH dole vedle velké ceny */
.type-product .p-info-wrapper .pp-buy .p-final-price-wrapper:has(.pp-buy__save:empty) .price-additional{
	align-self: end;
	margin: 0 0 8px;
}
.type-product .p-info-wrapper .pp-buy .price-measure:empty,
.type-product .p-info-wrapper .pp-buy .price-measure:not(:has(:not(.sr-only))){
	display: none;
}
.type-product .p-info-wrapper .pp-buy__note{
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #555555;
}
/* --- dostupnost --- */
.type-product .p-info-wrapper .pp-buy__avail{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 8px;
	row-gap: 6px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed var(--pp-variant-line, #e3e3e3);
	font-size: 14px;
	line-height: 1.4;
}
.type-product .p-info-wrapper .pp-buy__dot{
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--master-color-green);
}
.type-product .p-info-wrapper .pp-buy.is-pending .pp-buy__dot{
	background-color: var(--master-grey-medium) !important;
}
.type-product .p-info-wrapper .pp-buy .availability-value{
	display: block;
	margin: 0;
	font-size: 14px;
}
.type-product .p-info-wrapper .pp-buy .availability-value > div{
	display: flex;
	align-items: baseline;
	gap: 6px;
	text-align: left;
}
.type-product .p-info-wrapper .pp-buy .availability-label{
	margin: 0;
	font-size: 14px;
	font-weight: bold;
}
.type-product .p-info-wrapper .pp-buy .availability-label .show-tooltip{
	border-bottom: 0;
	text-decoration: none;
}
.type-product .p-info-wrapper .pp-buy .availability-amount{
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #c25e00;
}
.type-product .p-info-wrapper .pp-buy__delivery{
	color: var(--master-grey-dark);
}
.type-product .p-info-wrapper .pp-buy__delivery b{
	margin-left: 4px;
	color: var(--master-color_black);
}
.type-product .p-info-wrapper .pp-buy__pending{
	display: none;
	color: #555555;
}
/* text se v úzkém sloupci zalomí sám, Lieferoptionen zůstává na stejném řádku vpravo */
.type-product .p-info-wrapper .pp-buy.is-pending .pp-buy__pending{
	display: inline;
	flex: 1 1 0;
	min-width: 0;
}
.type-product .p-info-wrapper .pp-buy.is-pending .availability-value,
.type-product .p-info-wrapper .pp-buy.is-pending .pp-buy__delivery{
	display: none;
}
.type-product .p-info-wrapper .pp-buy a.shipping-options{
	margin-left: auto;
	font-size: 13px;
	font-weight: bold;
	color: var(--pp-variant-accent, #0f8a8c);
	text-decoration: underline;
	white-space: nowrap;
}
/* --- košík --- */
.type-product .p-info-wrapper .pp-buy div.add-to-cart{
	margin: 16px 0 0;
}
/* „Variante wählen“ přes košík, dokud nejsou zvolené všechny varianty (.pp-buy.is-pending) */
.type-product .p-info-wrapper .pp-buy div.add-to-cart{
	position: relative;
}
.type-product .p-info-wrapper .pp-buy .pp-buy__choose{
	display: none;
}
.type-product .p-info-wrapper .pp-buy.is-pending div.add-to-cart > *:not(.pp-buy__choose){
	visibility: hidden;
}
.type-product .p-info-wrapper .pp-buy.is-pending .pp-buy__choose{
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	padding: 0 16px !important;
	font-weight: bold;
	text-transform: none;
	color: #ffffff;
	background-color: var(--pp-variant-accent, #0f8a8c) !important;
	border: 0 !important;
	border-radius: 5px;
	cursor: pointer;
}
.type-product .p-info-wrapper .pp-buy.is-pending .pp-buy__choose:hover{
	filter: brightness(.92);
}
/* krátké zvýraznění skupiny, ke které tlačítko odrolovalo */
@keyframes pp-row-hint{
	0%, 100%{ background-color: transparent; }
	25%, 60%{ background-color: rgba(15, 138, 140, .10); }
}
.type-product table.detail-parameters tr.variant-list.pp-row-hint > *{
	animation: pp-row-hint 1.5s ease;
}
/* --- „Vergleichen“ u nadpisu matrací (odkaz z dklab odstavce p.srovnani-matraci-lupa) --- */
.type-product .p-info-wrapper table.detail-parameters tr.variant-list > th:has(.pp-variant-compare) .pp-variant-chosen{
	margin-left: auto;   /* hodnota + odkaz drží spolu vpravo */
}
.type-product .p-info-wrapper table.detail-parameters .pp-variant-compare{
	margin-left: -6px;
	font-size: 13px;
	font-weight: bold;
	color: var(--pp-variant-accent, #0f8a8c);
	text-decoration: underline;
	white-space: nowrap;
}
.type-product .p-info-wrapper table.detail-parameters .pp-variant-compare:before{
	content: "·";
	margin-right: 6px;
	color: var(--master-grey-dark);
	text-decoration: none;
	display: inline-block;
}
@container small-info_wrapper-box (inline-size < 420px) {
	.type-product .p-info-wrapper .pp-buy{
		padding: 14px 14px 16px;
	}
	.type-product .p-info-wrapper .pp-buy .price-final{
		font-size: 30px;
	}
}

/* --- telefon: karty po čtyřech, cena pod sebou, Lieferoptionen pod košíkem --- */
@media screen and (max-width: 767px){
	.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div{
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 8px;
	}
	.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label{
		gap: 6px;
		padding: 10px 4px 8px;
	}
	.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div:has(.is-recommended) > label{
		padding-top: 28px;
	}
	.type-product .p-info-wrapper table.detail-parameters .advanced-parameter-inner img{
		height: 42px;
	}
	.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div span.parameter-value{
		font-size: 12px;
	}
	.type-product .p-info-wrapper table.detail-parameters .pp-variant-badge{
		height: 18px;
		padding: 0 3px;
		font-size: 10px;
		letter-spacing: 0;   /* globální --letter-spacing by text v úzké kartě ořízl */
	}
	.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label.is-recommended:has(input:checked):after{
		top: 22px;
	}
	.type-product .p-info-wrapper table.detail-parameters tr.variant-list > td > div > label:has(input:checked):after{
		width: 18px;
		height: 18px;
		background-size: 11px;
	}

	/* box: místo dole pro Lieferoptionen */
	.type-product .p-info-wrapper .pp-buy{
		position: relative;
		padding: 14px 14px 46px;
	}
	/* [stará cena][sleva] / [cena] / [Sie sparen][bez DPH] – flex místo mřížky, ať řádky
	   nesdílí šířku sloupců (sleva by jinak uskočila podle „Sie sparen“) */
	.type-product .p-info-wrapper .pp-buy .p-final-price-wrapper{
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		column-gap: 8px;
	}
	.type-product .p-info-wrapper .pp-buy .price-standard{ order: 1; }
	.type-product .p-info-wrapper .pp-buy .price-save{ order: 2; }
	.type-product .p-info-wrapper .pp-buy .price-final{
		order: 3;
		flex: 0 0 100%;
		font-size: 32px;
	}
	.type-product .p-info-wrapper .pp-buy .pp-buy__save{
		order: 4;
		font-size: 13px;
	}
	.type-product .p-info-wrapper .pp-buy .price-additional,
	.type-product .p-info-wrapper .pp-buy .p-final-price-wrapper:has(.pp-buy__save:empty) .price-additional{
		order: 5;
		margin: 0;
		font-size: 12px;
		text-align: left;
	}
	.type-product .p-info-wrapper .pp-buy .price-measure{ order: 6; }
	/* množství a tlačítko na jednom řádku */
	.type-product .p-info-wrapper .pp-buy div.add-to-cart{
		flex-wrap: nowrap;
		gap: 10px;
	}
	.type-product .p-info-wrapper .pp-buy div.add-to-cart .quantity{
		flex: 0 0 auto;   /* −/+ se nesmí smáčknout, zmenšuje se tlačítko */
	}
	/* šablona má na mobilu −/+ jen 24 px široké */
	.type-product .p-info-wrapper .pp-buy .quantity .decrease,
	.type-product .p-info-wrapper .pp-buy .quantity .increase{
		width: 45px;
	}
	.type-product .p-info-wrapper .pp-buy div.add-to-cart button{
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		margin-top: 0 !important;
		padding: 0 12px !important;
	}
	.type-product .p-info-wrapper .pp-buy__note{
		margin-top: 10px;
	}
	.type-product .p-info-wrapper .pp-buy a.shipping-options{
		position: absolute;
		left: 0;
		right: 0;
		bottom: 14px;
		margin: 0;
		text-align: center;
	}
}


/* ==========================================================================
   GALERIE NA DESKTOPU (body.type-product – dává product_page_v2.js, zatím jen VYP_AT)
   [hlavní fotka ‹ 3 / 7 ›][video ▶]
   [náhledy … náhled videa ▶ …]
   ========================================================================== */
@media screen and (min-width: 992px){
	/* .p-image-wrapper dvakrát – přebít starší body.type-product.video_content_add div.p-image-wrapper { display: flex } */
	body.type-product div.p-image-wrapper.p-image-wrapper{
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		column-gap: 8px;
		row-gap: 12px;
		align-content: start;
	}
	body.type-product:has(#relatedFiles a[title="video_wrapper"]) div.p-image-wrapper{
		grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
	}
	body.type-product div.p-image-wrapper .p-image,
	body.type-product:has(#relatedFiles a[title="video_wrapper"]) div.p-image{
		position: relative;
		width: auto;
		margin: 0;
		border-radius: 12px;
		overflow: hidden;
	}
	body.type-product div.p-image-wrapper .p-image img{
		display: block;
		width: 100%;
		border-radius: 0;
	}
	/* video vpravo – stejně vysoké jako fotka, ořez na výšku */
	body.type-product:has(#relatedFiles a[title="video_wrapper"]) div.video-wrapper{
		position: relative;
		width: auto;
		padding: 0;
		border-radius: 12px;
		overflow: hidden;
		background: var(--master-grey-light);
	}
	/* video vyplní buňku absolutně – výšku řádku pak určuje jen fotka */
	body.type-product:has(#relatedFiles a[title="video_wrapper"]) div.video-wrapper video{
		position: absolute;
		inset: 0;
		width: 100% !important;
		height: 100% !important;
		object-fit: cover;
		border-radius: 0;
	}
	body.type-product:has(#relatedFiles a[title="video_wrapper"]) div.p-thumbnails-wrapper{
		grid-column: 1 / -1;
		width: auto;
	}

	/* šipky */
	body.type-product .pp-gal-nav{
		position: absolute;
		top: 50%;
		z-index: 3;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		margin-top: -21px;
		padding: 0;
		color: var(--master-color_black);
		background: #ffffff;
		border: 0;
		border-radius: 50%;
		box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
		cursor: pointer;
		transition: transform .15s;
	}
	body.type-product .pp-gal-nav:hover{
		transform: scale(1.06);
	}
	body.type-product .pp-gal-nav--prev{ left: 12px; }
	body.type-product .pp-gal-nav--next{ right: 12px; }
	body.type-product .pp-gal-nav--next svg{ transform: rotate(180deg); }

	/* počítadlo */
	body.type-product .pp-gal-count{
		position: absolute;
		left: 12px;
		bottom: 12px;
		z-index: 3;
		padding: 4px 10px;
		font-size: 12px;
		font-weight: bold;
		line-height: 1.2;
		letter-spacing: 0;
		color: #ffffff;
		background: rgba(40, 30, 20, .72);
		border-radius: 12px;
		pointer-events: none;
	}
	/* AR vpravo dole */
	body.type-product div.p-image .action-buttons{
		top: auto;
		left: auto;
		right: 12px;
		bottom: 12px;
		z-index: 3;
	}

	/* ovládání videa – tmavý „skleněný“ pruh dole, vidět při najetí nebo při pauze */
	body.type-product .pp-vc{
		position: absolute;
		left: 10px;
		right: 10px;
		bottom: 10px;
		z-index: 2;
		display: flex;
		align-items: center;
		gap: 4px;
		padding: 4px 6px;
		color: #ffffff;
		background: rgba(20, 20, 20, .5);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		border-radius: 999px;
		opacity: 0;
		transform: translateY(4px);
		transition: opacity .2s, transform .2s;
	}
	body.type-product .video-wrapper:hover .pp-vc,
	body.type-product .video-wrapper.is-paused .pp-vc,
	body.type-product .pp-vc:focus-within{
		opacity: 1;
		transform: none;
	}
	body.type-product .pp-vc__btn{
		display: flex;
		flex: 0 0 auto;
		align-items: center;
		justify-content: center;
		width: 30px;
		height: 30px;
		padding: 0;
		color: inherit;
		background: transparent;
		border: 0;
		border-radius: 50%;
		cursor: pointer;
		transition: background-color .15s;
	}
	body.type-product .pp-vc__btn:hover{
		background: rgba(255, 255, 255, .16);
	}
	body.type-product .pp-vc__btn:focus-visible{
		outline: 2px solid #ffffff;
		outline-offset: 1px;
	}
	body.type-product .pp-vc__btn svg{
		width: 17px;
		height: 17px;
	}
	body.type-product .pp-vc__track{
		position: relative;
		flex: 1 1 auto;
		height: 18px;   /* větší plocha pro klik, vidět je jen tenká čára */
		margin: 0 4px;
		cursor: pointer;
	}
	body.type-product .pp-vc__track:before,
	body.type-product .pp-vc__fill{
		position: absolute;
		top: 50%;
		left: 0;
		height: 3px;
		margin-top: -1.5px;
		border-radius: 3px;
		transition: height .15s, margin-top .15s;
	}
	body.type-product .pp-vc__track:before{
		content: "";
		right: 0;
		background: rgba(255, 255, 255, .3);
	}
	body.type-product .pp-vc__fill{
		width: 0;
		background: #ffffff;
	}
	body.type-product .pp-vc__track:hover:before,
	body.type-product .pp-vc__track:hover .pp-vc__fill{
		height: 5px;
		margin-top: -2.5px;
	}
	body.type-product .video-wrapper video{
		cursor: pointer;
	}
	/* náhledy */
	body.type-product .p-thumbnails a.p-thumbnail,
	body.type-product .p-thumbnails a.pp-thumb-video{
		position: relative;
		display: inline-block;
		width: 88px;
		height: 66px;
		margin: 2px 12px 2px 0;
		overflow: hidden;
		vertical-align: top;
		border: 2px solid transparent;
		border-radius: 8px;
		box-sizing: border-box;
	}
	body.type-product .p-thumbnails a.p-thumbnail img,
	body.type-product .p-thumbnails a.pp-thumb-video img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 6px;
	}
	body.type-product .p-thumbnails a.p-thumbnail.highlighted{
		border-color: var(--pp-variant-accent, #0f8a8c);
	}
	body.type-product .p-thumbnails a.p-thumbnail:before,
	body.type-product .p-thumbnails a.p-thumbnail:after{
		content: none;   /* Shoptetí rámeček zvoleného náhledu */
	}
	/* vnitřek náhledů má Shoptet absolutně – výšku musí dát kontejner (66 px + rámeček/okraj) */
	body.type-product .p-thumbnails{
		height: 70px;
	}
	body.type-product a.pp-thumb-video{
		background: var(--master-grey-light);
	}
	body.type-product .pp-thumb-video__icon{
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 28px;
		margin: auto;
		padding: 0;
		box-sizing: border-box;
		color: var(--master-color_black);
		background: #ffffff;
		border-radius: 50%;
		box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
	}
	body.type-product .pp-thumb-video__icon svg{
		display: block;
		width: 14px;
		height: 14px;
	}
}
/* ==========================================================================
   GALERIE NA TELEFONU – rozvržení čistě v CSS, platí od prvního vykreslení (bez čekání
   na product_page_v2.js, jinak stránka po načtení poskakuje – CLS). JS doplňuje jen prvky
   navíc: pás fotek, tlačítko zpět, AR, počítadlo, náhled videa.
   [‹ kategorie]            [AR]
   [   fotka přes celou šířku   ]
   [                      1 / 7 ]
   [náhledy ▶ … posuvně        ]
   Nadpis / hodnocení + štítky
   ========================================================================== */
@media screen and (max-width: 991px){
	body.type-product.pp-gal .pp-gal-nav,
	body.type-product.pp-gal .pp-vc{
		display: none;
	}
	/* fotka hned pod hlavičkou – šablona tu má 10px okraj pod #header */
	body.type-product #header > .container{
		margin-bottom: 0;
	}
	/* nahrazeno tlačítky na fotce */
	body.type-product .breadcrumbs-wrapper,
	body.type-product .breadcrumbs,
	body.type-product .p-image-wrapper .action-buttons,
	body.type-product #video_visibler{
		display: none !important;
	}
	/* pořadí: galerie / štítky / nadpis + hodnocení / zbytek
	   (.p-detail-inner > [hlavička, form > .product-top > [štítky, galerie, info]]) */
	body.type-product .p-detail-inner{
		display: flex;
		flex-direction: column;
	}
	body.type-product .p-detail-inner > #product-detail-form,
	body.type-product .p-detail-inner .product-top{
		display: contents;
	}
	body.type-product .product-top > .p-image-wrapper{ order: 1; }
	body.type-product .product-top > .col-xs-12:has(> .p-detail-info){ order: 2; }
	body.type-product .p-detail-inner > .p-detail-inner-header{ order: 3; }
	body.type-product .product-top > .p-info-wrapper{ order: 4; }
	/* bez řádku (display: contents) chybí jeho okraj −10 px, který vyrovnává odsazení sloupců –
	   vrátíme ho, ať štítky, nadpis i obsah začínají na stejné linii jako náhledy (15 px) */
	body.type-product .product-top > .col-xs-12:has(> .p-detail-info),
	body.type-product .product-top > .p-info-wrapper{
		width: auto;   /* s width: 100 % by záporný okraj vpravo nic nerozšířil */
		margin-left: -10px;
		margin-right: -10px;
	}
	/* štítky nad nadpisem */
	body.type-product .product-top > .col-xs-12:has(> .p-detail-info){
		padding-top: 16px;
	}
	body.type-product .p-detail-info{
		margin: 0 0 8px;
	}
	body.type-product .p-detail-info .flags-default{
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
		margin: 0;
	}
	body.type-product .p-detail-info .flag{
		width: auto;
		margin: 0;
		padding: 4px 8px;
		border-radius: 5px;
		white-space: nowrap;
	}
	body.type-product .p-detail-info .flag-in-ar-ausprobieren{
		display: none;
	}
	/* nadpis + hodnocení (hvězdičky doplní main.js až po odpovědi API – místo pro ně
	   držíme předem, ať pod nimi nic neposkočí) */
	body.type-product .p-detail-inner > .p-detail-inner-header{
		display: block;
		padding: 0 0 4px;
	}
	body.type-product .p-detail-inner-header h1{
		margin: 0 0 8px;
		font-size: 22px;
		font-weight: bold;
		line-height: 1.25;
	}
	/* fotka přes celou šířku displeje */
	body.type-product div.p-image-wrapper .p-image{
		position: relative;
		width: auto;   /* jinak drží width:100 % a záporné okraje ji nerozšíří */
		margin: 0 calc(50% - 50vw);
		border-radius: 0;
		overflow: hidden;
	}
	body.type-product div.p-image-wrapper .p-image img{
		display: block;
		width: 100%;
		border-radius: 0;
	}
	/* pás fotek s nativním posouváním (product_page_v2.js – mobileSlider) */
	body.type-product .p-image.has-mslider a.p-main-image{
		display: none;   /* zůstává kvůli Shoptetu (fotka varianty), vidět je pás */
	}
	body.type-product .pp-mslider{
		display: flex;
		aspect-ratio: 4 / 3;   /* než se načte první fotka, pak podle ní */
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		background: #ffffff;
	}
	body.type-product .pp-mslider::-webkit-scrollbar{
		display: none;
	}
	body.type-product .pp-mslide{
		flex: 0 0 100%;
		scroll-snap-align: center;
		scroll-snap-stop: always;   /* jedním tahem vždy jen o jednu fotku */
	}
	body.type-product .pp-mslide img{
		display: block;
		width: 100%;
		height: 100%;
		object-fit: contain;
		border-radius: 0;
	}
	body.type-product .pp-mback{
		position: absolute;
		top: 14px;
		left: 14px;
		z-index: 3;
		display: inline-flex;
		align-items: center;
		gap: 4px;
		max-width: 50%;   /* dlouhý název kategorie nesmí zakrýt fotku */
		padding: 6px 12px 6px 8px;
		font-size: 12px;
		font-weight: bold;
		line-height: 1.2;
		color: var(--master-color_black);
		text-decoration: none;
		background: #ffffff;
		border-radius: 999px;
		box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
	}
	body.type-product .pp-mback span{
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
	body.type-product .pp-mback svg{
		flex: 0 0 auto;
		width: 14px;
		height: 14px;
	}
	body.type-product .pp-mar{
		position: absolute;
		top: 14px;
		right: 14px;
		z-index: 3;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		padding: 0;
		color: var(--master-color_black);
		/* stejná ikona jako tlačítko AR na desktopu */
		background: #ffffff url("https://cdn.textilapp.com/stores_assets/basic_icons/ar_icon.png") center / 22px no-repeat;
		border: 0;
		border-radius: 50%;
		box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
	}
	body.type-product .pp-gal-count{
		position: absolute;
		right: 12px;
		bottom: 12px;
		z-index: 3;
		padding: 4px 10px;
		font-size: 12px;
		font-weight: bold;
		line-height: 1.2;
		letter-spacing: 0;
		color: #ffffff;
		background: rgba(40, 30, 20, .72);
		border-radius: 12px;
		pointer-events: none;
	}
	/* náhledy – vodorovně posuvné */
	/* řádek náhledů od okraje k okraji; první náhled na linii nadpisu (15 px od kraje),
	   vpravo pevný jemný bílý přechod – naznačuje, že řádek pokračuje */
	body.type-product div.p-thumbnails-wrapper{
		position: relative;
		width: auto;   /* jinak drží width:100 % a záporné okraje ji nerozšíří */
		margin: 10px calc(50% - 50vw) 0;
	}
	body.type-product div.p-thumbnails-wrapper:after{
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 2;
		width: 16px;
		background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff);
		pointer-events: none;
	}
	body.type-product div.p-image-wrapper .p-thumbnails{
		height: auto;
		margin: 0;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	body.type-product .p-thumbnails::-webkit-scrollbar{
		display: none;
	}
	/* přechod (stín) Shoptetu pro jeho šipky – v posuvném řádku by jezdil s náhledy */
	body.type-product .p-thumbnails:before,
	body.type-product .p-thumbnails:after,
	body.type-product .p-thumbnails-inner:before,
	body.type-product .p-thumbnails-inner:after{
		content: none !important;
		display: none !important;
	}
	body.type-product .p-thumbnails-inner{
		position: static !important;
		width: auto !important;
		height: auto !important;   /* Shoptet dává 100 px – pod náhledy by byla díra */
		transform: none !important;
	}
	/* clearfix Shoptetu by byl ve flexu položkou navíc (+ mezera před prvním náhledem) */
	body.type-product .p-thumbnails-inner > div:before,
	body.type-product .p-thumbnails-inner > div:after{
		content: none;
	}
	body.type-product .p-thumbnails-inner > div{
		display: flex;
		gap: 10px;
		width: max-content;   /* aby se pravé odsazení započítalo do posouvání */
		padding: 2px 15px;
	}
	body.type-product .p-thumbnails .thumbnail-prev,
	body.type-product .p-thumbnails .thumbnail-next,
	body.type-product .p-thumbnails a.cbox-gal{
		display: none !important;
	}
	body.type-product .p-thumbnails a.p-thumbnail,
	body.type-product .p-thumbnails a.pp-thumb-video{
		position: relative;
		flex: 0 0 72px;
		width: 72px;
		max-width: none;
		height: 54px;
		margin: 0;
		overflow: hidden;
		border: 2px solid transparent;
		border-radius: 8px;
		box-sizing: border-box;
	}
	body.type-product .p-thumbnails a.p-thumbnail img,
	body.type-product .p-thumbnails a.pp-thumb-video img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 6px;
	}
	body.type-product .p-thumbnails a.p-thumbnail.highlighted{
		border-color: var(--pp-variant-accent, #0f8a8c);
	}
	body.type-product .p-thumbnails a.p-thumbnail:before,
	body.type-product .p-thumbnails a.p-thumbnail:after{
		content: none;
	}
	body.type-product a.pp-thumb-video{
		background: var(--master-grey-light);
	}
	body.type-product .pp-thumb-video__icon{
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 26px;
		height: 26px;
		margin: auto;
		padding: 0;
		box-sizing: border-box;
		color: var(--master-color_black);
		background: #ffffff;
		border-radius: 50%;
		box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
	}
	body.type-product .pp-thumb-video__icon svg{
		display: block;
		width: 13px;
		height: 13px;
	}
}

/* ==========================================================================
   SPODNÍ LIŠTA (#sticky-cart-bar z main.js) – zatím jen VYP_AT
   [ab 84,20 €          ][ In den Warenkorb ]
   [94,20 € −10 %       ]   / „Variante wählen“ (tyrkysové), dokud není zvolená varianta
   ========================================================================== */
body.type-product #sticky-cart-bar .pp-scb-choose{
	display: none;
}
body.type-product #sticky-cart-bar.pp-scb-choose .scb-btn-full,
body.type-product #sticky-cart-bar.pp-scb-choose .scb-btn-short{
	display: none !important;
}
body.type-product #sticky-cart-bar.pp-scb-choose .pp-scb-choose{
	display: inline;
}
body.type-product #sticky-cart-bar.pp-scb-choose .scb-btn,
body.type-product #sticky-cart-bar.pp-scb-choose .scb-btn:hover{
	background-color: var(--pp-variant-accent, #0f8a8c) !important;
	border-color: var(--pp-variant-accent, #0f8a8c) !important;
}
@media screen and (max-width: 991px){
	body.type-product #sticky-cart-bar .scb-inner{
		justify-content: space-between;
		gap: 12px;
		padding: 8px 16px;   /* štíhlejší lišta */
	}
	body.type-product #sticky-cart-bar .scb-info{
		display: none;
	}
	body.type-product #sticky-cart-bar .scb-actions{
		flex: 1 1 auto;
		justify-content: space-between;
		gap: 12px;
	}
	/* cena nahoře velká, pod ní stará cena se slevou */
	body.type-product #sticky-cart-bar .scb-price-block{
		align-items: flex-start;
		min-width: 0;
	}
	body.type-product #sticky-cart-bar .scb-price{
		order: -1;
		font-size: 19px;
		font-weight: bold;
		line-height: 1.15;
		white-space: nowrap;
	}
	body.type-product #sticky-cart-bar .scb-price-top{
		align-items: center;
		gap: 6px;
		margin-top: 1px;
	}
	body.type-product #sticky-cart-bar .scb-oldprice-holder .price-standard{
		padding: 0;
		font-size: 11px;
		color: var(--master-grey-dark);
	}
	body.type-product #sticky-cart-bar .scb-save-holder .price-save{
		padding: 1px 5px;
		font-size: 10px;
	}
	body.type-product #sticky-cart-bar .scb-btn{
		flex: 0 1 auto;
		height: 42px;
		margin: 0;
		padding: 0 18px;
		font-size: 15px;
		font-weight: bold;
		letter-spacing: 0;
		text-transform: none;
		border-radius: 8px;
	}
}


/* ==========================================================================
   VIDEO NA TELEFONU PŘES CELOU OBRAZOVKU (.pp-story – product_page_v2.js, openStory)
   ========================================================================== */
html.pp-story-open,
html.pp-story-open body{
	overflow: hidden;
}
.pp-story{
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	background: #000000;
}
.pp-story[hidden]{
	display: none;
}
.pp-story__video{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pp-story__progress{
	position: absolute;
	top: calc(10px + env(safe-area-inset-top));
	left: 12px;
	right: 12px;
	height: 3px;
	overflow: hidden;
	background: rgba(255, 255, 255, .35);
	border-radius: 3px;
}
.pp-story__progress span{
	display: block;
	width: 0;
	height: 100%;
	background: #ffffff;
}
.pp-story__head{
	position: absolute;
	top: calc(24px + env(safe-area-inset-top));
	left: 14px;
	right: 70px;
	display: flex;
	align-items: center;
	gap: 8px;
	pointer-events: none;
}
.pp-story__logo{
	display: block;
	width: auto;
	max-width: 140px;
	height: 20px;
	padding: 6px 10px;
	box-sizing: content-box;
	object-fit: contain;
	background: rgba(255, 255, 255, .92);
	border-radius: 999px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, .15);
}
.pp-story__avatar{
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	font-size: 16px;
	font-weight: bold;
	color: #ffffff;
	background: var(--master-color-primary, #16b6b8);
	border-radius: 50%;
}
.pp-story__name{
	overflow: hidden;
	font-size: 14px;
	font-weight: bold;
	color: #ffffff;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
.pp-story__btn{
	position: absolute;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	color: #ffffff;
	background: rgba(40, 40, 40, .55);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 0;
	border-radius: 50%;
}
.pp-story__btn svg{
	width: 20px;
	height: 20px;
}
.pp-story__close{ top: calc(22px + env(safe-area-inset-top)); }
.pp-story__mute{ top: calc(72px + env(safe-area-inset-top)); }
.pp-story__share{ top: calc(122px + env(safe-area-inset-top)); }
.pp-story__toast{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 10px 16px;
	font-size: 14px;
	font-weight: bold;
	color: #ffffff;
	background: rgba(20, 20, 20, .8);
	border-radius: 999px;
	pointer-events: none;
}
.pp-story__toast[hidden]{
	display: none;
}
.pp-story__card{
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: calc(14px + env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}
.pp-story__card img{
	flex: 0 0 auto;
	width: 52px;
	height: 40px;
	object-fit: cover;
	border-radius: 6px;
}
.pp-story__info{
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	line-height: 1.25;
}
.pp-story__title{
	overflow: hidden;
	font-size: 13px;
	font-weight: bold;
	color: var(--master-color_black, #000);
	white-space: nowrap;
	text-overflow: ellipsis;
}
.pp-story__price{
	font-size: 15px;
	font-weight: bold;
	color: var(--master-color_black, #000);
	white-space: nowrap;
}
.pp-story__cta{
	flex: 0 0 auto;
	height: 44px;
	padding: 0 16px;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0;
	color: #ffffff;
	background: var(--master-color-green, #009901);
	border: 0;
	border-radius: 8px;
	white-space: nowrap;
}
.pp-story__cta.is-choose{
	background: var(--pp-variant-accent, #0f8a8c);
}


/* ==========================================================================
   ROZVRŽENÍ HLAVIČKY V CSS (CLS) – zatím jen VYP_AT
   Dřív main.js na desktopu klonoval nadpis a štítky do pravého sloupce a originály mazal
   → celý formulář po načtení poskočil o ~40 px. Teď je rozvržení v CSS od prvního
   vykreslení a main.js podle proměnné --pp-header-layout klonování přeskočí.
   (Telefon: pořadí galerie / štítky / nadpis je v bloku GALERIE NA TELEFONU.)
   ========================================================================== */
:root{
	--pp-header-layout: css;
}
/* mikrodata a skrytá pole formuláře – v mřížce/flexu by jinak zabírala buňky */
body.type-product #product-detail-form > span,
body.type-product #product-detail-form > input,
body.type-product #product-detail-form > meta{
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}
body.type-product .p-detail-inner .product-top:before,
body.type-product .p-detail-inner .product-top:after{
	display: none;   /* clearfix řádku by byl položkou navíc */
}
/* hvězdičky doplní main.js až po odpovědi API – místo pro ně držíme předem */
body.type-product .p-detail-inner-header .reviews-summary,
body.type-product .p-detail-inner-header:not(:has(.reviews-summary)):after{
	display: flex;
	align-items: center;
	min-height: 22px;
}
body.type-product .p-detail-inner-header:not(:has(.reviews-summary)):after{
	content: "";
}
@media screen and (min-width: 992px){
	/* [galerie][nadpis + hodnocení]
	   [       ][štítky             ]
	   [       ][varianty, box, …   ] */
	body.type-product .p-detail-inner{
		display: grid;
		grid-template-columns: 65% 35%;
		grid-template-rows: auto auto 1fr;
		align-items: start;
	}
	body.type-product .p-detail-inner > #product-detail-form,
	body.type-product .p-detail-inner .product-top{
		display: contents;
	}
	body.type-product .product-top > .p-image-wrapper{
		grid-column: 1;
		grid-row: 1 / 4;
		width: auto !important;   /* starší pravidla s width: 65 % / 35 % by sloupec zúžila podruhé */
	}
	body.type-product .p-detail-inner > .p-detail-inner-header{
		grid-column: 2;
		grid-row: 1;
		padding: 0 10px;
	}
	body.type-product .product-top > .col-xs-12:has(> .p-detail-info){
		grid-column: 2;
		grid-row: 2;
		width: auto !important;
		padding: 0 10px;
	}
	body.type-product .product-top > .p-info-wrapper{
		grid-column: 2;
		grid-row: 3;
		width: auto !important;
	}
}
@media screen and (min-width: 992px) and (max-width: 1499px){
	body.type-product .p-detail-inner{ grid-template-columns: 60% 40%; }
}
@media screen and (min-width: 992px) and (max-width: 1149px){
	body.type-product .p-detail-inner{ grid-template-columns: 50% 50%; }
}
