/* ==========================================================================
   Egalinemarkt: eigen laag bovenop theme.css (vloerengarant-basis).
   Opbouw naar egalinestore.nl (gemeten 21-11-2026): Inter, lichtgrijze pagina
   (#f5f7fb daar, hier --egm-creme) met witte kaarten, radius 10-12, koppen
   vet en krap, smalle bezorgbalk, kop met groot zoekveld en een omrande
   hulpknop, hero met rechts een rekenhulp en populaire producten.
   Kleuren komen uit Instellingen > Winkel (inline :root), zie inc/egm.php.
   ========================================================================== */

body {
    font-size: 16px;
    font-weight: 400;
    color: var(--egm-tekst);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 700; color: var(--egm-tekst); letter-spacing: -0.015em; }
h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
a { color: var(--egm-tekst); }
a:hover { color: var(--egm-merk); }
.vg-container { max-width: 1240px; }
body.woocommerce-cart .vg-content, .vg-content { max-width: 1240px; }
.egm-overslaan:focus { position: fixed; left: 12px; top: 12px; z-index: 1000; background: #fff; padding: 8px 12px; clip: auto; width: auto; height: auto; }

/* ---- Knoppen: geel met donkere tekst, of omrand petrol ---- */
.egm-knop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 2px solid var(--egm-geel);
    border-radius: 10px;
    background: var(--egm-geel);
    color: var(--egm-tekst);
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.egm-knop:hover { background: var(--egm-geel-donker); border-color: var(--egm-geel-donker); color: var(--egm-tekst); }
.egm-knop--rand { background: #fff; border-color: var(--egm-merk); color: var(--egm-merk); }
.egm-knop--rand:hover { background: var(--egm-merk); border-color: var(--egm-merk); color: #fff; }
.egm-knop--vol { width: 100%; }
.egm-knop--klein { min-height: 38px; padding: 0 12px; font-size: 14px; border-radius: 8px; width: 100%; }
.egm-meer { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--egm-merk); text-decoration: none; }
.egm-meer:hover { text-decoration: underline; }
.egm-icoon { flex: none; }

/* ==========================================================================
   Kop
   ========================================================================== */
.egm-balk { background: #e9f0f0; color: var(--egm-tekst); font-size: 13px; }
.egm-balk__inner { display: flex; justify-content: center; min-height: 34px; align-items: center; }
.egm-balk__usps { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.egm-balk__usps li { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap; }
.egm-balk__usps li:first-child { font-weight: 700; }
.egm-balk__usps .egm-icoon { color: var(--egm-merk); }
.egm-balk__een { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

.vg-header.egm-kop {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #fff;
    border-bottom: 1px solid var(--egm-lijn);
    box-shadow: none;
}
.egm-kop__rij { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.egm-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--egm-merk); text-decoration: none; flex: none; }
.egm-logo:hover { color: var(--egm-merk); }
.egm-logo__teken { display: inline-flex; color: var(--egm-merk); }
.egm-logo__woord { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--egm-tekst); }
.egm-logo__beeld { max-height: 44px; width: auto; }

.egm-zoek { flex: 1 1 auto; display: flex; max-width: 560px; margin-left: auto; }
.egm-zoek input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    padding: 0 16px;
    border: 1.5px solid var(--egm-lijn);
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: #fff;
    font: inherit;
    color: var(--egm-tekst);
}
.egm-zoek input[type="search"]:focus { outline: 0; border-color: var(--egm-merk); }
.egm-zoek button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: var(--egm-merk);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.egm-zoek button:hover { background: var(--egm-merk-donker); }

.egm-hulpknop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 170px;
    padding: 6px 12px;
    border: 1.5px solid var(--egm-lijn);
    border-radius: 10px;
    background: #f5f8f8;
    color: var(--egm-merk);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}
.egm-hulpknop:hover { border-color: var(--egm-merk); color: var(--egm-merk); }

.egm-acties { display: flex; align-items: center; }
.egm-wagen.vg-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 46px;
    padding: 0 6px;
    border: 0;
    background: none;
    color: var(--egm-merk);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    flex-direction: row;
}
.egm-wagen__teller.vg-action__badge {
    position: static;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--egm-geel);
    color: var(--egm-tekst);
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}
.egm-wagen__teller.is-empty { display: none; }
.egm-menuknop.vg-menu-toggle { display: none; padding: 6px; border: 0; background: none; color: var(--egm-tekst); }
.egm-acties > .vs-wishlist-headerlink { display: none !important; }

