/*
 * Potlačto — doplnkové štýly nad theme.json
 * Torn-paper motív, header/footer, homepage sekcie, WC/FPD/UNI CPO zóny.
 * Farby/fonty/radiusy čerpajú z CSS premenných generovaných z theme.json.
 */

:root {
	--pt-radius-card: var(--wp--custom--radius--card, 16px);
	--pt-radius-card-sm: var(--wp--custom--radius--card-sm, 12px);
	--pt-radius-control: var(--wp--custom--radius--control, 10px);
	--pt-radius-pill: var(--wp--custom--radius--pill, 99px);
}

.pt-mono {
	font-family: var(--wp--preset--font-family--mono);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: var(--wp--preset--font-size--mono-sm, 11px);
}

/* ---------- Torn paper motif ---------- */
.pt-torn-edge {
	height: 6px;
	background: var(--wp--preset--gradient--torn-paper);
}

/* ---------- Header ---------- */
/* Hlavička musí mať vlastný z-index, inak sa rozbaľovacie menu schová
   pod lupu galérie na stránke produktu (.woocommerce-product-gallery__trigger
   má z-index: 99). */
.pt-header {
	margin: 0;
	position: relative;
	z-index: 100;
}

.pt-utility-bar {
	background: var(--wp--preset--color--panel-dark);
	color: #bdbdb3;
}
.pt-bar-inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	flex-wrap: wrap;
}
.pt-utility-bar .pt-bar-inner { padding: 4px 0; }
.pt-nav-row .pt-bar-inner { padding: 16px 0; }
.pt-utility-social { gap: 8px; align-items: center; }
/* Sociálne siete sú samostatný projekt po spustení webu — ikony sú skryté,
   kým profily neožijú (Marek, 28. 10. 2026). Na zapnutie zmaž toto pravidlo.
   `visibility` a nie `display`, aby „Môj účet" ostal vpravo. */
.pt-utility-social { visibility: hidden; }
.pt-utility-social .pt-social-icon {
	width: 20px; height: 20px;
	border-color: #3a3a35;
}
.pt-utility-social .pt-social-icon a {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%;
	color: #bdbdb3;
	text-decoration: none;
}
.pt-utility-social .pt-social-icon a:hover { color: #fff; }
.pt-utility-account { margin: 0; font-size: 11px; }
.pt-utility-account a { color: #bdbdb3; text-decoration: none; }
.pt-utility-account a:hover { color: #fff; }

.pt-nav-row {
	background: var(--wp--preset--color--yellow);
}
.pt-nav-row .pt-bar-inner {
	align-items: center;
}
.pt-nav-left { align-items: center; }
.pt-logo img { height: auto; }
.pt-nav.wp-block-navigation { gap: 4px !important; }
.pt-nav .wp-block-navigation-item > a,
.pt-nav-link {
	display: inline-block;
	color: #fff !important;
	font-weight: 600;
	font-size: 14px;
	padding: 8px 14px;
	border-radius: var(--pt-radius-control);
}
.pt-nav .wp-block-navigation-item.current-menu-item > a,
.pt-nav .wp-block-navigation-item:hover > a {
	background: rgba(255,255,255,0.22);
}
.pt-nav-beta > a::after {
	content: "BETA";
	font-family: var(--wp--preset--font-family--mono);
	font-size: 8px;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--yellow);
	padding: 2px 6px;
	border-radius: var(--pt-radius-pill);
	margin-left: 6px;
	vertical-align: middle;
}
/* Rozbaľovacie menu v hlavičke (Etapa 2.5) — tmavý panel na žltej lište.
   Pozor: .pt-nav .wp-block-navigation-item > a má color:#fff !important,
   takže položky v rozbaľovačke treba prefarbiť špecifickejším pravidlom. */
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--ink) !important;
	border: 0;
	border-radius: var(--pt-radius-control);
	padding: 8px 0;
	min-width: 240px;
	box-shadow: 0 12px 32px rgba(23, 23, 21, 0.22);
}
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item > a {
	display: block;
	padding: 8px 16px;
	border-radius: 0;
	font-weight: 500;
	color: #fff !important;
	white-space: nowrap;
}
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > a,
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item.current-menu-item > a {
	background: rgba(255, 255, 255, 0.10);
	color: var(--wp--preset--color--yellow) !important;
}
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	margin-top: -8px;
}

/* Šípka pri položke, ktorá má ďalšie podmenu (2. úroveň a hlbšie).
   WordPress ju kreslí čiernou (currentColor) a dáva vpravo — na tmavom paneli
   je teda neviditeľná a ukazuje opačným smerom, než sa podmenu otvára.
   Preto: biela, vľavo, otočená doľava; pri hoveri žltá ako text.
   Položky v paneli majú preto jednotné odsadenie zľava, aby texty lícovali. */
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item > a {
	/* !important, lebo jadro WordPressu dáva odsadenie cez
	   .wp-block-navigation-item__content s vyššou prioritou. */
	padding-left: 32px !important;
}
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon {
	position: absolute;
	left: 10px;
	top: 50%;
	margin: 0;
	transform: translateY(-50%);
	color: #fff;
}
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg {
	transform: rotate(90deg);
}
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation__submenu-icon,
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item:focus-within > .wp-block-navigation__submenu-icon,
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item.current-menu-item > .wp-block-navigation__submenu-icon {
	color: var(--wp--preset--color--yellow);
}

/* Položky bez ďalšieho podmenu dostanú v tom istom stĺpci zvislú čiarku,
   aby text nevisel v prázdne — v treťom paneli to inak vyzeralo rozsypane. */
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item:not(.has-child)::before {
	content: "";
	position: absolute;
	left: 15px;
	top: 50%;
	width: 2px;
	height: 12px;
	margin-top: -6px;
	background: #fff;
	border-radius: 1px;
}
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item:not(.has-child):hover::before,
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item:not(.has-child):focus-within::before,
.pt-nav.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item:not(.has-child).current-menu-item::before {
	background: var(--wp--preset--color--yellow);
}

.pt-nav-actions { gap: 24px; align-items: center; }
.pt-search { width: 200px; }
.pt-search .wp-block-search__inside-wrapper {
	background: rgba(255,255,255,0.25);
	border: none;
	border-radius: 7px;
	overflow: hidden;
	min-height: 27px;
}
.pt-search input[type="search"] {
	background: transparent;
	border: none;
	color: #fff;
	padding-left: 12px;
	font-size: 12px;
}
.pt-search input[type="search"]::placeholder { color: rgba(255,255,255,0.8); }
.pt-search .wp-block-search__button {
	background: transparent !important;
	color: #fff !important;
	box-shadow: none !important;
	border: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px !important;
}
.pt-search .wp-block-search__button svg {
	width: 14px;
	height: 14px;
	fill: #fff;
}
.pt-cart-button,
.pt-cart-button .wc-block-mini-cart__button {
	background: var(--wp--preset--color--ink) !important;
	color: #fff !important;
	border-radius: 7px !important;
	min-height: 27px !important;
	padding: 4px 10px !important;
	font-size: 11px !important;
}
.pt-cart-button .wc-block-mini-cart__amount { font-size: 11px; margin-left: 4px; }
.pt-cart-button svg.wc-block-mini-cart__icon { width: 14px; height: 14px; }

