/*
Theme Name: Fixobox
Theme URI: https://fixobox.app
Author: Fixobox
Author URI: https://fixobox.app
Description: Blokthema voor fixobox.app, de pluginwinkel van het AI-platform voor bouwbedrijven. Productmuur, pluginbibliotheek met filter per vak, templates per vak, abonnementen en vragen.
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
Version: 2.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fixobox
*/

/* ================= Basis ================= */
:root {
	--fx-kalk: #F7F5F0;
	--fx-navy: #1A2B4A;
	--fx-navy-d: #0F1C33;
	--fx-oranje: #E8920A;
	--fx-geel: #F5C518;
	--fx-steen: #4E5768;
	--fx-tekst2: #3E4A5F;
	--fx-beton: #D9D4CA;
	--fx-licht: #C9D0DC;
	--fx-lijn: 2px solid var(--fx-navy);
}
body { font-stretch: 100%; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .wp-block-site-title { font-stretch: 118%; text-wrap: balance; }
p { text-wrap: pretty; }
:where(a, button, summary, .wp-element-button):focus-visible { outline: 3px solid var(--fx-oranje); outline-offset: 3px; }

/* Koppen */
.fx-mega { font-size: clamp(2.5rem, 3.8vw, 4.3rem) !important; line-height: 0.95 !important; font-stretch: 106% !important; font-weight: 900 !important; letter-spacing: -0.025em !important; }
.fx-groot { font-size: clamp(2.5rem, 4.6vw, 4.5rem) !important; line-height: 0.95 !important; font-weight: 900 !important; letter-spacing: -0.02em !important; }
.fx-kop { font-size: clamp(2.25rem, 3.8vw, 3.75rem) !important; line-height: 0.98 !important; font-weight: 900 !important; letter-spacing: -0.02em !important; }
.fx-lead { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem); line-height: 1.5; color: var(--fx-tekst2); max-width: 32em; }
.fx-klein { font-size: 0.9rem; color: var(--fx-steen); }

/* Secties */
.fx-sectie { padding-top: clamp(64px, 8vw, 112px) !important; padding-bottom: clamp(64px, 8vw, 112px) !important; }
.fx-navy { background: var(--fx-navy); color: var(--fx-kalk); }
.fx-navy h1, .fx-navy h2, .fx-navy h3, .fx-navy a { color: var(--fx-kalk); }
.fx-navy .fx-lead { color: var(--fx-licht); }
.fx-wit { background: #fff; border-top: var(--fx-lijn); border-bottom: var(--fx-lijn); }
.fx-oranje { background: var(--fx-oranje); border-top: var(--fx-lijn); }
.fx-kopregel { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* ================= Knoppen ================= */
.wp-block-button .wp-block-button__link { border: var(--fx-lijn); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--fx-navy); border: var(--fx-lijn); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--fx-navy); color: var(--fx-kalk); }
.wp-block-button.fx-knop-navy > .wp-block-button__link { background: var(--fx-navy); color: var(--fx-kalk); }
.wp-block-button.fx-knop-navy > .wp-block-button__link:hover { background: var(--fx-navy-d); }
.wp-block-button.fx-knop-oranje > .wp-block-button__link { background: var(--fx-oranje); border-color: var(--fx-oranje); }