.egm-nav { border-top: 1px solid #eef2f2; }
.egm-nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 46px; }
.egm-nav__lijst { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.egm-nav__item { position: relative; }
.egm-nav__item > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 12px 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--egm-tekst);
    text-decoration: none;
}
.egm-nav__item > a:hover { color: var(--egm-merk); }
.egm-nav__sub {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 70;
    min-width: 250px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--egm-lijn);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(11, 47, 51, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.12s, transform 0.12s, visibility 0.12s;
}
.egm-nav__item--sub:hover .egm-nav__sub, .egm-nav__item--sub:focus-within .egm-nav__sub { opacity: 1; visibility: visible; transform: none; }
.egm-nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; text-decoration: none; }
.egm-nav__sub a:hover { background: var(--egm-creme); color: var(--egm-merk); }
.egm-nav__rechts { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--egm-merk); text-decoration: none; }

/* Telefoonmenu (lade) */
.egm-lade .vg-drawer__body { padding: 16px; }
.egm-zoek--lade { max-width: none; margin: 0 0 14px; }
.egm-lade__lijst { margin: 0; padding: 0; list-style: none; }
.egm-lade__lijst > li { border-bottom: 1px solid var(--egm-lijn); }
.egm-lade__lijst > li > a, .egm-lade__lijst summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 17px;
    font-weight: 600;
    color: var(--egm-tekst);
    text-decoration: none;
    cursor: pointer;
    list-style: none;
}
.egm-lade__lijst summary::-webkit-details-marker { display: none; }
.egm-lade__lijst details[open] summary .egm-icoon { transform: rotate(180deg); }
.egm-lade__lijst details ul { margin: 0 0 10px; padding: 0 0 0 10px; list-style: none; }
.egm-lade__lijst details a { display: block; padding: 9px 4px; color: var(--egm-tekst); text-decoration: none; }
.egm-lade__lijst--los { margin-top: 14px; }
.egm-lade__lijst--los > li > a { font-size: 15px; font-weight: 500; }
.egm-lade__contact { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--egm-merk); text-decoration: none; }

/* ==========================================================================
   Voorpagina
   ========================================================================== */
