/* ==========================================================================
   Order (Registreren) Mobile — V4 mobile styles
   Prefix: kpodm-
   Depends on shared.css
   ========================================================================== */

.kpodm-orange { color: var(--color-primary); }

/* --- Orange promo card --- */
.kpodm-promo {
    padding: 16px 40px 0;
}
.kpodm-promo__card {
    position: relative;
    background: var(--color-primary);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    padding: 24px 20px 0;
    color: var(--color-white);
    overflow: visible;
}
.kpodm-promo__small {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    margin: 0 0 12px;
}
.kpodm-promo__heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 8px;
}
.kpodm-promo__heading--bottom {
    margin: 0 0 8px;
    clear: none;
}
.kpodm-promo__price {
    float: right;
    margin: -20px -40px 8px 12px;
    shape-outside: circle(50%);
    width: 124px;
    height: 124px;
    border-radius: 50%;
    background: var(--color-white);
    border: 4px solid var(--color-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.kpodm-promo__price-old {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 22px;
    color: var(--color-grey-mid);
    text-decoration: line-through;
    line-height: 1;
}
.kpodm-promo__price-new {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 40px;
    color: var(--color-text);
    line-height: 1;
    margin-top: 4px;
}
.kpodm-promo__books {
    margin: 8px -40px 0;
    line-height: 0;
    position: relative;
    z-index: 1;
}
.kpodm-promo__books img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Brown JA banner (continues from orange card, chevron bottom) --- */
.kpodm-ja {
    padding: 0 40px 16px;
    margin-top: -210px;
}
.kpodm-ja__card {
    background: #5C3D2E;
    padding: 230px 20px 60px;
    color: var(--color-white);
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 50% 100%, 0 calc(100% - 80px));
}
.kpodm-ja__text {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
}
.kpodm-ja__text .kpodm-orange {
    font-size: 24px;
}
.kpodm-ja__sub {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    text-align: center;
    margin: 40px 20px 0;
    line-height: 1.4;
}

/* --- Form --- */
.kpodm-form-wrap {
    padding: 24px 20px 32px;
}
.kpodm-form__title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-text);
    margin: 16px 0 6px;
    line-height: 1.2;
}
.kpodm-form__sub {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    margin: 0 0 14px;
}
.kpodm-form__label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    color: var(--color-text);
    margin: 12px 0 6px;
}
.kpodm-form__row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.kpodm-form__row > input,
.kpodm-form__row > select {
    flex: 1 1 0;
    min-width: 0;
}
.kpodm-form__row--three > * { flex: 1 1 0; }
.kpodm-form input,
.kpodm-form select {
    font-family: var(--font-body);
    font-size: 16px; /* 16+ avoids iOS Safari focus-zoom */
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-white);
    color: var(--color-text);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
.kpodm-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23a9a3a0' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 7px;
    padding-right: 30px;
    color: var(--color-grey-mid);
}
.kpodm-form select:valid {
    color: var(--color-text);
}
.kpodm-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 20px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-text);
    line-height: 1.4;
}
.kpodm-form__consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-text); /* Willem: darker + thicker so the box stands out on the white mobile form */
    border-radius: 3px;
    background: var(--color-white);
    cursor: pointer;
    position: relative;
}
.kpodm-form__consent input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid var(--color-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.kpodm-form__consent a {
    color: #0066cc; /* Dick: match the canonical order-form 'voorwaarden' link blue (landing .kp-tc-trigger); no token exists for it. Adresvinder control colour (kpodm too) lives in registreren.css next to the existing .kpodm-form manual-toggle margin rule. */
    text-decoration: underline;
}
.kpodm-form__consent > span {
    flex: 1;
    min-width: 0;
}
.kpodm-form__consent p {
    margin: 0;
}
.kpodm-form__submit-wrap {
    text-align: center;
    margin-top: 12px;
}
.kpodm-form__submit {
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 22px;
    line-height: 1;
    padding: 12px 60px;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
}
