/* ==========================================================================
   Patrick Thomalla Merch – Shop-Optik
   ========================================================================== */

:root {
	--ptm-accent: #c74b9c;
	--ptm-accent-2: #7b4bc7;
	--ptm-ink: #1b1420;
	--ptm-muted: #6d6474;
	--ptm-surface: #f7f3f8;
	--ptm-radius: 20px;
	--ptm-radius-sm: 12px;
	--ptm-shadow: 0 10px 30px -12px rgba(40, 14, 48, .28);
	--ptm-shadow-lg: 0 24px 50px -18px rgba(40, 14, 48, .45);
	--ptm-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Einblenden beim Scrollen ---------- */
/* „translate“ statt „transform“, damit Hover-Effekte unabhängig bleiben. */

[data-ptm-js] [data-ptm-reveal],
[data-ptm-js] .ptm-store ul.products li.product {
	opacity: 0;
	translate: 0 24px;
	transition: opacity .7s var(--ptm-ease), translate .7s var(--ptm-ease), transform .5s var(--ptm-ease), box-shadow .5s var(--ptm-ease);
	transition-delay: calc(var(--ptm-i, 0) * 60ms), calc(var(--ptm-i, 0) * 60ms), 0s, 0s;
	/* Fallback, falls das Script nicht lädt */
	animation: ptm-failsafe 0s 2.5s forwards;
}

[data-ptm-js] [data-ptm-reveal].is-visible,
[data-ptm-js] .ptm-store ul.products li.product.is-visible {
	opacity: 1;
	translate: none;
	animation: none;
}

@keyframes ptm-failsafe {
	to { opacity: 1; translate: none; }
}

/* ---------- Landing ---------- */

.ptm-landing {
	padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 96px);
}

.ptm-landing__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	margin-bottom: clamp(24px, 4vw, 44px);
}

.ptm-landing__intro > div {
	max-width: 620px;
}

.ptm-eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	background: linear-gradient(90deg, var(--ptm-accent), var(--ptm-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ptm-landing .ptm-landing__title {
	margin: 0 0 10px;
	font-size: clamp(28px, 3.6vw, 44px);
	line-height: 1.1;
	letter-spacing: -.02em;
	color: var(--ptm-ink);
}

.ptm-landing__lead {
	margin: 0;
	padding: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ptm-muted);
}

/* ---------- Button ---------- */

.ptm-btn,
body .ptm-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px 14px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	color: #fff;
	background: linear-gradient(110deg, var(--ptm-accent), var(--ptm-accent-2), var(--ptm-accent));
	background-size: 220% 100%;
	box-shadow: 0 10px 24px -10px rgba(199, 75, 156, .7);
	transition: background-position .8s var(--ptm-ease), transform .3s var(--ptm-ease), box-shadow .3s var(--ptm-ease);
}

.ptm-btn:hover,
.ptm-btn:focus-visible {
	color: #fff;
	background-position: 100% 0;
	transform: translateY(-2px);
	box-shadow: 0 16px 30px -12px rgba(199, 75, 156, .8);
}

.ptm-btn__badge {
	display: inline-grid;
	place-items: center;
	min-width: 32px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	font-size: 13px;
	background: rgba(255, 255, 255, .22);
}

/* ---------- Kategorie-Kacheln ---------- */

.ptm-cats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(220px, 21vw, 300px);
	grid-auto-flow: dense;
	gap: clamp(12px, 1.6vw, 22px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ptm-cats > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ptm-cat--featured {
	grid-column: span 2;
	grid-row: span 2;
}

.ptm-cat__link {
	--mx: 50%;
	--my: 50%;
	--rx: 0deg;
	--ry: 0deg;
	position: relative;
	display: block;
	height: 100%;
	overflow: hidden;
	border-radius: var(--ptm-radius);
	background: var(--ptm-surface);
	color: #fff;
	box-shadow: var(--ptm-shadow);
	transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform .5s var(--ptm-ease), box-shadow .5s var(--ptm-ease);
	isolation: isolate;
}

.ptm-cat__link:hover,
.ptm-cat__link:focus-visible {
	color: #fff;
	box-shadow: var(--ptm-shadow-lg);
}

.ptm-cat__link:focus-visible {
	outline: 3px solid var(--ptm-accent);
	outline-offset: 4px;
}

.ptm-cat__media,
.ptm-cat__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ptm-cat__media img {
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 1.1s var(--ptm-ease), filter .6s var(--ptm-ease);
}

.ptm-cat__link:hover .ptm-cat__media img,
.ptm-cat__link:focus-visible .ptm-cat__media img {
	transform: scale(1.1);
}

/* Lesbarkeits-Verlauf + Spotlight, das der Maus folgt */
.ptm-cat__link::before,
.ptm-cat__link::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

.ptm-cat__link::before {
	background: linear-gradient(180deg, rgba(27, 20, 32, 0) 35%, rgba(27, 20, 32, .55) 70%, rgba(27, 20, 32, .88) 100%);
	transition: opacity .5s var(--ptm-ease);
}

.ptm-cat__link::after {
	background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .28), transparent 45%);
	opacity: 0;
	transition: opacity .4s var(--ptm-ease);
}