/* ---------- Footer ---------- */
.pt-footer {
	background: var(--wp--preset--color--panel-dark);
	color: #bdbdb3;
	padding-bottom: 32px;
}
.pt-footer-grid { padding-top: 48px; gap: 32px; }
.pt-footer-brand { flex: 1.6 1 0%; }
.pt-footer-links { flex: 1 1 0%; }
.pt-footer-logo, .pt-footer-logo a { color: var(--wp--preset--color--yellow); font-size: 20px; }
.pt-footer-tagline { color: #bdbdb3; margin-top: 12px; max-width: 32ch; }
.pt-social-row { gap: 8px; margin-top: 20px; }
.pt-social-icon {
	width: 32px; height: 32px;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid #3a3a35;
	border-radius: var(--pt-radius-control);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	margin: 0;
}
.pt-footer-heading { color: var(--wp--preset--color--yellow); font-size: 11px; margin-bottom: 12px; }
.pt-footer-nav { list-style: none; margin: 0; padding: 0; }
.pt-footer-nav li { margin-bottom: 8px; }
.pt-footer-nav a { color: #bdbdb3; text-decoration: none; }
.pt-footer-nav a:hover { color: #fff; }
.pt-footer-bottom {
	border-top: 1px solid #3a3a35;
	margin-top: 32px;
	padding-top: 20px;
	flex-wrap: wrap;
}
.pt-footer-legal { color: #7a7a72; margin: 0; }

/* ---------- Hero ---------- */
.pt-hero { align-items: stretch; margin-top: 24px; padding: 0 40px; }
.pt-hero-dots { gap: 8px; margin-top: 16px; }
.pt-hero-dot {
	display: inline-block;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--wp--preset--color--rule);
}
.pt-hero-dot-active {
	width: 22px;
	border-radius: var(--pt-radius-pill);
	background: var(--wp--preset--color--ink);
}
.pt-hero-left {
	flex: 1.3 1 0%;
	background: var(--wp--preset--color--ink);
	color: #cdcdc7;
	border-radius: var(--pt-radius-card);
	padding: 44px;
}
.pt-quickcalc { flex: 1 1 0%; }
.pt-badge-row { gap: 10px; align-items: center; margin-bottom: 20px; }
.pt-badge {
	background: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--ink);
	padding: 4px 10px;
	border-radius: var(--pt-radius-pill);
	margin: 0;
}
.pt-badge-text { color: #a8a8a1; margin: 0; }
.pt-hero-title {
	font-size: var(--wp--preset--font-size--huge, 94px);
	line-height: 0.93;
	letter-spacing: -0.04em;
	color: #fff;
	margin: 0 0 20px;
}
.pt-highlight {
	background: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--ink);
	padding: 0 8px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}
.pt-hero-copy { color: #cdcdc7; font-size: 16.5px; max-width: 46ch; margin-bottom: 28px; }
.pt-hero-ctas { gap: 12px; margin-bottom: 28px; }
.pt-btn-primary .wp-block-button__link,
.pt-btn-primary.wp-block-button__link {
	background: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--ink);
	border-radius: var(--pt-radius-control);
	font-weight: 700;
}
.pt-btn-outline .wp-block-button__link {
	background: transparent;
	color: #fff;
	border: 1.5px solid #4a4a43;
	border-radius: var(--pt-radius-control);
}
.pt-stat-row { border-top: 1px solid #3a3a35; padding-top: 20px; flex-wrap: wrap; }
.pt-stat-num { font-family: var(--wp--preset--font-family--display); font-size: 26px; color: #fff; margin: 0; }
.pt-stat-label { color: #7a7a72; margin: 4px 0 0; }

/* ---------- Quick calc card ---------- */
.pt-qc-card {
	background: var(--wp--preset--color--panel);
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-card);
	padding: 28px;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.pt-qc-head { align-items: center; margin-bottom: 20px; }
.pt-qc-title { font-size: 23px; margin: 0; }
.pt-qc-live {
	background: var(--wp--preset--color--yellow-soft);
	color: var(--wp--preset--color--yellow-2);
	padding: 4px 10px;
	border-radius: var(--pt-radius-pill);
	margin: 0;
}
.pt-qc-field {
	display: flex; align-items: center; justify-content: space-between;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-control);
	padding: 12px 14px;
	margin-bottom: 10px;
	background: #fff;
}
.pt-qc-field-label { color: var(--wp--preset--color--muted); margin: 0; }
.pt-qc-field-value { margin: 0; font-weight: 400; font-size: 13.5px; }
.pt-qc-field-value::after { content: ""; }
.pt-qc-slider { margin: 20px 0; }
.pt-qc-slider-track {
	height: 6px;
	background: var(--wp--preset--color--yellow);
	border-radius: var(--pt-radius-pill);
	margin: 0 0 10px;
}
.pt-qc-slider-ticks p { color: var(--wp--preset--color--muted); margin: 0; }
.pt-qc-price {
	background: var(--wp--preset--color--ink);
	border-radius: var(--pt-radius-card-sm);
	padding: 14px 18px;
	margin-top: auto;
}
.pt-qc-price-label { color: #a8a8a1; margin: 0 0 6px; }
.pt-qc-price-row { align-items: center; gap: 12px; flex-wrap: nowrap; }
.pt-qc-price-main { min-width: 0; }
.pt-qc-price-num { color: var(--wp--preset--color--yellow); font-size: 26px; font-family: var(--wp--preset--font-family--display); margin: 0; line-height: 1.1; white-space: nowrap; }
.pt-qc-price-unit { color: #a8a8a1; margin: 2px 0 0; white-space: nowrap; font-size: 11px; }
.pt-qc-add .wp-block-button__link { padding: 8px 18px; white-space: nowrap; }
.pt-plugin-note { color: var(--wp--preset--color--muted); opacity: 0.6; margin-top: 10px; }

/* ---------- Trust strip ---------- */
.pt-trust-strip {
	background: var(--wp--preset--color--paper);
	border-radius: var(--pt-radius-card-sm);
	padding: 16px 32px;
	margin-top: 24px;
	flex-wrap: wrap;
	gap: 16px;
}
.pt-trust-item { font-weight: 700; font-size: 13px; margin: 0; }

/* ---------- Sections ---------- */
.pt-section { margin-top: 56px; }
.pt-section-eyebrow { color: var(--wp--preset--color--yellow-2); margin: 0 0 8px; }
.pt-section-head { align-items: center; margin-bottom: 24px; }
.pt-kicker {
	border-left: 3px solid var(--wp--preset--color--yellow);
	padding-left: 12px;
	font-size: 28px;
	margin: 0;
}
.pt-section-link a { color: var(--wp--preset--color--muted); font-weight: 600; }

.pt-category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.pt-category-tile {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--wp--preset--color--panel);
	border-radius: var(--pt-radius-card-sm);
	padding: 18px 20px;
}
.pt-category-tile-accent {
	background: var(--wp--preset--color--yellow);
}
.pt-category-icon {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: var(--pt-radius-control);
	background: var(--wp--preset--color--panel-2);
}
.pt-category-tile-accent .pt-category-icon {
	background: rgba(255,255,255,0.55);
}
.pt-category-text {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.pt-category-title { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 16px; margin: 0; }
.pt-category-sub { color: var(--wp--preset--color--muted); margin: 0; font-size: 12.5px; }
.pt-category-count { flex: 0 0 auto; margin: 0; }
.pt-category-tile-accent .pt-category-sub { color: var(--wp--preset--color--ink-2); }

/* ---------- Service split ---------- */
.pt-service-split { gap: 16px; margin-top: 56px; }
.pt-service-card {
	background: var(--wp--preset--color--panel);
	border-radius: var(--pt-radius-card);
	padding: 32px;
	min-height: 184px;
}
.pt-service-card-dark {
	background: var(--wp--preset--color--ink);
	color: #cdcdc7;
}
.pt-service-tag { color: var(--wp--preset--color--yellow-2); margin: 0 0 12px; }
.pt-service-card-dark .pt-service-tag { color: var(--wp--preset--color--yellow); }
.pt-service-title { font-size: 26px; margin: 0 0 10px; }
.pt-service-card-dark .pt-service-title { color: #fff; }
.pt-service-copy { color: var(--wp--preset--color--text); margin: 0 0 16px; }
.pt-service-card-dark .pt-service-copy { color: #a8a8a1; }
.pt-service-price { font-weight: 700; margin: 0; }

/* ---------- Bestsellers (WooCommerce) ---------- */
.pt-bestsellers ul.wc-block-product-template {
	gap: 16px;
}
/* Karta produktu — niektoré produkty majú FPD editor, ktorý nahrádza tlačidlo
   vlastným odkazom (.fpd-catalog-customize) bez nášho wrapper divu, preto
   layout riešime cez grid s pomenovanými oblasťami namiesto poradia v DOM. */
.pt-bestsellers .wc-block-product {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"image image"
		"title title"
		"price button";
	align-items: center;
	column-gap: 10px;
	row-gap: 6px;
	background: #fff;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-card-sm);
	padding: 14px;
}
.pt-bestsellers .wc-block-components-product-image {
	grid-area: image;
	margin-bottom: 4px;
}
.pt-bestsellers .wc-block-components-product-image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 8px;
	background: var(--wp--preset--color--panel);
}
.pt-product-title {
	grid-area: title;
	font-family: var(--wp--preset--font-family--display);
	font-size: 15px;
	margin: 0 0 2px;
}
.pt-product-price {
	grid-area: price;
	color: var(--wp--preset--color--green);
	font-weight: 700;
	font-size: 14px;
	margin-top: 10px;
}
.pt-product-button,
.pt-bestsellers a.fpd-catalog-customize {
	grid-area: button;
	justify-self: end;
	margin-top: 10px;
}
.pt-product-button .wp-block-button__link,
.pt-bestsellers a.fpd-catalog-customize {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--yellow) !important;
	color: var(--wp--preset--color--ink) !important;
	border-radius: var(--pt-radius-pill);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	text-transform: uppercase;
	text-decoration: none !important;
	padding: 7px 14px;
	white-space: nowrap;
}

/* ---------- Dark CTA strip ---------- */
.pt-cta-strip {
	background: var(--wp--preset--color--panel-dark);
	border-radius: var(--pt-radius-card);
	padding: 40px 48px;
	margin-top: 56px;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.pt-cta-strip .pt-torn-edge { position: absolute; top: 0; left: 0; right: 0; }
.pt-cta-headline { color: var(--wp--preset--color--yellow); font-size: 36px; margin: 0 0 6px; }
.pt-cta-sub { color: #a8a8a1; margin: 0; }

/* ---------- Generic static pages ---------- */
.pt-page { padding-top: 28px; padding-bottom: 72px; }
/* Bočný okraj obsahu na užších obrazovkách (Etapa 2.18). Obsah má šírku
   1180 px a pod ~1220 px sa lepil na hranu obrazovky, kým hlavička má 20 px.
   Domovská stránka má vlastné odsadenie sekcií (domov.css). */
@media (max-width: 1220px) {
	main.pt-page:not(.pt-domov-stranka) { padding-left: 20px; padding-right: 20px; }
}
.pt-page-title {
	font-size: 44px;
	margin-bottom: 24px;
	border-left: 4px solid var(--wp--preset--color--yellow);
	padding-left: 18px;
}
/* When a page provides its own inline title inside the .pt-lead-row hero
   (Kontakt), hide the template's default title to avoid
   duplication and let the yellow accent box match the hero's full height. */
.pt-page:has(.pt-lead-row) .pt-page-head { display: none; }

/* ---------- Static pages: Kontakt / O nás / Služby ---------- */
.pt-lead-row { margin-bottom: 40px; }
.pt-lead-row .pt-page-title { margin-bottom: 20px; }
.pt-lead { font-size: 16.5px; color: var(--wp--preset--color--text); max-width: 62ch; margin-bottom: 16px; }
.pt-lead:last-child { margin-bottom: 0; }
.pt-logo-accent {
	background: var(--wp--preset--color--yellow);
	border-radius: var(--pt-radius-card-sm);
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* Karty, formulár a fakturačné údaje Kontaktu: assets/css/kontakt.css (2.18). */
.pt-map-wrap {
	border-radius: var(--pt-radius-card-sm);
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--rule);
	line-height: 0;
	width: 100%;
	min-height: 340px;
}
.pt-map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 340px; }

/* ---------- Global button hover feedback ----------
   Subtle hover cue on every button across the site (add-to-cart, form
   submit, hero/CTA buttons, product-card buttons) so the customer always
   sees something respond — a small lift/scale everywhere, plus a text
   colour shift to white on the light/yellow-fill + dark-text buttons
   (the dominant style here), since a colour-only change wouldn't show on
   buttons that already have white text. Kept intentionally subtle/fast. */
.wp-block-button__link,
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.pt-cart-button,
.pt-form-card .ff-btn,
.pt-form-card button[type="submit"] {
	transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.wp-block-button__link:hover,
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.pt-cart-button:hover,
.pt-form-card .ff-btn:hover,
.pt-form-card button[type="submit"]:hover {
	transform: translateY(-1px) scale(1.02);
}
.pt-btn-primary .wp-block-button__link:hover,
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.pt-form-card .ff-btn:hover,
.pt-form-card button[type="submit"]:hover,
.pt-product-button .wp-block-button__link:hover,
.pt-bestsellers a.fpd-catalog-customize:hover,
.related.products ul.products li.product .button:hover {
	color: #fff !important;
}

/* ---------- WooCommerce / FPD / UNI CPO zones (base pass, refined in Etapa 3) ---------- */
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--ink);
	border-radius: var(--pt-radius-control);
	font-weight: 700;
	border: none;
}
.woocommerce .price {
	color: var(--wp--preset--color--green);
	font-weight: 700;
}
.woocommerce ul.products li.product .price ins { color: var(--wp--preset--color--green); }

/* ---------- Single product: breadcrumb ---------- */
.woocommerce-breadcrumb {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 0 0 24px;
}
.woocommerce-breadcrumb a { color: var(--wp--preset--color--muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--wp--preset--color--yellow-2); }

/* ---------- Single product: type 1 (full-width FPD, e.g. Hrnček) ---------- */
.pt-single-product { padding-top: 24px; }

/* Natural flow: title → designer+short desc → buy-box (JS-built) → tabs.
   assets/js/single-product.js wraps price + form.cart + product_meta into
   a real .pt-buybox container (they aren't DOM-adjacent by default, since
   WooCommerce renders the short description between price and the add-to-
   cart form) — this CSS assumes that wrapper exists, and degrades to plain
   stacked flow if JS fails to run. */
.pt-single-product .summary.entry-summary {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.pt-single-product .product_title { margin: 0; }

/* V-17 (14. 11. 2026): cena „od … €“ hneď pod názvom pri produktoch s editorom
   na celú šírku (hrnčeky, hrnčeky pre páry, kalendáre) — cena a tlačidlo sú tam
   až pod editorom. Vypisuje inc/obchod.php, odkaz obsluhuje lista-kosik.js.
   Záporný okraj ruší medzeru stĺpca (.summary má gap 20 px). */
.pt-single-product .summary > .product_title:has(+ .pt-cena-hore) { margin-bottom: 0 !important; }
.pt-single-product div.product .summary > p.pt-cena-hore {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin: -16px 0 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--wp--preset--color--text, #4a4a43);
}
.pt-cena-hore strong {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 22px;
	font-weight: 700;
	color: var(--wp--preset--color--green, #18784f);
	white-space: nowrap;
}
.pt-cena-hore strong .woocommerce-Price-amount { color: inherit; font: inherit; }
/* Kalendáre majú v stĺpci medzeru 10 px (nie 20). */
.pt-single-product div.product.product_cat-kalendare .summary > p.pt-cena-hore { margin-top: -6px; }
.pt-cena-hore__odkaz {
	margin-left: auto;
	color: var(--wp--preset--color--ink, #1b1b1b);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}
/* Telefón: len cena a odkaz v jednom riadku (dovetok by riadok natiahol na tri). */
@media (max-width: 782px) {
	.pt-single-product div.product .summary > p.pt-cena-hore > span { display: none; }
}

/* Krátky popis nad kalkulátorom: 18 px (nie 20) a tesnejšie ku konfigurátoru —
   je to úvodná veta k produktu, nie samostatný text. */
/* Woo blocktheme dáva `div.product div.summary > *` spodný margin = block-gap
   (24 px). Má tri prvky v selektore, takže ho neprebijeme tromi triedami —
   preto je tu `div.product` navyše. */
.pt-single-product div.product div.summary .woocommerce-product-details__short-description {
	display: flex;
	flex-direction: column;
	margin-bottom: 12px;
}
.pt-single-product div.summary .woocommerce-product-details__short-description > p {
	font-size: 18px;
	line-height: 1.55;
}
.pt-single-product .woocommerce-product-details__short-description > p {
	order: 2;
	color: var(--wp--preset--color--text);
	margin: 0 0 10px;
}
.pt-single-product .woocommerce-product-details__short-description > p:last-of-type { margin-bottom: 0; }

/* FPD canvas frame — brand-color chrome only, don't restyle plugin internals */
.pt-single-product .fpd-product-designer-wrapper { order: 1; margin-bottom: 24px; }
.pt-single-product .fpd-container {
	border-radius: var(--pt-radius-card);
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--rule);
}

/* Buy box: price + qty/cart row + meta, grouped into one bordered card */
.pt-single-product .pt-buybox {
	background: #fff;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-card);
	padding: 28px 32px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.pt-single-product .pt-buybox-row {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.pt-single-product .price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 28px;
	margin: 0 !important;
	white-space: nowrap;
}
/* Sale price: crossed-out original smaller/thinner than the current price,
   with a bit more breathing room between the two — applies to every
   product (simple or variable/JS-relocated), not just one category. */
.pt-single-product .price del {
	order: 2;
	font-size: 15px;
	font-weight: 400;
	color: var(--wp--preset--color--muted);
	text-decoration: line-through;
}
.pt-single-product .price ins {
	order: 1;
	text-decoration: none;
}

.pt-single-product form.cart {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	flex: 1 1 220px;
	flex-wrap: wrap;
}

/* Quantity stepper: native number input + JS-injected up/down buttons */
.pt-single-product .quantity {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-control);
	overflow: hidden;
	width: 104px;
	height: 56px;
	flex-shrink: 0;
}
.pt-single-product .quantity input.qty {
	width: 60px;
	height: 100%;
	border: none;
	outline: none;
	text-align: center;
	font-family: var(--wp--preset--font-family--body);
	font-size: 16px;
	font-weight: 600;
	background: transparent;
	-moz-appearance: textfield;
}
.pt-single-product .quantity input.qty::-webkit-inner-spin-button,
.pt-single-product .quantity input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.pt-single-product .pt-qty-steps {
	display: flex;
	flex-direction: column;
	border-left: 1px solid var(--wp--preset--color--rule);
	width: 34px;
	flex-shrink: 0;
}
.pt-single-product .pt-qty-btn {
	flex: 1;
	border: none;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--wp--preset--color--ink);
	padding: 0;
}
.pt-single-product .pt-qty-inc { border-bottom: 1px solid var(--wp--preset--color--rule); }
.pt-single-product .pt-qty-btn:hover { color: var(--wp--preset--color--yellow-2); }

.pt-single-product .single_add_to_cart_button {
	flex: 1 1 auto;
	height: 56px;
	padding: 0 28px;
	font-size: 16px; /* V-15: hlavné tlačidlo všade 56 px / zaoblenie 10 / písmo 16 */
}

/* Meta rows (categories / brand tags), inside the buy box */
.pt-single-product .pt-buybox .product_meta {
	font-size: 13.5px;
	color: var(--wp--preset--color--muted);
	padding-top: 22px;
	border-top: 1px solid var(--wp--preset--color--rule-2);
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pt-single-product .pt-buybox .product_meta > span {
	display: flex;
	align-items: baseline;
	gap: 10px;
}
.pt-single-product .pt-buybox .pt-meta-label {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	min-width: 82px;
	flex-shrink: 0;
}
.pt-single-product .pt-buybox .product_meta a { color: var(--wp--preset--color--ink); text-decoration: underline; }
.pt-single-product .pt-buybox .product_meta a:hover { color: var(--wp--preset--color--yellow-2); }

/* Fallback: if JS hasn't wrapped things yet (or fails), keep price/meta readable */
.pt-single-product .product_meta:not(.pt-buybox .product_meta) {
	font-size: 13px;
	color: var(--wp--preset--color--muted);
	padding-top: 20px;
	border-top: 1px solid var(--wp--preset--color--rule-2);
	margin: 0;
}

/* ---------- Single product: type 2 (side-by-side FPD + summary, e.g. Trička) ----------
   Etapa 2.7 (8. 10. 2026): platí pre kategóriu Tričká A pre každý textilný
   produkt, ktorý plugin potlacto-custom označí triedou `.pt-textil-produkt`
   (mikiny, polo, šiltovky…) — `:is()` drží rovnakú špecificitu ako predtým.
   These products use FPD's "Replace Image" position, so the designer wrapper
   renders as a direct sibling of .summary inside div.product — unlike type-1
   (Hrnček), where "Custom Hook" nests the designer inside .summary via JS.
   That structural difference is what lets us split them into two columns
   here without touching type-1's layout at all. Scoped to specific product
   categories (not the whole .pt-single-product template) so type-1 and the
   still-to-come type-3/lightbox layout are unaffected — add more
   `.product_cat-x` selectors here as more products reuse this side-by-side
   layout.

   div.product actually has 4 direct children on these products (designer,
   summary, the description/tabs block, and the related-products section),
   so we place all 4 explicitly via named grid areas rather than relying on
   auto-placement — auto-placement would also pick up the `order: 1` set
   elsewhere on .fpd-product-designer-wrapper (for type-1's flex reorder
   inside .summary) and misplace the designer here, since order affects
   auto-placed grid items too. */
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	grid-template-areas:
		"designer summary"
		"tabs     tabs"
		"related  related";
	column-gap: 40px;
	row-gap: 24px;
	align-items: start;
}
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) > .fpd-product-designer-wrapper {
	grid-area: designer;
	margin-bottom: 0;
}
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) > .summary.entry-summary {
	grid-area: summary;
	/* WooCommerce's default `.summary.entry-summary { width:48%; float:right }`
	   still computes against the old two-column-classic layout and, left
	   alone, shrinks the summary to ~half of this grid column (leaving a
	   blank gap next to it) — neutralize both so it fills the grid cell. */
	width: auto !important;
	float: none !important;
}
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) > .woocommerce-tabs {
	grid-area: tabs;
}
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) > .related.products {
	grid-area: related;
}

/* Type 2 right column: title → price → short description → farba/veľkosť
   pickers → qty+cart, no bordered "buy box" card (per mockup, this layout
   flows directly on the page rather than sitting inside a card like type-1). */
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) .summary.entry-summary {
	gap: 12px;
}
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) .pt-buybox {
	background: none;
	border: none;
	padding: 0;
	gap: 20px;
}
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) .pt-buybox-row {
	flex-direction: column;
	align-items: stretch;
	gap: 20px;
}
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) .pt-buybox .product_meta {
	border-top: 1px solid var(--wp--preset--color--rule-2);
}
/* form.cart still carries the generic type-1 row/wrap layout (built for
   Hrnček's simple qty+button case) from the shared rule below. With the
   farba/veľkosť groups now living inside it too, that row-flex caused the
   hidden variations table to eat one flex "slot" + gap, nudging the farba
   group ~10px right of everything else while the size group (which wrapped
   to its own line) stayed flush left. Force a plain vertical stack instead. */
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) form.cart {
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 18px;
}

