/*
Theme Name: TopPhone
Theme URI: https://topphone.nl
Description: Eigen thema voor TopPhone Breda — webshop voor telefoonaccessoires en reparaties. Teksten en beelden van de homepage pas je aan via Weergave → Customizer → TopPhone.
Version: 1.0.0
Author: TopPhone
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: topphone
WC requires at least: 9.0
*/

/* ---------- Lettertypen (lokaal, geen Google-verbinding) ---------- */
@font-face { font-family: "Jakarta"; src: url("assets/fonts/jakarta.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("assets/fonts/outfit.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }

/* ---------- Basis ---------- */
:root {
	--tp-purple: #663cfa;
	--tp-purple-dark: #5229e0;
	--tp-purple-soft: #b8a6ff;
	--tp-lilac: #f4f2fd;
	--tp-lilac-2: #ebe7fc;
	--tp-ink: #0f0f17;
	--tp-text: #26262f;
	--tp-muted: #6b6b78;
	--tp-line: #ececf2;
	--tp-dark: #121419;
	--tp-dark-2: #1b1e25;
	--tp-white: #fff;
	--tp-green: #12a150;
	--tp-red: #d93a3a;
	--tp-radius: 14px;
	--tp-radius-lg: 18px;
	--tp-shadow: 0 1px 2px rgba(20, 16, 50, .04), 0 6px 24px rgba(20, 16, 50, .06);
	--tp-wrap: 1240px;
	--tp-head: "Outfit", "Jakarta", system-ui, sans-serif;
	--tp-body: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--tp-body); font-size: 16px; line-height: 1.6; color: var(--tp-text); background: var(--tp-white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tp-purple); text-decoration: none; }
a:hover { color: var(--tp-purple-dark); }
h1, h2, h3, h4 { font-family: var(--tp-head); color: var(--tp-ink); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.tp-wrap { width: 100%; max-width: var(--tp-wrap); margin: 0 auto; padding: 0 20px; }
.screen-reader-text, .tp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 999; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--tp-shadow); }
:focus-visible { outline: 2px solid var(--tp-purple); outline-offset: 2px; }

.tp-eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--tp-purple); margin-bottom: 10px; }
.tp-dark .tp-eyebrow, .tp-eyebrow--light { color: var(--tp-purple-soft); }

/* Knoppen */
.tp-btn, .button, .woocommerce .button, button.button, input.button, .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
	border: 0; border-radius: 999px; background: var(--tp-purple); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1;
	cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; text-decoration: none; white-space: nowrap;
}
.tp-btn:hover, .button:hover, .woocommerce .button:hover, button.button:hover { background: var(--tp-purple-dark); color: #fff; box-shadow: 0 8px 20px rgba(102, 60, 250, .28); }
.tp-btn svg, .button svg { width: 16px; height: 16px; flex: none; }
.tp-btn__arrow { display: inline-flex; }
.tp-btn--ghost { background: transparent; color: var(--tp-ink); border: 1.5px solid var(--tp-line); }
.tp-btn--ghost:hover { background: var(--tp-lilac); color: var(--tp-ink); box-shadow: none; }
.tp-btn--block { width: 100%; }
.button.disabled, .button:disabled, .button[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
.tp-topbar { background: var(--tp-dark); color: #d9d9e3; font-size: .8rem; }
.tp-topbar .tp-wrap { display: flex; justify-content: center; gap: 28px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.tp-topbar span { display: inline-flex; align-items: center; gap: 6px; }
.tp-topbar svg { width: 14px; height: 14px; color: var(--tp-purple-soft); }

.tp-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.tp-header.is-scrolled { border-bottom-color: var(--tp-line); }
.tp-header__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding-top: 12px; padding-bottom: 8px; }
.tp-logo img { height: 40px; width: auto; }
.tp-logo .custom-logo { height: 40px; width: auto; }

.tp-search { position: relative; max-width: 560px; width: 100%; margin: 0 auto; }
.tp-search input[type="search"] { width: 100%; height: 46px; padding: 0 18px 0 48px; border: 1.5px solid var(--tp-lilac-2); border-radius: 999px; background: #faf9ff; outline: none; transition: border-color .2s, background .2s; }
.tp-search input[type="search"]:focus { border-color: var(--tp-purple); background: #fff; }
.tp-search > svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--tp-ink); pointer-events: none; }
.tp-search__results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); box-shadow: var(--tp-shadow); overflow: hidden; display: none; z-index: 60; }
.tp-search__results.is-open { display: block; }
.tp-search__results a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--tp-text); font-size: .9rem; }
.tp-search__results a:hover, .tp-search__results a.is-active { background: var(--tp-lilac); }
.tp-search__results img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--tp-lilac); }
.tp-search__results .tp-price { margin-left: auto; font-weight: 700; color: var(--tp-ink); white-space: nowrap; }
.tp-search__results .tp-search__all { justify-content: center; font-weight: 700; color: var(--tp-purple); border-top: 1px solid var(--tp-line); }
.tp-search__results .tp-search__empty { padding: 14px; color: var(--tp-muted); font-size: .9rem; }

.tp-icons { display: flex; align-items: center; gap: 6px; }
.tp-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--tp-ink); background: none; border: 0; cursor: pointer; }
.tp-icon-btn:hover { background: var(--tp-lilac); color: var(--tp-ink); }
.tp-icon-btn svg { width: 22px; height: 22px; }
.tp-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--tp-purple); color: #fff; font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; }
.tp-count:empty, .tp-count[data-count="0"].tp-count--hide-zero { display: none; }
.tp-menu-toggle { display: none; }