.ptm-cat__link:hover::after {
	opacity: 1;
}

.ptm-cat__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: clamp(16px, 2vw, 26px);
}

.ptm-cat__count {
	align-self: flex-start;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .04em;
	background: rgba(255, 255, 255, .18);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.ptm-cat__name {
	font-size: clamp(18px, 1.7vw, 24px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.01em;
}

.ptm-cat--featured .ptm-cat__name {
	font-size: clamp(24px, 3vw, 40px);
}

.ptm-cat__desc {
	max-width: 46ch;
	font-size: 14px;
	line-height: 1.5;
	opacity: .88;
}

.ptm-cat__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 600;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .4s var(--ptm-ease), transform .4s var(--ptm-ease);
}

.ptm-cat__link:hover .ptm-cat__cta,
.ptm-cat__link:focus-visible .ptm-cat__cta,
.ptm-cat--featured .ptm-cat__cta {
	opacity: 1;
	transform: none;
}

.ptm-cat__cta span {
	transition: transform .4s var(--ptm-ease);
}

.ptm-cat__link:hover .ptm-cat__cta span {
	transform: translateX(4px);
}

/* „Alle Produkte“-Kachel */
.ptm-cat--all .ptm-cat__link {
	background:
		radial-gradient(120% 90% at 0% 0%, rgba(199, 75, 156, .9), transparent 60%),
		radial-gradient(120% 90% at 100% 100%, rgba(123, 75, 199, .9), transparent 60%),
		var(--ptm-ink);
}

.ptm-cat--all .ptm-cat__link::before {
	opacity: 0;
}

.ptm-cat--all .ptm-cat__cta {
	opacity: 1;
	transform: none;
}

.ptm-cat__sparkles {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent),
		radial-gradient(1px 1px at 70% 20%, #fff, transparent),
		radial-gradient(2px 2px at 85% 60%, #ffd6f1, transparent),
		radial-gradient(1px 1px at 40% 75%, #fff, transparent),
		radial-gradient(1.5px 1.5px at 60% 45%, #fff, transparent),
		radial-gradient(1px 1px at 12% 85%, #ffd6f1, transparent);
	animation: ptm-twinkle 3.2s ease-in-out infinite alternate;
}

@keyframes ptm-twinkle {
	from { opacity: .35; transform: translateY(0); }
	to   { opacity: 1;   transform: translateY(-6px); }
}

/* ---------- Kategorie-Leiste ---------- */

.ptm-catnav {
	position: relative;
	width: 100%;
	margin: 0 0 28px;
}

.ptm-catnav::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 48px;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff);
}

.ptm-catnav__list {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 4px 48px 10px 2px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.ptm-catnav__list::-webkit-scrollbar {
	display: none;
}

.ptm-catnav__list > li {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	list-style: none;
	scroll-snap-align: start;
}

.ptm-catnav__pill,
body .ptm-catnav__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid rgba(27, 20, 32, .1);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	color: var(--ptm-ink);
	background: #fff;
	transition: background .3s var(--ptm-ease), color .3s var(--ptm-ease), border-color .3s var(--ptm-ease), transform .3s var(--ptm-ease);
}

.ptm-catnav__pill:hover,
.ptm-catnav__pill:focus-visible {
	color: var(--ptm-accent);
	border-color: var(--ptm-accent);
	transform: translateY(-1px);
}

.ptm-catnav__pill.is-active {
	color: #fff;
	border-color: transparent;
	background: linear-gradient(110deg, var(--ptm-accent), var(--ptm-accent-2));
	box-shadow: 0 8px 18px -10px rgba(199, 75, 156, .8);
}

.ptm-catnav__pill--home {
	background: var(--ptm-surface);
}

.ptm-catnav__count {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	background: rgba(27, 20, 32, .07);
}

.ptm-catnav__pill.is-active .ptm-catnav__count {
	background: rgba(255, 255, 255, .25);
}

/* Breite der „Alle Produkte“-Kachel füllt die letzte Rasterzeile */
.ptm-cat--span4-2 { grid-column: span 2; }
.ptm-cat--span4-3 { grid-column: span 3; }
.ptm-cat--span4-4 { grid-column: 1 / -1; }

/* ==========================================================================
   Produktkarten (Übersicht, Kategorien, ähnliche Produkte)
   ========================================================================== */

.ptm-store ul.products li.product.minimal .background-color-expand {
	display: none;
}

.ptm-store ul.products li.product.minimal {
	padding: 10px 10px 18px;
	border-radius: var(--ptm-radius);
	background: #fff;
	box-shadow: 0 0 0 1px rgba(27, 20, 32, .07);
	transition: transform .5s var(--ptm-ease), box-shadow .5s var(--ptm-ease);
}

.ptm-store ul.products li.product.minimal:hover {
	transform: translateY(-6px);
	box-shadow: 0 0 0 1px rgba(199, 75, 156, .22), var(--ptm-shadow-lg);
}

.ptm-store ul.products li.product .product-image-wrap {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: var(--ptm-surface);
}

.ptm-store ul.products li.product .product-image-wrap > a > img:not(.hover-gallery-image) {
	transition: transform 1s var(--ptm-ease);
}

.ptm-store ul.products li.product:hover .product-image-wrap > a > img {
	transform: scale(1.06);
}

/* Buttons über dem Bild (Ausführung wählen / Quick View)
   Mit ID im Selektor, weil Salients dynamisches CSS den Hover-Hintergrund mit !important auf Weiß setzt. */
body.ptm-store #ajax-content-wrap ul.products li.product.minimal .product-add-to-cart {
	gap: 8px;
	padding: 10px;
}

body.ptm-store #ajax-content-wrap ul.products li.product.minimal .product-add-to-cart a {
	display: flex !important;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	min-width: 0;
	margin: 0 !important;
	padding: 10px 8px !important;
	border-radius: 10px !important;
	font-size: 13px !important;
	font-weight: 600;
	line-height: 1.25 !important;
	text-align: center;
	color: var(--ptm-ink) !important;
	background: rgba(255, 255, 255, .92) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 6px 16px -10px rgba(27, 20, 32, .5);
	transition: transform .55s cubic-bezier(.2, .75, .5, 1), opacity .55s cubic-bezier(.2, .75, .5, 1), background-color .3s var(--ptm-ease), color .3s var(--ptm-ease) !important;
}

body.ptm-store #ajax-content-wrap ul.products li.product.minimal .product-add-to-cart a:hover,
body.ptm-store #ajax-content-wrap ul.products li.product.minimal .product-add-to-cart a:focus-visible {
	color: #fff !important;
	background: var(--ptm-accent) !important;
}