/* Price: relocated by JS to sit right under the title, then kept in sync
   with the selected variation (see single-product.js: found_variation /
   reset_data). Support for a strike-through compare price + a computed
   discount badge, in case a variation has a sale price set. */
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) .pt-variation-live-price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	font-size: 30px;
	font-weight: 700;
	color: var(--wp--preset--color--green);
	margin: 4px 0 0 !important;
}
/* del/ins sizing + gap are handled by the global `.pt-single-product .price`
   rule now (same treatment on every product), so no tricka-only override
   needed here anymore. */
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) .pt-discount-badge {
	order: 3;
	background: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 3px 9px;
	border-radius: var(--pt-radius-pill);
}
/* The nested per-variation price WooCommerce still renders inside the form
   is now redundant (its content gets copied into .pt-variation-live-price
   above) — hide it so it doesn't show a second time under the CTA. */
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) .woocommerce-variation-price {
	display: none;
}

.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) .pt-price-slot {
	margin: 4px 0 0;
}

/* Short description directly under price — restyled as a label/value "spec
   list" with a dotted leader (Značka .......... Stedman): label in the mono
   font, small and muted; value bold and dark. Insert this structure in the
   product's short description field (Text/HTML editor mode):
     <div class="pt-spec-list">
       <div class="pt-spec-row"><span class="pt-spec-label">Značka</span><span class="pt-spec-dots"></span><span class="pt-spec-value">Stedman</span></div>
       ...
     </div>
   Falls back to plain muted text if a product still has an unconverted
   <p> paragraph instead. */
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) .woocommerce-product-details__short-description > p {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--wp--preset--color--muted);
}
.pt-spec-list {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
}
.pt-spec-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 8px;
}
.pt-spec-label {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11.5px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
	flex-shrink: 0;
}
.pt-spec-dots {
	flex: 1 1 20px;
	height: 0;
	margin-bottom: 3px;
	border-bottom: 1px dotted var(--wp--preset--color--rule-2);
}
.pt-spec-value {
	font-family: var(--wp--preset--font-family--body);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--wp--preset--color--ink);
	text-align: right;
}

