/* 3D-Print.sk – doplnkové štýly v1.2.1 (menu, karty, kategórie, homepage). Načítava mu-plugin 3d-print-vzhlad.php. */

/* ---------- Hlavné menu – tlačidlo „Nacenenie 3D tlače“ (momentálne nepoužité) ---------- */
.p3-nav .p3-menu-cta { margin-left: 6px; }
.p3-nav .p3-menu-cta > a {
	padding: 10px 18px;
	margin: 14px 0;
	border-radius: var(--p3-radius-sm);
	background: var(--p3-orange);
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
	transition: background .15s ease, box-shadow .15s ease;
}
.p3-nav .p3-menu-cta > a::after { display: none; }
.p3-nav .p3-menu-cta > a:hover,
.p3-nav .p3-menu-cta > a:focus-visible {
	background: var(--p3-orange-hover);
	color: #fff;
	box-shadow: 0 0 0 4px rgba(242,106,27,.22), 0 0 22px rgba(242,106,27,.45);
}
.p3-nav .p3-menu-cta > a::before {
	content: "";
	display: inline-block;
	width: 16px; height: 16px;
	margin: 0 8px -2px 0;
	background: currentColor;
	-webkit-mask: var(--p3-calc-icon) center / contain no-repeat;
	mask: var(--p3-calc-icon) center / contain no-repeat;
}
:root {
	--p3-calc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M8 6h8M8 11h.01M12 11h.01M16 11h.01M8 15h.01M12 15h.01M16 15h.01M8 19h.01M12 19h4'/%3E%3C/svg%3E");
}
.p3-nav > ul > li > a { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1480px) {
	.p3-header__inner { gap: 14px; }
	.p3-nav a { padding-inline: 9px; font-size: .92rem; }
	.p3-nav a::after { left: 9px; right: 9px; }
	.p3-nav .menu-item-has-children > a { padding-right: 24px; }
	.p3-search { flex: 0 1 190px; }
}
@media (min-width: 1101px) and (max-width: 1300px) {
	.p3-brand { font-size: 1.25rem; }
	.p3-brand svg { width: 30px; height: 30px; }
	.p3-search { flex: 0 0 44px; }
	.p3-search input[type="search"] { padding: 0; width: 44px; color: transparent; cursor: pointer; }
	.p3-search input[type="search"]::placeholder { color: transparent; }
	.p3-search input[type="search"]:focus { position: absolute; right: 0; top: 0; width: 260px; padding: 0 44px 0 16px; color: #fff; z-index: 2; }
	.p3-search button { z-index: 3; pointer-events: none; }
}
@media (max-width: 1100px) {
	.p3-nav .p3-menu-cta { margin: 10px 0 0; }
	.p3-nav .p3-menu-cta > a { display: block; text-align: center; padding: 14px 18px; margin: 0; }
}

/* ---------- Karty produktov: oranžový okraj, bez pohybu ---------- */
.woocommerce ul.products li.product { transition: border-color .15s ease, box-shadow .15s ease; }
.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product:focus-within {
	transform: none;
	border-color: var(--p3-orange);
	box-shadow: 0 0 0 1px var(--p3-orange);
}

/* Popis kategórie nad produktmi */
.woocommerce .term-description { color: var(--p3-text-muted); max-width: 70ch; margin: 0 0 20px; line-height: 1.6; }

/* ---------- Homepage – pás „Medaily na preteky“: medaila bez pozadia s jemnou žiarou ---------- */
img[src*="medaila-na-mieru-1296"] {
	margin-inline: auto;
	filter: drop-shadow(0 0 38px rgba(242,106,27,.28)) drop-shadow(0 18px 24px rgba(0,0,0,.45));
}