/* Navigatie */
.tp-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.tp-nav > ul > li { position: relative; }
.tp-nav > ul > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px 14px; color: var(--tp-ink); font-weight: 600; font-size: .92rem; }
.tp-nav > ul > li > a svg { width: 14px; height: 14px; color: var(--tp-purple); transition: transform .2s; }
.tp-nav > ul > li:hover > a, .tp-nav > ul > li:focus-within > a, .tp-nav .current-menu-item > a { color: var(--tp-purple); }
.tp-nav > ul > li:hover > a svg, .tp-nav > ul > li:focus-within > a svg { transform: rotate(180deg); }
.tp-nav .tp-sub { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px); min-width: 240px; padding: 12px; background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); box-shadow: 0 16px 40px rgba(20, 16, 50, .12); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 70; }
.tp-nav li:hover > .tp-sub, .tp-nav li:focus-within > .tp-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tp-sub ul { list-style: none; margin: 0; padding: 0; }
.tp-sub a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--tp-text); font-size: .9rem; }
.tp-sub a:hover { background: var(--tp-lilac); color: var(--tp-purple); }
.tp-sub--mega { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(190px, 1fr)); gap: 8px 18px; padding: 18px; width: max-content; max-width: min(92vw, 860px); }
.tp-sub--mega h4 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tp-muted); margin: 4px 12px 6px; font-family: var(--tp-body); font-weight: 700; }
.tp-sub .tp-sub__all { font-weight: 700; color: var(--tp-purple); }

/* ---------- Algemeen blok ---------- */
.tp-main { min-height: 50vh; }
.tp-section { padding: 28px 0; }
.tp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.tp-section-head h2 { margin: 0; }
.tp-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--tp-purple); white-space: nowrap; }
.tp-link-arrow span { text-decoration: underline; text-underline-offset: 3px; }
.tp-link-arrow svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.tp-hero { padding-top: 16px; }
.tp-hero__card { position: relative; overflow: hidden; border-radius: var(--tp-radius-lg); background: #0c0d12; color: #fff; min-height: 420px; display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; }
.tp-hero__text { position: relative; z-index: 2; padding: 56px 0 56px 64px; }
.tp-hero__title { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: .98; letter-spacing: -.035em; margin-bottom: 18px; }
.tp-hero__title em { display: block; font-style: normal; color: var(--tp-purple-soft); background: linear-gradient(90deg, #b9a5ff, #8f6bff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tp-hero__sub { font-size: 1.25rem; color: #e9e8f2; margin-bottom: 28px; }
.tp-hero__media { position: absolute; inset: 0 0 0 auto; width: 62%; }
.tp-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tp-hero__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0c0d12 0%, rgba(12, 13, 18, .6) 18%, rgba(12, 13, 18, 0) 42%); z-index: 1; }

/* ---------- Categorietegels ---------- */
.tp-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tp-cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 1.1; padding: 14px; border-radius: var(--tp-radius); background: var(--tp-lilac); overflow: hidden; color: var(--tp-ink); transition: transform .25s, box-shadow .25s; }
.tp-cat:hover { transform: translateY(-3px); box-shadow: var(--tp-shadow); color: var(--tp-ink); }
.tp-cat img { position: absolute; inset: 0 0 52px; width: 100%; height: calc(100% - 52px); object-fit: contain; object-position: center bottom; padding: 8px 8px 0; transition: transform .35s; }
.tp-cat:hover img { transform: scale(1.04); }
.tp-cat__label { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .92); font-family: var(--tp-head); font-weight: 700; font-size: 1.15rem; }
.tp-arrow-circle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--tp-lilac-2); color: var(--tp-purple); background: #fff; flex: none; }
.tp-arrow-circle svg { width: 14px; height: 14px; }