/* Farba / Veľkosť pickers (built by single-product.js from the WooCommerce
   variation <select> attributes — the original selects stay in the DOM,
   just visually hidden, so WooCommerce's own variation-matching JS keeps
   working unmodified). */
.pt-variation-group { margin: 0; }
.pt-variation-label {
	margin: 0 0 10px;
	color: var(--wp--preset--color--muted);
}
.pt-color-swatches,
.pt-size-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.pt-color-swatch {
	width: 36px;
	height: 36px;
	border-radius: var(--pt-radius-control);
	border: 1px solid var(--wp--preset--color--rule);
	padding: 0;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pt-color-swatch.pt-swatch-outline { border-color: var(--wp--preset--color--rule-2); }
.pt-color-swatch:hover { transform: translateY(-1px); }
.pt-color-swatch.pt-active {
	box-shadow: 0 0 0 2px #fff inset, 0 0 0 1px var(--wp--preset--color--ink);
}
.pt-size-btn {
	min-width: 44px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--pt-radius-control);
	border: 1px solid var(--wp--preset--color--rule);
	background: #fff;
	font-family: inherit; /* V-01: <button> inak ostáva v Arial */
	font-weight: 600;
	font-size: 13.5px;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.pt-size-btn:hover { border-color: var(--wp--preset--color--ink); }
.pt-size-btn.pt-active {
	background: var(--wp--preset--color--yellow);
	border-color: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--ink);
	font-weight: 700;
}

/* Quantity + Add to cart in one row (variable-product version of the
   type-1 buy box row) — the original select/reset-link row is hidden via
   .pt-visually-hidden-row rather than removed, so nothing about
   WooCommerce's own variation logic changes, only what's visible. */
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

/* Mini trust row (Tlač od 1 kusa / Doprava zdarma / Online editor) — built by
   single-product.js right after the qty+cart row, same 3 items across all
   variable products for now (not per-product content). */
.pt-mini-trust {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin-top: 6px;
}
.pt-mini-trust-item {
	display: flex;
	align-items: center;
	gap: 7px;
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-control);
	padding: 12px 14px;
	font-size: 12px;
	line-height: 1.3;
	color: var(--wp--preset--color--muted);
	flex: 1 1 0;
	min-width: 0;
}
.pt-mini-trust-item span {
	white-space: normal;
	overflow-wrap: break-word;
}
.pt-mini-trust-item svg { flex-shrink: 0; color: var(--wp--preset--color--yellow-2); }
.pt-visually-hidden-row {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) table.variations:has(tr):not(:has(tr:not(.pt-visually-hidden-row))) {
	display: none;
}

/* ---------- Single product: type 3 (lightbox FPD, e.g. Kalendár) ----------
   FPD runs here in "Modal" position: .fpd-product-designer-wrapper is a
   sibling of .summary same as type-2, but stays hidden/off-canvas until the
   "Prispôsobiť" button opens it as a fullscreen overlay — so this category
   keeps the plain single-column WooCommerce layout (image left, summary
   right) and only needs the same buy-box visual polish as Tričko: tight
   title→price gap, flat (non-card) buybox, spec-list short description. */
.pt-single-product div.product.product_cat-kalendare .summary.entry-summary {
	gap: 10px;
}
.pt-single-product div.product.product_cat-kalendare .woocommerce-product-details__short-description {
	margin-bottom: 0;
}
.pt-single-product div.product.product_cat-kalendare .pt-buybox {
	background: none;
	border: none;
	padding: 0;
	gap: 14px;
}
.pt-single-product div.product.product_cat-kalendare .pt-buybox-row {
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
}
.pt-single-product div.product.product_cat-kalendare form.cart {
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 12px;
}
/* The hidden <select>-based variation table still occupies a flex "slot" +
   gap even with its row(s) visually hidden (a <tr> can't be display:none'd
   without breaking WC's own variation JS) — collapse the whole table once
   every row inside it has been converted to swatches/buttons. Same fix as
   Tričko. */
.pt-single-product div.product.product_cat-kalendare table.variations:has(tr):not(:has(tr:not(.pt-visually-hidden-row))) {
	display: none;
}

/* Quantity + "Pridať do košíka" + "Prispôsobiť" in one compact row instead
   of stacked full-width blocks — visual order (qty → cart → prispôsobiť)
   is set via flex `order` rather than touching the DOM (WooCommerce's own
   variation JS depends on the existing markup order). */
.pt-single-product div.product.product_cat-kalendare .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}
.pt-single-product div.product.product_cat-kalendare .quantity {
	order: 1;
}
.pt-single-product div.product.product_cat-kalendare .single_add_to_cart_button {
	order: 2;
}
.pt-single-product div.product.product_cat-kalendare #fpd-start-customizing-button {
	order: 3;
	width: auto;
	flex: 0 0 auto;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	height: 56px;
	padding: 0 28px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	border-radius: var(--pt-radius-control);
	text-decoration: none;
}

/* "Prispôsobiť" (FPD lightbox launcher) — same shape/size as "Pridať do
   košíka", just black background + orange text so it reads as a distinct
   secondary action, per Marek's request. */
.pt-single-product #fpd-start-customizing-button {
	background: var(--wp--preset--color--ink) !important;
	color: #E08A2E !important;
	border: none !important;
}
.pt-single-product #fpd-start-customizing-button:hover {
	background: #000 !important;
	color: #E08A2E !important;
}

