/*
Theme Name: LerenInStijl
Theme URI: https://lereninstijl.nl
Author: LerenInStijl
Description: Blokthema voor de LerenInStijl-webshop met printbare leerwerkjes voor kinderen. Zachte kleuren uit het logo, gemaakt voor WooCommerce.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lereninstijl
*/

/* ---------- Basis ---------- */
:root {
	--lis-creme: var(--wp--preset--color--creme);
	--lis-wit: var(--wp--preset--color--wit);
	--lis-olijf: var(--wp--preset--color--olijf);
	--lis-tekst: var(--wp--preset--color--tekst);
	--lis-muted: var(--wp--preset--color--grijsbruin);
	--lis-accent: var(--wp--preset--color--oudroze);
	--lis-accent-hover: var(--wp--preset--color--oudroze-donker);
	--lis-blush: var(--wp--preset--color--blush);
	--lis-salie: var(--wp--preset--color--salie);
	--lis-salie-donker: var(--wp--preset--color--salie-donker);
	--lis-zand: var(--wp--preset--color--zand);
	--lis-mauve: var(--wp--preset--color--mauve);
	--lis-lijn: var(--wp--preset--color--lijn);
	--lis-shadow: rgba(79, 84, 68, 0.14);
	--lis-display: var(--wp--preset--font-family--fredoka);
}

h1, h2, h3 { text-wrap: balance; }
:where(a, button, input, summary):focus-visible { outline: 3px solid var(--lis-accent); outline-offset: 3px; border-radius: 6px; }
mark.lis-accent { background: none; color: var(--lis-accent); }

.lis-eyebrow {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 800;
	color: var(--lis-muted);
	margin: 0;
}
.lis-lead { font-size: 19px; max-width: 34em; }
.lis-section { padding-top: 84px; padding-bottom: 84px; }
.lis-section > * + * { margin-block-start: 1.25rem; }
.lis-head { margin-bottom: 36px; gap: 16px; }
.lis-head .wp-block-group { gap: 10px; }
.lis-head h2 { margin: 0; }
.lis-more { margin: 0; font-weight: 800; }
.lis-band-white { background: var(--lis-wit); }
.lis-band-blush { background: var(--lis-blush); }
.lis-bg-blush { background: var(--lis-blush); }
.lis-bg-salie { background: var(--lis-salie); }
.lis-bg-zand { background: var(--lis-zand); }
.lis-bg-mauve { background: var(--lis-mauve); }

/* Knoppen */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--lis-olijf);
	border: 1.5px solid var(--lis-olijf);
	padding: 13px 27px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--lis-olijf); color: var(--lis-creme); }