/* ---------- Productkaarten ---------- */
.tp-products, ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
ul.products::before, ul.products::after { display: none !important; }
.tp-card { min-width: 0; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); padding: 14px; transition: box-shadow .25s, border-color .25s; width: auto !important; margin: 0 !important; float: none !important; }
.tp-card:hover { border-color: var(--tp-lilac-2); box-shadow: var(--tp-shadow); }
.tp-card__media { position: relative; display: block; aspect-ratio: 1; margin-bottom: 14px; border-radius: 10px; overflow: hidden; background: #fff; }
.tp-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.tp-card:hover .tp-card__media img { transform: scale(1.04); }
.tp-card__badges { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.tp-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--tp-purple); color: #fff; }
.tp-badge--out { background: #e9e9ef; color: var(--tp-muted); }
.tp-badge--sale { background: #e5484d; }
.tp-badge--new { background: var(--tp-purple); }
.tp-badge--best { background: #1b1e25; }
.tp-product-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tp-wish { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--tp-ink); }
.tp-wish svg { width: 19px; height: 19px; }
.tp-wish:hover { color: var(--tp-purple); }
.tp-wish.is-on { color: var(--tp-purple); }
.tp-wish.is-on svg path { fill: currentColor; }
.tp-card__title { font-family: var(--tp-body); font-size: .95rem; font-weight: 600; line-height: 1.35; margin: 0 0 4px; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-card__title a { color: var(--tp-ink); }
.tp-card__sub { font-size: .82rem; color: var(--tp-muted); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.tp-card__price { font-family: var(--tp-head); font-size: 1.2rem; font-weight: 700; color: var(--tp-ink); margin: auto 0 14px; }
.tp-card__price del { font-size: .9rem; color: var(--tp-muted); font-weight: 500; margin-right: 6px; }
.tp-card__price ins { text-decoration: none; color: var(--tp-purple); }
.woocommerce-price-suffix { font-family: var(--tp-body, inherit); font-size: .72rem; font-weight: 500; color: var(--tp-muted); margin-left: 5px; white-space: nowrap; letter-spacing: 0; }
.tp-card .tp-btn, .tp-card .button { width: 100%; min-height: 44px; padding: 0 16px; font-size: .9rem; justify-content: space-between; }
.tp-card .button.added::after { display: none; }
.tp-card .added_to_cart { display: block; text-align: center; font-size: .85rem; margin-top: 8px; font-weight: 600; }
.tp-card .button.loading { opacity: .7; }

/* ---------- Promoblokken ---------- */
.tp-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tp-promo { position: relative; display: flex; align-items: center; min-height: 300px; border-radius: var(--tp-radius-lg); overflow: hidden; background: var(--tp-lilac); }
.tp-promo__text { position: relative; z-index: 2; padding: 36px 28px 36px 32px; max-width: 62%; }
.tp-promo__text h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 14px; }
.tp-promo__text p { color: var(--tp-muted); margin-bottom: 22px; }
.tp-promo__media { position: absolute; right: 0; top: 0; bottom: 0; width: 48%; }
.tp-promo__media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.tp-promo--dark { background: var(--tp-dark); color: #fff; }
.tp-promo--dark h2 { color: #fff; }
.tp-promo--dark p { color: #cfd0da; }
.tp-promo--dark .tp-promo__media { width: 46%; }
.tp-promo--dark .tp-promo__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--tp-dark) 0%, rgba(18, 20, 25, .5) 22%, rgba(18, 20, 25, 0) 50%); }
.tp-promo--light .tp-promo__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--tp-lilac) 0%, rgba(244, 242, 253, 0) 30%); }

/* USP-balk */
.tp-usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tp-usp { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); }
.tp-usp svg { width: 26px; height: 26px; color: var(--tp-purple); flex: none; }
.tp-usp strong { display: block; color: var(--tp-ink); font-size: .92rem; }
.tp-usp span { font-size: .8rem; color: var(--tp-muted); }

/* ---------- Footer ---------- */
.tp-footer { margin-top: 48px; background: var(--tp-dark); color: #c9cad4; font-size: .88rem; }
.tp-footer a { color: #c9cad4; }
.tp-footer a:hover { color: #fff; }
.tp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.tp-footer h3 { color: #fff; font-family: var(--tp-body); font-size: .95rem; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.tp-footer ul { list-style: none; margin: 0; padding: 0; }
.tp-footer li { margin-bottom: 8px; }
.tp-footer__brand img { height: 42px; width: auto; margin-bottom: 14px; }
.tp-footer__brand p { color: #e2e2ea; }
.tp-socials { display: flex; gap: 8px; margin-top: 18px; }
.tp-socials a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #2a2d36; color: #fff; }
.tp-socials a:hover { background: var(--tp-purple); }
.tp-socials svg { width: 17px; height: 17px; }
.tp-help li a, .tp-help li span { display: flex; align-items: center; gap: 12px; }
.tp-help svg { width: 20px; height: 20px; color: #fff; flex: none; }
.tp-footer__bottom { border-top: 1px solid #262932; }
.tp-footer__bottom .tp-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; font-size: .78rem; color: #8b8d99; }
.tp-pay { display: flex; gap: 8px; flex-wrap: wrap; }
.tp-pay span { padding: 3px 9px; border-radius: 6px; background: #22252d; color: #c9cad4; font-weight: 600; }

/* ---------- Pagina's ---------- */
.tp-page-hero { background: var(--tp-lilac); border-radius: var(--tp-radius-lg); padding: 40px 44px; margin: 16px 0 28px; }
.tp-page-hero h1 { margin: 0; }
.tp-page-hero p { margin: 10px 0 0; color: var(--tp-muted); max-width: 720px; }
.tp-breadcrumb { font-size: .82rem; color: var(--tp-muted); margin-bottom: 10px; }
.tp-breadcrumb a { color: var(--tp-muted); }
.tp-breadcrumb a:hover { color: var(--tp-purple); }
.tp-content { max-width: 820px; }
.tp-content h2 { font-size: 1.5rem; margin-top: 1.6em; }
.tp-content h3 { margin-top: 1.4em; }
.tp-content ul, .tp-content ol { padding-left: 1.3em; }
.tp-content li { margin-bottom: .35em; }
.tp-content table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; }
.tp-content th, .tp-content td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--tp-line); }
.tp-content th { background: var(--tp-lilac); color: var(--tp-ink); }
.tp-content--wide { max-width: none; }
.tp-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.tp-box { background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); padding: 26px; }
.tp-box--lilac { background: var(--tp-lilac); border-color: transparent; }
.tp-box h3 { margin-bottom: 12px; }
.tp-info-list { list-style: none; padding: 0 !important; margin: 0; }
.tp-info-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--tp-line); }
.tp-info-list li:last-child { border-bottom: 0; }
.tp-info-list svg { width: 20px; height: 20px; color: var(--tp-purple); flex: none; margin-top: 3px; }
.tp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 28px; }
.tp-feature { padding: 20px; border-radius: var(--tp-radius); background: var(--tp-lilac); }
.tp-feature svg { width: 26px; height: 26px; color: var(--tp-purple); margin-bottom: 10px; }
.tp-feature strong { display: block; color: var(--tp-ink); margin-bottom: 4px; font-family: var(--tp-head); font-size: 1.05rem; }
.tp-feature span { font-size: .9rem; color: var(--tp-muted); }

/* Formulieren */
.tp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.tp-form .tp-field--full { grid-column: 1 / -1; }
.tp-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--tp-ink); margin-bottom: 6px; }
.tp-field label small { color: var(--tp-muted); font-weight: 500; }
.tp-field input, .tp-field select, .tp-field textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-page form .form-row .input-text,
.select2-container--default .select2-selection--single {
	width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--tp-line); border-radius: 10px; background: #fff; outline: none; transition: border-color .2s;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 24px; padding: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 10px; right: 8px; }
