:root {
    --dta-ink: #24231f;
    --dta-line: rgba(77, 72, 62, .16);
    --dta-page: #f3f2ee;
    --dta-card: #fff;
    --dta-gold: #806b42;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
    background: var(--dta-page);
    color: var(--dta-ink);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.dta-page {
    min-height: 100vh;
    padding: 10px;
}

/* Het hele eerste scherm is één compositie, zoals in het aangeleverde ontwerp. */
.dta-shell {
    position: relative;
    width: min(920px, calc(100vw - 20px));
    aspect-ratio: 0.735 / 1;
    min-height: 720px;
    max-height: calc(100vh - 20px);
    margin: 0 auto;
    overflow: hidden;
    background: #fbfaf7;
    border: 1px solid #dfddd6;
    border-radius: 10px;
    box-shadow: 0 6px 22px rgba(42, 39, 32, .07);
}

.dta-home-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.02) 52%, rgba(255,255,255,0) 100%),
        url('../images/home/achtergrond_stap1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.dta-header {
    position: relative;
    z-index: 3;
    height: 70px;
    margin: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--dta-line);
}
.dta-brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.dta-logo { font: 500 34px/1 Georgia, 'Times New Roman', serif; letter-spacing: -.04em; }
.dta-brand-name { font: 11px/1.2 Georgia, 'Times New Roman', serif; }
.dta-account { display: flex; align-items: center; gap: 10px; }
.dta-logout { font: 12px/1.2 Georgia, 'Times New Roman', serif; text-decoration: none; }
.dta-logout:hover { text-decoration: underline; }
.dta-user-icon { width: 21px; height: 21px; }
.dta-user-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }

.dta-home-content {
    position: relative;
    z-index: 2;
    height: calc(100% - 70px);
    padding: 48px 28px 0;
}

.dta-intro { width: 66%; }
.dta-intro h1 {
    margin: 0 0 8px;
    font: 500 37px/1.08 Georgia, 'Times New Roman', serif;
    letter-spacing: -.025em;
}
.dta-intro p { margin: 0; font-size: 14px; line-height: 1.45; }
.dta-intro-label { padding-top: 30px; font-size: 13px !important; }

.dta-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 520px;
    max-width: 64%;
    margin-top: 15px;
}
.dta-product-card {
    overflow: hidden;
    background: var(--dta-card);
    border: 1px solid rgba(111, 104, 91, .24);
    border-radius: 7px;
    box-shadow: 0 3px 9px rgba(43, 40, 34, .06);
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease;
}
.dta-product-card:hover,
.dta-product-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(43, 40, 34, .12);
    outline: none;
}
.dta-product-image {
    height: 205px;
    overflow: hidden;
    background: #e8e3da;
}
.dta-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.dta-product-card-footer {
    height: 70px;
    padding: 10px 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: rgba(255,255,255,.97);
    font: 15px/1.1 Georgia, 'Times New Roman', serif;
}
.dta-arrow { color: var(--dta-gold); font: 20px/1 Arial, sans-serif; }

.dta-handwritten {
    position: absolute;
    left: 32px;
    bottom: 45px;
    display: flex;
    flex-direction: column;
    color: #8b7449;
    transform: rotate(-5deg);
    font: italic 26px/1.05 Georgia, 'Times New Roman', serif;
    text-shadow: 0 1px 0 rgba(255,255,255,.55);
}
.dta-handwritten span + span { margin-left: 38px; }

@media (max-width: 760px) {
    .dta-page { padding: 0; }
    .dta-shell {
        width: 100%;
        min-height: 100vh;
        max-height: none;
        aspect-ratio: auto;
        border: 0;
        border-radius: 0;
    }
    .dta-home-background {
        background-size: auto 100%;
        background-position: 64% center;
    }
    .dta-header { height: 66px; margin: 0 20px; }
    .dta-logo { font-size: 32px; }
    .dta-brand-name { display: none; }
    .dta-home-content { min-height: calc(100vh - 66px); height: auto; padding: 30px 20px 245px; }
    .dta-intro { width: 100%; }
    .dta-intro h1 { font-size: 34px; }
    .dta-intro p { font-size: 15px; }
    .dta-intro-label { padding-top: 25px; }
    .dta-product-grid { width: 100%; max-width: none; grid-template-columns: 1fr; gap: 12px; }
    .dta-product-card { display: grid; grid-template-columns: 42% 58%; min-height: 135px; }
    .dta-product-image { height: 135px; }
    .dta-product-card-footer { height: 135px; }
    .dta-handwritten { left: 28px; bottom: 55px; font-size: 24px; }
}


/* =========================================================
   DTA workflow - echte klantpagina's
   ========================================================= */