/* Salients Unterstreichungs-Animation (schwarze Linien) und Icons aus */
body.ptm-store #ajax-content-wrap ul.products li.product.minimal .product-add-to-cart a span {
	padding: 0 !important;
	color: inherit !important;
	background-image: none !important;
}

body.ptm-store #ajax-content-wrap ul.products li.product.minimal .product-add-to-cart a i {
	display: none !important;
}

/* Texte */
.ptm-store ul.products li.product .product-meta {
	padding: 14px 6px 0;
}

.ptm-store ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	height: 2.7em;
	margin: 0 0 8px;
	padding: 0 !important;
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.35 !important;
	letter-spacing: -.01em;
	color: var(--ptm-ink);
	overflow-wrap: anywhere;
	transition: color .3s var(--ptm-ease);
}

.ptm-store ul.products li.product:hover .woocommerce-loop-product__title {
	color: var(--ptm-accent);
}

.ptm-store ul.products li.product .german-market-salient-price,
.ptm-store ul.products li.product .price {
	margin: 0 0 6px;
	padding: 0 !important;
	font-size: 18px !important;
	font-weight: 700;
	color: var(--ptm-ink) !important;
}

.ptm-store ul.products li.product .price del {
	font-size: 14px;
	font-weight: 400;
	opacity: .5;
}