/* Tabs (Popis / Ďalšie informácie / Recenzie) — underline switcher.
   WooCommerce core ships `.woocommerce div.product .woocommerce-tabs ul.tabs li`
   with its own boxed/notched tab look (higher specificity than a bare
   `.woocommerce-tabs ul.tabs li`, plus ::before/::after "teeth" pseudo-
   elements) — match that selector weight and neutralize the pseudo-elements
   explicitly rather than relying on load order. */
.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce-tabs ul.tabs {
	display: flex;
	gap: 40px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--wp--preset--color--rule);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
	content: none !important;
	display: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce-tabs ul.tabs li {
	border: none !important;
	background: none !important;
	border-radius: 0 !important;
	margin: 0 !important;
	padding: 0 0 16px !important;
	border-bottom: 3px solid transparent !important;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	font-weight: 500;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	content: none !important;
	display: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-tabs ul.tabs li a {
	display: inline;
	padding: 0;
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce-tabs ul.tabs li.active {
	background: none !important;
	border-bottom-color: var(--wp--preset--color--yellow) !important;
	color: var(--wp--preset--color--ink);
	font-weight: 700;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li.active a { color: var(--wp--preset--color--ink); }
.woocommerce-Tabs-panel h2, .woocommerce-Tabs-panel h3 { font-size: 23px; margin: 0 0 16px; }
/* V-16 (14. 11. 2026): text popisu produktu 16 px — predtým dedil 20 px z <body>
   a bol väčší než úvodný odsek (.pt-lead, 17 px). */
.woocommerce-Tabs-panel--description { font-size: 16px; line-height: 1.6; }

/* "Ďalšie informácie" tab — WooCommerce's attribute table (Veľkosť, Farba,
   ...) centers the label column and butts the value column right up
   against it by default. Left-align labels and give values a little
   breathing room instead — applies site-wide, not just one product. */
.woocommerce-product-attributes.shop_attributes th.woocommerce-product-attributes-item__label {
	text-align: left;
}
.woocommerce-product-attributes.shop_attributes td.woocommerce-product-attributes-item__value {
	padding-left: 16px;
}

/* Related products (classic loop) */
.related.products {
	margin-top: 64px;
	padding-top: 48px;
	border-top: 1px solid var(--wp--preset--color--rule-2);
}
.related.products > h2 {
	font-size: 28px;
	border-left: 4px solid var(--wp--preset--color--yellow);
	padding-left: 16px;
	margin: 0 0 28px;
}
.related.products ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	list-style: none;
	padding: 0;
	margin: 0;
}
/* WooCommerce's default float-layout clearfix (::before/::after) becomes a
   phantom grid item once display is switched to grid — neutralize it. */
.related.products ul.products::before,
.related.products ul.products::after {
	content: none !important;
	display: none !important;
}
.related.products ul.products li.product {
	background: #fff;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-card-sm);
	padding: 14px;
	margin: 0 !important;
	width: auto !important;
	float: none !important;
	display: block !important;
}
.related.products ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 8px;
	background: var(--wp--preset--color--panel);
	margin-bottom: 10px;
}
.related.products ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 15px;
	margin: 0 0 4px;
}
.related.products ul.products li.product .price {
	font-size: 14px;
	margin: 0;
	display: block;
}
.related.products ul.products li.product .button {
	margin-top: 10px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	text-transform: uppercase;
	padding: 7px 14px;
	border-radius: var(--pt-radius-pill);
}

/* ---------- Product description content blocks (reusable across products) ----------
   Used inside the "Popis" tab / product description field for FPD products:
   a numbered 3-col step grid (e.g. "how the designer canvas maps to the product")
   and a check-icon list (e.g. "customization options"). Insert this markup
   directly in the product description (Text/HTML editor mode) and these
   classes will pick up the site's styling automatically. */
.woocommerce-Tabs-panel .pt-step-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 20px 0 28px;
}
.woocommerce-Tabs-panel .pt-step-card {
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-card-sm);
	padding: 24px;
}
.woocommerce-Tabs-panel .pt-step-num {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--wp--preset--color--ink);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 16px;
}
.woocommerce-Tabs-panel .pt-step-title {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--wp--preset--color--ink);
	margin-bottom: 8px;
}
.woocommerce-Tabs-panel .pt-step-desc {
	font-size: 14px;
	line-height: 1.6;
	color: var(--wp--preset--color--text);
}

.woocommerce-Tabs-panel .pt-check-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 20px 0;
}
.woocommerce-Tabs-panel .pt-check-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	color: var(--wp--preset--color--text);
}
.woocommerce-Tabs-panel .pt-check-icon {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--wp--preset--color--ink);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.woocommerce-Tabs-panel .pt-check-icon svg { width: 12px; height: 12px; display: block; }

/* Fajka aj tam, kde je krúžok v HTML prázdny (napr. Samolepky).
   Kreslí sa z borderov, takže popis nemusí obsahovať SVG. */
.woocommerce-Tabs-panel .pt-check-icon:empty::before {
	content: "";
	width: 6px;
	height: 10px;
	margin-top: -2px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}

@media (max-width: 640px) {
	.woocommerce-Tabs-panel .pt-step-grid { grid-template-columns: 1fr; }
}

/* ---------- Single product: type 4 (Uni CPO configurator — Letáky, Vizitky, …) ----------
   Configurable print products use Uni CPO instead of FPD: the whole configurator
   (Formát, Počet kusov, papier, gramáž, tlač + a tiered price table) renders as a
   .uni-builderius-container inside form.cart. They were previously served by a
   separate Elementor single-product template ("Služby template"); that template
   is now set to Draft, so they fall through to this block theme's
   single-product.html like the FPD products — giving them the site header,
   breadcrumb, gallery, tabs and related products for free.

   Scope is the .pt-cpo class that single-product.js adds to any div.product
   containing a .uni-builderius-container (category-independent — some of these
   products live only in sub-categories like Veľkoformátová tlač, so a
   product_cat-* scope would miss them). FPD types (Hrnček / Tričko / Kalendár)
   have no Uni CPO container, so they never get .pt-cpo and are untouched.

   Layout mirrors Tričko (type 2): FLAT, no bordered buy-box card (that card was
   designed for Hrnček's full-width FPD layout with lots of empty space, and
   looks heavy here). single-product.js relocates the live total .price directly
   under the title as .pt-cpo-price-slot. Field/label/table selectors use Uni
   CPO's stable classes (.uni-cpo-module-*-label, .js-uni-cpo-field-*,
   .cpo-upsell), never the per-instance .uni-node-* hashes. */

/* Tighter title→price gap like the variable-product (Tričko) layout. */
.pt-single-product div.product.pt-cpo .summary.entry-summary { gap: 4px; }

/* Flat buy box — strip the card chrome (bg / border / padding); it only wraps
   the form + bottom meta now, the price was moved out to under the title. */
.pt-single-product div.product.pt-cpo .pt-buybox {
	background: none;
	border: none;
	padding: 0;
	gap: 10px;
}
.pt-single-product div.product.pt-cpo .pt-buybox-row {
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}
.pt-single-product div.product.pt-cpo form.cart {
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 10px;
	flex: 1 1 auto;
	width: 100%;
	margin: 0 !important;
}
.pt-single-product div.product.pt-cpo .uni-builderius-container { width: 100%; }

/* Live total price, relocated by single-product.js to sit right under the title
   (mono "Cena spolu" kicker + big green amount), same green treatment as the
   other product types. */
.pt-single-product div.product.pt-cpo .pt-cpo-price-slot {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
}
.pt-single-product div.product.pt-cpo .pt-cpo-total-label {
	color: var(--wp--preset--color--muted);
}
.pt-single-product div.product.pt-cpo .price.pt-cpo-total-price {
	font-size: 28px;
	line-height: 1.1;
	margin: 0 !important;
}

/* Field labels → mono uppercase, small, muted (same treatment as variation /
   spec labels elsewhere on the single product). */
.pt-single-product div.product.pt-cpo .uni-cpo-module-select-label,
.pt-single-product div.product.pt-cpo .uni-cpo-module-text_input-label,
.pt-single-product div.product.pt-cpo .uni-cpo-module-radio-label,
.pt-single-product div.product.pt-cpo .uni-cpo-module-checkbox-label {
	display: block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	font-weight: 500;
	margin: 0 0 8px;
}

/* Native <select> + text inputs → theme control style (border, radius, height),
   matching the qty stepper / size buttons on other product types. */
.pt-single-product div.product.pt-cpo .js-uni-cpo-field-select,
.pt-single-product div.product.pt-cpo .js-uni-cpo-field-text_input {
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-control);
	background: #fff;
	font-family: var(--wp--preset--font-family--body);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--wp--preset--color--ink);
	box-sizing: border-box;
	transition: border-color 0.15s ease;
}
.pt-single-product div.product.pt-cpo .js-uni-cpo-field-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 40px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231b1b1b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
/* V-09: builder Uni CPO dáva výberu vlastnú výšku a zaoblenie s !important
   (cpo-css-product-*.css, napr. „Typ papiera“ pri Letákoch 36 px / 5 px). */
.pt-single-product div.product.pt-cpo select.js-uni-cpo-field-select {
	height: 44px !important;
	min-height: 44px !important;
	padding: 0 40px 0 12px !important;
	border-radius: var(--pt-radius-control) !important;
}
.pt-single-product div.product.pt-cpo .js-uni-cpo-field-select:focus,
.pt-single-product div.product.pt-cpo .js-uni-cpo-field-text_input:focus {
	outline: none;
	border-color: var(--wp--preset--color--ink);
}

