/*
Theme Name: Tortenzauber Kassel
Theme URI: 
Author: Christian Unverricht
Author URI: 
Description: 
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tortenzauber-kassel
Tags: 
*/

* {
	box-sizing: border-box;
}
html {
	/* more flexible font sizing */
	font-size: clamp(1rem, 1vw, 1.25rem);
}
html,
body {
	scroll-behavior: smooth;
}
body {
	position: relative;
	overflow-x: hidden;
	background: none;
	/* background: linear-gradient(170deg,rgb(255,232,244) 0%,rgb(214,169,255) 30%,rgb(255,232,244) 60%,rgb(214,169,255) 100%); */
	/* multi layered gradient with 4 different colors top-left, top-right, bottom-left, bottom-right */
}
body::before {
	/* vignette */
	content: "";
	position: absolute;
	inset: 0;
	/* linear gradient left to right */
	background: linear-gradient(
		to right,
		hsla(0, 0%, 100%, 0.5),
		transparent 10%,
		transparent 90%,
		hsla(0, 0%, 100%, 0.5)
	);
	pointer-events: none;
	width: 100%;
	height: 100%;
	z-index: -1;
}
body::after {
	content: "";
	position: absolute;
	inset: 0;
	/* linear gradient top to bottom */
	filter: blur(100px);
	background: conic-gradient(
		from 150deg at 50% 50%,
		hsl(345.09deg 100% 96.54%) 0deg,
		hsl(23, 100%, 95%) 60deg,
		hsl(37, 100%, 95%) 120deg,
		hsl(337.7deg 100% 98.41%) 180deg,
		hsl(23, 100%, 95%) 240deg,
		hsl(277, 100%, 95%) 300deg,
		hsl(300deg 100% 97.24%) 360deg
	);
	width: 100%;
	height: 100%;
	z-index: -1;
}
img {
	max-width: 100%;
}
a,
:root :where(.wp-element-button, .wp-block-button__link) {
	transition:
		color 0.3s ease-in-out,
		background-color 0.3s ease-in-out;
}
figure > img {
	display: block;
}
ul:has(+ p, + h2, + h3, + h4, + h5) {
	margin-bottom: 1rem;
}
:root :where(.wp-element-button, .wp-block-button__link):hover {
	background-color: var(--wp--preset--color--custom-neutral-dark);
}
/* override wcpa styles with wordpress variables */
body .wcpa_wrap .wcpa_image .wcpa_img_wrap {
	overflow: visible;
}
body .product .wcpa_wrap * {
	--wcpalabelsize: var(--wp--preset--font-size--s);
	--wcpachecklabelsize: var(--wp--preset--font-size--s);
	--wcpacheckbuttonradius: 100px;
}
body .wcpa_wrap .wcpa_image img {
	border: 2px solid white;
}
body .wcpa_wrap .wcpa_disp_squircle .wcpa_image .wcpa_img_wrap,
body .wcpa_wrap .wcpa_image img {
	border-radius: 100px;
}

body .wcpa_wrap .wcpa_selection_outline input:checked ~ .wcpa_img_wrap {
	outline-width: 3px;
}
:root .wcpa_form_outer {
	--wcpasectiontitlecolor: var(--wp--preset--color--custom-neutral-dark);
	--wcpasectiontitlebg: rgba(238, 238, 238, 0.28);
	--wcpalinecolor: var(--wp--preset--color--custom-neutral-light);
	--wcpabuttoncolor: var(--wp--preset--color--custom-highlight-1);
	--wcpalabelcolor: var(--wp--preset--color--custom-neutral-dark);
	--wcpadesccolor: var(--wp--preset--color--custom-highlight-1);
	--wcpabordercolor: var(--wp--preset--color--custom-neutral-light);
	--wcpabordercolorfocus: var(--wp--preset--color--custom-highlight-1);
	--wcpainputbgcolor: var(--wp--preset--color--custom-neutral-light);
	--wcpainputcolor: var(--wp--preset--color--custom-neutral-dark);
	--wcpachecklabelcolor: var(--wp--preset--color--custom-neutral-dark);
	--wcpacheckbgcolor: var(--wp--preset--color--custom-highlight-1);
	--wcpacheckbordercolor: var(--wp--preset--color--custom-neutral-light);
	--wcpachecktickcolor: white;
	--wcparadiobgcolor: var(--wp--preset--color--custom-highlight-1);
	--wcparadiobordercolor: var(--wp--preset--color--custom-neutral-light);
	--wcparadioselbordercolor: var(--wp--preset--color--custom-highlight-1);
	--wcpabuttontextcolor: white;
	--wcpacheckbuttoncolor: var(--wp--preset--color--custom-primary-light);
	--wcpacheckbuttonbordercolor: var(--wp--preset--color--custom-neutral-light);
	--wcpacheckbuttonselectioncolor: var(--wp--preset--color--custom-highlight-1);
	--wcpaimageselectionoutline: var(--wp--preset--color--custom-highlight-1);
	--wcpaimagetickbg: var(--wp--preset--color--custom-highlight-1);
	--wcpaimagetickcolor: white;
	--wcpaimagetickborder: white;
	--wcpaimagemagnifierbg: var(--wp--preset--color--custom-highlight-1);
	--wcpaimagemagnifiercolor: white;
	--wcpaimagemagnifierborder: white;
	--wcpaimageselectionshadow: rgba(0, 0, 0, 0.25);
	--wcpachecktogglebg: var(--wp--preset--color--custom-primary-light);
	--wcpachecktogglecirclecolor: white;
	--wcpachecktogglebgactive: var(--wp--preset--color--custom-highlight-1);
	--wcpaqtybuttoncolor: var(--wp--preset—color--custom-neutral-light);
	--wcpaqtybuttonhovercolor: var(--wp—preset--color--custom-neutral-medium);
	--wcpaqtybuttontextcolor: var(--wp—preset--color--custom-neutral-dark);
}
.wc-block-components-product-metadata__description {
	display: none;
}
.visually-hidden, .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.wc-block-product-description h2 {
	font-size: var(--wp--preset--font-size--xl);
}
.wc-block-product-description h3 {
	font-size: var(--wp--preset--font-size--l);
}