.dta-workflow-shell {
    aspect-ratio: auto;
    min-height: 760px;
    max-height: none;
    background: #fbfaf7;
}

.dta-workflow-content {
    padding: 34px 42px 42px;
}

.dta-steps {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin: 2px 0 46px;
}

.dta-step {
    width: 76px;
    flex: 0 0 76px;
    text-align: center;
    color: #aaa398;
}

.dta-step > span {
    display: grid;
    width: 31px;
    height: 31px;
    margin: 0 auto 8px;
    place-items: center;
    border: 1px solid #bdb7ac;
    border-radius: 50%;
    background: #fbfaf7;
    font: 13px/1 Arial, sans-serif;
}

.dta-step small {
    display: block;
    font: 11px/1.2 Georgia, 'Times New Roman', serif;
}

.dta-step.is-active {
    color: var(--dta-ink);
}

.dta-step.is-active > span {
    border-color: var(--dta-gold);
    background: var(--dta-gold);
    color: #fff;
}

.dta-step-line {
    height: 1px;
    flex: 1 1 auto;
    margin-top: 15px;
    background: #d9d5cd;
}

.dta-workflow-heading {
    max-width: 620px;
    margin-bottom: 26px;
}

.dta-eyebrow {
    margin: 0 0 7px !important;
    color: var(--dta-gold);
    font: 12px/1.2 Arial, sans-serif !important;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.dta-workflow-heading h1 {
    margin: 0 0 8px;
    font: 500 34px/1.1 Georgia, 'Times New Roman', serif;
}

.dta-workflow-heading p {
    margin: 0;
    color: #666158;
    font-size: 14px;
    line-height: 1.5;
}

.dta-fabric-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 620px;
    margin-bottom: 25px;
    padding: 11px 14px;
    border: 1px solid #ddd8cf;
    border-radius: 7px;
    background: #fff;
}

.dta-fabric-summary img {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    object-fit: cover;
    border-radius: 4px;
}

.dta-fabric-summary div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.dta-fabric-summary small,
.dta-result-card small {
    color: #8a8479;
    font-size: 11px;
}

.dta-fabric-summary strong {
    overflow: hidden;
    font: 500 14px/1.25 Georgia, 'Times New Roman', serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dta-fabric-summary span {
    color: #666158;
    font-size: 12px;
}

.dta-size-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.dta-size-card {
    position: relative;
    cursor: pointer;
}

.dta-size-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.dta-size-card-body {
    display: flex;
    min-height: 132px;
    padding: 15px 10px 13px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7d2c9;
    border-radius: 7px;
    background: #fff;
    text-align: center;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.dta-size-card:hover .dta-size-card-body {
    transform: translateY(-1px);
    border-color: #b8ad99;
}

.dta-size-card input:checked + .dta-size-card-body {
    border: 2px solid var(--dta-gold);
    box-shadow: 0 4px 12px rgba(80, 69, 48, .10);
}

.dta-size-card input:focus-visible + .dta-size-card-body {
    outline: 2px solid var(--dta-gold);
    outline-offset: 2px;
}

.dta-size-shape {
    display: block;
    height: 38px;
    margin-bottom: 8px;
    color: #80755f;
    font: 36px/38px Georgia, 'Times New Roman', serif;
}

.dta-size-card strong {
    font: 500 14px/1.2 Georgia, 'Times New Roman', serif;
}

.dta-size-card small {
    margin-top: 5px;
    color: #8b867c;
    font-size: 11px;
}

.dta-message {
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 6px;
    font-size: 13px;
}

.dta-message-error {
    border: 1px solid #d7b5b0;
    background: #fff2f0;
    color: #8a3027;
}

.dta-result-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid #d8d2c7;
    border-radius: 7px;
    background: #d8d2c7;
}

.dta-result-card > div {
    display: flex;
    min-height: 82px;
    padding: 15px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: #f6f2e9;
}

.dta-result-card strong {
    font: 500 17px/1.2 Georgia, 'Times New Roman', serif;
}

.dta-workflow-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1ddd5;
}