/* Checkbox / radio options ("Ďalšie nastavenia" + revealed Lom / Laminácia …) */
.pt-single-product div.product.pt-cpo .js-uni-cpo-field-checkbox,
.pt-single-product div.product.pt-cpo .js-uni-cpo-field-radio {
	width: 18px;
	height: 18px;
	accent-color: var(--wp--preset--color--yellow-2);
	cursor: pointer;
	vertical-align: middle;
}
.pt-single-product div.product.pt-cpo .uni-module-checkbox label,
.pt-single-product div.product.pt-cpo .uni-module-radio label {
	font-size: 14.5px;
	color: var(--wp--preset--color--text);
	cursor: pointer;
}

/* ---------- Uni CPO fields as pills + qty slider (cpo-fields.js) ----------
   Formát / Gramáž / Tlač selects are turned into pill buttons; Počet kusov gets
   a slider + preset buttons. Fields are forced to a single full-width column so
   the pills have room to breathe (matches the original design mockup). */

/* Stack Uni CPO's own 2-col rows into one full-width column. Compact spacing. */
.pt-single-product div.product.pt-cpo .uni-builderius-container {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pt-single-product div.product.pt-cpo .uni-row-content-block {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pt-single-product div.product.pt-cpo .uni-row-content-block > * {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	float: none !important;
}
/* Normalise column padding — some Uni CPO columns (e.g. Gramáž) carry extra
   padding that made them sit indented / spread out vs the others. */
.pt-single-product div.product.pt-cpo .uni-col-content {
	width: 100% !important;
	padding: 0 !important;
}

/* Šírka/Výška (Vlastný rozmer) — moved right under Formát and laid side by side
   in one row (cpo-fields.js tags the wrapper .pt-cpo-dims). */
.pt-single-product div.product.pt-cpo .pt-cpo-dims .uni-row-content-block {
	flex-direction: row;
	gap: 12px;
}
.pt-single-product div.product.pt-cpo .pt-cpo-dims .uni-row-content-block > * {
	width: auto !important;
	flex: 1 1 0 !important;
}

/* Pillified <select> is hidden (kept in DOM for Uni CPO sync). */
.pt-single-product div.product.pt-cpo .pt-cpo-hidden-select { display: none !important; }
/* Radio group turned into pills: hide the raw radios + their option labels,
   keep the field label + pills (Povrch laminácie: Lesklá/Matná). */
.pt-single-product div.product.pt-cpo .pt-cpo-radio-pills input[type="radio"],
.pt-single-product div.product.pt-cpo .pt-cpo-radio-pills .uni-cpo-option-label { display: none !important; }

.pt-cpo-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pt-cpo-pill,
.pt-cpo-qty-preset {
	padding: 6px 13px;
	border: 1px solid var(--wp--preset--color--rule);
	background: #fff;
	border-radius: var(--pt-radius-control);
	font-family: var(--wp--preset--font-family--body);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pt-cpo-pill:hover,
.pt-cpo-qty-preset:hover { border-color: var(--wp--preset--color--ink); }
.pt-cpo-pill.pt-active,
.pt-cpo-qty-preset.pt-active {
	background: var(--wp--preset--color--yellow);
	border-color: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--ink);
	font-weight: 700;
}

/* Počet kusov: number input + slider + presets */
.pt-single-product div.product.pt-cpo .uni_cpo_qty-field.pt-cpo-qty-input { max-width: 120px; }
.pt-cpo-qty { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
/* Custom cross-browser range slider (native <input type=range> renders very
   differently in Chrome vs Firefox — this makes it identical: grey track,
   yellow fill, round yellow thumb). Fill left of the thumb: Firefox uses
   ::-moz-range-progress, Chrome/WebKit uses a JS-set linear-gradient background
   (see cpo-fields.js updateFill). */
.pt-cpo-qty-slider {
	--pt-fill: 0%;
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	border-radius: 99px;
	background: transparent;
	outline: none;
	cursor: pointer;
	margin: 6px 0;
}
.pt-cpo-qty-slider::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 99px;
	background: linear-gradient( to right, var(--wp--preset--color--yellow-2) var(--pt-fill), var(--wp--preset--color--rule) var(--pt-fill) );
}
.pt-cpo-qty-slider::-moz-range-track { height: 6px; border-radius: 99px; background: var(--wp--preset--color--rule); }
.pt-cpo-qty-slider::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--wp--preset--color--yellow-2); }
.pt-cpo-qty-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	margin-top: -6px;
	border-radius: 50%;
	background: var(--wp--preset--color--yellow);
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
	cursor: pointer;
}
.pt-cpo-qty-slider::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--wp--preset--color--yellow);
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
	cursor: pointer;
}
.pt-cpo-qty-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-cpo-qty-preset { flex: 1 1 auto; text-align: center; min-width: 64px; }
.pt-cpo-qty-hint {
	font-size: 12px;
	color: var(--wp--preset--color--muted);
	margin-top: -2px;
}

/* Tiered price table (Uni CPO dynamic notice: qty / total / per-piece) */
.pt-single-product div.product.pt-cpo .cpo-upsell {
	width: 100%;
	border-collapse: collapse;
	background: var(--wp--preset--color--paper);
	border: none;
	box-shadow: 0 2px 10px rgba( 0, 0, 0, 0.07 );
	border-radius: var(--pt-radius-card-sm);
	overflow: hidden;
}
.pt-single-product div.product.pt-cpo .cpo-upsell td {
	padding: 8px 16px;
	font-size: 12.5px;
	color: var(--wp--preset--color--text);
	border: none;
}
/* Header row (Počet / Spolu / Cena/ks) on the dark ink background. */
.pt-single-product div.product.pt-cpo .cpo-upsell .pt-upsell-head td {
	background: var(--wp--preset--color--ink);
	color: #fff;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 8px 16px;
}
.pt-single-product div.product.pt-cpo .cpo-upsell .pt-upsell-head td:nth-child(2),
.pt-single-product div.product.pt-cpo .cpo-upsell .pt-upsell-head td:last-child { text-align: right; }
/* Zebra striping on the data rows. */
.pt-single-product div.product.pt-cpo .cpo-upsell tr:not(.pt-upsell-head):nth-of-type(even) {
	background: var(--wp--preset--color--panel);
}
.pt-single-product div.product.pt-cpo .cpo-upsell td:first-child {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11.5px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
}
.pt-single-product div.product.pt-cpo .cpo-upsell td:nth-child(2) {
	text-align: right;
	font-weight: 700;
	color: var(--wp--preset--color--ink);
}
.pt-single-product div.product.pt-cpo .cpo-upsell td:last-child {
	text-align: right;
	color: var(--wp--preset--color--muted);
	font-size: 12.5px;
	white-space: nowrap;
}
/* Selected quantity row highlighted + "Vybrané" badge. */
.pt-single-product div.product.pt-cpo .cpo-upsell tr.pt-upsell-active td { background: rgba( 240, 196, 25, 0.18 ); }
.pt-single-product div.product.pt-cpo .cpo-upsell tr.pt-upsell-active td:first-child::after {
	content: 'Vybrané';
	display: inline-block;
	margin-left: 8px;
	background: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--ink);
	font-size: 11px;
	letter-spacing: 0.04em;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: var(--pt-radius-pill);
	vertical-align: middle;
}

/* Perforovaná fólia — hint o množstevnej zľave (nad cenou, pod .pt-cpo-price-slot) */
.pt-single-product div.product.pt-cpo .pt-owv-hint {
	font-size: 12px;
	line-height: 1.4;
	color: var(--wp--preset--color--muted);
	margin: -4px 0 4px;
}

/* Perforovaná fólia — box s potvrdením pridania + živým súhrnom objednávky.
   Vkladá ho JS (cpo-owv-order.js) hneď za .pt-cpo-price-slot. */
.pt-single-product div.product.pt-cpo .pt-owv-order-box {
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-card-sm);
	overflow: hidden;
	margin-bottom: 4px;
}

/* Potvrdenie po úspešnom pridaní do košíka. */
.pt-single-product div.product.pt-cpo .pt-owv-order-confirm {
	background: var(--wp--preset--color--yellow-soft);
	padding: 12px 16px;
	border-bottom: 1px solid var(--wp--preset--color--rule);
}
.pt-single-product div.product.pt-cpo .pt-owv-order-confirm-msg {
	margin: 0 0 8px;
	font-weight: 700;
	font-size: 13px;
	color: var(--wp--preset--color--ink);
}
.pt-single-product div.product.pt-cpo .pt-owv-order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.pt-single-product div.product.pt-cpo .pt-owv-btn {
	display: inline-block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-align: center;
	padding: 9px 14px;
	border-radius: var(--pt-radius-pill);
	cursor: pointer;
	text-decoration: none;
	border: 1px solid var(--wp--preset--color--ink);
	background: transparent;
	color: var(--wp--preset--color--ink);
}
.pt-single-product div.product.pt-cpo .pt-owv-btn-cart {
	background: var(--wp--preset--color--yellow);
	border-color: var(--wp--preset--color--yellow);
}
.pt-single-product div.product.pt-cpo .pt-owv-btn:hover { opacity: 0.85; }