.egm-held { background: var(--egm-creme); padding: 40px 0 28px; }
.egm-held__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 44px; align-items: start; }
.egm-held h1 { margin: 6px 0 22px; font-size: clamp(32px, 4vw, 46px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
.egm-held__vakjes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 22px; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--egm-lijn); border-radius: 12px; }
.egm-vakje { padding: 10px 12px; border-radius: 8px; }
.egm-vakje span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.egm-vakje strong { display: block; margin-top: 2px; font-size: 15px; line-height: 1.3; }
.egm-vakje--1 { background: #e9f5ef; } .egm-vakje--1 span { color: #1f7a45; }
.egm-vakje--2 { background: #eaf3f4; } .egm-vakje--2 span { color: var(--egm-merk); }
.egm-vakje--3 { background: #fff7dc; } .egm-vakje--3 span { color: #8a6200; }
.egm-held__intro { margin: 0 0 24px; max-width: 54ch; font-size: 18px; line-height: 1.6; color: #34454b; }
.egm-held__knoppen { display: flex; flex-wrap: wrap; gap: 12px; }

.egm-held__kaarten { display: grid; gap: 14px; }
.egm-kaart { background: #fff; border: 1px solid var(--egm-lijn); border-radius: 12px; padding: 20px; }
.egm-kaart h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 19px; letter-spacing: -0.01em; }
.egm-reken { border: 2px solid var(--egm-merk); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.egm-reken h2, .egm-reken__veld--breed, .egm-reken .egm-knop { grid-column: 1 / -1; }
.egm-reken h2 .egm-icoon { color: var(--egm-merk); }
.egm-reken__veld span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--egm-grijs); }
.egm-reken__veld select, .egm-reken__veld input {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1.5px solid var(--egm-lijn);
    border-radius: 8px;
    background: #f7f9f9;
    font: inherit;
    color: var(--egm-tekst);
}
.egm-reken__veld select:focus, .egm-reken__veld input:focus { outline: 0; border-color: var(--egm-merk); background: #fff; }
.egm-reken .egm-knop { min-height: 50px; font-size: 17px; }

.egm-populair__kop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.egm-populair__kop h2 { margin: 0; }
.egm-populair__kop a { font-size: 14px; font-weight: 700; color: var(--egm-merk); text-decoration: none; }
.egm-populair__lijst { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.egm-populair__lijst li { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--egm-lijn); border-radius: 10px; }
.egm-populair__foto { display: block; background: #f5f7f7; border-radius: 8px; }
.egm-populair__foto img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 6px; }
.egm-populair__naam { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--egm-tekst); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.egm-populair__prijs { font-size: 15px; font-weight: 700; color: var(--egm-merk); margin-top: auto; }
.egm-populair__prijs del { font-weight: 400; color: var(--egm-grijs); font-size: 12px; }
.egm-populair .added_to_cart { display: none; }

.egm-snel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.egm-snel a { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #fff; border: 1px solid var(--egm-lijn); border-radius: 10px; font-weight: 700; color: var(--egm-merk); text-decoration: none; }
.egm-snel a:hover { border-color: var(--egm-merk); }

.egm-sectie { padding-top: 56px; padding-bottom: 8px; }
.egm-sectie--krap { padding-top: 24px; }
.egm-sectie__kop { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.egm-sectie__kop h2 { margin: 0; }
.egm-sectie__kop--midden { display: block; text-align: center; max-width: 640px; margin: 0 auto 26px; }
.egm-sectie__kop--midden p { margin: 8px 0 0; color: var(--egm-grijs); font-size: 17px; }

.egm-tabs__kop { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.egm-tabs__kop h2 { margin: 0; max-width: 420px; }
.egm-tabs__knoppen { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.egm-tabs__knoppen button {
    min-height: 40px;
    padding: 0 16px;
    border: 1.5px solid var(--egm-lijn);
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--egm-tekst);
    cursor: pointer;
}
.egm-tabs__knoppen button[aria-selected="true"] { background: var(--egm-merk); border-color: var(--egm-merk); color: #fff; }
.egm-tabs__paneel > .egm-meer { margin-top: 6px; }

.egm-ondergrond { margin-top: 56px; padding: 56px 0; background: var(--egm-creme); }
.egm-ondergrond__tegels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.egm-grondtegel { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--egm-merk); text-decoration: none; }
.egm-grondtegel img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.egm-grondtegel:hover img { transform: scale(1.04); }
.egm-grondtegel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55) 100%); }
.egm-grondtegel span { position: absolute; left: 18px; bottom: 16px; z-index: 1; font-size: 20px; font-weight: 700; color: #fff; }
.egm-grondtegel--zonder::after { background: none; }

.egm-advies { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.egm-advies__beeld img { display: block; width: 100%; height: auto; border-radius: 12px; object-fit: cover; aspect-ratio: 4 / 3; }
.egm-advies__tekst h2 { margin: 0 0 12px; }
.egm-advies__tekst > p { margin: 0 0 16px; font-size: 17px; line-height: 1.6; color: #34454b; }
.egm-vinklijst { margin: 0 0 22px; padding: 0; list-style: none; }
.egm-vinklijst li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 600; }
.egm-vinklijst .egm-icoon { color: var(--egm-groen); }
.egm-advies__contact { display: flex; flex-wrap: wrap; gap: 12px; }

.egm-kb-grid { grid-template-columns: repeat(3, 1fr); }

.egm-vragen__lijst { display: grid; gap: 10px; max-width: 900px; }
.egm-vraag { background: #fff; border: 1px solid var(--egm-lijn); border-radius: 10px; }
.egm-vraag summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 700; cursor: pointer; list-style: none; }
.egm-vraag summary::-webkit-details-marker { display: none; }
.egm-vraag[open] summary .egm-icoon { transform: rotate(180deg); }
.egm-vraag p { margin: 0; padding: 0 18px 16px; line-height: 1.65; color: #34454b; }

.egm-merken__lijst { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0 0 40px; padding: 0; list-style: none; }
.egm-merken__lijst a { display: flex; flex-direction: column; gap: 2px; padding: 18px; border: 1px solid var(--egm-lijn); border-radius: 10px; text-decoration: none; }
.egm-merken__lijst strong { font-size: 18px; color: var(--egm-tekst); }
.egm-merken__lijst span { font-size: 14px; color: var(--egm-grijs); }
.egm-merken__lijst a:hover { border-color: var(--egm-merk); }

/* ==========================================================================
   Voet: donker petrol, vier kolommen
   ========================================================================== */
.egm-voet { margin-top: 64px; padding: 44px 0 26px; background: var(--egm-zwart); color: #d6e6e7; }
.egm-voet a { color: #fff; text-decoration: none; }
.egm-voet a:hover { color: var(--egm-geel); }
.egm-voet__boven { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.egm-logo--voet .egm-logo__woord { color: #fff; }
.egm-logo--voet .egm-logo__teken { color: #fff; }
.egm-logo--voet .egm-logo__teken rect { fill: var(--egm-merk); }
.egm-voet__zekerheden { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.egm-voet__zekerheden li { display: inline-flex; align-items: center; gap: 6px; }
.egm-voet__zekerheden .egm-icoon { color: var(--egm-geel); }
.egm-voet__kolommen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 30px 0; }
.egm-voet h3 { margin: 0 0 12px; font-size: 16px; color: #fff; }
.egm-voet__lijst { margin: 0; padding: 0; list-style: none; }
.egm-voet__lijst li { padding: 4px 0; font-size: 15px; }
.egm-voet__lijst a { color: #d6e6e7; }
.egm-voet__contact p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.egm-voet__contact > a { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-weight: 600; }
.egm-voet__basis { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.egm-voet__betalen { display: flex; gap: 8px; margin: 0; }
.egm-voet__betalen img { height: 26px; width: auto; padding: 3px 6px; background: #fff; border-radius: 4px; }
.egm-voet__basis nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.egm-voet__basis nav a { color: #d6e6e7; }
.egm-voet__bedrijf { margin: 14px 0 0; font-size: 13px; color: #9fbcbe; }

/* ==========================================================================
   Schermbreedtes
   ========================================================================== */
@media (max-width: 1180px) {
    .egm-hulpknop { display: none; }
    .egm-balk__usps .egm-balk__extra:nth-child(n+3) { display: none; }
}
@media (max-width: 1023px) {
    .egm-held__inner { grid-template-columns: 1fr; }
    .egm-held__kaarten { max-width: 640px; }
    .egm-nav { display: none; }
    .egm-menuknop.vg-menu-toggle { display: inline-flex; }
    .egm-kop__rij { gap: 12px; }
    .egm-ondergrond__tegels { grid-template-columns: repeat(2, 1fr); }
    .egm-advies { grid-template-columns: 1fr; }
    .egm-kb-grid { grid-template-columns: repeat(2, 1fr); }
    .egm-merken__lijst { grid-template-columns: repeat(3, 1fr); }
    .egm-voet__kolommen { grid-template-columns: repeat(2, 1fr); }
    .egm-tabs__kop { flex-direction: column; }
    .egm-tabs__knoppen { justify-content: flex-start; }
}
@media (max-width: 760px) {
    .egm-balk__usps .egm-balk__extra { display: none; }
    .egm-balk__usps li:first-child { max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
    .egm-kop__rij { flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
    .egm-logo { flex: 1 1 auto; }
    .egm-logo__woord { font-size: 20px; }
    .egm-logo__teken svg { width: 30px; height: 30px; }
    .egm-wagen__tekst { display: none; }
    .egm-zoek { order: 5; flex-basis: 100%; max-width: none; margin-left: 0; }
    .egm-zoek button span { display: none; }
    .egm-held { padding-top: 26px; }
    .egm-held__vakjes { grid-template-columns: 1fr; }
    .egm-held__intro { font-size: 16px; }
    .egm-snel { grid-template-columns: 1fr; }
    .egm-populair__lijst { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .egm-kb-grid { grid-template-columns: 1fr; }
    .egm-merken__lijst { grid-template-columns: repeat(2, 1fr); }
    .egm-voet__kolommen { grid-template-columns: 1fr; gap: 22px; }
}

/* ==========================================================================
   Productkaart (vloershop-core) in de rustige stijl van het voorbeeld: foto met
   ronde hoeken, vette titel, platte prijs met doorgestreepte adviesprijs,
   proefstaal als omrande pil. Geen groene prijspil.
   ========================================================================== */
.vs-product-card__media { border-radius: 14px; overflow: hidden; }
.vs-product-card__merk { font-size: 13px; color: var(--egm-grijs); }
.vs-product-card__title { font-size: 17px !important; font-weight: 700 !important; line-height: 1.3; color: var(--egm-tekst); }
.vs-product-card__title a { color: inherit; }
.vs-product-card__type { font-size: 13px; color: var(--egm-grijs); }
.vs-product-card__price { align-items: baseline; gap: 8px; }
.vs-product-card__price-current {
    background: none !important;
    color: var(--egm-tekst) !important;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}
.vs-product-card__price-current .vs-product-card__price-unit,
.vs-product-card__price-unit { font-size: 13px !important; font-weight: 500 !important; color: var(--egm-tekst) !important; }
.vs-product-card__price-old { color: var(--egm-grijs); font-size: 15px; }

.vs-product-card__wishlist { border-radius: 50%; }
.vs-product-card__price-current *,
.vs-product-card__price-current .woocommerce-Price-amount { color: var(--egm-tekst) !important; }
body .vs-product-card .vs-product-card__price .vs-product-card__price-current bdi,
body .vs-product-card .vs-product-card__price .vs-product-card__price-current .woocommerce-Price-amount { color: var(--egm-tekst) !important; }

/* vloershop-core zet zelf een verlanglijstlink in de kop; die van het thema staat er al. */
.egm-acties > .vs-wishlist-headerlink { display: none !important; }

/* ==========================================================================
   Nalopen 21-11: marges, menu, tekstpagina's, productpagina op de telefoon
   ========================================================================== */

/* Tekstpagina's en artikelen: ruimte boven tussenkoppen, rustige lijsten. */
.vg-content > .vg-article > h1, .vg-content > h1 { margin-bottom: 18px; }
.vg-article__body p { margin: 0 0 1em; line-height: 1.7; }
.vg-article__body > * + h2 { margin-top: 1.7em; }
.vg-article__body > * + h3 { margin-top: 1.3em; }
.vg-article__body h2 { margin-bottom: 0.45em; }
.vg-article__body ul, .vg-article__body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.vg-article__body li { margin: 0 0 0.45em; line-height: 1.6; }
.vg-article__body li::marker { color: var(--egm-merk); }
.vg-article__body thead th { background: var(--egm-creme) !important; color: var(--egm-tekst) !important; }
.vg-article__body th, .vg-article__body td { border-color: var(--egm-lijn) !important; }
.vg-article__body tbody tr:nth-child(even) td { background: #f7f9f9 !important; }
.vg-article__body a.egm-knop, .vg-article__body a.egm-knop:hover { color: var(--egm-tekst); text-decoration: none; }
.vg-article__body .vs-form, .vg-article__body form { margin: 8px 0 32px; }

/* Foutpagina: zoekveld zichtbaar, tegels met ruimte. */
.vg-404 .vg-404__search { max-width: 560px; margin: 24px 0 36px; }
.vg-404 .vg-404__search input[type="search"],
.vg-404 .vg-404__search input[type="text"] {
    width: 100%;
    height: 50px;
    padding: 0 52px 0 20px;
    border: 1.5px solid var(--egm-lijn) !important;
    border-radius: 25px !important;
    background: #fff !important;
    font: inherit;
}
.vg-404 .egm-tegels { margin-bottom: 24px; }


.vg-404 .vg-search .vs-search__toggle { display: none !important; }
.vg-404 .vg-search .vs-search, .vg-404 .vg-search .vs-search form { display: block !important; position: relative !important; }

/* ==========================================================================
   Inhoud: tekst onder de producten van een categorie (vw-etalage
   Categorietekst), live tabellen ([vw_kenmerken]), foto's ([egm_foto],
   [egm_fotos]) en uitlegtekeningen ([egm_uitleg]). Zelfde ritme als de
   kennisbank: leesbreedte 76 tekens, tabellen en beelden iets breder.
   ========================================================================== */
.vw-inhoud { max-width: 860px; margin: 56px 0 8px; padding-top: 40px; border-top: 1px solid var(--egm-lijn); }
.vw-inhoud > p, .vw-inhoud > ul, .vw-inhoud > ol, .vw-inhoud > h2, .vw-inhoud > h3 { max-width: 76ch; }
.vw-inhoud h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; letter-spacing: -0.01em; margin: 1.8em 0 0.5em; }
.vw-inhoud > h2:first-child { margin-top: 0; }
.vw-inhoud h3 { font-size: 19px; line-height: 1.3; margin: 1.5em 0 0.4em; }
.vw-inhoud p { margin: 0 0 1em; line-height: 1.7; }
.vw-inhoud ul, .vw-inhoud ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.vw-inhoud li { margin: 0 0 0.45em; line-height: 1.6; }
.vw-inhoud li::marker { color: var(--egm-merk); }
.vw-inhoud a:not(.egm-knop):not(.button) { color: var(--egm-tekst); text-decoration: underline; text-decoration-color: var(--egm-merk); text-underline-offset: 3px; }
.vw-inhoud a:not(.egm-knop):not(.button):hover { color: var(--egm-merk); }
.vw-inhoud ul.products { margin: 18px 0 28px; }

/* Tabellen: eigen tabellen in teksten en de live [vw_kenmerken]-tabel. */
.vw-inhoud table, .vg-article__body table, .vw-tabel table, .term-description table {
    width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0 26px; font-size: 15px;
    background: #fff; border: 1px solid var(--egm-lijn); border-radius: 14px; overflow: hidden;
}
.vw-inhoud th, .vw-inhoud td, .vw-tabel th, .vw-tabel td, .term-description th, .term-description td {
    padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--egm-lijn); border-right: 0; border-left: 0; border-top: 0;
}
.vw-inhoud thead th, .vw-tabel thead th, .term-description thead th { background: var(--egm-creme); font-weight: 600; color: var(--egm-tekst); }
.vw-inhoud tbody tr:last-child td, .vw-tabel tbody tr:last-child td, .vg-article__body tbody tr:last-child td { border-bottom: 0; }
.vw-tabel { margin: 16px 0 26px; }
.vw-tabel table { margin: 0; }
.vw-kenmerken td:nth-child(2), .vw-kenmerken th:nth-child(2) { width: 18%; white-space: nowrap; }
.vw-kenmerken td:nth-child(3), .vw-kenmerken th:nth-child(3) { width: 24%; white-space: nowrap; }
@media (max-width: 700px) {
    .vw-inhoud table, .vg-article__body table, .term-description table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 14px; }
    .vw-inhoud th, .vw-inhoud td, .vw-tabel th, .vw-tabel td { padding: 9px 10px; }
}

/* Foto's en tekeningen. */
.egm-foto, .egm-fotos, .egm-uitleg { margin: 26px 0 30px; }
.egm-foto img { display: block; width: 100%; height: auto; max-height: 540px; object-fit: cover; border-radius: 18px; background: var(--egm-creme); }
.egm-foto a { display: block; }
.egm-fotos__rij { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.egm-fotos--3 .egm-fotos__rij { grid-template-columns: repeat(3, 1fr); }
.egm-fotos--4 .egm-fotos__rij { grid-template-columns: repeat(4, 1fr); }
.egm-fotos__item img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; background: var(--egm-creme); }
.egm-uitleg { background: var(--egm-creme); border-radius: 18px; padding: 22px 22px 16px; }
.egm-uitleg img { display: block; width: 100%; height: auto; max-width: 760px; margin: 0 auto; }
.egm-foto figcaption, .egm-fotos figcaption, .egm-uitleg figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--egm-grijs); }
@media (max-width: 700px) {
    .egm-fotos--3 .egm-fotos__rij, .egm-fotos--4 .egm-fotos__rij { grid-template-columns: repeat(2, 1fr); }
    .egm-uitleg { padding: 14px 12px 12px; border-radius: 14px; }
}

/* Intro boven de producten: rustig, leesbreedte. */
.woocommerce-products-header .term-description { max-width: 76ch; color: var(--egm-grijs); font-size: 16px; line-height: 1.65; }
.woocommerce-products-header .term-description p { margin: 6px 0 0; }

/* ==========================================================================
   Productpagina: vloerbeloftes van vloerengarant die hier niet gelden
   ========================================================================== */
.vs-pakketbar { display: none !important; }            /* 5% bij vloer, ondervloer en plinten */
.vs-calculator__quote { display: none !important; }    /* offerte voor een vloer */
.vs-product-card__sample, .vs-pdp-sample, [data-vs-sample-add] { display: none !important; }
.egm-prijs { white-space: nowrap; }

/* Productblok in teksten ([egm_product]) */
.egm-tekstproduct { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center; margin: 22px 0; padding: 12px; background: #fff; border: 1px solid var(--egm-lijn); border-radius: 12px; }
.egm-tekstproduct__foto img { display: block; width: 88px; height: 88px; object-fit: contain; background: #f5f7f7; border-radius: 8px; }
.egm-tekstproduct__naam { display: block; font-weight: 700; color: var(--egm-tekst); text-decoration: none; line-height: 1.3; }
.egm-tekstproduct__prijs { display: block; margin-top: 4px; font-weight: 700; color: var(--egm-merk); }
.egm-tekstproduct .egm-knop--klein { width: auto; }
@media (max-width: 600px) { .egm-tekstproduct { grid-template-columns: 72px 1fr; } .egm-tekstproduct .egm-knop { grid-column: 1 / -1; } .egm-tekstproduct__foto img { width: 72px; height: 72px; } }
.egm-populair__prijs ins, .egm-tekstproduct__prijs ins { text-decoration: none; }

/* Foutpagina: categorietegels */
.egm-tegels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 40px; }
.egm-tegel { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px; background: #fff; border: 1px solid var(--egm-lijn); border-radius: 12px; text-decoration: none; color: var(--egm-tekst); }
.egm-tegel img { width: 64px; height: 64px; object-fit: contain; background: #f5f7f7; border-radius: 8px; }
.egm-tegel__naam { font-weight: 700; }
.egm-tegel__pijl { margin-left: auto; color: var(--egm-merk); }
.egm-tegel:hover { border-color: var(--egm-merk); }
@media (max-width: 760px) { .egm-tegels { grid-template-columns: 1fr; } }
.vs-cpdp__stapel { display: none !important; }   /* "En 5% pakketkorting erbij?" (geldt met vloer) */