.ptm-store ul.products li.product .price ins {
	color: var(--ptm-accent);
	text-decoration: none;
}

.ptm-store ul.products li.product .wgm-info {
	display: inline;
	margin: 0;
	font-size: 12px;
	line-height: 1.6;
	color: var(--ptm-muted);
}

.ptm-store ul.products li.product .woocommerce_de_versandkosten,
.ptm-product .summary .woocommerce_de_versandkosten {
	white-space: nowrap;
}

.ptm-store ul.products li.product .woocommerce_de_versandkosten::before {
	content: " · ";
}

.ptm-store ul.products li.product .wgm-info a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ptm-store ul.products li.product .shipping_de {
	display: flex;
	margin-top: 8px;
}

.ptm-store .shipping_de small {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 12px;
	line-height: 1;
	color: var(--ptm-ink);
	background: var(--ptm-surface);
}

.ptm-store .shipping_de small::before {
	content: "";
	width: 12px;
	height: 12px;
	flex: none;
	background: var(--ptm-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.4 3.3 3.3-1.4 1.4L11 13.2V6h2z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.4 3.3 3.3-1.4 1.4L11 13.2V6h2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   Produkt-Einzelseite
   ========================================================================== */

.ptm-product-cat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 14px;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	color: var(--ptm-accent) !important;
	background: rgba(199, 75, 156, .1);
	transition: background .3s var(--ptm-ease), gap .3s var(--ptm-ease);
}

.ptm-product-cat:hover {
	gap: 10px;
	background: rgba(199, 75, 156, .18);
}

.ptm-product .summary .product_title {
	margin-bottom: 18px !important;
	font-size: clamp(26px, 2.4vw, 36px) !important;
	line-height: 1.15 !important;
	letter-spacing: -.02em;
	color: var(--ptm-ink);
	overflow-wrap: anywhere;
	-webkit-hyphens: auto;
	hyphens: auto;
}

.ptm-product .summary .legacy-itemprop-offers {
	margin-bottom: 24px;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(27, 20, 32, .08);
}

.ptm-product .summary p.price,
.ptm-product .summary .woocommerce-variation-price .price {
	display: block;
	margin: 4px 0 8px !important;
	padding: 0 !important;
	font-size: 30px !important;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ptm-ink) !important;
}

.ptm-product .summary .price ins {
	color: var(--ptm-accent);
	text-decoration: none;
}

.ptm-product .summary .wgm-info {
	display: inline;
	margin: 0;
	font-size: 13px;
	color: var(--ptm-muted);
}

.ptm-product .summary .woocommerce_de_versandkosten::before {
	content: " · ";
}

.ptm-product .summary .wgm-info a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ptm-product .summary .shipping_de {
	display: flex;
	margin-top: 12px;
}

.ptm-product .summary .shipping_de small {
	padding: 8px 14px;
	font-size: 13px;
}

/* Varianten */
.ptm-product table.variations,
.ptm-product table.variations tbody,
.ptm-product table.variations tr,
.ptm-product table.variations th,
.ptm-product table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
}

.ptm-product table.variations tr {
	margin-bottom: 18px;
}

.ptm-product table.variations th.label label {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ptm-ink);
}

.ptm-product .ptm-has-swatches .fancy-select-wrap,
.ptm-product .ptm-has-swatches > select {
	display: none !important;
}

.ptm-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ptm-swatch {
	min-width: 54px;
	height: 46px;
	margin: 0;
	padding: 0 16px;
	border: 1.5px solid rgba(27, 20, 32, .14);
	border-radius: 12px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: var(--ptm-ink);
	background: #fff;
	cursor: pointer;
	transition: border-color .25s var(--ptm-ease), background .25s var(--ptm-ease), color .25s var(--ptm-ease), transform .25s var(--ptm-ease);
}

.ptm-swatch:hover:not(:disabled) {
	border-color: var(--ptm-accent);
	transform: translateY(-1px);
}

.ptm-swatch:focus-visible {
	outline: 3px solid rgba(199, 75, 156, .45);
	outline-offset: 2px;
}

.ptm-swatch[aria-pressed="true"] {
	border-color: transparent;
	color: #fff;
	background: linear-gradient(110deg, var(--ptm-accent), var(--ptm-accent-2));
	box-shadow: 0 8px 18px -10px rgba(199, 75, 156, .9);
}