/* Živý súhrn objednávky (počet položiek, plocha, cena pred/po zľave). */
.pt-single-product div.product.pt-cpo .pt-owv-order-summary {
	padding: 12px 16px;
}
.pt-single-product div.product.pt-cpo .pt-owv-summary-cart-link {
	display: block;
	text-align: center;
	margin-top: 8px;
}
.pt-single-product div.product.pt-cpo .pt-owv-summary-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 12.5px;
	padding: 3px 0;
}
.pt-single-product div.product.pt-cpo .pt-owv-summary-label {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.pt-single-product div.product.pt-cpo .pt-owv-summary-count {
	color: var(--wp--preset--color--text);
	white-space: nowrap;
}
.pt-single-product div.product.pt-cpo .pt-owv-summary-strike span:last-child {
	text-decoration: line-through;
	color: var(--wp--preset--color--muted);
}
.pt-single-product div.product.pt-cpo .pt-owv-summary-discount span:last-child {
	color: #1f8a4c;
	font-weight: 700;
}
.pt-single-product div.product.pt-cpo .pt-owv-summary-total {
	font-weight: 700;
	font-size: 14px;
	color: var(--wp--preset--color--ink);
	border-top: 1px dashed var(--wp--preset--color--rule);
	margin-top: 4px;
	padding-top: 7px;
}

/* Uni CPO "ordering disabled" / info notice (e.g. veľké zákazky nad 500 €) */
.pt-single-product div.product.pt-cpo .js-uni-cpo-ordering-disabled-notice {
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-card-sm);
	padding: 12px 14px;
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

/* Sold-individually → the qty box has a hidden input, so the stepper wrapper
   renders as an empty bordered box. Hide it (qty is always 1 here). */
.pt-single-product div.product.pt-cpo.sold-individually .quantity { display: none; }

/* Add to cart button spans the card width on these products. */
.pt-single-product div.product.pt-cpo .single_add_to_cart_button {
	width: 100%;
	flex: 1 1 auto;
}

/* ---------- Uni CPO two-column layout: media (image + imposition) | calculator ----------
   LEFT column = .pt-cpo-media (product image + "Vyradenie na hárok" panel),
   RIGHT column = calculator (summary + upload). cpo-imposition.js wraps the
   gallery + panel into .pt-cpo-media so the two columns are INDEPENDENT — the
   imposition panel stays right under the image and doesn't drift down when the
   right column grows (expanding Ďalšie nastavenia etc.). Top-aligned. */
.pt-single-product div.product.pt-cpo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas:
		"media   summary"
		"tabs    tabs"
		"related related";
	column-gap: 40px;
	row-gap: 20px;
	align-items: start;
}
.pt-single-product div.product.pt-cpo > .pt-cpo-media {
	grid-area: media;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}
/* V-18 (14. 11. 2026): karta s cenou v ľavom stĺpci kalkulačky — ide so stránkou.
   Vkladá ju assets/js/lista-kosik.js na koniec .pt-cpo-media; stĺpec sa preto
   natiahne na celú výšku riadku, aby mala karta kam cestovať. Len pri dvoch
   stĺpcoch (od 783 px) — na telefóne je namiesto nej lišta dole (mobil.css 10). */