.tp-field textarea { min-height: 130px; resize: vertical; }
.tp-field input:focus, .tp-field select:focus, .tp-field textarea:focus, .woocommerce form .form-row .input-text:focus { border-color: var(--tp-purple); }
.tp-hp { position: absolute !important; left: -9999px !important; }
.tp-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.tp-field .tp-check { font-weight: 500; color: var(--tp-text); }
.tp-field .tp-check input, .tp-check input { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; margin-top: 3px; accent-color: var(--tp-purple); }
.tp-notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.tp-notice--ok { background: #e8f7ee; color: #0d6b36; }
.tp-notice--err { background: #fdecec; color: #9c1c1c; }

/* FAQ */
.tp-faq-group { margin-bottom: 28px; }
.tp-faq-group h2 { font-size: 1.35rem; margin-bottom: 12px; }
.tp-faq details { border: 1px solid var(--tp-line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.tp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 600; color: var(--tp-ink); }
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--tp-purple); transition: transform .2s; }
.tp-faq details[open] summary::after { transform: rotate(45deg); }
.tp-faq .tp-faq__a { padding: 0 20px 16px; color: var(--tp-text); }
.tp-faq .tp-faq__a > *:last-child { margin-bottom: 0; }

/* ---------- Winkel / WooCommerce ---------- */
.tp-shop { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.tp-shop--full { grid-template-columns: 1fr; }
.tp-filters { position: sticky; top: 140px; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); padding: 18px; }
.tp-filters h3 { font-family: var(--tp-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tp-muted); margin: 18px 0 8px; }
.tp-filters h3:first-of-type { margin-top: 0; }
.tp-filters ul { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow: auto; }
.tp-filters li a { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 8px; color: var(--tp-text); font-size: .9rem; }
.tp-filters li a:hover { background: var(--tp-lilac); }
.tp-filters li.is-active > a { background: var(--tp-lilac); color: var(--tp-purple); font-weight: 700; }
.tp-filters li a small { color: var(--tp-muted); }
.tp-filters ul ul { padding-left: 10px; max-height: none; }
.tp-filters .tp-filter-reset { display: inline-block; margin-top: 14px; font-size: .85rem; font-weight: 700; }
.tp-filters-toggle { display: none; }
.tp-shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.tp-shop-bar .woocommerce-result-count { margin: 0; color: var(--tp-muted); font-size: .9rem; }
.tp-shop-bar .woocommerce-ordering { margin: 0; }
.tp-shop-bar select { min-height: 42px; padding: 0 36px 0 14px; border: 1.5px solid var(--tp-line); border-radius: 999px; background: #fff; }
.tp-active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--tp-lilac); color: var(--tp-ink); font-size: .85rem; font-weight: 600; }
.tp-chip:hover { background: var(--tp-lilac-2); color: var(--tp-ink); }
.tp-shop ul.products { grid-template-columns: repeat(3, 1fr); }
.woocommerce-pagination ul { display: flex; gap: 6px; list-style: none; padding: 0; margin: 28px 0 0; justify-content: center; border: 0 !important; }
.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid var(--tp-line); color: var(--tp-ink); font-weight: 600; padding: 0 12px; }
.woocommerce-pagination span.current { background: var(--tp-purple); border-color: var(--tp-purple); color: #fff; }
.term-description, .tp-term-desc { color: var(--tp-muted); }
.tp-device-info { margin-top: 40px; background: var(--tp-lilac); border-radius: var(--tp-radius-lg); padding: 28px 30px; max-width: 860px; }
.tp-device-info h2 { font-family: var(--tp-head); font-size: 22px; margin: 0 0 12px; color: var(--tp-ink); }
.tp-device-info h3 { font-size: 16px; margin: 18px 0 6px; color: var(--tp-ink); }
.tp-device-info p { margin: 0 0 10px; color: var(--tp-text); line-height: 1.65; }
.tp-device-info p:last-child { margin-bottom: 0; }
.tp-device-info a { color: var(--tp-purple); font-weight: 600; }
@media (max-width: 700px) { .tp-device-info { padding: 20px 18px; margin-top: 28px; } }

.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { list-style: none; padding: 14px 18px !important; margin: 0 0 20px !important; border-radius: 12px; border: 0 !important; background: var(--tp-lilac); color: var(--tp-ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-error { background: #fdecec; color: #9c1c1c; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 40px; order: 2; }

/* Productpagina */
.tp-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 12px; }
.tp-product > * { min-width: 0; }
.tp-product .woocommerce-product-gallery { max-width: 560px; }
.tp-product .woocommerce-product-gallery .flex-viewport { overflow: hidden; border: 1px solid var(--tp-line); border-radius: var(--tp-radius-lg); background: #fff; }
.tp-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper { border: 0; border-radius: 0; }
.tp-product .woocommerce-product-gallery__wrapper { display: flex; }
.tp-product .woocommerce-product-gallery__image { flex: none; }
.tp-product .woocommerce-product-gallery__image a { display: block; }
.tp-product .woocommerce-product-gallery__image img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.tp-product .woocommerce-product-gallery:not(.woocommerce-product-gallery--with-images) img, .tp-product .woocommerce-product-gallery__image:only-child img { margin: 0 auto; }
.tp-product .woocommerce-product-gallery { position: relative; width: 100% !important; float: none !important; margin: 0 !important; }
.tp-product .woocommerce-product-gallery__wrapper { border: 1px solid var(--tp-line); border-radius: var(--tp-radius-lg); overflow: hidden; background: #fff; margin: 0; }
.tp-product .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.tp-product .flex-control-thumbs li { width: auto !important; float: none !important; }
.tp-product .flex-control-thumbs img { border: 1.5px solid var(--tp-line); border-radius: 10px; aspect-ratio: 1; object-fit: contain; cursor: pointer; opacity: .7; background: #fff; }
.tp-product .flex-control-thumbs img.flex-active, .tp-product .flex-control-thumbs img:hover { border-color: var(--tp-purple); opacity: 1; }
.tp-product .woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: var(--tp-shadow); display: flex; align-items: center; justify-content: center; font-size: 0; }
.tp-product .woocommerce-product-gallery__trigger::before { content: ""; width: 16px; height: 16px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f0f17' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.tp-product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.tp-product .product_title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 10px; }
.tp-product .price { font-family: var(--tp-head); font-size: 1.8rem !important; font-weight: 700; color: var(--tp-ink) !important; margin: 0 0 16px; }
.tp-product .price del { font-size: 1.1rem; color: var(--tp-muted); }
.tp-product .price ins { text-decoration: none; color: var(--tp-purple); }
.tp-product .woocommerce-product-details__short-description { color: var(--tp-muted); margin-bottom: 18px; }
.tp-product .stock { font-weight: 700; font-size: .9rem; }
.tp-product .stock.in-stock { color: var(--tp-green); }
.tp-product .stock.out-of-stock { color: var(--tp-red); }
.tp-product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 18px; }
.tp-product form.cart .quantity input { width: 80px; height: 48px; text-align: center; border: 1.5px solid var(--tp-line); border-radius: 999px; }
.tp-product form.cart .single_add_to_cart_button { flex: 1; min-width: 200px; }
.tp-product form.variations_form { display: block; }
.tp-product table.variations { width: 100%; margin-bottom: 14px; border: 0; }
.tp-product table.variations th, .tp-product table.variations td { display: block; padding: 0; text-align: left; border: 0; }
.tp-product table.variations th label { font-weight: 700; color: var(--tp-ink); font-size: .9rem; }
.tp-product table.variations select { width: 100%; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--tp-line); border-radius: 10px; margin: 6px 0 4px; }
.tp-product .reset_variations { font-size: .82rem; }
.tp-product .woocommerce-variation-add-to-cart { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.tp-product .woocommerce-variation-price { margin-bottom: 6px; }
.tp-product .product_meta { font-size: .85rem; color: var(--tp-muted); border-top: 1px solid var(--tp-line); padding-top: 14px; margin-top: 14px; }
.tp-product .product_meta > span { display: block; margin-bottom: 4px; }
.tp-product-usps { list-style: none; padding: 16px 18px; margin: 18px 0 0; background: var(--tp-lilac); border-radius: var(--tp-radius); display: grid; gap: 8px; font-size: .9rem; }
.tp-product-usps li { display: flex; align-items: center; gap: 10px; color: var(--tp-ink); }
.tp-product-usps svg { width: 18px; height: 18px; color: var(--tp-purple); flex: none; }
.tp-product-wish { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--tp-ink); font-weight: 600; cursor: pointer; padding: 6px 0; }
.tp-product-wish svg { width: 20px; height: 20px; }
.tp-product-wish.is-on { color: var(--tp-purple); }
.tp-product-wish.is-on svg path { fill: currentColor; }
.woocommerce-tabs { grid-column: 1 / -1; margin-top: 20px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 6px; list-style: none; padding: 0 !important; margin: 0 0 18px !important; border-bottom: 1px solid var(--tp-line); }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 16px; font-weight: 700; color: var(--tp-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.woocommerce-tabs ul.tabs li.active a { color: var(--tp-purple); border-bottom-color: var(--tp-purple); }
.woocommerce-tabs .panel { max-width: 860px; }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce-tabs table.shop_attributes { width: 100%; border-collapse: collapse; border: 0; }
.woocommerce-tabs table.shop_attributes th, .woocommerce-tabs table.shop_attributes td { padding: 10px 12px; border-bottom: 1px solid var(--tp-line); text-align: left; font-style: normal; }
.woocommerce-tabs table.shop_attributes th { width: 200px; color: var(--tp-ink); }
.woocommerce-tabs table.shop_attributes td p { margin: 0; }
.related, .upsells { grid-column: 1 / -1; margin-top: 30px; }
.related > h2, .upsells > h2 { font-size: 1.6rem; margin-bottom: 18px; }
.related ul.products, .upsells ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.onsale { display: none; }

/* Winkelwagen & afrekenen (blokken én klassiek) */
.woocommerce-cart .tp-main, .woocommerce-checkout .tp-main, .woocommerce-account .tp-main { padding-bottom: 20px; }
.woocommerce table.shop_table { border: 1px solid var(--tp-line); border-radius: var(--tp-radius); border-collapse: separate; overflow: hidden; width: 100%; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--tp-line); }
.woocommerce table.shop_table thead th { border-top: 0; background: var(--tp-lilac); }
.wc-block-cart, .wc-block-checkout { margin-top: 10px; }
.wc-block-components-button:not(.is-link) { width: 100%; }
.wc-block-components-product-name { color: var(--tp-ink); font-weight: 700; }
.wp-block-woocommerce-empty-cart-block .wp-block-heading { font-size: 1.6rem; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper, .woocommerce-account .woocommerce > form.login, .woocommerce-account .woocommerce > .u-columns { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 10px; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); }
.woocommerce-MyAccount-navigation a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--tp-text); font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--tp-lilac); color: var(--tp-purple); }
.woocommerce-account .u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.woocommerce-account .u-column1, .woocommerce-account .u-column2 { width: auto !important; float: none !important; }
.woocommerce form.login, .woocommerce form.register { border: 1px solid var(--tp-line) !important; border-radius: var(--tp-radius) !important; padding: 24px !important; margin: 0 !important; }

/* Verlanglijst */
.tp-wishlist-empty { text-align: center; padding: 40px 20px; background: var(--tp-lilac); border-radius: var(--tp-radius-lg); }

/* 404 */
.tp-404 { text-align: center; padding: 60px 20px; }
.tp-404 .tp-search { margin: 24px auto; }

/* ---------- Mobiel menu ---------- */
.tp-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.tp-drawer.is-open { visibility: visible; }
.tp-drawer__bg { position: absolute; inset: 0; background: rgba(10, 10, 20, .45); opacity: 0; transition: opacity .25s; }
.tp-drawer.is-open .tp-drawer__bg { opacity: 1; }
.tp-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 360px); background: #fff; transform: translateX(-100%); transition: transform .25s; overflow-y: auto; padding: 18px; }
.tp-drawer.is-open .tp-drawer__panel { transform: none; }
.tp-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tp-drawer__head img { height: 34px; width: auto; }
.tp-drawer ul { list-style: none; margin: 0; padding: 0; }
.tp-drawer > .tp-drawer__panel > nav > ul > li { border-bottom: 1px solid var(--tp-line); }
.tp-drawer details > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 700; color: var(--tp-ink); cursor: pointer; }
.tp-drawer details > summary::-webkit-details-marker { display: none; }
.tp-drawer details > summary svg { width: 16px; height: 16px; color: var(--tp-purple); transition: transform .2s; }
.tp-drawer details[open] > summary svg { transform: rotate(180deg); }
.tp-drawer .tp-drawer__link { display: block; padding: 14px 4px; font-weight: 700; color: var(--tp-ink); }
.tp-drawer details ul { padding: 0 0 12px 8px; }
.tp-drawer details ul a { display: block; padding: 7px 4px; color: var(--tp-text); }
.tp-drawer h4 { font-family: var(--tp-body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tp-muted); margin: 10px 4px 4px; }
.tp-drawer__contact { margin-top: 20px; padding: 16px; background: var(--tp-lilac); border-radius: var(--tp-radius); font-size: .9rem; }
body.tp-no-scroll { overflow: hidden; }