.ptm-swatch:disabled {
	color: var(--ptm-muted);
	background: var(--ptm-surface);
	text-decoration: line-through;
	opacity: .55;
	cursor: not-allowed;
}

.ptm-product .reset_variations {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	color: var(--ptm-muted);
}

/* Preisblock der gewählten Variante (German Market) */
.ptm-product .summary .woocommerce-variation {
	margin: 4px 0 20px;
}

.ptm-product .summary .woocommerce-variation:empty {
	margin: 0;
}

.ptm-product .summary .woocommerce-variation-availability p.stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 12px 0 0;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}

.ptm-product .summary p.stock.in-stock {
	color: #1f7a4d;
	background: rgba(31, 122, 77, .1);
}

.ptm-product .summary p.stock.out-of-stock {
	color: #b4233c;
	background: rgba(180, 35, 60, .1);
}

.ptm-product .summary p.stock::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

/* Menge + Warenkorb */
.ptm-product .summary form.cart .variations_button,
.ptm-product .summary form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
}

.ptm-product .summary form.cart .quantity {
	display: inline-flex;
	align-items: center;
	height: 54px;
	margin: 0 !important;
	border: 1.5px solid rgba(27, 20, 32, .14);
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}

.ptm-product .summary form.cart .quantity input.qty,
.ptm-product .summary form.cart .quantity input.minus,
.ptm-product .summary form.cart .quantity input.plus {
	height: 100% !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--ptm-ink) !important;
}

.ptm-product .summary form.cart .quantity input.minus:hover,
.ptm-product .summary form.cart .quantity input.plus:hover {
	color: var(--ptm-accent) !important;
}

.ptm-product .summary .single_add_to_cart_button,
.ptm-product .summary .single_add_to_cart_button.button.alt {
	flex: 1 1 200px;
	height: 54px;
	margin: 0 !important;
	padding: 0 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #fff !important;
	background: linear-gradient(110deg, var(--ptm-accent), var(--ptm-accent-2), var(--ptm-accent)) !important;
	background-size: 220% 100% !important;
	box-shadow: 0 12px 26px -12px rgba(199, 75, 156, .85);
	transition: background-position .8s var(--ptm-ease), transform .3s var(--ptm-ease), box-shadow .3s var(--ptm-ease), opacity .3s;
}

.ptm-product .summary .single_add_to_cart_button:hover:not(.disabled) {
	background-position: 100% 0 !important;
	transform: translateY(-2px);
	box-shadow: 0 18px 32px -14px rgba(199, 75, 156, .9);
}

.ptm-product .summary .single_add_to_cart_button.disabled {
	opacity: .45 !important;
	box-shadow: none;
	cursor: not-allowed;
}

.ptm-product .summary .ppcp-messages {
	margin-top: 16px;
}

.ptm-product .summary .product_meta {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid rgba(27, 20, 32, .08);
	font-size: 13px;
	color: var(--ptm-muted);
}

.ptm-product .summary .product_meta > span {
	display: block;
	margin-bottom: 4px;
}

.ptm-product .summary .product_meta a {
	color: var(--ptm-accent);
}

/* Galerie */
.ptm-product .single-product-main-image .product-slider .slide {
	overflow: hidden;
	border-radius: var(--ptm-radius);
	background: var(--ptm-surface);
}

.ptm-product .product-thumbs .thumb-inner {
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 0 0 1.5px rgba(27, 20, 32, .08);
	transition: box-shadow .3s var(--ptm-ease), transform .3s var(--ptm-ease);
}

.ptm-product .product-thumbs .thumb:hover .thumb-inner {
	transform: translateY(-2px);
}

.ptm-product .product-thumbs .thumb.active .thumb-inner {
	box-shadow: 0 0 0 2.5px var(--ptm-accent);
}

.ptm-product .product-thumbs .thumb-inner img {
	border-radius: 0 !important;
	border: 0 !important;
}

/* Tabs */
.ptm-product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	border: 0 !important;
}

.ptm-product .woocommerce-tabs ul.tabs::before,
.ptm-product .woocommerce-tabs ul.tabs::after,
.ptm-product .woocommerce-tabs ul.tabs li::before,
.ptm-product .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

.ptm-product .woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}