/* ---------- Header ---------- */
.lis-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .lis-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .lis-site-header { top: 0; position: relative; } }
.lis-announce { background: var(--lis-olijf); color: #F4EEE4; font-size: 14px; font-weight: 600; padding-top: 10px; padding-bottom: 10px; }
.lis-announce p { margin: 0; }
.lis-header { background: var(--lis-creme); border-bottom: 1px solid var(--lis-lijn); padding-top: 12px; padding-bottom: 12px; }
.lis-header-row { gap: 20px; }
.lis-brand { gap: 12px; flex-shrink: 0; }
.lis-brand-logo { margin: 0; }
.lis-brand-logo img { border-radius: 50%; display: block; }
.lis-wordmark { margin: 0; font-family: var(--lis-display); font-size: 25px; font-weight: 600; line-height: 1; }
.lis-wordmark a { color: var(--lis-olijf); text-decoration: none; }
.lis-wordmark .lis-in { color: #B5716A; }
.lis-wordmark .lis-stijl { color: #8F5A50; }
.lis-nav { flex: 1 1 auto; }
.lis-nav .wp-block-navigation__container { gap: 26px; }
.lis-nav a { text-decoration: none; padding: 10px 2px; }
.lis-tools { gap: 10px; flex-shrink: 0; }
.lis-tools .wp-block-search__button,
.lis-tools .wc-block-mini-cart__button,
.lis-tools .wc-block-customer-account a {
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--lis-lijn); background: var(--lis-wit); color: var(--lis-olijf);
	display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
.lis-tools .wp-block-search__button:hover,
.lis-tools .wc-block-mini-cart__button:hover,
.lis-tools .wc-block-customer-account a:hover { background: var(--lis-blush); }
.lis-tools .wc-block-mini-cart__amount { display: none; }
.lis-tools .wc-block-mini-cart__badge { background: var(--lis-accent); color: #fff; border: none; }
@media (max-width: 600px) {
	.lis-wordmark { font-size: 20px; }
	.lis-brand-logo img { width: 44px !important; height: 44px !important; }
	.lis-tools .wp-block-search { display: none; }
}

/* ---------- Hero ---------- */
.lis-hero-wrap { padding-top: 64px; padding-bottom: 80px; }
.lis-hero { gap: 56px; }
.lis-hero-copy > * + * { margin-block-start: 22px; }
.lis-hero-title { line-height: 1.05; }
.lis-trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 700; }
.lis-trust li { display: flex; align-items: center; gap: 8px; }
.lis-trust svg { color: var(--lis-salie-donker); flex: none; }
.lis-art { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.lis-halo { width: min(100%, 460px); aspect-ratio: 1 / 1; border-radius: 50%; background: var(--lis-blush); display: flex; align-items: center; justify-content: center; }
.lis-halo img { width: 88%; height: auto; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; box-shadow: 0 24px 48px var(--lis-shadow); }
.lis-float { position: absolute; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 14px 32px var(--lis-shadow); display: flex; flex-direction: column; align-items: center; gap: 6px; animation: lis-bob 6s ease-in-out infinite; }
.lis-float b { font-family: var(--lis-display); font-weight: 500; line-height: 1; }
.lis-float small { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #6B6454; }
.lis-float-a { left: 0; bottom: 8%; --r: -6deg; transform: rotate(var(--r)); }
.lis-float-a b { font-size: 42px; color: #A35D57; }
.lis-float-b { right: 0; top: 8%; --r: 5deg; transform: rotate(var(--r)); animation-delay: -3s; }
.lis-float-b b { font-size: 30px; color: #5E6B52; }
@keyframes lis-bob { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .lis-float { animation: none; } }

/* ---------- Categorieën ---------- */
.lis-cats { gap: 24px; }
.lis-cat { border-radius: 28px; padding: 30px; position: relative; display: flex; flex-direction: column; gap: 14px; transition: transform 0.2s; }
.lis-cat:hover { transform: translateY(-4px); }
.lis-cat > * { margin: 0; }
.lis-cat h3 a { text-decoration: none; color: var(--lis-olijf); }
.lis-cat h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 28px; }
.lis-cat p { font-size: 16px; }
.lis-cat .lis-go { margin-top: auto; font-weight: 800; color: var(--lis-olijf); }
.lis-cat-art { height: 140px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.lis-tile { width: 70px; height: 82px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--lis-display); font-size: 44px; box-shadow: 0 8px 18px var(--lis-shadow); }
.lis-ink-rose { color: #A35D57; } .lis-ink-sage { color: #5E6B52; } .lis-ink-sand { color: #9A7454; }
.lis-tilt-l { transform: rotate(-6deg); } .lis-tilt-r { transform: rotate(6deg); }
.lis-dots { display: grid; grid-template-columns: repeat(5, 34px); gap: 8px; }
.lis-dots i { width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.lis-dots .f1 { background: #6F7B63; } .lis-dots .f2 { background: #E2A9A2; }
.lis-chart { background: #fff; border-radius: 16px; padding: 14px 16px; display: grid; grid-template-columns: repeat(5, 26px); gap: 8px; box-shadow: 0 8px 18px var(--lis-shadow); }
.lis-chart svg { display: block; }

/* ---------- Leeftijd ---------- */
.lis-ages-wrap { padding-bottom: 32px; }
.lis-ages { gap: 18px; margin-top: 36px; }
.lis-age { background: #fff; border: 1px solid var(--lis-lijn); border-radius: 24px; padding: 20px 22px; display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; transition: transform 0.2s; }
.lis-age:hover { transform: translateY(-3px); color: inherit; }
.lis-age-num { width: 62px; height: 62px; flex: none; border-radius: 50%; font-family: var(--lis-display); font-size: 21px; font-weight: 600; display: flex; align-items: center; justify-content: center; color: var(--lis-olijf); }
.lis-age strong { display: block; font-size: 18px; color: var(--lis-olijf); }
.lis-age-sub { font-size: 14px; color: var(--lis-muted); }

/* ---------- Producten (WooCommerce-lijsten) ---------- */
.woocommerce ul.products,
.lis-products ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: 28px;
	margin: 0; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important;
	display: flex; flex-direction: column; gap: 8px;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; }
.woocommerce ul.products li.product a img {
	border-radius: 22px; aspect-ratio: 4 / 5; object-fit: cover; margin: 0 0 6px !important;
	background: var(--lis-blush); transition: transform 0.3s;
}
.woocommerce ul.products li.product:hover a img { transform: translateY(-4px); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--lis-display); font-weight: 500; font-size: 21px !important; color: var(--lis-olijf); padding: 0 4px !important;
}
.woocommerce ul.products li.product .price { color: var(--lis-accent) !important; font-weight: 800; font-size: 17px !important; padding: 0 4px; }
.woocommerce ul.products li.product .button {
	align-self: flex-start; margin: 4px 4px 0 !important;
	border-radius: 999px; background: transparent; color: var(--lis-olijf);
	border: 1.5px solid var(--lis-olijf); font-weight: 800; font-size: 14px; padding: 11px 18px;
}
.woocommerce ul.products li.product .button:hover { background: var(--lis-olijf); color: var(--lis-creme); }
.woocommerce span.onsale { background: var(--lis-accent); border-radius: 999px; min-height: 0; min-width: 0; padding: 4px 12px; line-height: 1.6; }

/* ---------- Stappen ---------- */
.lis-steps { gap: 24px; margin-top: 44px; }
.lis-step { background: #fff; border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.lis-step > * { margin: 0; }
.lis-step h3 { font-size: 24px; }
.lis-step p { font-size: 16px; }
.lis-step-icon { width: 56px; height: 56px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; }

/* ---------- Over ---------- */
.lis-about { gap: 56px; }
.lis-about-photo img { border-radius: 28px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.lis-about .wp-block-column > * + * { margin-block-start: 16px; }

/* ---------- Nieuwsbrief ---------- */
.lis-news-wrap { padding-top: 0; }
.lis-news { background: var(--lis-olijf); border-radius: 32px; padding: clamp(28px, 5vw, 56px); gap: 28px; }
.lis-news, .lis-news h2, .lis-news p, .lis-news label { color: #F4EEE4; }
.lis-news h2 { font-size: clamp(26px, 3.2vw, 36px); }
.lis-news input[type="email"], .lis-news input[type="text"] { border-radius: 999px !important; border: none !important; min-height: 52px; padding: 0 22px !important; font-family: inherit; font-size: 16px; }
.lis-news input[type="submit"] { border-radius: 999px !important; background: var(--lis-accent) !important; color: #fff !important; font-weight: 800 !important; min-height: 52px; border: none !important; cursor: pointer; }

/* ---------- Footer ---------- */
.lis-site-footer { margin-top: 64px; }
.lis-footer { background: var(--wp--preset--color--footer); color: #E9E3D6; padding-top: 56px; padding-bottom: 28px; font-size: 15px; }
.lis-footer a { color: #E9E3D6; text-decoration: none; }
.lis-footer a:hover { color: #fff; text-decoration: underline; }
.lis-foot { gap: 40px; }
.lis-foot-logo img { border-radius: 50%; }
.lis-foot-title { color: #fff; font-weight: 800; font-size: 16px; margin: 0 0 10px; }
.lis-foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lis-foot-bottom { border-top: 1px solid #5A5F4E; padding-top: 22px; margin-top: 32px; font-size: 14px; }
.lis-foot-bottom p { margin: 0; }

/* ---------- Gewone pagina's en WooCommerce-pagina's ---------- */
.lis-page { padding-top: 56px; padding-bottom: 56px; }
.woocommerce .wc-block-components-button:not(.is-link),
.woocommerce a.button, .woocommerce button.button { border-radius: 999px; }
.wc-block-components-product-price, .woocommerce div.product p.price { color: var(--lis-accent); font-weight: 800; }

@media (max-width: 781px) {
	.lis-section { padding-top: 56px; padding-bottom: 56px; }
	.lis-hero-wrap { padding-top: 40px; }
	.lis-float-a { left: 4px; }
	.lis-float-b { right: 4px; }
}