.pt-cena-bok { display: none; }
@media (min-width: 783px) {
	.pt-single-product div.product.pt-cpo > .pt-cpo-media { align-self: stretch; }
	.pt-cena-bok {
		position: sticky;
		top: calc(24px + var(--wp-admin--admin-bar--height, 0px));
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		column-gap: 20px;
		margin-top: 10px;
		padding: 18px 20px;
		border: 1px solid var(--wp--preset--color--rule, #d9d9d0);
		border-radius: var(--pt-radius-card, 16px);
		background: #fff;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	}
	.pt-cena-bok.is-vidno { opacity: 1; visibility: visible; transform: none; }
	.pt-cena-bok__stitok { grid-column: 1; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted, #6e6e66); }
	.pt-cena-bok__suma {
		grid-column: 1;
		font-family: var(--wp--preset--font-family--display, inherit);
		font-size: 30px;
		font-weight: 700;
		line-height: 1.15;
		color: var(--wp--preset--color--green, #18784f);
	}
	.pt-cena-bok__pozn { grid-column: 1; font-size: 13px; line-height: 1.4; color: var(--wp--preset--color--muted, #6e6e66); }
	.pt-cena-bok__pozn:empty { display: none; }
	.pt-cena-bok__btn {
		grid-column: 2;
		grid-row: 1 / span 3;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		height: 56px;
		padding: 0 24px;
		border: 0;
		border-radius: var(--pt-radius-control, 10px);
		background: var(--wp--preset--color--yellow, #f0c419);
		color: var(--wp--preset--color--ink, #1b1b1b);
		font: inherit;
		font-size: 16px;
		font-weight: 700;
		cursor: pointer;
	}
	.pt-cena-bok__btn:hover { background: var(--wp--preset--color--yellow-deep, #d4a60e); }
}
/* Užší stĺpec (tablet): tlačidlo pod cenou. */
@media (min-width: 783px) and (max-width: 1099px) {
	.pt-cena-bok { grid-template-columns: 1fr; }
	.pt-cena-bok__btn { grid-column: 1; grid-row: auto; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.pt-cena-bok { transition: none; transform: none; }
}
.pt-single-product div.product.pt-cpo > .summary.entry-summary {
	grid-area: summary;
	align-self: start;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}
.pt-single-product div.product.pt-cpo > .woocommerce-tabs { grid-area: tabs; }
.pt-single-product div.product.pt-cpo > .related.products { grid-area: related; }

.pt-single-product div.product.pt-cpo .single_add_to_cart_button {
	flex: 0 0 auto;
	width: 100%;
	height: 56px; /* V-15 (predtým 50 px) */
}

/* Product gallery framed to match the panels.
   Rámik, zaoblenie a podklad patria galérii na KAŽDOM produkte (aj na
   dopytovej Rezanej grafike) — preto bez `.pt-cpo`. */
.pt-single-product div.product .woocommerce-product-gallery {
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-card);
	overflow: hidden;
	background: var(--wp--preset--color--panel);
}

/* Zrušenie WooCommerce plávania patrí len ku konfigurátoru, kde stĺpce
   rieši grid. Na bežnom produkte by galéria inak zabrala celú šírku. */
.pt-single-product div.product.pt-cpo .woocommerce-product-gallery {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

/* ---------- "Vyradenie na hárok" imposition panel (light, compact) ----------
   Per Marek's revised mockup: subtle grey panel (same grey as elsewhere on the
   page), compact horizontal layout — stats (efektivita + rozmer) on the left,
   the sheet SVG on the right, a "Hárky SRA3" bar underneath. White inner cards
   on the grey panel, yellow accents. */
.pt-impose {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: var(--wp--preset--color--panel);
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-card);
	padding: 18px;
}
.pt-impose-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pt-impose-title { color: var(--wp--preset--color--ink); font-size: 12px; }
.pt-impose-sub { color: var(--wp--preset--color--muted); font-size: 11px; margin-top: 3px; }
.pt-impose-badge {
	background: var(--wp--preset--color--yellow);
	border-radius: var(--pt-radius-control);
	padding: 6px 12px;
	font-size: 12px;
	color: var(--wp--preset--color--ink);
	white-space: nowrap;
}
.pt-impose-badge strong { color: var(--wp--preset--color--ink); font-weight: 800; }

.pt-impose-body { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 12px; align-items: stretch; }
.pt-impose-side { display: flex; flex-direction: column; gap: 12px; }

.pt-impose-stat {
	background: #fff;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-control);
	padding: 12px 14px;
}
.pt-impose-stat-label { color: var(--wp--preset--color--muted); font-size: 11px; margin-bottom: 8px; }
.pt-impose-bar { height: 6px; background: var(--wp--preset--color--rule-2); border-radius: 99px; overflow: hidden; }
.pt-impose-bar span { display: block; height: 100%; background: var(--wp--preset--color--yellow); transition: width 0.3s ease; }
.pt-impose-stat-row { display: flex; justify-content: space-between; margin-top: 7px; font-size: 11px; color: var(--wp--preset--color--muted); }
.pt-impose-eff-tag { color: var(--wp--preset--color--green); font-weight: 700; }
.pt-impose-dim { font-family: var(--wp--preset--font-family--mono); font-size: 16px; color: var(--wp--preset--color--ink); }
.pt-impose-dim span { font-size: 11px; color: var(--wp--preset--color--muted); }
.pt-impose-note { font-size: 11px; color: var(--wp--preset--color--muted); margin-top: 5px; }

.pt-impose-sheet {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-card-sm);
	padding: 16px;
}
.pt-impose-svg { width: 100%; height: auto; max-height: 300px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12)); }
.pt-impose-legend {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 2px 2px 0;
	font-size: 11px;
	color: var(--wp--preset--color--muted);
}
.pt-impose-legend span { display: flex; align-items: center; gap: 8px; }
.pt-impose-legend i { width: 11px; height: 11px; display: inline-block; border-radius: 2px; flex-shrink: 0; }
.pt-impose-legend .pt-lg-dash { border: 1px dashed var(--wp--preset--color--muted); }
.pt-impose-legend .pt-lg-fill { background: rgba(240, 196, 25, 0.35); border: 1px dashed var(--wp--preset--color--yellow-2); }

.pt-impose-sheets {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: var(--wp--preset--color--ink);
	padding: 12px 16px;
	background: #fff;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-control);
}
.pt-impose-sheets strong { color: var(--wp--preset--color--ink); font-size: 17px; }

.pt-impose-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 160px;
	padding: 22px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--wp--preset--color--muted);
	background: #fff;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-card-sm);
}
.pt-impose-tip {
	background: rgba(240, 196, 25, 0.12);
	border: 1px solid rgba(240, 196, 25, 0.4);
	border-radius: var(--pt-radius-card-sm);
	padding: 12px 14px;
}
.pt-impose-tip-body { font-size: 12.5px; line-height: 1.5; color: var(--wp--preset--color--text); }
.pt-impose-tip-body strong { color: var(--wp--preset--color--ink); font-weight: 700; }
.pt-impose-tip-btn {
	display: block;
	width: 100%;
	margin-top: 12px;
	padding: 9px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--yellow);
	border: none;
	border-radius: var(--pt-radius-control);
	cursor: pointer;
}
.pt-impose-tip-btn:hover { background: var(--wp--preset--color--yellow-2); }

/* ---------- Upload box (visual placeholder — real Uni CPO file field TBD) ---------- */
.pt-cpo-upload {
	border: 1.5px dashed var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-card);
	background: var(--wp--preset--color--paper);
	padding: 22px;
	text-align: center;
}
.pt-cpo-upload-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pt-cpo-upload svg { color: var(--wp--preset--color--yellow-2); }
.pt-cpo-upload-title { font-weight: 700; font-size: 15px; color: var(--wp--preset--color--ink); }
.pt-cpo-upload-note { color: var(--wp--preset--color--muted); }
.pt-cpo-upload-btn {
	margin-top: 6px;
	padding: 9px 18px;
	font-weight: 700;
	font-size: 13px;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--yellow);
	border: none;
	border-radius: var(--pt-radius-control);
	cursor: not-allowed;
	opacity: 0.7;
}

/* ---------- Real Uni CPO file upload field (.uni-module-file_upload) ----------
   Styled to match the placeholder box above (dashed box, title + note, yellow
   "Vybrať súbor" button) so products with a real File Upload option (Stojany,
   Baner, …) look the same as the Letáky/Vizitky placeholder. */
.pt-single-product div.product.pt-cpo .uni-module-file_upload {
	border: 1.5px dashed var(--wp--preset--color--rule);
	border-radius: var(--pt-radius-card);
	background: var(--wp--preset--color--paper);
	padding: 20px;
	text-align: center;
}
.pt-single-product div.product.pt-cpo .uni-cpo-module-file_upload-label {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: normal;
	text-transform: none;
	color: var(--wp--preset--color--ink);
	margin: 0;
}
.pt-single-product div.product.pt-cpo .uni-cpo-module-file_upload-label::after {
	content: 'CMYK · 300 DPI · spadávka 2 mm · max 50 MB';
	display: block;
	margin-top: 6px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}
.pt-single-product div.product.pt-cpo .uni-module-file_upload .dndWrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 14px;
	border: none;
	background: none;
	min-height: 0;
	padding: 0;
}
.pt-single-product div.product.pt-cpo .uni-cpo-file-upload-choose-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--ink);
	border: none;
	border-radius: var(--pt-radius-control);
	padding: 9px 18px;
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
}
.pt-single-product div.product.pt-cpo .uni-cpo-file-upload-choose-btn:hover { background: var(--wp--preset--color--yellow-2); }
/* Uploaded files list */
.pt-single-product div.product.pt-cpo .uni-cpo-file-upload-files {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.pt-single-product div.product.pt-cpo .uni-cpo-file-upload-files-item {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
	font-size: 13px;
	color: var(--wp--preset--color--text);
}
/* Empty/undefined placeholder item is hidden by cpo-fields.js (.pt-cpo-hidden). */
.pt-single-product div.product.pt-cpo .uni-cpo-file-upload-files-item.pt-cpo-hidden { display: none; }
/* Keep the upload box within its column (it was rendering wider than the summary
   and spilling past the right edge on narrower screens). */
.pt-single-product div.product.pt-cpo .uni-module-file_upload {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}
.pt-single-product div.product.pt-cpo .uni-module-file_upload * { max-width: 100%; box-sizing: border-box; }

/* ---------- Prebitie starých štýlov z Uni CPO buildera ----------
   Builder generuje per-node CSS s !important (napr.
   `.uni-node-53c85158 .uni-cpo-module-text_input-label { text-align:right !important }`),
   čo sú zvyšky starého dizajnu. Vzhľad rieši téma, preto ich tu prebíjame. */
.pt-single-product div.product.pt-cpo .uni-cpo-module-select-label,
.pt-single-product div.product.pt-cpo .uni-cpo-module-text_input-label,
.pt-single-product div.product.pt-cpo .uni-cpo-module-radio-label,
.pt-single-product div.product.pt-cpo .uni-cpo-module-checkbox-label {
	text-align: left !important;
	font-size: 12px !important;
}

/* Textový modul z buildera použitý ako nadpis sekcie (napr. „Rozmer") — nech
   vyzerá rovnako ako popisky polí. */
.pt-single-product div.product.pt-cpo .uni-module-text {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	font-weight: 500;
	/* Odsadenie zhora — nadpis sekcie ("Rozmer") oddeľuje bloky, preto má väčší
	   odstup než rozostup medzi jednotlivými poľami. */
	margin: 22px 0 8px;
	line-height: 1.3;
}
/* Popisky Šírka/Výška sú vnorené pod nadpisom sekcie — o stupeň menšie
   a bližšie k svojmu poľu. */
.pt-single-product div.product.pt-cpo .pt-cpo-dimrow .uni-cpo-module-text_input-label {
	font-size: 11px !important;
	margin: 0 0 4px;
}
.pt-single-product div.product.pt-cpo .uni-module-text p { margin: 0; font: inherit; color: inherit; }
.pt-single-product div.product.pt-cpo .js-uni-cpo-field-text_input {
	width: 100% !important;
	max-width: none !important;
	height: 44px !important;
	text-align: left !important;
	font-size: 13.5px !important;
	border: 1px solid var(--wp--preset--color--rule) !important;
	border-radius: var(--pt-radius-control) !important;
}
/* Builder kreslí okolo stĺpcov bodkovaný rámček — v novom dizajne nepatrí. */
.pt-single-product div.product.pt-cpo .uni-col-content,
.pt-single-product div.product.pt-cpo .uni-row-content { border: none !important; }

/* Rozmer: Šírka + Výška + jednotky vedľa seba (obal robí cpo-fields.js). */
.pt-single-product div.product.pt-cpo .pt-cpo-dimrow {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	width: 100%;
}
.pt-single-product div.product.pt-cpo .pt-cpo-dimrow > * {
	width: auto !important;
	max-width: none !important;
	flex: 1 1 0;
	min-width: 0;
}
/* Stĺpec/modul s jednotkami (pills mm/cm/m) sa needostáva do rovnakej šírky ako inputy. */
.pt-single-product div.product.pt-cpo .pt-cpo-dimrow > *:has(.pt-cpo-pills) { flex: 0 0 auto; }
.pt-single-product div.product.pt-cpo .pt-cpo-dimrow .uni-module { margin: 0; }
/* Builder môže mať na moduloch vlastnú šírku/inline display — v tomto riadku
   rozloženie riadi flex, aby polia naozaj sedeli vedľa seba. */
.pt-single-product div.product.pt-cpo .pt-cpo-dimrow > .uni-module {
	display: block !important;
	width: auto !important;
	max-width: none !important;
	flex: 1 1 0;
	min-width: 0;
}
.pt-single-product div.product.pt-cpo .pt-cpo-dimrow > .uni-module:has(.pt-cpo-pills) { flex: 0 0 auto; }

/* Uni CPO má na niektorých poliach zarovnanie popisku doprava — zjednotíme vľavo. */
.pt-single-product div.product.pt-cpo .uni-cpo-module-select-label,
.pt-single-product div.product.pt-cpo .uni-cpo-module-text_input-label,
.pt-single-product div.product.pt-cpo .uni-cpo-module-radio-label,
.pt-single-product div.product.pt-cpo .uni-cpo-module-checkbox-label { text-align: left; }

/* Responsive: collapse hero/grids on small screens */
@media (max-width: 782px) {
	.pt-hero { flex-direction: column; }
	.pt-hero-title { font-size: 52px; }
	.pt-category-grid { grid-template-columns: 1fr; }
	.pt-service-split {
		flex-direction: column;
	}
	.pt-nav-row, .pt-utility-bar { padding-left: 20px; padding-right: 20px; }
	.related.products ul.products { grid-template-columns: repeat(2, 1fr); }
	.pt-single-product div.product:is(.product_cat-tricka, .pt-textil-produkt) {
		grid-template-columns: 1fr;
		grid-template-areas:
			"summary"
			"designer"
			"tabs"
			"related";
	}
	.pt-single-product div.product.pt-cpo {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		grid-template-areas:
			"media"
			"summary"
			"tabs"
			"related";
	}
}

/* Bočný panel košíka — bez krátkeho popisu, parametre drobným písmom (Etapa 2.12) */
.wc-block-mini-cart__drawer .wc-block-components-product-metadata__description { display: none !important; }
.wc-block-mini-cart__drawer .wc-block-components-product-details { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--wp--preset--color--muted, #6e6e66); }
.wc-block-mini-cart__drawer .wc-block-components-product-details li { margin: 0; }
.wc-block-mini-cart__drawer .wc-block-components-product-details__name { font-weight: 600; color: var(--wp--preset--color--text, #4a4a43); }
/* Kôš pod cenou v pravom stĺpci (Marek 8. 11. 2026) — Woo ho dáva pod parametre
   vľavo. Presúva sa len tlačidlo, nie celý blok množstva (výber počtu by sa
   inak rozbil, keby ho niektorý produkt mal). 16 px = horný odsadenie riadku,
   18 px = výška ceny, 8 px medzera. */
.wc-block-mini-cart__drawer .wc-block-cart-items__row { position: relative; }
.wc-block-mini-cart__drawer .wc-block-cart-items__row .wc-block-cart-item__remove-link {
	position: absolute;
	top: 42px;
	right: 0;
	margin: 0;
}