.dta-button {
    display: inline-flex;
    min-height: 42px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 5px;
    font: 13px/1 Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.dta-button-secondary {
    border-color: #cfc9bf;
    background: #fff;
    color: var(--dta-ink);
}

.dta-button-primary {
    border-color: var(--dta-gold);
    background: var(--dta-gold);
    color: #fff;
}

.dta-button:hover {
    filter: brightness(.97);
}

@media (max-width: 760px) {
    .dta-workflow-shell {
        min-height: 100vh;
    }

    .dta-workflow-content {
        padding: 25px 20px 35px;
    }

    .dta-steps {
        margin-bottom: 34px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .dta-step {
        width: 62px;
        flex-basis: 62px;
    }

    .dta-step-line {
        min-width: 20px;
    }

    .dta-step small {
        font-size: 9px;
    }

    .dta-workflow-heading h1 {
        font-size: 30px;
    }

    .dta-size-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dta-result-card {
        grid-template-columns: 1fr;
    }
}


/* 2026-10-06: workflowpagina mag in hoogte meegroeien en normaal scrollen. */
html,
body {
    overflow-y: auto;
}

.dta-workflow-page {
    min-height: 100vh;
    height: auto;
    overflow: visible;
}

.dta-workflow-shell {
    aspect-ratio: auto;
    height: auto;
    min-height: 760px;
    max-height: none;
    overflow: hidden;
}

.dta-workflow-content {
    position: relative;
    z-index: 1;
}

.dta-fabric-summary {
    overflow: hidden;
}

.dta-fabric-summary img {
    display: block;
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    object-fit: cover;
}


/* =========================================================
   Kussens flow v3 - 4 echte stappen
   ========================================================= */

.dta-steps--4 .dta-step {
    width: 110px;
    flex-basis: 110px;
}

.dta-step.is-complete {
    color: var(--dta-ink);
}

.dta-step.is-complete > span {
    border-color: var(--dta-gold);
    background: #f1eadc;
    color: var(--dta-gold);
    font-weight: 700;
}

.dta-step-line.is-complete {
    background: var(--dta-gold);
}

.dta-choice-grid {
    display: grid;
    gap: 14px;
    max-width: 620px;
}

.dta-choice-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.dta-choice-card {
    position: relative;
    cursor: pointer;
}

.dta-choice-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.dta-choice-card > span {
    display: flex;
    min-height: 120px;
    padding: 22px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7d2c9;
    border-radius: 7px;
    background: #fff;
    text-align: center;
}

.dta-choice-card b {
    margin-bottom: 7px;
    font: 500 22px/1 Georgia, 'Times New Roman', serif;
}

.dta-choice-card small {
    color: #8b867c;
    font-size: 12px;
}

.dta-choice-card input:checked + span {
    border: 2px solid var(--dta-gold);
    box-shadow: 0 4px 12px rgba(80, 69, 48, .10);
}

.dta-info-box {
    display: flex;
    max-width: 620px;
    margin-top: 22px;
    padding: 15px 17px;
    gap: 12px;
    align-items: flex-start;
    border-radius: 6px;
    background: #eef4f3;
    color: #536562;
    font-size: 12px;
    line-height: 1.45;
}

.dta-info-icon {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    border-radius: 50%;
    background: #76918d;
    color: #fff;
    font: 700 12px/1 Georgia, serif;
}

.dta-review-card {
    overflow: hidden;
    border: 1px solid #ddd8cf;
    border-radius: 7px;
    background: #fff;
}

.dta-review-section {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.dta-review-section + .dta-review-section {
    border-top: 1px solid #e5e0d8;
}

.dta-review-image {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    border-radius: 4px;
    object-fit: cover;
}

.dta-review-details {
    flex: 1;
}

.dta-review-details h3 {
    margin: 0 0 11px;
    font: 600 15px/1.2 Georgia, 'Times New Roman', serif;
}

.dta-review-details dl {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 7px 18px;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
}

.dta-review-details dt {
    color: #8a8479;
}

.dta-review-details dd {
    margin: 0;
    color: var(--dta-ink);
}

.dta-final-result {
    overflow: hidden;
    border: 1px solid #d8d2c7;
    border-radius: 8px;
    background: #fff;
}

.dta-final-result-main {
    display: flex;
    padding: 28px;
    gap: 18px;
    align-items: center;
    background: #f6f2e9;
}

.dta-result-check {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 50%;
    background: var(--dta-gold);
    color: #fff;
    font-size: 22px;
}

.dta-final-result-main small {
    display: block;
    margin-bottom: 4px;
    color: #8a8479;
    font-size: 11px;
}

.dta-final-result-main strong {
    display: block;
    font: 500 27px/1.15 Georgia, 'Times New Roman', serif;
}

.dta-final-result-main p {
    margin: 6px 0 0;
    color: #666158;
    font-size: 12px;
}

.dta-final-result-note {
    padding: 14px 28px;
    color: #7b756b;
    font-size: 11px;
}

.dta-workflow-actions button.dta-button-secondary {
    font-family: Arial, sans-serif;
    color: var(--dta-ink);
    cursor: pointer;
}

@media (max-width: 760px) {
    .dta-steps--4 .dta-step {
        width: 70px;
        flex-basis: 70px;
    }

    .dta-choice-grid--2 {
        grid-template-columns: 1fr;
    }

    .dta-review-section {
        flex-direction: column;
    }

    .dta-review-details dl {
        grid-template-columns: 110px 1fr;
    }
}

.dta-price-breakdown{padding:20px 28px 16px}.dta-price-breakdown>div{display:flex;justify-content:space-between;gap:20px;padding:7px 0;color:#5f5a51;font-size:13px}.dta-price-breakdown>div strong{color:var(--dta-ink);font-weight:500;white-space:nowrap}.dta-price-breakdown .dta-price-total{margin-top:9px;padding-top:15px;border-top:1px solid #ddd8cf;color:var(--dta-ink);font:500 18px/1.2 Georgia,"Times New Roman",serif}.dta-price-breakdown .dta-price-total strong{font-size:22px}.dta-price-vat{display:block;margin-top:-3px;color:#8a8479;text-align:right;font-size:10px}.dta-button:disabled{opacity:.55;cursor:not-allowed}
.dta-home-content{position:relative;z-index:2;padding:54px 42px 42px}.dta-home-heading,.dta-start-message{max-width:620px}.dta-home-heading h1,.dta-start-message h1{margin:0 0 10px;font:500 34px/1.12 Georgia,"Times New Roman",serif}.dta-home-heading p,.dta-start-message p{color:#666158;font-size:14px;line-height:1.55}.dta-start-message .dta-button{margin-top:18px}.dta-home-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px}.dta-home-card{display:flex;min-height:180px;align-items:flex-end;padding:20px;border:1px solid #ddd8cf;border-radius:7px;background:#fff;color:var(--dta-ink);text-decoration:none}.dta-home-card span{font:500 20px/1.2 Georgia,"Times New Roman",serif}@media(max-width:760px){.dta-home-content{padding:35px 20px}.dta-home-cards{grid-template-columns:1fr}}
.dta-home-shop-button{display:inline-flex;margin-top:18px;min-height:42px;padding:0 20px;align-items:center;gap:14px;border-radius:5px;background:var(--dta-gold);color:#fff;text-decoration:none;font:13px/1 Arial,sans-serif}.dta-home-shop-button:hover{filter:brightness(.97);color:#fff}


.dta-quantity-field {
    margin-top: 24px;
}

.dta-quantity-field > label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.dta-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dta-quantity input {
    width: 70px;
    height: 44px;
    text-align: center;
    border: 1px solid #d8d3ca;
    border-radius: 5px;
    font-size: 16px;
}

.dta-quantity-button {
    width: 44px;
    height: 44px;
    border: 1px solid #d8d3ca;
    border-radius: 5px;
    background: #fff;
    font-size: 20px;
    cursor: pointer;
}

.dta-quantity-button:hover {
    border-color: var(--dta-gold);
}

.dta-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 28px;
    border: 0;
    border-radius: 4px;
    background: #9a7b3f;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.dta-add-to-cart:hover {
    opacity: .9;
}

.dta-add-to-cart-form {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.dta-step-form {
    display: contents;
}

.dta-step-link {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.dta-step-link small {
    cursor: pointer;
}

.dta-step-link:hover small {
    text-decoration: underline;
}

.dta-embrass-fabric-image {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 12px;
}

.dta-fabric-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.dta-fabric-pagination button:disabled {
    opacity: 0.4;
    cursor: default;
}

#fabric-page-info {
    min-width: 70px;
    text-align: center;
    font-weight: 600;
}

.dta-tile-input {
    width: 140px;
    height: 52px;
    padding: 0 16px;

    border: 1px solid #d9dde3;
    border-radius: 10px;

    background: #f7f8fa;
    color: #222;

    font: inherit;
    font-size: 16px;
    font-weight: 600;

    outline: none;

    -moz-appearance: textfield;
    appearance: textfield;
}

/* Chrome, Edge en Safari: pijltjes verwijderen */
.dta-tile-input::-webkit-inner-spin-button,
.dta-tile-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dta-tile-input:focus {
    border-color: #7d5a42;
}

/* Na Bereken advies */
.dta-tile-input[readonly] {
    background: #e9eaec;
    border-color: #d3d5d8;
    color: #666;
    cursor: default;
}

.dta-cord-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .dta-cord-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .dta-cord-grid {
        grid-template-columns: 1fr;
    }
}

/* Gezamenlijke foutpagina DTA */

.dta-no-product-message {
    max-width: 520px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(111, 104, 91, 0.20);
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(42, 39, 32, 0.08);
}

.dta-no-product-message .dta-workflow-heading {
    margin-bottom: 25px;
}


/* Kussenafbeeldingen bij formaatkeuze */
.dta-size-shape {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 72px;
    margin-bottom: 8px;
    line-height: normal;
}
.dta-size-shape img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Decoration-logo in de bestaande header */

.dta-header .dta-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.dta-header-logo {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 760px) {
    .dta-header-logo {
        width: 200px;
    }
}

