/*
Theme Name: FMH Fast
Theme URI: https://flickmyhouse.com/
Author: Flickmyhouse
Description: Lichtgewicht Elementor-vrij basisthema voor de Flickmyhouse marketplace.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: fmh-fast
*/

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
}

.fmh-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 999999;
    padding: 10px 14px;
    background: #fff;
    color: #111;
    transform: translateY(-160%);
}

.fmh-skip-link:focus {
    transform: translateY(0);
}

.fmh-theme-header,
.fmh-theme-footer {
    padding: 18px 24px;
}

.fmh-theme-header {
    border-bottom: 1px solid rgba(127, 127, 127, 0.2);
}

.fmh-theme-footer {
    border-top: 1px solid rgba(127, 127, 127, 0.2);
}

.fmh-theme-inner,
.fmh-theme-main {
    width: min(1200px, calc(100% - 32px));
    margin-inline: auto;
}

.fmh-theme-main {
    min-height: 60vh;
    padding-block: 32px;
}

.fmh-theme-logo {
    color: inherit;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.fmh-theme-article {
    margin-bottom: 32px;
}

.fmh-theme-article img {
    max-width: 100%;
    height: auto;
}

/* FMH global typography — Elementor-independent */
:root {
    --fmh-font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}

html,
body {
    font-family: var(--fmh-font-family);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* Custom fast-render surfaces */
.fmh-fast-theme,
.fmh-fast-home-shell,
.fmh-fast-pdp,
.fmh-fast-archive,
.fmh-theme-main,
.woocommerce {
    font-family: var(--fmh-font-family);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
label,
button,
input,
select,
textarea {
    font-family: inherit;
}