/* ---------- Responsief ---------- */
@media (max-width: 1100px) {
	.tp-products, ul.products { grid-template-columns: repeat(3, 1fr); }
	.tp-shop ul.products { grid-template-columns: repeat(2, 1fr); }
	.tp-usps { grid-template-columns: repeat(2, 1fr); }
	.tp-hero__text { padding-left: 44px; }
}
@media (max-width: 900px) {
	.tp-header__bar { grid-template-columns: auto 1fr auto; gap: 10px; }
	.tp-menu-toggle { display: inline-flex; }
	.tp-nav { display: none; }
	.tp-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
	.tp-header__bar { padding-bottom: 12px; }
	.tp-logo { justify-self: center; }
	.tp-logo img, .tp-logo .custom-logo { height: 34px; }
	.tp-hero__card { grid-template-columns: 1fr; min-height: 0; }
	.tp-hero__text { padding: 36px 26px 0; }
	.tp-hero__media { position: relative; width: 100%; height: 260px; }
	.tp-hero__media::before { background: linear-gradient(180deg, #0c0d12 0%, rgba(12, 13, 18, 0) 35%); }
	.tp-cats { grid-template-columns: repeat(2, 1fr); }
	.tp-promos { grid-template-columns: 1fr; }
	.tp-footer__grid { grid-template-columns: 1fr 1fr; }
	.tp-shop { grid-template-columns: 1fr; }
	.tp-filters { position: static; display: none; }
	.tp-filters.is-open { display: block; }
	.tp-filters-toggle { display: inline-flex; }
	.tp-product { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.tp-product .woocommerce-product-gallery { max-width: none; }
	.related ul.products, .upsells ul.products { grid-template-columns: repeat(2, 1fr); }
	.tp-two { grid-template-columns: 1fr; }
	.tp-features { grid-template-columns: 1fr 1fr; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-account .u-columns { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	body { font-size: 15px; }
	.tp-btn, .button { white-space: normal; text-align: center; line-height: 1.2; }
	.tp-wrap { padding: 0 16px; }
	.tp-topbar .tp-wrap { gap: 14px; font-size: .74rem; }
	.tp-topbar span:nth-child(n+2) { display: none; }
	.tp-products, ul.products, .tp-shop ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.tp-card { padding: 10px; }
	.tp-card__title { font-size: .85rem; }
	.tp-card__price { font-size: 1.05rem; }
	.tp-card .tp-btn, .tp-card .button { min-height: 40px; font-size: .8rem; padding: 0 12px; justify-content: center; }
	.tp-card .button .tp-btn__arrow { display: none; }
	.tp-cats { gap: 10px; }
	.tp-cat__label { font-size: .98rem; padding: 8px 8px 8px 12px; }
	.tp-promo { min-height: 0; flex-direction: column; align-items: stretch; }
	.tp-promo__text { max-width: none; padding: 28px 22px 10px; }
	.tp-promo__media, .tp-promo--dark .tp-promo__media { position: relative; width: 100%; height: 200px; }
	.tp-promo--dark .tp-promo__media::before { background: linear-gradient(180deg, var(--tp-dark) 0%, rgba(18, 20, 25, 0) 40%); }
	.tp-promo--light .tp-promo__media::before { background: linear-gradient(180deg, var(--tp-lilac) 0%, rgba(244, 242, 253, 0) 40%); }
	.tp-promo__media img { object-position: center; }
	.tp-usps { grid-template-columns: 1fr; }
	.tp-footer__grid { grid-template-columns: 1fr; gap: 24px; }
	.tp-footer .tp-footer__grid { padding-top: 40px; } /* logo niet tegen de bovenrand */
	.tp-page-hero { padding: 28px 22px; }
	.tp-form { grid-template-columns: 1fr; }
	.tp-features { grid-template-columns: 1fr; }
	.tp-section-head { align-items: flex-start; flex-direction: column; gap: 6px; }
	.related ul.products, .upsells ul.products { grid-template-columns: repeat(2, 1fr); }
}
/* ---------- Bannerslider (alleen actief als de slider aan staat) ---------- */
.tp-slider { position: relative; }
.tp-slides { display: grid; }
.tp-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.tp-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .8s ease, visibility 0s; }
.tp-slide .tp-eyebrow { color: var(--tp-purple-soft); }
.tp-slider .tp-hero__text { padding-bottom: 92px; }
.tp-slider .tp-hero__media { overflow: hidden; }
.tp-slide.is-active .tp-hero__text > * { animation: tpUp .7s cubic-bezier(.2, .7, .2, 1) both; }
.tp-slide.is-active .tp-hero__text > :nth-child(2) { animation-delay: .08s; }
.tp-slide.is-active .tp-hero__text > :nth-child(3) { animation-delay: .16s; }
.tp-slide.is-active .tp-hero__text > :nth-child(4) { animation-delay: .24s; }
.tp-slide.is-active .tp-hero__media img { animation: tpZoom 8s ease-out both; }
@keyframes tpUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes tpZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Lichte slide */
.tp-slide--light { background: #f4f2fd; }
.tp-slide--light .tp-eyebrow { color: var(--tp-purple); }
.tp-slide--light .tp-hero__title { color: var(--tp-ink); }
.tp-slide--light .tp-hero__title em { background: linear-gradient(90deg, #663cfa, #9b7bff); -webkit-background-clip: text; background-clip: text; }
.tp-slide--light .tp-hero__sub { color: var(--tp-text); }
.tp-slide--light .tp-hero__media::before { background: linear-gradient(90deg, #f4f2fd 0%, rgba(244, 242, 253, .6) 14%, rgba(244, 242, 253, 0) 34%); }

/* Navigatie: streepjes met voortgang + pijlen */
.tp-slider__nav { position: absolute; z-index: 5; left: 64px; right: 28px; bottom: 26px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.tp-slider__nav > * { pointer-events: auto; }
.tp-slider__dots { display: flex; gap: 8px; }
.tp-slider__dot { position: relative; width: 34px; height: 5px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .28); cursor: pointer; overflow: hidden; transition: width .3s, background .3s; }
.tp-slider__dot::before { content: ""; position: absolute; inset: -10px 0; }
.tp-slider__dot.is-active { width: 56px; }
.tp-slider__dot span { position: absolute; inset: 0; width: 0; background: #fff; border-radius: inherit; }
.tp-slider__dot.is-active span { width: 100%; }
.tp-slider.is-playing .tp-slider__dot.is-active span { width: 0; animation: tpProgress var(--tp-slide-dur, 6s) linear forwards; }
.tp-slider.is-paused .tp-slider__dot.is-active span { animation-play-state: paused; }
.tp-slider.on-light .tp-slider__dot { background: rgba(102, 60, 250, .2); }
.tp-slider.on-light .tp-slider__dot span { background: var(--tp-purple); }
.tp-slider__arrows { display: flex; gap: 8px; }
.tp-slider__arrow { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background .2s; }
.tp-slider__arrow:hover { background: rgba(255, 255, 255, .22); }
.tp-slider__arrow svg { width: 18px; height: 18px; }
.tp-slider__arrow[data-prev] svg { transform: rotate(180deg); }
.tp-slider.on-light .tp-slider__arrow { border-color: var(--tp-lilac-2); background: #fff; color: var(--tp-ink); }
.tp-slider.on-light .tp-slider__arrow:hover { background: var(--tp-lilac); }
@keyframes tpProgress { from { width: 0; } to { width: 100%; } }

@media (max-width: 900px) {
	.tp-slider .tp-hero__text { padding-bottom: 0; }
	.tp-slider__nav { left: auto; right: 18px; bottom: auto; top: 20px; }
	.tp-slider__arrows { display: none; }
	.tp-slide--light .tp-hero__media::before { background: linear-gradient(180deg, #f4f2fd 0%, rgba(244, 242, 253, 0) 35%); }
}
@media (prefers-reduced-motion: reduce) {
	.tp-slide.is-active .tp-hero__text > *, .tp-slide.is-active .tp-hero__media img, .tp-slider__dot span { animation: none !important; }
}
/* ---------- Schuifwinkelmand (van rechts) ---------- */
.tp-minicart { position: fixed; inset: 0; z-index: 210; visibility: hidden; transition: visibility 0s linear .35s; }
.tp-minicart.is-open { visibility: visible; transition: visibility 0s; }
.tp-minicart__bg { position: absolute; inset: 0; background: rgba(10, 10, 20, .45); opacity: 0; transition: opacity .3s; }
.tp-minicart.is-open .tp-minicart__bg { opacity: 1; }
.tp-minicart__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 420px); display: flex; flex-direction: column; background: #fff; box-shadow: -18px 0 50px rgba(20, 16, 50, .18); transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); outline: none; }
.tp-minicart.is-open .tp-minicart__panel { transform: none; }
/* Ingelogd: onder de WordPress-balk beginnen (32px, op smalle schermen 46px) */
body.admin-bar .tp-minicart { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .tp-minicart { top: 46px; } }
.tp-minicart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; border-bottom: 1px solid var(--tp-line); }
.tp-minicart__head h2 { font-size: 1.35rem; margin: 0; }
.tp-minicart__head h2 small { font-family: var(--tp-body); font-size: .85rem; font-weight: 600; color: var(--tp-muted); letter-spacing: 0; margin-left: 6px; }
.tp-minicart__msg { margin: 12px 20px 0; padding: 10px 14px; border-radius: 10px; background: #fdecec; color: #9c1c1c; font-size: .88rem; font-weight: 600; }
.tp-minicart__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.tp-minicart__inner { flex: 1; min-height: 0; display: flex; flex-direction: column; transition: opacity .2s; }
.tp-minicart.is-busy .tp-minicart__inner { opacity: .55; pointer-events: none; }

.tp-minicart__ship { padding: 14px 20px; background: var(--tp-lilac); font-size: .88rem; color: var(--tp-ink); }
.tp-minicart__ship p { margin: 0 0 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tp-minicart__ship svg { width: 16px; height: 16px; color: var(--tp-green); }
.tp-minicart__bar { height: 6px; border-radius: 99px; background: #fff; overflow: hidden; }
.tp-minicart__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8f6bff, var(--tp-purple)); transition: width .5s ease; }

.tp-minicart__items { list-style: none; margin: 0; padding: 6px 20px; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.tp-minicart__item { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 28px 14px 0; border-bottom: 1px solid var(--tp-line); }
.tp-minicart__item:last-child { border-bottom: 0; }
.tp-minicart__img { display: block; width: 76px; height: 76px; border: 1px solid var(--tp-line); border-radius: 10px; overflow: hidden; background: #fff; }
.tp-minicart__img img { width: 100%; height: 100%; object-fit: contain; }
.tp-minicart__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tp-minicart__name { color: var(--tp-ink); font-weight: 600; font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-minicart__name:hover { color: var(--tp-purple); }
.tp-minicart__meta { font-size: .78rem; color: var(--tp-muted); }
.tp-minicart__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.tp-minicart__price { font-family: var(--tp-head); font-weight: 700; color: var(--tp-ink); white-space: nowrap; }
.tp-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--tp-line); border-radius: 999px; height: 34px; }
.tp-qty button { width: 32px; height: 100%; border: 0; background: none; font-size: 1.1rem; line-height: 1; color: var(--tp-ink); cursor: pointer; border-radius: 999px; }
.tp-qty button:hover:not(:disabled) { color: var(--tp-purple); background: var(--tp-lilac); }
.tp-qty button:disabled { opacity: .35; cursor: default; }
.tp-qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.tp-minicart__remove { position: absolute; top: 12px; right: -4px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: var(--tp-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.tp-minicart__remove:hover { background: #fdecec; color: var(--tp-red); }
.tp-minicart__remove svg { width: 16px; height: 16px; }

.tp-minicart__foot { padding: 16px 20px 20px; border-top: 1px solid var(--tp-line); display: grid; gap: 10px; background: #fff; }
.tp-minicart__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; color: var(--tp-ink); }
.tp-minicart__total strong { font-family: var(--tp-head); font-size: 1.3rem; }
.tp-minicart__note { margin: -4px 0 4px; font-size: .78rem; color: var(--tp-muted); }

.tp-minicart__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 28px; gap: 6px; }
.tp-minicart__empty > svg { width: 54px; height: 54px; color: var(--tp-purple-soft); margin-bottom: 6px; }
.tp-minicart__empty p { color: var(--tp-muted); }
.tp-minicart__empty strong { color: var(--tp-ink); font-size: 1.05rem; }

@media (max-width: 600px) {
	.tp-minicart__panel { width: 100%; }
}
.tp-bump { animation: tpBump .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tpBump { 0% { transform: scale(1); } 35% { transform: scale(1.2); } 70% { transform: scale(.95); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