body.ptm-product #ajax-content-wrap .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: 12px 22px !important;
	border-radius: 999px !important;
	font-size: 15px !important;
	line-height: 1.2 !important;
	font-weight: 600;
	color: var(--ptm-ink) !important;
	background: var(--ptm-surface);
	transition: background .3s var(--ptm-ease), color .3s var(--ptm-ease);
}

body.ptm-product #ajax-content-wrap .woocommerce-tabs ul.tabs li a:hover {
	color: var(--ptm-accent) !important;
}

body.ptm-product #ajax-content-wrap .woocommerce-tabs ul.tabs li.active a {
	color: #fff !important;
	background: linear-gradient(110deg, var(--ptm-accent), var(--ptm-accent-2));
}

.ptm-product .woocommerce-tabs .panel {
	max-width: 820px;
	margin-left: auto !important;
	margin-right: auto !important;
	font-size: 16px;
	line-height: 1.75;
}

/* Ähnliche Produkte */
.ptm-product .related.products > h2,
.ptm-product .upsells.products > h2 {
	margin-bottom: 28px !important;
	font-size: clamp(24px, 2.6vw, 34px) !important;
	letter-spacing: -.02em;
	color: var(--ptm-ink);
	text-align: center;
}

/* ==========================================================================
   Alle Produkte – nach Kategorie gruppiert
   ========================================================================== */

.ptm-all {
	padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 96px);
}

.ptm-btn--ghost,
body .ptm-btn--ghost {
	padding: 14px 26px;
	color: var(--ptm-ink);
	background: transparent;
	box-shadow: inset 0 0 0 1.5px rgba(27, 20, 32, .16);
}

.ptm-btn--ghost:hover,
.ptm-btn--ghost:focus-visible {
	color: var(--ptm-accent);
	background: rgba(199, 75, 156, .06);
	box-shadow: inset 0 0 0 1.5px var(--ptm-accent);
}

.ptm-group {
	margin-top: clamp(40px, 6vw, 72px);
	scroll-margin-top: 110px;
}

.ptm-group__head {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px 24px;
	margin-bottom: 26px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(27, 20, 32, .08);
}

.ptm-group__head::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 64px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--ptm-accent), var(--ptm-accent-2));
}

.ptm-all .ptm-group__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.2;
	letter-spacing: -.02em;
	color: var(--ptm-ink);
}

.ptm-group__count {
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .02em;
	color: var(--ptm-accent);
	background: rgba(199, 75, 156, .1);
}

.ptm-group__link,
body .ptm-group__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ptm-accent);
}

.ptm-group__link span {
	transition: transform .3s var(--ptm-ease);
}

.ptm-group__link:hover span {
	transform: translateX(4px);
}

.ptm-all .ptm-catnav {
	margin-bottom: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
	.ptm-cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: clamp(200px, 38vw, 300px);
	}

	.ptm-cat--all {
		grid-column: auto;
	}

	.ptm-cat--span2-2 {
		grid-column: 1 / -1;
	}
}

@media (max-width: 690px) {
	.ptm-landing__intro {
		align-items: flex-start;
	}

	.ptm-cats {
		grid-auto-rows: 190px;
	}

	.ptm-cat--featured {
		grid-row: span 1;
	}

	.ptm-cat__desc {
		display: none;
	}

	.ptm-cat--featured .ptm-cat__desc {
		display: block;
	}

	.ptm-cat__cta {
		display: none;
	}

	.ptm-store ul.products li.product.minimal {
		padding: 6px 6px 14px;
	}

	.ptm-store ul.products li.product .product-meta {
		padding: 10px 4px 0;
	}

	.ptm-store ul.products li.product .woocommerce-loop-product__title {
		font-size: 14px !important;
	}

	.ptm-store ul.products li.product .wgm-info {
		display: block;
		font-size: 11px;
	}

	.ptm-store ul.products li.product .woocommerce_de_versandkosten::before {
		content: none;
	}
}

/* Touch-Geräte: Hover-Inhalte direkt zeigen */
@media (hover: none) {
	.ptm-cat__cta {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Weniger Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
	[data-ptm-js] [data-ptm-reveal],
	[data-ptm-js] .ptm-store ul.products li.product {
		opacity: 1;
		translate: none;
		animation: none;
	}

	.ptm-landing *,
	.ptm-catnav *,
	.ptm-store ul.products li.product * {
		animation: none !important;
		transition-duration: .01ms !important;
	}

	.ptm-cat__link,
	.ptm-store ul.products li.product.minimal {
		transform: none !important;
	}
}
