/* Reclamehuys woven patch calculator v1.2.2 */
body.cw-page-offerte,
body.cw-page-emblemen,
body:is(.cw-page-geborduurde-emblemen,.cw-page-geborduurde-beanies),
body.cw-page-sublimatie-emblemen{
    --rhpc-red:#58A95B; /* calculator-accent: grasgroen; site-huisstijl blijft rood */
    --rhpc-green:#58A95B;
    --rhpc-black:#111111;
    --rhpc-text:#262626;
    --rhpc-muted:#777;
    --rhpc-soft:#f4f4f3;
    --rhpc-line:#dedede;
    --rhpc-width:1250px;
}
body.cw-page-offerte .rh-site__content,
body.cw-page-emblemen .rh-site__content,
body:is(.cw-page-geborduurde-emblemen,.cw-page-geborduurde-beanies) .rh-site__content,
body.cw-page-sublimatie-emblemen .rh-site__content{background:#fff!important;}
.rhpc,.rhpc *{box-sizing:border-box;}
.rhpc{width:100%;color:var(--rhpc-text);font-family:inherit;line-height:1.35;padding:0 20px 120px;background:#fff;}
.rhpc__shell{width:min(var(--rhpc-width),100%);margin:0 auto;}
.rhpc-hero{position:relative;width:100%;height:430px;overflow:hidden;background:#d6c3aa;border-radius:0;isolation:isolate;}
.rhpc-hero__image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;}
.rhpc-hero__shade{position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(20,16,12,.62) 0%,rgba(20,16,12,.46) 33%,rgba(20,16,12,.17) 58%,rgba(20,16,12,0) 82%);}
.rhpc-hero__content{position:absolute;z-index:2;left:72px;top:50%;width:min(690px,calc(100% - 144px));transform:translateY(-50%);color:#fff;}
.rhpc-hero__content h1{max-width:690px;margin:0;color:#fff;font-size:clamp(44px,4.6vw,68px);line-height:.98;letter-spacing:-.045em;font-weight:700;}
.rhpc-hero__content p{max-width:650px;margin:24px 0 0;color:rgba(255,255,255,.94);font-size:18px;line-height:1.5;}
.rhpc__layout{display:grid;grid-template-columns:390px minmax(0,1fr);gap:58px;align-items:start;padding-top:40px;}
.rhpc-gallery__sticky{position:sticky;top:calc(var(--rh-header-height,78px) + 40px);}
.rhpc-gallery__stage{position:relative;width:100%;aspect-ratio:1/1;background:transparent;overflow:hidden;}
.rhpc-gallery__image{display:none;width:100%;height:100%;object-fit:contain;padding:24px;}
.rhpc-gallery__image.is-active{display:block;}
.rhpc-gallery__arrow{position:absolute;top:50%;width:40px;height:40px;border:1px solid #e1e1e1;border-radius:50%;background:#fff;color:#222;font-size:28px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transform:translateY(-50%);box-shadow:0 2px 8px rgba(0,0,0,.05);}
.rhpc-gallery__arrow--prev{left:12px}.rhpc-gallery__arrow--next{right:12px}
.rhpc-gallery__thumbs{display:flex;gap:10px;margin-top:14px;overflow-x:auto;padding-bottom:2px;}
.rhpc-gallery__thumb{flex:0 0 68px;width:68px;height:68px;padding:4px;border:1px solid transparent;background:transparent;cursor:pointer;}
.rhpc-gallery__thumb.is-active{border-color:var(--rhpc-green);background:transparent;}
.rhpc-gallery__thumb img{display:block;width:100%;height:100%;object-fit:contain;background:transparent;}
.rhpc-gallery__copy{padding-top:24px;}
.rhpc-gallery__copy h2{margin:0 0 9px;color:#171717;font-size:22px;line-height:1.15;letter-spacing:-.02em;}
.rhpc-gallery__copy p{margin:0;color:#666;font-size:15px;line-height:1.55;}
.rhpc-steps{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #d7d7d7;margin-bottom:22px;}
.rhpc-steps span{position:relative;padding:0 8px 14px;color:#a3a3a3;font-size:14px;white-space:nowrap;}
.rhpc-steps span.is-active{color:#171717;font-weight:600;}
.rhpc-steps span.is-active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--rhpc-red);}
.rhpc-card{margin-bottom:22px;padding:24px;border:1px solid #d9d9d9;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.04);}
.rhpc-card__head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;}
.rhpc-card h2,.rhpc-card__head h2{margin:0;color:#242424;font-size:20px;font-weight:500;letter-spacing:-.01em;}
.rhpc-reset{border:0;background:transparent;padding:0;color:var(--rhpc-red);font:inherit;font-size:14px;cursor:pointer;}
.rhpc-option{margin-top:8px;}
.rhpc-option__summary{width:100%;min-height:50px;display:grid;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:10px;padding:0 16px;border:0;background:#f3f3f2;color:#303030;text-align:left;font:inherit;font-size:15px;cursor:pointer;}
.rhpc-option__summary em{margin-left:5px;color:var(--rhpc-red);font-style:normal;}
.rhpc-option__state{color:#979797;white-space:nowrap;}
.rhpc-chevron{color:#444;font-size:15px;text-align:right;}
.rhpc-option__panel{padding:12px 0 4px;}
.rhpc-choice-grid{display:grid;gap:12px;}
.rhpc-choice-grid--4{grid-template-columns:repeat(4,1fr)}
.rhpc-choice-grid--3{grid-template-columns:repeat(3,1fr)}
.rhpc-choice{position:relative;min-height:58px;padding:13px 14px 13px 42px;border:1px solid #d7d7d7;background:#fff;color:#242424;text-align:left;font:inherit;font-size:15px;line-height:1.15;cursor:pointer;}
.rhpc-choice i{position:absolute;left:16px;top:18px;width:17px;height:17px;border:2px solid var(--rhpc-red);border-radius:50%;background:#fff;}
.rhpc-choice.is-selected{border-color:var(--rhpc-red);box-shadow:inset 0 0 0 1px var(--rhpc-red);}
.rhpc-choice.is-selected i::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--rhpc-red);}
.rhpc-choice-grid--visual .rhpc-choice{min-height:150px;padding:105px 10px 12px 14px;}
.rhpc-choice-grid--visual .rhpc-choice i{top:14px;left:14px;}
.rhpc-back-demo{position:absolute;left:50%;top:18px;width:74px;height:74px;transform:translateX(-50%);border-radius:50%;border:7px solid #263b62;background:#e5e5e5;box-shadow:0 4px 8px rgba(0,0,0,.08);}
.rhpc-back-demo--iron{border-color:#75452f;background:linear-gradient(135deg,#eee4d4,#d2bda7,#f2d8b4)}
.rhpc-back-demo--hook{border-color:#0b0b0b;background:#181818}
.rhpc-back-demo--adhesive{border:0;background:#f3f3f0;color:#1b63a8;font-weight:800;font-size:18px;display:flex;align-items:center;justify-content:center;transform:translateX(-50%) rotate(-9deg)}
.rhpc-swatches{display:flex;flex-wrap:wrap;gap:8px;padding:4px 1px 2px;}
.rhpc-swatch{position:relative;width:28px;height:28px;border:2px solid #e1e1e1;border-radius:50%;background:var(--swatch);cursor:pointer;padding:0;}
.rhpc-swatch.is-selected{border-color:#111;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--rhpc-red);}
.rhpc-swatch.is-selected::after{content:"✓";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:15px;font-weight:800;text-shadow:0 1px 2px rgba(0,0,0,.65);}
.rhpc-quantity-heading{margin-top:20px;padding:16px;background:#f4f4f3;display:flex;flex-direction:column;}
.rhpc-quantity-heading strong{font-size:15px;font-weight:600}.rhpc-quantity-heading span{color:#777;font-size:14px;}
.rhpc-table-wrap{overflow-x:auto;}
.rhpc-price-table{width:100%;border-collapse:collapse;font-size:14px;min-width:610px;}
.rhpc-price-table th{padding:11px 8px;background:#e1e1e1;color:#222;font-weight:600;text-align:left;}
.rhpc-price-table td{padding:7px 8px;border-bottom:1px solid #ddd;background:#f6f6f5;color:#555;}
.rhpc-price-table tr{cursor:pointer}.rhpc-price-table tr.is-selected td{background:#dfdfdf;color:#333;}
.rhpc-price-table td:first-child{width:32px;}
.rhpc-radio-dot{display:block;width:17px;height:17px;border:2px solid var(--rhpc-red);border-radius:50%;position:relative;}
tr.is-selected .rhpc-radio-dot::after{content:"";position:absolute;inset:3px;background:var(--rhpc-red);border-radius:50%;}
.rhpc-delivery{color:var(--rhpc-red)!important;font-weight:500;white-space:nowrap;}
.rhpc-custom-quantity{margin-top:14px;min-height:56px;display:flex;align-items:center;gap:11px;padding:0 15px;border:1px solid #d7d7d7;cursor:pointer;}
.rhpc-custom-quantity__check{position:relative;width:18px;height:18px;flex:0 0 18px;}
.rhpc-custom-quantity__check input{position:absolute;inset:0;opacity:0;cursor:pointer;}
.rhpc-custom-quantity__check i{display:block;width:16px;height:16px;border:2px solid var(--rhpc-red);margin-top:1px;}
.rhpc-custom-quantity__check input:checked+i::after{content:"✓";display:block;color:var(--rhpc-red);font-weight:800;font-style:normal;font-size:12px;line-height:11px;text-align:center;}
.rhpc-custom-quantity>input[type=number]{margin-left:auto;width:130px;height:38px;border:1px solid #cfcfcf;padding:0 10px;font:inherit;}
.rhpc-total{position:relative;}
.rhpc-total h2{margin-bottom:24px;}
.rhpc-total__line{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-top:1px solid #e0e0e0;font-size:15px;}
.rhpc-total__line--strong{font-weight:600;}
.rhpc-total__delivery{margin-top:16px;padding:13px 15px;background:#f7f1f1;color:var(--rhpc-red);font-weight:600;}
.rhpc-total__vat{margin:9px 0 0;color:#8a8a8a;font-size:12px;}
.rhpc-floating-total{position:fixed;z-index:70;left:50%;bottom:16px;width:min(1250px,calc(100% - 40px));transform:translateX(-50%) translateY(140%);opacity:0;pointer-events:none;transition:transform .22s ease,opacity .22s ease;}
.rhpc-floating-total.is-visible{transform:translateX(-50%) translateY(0);opacity:1;}
.rhpc-floating-total__inner{min-height:78px;display:grid;grid-template-columns:190px 230px 1fr;align-items:center;gap:24px;padding:13px 20px;background:#111;color:#fff;box-shadow:0 10px 34px rgba(0,0,0,.22);}
.rhpc-floating-total__inner>div{display:flex;flex-direction:column;}.rhpc-floating-total__inner span{color:#bdbdbd;font-size:12px}.rhpc-floating-total__inner strong{font-size:22px;line-height:1.1}.rhpc-floating-total__inner p{margin:0 0 0 auto;color:#fff;font-size:14px}.rhpc-floating-total__inner p::before{content:"✓";display:inline-block;margin-right:8px;color:var(--rhpc-red);font-weight:900;}
@media(max-width:1050px){.rhpc__layout{grid-template-columns:320px minmax(0,1fr);gap:34px}.rhpc-choice-grid--4{grid-template-columns:repeat(2,1fr)}.rhpc-floating-total__inner{grid-template-columns:160px 210px 1fr}}
@media(max-width:820px){.rhpc{padding-left:15px;padding-right:15px}.rhpc__layout{grid-template-columns:1fr}.rhpc-gallery__sticky{position:static}.rhpc-gallery__stage{aspect-ratio:16/10}.rhpc-gallery__copy{max-width:620px}.rhpc-steps{margin-top:10px}.rhpc-choice-grid--4,.rhpc-choice-grid--3{grid-template-columns:repeat(2,1fr)}.rhpc-floating-total{width:calc(100% - 30px);bottom:10px}.rhpc-floating-total__inner{grid-template-columns:1fr 1fr;gap:12px 20px;min-height:76px}.rhpc-floating-total__inner p{grid-column:1/-1;margin:0;font-size:12px}}
@media(max-width:560px){.rhpc-hero{height:300px}.rhpc-hero__content{left:22px;width:calc(100% - 44px)}.rhpc-hero__content h1{font-size:38px}.rhpc-hero__content p{margin-top:16px;font-size:15px}.rhpc-card{padding:16px}.rhpc-card__head{align-items:flex-start}.rhpc-steps{overflow-x:auto;grid-template-columns:repeat(3,minmax(180px,1fr))}.rhpc-choice-grid--4,.rhpc-choice-grid--3{grid-template-columns:1fr}.rhpc-option__summary{grid-template-columns:minmax(0,1fr) 15px}.rhpc-option__state{display:none}.rhpc-choice-grid--visual .rhpc-choice{min-height:120px;padding-top:83px}.rhpc-back-demo{top:14px;width:58px;height:58px}.rhpc-custom-quantity{flex-wrap:wrap;padding:10px 13px}.rhpc-custom-quantity>input[type=number]{width:100%;margin-left:29px}.rhpc-floating-total__inner strong{font-size:18px}}


@media(max-width:820px){
    .rhpc-hero{height:350px;}
    .rhpc-hero__content{left:34px;width:calc(100% - 68px);}
    .rhpc-hero__content h1{font-size:clamp(40px,7vw,56px);}
    .rhpc-hero__content p{font-size:16px;}
    .rhpc-hero__shade{background:linear-gradient(90deg,rgba(20,16,12,.66) 0%,rgba(20,16,12,.45) 48%,rgba(20,16,12,.08) 100%);}
}

/* =========================================================
   v1.2.1 — interaction polish + lightbox + VAT + header fix
   ========================================================= */
body.cw-page-offerte .cwh26-header,
body.cw-page-emblemen .cwh26-header,
body:is(.cw-page-geborduurde-emblemen,.cw-page-geborduurde-beanies) .cwh26-header,
body.cw-page-sublimatie-emblemen .cwh26-header{
    display:block!important;
}
.rhpc-gallery__image.is-active{cursor:zoom-in;}

/* Stapnavigatie is nu interactief. */
.rhpc-steps button{
    appearance:none;
    position:relative;
    padding:0 8px 14px;
    border:0;
    background:transparent;
    color:#a3a3a3;
    font:inherit;
    font-size:14px;
    text-align:left;
    white-space:nowrap;
    cursor:pointer;
}
.rhpc-steps button:hover,.rhpc-steps button:focus-visible{color:#555;outline:none;}
.rhpc-steps button.is-active{color:#171717;font-weight:600;}
.rhpc-steps button.is-active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--rhpc-red);}
.rhpc-steps span{display:none;}

/* Excl. en incl. btw permanent zichtbaar in de onderste prijsbalk. */
.rhpc-floating-total__inner{grid-template-columns:240px 280px 1fr;}
.rhpc-floating-priceblock small{margin-top:4px;color:#fff;font-size:13px;line-height:1.2;}
.rhpc-floating-priceblock strong{white-space:nowrap;}
.rhpc-floating-priceblock span{margin-bottom:3px;}

/* v1.3.3 — lightbox: beeldvlak 20% kleiner en smoked glass 50% transparanter. */
/* Grote fotoweergave. */
body.rhpc-lightbox-open{overflow:hidden!important;}
.rhpc-lightbox[hidden]{display:none!important;}
.rhpc-lightbox{
    position:fixed;
    z-index:10000;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:42px 88px;
    background:rgba(0,0,0,.44);
    backdrop-filter:blur(7px);
}
.rhpc-lightbox__figure{margin:0;width:min(500px,calc(100vw - 140px));height:min(500px,calc(72vh));display:flex;flex-direction:column;align-items:center;justify-content:center;}
.rhpc-lightbox__figure img{display:block;max-width:min(500px,calc(100vw - 140px));max-height:min(500px,calc(72vh));width:auto;height:auto;object-fit:contain;background:transparent;box-shadow:none;transform-origin:center center;}
.rhpc-lightbox__figure figcaption{margin-top:12px;color:rgba(255,255,255,.82);font-size:13px;text-align:center;}
.rhpc-lightbox__close,.rhpc-lightbox__arrow{position:absolute;border:0;background:transparent;color:#fff;cursor:pointer;font-family:Arial,sans-serif;}
.rhpc-lightbox__close{top:18px;right:20px;z-index:3;width:48px;height:48px;border-radius:50%;background:rgba(0,0,0,.34);font-size:38px;line-height:46px;text-align:center;}
.rhpc-lightbox__arrow{top:50%;width:58px;height:78px;transform:translateY(-50%);font-size:58px;line-height:1;}
.rhpc-lightbox__arrow--prev{left:22px;}.rhpc-lightbox__arrow--next{right:22px;}
.rhpc-lightbox__close:focus-visible,.rhpc-lightbox__arrow:focus-visible{outline:2px solid #fff;outline-offset:3px;}

@media(max-width:1050px){
    .rhpc-floating-total__inner{grid-template-columns:210px 245px 1fr;}
}
@media(max-width:820px){
    .rhpc-floating-total__inner{grid-template-columns:1fr 1fr;}
    .rhpc-lightbox{padding:50px 58px;}
    .rhpc-lightbox__figure{width:min(500px,calc(100vw - 130px));height:min(500px,68vh);}
}
@media(max-width:560px){
    .rhpc-steps button{min-width:180px;}
    .rhpc-floating-priceblock strong{font-size:16px;}
    .rhpc-floating-priceblock small{font-size:11px;}
    .rhpc-lightbox{padding:58px 42px;}
    .rhpc-lightbox__figure{width:min(500px,calc(100vw - 92px));height:min(500px,62vh);}
    .rhpc-lightbox__arrow{width:40px;font-size:44px;}
    .rhpc-lightbox__arrow--prev{left:4px;}.rhpc-lightbox__arrow--next{right:4px;}
    .rhpc-lightbox__close{right:8px;top:8px;}
}


/* =========================================================
   v1.2.2 — groene calculatoraccenten + bestelworkflow
   ========================================================= */
.rhpc-order-button{
    width:100%;min-height:54px;margin-top:22px;padding:0 22px;border:0;background:var(--rhpc-red);color:#fff;
    font:inherit;font-size:16px;font-weight:700;cursor:pointer;transition:filter .18s ease,transform .18s ease;
}
.rhpc-order-button:hover,.rhpc-order-button:focus-visible{filter:brightness(.92);outline:none;transform:translateY(-1px);}
.rhpc-order-card[hidden]{display:none!important;}
.rhpc-order-card{margin-top:2px;scroll-margin-top:120px;}
.rhpc-order-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px;}
.rhpc-order-card__head h2{font-size:26px;font-weight:600;}
.rhpc-order-card__eyebrow{margin:0 0 5px;color:var(--rhpc-red);font-size:12px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;}
.rhpc-order-card__close{width:38px;height:38px;border:0;background:#f2f2f1;color:#444;font-size:27px;line-height:1;cursor:pointer;}
.rhpc-payment-note{margin:0 0 22px;padding:17px 18px;border-left:4px solid var(--rhpc-red);background:#f3f8f3;color:#344334;}
.rhpc-payment-note strong{display:block;margin-bottom:5px;color:#1f3a21;font-size:15px;}
.rhpc-payment-note p{margin:0;font-size:14px;line-height:1.55;}
.rhpc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;}
.rhpc-field{display:flex;flex-direction:column;gap:7px;min-width:0;}
.rhpc-field--wide{grid-column:1/-1;}
.rhpc-field>span{font-size:13px;font-weight:650;color:#333;}
.rhpc-field input,.rhpc-field select,.rhpc-field textarea{width:100%;border:1px solid #d3d3d3;background:#fff;color:#222;font:inherit;font-size:15px;padding:12px 13px;border-radius:0;outline:none;}
.rhpc-field input,.rhpc-field select{min-height:46px;}
.rhpc-field textarea{resize:vertical;min-height:108px;}
.rhpc-field input:focus,.rhpc-field select:focus,.rhpc-field textarea:focus{border-color:var(--rhpc-red);box-shadow:0 0 0 1px var(--rhpc-red);}
/* v1.3.147: één zichtbare rand in elk bestelformulier (ook Safari/autofill).
   Geen combinatie van border, outline en rode focus-box-shadow.
   Native HTML-required/constraintvalidatie blijft behouden. */
body .rhpc-order-form .rhpc-field input,
body .rhpc-order-form .rhpc-field select,
body .rhpc-order-form .rhpc-field textarea {
    box-sizing:border-box;
    border:1px solid #c8c8c8!important;
    outline:none!important;
    box-shadow:none!important;
    -webkit-box-shadow:none!important;
}
/* Een toetsenbordfocus is herkenbaar met precies één dikkere, blauwe rand. */
body .rhpc-order-form .rhpc-field input:focus-visible,
body .rhpc-order-form .rhpc-field select:focus-visible,
body .rhpc-order-form .rhpc-field textarea:focus-visible {
    border:2px solid #246da4!important;
}
/* Alleen daadwerkelijk bewerkte geldige velden groen; lege optionele
   velden krijgen geen misleidend groen op basis van :valid. */
body .rhpc-order-form .rhpc-field input:user-valid:not([type="file"]),
body .rhpc-order-form .rhpc-field select:user-valid,
body .rhpc-order-form .rhpc-field textarea:user-valid,
body .rhpc-order-form .rhpc-field select[name="billing_country"]:valid {
    border-color:#278647!important;
}
/* Browser-native :user-invalid treedt pas na gebruikersinteractie op. */
body .rhpc-order-form .rhpc-field input:user-invalid,
body .rhpc-order-form .rhpc-field select:user-invalid,
body .rhpc-order-form .rhpc-field textarea:user-invalid {
    border-color:#b83a3a!important;
}
/* Focus mag geen tweede contour introduceren, ook niet bij (on)geldig. */
body .rhpc-order-form .rhpc-field input:focus,
body .rhpc-order-form .rhpc-field select:focus,
body .rhpc-order-form .rhpc-field textarea:focus {
    outline:none!important;
    box-shadow:none!important;
    -webkit-box-shadow:none!important;
}

.rhpc-field input[type=file]{padding:9px;background:#f7f7f6;}
.rhpc-field small{color:#777;font-size:12px;}
.rhpc-order-submit{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;padding-top:20px;border-top:1px solid #e2e2e2;}
.rhpc-order-submit p{max-width:520px;margin:0;color:#666;font-size:13px;line-height:1.5;}
.rhpc-order-submit button{min-width:220px;min-height:50px;padding:0 20px;border:0;background:var(--rhpc-red);color:#fff;font:inherit;font-weight:700;cursor:pointer;}
.rhpc-order-submit button:hover,.rhpc-order-submit button:focus-visible{filter:brightness(.92);outline:none;}
.rhpc-order-submit button:disabled{cursor:wait;opacity:.78;filter:none;transform:none;}
.rhpc-submit-feedback[hidden]{display:none!important;}
.rhpc-submit-feedback{margin:12px 0 0;padding:12px 14px;background:#f1f8f1;border-left:4px solid #3a985b;color:#265835;font-size:14px;line-height:1.45;}
.rhpc-submit-feedback.is-error{background:#fff2f2;border-left-color:#b33a3a;color:#8a2424;}
.rhpc-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;}
.rhpc-order-notice{margin-top:20px;padding:14px 16px;font-size:14px;line-height:1.5;}
.rhpc-order-notice--success{border-left:4px solid var(--rhpc-red);background:#f1f8f1;color:#28452b;}
.rhpc-order-notice--error{border-left:4px solid #b94141;background:#fbf2f2;color:#7a3030;}
.rhpc-total__delivery{background:#f3f8f3;}

@media(max-width:700px){
    .rhpc-form-grid{grid-template-columns:1fr;}
    .rhpc-field--wide{grid-column:auto;}
    .rhpc-order-submit{align-items:stretch;flex-direction:column;}
    .rhpc-order-submit button{width:100%;}
}

/* v1.3.1 mobile hero final override: keep the smallest breakpoint dominant. */
@media(max-width:560px){
    .rhpc-hero{height:300px;}
    .rhpc-hero__content{left:22px;width:calc(100% - 44px);}
    .rhpc-hero__content h1{font-size:38px;}
    .rhpc-hero__content p{margin-top:16px;font-size:15px;}
}

/* v1.3.2 — hero gebruikt een tekstloze achtergrondafbeelding.
   Titel/subtitel blijven losse HTML en dus apart bewerkbaar. */
.rhpc-hero__content h1 > span{display:block;}


/* v1.3.5 — volledig vrijstaande emblemen in galerij en lightbox. */
.rhpc-gallery__stage,.rhpc-gallery__image,.rhpc-gallery__thumb,.rhpc-gallery__thumb img{background-color:transparent!important;}
.rhpc-lightbox__figure,.rhpc-lightbox__figure img{background:transparent!important;box-shadow:none!important;}
.rhpc-lightbox__close:hover,.rhpc-lightbox__close:focus-visible{background:rgba(0,0,0,.58);}

/* =========================================================
   v1.3.16 — vrije maat, dynamische garenkleuren en Pantone-picker
   ========================================================= */
.rhpc-option-help{margin:0 0 14px;color:#666;font-size:13px;line-height:1.5;}
.rhpc-choice-grid--2{grid-template-columns:repeat(2,minmax(0,1fr));}
.rhpc-choice-grid--6{grid-template-columns:repeat(6,minmax(0,1fr));}
.rhpc-color-count-grid .rhpc-choice{min-height:54px;text-align:center;padding:12px 8px 12px 34px;}
.rhpc-color-count-grid .rhpc-choice i{left:12px;top:17px;}
.rhpc-size-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.rhpc-size-inputs>label{display:flex;flex-direction:column;gap:7px;color:#333;font-size:13px;font-weight:650;}
.rhpc-size-input{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:center;border:1px solid #d2d2d2;background:#fff;}
.rhpc-size-input input{width:100%;height:48px;border:0;background:transparent;padding:0 14px;color:#222;font:inherit;font-size:18px;outline:none;}
.rhpc-size-input:focus-within{border-color:var(--rhpc-red);box-shadow:0 0 0 1px var(--rhpc-red);}
.rhpc-size-input b{height:48px;display:flex;align-items:center;justify-content:center;border-left:1px solid #e2e2e2;color:#777;font-size:13px;font-weight:600;}
.rhpc-size-band{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;padding:12px 14px;background:#f6f6f5;color:#555;font-size:13px;}
.rhpc-size-band strong{color:var(--rhpc-red);font-size:14px;}
.rhpc-size-band small{width:100%;color:#888;font-size:11px;}
.rhpc-more-colors{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:6px 14px;align-items:center;margin-top:14px;padding:14px;border:1px solid #dedede;background:#fafafa;}
.rhpc-more-colors>span{font-size:13px;font-weight:650;color:#333;}
.rhpc-more-colors input{height:42px;border:1px solid #ccc;padding:0 10px;font:inherit;font-size:16px;outline:none;}
.rhpc-more-colors input:focus{border-color:var(--rhpc-red);box-shadow:0 0 0 1px var(--rhpc-red);}
.rhpc-more-colors small{grid-column:1/-1;color:#888;font-size:11px;}
.rhpc-thread-colors{display:grid;gap:9px;margin-top:14px;}
.rhpc-thread-color-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:60px;padding:9px 10px;border:1px solid #dedede;background:#fff;}
.rhpc-thread-color-row__swatch{display:block;width:28px;height:28px;border-radius:50%;border:1px solid #c9c9c9;background:#efefef;}
.rhpc-thread-color-row__label{display:flex;flex-direction:column;gap:2px;min-width:0;}
.rhpc-thread-color-row__label strong{font-size:13px;color:#222;}
.rhpc-thread-color-row__label span{font-size:12px;color:#777;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rhpc-thread-color-row__button{min-height:36px;padding:0 12px;border:1px solid var(--rhpc-red);background:#fff;color:#347f37;font:inherit;font-size:12px;font-weight:700;cursor:pointer;}
.rhpc-thread-color-row__button:hover,.rhpc-thread-color-row__button:focus-visible{background:var(--rhpc-red);color:#fff;outline:none;}
.rhpc-pantone-note{margin:10px 0 0;color:#888;font-size:11px;line-height:1.45;}

body.rhpc-pms-open{overflow:hidden;}
.rhpc-pms-modal[hidden]{display:none!important;}
.rhpc-pms-modal{position:fixed;inset:0;z-index:10020;display:flex;align-items:flex-start;justify-content:center;padding:20px;background:rgba(17,17,17,.34);overflow:auto;}
.rhpc-pms-modal__dialog{width:min(1040px,100%);max-height:calc(100vh - 40px);display:flex;flex-direction:column;background:#f3f3f2;box-shadow:0 18px 54px rgba(0,0,0,.26);}
.rhpc-pms-modal__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 12px;}
.rhpc-pms-modal__head h3{margin:0;color:#1d1d1d;font-size:24px;line-height:1.15;}
.rhpc-pms-modal__head p{margin:6px 0 0;color:#666;font-size:14px;}
.rhpc-pms-modal__close{width:42px;height:42px;border:0;background:transparent;color:#555;font:inherit;font-size:32px;line-height:1;cursor:pointer;}
.rhpc-pms-modal__search{padding:0 24px 18px;}
.rhpc-pms-modal__search input{width:100%;height:50px;border:0;border-bottom:2px solid #b7b7b5;background:transparent;padding:0 2px;color:#222;font:inherit;font-size:21px;outline:none;}
.rhpc-pms-modal__search input:focus{border-bottom-color:var(--rhpc-red);}
.rhpc-pms-modal__body{padding:0 24px 22px;overflow:auto;}
.rhpc-pms-modal__empty{margin:0;padding:18px 0;color:#666;font-size:13px;}
.rhpc-pms-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.rhpc-pms-chip{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 12px;border:1px solid #cacac8;background:#fff;color:#333;text-align:left;font:inherit;font-size:13px;cursor:pointer;}
.rhpc-pms-chip:hover,.rhpc-pms-chip:focus-visible{border-color:#8d8d8d;outline:none;}
.rhpc-pms-chip.is-selected{border-color:var(--rhpc-red);box-shadow:inset 0 0 0 1px var(--rhpc-red);background:#f8fff8;}
.rhpc-pms-chip__swatch{flex:0 0 18px;width:18px;height:18px;border-radius:50%;border:1px solid rgba(0,0,0,.12);background:var(--swatch,#ddd);}
.rhpc-pms-modal__foot{display:grid;grid-template-columns:1fr 1fr;margin-top:auto;border-top:1px solid #d5d5d3;}
.rhpc-pms-modal__ghost,.rhpc-pms-modal__confirm{min-height:60px;border:0;font:inherit;font-size:16px;font-weight:700;cursor:pointer;}
.rhpc-pms-modal__ghost{background:#333;color:#fff;}
.rhpc-pms-modal__confirm{background:#d0d0d0;color:#888;}
.rhpc-pms-modal__confirm:not(:disabled){background:var(--rhpc-red);color:#fff;}

@media(max-width:900px){
    .rhpc-choice-grid--6{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:700px){
    .rhpc-size-inputs,.rhpc-choice-grid--2{grid-template-columns:1fr;}
    .rhpc-pms-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:520px){
    .rhpc-choice-grid--6{grid-template-columns:repeat(2,minmax(0,1fr));}
    .rhpc-more-colors{grid-template-columns:1fr;}
    .rhpc-more-colors small{grid-column:auto;}
    .rhpc-thread-color-row{grid-template-columns:30px minmax(0,1fr);}
    .rhpc-thread-color-row__button{grid-column:1/-1;width:100%;}
    .rhpc-pms-modal{padding:0;}
    .rhpc-pms-modal__dialog{width:100%;max-height:100vh;min-height:100vh;}
    .rhpc-pms-grid{grid-template-columns:1fr;}
}

/* =========================================================
   v1.3.18 — randkleur Pantone, zichtbare lightbox-close en 2-regelige hero
   ========================================================= */
[data-rhpc-edge-option][hidden]{display:none!important;}
.rhpc-edge-pantone-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:62px;padding:10px 12px;border:1px solid #dedede;background:#fff;}
.rhpc-edge-pantone-row__swatch{display:block;width:28px;height:28px;border-radius:50%;border:1px solid #c9c9c9;background:#efefef;}
.rhpc-edge-pantone-row__label{display:flex;flex-direction:column;gap:2px;min-width:0;}
.rhpc-edge-pantone-row__label strong{font-size:13px;color:#333;}
.rhpc-edge-pantone-row__label span{font-size:13px;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

.rhpc-lightbox__close{
    position:fixed!important;
    top:22px!important;
    right:22px!important;
    z-index:10005!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:50px!important;
    height:50px!important;
    border:1px solid rgba(0,0,0,.16)!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#111!important;
    box-shadow:0 6px 24px rgba(0,0,0,.2)!important;
    font-size:0!important;
    line-height:1!important;
    opacity:1!important;
}
.rhpc-lightbox__close span{display:block;font-size:38px;line-height:1;transform:translateY(-1px);}
.rhpc-lightbox__close:hover,.rhpc-lightbox__close:focus-visible{background:#f1f1f1!important;color:#000!important;}

/* Titel altijd bewust op twee regels: 'Geweven emblemen' / 'op maat.' */
.rhpc-hero__content h1>span:first-child{white-space:nowrap;}
.rhpc-hero__content h1>span:last-child{white-space:nowrap;}
@media(max-width:560px){
    .rhpc-hero__content h1{font-size:clamp(28px,9vw,38px);}
    .rhpc-lightbox__close{top:10px!important;right:10px!important;width:44px!important;height:44px!important;}
    .rhpc-lightbox__close span{font-size:33px;}
    .rhpc-edge-pantone-row{grid-template-columns:30px minmax(0,1fr);}
    .rhpc-edge-pantone-row .rhpc-thread-color-row__button{grid-column:1/-1;width:100%;}
}


/* =========================================================
   v1.3.22 — lightbox sluitknop altijd zichtbaar als vaste pill-button
   ========================================================= */
.rhpc-lightbox{z-index:2147483000!important;}
.rhpc-lightbox__close{
    position:fixed!important;
    top:18px!important;
    right:18px!important;
    z-index:2147483647!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    min-width:unset!important;
    width:auto!important;
    height:50px!important;
    padding:0 16px 0 12px!important;
    border:1px solid rgba(0,0,0,.18)!important;
    border-radius:999px!important;
    background:#ffffff!important;
    color:#111111!important;
    box-shadow:0 10px 28px rgba(0,0,0,.28)!important;
    opacity:1!important;
    visibility:visible!important;
    font-size:0!important;
    line-height:1!important;
    -webkit-appearance:none!important;
    appearance:none!important;
}
.rhpc-lightbox__close-icon{
    display:block!important;
    color:#111!important;
    font-size:34px!important;
    line-height:1!important;
    font-weight:400!important;
    transform:translateY(-1px)!important;
}
.rhpc-lightbox__close-text{
    display:block!important;
    color:#111!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:700!important;
    letter-spacing:.01em!important;
}
.rhpc-lightbox__close:hover,.rhpc-lightbox__close:focus-visible{background:#f4f4f4!important;color:#111!important;}
@media(max-width:640px){
    .rhpc-lightbox__close{top:10px!important;right:10px!important;height:46px!important;padding:0 14px 0 10px!important;}
    .rhpc-lightbox__close-icon{font-size:30px!important;}
    .rhpc-lightbox__close-text{font-size:13px!important;}
}


/* =========================================================
   v1.3.23 — rechthoekige witte outline voor lightbox sluiten
   ========================================================= */
.rhpc-lightbox__close{
    position:fixed!important;
    top:20px!important;
    right:20px!important;
    z-index:2147483647!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    width:auto!important;
    min-width:118px!important;
    height:46px!important;
    padding:0 15px!important;
    border:2px solid #fff!important;
    border-radius:0!important;
    background:rgba(0,0,0,.16)!important;
    color:#fff!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
    -webkit-appearance:none!important;
    appearance:none!important;
}
.rhpc-lightbox__close-icon{
    display:block!important;
    color:#fff!important;
    font-size:28px!important;
    line-height:1!important;
    font-weight:300!important;
    transform:translateY(-1px)!important;
}
.rhpc-lightbox__close-text{
    display:block!important;
    color:#fff!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:700!important;
    letter-spacing:.01em!important;
}
.rhpc-lightbox__close:hover,.rhpc-lightbox__close:focus-visible{
    background:#fff!important;
    color:#111!important;
    outline:none!important;
}
.rhpc-lightbox__close:hover .rhpc-lightbox__close-icon,
.rhpc-lightbox__close:hover .rhpc-lightbox__close-text,
.rhpc-lightbox__close:focus-visible .rhpc-lightbox__close-icon,
.rhpc-lightbox__close:focus-visible .rhpc-lightbox__close-text{color:#111!important;}
@media(max-width:640px){
    .rhpc-lightbox__close{top:10px!important;right:10px!important;min-width:106px!important;height:42px!important;padding:0 12px!important;}
    .rhpc-lightbox__close-icon{font-size:25px!important;}
    .rhpc-lightbox__close-text{font-size:13px!important;}
}

/* =========================================================
   v1.3.52 — CALCULATOR RESPONSIVE POLISH
   Doel: calculator op tablet en mobiel rustig, uitgelijnd en
   volledig bruikbaar zonder horizontale layoutbreuken.
   ========================================================= */
@media (max-width: 1024px) {
    .rhpc {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-bottom: 150px !important;
    }

    .rhpc__shell {
        width: 100% !important;
        max-width: 920px !important;
        margin: 0 auto !important;
    }

    .rhpc__layout {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
        padding-top: 30px !important;
    }

    .rhpc-gallery__sticky {
        position: static !important;
        top: auto !important;
    }

    .rhpc-gallery {
        width: 100% !important;
        min-width: 0 !important;
    }

    .rhpc-gallery__stage {
        width: 100% !important;
        height: auto !important;
        max-height: 420px !important;
        aspect-ratio: 16 / 10 !important;
        overflow: hidden !important;
    }

    .rhpc-gallery__image {
        width: 100% !important;
        height: 100% !important;
        max-height: 420px !important;
        padding: 24px !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    .rhpc-gallery__copy {
        padding-top: 20px !important;
    }

    .rhpc-gallery__copy h2,
    .rhpc-gallery__copy p {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }

    .rhpc-card {
        width: 100% !important;
        min-width: 0 !important;
    }

    .rhpc-floating-total {
        width: calc(100% - 40px) !important;
        max-width: 920px !important;
    }
}

@media (max-width: 700px) {
    .rhpc {
        padding-left: 14px !important;
        padding-right: 14px !important;
        padding-bottom: 180px !important;
    }

    .rhpc__shell {
        max-width: none !important;
    }

    .rhpc__layout {
        gap: 26px !important;
        padding-top: 22px !important;
    }

    .rhpc-gallery__stage {
        max-height: 330px !important;
        aspect-ratio: 4 / 3 !important;
    }

    .rhpc-gallery__image {
        max-height: 330px !important;
        padding: 18px !important;
    }

    .rhpc-gallery__thumbs {
        gap: 7px !important;
        margin-top: 10px !important;
        padding: 0 0 4px !important;
        scrollbar-width: thin;
    }

    .rhpc-gallery__thumb {
        flex-basis: 58px !important;
        width: 58px !important;
        height: 58px !important;
    }

    .rhpc-gallery__copy h2 {
        font-size: 24px !important;
        line-height: 1.15 !important;
    }

    .rhpc-gallery__copy p {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    .rhpc-steps {
        grid-template-columns: repeat(3, minmax(0,1fr)) !important;
        width: 100% !important;
        margin-bottom: 18px !important;
    }

    .rhpc-steps span {
        min-width: 0 !important;
        padding: 0 5px 12px !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        text-align: center !important;
        overflow-wrap: anywhere !important;
    }

    .rhpc-card {
        margin-bottom: 16px !important;
        padding: 18px 14px !important;
        box-shadow: none !important;
    }

    .rhpc-card__head {
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    .rhpc-card h2,
    .rhpc-card__head h2 {
        font-size: 20px !important;
        line-height: 1.2 !important;
    }

    .rhpc-reset {
        flex: 0 0 auto !important;
        font-size: 13px !important;
    }

    .rhpc-option__summary {
        min-height: 56px !important;
        grid-template-columns: minmax(0,1fr) auto 18px !important;
        gap: 8px !important;
        padding: 10px 12px !important;
        font-size: 15px !important;
    }

    .rhpc-option__summary > * {
        min-width: 0 !important;
    }

    .rhpc-option__summary em,
    .rhpc-option__state {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .rhpc-choice-grid--4,
    .rhpc-choice-grid--3,
    .rhpc-choice-grid--2 {
        grid-template-columns: 1fr !important;
    }

    .rhpc-choice-grid--6 {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }

    .rhpc-choice {
        min-height: 54px !important;
        padding: 12px 12px 12px 40px !important;
        font-size: 14px !important;
    }

    .rhpc-size-inputs {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .rhpc-size-input input {
        font-size: 16px !important;
    }

    .rhpc-table-wrap {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border: 1px solid #e2e2e2 !important;
    }

    .rhpc-price-table {
        min-width: 560px !important;
        font-size: 13px !important;
    }

    .rhpc-custom-quantity {
        flex-wrap: wrap !important;
        padding: 12px !important;
        min-height: 0 !important;
    }

    .rhpc-custom-quantity > input[type=number] {
        width: 100% !important;
        margin-left: 29px !important;
    }

    .rhpc-floating-total {
        left: 12px !important;
        right: 12px !important;
        bottom: 10px !important;
        width: auto !important;
        max-width: none !important;
        transform: translateY(140%) !important;
    }

    .rhpc-floating-total.is-visible {
        transform: translateY(0) !important;
    }

    .rhpc-floating-total__inner {
        min-height: 0 !important;
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
        gap: 10px 14px !important;
        padding: 14px 16px !important;
    }

    .rhpc-floating-total__inner > div {
        min-width: 0 !important;
    }

    .rhpc-floating-total__inner span {
        font-size: 11px !important;
    }

    .rhpc-floating-total__inner strong {
        font-size: clamp(18px, 5.4vw, 23px) !important;
        line-height: 1.12 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .rhpc-floating-total__inner p {
        grid-column: 1 / -1 !important;
        margin: 2px 0 0 !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 420px) {
    .rhpc-gallery__stage {
        max-height: 285px !important;
    }

    .rhpc-gallery__image {
        max-height: 285px !important;
        padding: 14px !important;
    }

    .rhpc-gallery__thumb {
        flex-basis: 52px !important;
        width: 52px !important;
        height: 52px !important;
    }

    .rhpc-gallery__copy h2 {
        font-size: 22px !important;
    }

    .rhpc-card {
        padding: 16px 12px !important;
    }

    .rhpc-choice-grid--6 {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .rhpc-floating-total__inner {
        padding: 12px !important;
    }

    .rhpc-floating-total__inner strong {
        font-size: 18px !important;
    }
}

/* =========================================================
   v1.3.53 — phone layout hardening: no horizontal overflow
   ========================================================= */
@media (max-width: 700px) {
    .rhpc,
    .rhpc__shell,
    .rhpc__layout,
    .rhpc-config,
    .rhpc-card,
    .rhpc-option,
    .rhpc-option__panel,
    .rhpc-table-wrap,
    .rhpc-total,
    .rhpc-order-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .rhpc {
        overflow-x: clip !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .rhpc-config {
        overflow: visible !important;
    }

    /* Price table becomes a compact mobile card list instead of a wide desktop table. */
    .rhpc-table-wrap {
        overflow: visible !important;
        border: 0 !important;
    }

    .rhpc-price-table {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        font-size: 13px !important;
    }

    .rhpc-price-table thead {
        display: none !important;
    }

    .rhpc-price-table tbody {
        display: block !important;
        width: 100% !important;
    }

    .rhpc-price-table tr {
        display: grid !important;
        grid-template-columns: 28px 64px minmax(0, 1fr) auto !important;
        grid-template-areas:
            "radio qty production price"
            ". delivery delivery delivery" !important;
        column-gap: 8px !important;
        row-gap: 3px !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 9px 10px !important;
        border-bottom: 1px solid #ddd !important;
        background: #f6f6f5 !important;
    }

    .rhpc-price-table tr.is-selected {
        background: #dfdfdf !important;
    }

    .rhpc-price-table td {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        overflow-wrap: anywhere !important;
    }

    .rhpc-price-table td:nth-child(1) { grid-area: radio !important; }
    .rhpc-price-table td:nth-child(2) { grid-area: qty !important; font-weight: 600 !important; }
    .rhpc-price-table td:nth-child(3) { grid-area: production !important; }
    .rhpc-price-table td:nth-child(4) { grid-area: price !important; text-align: right !important; font-weight: 600 !important; white-space: nowrap !important; }
    .rhpc-price-table td:nth-child(5) {
        grid-area: delivery !important;
        padding-top: 2px !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    .rhpc-radio-dot {
        width: 18px !important;
        height: 18px !important;
    }

    .rhpc-custom-quantity {
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 10px !important;
    }

    .rhpc-custom-quantity > span:not(.rhpc-custom-quantity__check) {
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
    }

    /* Order total must wrap instead of extending past the viewport. */
    .rhpc-total h2 {
        margin-bottom: 18px !important;
        font-size: 22px !important;
    }

    .rhpc-total__line {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) auto !important;
        align-items: start !important;
        gap: 8px 12px !important;
        width: 100% !important;
        min-width: 0 !important;
        font-size: 14px !important;
    }

    .rhpc-total__line > * {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }

    .rhpc-total__line strong,
    .rhpc-total__line [data-rhpc-unit] {
        text-align: right !important;
        white-space: nowrap !important;
    }

    .rhpc-total__delivery {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .rhpc-order-button {
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Keep the fixed black total bar inside the screen on phones. */
    .rhpc-floating-total {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: calc(100vw - 20px) !important;
    }

    .rhpc-floating-total__inner {
        grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
        gap: 8px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 11px 12px !important;
        overflow: hidden !important;
    }

    .rhpc-floating-total__inner strong {
        font-size: 17px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .rhpc-floating-total__inner p {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        min-width: 0 !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
}

@media (max-width: 420px) {
    .rhpc-card {
        padding: 14px 10px !important;
    }

    .rhpc-price-table tr {
        grid-template-columns: 24px 58px minmax(0,1fr) auto !important;
        column-gap: 6px !important;
        padding: 8px 7px !important;
        font-size: 12px !important;
    }

    .rhpc-price-table td:nth-child(5) {
        font-size: 10px !important;
    }

    .rhpc-total__line {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }

    .rhpc-total__line strong,
    .rhpc-total__line [data-rhpc-unit] {
        text-align: left !important;
    }

    .rhpc-floating-total__inner strong {
        font-size: 16px !important;
    }
}

/* v1.3.75: uitsluitend full-colour informatieblok sublimatie */
.rhpc-full-colour-info{display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;align-items:center;padding:14px 16px;border:1px solid #dedede;background:#fff}
.rhpc-full-colour-info__image{display:block;width:100%;max-width:120px;height:auto;border:1px solid #ececec;background:#fff}
.rhpc-full-colour-info__copy strong{display:block;margin:0 0 6px;color:#222;font-size:16px;line-height:1.3}
.rhpc-full-colour-info__copy p{margin:0;color:#666;font-size:14px;line-height:1.6}
@media(max-width:560px){.rhpc-full-colour-info{grid-template-columns:1fr;padding:14px}.rhpc-full-colour-info__image{max-width:96px}}

/* v1.3.77 — zelfstandige randkleurkeuze bij sublimatie */
.rhpc-edge-mode-grid{margin:0 0 12px;}
.rhpc-edge-mode-grid .rhpc-choice strong{font-weight:700;}
[data-rhpc-edge-picker-row][hidden], [data-rhpc-edge-picker-note][hidden], [data-rhpc-edge-warning][hidden]{display:none!important;}
.rhpc-edge-mode-warning{margin:12px 0 0;color:#a32023;font-size:13px;font-weight:600;line-height:1.5;}


/* v1.3.110 — Groene prijsbalk, passend bij de groene calculatoraccenten.
 * Een donkere groentint houdt de bedragen ook bij zonlicht goed leesbaar. */
.rhpc-floating-total__inner {
    background: #237645 !important;
    color: #fff !important;
    box-shadow: 0 10px 34px rgba(12, 70, 37, .24);
}
.rhpc-floating-total__inner span { color: rgba(255,255,255,.9) !important; }
.rhpc-floating-total__inner strong,
.rhpc-floating-total__inner small,
.rhpc-floating-total__inner p { color: #fff !important; }
.rhpc-floating-total__inner p::before { color: #e5f8dc !important; }

/* Desktop blijft ongewijzigd. Tablet/telefoon: bedieningsknoppen staan
 * 12px boven de prijsbalk. --rhpc-float-clearance wordt dynamisch gemeten
 * en is inclusief de ruimte onder de balk zelf. */
@media (max-width: 1024px) {
    html body.rhpc-pricebar-visible .rh-cookie__reopen,
    html body.rhpc-pricebar-visible .cw26-to-top {
        bottom: calc(var(--rhpc-float-clearance, 110px) + 12px) !important;
    }
}
@media (max-width: 600px) {
    html body.rhpc-pricebar-visible .rh-cookie__reopen {
        left: 12px !important;
        max-width: calc(100vw - 90px);
        padding: 8px 10px !important;
        font-size: 10px !important;
        line-height: 1.1 !important;
    }
    html body.rhpc-pricebar-visible .cw26-to-top {
        right: 12px !important;
        width: 36px !important;
        height: 36px !important;
    }
}


/* v1.3.111 — productietijd vervalt: tabel heeft nu radio, aantal, prijs en levering. */
.rhpc-price-table { min-width: 480px; }
@media (min-width: 701px) and (max-width: 820px) {
  .rhpc-price-table { min-width: 480px !important; }
}
@media (max-width: 700px) {
  .rhpc-price-table tr {
    grid-template-columns: 25px minmax(52px, 1fr) auto !important;
    grid-template-areas: "radio qty price" ". delivery delivery" !important;
  }
  .rhpc-price-table td:nth-child(3) {
    grid-area: price !important;
    text-align: right !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  .rhpc-price-table td:nth-child(4) {
    grid-area: delivery !important;
    padding-top: 2px !important;
    text-align: left !important;
    white-space: normal !important;
    font-size: 11px !important;
  }
}
@media (max-width: 420px) {
  .rhpc-price-table tr { grid-template-columns: 22px minmax(44px,1fr) auto !important; }
  .rhpc-price-table td:nth-child(4) { font-size: 10px !important; }
}

/* v1.3.111 — tablet- en mobiele knoppen contrastrijk (zwart/wit).
 * Extra high-specificity CSS omdat footer/cookie CSS inline later laadt. */
@media (max-width: 1024px), (max-width: 1366px) and (pointer: coarse) {
  html body.rhpc-pricebar-visible .rh-cookie__reopen,
  html body.rhpc-pricebar-visible .cw26-to-top {
    bottom: calc(var(--rhpc-float-clearance, 110px) + 14px) !important;
    background: #111111 !important;
    border: 1px solid #111111 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 15px rgba(0,0,0,.16) !important;
  }
  html body.rhpc-pricebar-visible .rh-cookie__reopen:hover,
  html body.rhpc-pricebar-visible .rh-cookie__reopen:focus-visible,
  html body.rhpc-pricebar-visible .cw26-to-top:hover,
  html body.rhpc-pricebar-visible .cw26-to-top:focus-visible {
    background: #252525 !important;
    color: #ffffff !important;
    border-color: #252525 !important;
  }
  html body.rhpc-pricebar-visible .cw26-to-top__icon,
  html body.rhpc-pricebar-visible .cw26-to-top__icon path {
    color: #ffffff !important;
    stroke: currentColor !important;
  }
}


/* v1.3.112 — alléén tablets met zichtbare calculatorprijsbalk.
 * Uitlijning in pixels wordt vanuit de echte balkranden gezet door JS.
 * Niet actief op telefoon of desktop; v1.3.111-mobielregels blijven staan. */
html body.rhpc-pricebar-visible.rhpc-tablet-aligned .rh-cookie__reopen,
html body.rhpc-pricebar-visible.rhpc-tablet-aligned .cw26-to-top {
    position: fixed !important;
    min-height: 40px !important;
    box-sizing: border-box !important;
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
    box-shadow: 0 3px 15px rgba(0,0,0,.16) !important;
}
html body.rhpc-pricebar-visible.rhpc-tablet-aligned .rh-cookie__reopen:not([hidden]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}
html body.rhpc-pricebar-visible.rhpc-tablet-aligned .cw26-to-top__icon,
html body.rhpc-pricebar-visible.rhpc-tablet-aligned .cw26-to-top__icon path {
    color: #fff !important;
    stroke: currentColor !important;
}


/* v1.3.113 — tabletkleur en -geometrie onafhankelijk van oudere footerstijlen.
 * De JS zet dezelfde eigenschappen inline met !important, zodat zelfs
 * styles die na het calculatorstylesheet worden geïnjecteerd niet winnen. */
html body.rhpc-tablet-aligned .rh-cookie__reopen:not([hidden]),
html body.rhpc-tablet-aligned .cw26-to-top {
    position: fixed !important;
    background: #111111 !important;
    border: 1px solid #111111 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 15px rgba(0,0,0,.16) !important;
    min-height: 40px !important;
}
html body.rhpc-tablet-aligned .cw26-to-top__icon,
html body.rhpc-tablet-aligned .cw26-to-top__icon path {
    color: #fff !important;
    stroke: #fff !important;
}

/* Beanies: verberg eenmalige proeftoeslag bij digitale proef. */
.rhpc [data-rhpc-sample-line][hidden]{display:none!important;}


/* v1.3.238 — toetsenbordbediening in alle emblemen- en beaniecalculators. */
.rhpc [hidden]{display:none!important;}
.rhpc button:focus-visible,.rhpc tr[data-qty]:focus-visible,.rhpc input:focus-visible,.rhpc select:focus-visible,.rhpc textarea:focus-visible{outline:2px solid #bd252b!important;outline-offset:3px;}
.rhpc .rhpc-custom-quantity__check input:focus-visible+i{outline:2px solid #bd252b;outline-offset:3px;}
.rhpc button,.rhpc input,.rhpc select,.rhpc textarea,.rhpc tr[data-qty]{scroll-margin-top:120px;scroll-margin-bottom:130px;}