/* Tags (zoals in de hero) */
.fx-tags .wp-block-button__link { border-radius: 0 !important; font-weight: 800; font-stretch: 112%; padding: 12px 16px !important; }
.fx-tags .fx-tag-oranje .wp-block-button__link { background: var(--fx-oranje); border-color: var(--fx-oranje); color: var(--fx-navy); }
.fx-tags .fx-tag-wit .wp-block-button__link { background: #fff; color: var(--fx-navy); }
.fx-tags .fx-tag-geel .wp-block-button__link { background: var(--fx-geel); color: var(--fx-navy); }

/* ================= Header ================= */
.fx-header { border-bottom: var(--fx-lijn); background: var(--fx-kalk); }
.fx-header .wp-block-site-title a { text-decoration: none; color: var(--fx-navy); display: inline-flex; align-items: center; gap: 12px; }
.fx-header .wp-block-site-title a::before { content: ""; width: 16px; height: 16px; background: var(--fx-oranje); box-shadow: 5px 5px 0 var(--fx-navy); margin-right: 4px; }
.fx-header .wp-block-navigation a { text-decoration: none; }
.fx-header .wp-block-navigation a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.fx-header .wp-block-button__link { padding: 11px 18px !important; }
@media (max-width: 600px) { .fx-header .fx-header-knop-l { display: none; } }

/* ================= Hero en productmuur ================= */
.fx-hero { padding-top: clamp(32px, 4vw, 56px) !important; padding-bottom: 0 !important; }
.fx-hero .wp-block-columns { align-items: center; gap: 24px; }
.fx-muur { position: relative; width: 100%; height: 640px; overflow: hidden; }
.fx-muur-in { position: absolute; left: -6%; top: -8%; width: 120%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; transform: perspective(2200px) rotateX(26deg) rotateZ(-16deg) scale(1.02); }
.fx-tegel { background: #fff; border: var(--fx-lijn); box-shadow: 8px 8px 0 var(--fx-navy); padding: 8px; }
.fx-tegel p { margin: 8px 2px 2px; font-weight: 800; font-size: 13px; font-stretch: 112%; color: var(--fx-navy); }
@media (max-width: 781px) { .fx-muur { height: 420px; } .fx-hero .wp-block-columns { align-items: stretch; } .fx-hero .wp-block-column { width: 100%; } }

/* Schermpjes (decoratief) */
.t { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; font-family: inherit; color: var(--fx-navy); }
.t-dak { background: #E4DFD4; background-image: linear-gradient(#CFC8BA 1px, transparent 1px), linear-gradient(90deg, #CFC8BA 1px, transparent 1px); background-size: 100% 34%, 28% 100%; }
.t-dak .huis { position: absolute; left: 18%; top: 20%; width: 58%; height: 54%; background: #D2CBBE; }
.t-dak .dak { position: absolute; left: 21%; top: 24%; width: 52%; height: 46%; border: 3px solid var(--fx-oranje); background: repeating-linear-gradient(45deg, rgba(232,146,10,.22) 0 2px, transparent 2px 9px); }
.t-dak .maat { position: absolute; left: 21%; top: 13%; width: 52%; border-top: 1.5px solid var(--fx-navy); text-align: center; font-size: 10px; font-weight: 700; padding-top: 1px; }
.t .chip { position: absolute; left: 21%; bottom: 8%; background: var(--fx-navy); color: var(--fx-kalk); font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 2px; }
.t .zoek { position: absolute; right: 5%; bottom: 7%; width: 40%; height: 13%; background: #fff; border: 1px solid var(--fx-beton); border-radius: 2px; font-size: 9px; line-height: 1; display: flex; align-items: center; padding-left: 6px; color: var(--fx-steen); }
.t-tuin { background: #E1E7D6; }
.t-tuin .pad { position: absolute; left: 8%; top: 52%; width: 58%; height: 34%; background: repeating-linear-gradient(0deg, #C9C2B4 0 1px, #E9E4DA 1px 12px), #E9E4DA; border: 2px solid var(--fx-oranje); }
.t-tuin .gras { position: absolute; left: 8%; top: 12%; width: 58%; height: 36%; background: #B9C9A0; border: 2px dashed #7E9561; }
.t-tuin .hek { position: absolute; right: 10%; top: 10%; height: 78%; border-left: 4px dashed #8A6A43; }
.t-tuin .boom { position: absolute; width: 16%; aspect-ratio: 1; border-radius: 50%; background: #7E9561; border: 2px solid #5E7448; }
.t-off { background: #EEF0F3; padding: 8%; }
.t-off .doc { background: #fff; height: 100%; border: 1px solid var(--fx-beton); padding: 8% 9%; display: flex; flex-direction: column; gap: 7%; }
.t-off .r { height: 6%; background: var(--fx-beton); border-radius: 1px; }
.t-off .kop { height: 9%; width: 45%; background: var(--fx-navy); }
.t-off .tot { margin-top: auto; display: flex; justify-content: space-between; border-top: 2px solid var(--fx-navy); padding-top: 5%; font-size: 11px; font-weight: 800; }
.t-ai { background: var(--fx-navy); padding: 7%; display: flex; flex-direction: column; gap: 6%; justify-content: center; }
.t-ai .b { max-width: 76%; font-size: 11px; line-height: 1.3; padding: 6px 9px; border-radius: 8px; }
.t-ai .b-k { align-self: flex-end; background: var(--fx-oranje); color: var(--fx-navy); font-weight: 600; }
.t-ai .b-a { align-self: flex-start; background: var(--fx-kalk); color: var(--fx-navy); }
.t-calc { background: #fff; padding: 7%; display: flex; flex-direction: column; gap: 5%; }
.t-calc .row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6%; align-items: center; font-size: 10px; }
.t-calc .row span { height: 7px; background: var(--fx-beton); border-radius: 1px; }
.t-calc .row b { height: 7px; background: var(--fx-oranje); border-radius: 1px; }
.t-calc .row.h { font-weight: 800; border-bottom: 2px solid var(--fx-navy); padding-bottom: 4%; }
.t-site { background: #fff; display: flex; flex-direction: column; }
.t-site .nav { height: 13%; background: var(--fx-navy); display: flex; align-items: center; gap: 6%; padding: 0 6%; }
.t-site .nav i { display: block; width: 10%; height: 22%; background: var(--fx-kalk); opacity: .8; }
.t-site .nav i:first-child { width: 18%; background: var(--fx-oranje); opacity: 1; }
.t-site .hb { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6%; padding: 7% 6%; }
.t-site .hb .tx { display: flex; flex-direction: column; gap: 9%; }
.t-site .hb .tx i { display: block; height: 11%; background: var(--fx-navy); }
.t-site .hb .tx i.s { height: 6%; background: var(--fx-beton); width: 80%; }
.t-site .hb .tx i.k { height: 13%; width: 48%; background: var(--fx-oranje); }
.t-site .hb .ft { background: #E4DFD4; background-image: linear-gradient(135deg, transparent 48%, #CFC8BA 48% 52%, transparent 52%); }

/* ================= Lopende band ================= */
.fx-band { overflow: hidden; background: var(--fx-geel); border-top: var(--fx-lijn); border-bottom: var(--fx-lijn); }
.fx-band-in { display: flex; gap: 48px; width: max-content; padding: 16px 0; animation: fx-band 38s linear infinite; }
.fx-band-in span { font-size: 26px; font-weight: 800; font-stretch: 112%; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; color: var(--fx-navy); }
.fx-band-in span::after { content: ""; width: 12px; height: 12px; background: var(--fx-navy); }
@keyframes fx-band { to { transform: translateX(-50%); } }

/* ================= Pluginbibliotheek ================= */
.fx-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.fx-filter { min-height: 44px; padding: 0 18px; border: var(--fx-lijn); background: #fff; color: var(--fx-navy); font: inherit; font-weight: 700; font-size: 15px; border-radius: 999px; cursor: pointer; }
.fx-filter[aria-pressed="true"] { background: var(--fx-navy); color: var(--fx-kalk); }
.fx-cat { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px !important; }
.fx-cat > * { margin: 0 !important; }
.fx-cat:not(.fx-gefilterd) > .fx-breed { grid-column: span 2; flex-direction: row; }
.fx-cat:not(.fx-gefilterd) > .fx-breed > .wp-block-html,
.fx-cat:not(.fx-gefilterd) > .fx-breed > .t { flex: 1.25; display: flex; }
.fx-cat:not(.fx-gefilterd) > .fx-breed .t { aspect-ratio: auto; min-height: 100%; width: 100%; border-bottom: 0; border-right: var(--fx-lijn); }
.fx-cat:not(.fx-gefilterd) > .fx-breed > .fx-card-b { flex: 1; }
.fx-cat > .fx-verborgen { display: none; }
.fx-card { background: #fff; border: var(--fx-lijn); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.fx-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--fx-navy); }
.fx-card .t { border-radius: 0; border-bottom: var(--fx-lijn); }
.fx-card-b { padding: 20px 22px 22px !important; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fx-card-b > * { margin: 0 !important; }
.fx-card h3 { font-size: 1.6rem; line-height: 1.05; font-weight: 900; }
.fx-card .fx-vak { font-size: 0.875rem; font-weight: 700; color: var(--fx-steen); }
.fx-card .fx-link { margin-top: auto !important; padding-top: 10px; font-weight: 800; }
.fx-card .fx-link a { text-decoration-thickness: 2px; text-underline-offset: 5px; }
.fx-st span { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border: 1.5px solid; }
.fx-st .ja { background: var(--fx-navy); border-color: var(--fx-navy); color: var(--fx-kalk); }
.fx-st .bk { background: #FDF1DE; border-color: var(--fx-oranje); color: #7A4B00; }
.fx-st .io { border-color: #B9B3A7; color: var(--fx-steen); }
.fx-st .gp { border-color: #B9B3A7; border-style: dashed; color: var(--fx-steen); }

/* ================= Templates ================= */
.fx-tpl { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 40px !important; }
.fx-tpl > * { margin: 0 !important; }
.fx-tpl-item > * { margin: 0 0 10px !important; }
.fx-tpl-beeld { background: #fff; border: 2px solid var(--fx-kalk); padding: 6px; }
.fx-tpl-item .fx-tpl-naam { font-weight: 800; font-size: 1.2rem; font-stretch: 112%; }
.fx-tpl-item .fx-tpl-mods { font-size: 0.9rem; color: var(--fx-licht); }

/* ================= Wat het doet ================= */
.fx-feat { align-items: center !important; gap: 64px !important; }
.fx-feat + .fx-feat { margin-top: clamp(64px, 8vw, 112px) !important; }
.fx-vis { border: var(--fx-lijn); box-shadow: 12px 12px 0 var(--fx-oranje); background: #fff; padding: 12px; }

/* ================= Citaat ================= */
.fx-citaat { font-size: clamp(1.9rem, 3.4vw, 3.1rem) !important; line-height: 1.12 !important; font-weight: 800 !important; font-stretch: 108%; letter-spacing: -0.015em; }

/* ================= Prijzen ================= */
.fx-prijzen { gap: 0 !important; border: var(--fx-lijn); margin-top: 40px !important; }
.fx-pk { padding: 36px 32px !important; background: #fff; display: flex; flex-direction: column; }
.fx-pk > * { margin-top: 0 !important; margin-bottom: 10px !important; }
.fx-pk + .fx-pk { border-left: var(--fx-lijn); }
.fx-pk.fx-pk-uit { background: var(--fx-oranje); }
.fx-pk h3 { font-size: 1.75rem; font-weight: 900; }
.fx-pk .fx-voor { color: var(--fx-steen); }
.fx-pk.fx-pk-uit .fx-voor, .fx-pk.fx-pk-uit .fx-prijs-onder { color: var(--fx-navy); }
.fx-prijs { margin-top: 14px !important; font-size: 3rem; font-weight: 900; font-stretch: 112%; line-height: 1; }
.fx-prijs-onder { font-size: 0.875rem; color: var(--fx-steen); }
.fx-pk ul { margin: 8px 0 20px !important; padding-left: 20px; line-height: 1.5; }
.fx-pk li::marker { color: var(--fx-oranje); }
.fx-pk.fx-pk-uit li::marker { color: var(--fx-navy); }
.fx-pk .wp-block-buttons { margin-top: auto !important; }

/* ================= Vragen ================= */
.fx-faq .wp-block-details { border-top: var(--fx-lijn); padding: 22px 0; margin: 0 !important; }
.fx-faq .wp-block-details:last-child { border-bottom: var(--fx-lijn); }
.fx-faq summary { font-weight: 800; font-size: 1.25rem; font-stretch: 108%; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: "+"; color: var(--fx-oranje); font-size: 1.75rem; line-height: .8; }
.fx-faq details[open] summary::after { content: "\2212"; }
.fx-faq details p { margin: 12px 0 0; line-height: 1.6; color: var(--fx-tekst2); max-width: 40em; }

/* ================= Afsluiter ================= */
.fx-afsluiter h2 { font-size: clamp(3rem, 7vw, 7.5rem) !important; line-height: 0.88 !important; font-weight: 900 !important; letter-spacing: -0.03em !important; max-width: 12ch; }

/* ================= Footer ================= */
.fx-footer { font-size: 0.95rem; }
.fx-footer a { text-decoration: none; }
.fx-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fx-footer .fx-klein { color: var(--fx-licht); }

/* ================= Blog ================= */
.fx-berichten .wp-block-post { border-top: var(--fx-lijn); padding-top: 24px; }
.fx-berichten .wp-block-post-title a { text-decoration: none; color: var(--fx-navy); }
.fx-berichten .wp-block-post-title a:hover { color: #9A5F00; }

/* ================= Responsief ================= */
@media (max-width: 1100px) {
	.fx-tpl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.fx-cat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.fx-tpl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fx-pk + .fx-pk { border-left: 0; border-top: var(--fx-lijn); }
	.fx-feat.fx-feat-om > .wp-block-column:first-child { order: 2; }
}
@media (max-width: 600px) {
	.fx-cat { grid-template-columns: 1fr; }
	.fx-cat:not(.fx-gefilterd) > .fx-breed { grid-column: auto; flex-direction: column; }
	.fx-cat:not(.fx-gefilterd) > .fx-breed .t { aspect-ratio: 16 / 10; min-height: 0; border-right: 0; border-bottom: var(--fx-lijn); }
}
@media (prefers-reduced-motion: reduce) {
	.fx-band-in { animation: none; }
	.fx-card { transition: none; }
}
.fx-faq .wp-block-details { max-width: 900px; }

/* ================= Gratis templates ================= */
.fx-tpl-beeld { position: relative; }
.fx-sticker { position: absolute; top: -14px; right: -10px; transform: rotate(8deg); background: var(--fx-oranje); color: var(--fx-navy); border: var(--fx-lijn); font-weight: 900; font-stretch: 118%; font-size: 1rem; padding: 6px 12px; line-height: 1; }
.fx-gratis .fx-tpl { gap: 28px; }
.fx-gratis .fx-tpl-beeld { box-shadow: 8px 8px 0 var(--fx-oranje); }
.fx-gratis .fx-kopregel .wp-block-buttons { margin: 0; }
.fx-onder { margin-top: 40px !important; color: var(--fx-licht); font-size: 1.05rem; }
.t-site .hb .ft.ft-dak { background: #E4DFD4 repeating-linear-gradient(45deg, rgba(232,146,10,.35) 0 2px, transparent 2px 8px); border: 2px solid var(--fx-oranje); }
.t-site .hb .ft.ft-tuin { background: #B9C9A0; background-image: radial-gradient(circle at 70% 35%, #7E9561 0 18%, transparent 19%); }
.t-site .hb .ft.ft-straat { background: repeating-linear-gradient(0deg, #C9C2B4 0 1px, #E9E4DA 1px 9px), repeating-linear-gradient(90deg, #C9C2B4 0 1px, transparent 1px 18px); }
.t-site .hb .ft.ft-bouw { background: #D2CBBE; background-image: linear-gradient(#1A2B4A 0 0), linear-gradient(#1A2B4A 0 0); background-size: 60% 8%, 8% 70%; background-position: 20% 30%, 20% 100%; background-repeat: no-repeat; }
.t-site .hb .ft.ft-gww { background: repeating-linear-gradient(-45deg, #F5C518 0 8px, #1A2B4A 8px 16px); }
@media (min-width: 1100px) { .fx-prijzen .fx-pk { padding: 32px 24px !important; } .fx-prijzen .fx-prijs { font-size: 2.3rem; white-space: nowrap; } }
@media (max-width: 781px) { .fx-sticker { right: -6px; } }
