
/* ------------------------------------------------------- main menu, ninth item */

/*
    The original menu holds eight items at 3.5em spacing, which exactly fills the
    1400px wrapper. "Marketplace" is a ninth, so the items would shrink and their
    labels would break over two lines. Tightening the spacing keeps the menu on the
    single line it has always been.
*/
header nav .mainmenu li {
    margin-left: 2.5em;
    white-space: nowrap;
}

/*
    Styling for the parts that did not exist on the original site: the package buttons on
    "Sell your bike", the marketplace listings and the form feedback messages.
    Colours, fonts and button shapes are taken from style.css so it reads as one design.

    #C23F3D  red      #eae7cb  cream      #FFFEF8  off white
    #53888D  teal     #40534F  dark teal  #1F1D1D  near black
*/

/* ------------------------------------------------ sell your bike: packages */

.contact .wrapper .packages {
    width: 50%;
    margin: 25px auto 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.contact .wrapper .packages .package-toggle {
    background-color: #eae7cb;
    color: #322F2F;
    font-size: 14px;
    font-weight: normal;
    font-family: "Open sans", Helvetica, sans-serif;
    padding: 15px 5px;
    border: none;
    cursor: pointer;
    text-align: center;
    flex: 1 1 220px;
    transition: background-color 0.1s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.contact .wrapper .packages .package-toggle span {
    border: solid 1.5px #53888D;
    padding: 10px 20px;
    display: inline-block;
    transition: padding 0.1s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.contact .wrapper .packages .package-toggle:hover span,
.contact .wrapper .packages .package-toggle.active span {
    padding: 12px 25px;
}

.contact .wrapper .packages .package-toggle.active {
    background-color: #C23F3D;
    color: #eae7cb;
}

.contact .wrapper .package-panel {
    width: 100%;
}

.contact .wrapper .package-panel .contactinfo {
    margin-top: 25px;
}

@media (max-width: 1440px) {
    .contact .wrapper .packages {
        width: 70%;
    }
}

@media (max-width: 990px) {
    .contact .wrapper .packages {
        width: 80%;
        flex-direction: column;
    }
}

/* --------------------------------------------------- form feedback messages */

.contact .wrapper .contactinfo.formalert,
.contact .wrapper .contactinfo.formerror {
    padding: 15px;
    border: solid 1.5px #53888D;
    font-size: 14px;
}

.contact .wrapper .contactinfo.formerror {
    border-color: #C23F3D;
    color: #C23F3D;
}

/* ------------------------------------------------------ homepage intro block */

/*
    On the original site the faded photo behind the intro is 60% wide and the wrapper
    keeps a fixed 100px margin, so on screens wider than 1600px the block hangs on the
    left with a bare strip next to it. Let the photo span the whole section, centre the
    wrapper and centre the text box inside it. Below 990px style.css already stacks
    photo and text full width.
*/
@media (min-width: 991px) {
    .intro .imgwrapper {
        width: auto;
    }

    .intro .wrapper {
        margin: 100px auto;
        justify-content: center;
    }
}

/* =========================================================================
   Design pass, September 2026

   The rules below refine style.css without replacing it: same palette, same
   type, same layout. They fix the inconsistencies that crept in over the years
   (seven button variants, headings in two different families, no focus states)
   and give the site a calmer, more current finish.
   ========================================================================= */

/* ------------------------------------------------------------ foundations */

/* style.css disables outlines everywhere; keyboard users get them back. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #eae7cb;
    outline-offset: 3px;
}

::selection {
    background: #53888D;
    color: #FFFEF8;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0s !important;
        animation-duration: 0s !important;
    }
}

/* ------------------------------------------------------------- one button */

/*
    style.css defines the button seven times with different paddings and a hover
    that grows the inner frame, which shifts the layout. One shape everywhere: a
    filled box, a 1px frame set 6px inside it, and a hover that only changes colour.
*/
.intro .wrapper .content .btn,
.calltoaction .wrapper .content .btn,
.indekijker .wrap .content .btn,
.detailproduct .wrap .content .btn,
footer .btn {
    display: inline-block;
    padding: 6px;
    max-width: none;
    font-size: 14px;
    letter-spacing: .03em;
    line-height: 1.4;
    transition: background-color .2s ease, color .2s ease;
}

.intro .wrapper .content .btn span,
.calltoaction .wrapper .content .btn span,
.indekijker .wrap .content .btn span,
.detailproduct .wrap .content .btn span,
footer .btn span {
    display: block;
    padding: 12px 30px;
    border-width: 1px;
    border-style: solid;
    transition: border-color .2s ease;
}

.intro .wrapper .content .btn:hover,
.calltoaction .wrapper .content .btn:hover,
.indekijker .wrap .content .btn:hover,
.detailproduct .wrap .content .btn:hover,
footer .btn:hover {
    padding: 6px;
}

.intro .wrapper .content .btn:hover span,
.calltoaction .wrapper .content .btn:hover span,
.indekijker .wrap .content .btn:hover span,
.detailproduct .wrap .content .btn:hover span,
footer .btn:hover span {
    padding: 12px 30px;
}

.intro .wrapper .content .btn:hover,
.indekijker .wrap .content .btn:hover,
.detailproduct .wrap .content .btn:hover,
footer .btn:hover {
    background-color: #A93331;
}

.calltoaction .wrapper .content .btn:hover {
    background-color: #FFFEF8;
}

.detailproduct .wrap .content .btn,
.indekijker .wrap .content .btn {
    margin: 0;
}

/* Submit buttons: the .border span is the filled box, the input is the frame. */
.contact .wrapper form .border,
footer .border {
    display: inline-block;
    padding: 6px;
    background-color: #C23F3D;
    border: none;
    transition: background-color .2s ease;
}

.contact .wrapper form .border {
    margin: 0 auto;
}

.contact .wrapper form .border .btn,
footer .border .btn {
    display: block;
    margin: 0;
    padding: 12px 30px;
    max-width: none;
    background: transparent;
    border: 1px solid #eae7cb;
    font-size: 14px;
    letter-spacing: .03em;
    line-height: 1.4;
    cursor: pointer;
    transition: none;
}

.contact .wrapper form .border:hover,
footer .border:hover {
    background-color: #A93331;
    border: none;
}

.contact .wrapper form .border:hover .btn,
footer .border:hover .btn {
    border: 1px solid #eae7cb;
    background: transparent;
}

footer .border {
    padding: 0;
}

footer .border .btn {
    padding: 10px 22px;
    border-color: transparent;
}

/* ------------------------------------------------------------------ forms */

.contact .wrapper form label {
    margin: 22px 0 8px 0;
    font-size: 13px;
    letter-spacing: .04em;
}

.contact .wrapper form input,
.contact .wrapper form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    color: #1F1D1D;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.contact .wrapper form input:focus,
.contact .wrapper form textarea:focus {
    outline: none;
    border-color: #53888D;
    box-shadow: 0 0 0 3px rgba(83, 136, 141, .35);
}

.contact .wrapper form textarea {
    min-height: 160px;
    margin-bottom: 35px;
    resize: vertical;
}

.contact .wrapper .contactinfo {
    font-size: 14px;
    line-height: 1.7;
}

.contact .wrapper .contactinfo a {
    color: #eae7cb;
    border-bottom: 1px solid rgba(234, 231, 203, .4);
}

.contact .wrapper .contactinfo a:hover {
    border-bottom-color: #eae7cb;
}

footer input {
    font: inherit;
    font-size: 14px;
    border: 1px solid transparent;
    transition: border-color .15s ease, background-color .15s ease;
}

footer input:focus {
    outline: none;
    border-color: #53888D;
    background-color: rgba(255, 255, 255, .28);
}

footer input::placeholder {
    color: rgba(234, 231, 203, .55);
}

/* ------------------------------------------- sell your bike: packages & upload */

.contact .wrapper .packages {
    gap: 12px;
}

.contact .wrapper .packages .package-toggle {
    padding: 6px;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    transition: background-color .2s ease, color .2s ease;
}

.contact .wrapper .packages .package-toggle span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 20px;
    border-width: 1px;
    transition: none;
}

.contact .wrapper .packages .package-toggle:hover span,
.contact .wrapper .packages .package-toggle.active span {
    padding: 14px 20px;
}

.contact .wrapper .packages .package-toggle:hover {
    background-color: #FFFEF8;
}

.contact .wrapper .packages .package-toggle.active,
.contact .wrapper .packages .package-toggle.active:hover {
    background-color: #C23F3D;
    color: #eae7cb;
}

.contact .wrapper .packages .package-toggle.active span {
    border-color: #eae7cb;
}

.contact .wrapper .packages .package-toggle .package-price {
    font-size: 13px;
    opacity: .8;
}

.contact .wrapper .packages .package-toggle .package-price::before {
    content: "€ ";
}

/* The upload control: an outlined button and a quiet drop-zone instead of a
   white label and a black box. */
.contact .wrapper form label.button.hollow {
    display: inline-block;
    margin: 0;
    padding: 10px 18px;
    background: transparent;
    color: #eae7cb;
    border: 1px solid #eae7cb;
    font-size: 14px;
    transition: background-color .15s ease, color .15s ease;
}

.contact .wrapper form label.button.hollow:hover {
    background: #eae7cb;
    color: #322F2F;
}

.contact .wrapper form .quote-imgs-thumbs {
    box-sizing: border-box;
    min-height: 90px;
    padding: 12px;
    background: transparent;
    border: 1px dashed rgba(234, 231, 203, .35);
    align-items: center;
    justify-content: center;
}

.contact .wrapper form .quote-imgs-thumbs p {
    width: 100%;
    color: rgba(234, 231, 203, .55);
    font-size: 13px;
}

.contact .wrapper form .quote-imgs-thumbs .img-preview-thumb {
    margin: 4px;
}

/* --------------------------------------------------------------- headings */

/* Headlines that wrap were set at line-height 2em; the lines drifted apart. */
.calltoaction .wrapper .content h2 {
    line-height: 1.35;
    padding-bottom: 40px;
}

.contact .wrap .quote h2 {
    line-height: 1.4;
}

/* Category tiles were the only headline set in Open Sans. */
.categorien .categorie .imgwrapper .content span h2 {
    font-family: 'Montserrat', Helvetica, sans-serif;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
    padding: 0 20px;
}

.categorien .categorie {
    margin: 2.5% 1.25%;
}

@media (max-width: 900px) {
    .categorien .categorie {
        margin: 0 0 2% 0;
    }
}

/* Monkey history cards */
.cards {
    padding-bottom: 50px;
}

.cards .card .subtitle {
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: #1F1D1D;
    color: #eae7cb;
}

.cards .card .card-body h2 {
    font-weight: 700;
    font-size: 19px;
    color: #1F1D1D;
    line-height: 1.3;
}

.cards .card p {
    color: #322F2F;
    line-height: 1.6;
}

/* ------------------------------------------------------------ product grid */

/*
    Title and price used to appear on hover only, which makes a shop impossible
    to scan. They now sit in a caption along the bottom of every tile; the hover
    still lifts the picture.
*/
.producten {
    padding-bottom: 50px;
}

.producten .product .imgwrapper .content {
    justify-content: flex-end;
    align-items: stretch;
    background: linear-gradient(to top, rgba(31, 29, 29, .85) 0%, rgba(31, 29, 29, 0) 45%);
    transition: background .3s ease;
}

.producten .product .imgwrapper .content span,
.producten .product .imgwrapper .content:hover span {
    opacity: 1;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 14px 18px;
    border: none;
}

.producten .product .imgwrapper .content h2,
.producten .product .imgwrapper .content p {
    opacity: 1;
    margin: 0;
    text-align: left;
}

.producten .product .imgwrapper .content h2 {
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: .02em;
}

.producten .product .imgwrapper .content h2.sold {
    color: #C23F3D;
    font-size: 13px;
    letter-spacing: .1em;
}

.producten .product .imgwrapper .content p {
    font-size: 14px;
    text-transform: none;
    color: #FFFEF8;
    margin-top: 2px;
}

.producten .product .imgwrapper .content:hover {
    background: linear-gradient(to top, rgba(31, 29, 29, .9) 0%, rgba(31, 29, 29, .25) 100%);
}

@media (max-width: 900px) {
    .producten .product .imgwrapper .content {
        height: 100%;
        background: linear-gradient(to top, rgba(31, 29, 29, .85) 0%, rgba(31, 29, 29, 0) 45%);
    }
}

/* Sold archive keeps its hover reveal, but the badge is clearly a badge. */
.verkochteproducten {
    padding-bottom: 50px;
}

.verkochteproducten .product .imgwrapper .content h1.sold {
    font-size: 12px;
    letter-spacing: .12em;
    margin-bottom: 4px;
}

/* --------------------------------------------------------- product detail */

/* The selected thumbnail was faded to 30%, which reads as disabled. */
.detailproduct .wrap .content .thumbnail {
    opacity: .65;
    box-sizing: border-box;
    border: 2px solid transparent;
    transition: opacity .15s ease, border-color .15s ease;
}

.detailproduct .wrap .content .thumbnail:hover {
    opacity: 1;
}

.detailproduct .wrap .content .thumbnail.selected {
    opacity: 1;
    border-color: #53888D;
}

.detailproduct .wrap .content h2 {
    letter-spacing: .06em;
    padding-bottom: 4px;
}

.detailproduct .wrap .content p {
    line-height: 1.7;
}

/* ------------------------------------------------------------ text blocks */

/* Long reads: no more 50vw lines on large screens, and the invalid
   `font-size: 900` on sub headings becomes the weight it was meant to be. */
.plaintext .wrapper .largetext {
    width: 100%;
    max-width: 760px;
    padding: 0 25px;
    box-sizing: border-box;
    margin-top: 60px;
    margin-bottom: 60px;
}

.plaintext .wrapper .largetext p {
    font-size: 15px;
    line-height: 1.7;
}

.plaintext .wrapper .largetext p strong {
    display: block;
    margin-top: 1.5em;
    margin-bottom: .4em;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .04em;
}

.plaintext .wrapper .largetext p:first-child strong {
    margin-top: 0;
}

.paragraaf .textwrapper .content .text p {
    padding-bottom: 15px;
}

.paragraaf .textwrapper .content .text p strong {
    letter-spacing: .03em;
}

/* The migrated intro text carries an empty <p class="intro">; hide it so it
   neither picks up the section rules nor adds a blank line. */
.intro .wrapper .content p.intro:empty {
    display: none;
}

/* ------------------------------------------------------- hero without image */

.smallintro .imgwrapper:not([style]),
.homeintro .imgwrapper:not([style]) {
    background: radial-gradient(ellipse at 50% 100%, #4a4646 0%, #322F2F 60%);
}

/* ------------------------------------------------------- marketplace: empty */

.marketplace-empty {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 25px 90px;
    box-sizing: border-box;
    text-align: center;
}

.marketplace-empty p {
    color: #eae7cb;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.marketplace-empty .btn {
    display: inline-block;
    padding: 6px;
    background-color: #C23F3D;
    color: #eae7cb;
    font-size: 14px;
    letter-spacing: .03em;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .2s ease;
}

.marketplace-empty .btn span {
    display: block;
    padding: 12px 30px;
    border: 1px solid #eae7cb;
}

.marketplace-empty .btn:hover {
    background-color: #A93331;
}

.plaintext .wrapper .largetext + .marketplace-empty {
    margin-top: -20px;
}

.plaintext .wrapper .marketplace-empty:first-child {
    padding-top: 90px;
}

/* The label and price sit in their own spans inside the frame; the frame rules
   above must not reach them. */
.contact .wrapper .packages .package-toggle span span,
.contact .wrapper .packages .package-toggle:hover span span,
.contact .wrapper .packages .package-toggle.active span span {
    display: block;
    padding: 0;
    border: none;
}

/* Keep long titles clear of the logo badge in the bottom right corner. */
.producten .product .imgwrapper .content span,
.producten .product .imgwrapper .content:hover span {
    padding-right: 100px;
}

/* Stacked package buttons on small screens: the 220px flex basis was becoming
   their height. */
@media (max-width: 990px) {
    .contact .wrapper .packages .package-toggle {
        flex-basis: auto;
    }
}

/* Tiles and cards had a fixed 380px width below 700px, wider than most phones. */
@media (max-width: 480px) {
    .producten .product,
    .cards .card {
        box-sizing: border-box;
        flex: 0 0 calc(100% - 30px);
        width: auto;
        margin: 15px 15px 0;
    }
}

/* =========================================================================
   Design pass 2, September 2026

   Second sweep after the first refinement. Focus: the footer (the one part
   that still looked unfinished on every page), the phone layout, real bold
   weights, and the few hover states that made pictures look disabled.
   ========================================================================= */

/* ------------------------------------------------------------ typography */

/* Open Sans is now loaded at 400/600/700, so headings and labels no longer
   get a synthesised bold. The mobile text sizes from style.css (10–12px) are
   below what is comfortable to read on a phone. */
@media (max-width: 800px) {
    p {
        font-size: 14px;
    }
}

@media (max-width: 1200px) {
    .paragraaf .textwrapper .content .text p {
        font-size: 14px;
    }
}

.cards .card p {
    font-size: 13px;
}

/* Rich text links were invisible: same colour as the copy, no underline. */
.text a,
.largetext a,
.detailproduct .wrap .content p a {
    color: #eae7cb;
    text-decoration: underline;
    text-decoration-color: rgba(234, 231, 203, .4);
    text-underline-offset: 3px;
    transition: text-decoration-color .15s ease, color .15s ease;
}

.text a:hover,
.largetext a:hover,
.detailproduct .wrap .content p a:hover {
    color: #eae7cb;
    text-decoration-color: #eae7cb;
}

.intro .wrapper .content p a {
    color: #53888D;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Embedded video inside a text column is sized with width/height attributes;
   let it shrink with the column. */
.text iframe,
.largetext iframe {
    display: block;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

/* Empty paragraphs from the migrated rich text leave gaps. */
.text p:empty,
.largetext p:empty,
.indekijker .wrap .content p:empty,
.detailproduct .wrap .content p:empty {
    display: none;
}

/* ----------------------------------------------------------------- header */

header nav .mainmenu li {
    font-weight: 400;
}

header nav .mainmenu li:hover.active a,
header nav .mainmenu li.active.active a {
    font-weight: 600;
}

/* Mobile menu: style.css gave the panel `height: inherit`, which resolved to
   the 200px header, so the nine items scrolled inside a strip. Full screen,
   close button in the corner, body locked underneath. */
@media (max-width: 990px) {
    header nav {
        top: 0;
        left: 0;
        height: 100vh;
        height: 100dvh;
        padding: 80px 0 40px;
    }

    header nav .showmenu {
        position: absolute;
        top: 0;
        right: 0;
        margin: 22px 20px;
        z-index: 2;
    }

    header nav .mainmenu {
        padding: 0 30px;
    }

    header nav .mainmenu li {
        margin: 0 0 4px 0;
        font-size: 20px;
    }

    header nav .mainmenu li a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(50, 47, 47, .08);
    }

    header nav .mainmenu li:hover a,
    header nav .mainmenu li.active a,
    header nav .mainmenu li:hover.active a,
    header nav .mainmenu li.active.active a {
        border-bottom: 1px solid rgba(50, 47, 47, .08);
    }

    html.locked,
    html.locked body {
        overflow: hidden;
    }
}

/* ----------------------------------------------------------- hero fallback */

.smallintro .imgwrapper:not([style]),
.homeintro .imgwrapper:not([style]) {
    background:
        radial-gradient(ellipse 70% 90% at 50% 115%, rgba(83, 136, 141, .35), rgba(83, 136, 141, 0) 70%),
        linear-gradient(180deg, #242222 0%, #322F2F 100%);
}

/* --------------------------------------------------------- featured slider */

/* The text block sat at the top of its half while the photo filled the other;
   centre it, and cross-fade the slides instead of cutting. The arrows had a
   z-index above the mobile menu. */
.indekijker .wrap {
    justify-content: center;
}

.indekijker .indekijker-item:not(.hidden) {
    animation: tvp-fade .45s ease both;
}

@keyframes tvp-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.indekijker .icon-ic_keyboard_arrow_left_48px,
.indekijker .icon-ic_keyboard_arrow_right_48px {
    z-index: 50;
    transition: color .15s ease;
}

.indekijker .icon-ic_keyboard_arrow_left_48px:hover,
.indekijker .icon-ic_keyboard_arrow_right_48px:hover {
    color: #FFFEF8;
}

@media (max-width: 990px) {
    .indekijker .wrap {
        padding: 40px 0;
    }

    /* Over the photo, which sits below the text on phones. */
    .indekijker .icon-ic_keyboard_arrow_left_48px,
    .indekijker .icon-ic_keyboard_arrow_right_48px {
        top: auto;
        bottom: 20vh;
        transform: translate(0, 50%);
        font-size: 3em;
    }
}

/* ---------------------------------------------------------- category tiles */

/* Tiles had a viewport-based height below 1600px and none above it. */
.categorien .categorie {
    height: auto;
    aspect-ratio: 16 / 9;
}

/* ------------------------------------------------------------ product grid */

/* Hovering used to dim the photo to 40%, which reads as "sold out". The tile
   lifts instead and the caption band deepens a little. */
.producten .product {
    transition: transform .25s ease, box-shadow .25s ease;
}

.producten .product:has(a):hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .35);
}

.producten .product .imgwrapper .content:hover {
    background: linear-gradient(to top, rgba(31, 29, 29, .92) 0%, rgba(31, 29, 29, 0) 55%);
}

/* ------------------------------------------------------------ sold archive */

/* The hover card had three lines of 17px Montserrat in a 150px tile: the
   title ran off the frame and the photo behind it made it unreadable. */
.verkochteproducten .product .imgwrapper .content:hover {
    background-color: rgba(31, 29, 29, .92);
}

.verkochteproducten .product .imgwrapper .content span,
.verkochteproducten .product .imgwrapper .content:hover span {
    box-sizing: border-box;
    padding: 10px 12px;
}

.verkochteproducten .product .imgwrapper .content h1 {
    font-size: 13px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.verkochteproducten .product .imgwrapper .content h1.sold {
    display: block;
    font-size: 11px;
    letter-spacing: .16em;
    margin-bottom: 6px;
}

.verkochteproducten .product .imgwrapper .content p {
    font-size: 12px;
    letter-spacing: .08em;
    margin-top: 5px;
    color: rgba(234, 231, 203, .7);
}

/* ---------------------------------------------------------- product detail */

@media (max-width: 990px) {
    .detailproduct .wrap .content h2 {
        font-size: 15px;
        margin-right: 25px;
    }
}

@media (max-width: 600px) {
    .detailproduct .wrap .content .thumbnail {
        width: calc(33.333% - 10px);
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
}

/* ------------------------------------------------------------- text blocks */

/* When the copy is taller than the photo next to it, it touched both edges. */
.paragraaf .textwrapper {
    padding: 50px 0;
    box-sizing: border-box;
}

@media (max-width: 1000px) {
    .paragraaf .textwrapper {
        padding: 25px 0 40px;
        margin: 0;
    }
}

/* Centred body copy on phones is hard to read; only the headline stays centred. */
@media (max-width: 990px) {
    .intro .wrapper .content {
        text-align: left;
    }

    .intro .wrapper .content h2 {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .intro .wrapper .content {
        padding: 40px 25px 50px;
    }
}

/* --------------------------------------------------------- contact section */

/* Labels and the form were centred on phones while the intro text above them
   was not, and the two had different widths. */
@media (max-width: 990px) {
    .contact .wrapper form {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .contact .wrapper form,
    .contact .wrapper .packages {
        width: 80%;
    }
}

/* The quote is absolutely positioned over the side photo. Below 1200px the
   photo is only 40vw high, so the quote spilled over the footer. Stack both
   in one grid cell: the cell grows to the quote, the photo fills it. */
@media (max-width: 1200px) {
    .contact .wrap {
        display: grid;
        align-items: center;
        justify-items: center;
    }

    .contact .wrap .imgwrapper,
    .contact .wrap .quote {
        grid-area: 1 / 1;
    }

    .contact .wrap .imgwrapper {
        width: 100%;
        height: 100%;
        min-height: 40vw;
        align-self: stretch;
        justify-self: stretch;
    }

    .contact .wrap .quote {
        position: static;
        box-sizing: border-box;
        width: auto;
        max-width: 560px;
        margin: 40px 25px;
        padding: 35px;
    }
}

@media (max-width: 600px) {
    .contact .wrap .quote {
        margin: 30px 20px;
        padding: 25px;
    }

    .contact .wrap .quote h2 {
        font-size: 18px;
    }
}

/* ------------------------------------------------------------------ footer */

/*
    The footer was one flex row of loose links with 30px margins: at 1440px the
    newsletter button touched the right edge, on phones every item became its
    own line with 10px text. The markup now groups legal links, social icons and
    contact details; this lays the groups out and gives the text enough contrast.
*/
footer {
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 36px;
    padding: 22px 40px;
}

footer a,
footer p {
    margin: 0;
    color: #a8a49a;
    font-size: 14px;
    transition: color .15s ease;
}

footer a:hover,
footer p:hover {
    color: #eae7cb;
}

footer .privacy,
footer .gegevens,
footer .social {
    display: flex;
    align-items: center;
    gap: 6px 24px;
    margin: 0;
}

footer .social {
    gap: 14px;
}

footer .facebook {
    width: 26px;
    margin: 0;
    opacity: .85;
}

footer .facebook:hover {
    opacity: 1;
}

footer .facebook img {
    display: block;
    width: 100%;
}

footer .newsletter_subscribe form {
    display: flex;
    align-items: stretch;
}

footer input[type="email"] {
    box-sizing: border-box;
    width: 220px;
    height: 42px;
    padding: 0 14px;
}

footer .newsletter_subscribe .border {
    display: flex;
    padding: 0;
}

footer .newsletter_subscribe .border .btn {
    height: 42px;
    padding: 0 22px;
    border-color: transparent;
    white-space: nowrap;
}

@media (max-width: 800px) {
    footer {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 30px 20px;
    }

    footer a,
    footer p {
        font-size: 13px;
    }

    footer .privacy,
    footer .gegevens {
        flex-wrap: wrap;
        justify-content: center;
        margin: 0;
    }

    footer .privacy {
        flex-direction: row;
    }

    footer .privacy a,
    footer .gegevens a {
        margin: 0;
    }

    footer .facebook {
        margin: 0;
    }

    footer .newsletter_subscribe {
        width: 100%;
        max-width: 420px;
        margin-top: 6px;
    }

    footer input[type="email"] {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }
}

/* The section is a flex item of <body>; below 1200px `.wrapper { height: 100% }`
   resolved against it and pushed the photo half out of the section, over the
   footer. Let both grow with their content. */
@media (max-width: 1200px) {
    .contact,
    .contact .wrapper {
        height: auto;
    }
}

/* The price in the slider ran straight into the description once the empty
   paragraph above it was hidden. */
.indekijker .wrap .content h2 {
    margin-bottom: 14px;
}

/* ------------------------------------------- sell your bike: package popups */

/* Each package form opens in a native <dialog>. It stays inside .contact .wrapper
   in the markup so the existing form styling applies; only the widths are reset,
   since the dialog box is the measure now. showModal() puts it in the top layer,
   above the header and the side photo, whatever their z-index. */
.contact .wrapper .package-modal {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 720px;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    overflow-y: auto;
    background: #322F2F;
    color: #eae7cb;
    border: 1px solid #53888D;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}

.contact .wrapper .package-modal[open] {
    animation: tvp-modal-in .25s ease both;
}

.contact .wrapper .package-modal::backdrop {
    background: rgba(31, 29, 29, .88);
}

@keyframes tvp-modal-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.contact .wrapper .package-modal-dialog {
    position: relative;
    padding: 50px;
}

.contact .wrapper .package-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    color: #eae7cb;
    font-size: 32px;
    line-height: 40px;
    cursor: pointer;
    transition: color .15s ease;
}

.contact .wrapper .package-modal-close:hover,
.contact .wrapper .package-modal-close:focus {
    color: #FFFEF8;
    outline: none;
}

.contact .wrapper .package-modal-title {
    margin: 0 40px 0 0;
    font-family: 'Montserrat', Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.3;
    text-transform: uppercase;
    color: #eae7cb;
}

.contact .wrapper .package-modal-price {
    display: block;
    margin-top: 6px;
    font-family: "Open sans", Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    color: #53888D;
}

.contact .wrapper .package-modal-price::before {
    content: "€ ";
}

.contact .wrapper .package-modal .contactinfo,
.contact .wrapper .package-modal form {
    width: 100%;
}

.contact .wrapper .package-modal form {
    margin-bottom: 0;
}

.contact .wrapper .package-modal form textarea {
    margin-bottom: 25px;
}

/* Keep the page underneath from scrolling while the popup is open (at every width;
   html.locked only covers the mobile menu). */
html.modal-open,
html.modal-open body {
    overflow: hidden;
}

@media (max-width: 600px) {
    .contact .wrapper .package-modal {
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
    }

    .contact .wrapper .package-modal-dialog {
        padding: 40px 20px 25px;
    }

    .contact .wrapper .package-modal-title {
        font-size: 18px;
    }
}

/* ------------------------------------------ sell your bike: form in steps */

/* The fieldsets only group the steps; they should not draw anything themselves. */
.contact .wrapper form .form-step {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
}

.contact .wrapper form [hidden] {
    display: none !important;
}

.contact .wrapper form .form-step legend {
    padding: 0;
    margin: 30px 0 0;
    font-family: 'Montserrat', Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    color: #eae7cb;
}

/* With JavaScript the step title is in the progress bar already. */
.contact .wrapper form.is-stepped .form-step legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.contact .wrapper form .form-steps {
    display: none;
}

.contact .wrapper form.is-stepped .form-steps {
    display: flex;
    gap: 6px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: form-step;
}

.contact .wrapper form .form-steps li {
    flex: 1 1 0;
    min-width: 0;
    padding-top: 10px;
    border-top: 3px solid #4a4646;
    font-size: 12px;
    line-height: 1.3;
    color: #8f8b79;
    counter-increment: form-step;
}

.contact .wrapper form .form-steps li::before {
    content: counter(form-step) ". ";
}

.contact .wrapper form .form-steps li.done {
    border-top-color: #53888D;
}

.contact .wrapper form .form-steps li.active {
    border-top-color: #C23F3D;
    color: #eae7cb;
}

.contact .wrapper form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.contact .wrapper form .form-row > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contact .wrapper form select {
    padding: 10px;
    background-color: #FFFEF8;
    border: none;
    border-radius: 0;
    font: inherit;
    font-size: 14px;
}

.contact .wrapper form .form-label {
    margin: 25px 0 10px 0;
    font-size: 14px;
    color: #eae7cb;
}

.contact .wrapper form .form-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.contact .wrapper form .form-choices label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    white-space: nowrap;
    cursor: pointer;
}

/* The generic input rule makes every input 100% wide; radios keep their own size. */
.contact .wrapper form .form-choices input {
    flex: none;
    width: auto;
    margin: 0;
    padding: 0;
    accent-color: #C23F3D;
}

.contact .wrapper .package-modal form .form-step textarea {
    margin-bottom: 0;
}

/* Same spacing as between the other fields, which the label margin gives them. */
.contact .wrapper form .form-upload {
    margin-top: 25px;
}

.contact .wrapper form .form-step .quote-imgs-thumbs {
    margin-bottom: 0;
}

.contact .wrapper form .form-step-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 35px;
}

.contact .wrapper form .form-step-buttons .border {
    margin: 0;
}

.contact .wrapper form .form-step-back {
    padding: 10px 0;
    background: none;
    border: none;
    color: #eae7cb;
    font: inherit;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 600px) {
    .contact .wrapper form .form-row {
        grid-template-columns: 1fr;
    }

    .contact .wrapper form .form-steps li {
        font-size: 0;
    }

    .contact .wrapper form .form-steps li::before {
        font-size: 12px;
    }

    .contact .wrapper form .form-steps li.active {
        font-size: 12px;
    }
}

/* ---------------------------------- sell your bike: errors inside the popup */

.contact .wrapper form .field-error {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: #ff8a80;
}

.contact .wrapper form input.has-error,
.contact .wrapper form select.has-error,
.contact .wrapper form textarea.has-error {
    outline: 2px solid #C23F3D;
    outline-offset: 0;
}

.contact .wrapper form .form-choices.has-error,
.contact .wrapper form .quote-imgs-thumbs.has-error {
    outline: 2px solid #C23F3D;
    outline-offset: 4px;
}

.contact .wrapper form .form-errors {
    margin-top: 25px;
    padding: 12px 15px;
    border-left: 3px solid #C23F3D;
    background: rgba(194, 63, 61, .15);
    font-size: 14px;
    color: #eae7cb;
}

.contact .wrapper form .form-errors p {
    margin: 0;
}

.contact .wrapper form .form-errors p + p {
    margin-top: 6px;
}

.contact .wrapper form .btn:disabled {
    opacity: .6;
    cursor: wait;
}

/* =========================================================================
   Client feedback, October 2026
   ========================================================================= */

/* ------------------------------------------ main menu: "Sell your bike" as a red pill */

header nav .mainmenu li.highlight a,
header nav .mainmenu li.highlight:hover a,
header nav .mainmenu li.highlight.active a {
    padding: 9px 20px;
    border: 0;
    border-radius: 999px;
    background-color: #C23F3D;
    color: #FFFEF8;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(194, 63, 61, .45);
    transition: background-color .2s ease, box-shadow .2s ease;
}

header nav .mainmenu li.highlight:hover a,
header nav .mainmenu li.highlight.active a {
    background-color: #a83432;
    box-shadow: 0 4px 18px rgba(194, 63, 61, .6);
}

@media (max-width: 990px) {
    header nav .mainmenu li.highlight a,
    header nav .mainmenu li.highlight:hover a,
    header nav .mainmenu li.highlight.active a {
        display: inline-block;
        margin: 10px 0;
        padding: 10px 22px;
        border: 0;
        box-shadow: 0 4px 12px rgba(194, 63, 61, .3);
    }
}

/* ------------------------------------- sell your bike: explanation in the button */

/* Buttons in one row grow to the tallest one; the frame inside grows along. */
.contact .wrapper .packages .package-toggle {
    display: flex;
}

.contact .wrapper .packages .package-toggle > span {
    flex: 1 1 auto;
    justify-content: center;
}

.contact .wrapper .packages .package-toggle .package-label {
    font-weight: 700;
}

.contact .wrapper .packages .package-toggle .package-description {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
    opacity: .85;
}

/* ------------------------------------------------- sell your bike: form notes */

.contact .wrapper form .form-note {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #b9b59c;
}

/* ------------------------------------------------- marketplace: country flags */

.producten .product .flag,
.detailproduct .technicalinfo .flag {
    display: inline-block;
    /* undo the offsets style.css puts on the TVP logo (".producten .product img") */
    position: static;
    z-index: auto;
    flex: 0 0 auto;
    width: 20px;
    height: 15px;
    margin-right: 8px;
    vertical-align: -2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
}

.producten .product .imgwrapper .content p.listing-country {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    font-size: 13px;
}

/* ---------------------------------------------- sell your bike: send progress */

.contact .wrapper form .form-progress {
    margin-top: 25px;
    text-align: center;
}

.contact .wrapper form .form-progress[hidden] {
    display: none;
}

.contact .wrapper form .form-progress-track {
    height: 4px;
    background: #4a4646;
    overflow: hidden;
}

.contact .wrapper form .form-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    background: #C23F3D;
    transition: width .2s ease;
}

.contact .wrapper form .form-progress p {
    margin: 10px 0 0;
    font-size: 13px;
    color: #eae7cb;
}
