.hod-keks{--hk-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--hk-ink:#252521;--hk-muted:#716c64;--hk-line:#e8e0d4;--hk-gold:#b99b6d;--hk-soft:#f8f4ed;--hk-white:#fff;color:var(--hk-ink);font-family:var(--hk-font);line-height:1.5;max-width:1240px;margin:24px auto;background:#fff;border:1px solid var(--hk-line);border-radius:22px;overflow:hidden;box-shadow:0 14px 55px #2d211409;text-align:left;isolation:isolate}
.hod-keks *{box-sizing:border-box;min-width:0;font-family:var(--hk-font)!important}.hod-keks [hidden]{display:none!important}.hod-keks h2,.hod-keks h3,.hod-keks p{margin:0;color:inherit}.hod-keks button,.hod-keks input,.hod-keks label{font-family:inherit}.hod-keks button{cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:normal;font-weight:600;line-height:1.3;white-space:normal;min-height:44px;margin:0;padding:10px 13px;background:white;border:1px solid var(--hk-line);border-radius:10px;color:var(--hk-ink);font-size:13px;transition:background .15s,border-color .15s;touch-action:manipulation}.hod-keks button:hover,.hod-keks button[aria-pressed=true]{background:#f0e6d7;border-color:var(--hk-gold)}.hod-keks button:focus-visible,.hod-keks input:focus-visible,.hod-keks label:focus-within{outline:3px solid #94764d;outline-offset:3px}.hod-keks button:disabled{opacity:.45;cursor:not-allowed}.hod-keks input{margin:0;color:var(--hk-ink);box-shadow:none}.hk-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:30px 32px 25px;border-bottom:1px solid var(--hk-line);background:linear-gradient(115deg,#fff,#fbf7ef)}.hk-eyebrow{display:block;font-size:10px;letter-spacing:.17em;color:#88704d;font-weight:700;margin-bottom:8px}.hod-keks h2{font-size:clamp(24px,3vw,35px);font-weight:700;line-height:1.15;margin-bottom:10px}.hk-header p{font-size:14px;color:var(--hk-muted)}.hk-badge{flex-shrink:0;font-size:10px;letter-spacing:.07em;border:1px solid #dccdb6;color:#7e6744;background:#f5eddf;padding:6px 9px;border-radius:20px}.hk-layout{display:grid;grid-template-columns:340px minmax(0,1fr)}.hk-controls{padding:25px 26px;border-right:1px solid var(--hk-line)}.hk-step{display:flex;gap:10px;align-items:center;margin:0 0 14px}.hk-step:not(:first-child){margin-top:27px}.hk-step>span{border-radius:50%;background:#f1e9dd;color:#8a6a3e;width:26px;height:26px;text-align:center;font-size:12px;line-height:26px;font-weight:700}.hod-keks h3{font-size:16px;line-height:1.3;font-weight:700}.hk-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:14px}.hod-keks .hk-presets button{font-size:25px;padding:6px 0 8px;min-height:70px;font-weight:400}.hk-presets small{display:block;font-size:10px;margin-top:3px;font-weight:600}.hk-upload{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px;border:1px dashed var(--hk-gold);border-radius:10px;background:#faf7f1;font-size:13px;font-weight:600;position:relative;cursor:pointer;text-align:center}.hk-file,.hk-design-file{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;overflow:hidden}.hod-keks .hk-hint{font-size:11px;line-height:1.55;color:var(--hk-muted);margin-top:9px}.hk-tools{display:flex;gap:8px;margin-top:12px}.hk-tools>*{flex:1;text-align:center}.hod-keks .hk-tools button,.hk-load{font-size:11px;padding:10px 7px}.hk-load{border:1px solid var(--hk-line);border-radius:10px;display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;min-height:44px;font-weight:600}.hk-size-label{display:flex;justify-content:space-between;align-items:center;gap:7px;font-size:12px;font-weight:600}.hk-size-label>span{display:flex;align-items:center;gap:5px}.hod-keks .hk-width{height:38px;border:1px solid var(--hk-line);border-radius:7px;max-width:75px;min-width:60px;padding:5px 7px;background:white;font-size:14px}.hod-keks .hk-range{width:100%;accent-color:var(--hk-gold);margin:14px 0 10px;height:24px;cursor:pointer}.hod-keks .hk-dimensions{font-size:12px;font-weight:600;min-height:36px}.hod-keks .hk-demo-note{font-size:12px;color:var(--hk-muted);margin-bottom:14px;line-height:1.6}.hod-keks .hk-primary{display:block;width:100%;background:#292821;color:#fff;border-color:#292821;padding:14px 12px;min-height:50px}.hod-keks .hk-primary:hover{background:#554733;color:white}.hk-preview-column{padding:20px;background:#fdfcf9;display:flex;flex-direction:column}.hk-preview-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.hk-tabs{display:flex;gap:5px}.hod-keks .hk-tabs button{font-size:12px;padding:9px 12px}.hod-keks .hk-reset{font-size:10px;background:none;border-color:transparent;padding:8px}.hk-stage{height:460px;background:radial-gradient(ellipse at center,#fffefa,#eee7db);border:1px solid #e8dfd0;border-radius:15px;position:relative;overflow:hidden}.hk-webgl,.hk-canvas{display:block;width:100%;height:100%}.hk-webgl canvas{display:block;max-width:100%;height:100%;touch-action:pan-y;cursor:grab}.hk-webgl canvas:active{cursor:grabbing}.hk-canvas{touch-action:none;cursor:crosshair}.hk-stage-label{position:absolute;left:12px;right:12px;bottom:12px;font-size:11px;color:#877c6c;text-align:center;pointer-events:none}.hk-status{font-size:12px;color:#4a6753;background:#eef3ed;border:1px solid #dce6d9;padding:11px 13px;border-radius:9px;margin-top:12px;min-height:42px}.hk-status.hk-error{color:#8e372b;background:#fff0ec;border-color:#edc8bf}.hk-facts{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 25px;margin-top:18px;font-size:11px;color:var(--hk-muted)}.hk-dot{display:inline-block;width:7px;height:7px;background:var(--hk-gold);border-radius:50%;margin-right:5px}.hk-draw-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.hk-draw-actions p{flex-basis:100%;font-size:11px;color:var(--hk-muted)}.hk-footer{border-top:1px solid var(--hk-line);padding:14px 26px;font-size:10px;color:#837767;background:#faf7f1;line-height:1.6}
@media(min-width:1000px){.hk-preview-column{padding:25px}.hk-stage{height:500px}}
@media(max-width:800px){.hk-layout{grid-template-columns:280px minmax(0,1fr)}.hk-controls{padding:20px 16px}.hk-preview-column{padding:15px}.hk-preview-bar{flex-wrap:wrap}.hk-stage{height:400px}.hk-header{padding:24px}}
@media(max-width:640px){.hod-keks{margin:12px 0;border-radius:14px}.hk-header{padding:21px 18px;gap:12px;flex-wrap:wrap}.hk-header p{font-size:12px}.hk-badge{font-size:9px;padding:4px 8px}.hk-layout{display:flex;flex-direction:column}.hk-preview-column{order:0;padding:14px}.hk-controls{order:1;border-right:0;border-top:1px solid var(--hk-line);padding:20px}.hk-stage{height:320px}.hk-preview-bar{gap:5px;flex-wrap:nowrap}.hod-keks .hk-tabs button{font-size:11px;padding:8px 10px}.hod-keks .hk-reset{font-size:9px;max-width:85px}.hk-presets{gap:8px}.hod-keks .hk-presets button{font-size:29px}.hk-presets small{font-size:11px}.hk-size-label{font-size:13px}.hk-facts{gap:9px 18px;margin-top:13px;font-size:10px}.hk-footer{padding:13px 18px}.hod-keks .hk-hint{font-size:12px}.hk-step:not(:first-child){margin-top:24px}.hk-tools{gap:10px}.hod-keks .hk-tools button,.hk-load{font-size:12px}.hk-status{font-size:11px}}
@media(prefers-reduced-motion:reduce){.hod-keks button{transition:none}}
.hk-environments{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px}.hk-environments>span{font-size:11px;color:var(--hk-muted)}.hk-environments>div{display:flex;gap:5px}.hod-keks .hk-environments button{font-size:11px;min-height:38px;padding:8px 13px}.hk-stage-label{width:fit-content;max-width:calc(100% - 24px);margin:0 auto;padding:5px 10px;border-radius:20px;background:#fffaf0d9;color:#6c604e;backdrop-filter:blur(4px)}
@media(max-width:800px){.hod-keks .hk-environments button{padding:8px 10px;font-size:10px}.hk-environments{gap:7px}}
@media(max-width:640px){.hk-environments{margin-bottom:10px}.hod-keks .hk-environments button{padding:10px 12px;min-height:44px;font-size:11px}.hk-environments>span{font-size:10px}}
.hk-orientation{display:flex;align-items:center;gap:6px;margin:0 0 12px}.hk-orientation>span{font-size:11px;color:var(--hk-muted);margin-right:auto}.hod-keks .hk-orientation button{font-size:11px;min-height:38px;padding:8px 13px}.hk-quantity-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.hod-keks .hk-quantity{max-width:80px;height:40px;padding:5px 8px;border:1px solid var(--hk-line);border-radius:7px}.hk-price-box{background:#f5efe4;border:1px solid var(--hk-line);padding:14px;border-radius:10px;display:flex;flex-direction:column;gap:4px;margin:13px 0}.hk-price-total{font-size:23px;line-height:1.25}.hk-price-unit{font-size:12px}.hk-price-note,.hk-price-detail{font-size:10px;color:var(--hk-muted)}.hk-commerce-message{font-size:11px;color:var(--hk-muted);margin:8px 0 12px!important}.hod-keks [data-action="stl"]{font-size:11px;background:#fff;color:var(--hk-ink);border-color:var(--hk-line);margin-top:10px}
@media(max-width:640px){.hod-keks .hk-orientation button{min-height:44px;padding:10px 12px}.hk-orientation>span{font-size:10px}.hk-price-note,.hk-price-detail{font-size:11px}}
/* 0.3 · calm HOD product layout and motif tools */
.hk-header{background:linear-gradient(120deg,#faf5ed,#eee2cf);padding:30px 32px}.hk-header p{max-width:610px}.hk-process{display:flex;justify-content:center;gap:32px;padding:16px 24px;border-bottom:1px solid var(--hk-line);font-size:12px;color:#5d5346;background:#fffcf7}.hk-process span{display:flex;gap:8px;align-items:center}.hk-process b{display:grid;place-items:center;border:1px solid #d7c39f;border-radius:50%;width:24px;height:24px;color:#8b693b;font-size:11px}.hk-gallery{padding:0 26px;border-bottom:1px solid var(--hk-line);background:#faf7f1}.hk-gallery>summary{cursor:pointer;font-weight:650;font-size:14px;padding:17px 0;color:var(--hk-ink)}.hk-gallery>summary>span{display:inline-block;font-size:10px;margin-left:10px;color:#80643e;font-weight:500}.hk-categories{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}.hod-keks .hk-categories button{border-radius:24px;font-size:11px;padding:7px 15px;min-height:36px}.hk-motif-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding-bottom:22px}.hod-keks .hk-motif-list button{display:flex;flex-direction:column;align-items:center;gap:4px;background:linear-gradient(145deg,#fffdf7,#eee0c9);padding:12px;min-height:126px;border-color:#e0d0b8;font-size:12px}.hk-motif-list svg{width:90px;height:90px;max-width:100%}.hk-motif-outline{fill:#edd4a5;stroke:#9c7945;stroke-width:2;stroke-linejoin:round}.hk-motif-line{fill:none;stroke:#8c6534;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hod-keks .hk-motif-list button:hover{border-color:#8d6c3d;background:#ecddc4}.hk-variants{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.hod-keks .hk-variants button{text-align:left;display:flex;flex-direction:column;gap:6px;padding:12px 10px;font-size:12px;min-height:80px}.hk-variants small{font-size:10px;font-weight:400;line-height:1.4;color:#776951}.hk-relief-tools{margin-top:16px;padding:13px;border:1px solid #e0cfb1;border-radius:12px;background:#fbf5e9}.hk-relief-count{font-size:11px;color:#806137;margin-bottom:10px!important}.hod-keks [data-action="reliefdraw"]{width:100%;font-size:12px}.hk-relief-tools .hk-tools{margin-top:7px}.hod-keks .hk-relief-tools .hk-tools button{font-size:10px;padding:8px 5px;min-height:38px}.hk-xray-label{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:11px;margin:0 0 12px;color:#705e46;cursor:pointer}.hod-keks .hk-xray{width:16px;height:16px;accent-color:#9c7945}.hk-xray-label small{font-size:9px;color:#8c8170}.hk-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px 26px;border-top:1px solid var(--hk-line);background:#fcfaf6}.hk-info details{background:white;border:1px solid var(--hk-line);border-radius:12px;padding:12px 14px;align-self:start}.hk-info summary{font-size:12px;font-weight:650;cursor:pointer}.hk-info details p{font-size:12px;line-height:1.65;color:var(--hk-muted);margin-top:12px}.hod-keks summary:focus-visible{outline:3px solid #94764d;outline-offset:3px;border-radius:4px}
@media(min-width:1000px){.hk-layout{grid-template-columns:365px minmax(0,1fr)}.hk-preview-column{position:sticky;top:20px;align-self:start}.hk-stage{height:520px}}
@media(max-width:800px){.hk-process{gap:15px;font-size:11px}.hk-info{grid-template-columns:1fr}.hk-gallery{padding:0 18px}.hk-motif-list{gap:8px}.hk-motif-list svg{height:65px}.hod-keks .hk-motif-list button{font-size:11px;min-height:100px;padding:8px}}
@media(max-width:640px){.hk-process{padding:12px 10px;gap:12px;font-size:10px;align-items:flex-start}.hk-process span{flex-direction:column;gap:5px;text-align:center;flex:1}.hk-process b{width:23px;height:23px}.hk-gallery>summary{font-size:12px;padding:14px 0}.hk-gallery>summary>span{display:none}.hk-motif-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hk-categories{gap:5px}.hod-keks .hk-categories button{font-size:10px;padding:8px 11px;min-height:40px}.hk-info{padding:15px;gap:8px}.hk-stage{height:340px}.hk-header{padding:23px 18px}.hk-variants small{font-size:11px}.hk-relief-count{font-size:12px}.hk-xray-label{font-size:11px}.hk-xray-label small{font-size:10px}}

/* Logo import stays in the configurator; model colour is white. */
.hod-keks .hk-logo-upload{margin-top:8px;border-style:solid;background:#eee5d7;border-color:#c5af8a}.hk-logo-file{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;overflow:hidden}.hod-keks .hk-logo-note{padding:10px 12px;background:#f3efe7;border:1px solid #ded1ba;border-radius:9px;color:#63573f;font-size:11px}

.hk-relief-modes{display:grid;grid-template-columns:1fr 1fr;gap:7px}.hod-keks .hk-relief-modes button{width:100%;font-size:11px;padding:10px 7px;min-height:46px}.hod-keks [data-action="invert"][aria-pressed="true"]{background:#dfd0b6;border-color:#9c7945;color:#44351e}

/* 0.3.3 · photo hero and readable UI typography, scoped to this configurator. */
.hod-keks{font-size:15px;--hk-muted:#5d584f}
.hod-keks .hk-header{
    position:relative;min-height:250px;padding:38px 34px;align-items:center;
    background-color:#faf5ed;
    background-image:linear-gradient(90deg,#faf5ed 0%,#faf5ed 37%,rgba(250,245,237,.96) 48%,rgba(250,245,237,.65) 62%,rgba(250,245,237,0) 82%),url("banner-cookie-star-v1.webp");
    background-size:100% 100%,auto 100%;background-position:center,right center;background-repeat:no-repeat;
}
.hod-keks .hk-header-copy{position:relative;max-width:65%;z-index:1}
.hod-keks .hk-eyebrow{font-size:12px;line-height:1.5;letter-spacing:.12em;color:#735936}
.hod-keks .hk-header h2{font-size:clamp(30px,3.5vw,42px);line-height:1.16;margin-bottom:14px;letter-spacing:-.025em}
.hod-keks .hk-header p{font-size:16px;line-height:1.55;color:#4f493f;max-width:54ch}
.hod-keks .hk-badge{position:absolute;top:14px;right:16px;font-size:12px;line-height:1.35;background:#fffaf0ed;z-index:2}
.hod-keks button{font-size:15px;line-height:1.4}
.hod-keks small{font-size:14px;line-height:1.5}
.hod-keks h3{font-size:18px;line-height:1.35}
.hod-keks .hk-step>span{font-size:14px;flex-shrink:0}
.hod-keks .hk-variants button{font-size:16px;padding:14px 12px;min-height:108px;gap:8px}
.hod-keks .hk-variants b{font-size:16px;line-height:1.3;font-weight:700}
.hod-keks .hk-variants small{font-size:14px;line-height:1.45;color:#5e5446}
.hod-keks .hk-presets{gap:6px}
.hod-keks .hk-presets button{min-height:82px;font-size:28px;line-height:1.2}
.hod-keks .hk-presets small{font-size:14px;line-height:1.35;margin-top:7px}
.hod-keks .hk-upload{font-size:15px;line-height:1.45;min-height:52px;padding:12px}
.hod-keks .hk-hint,.hod-keks .hk-demo-note,.hod-keks .hk-logo-note{font-size:14px;line-height:1.6}
.hod-keks .hk-tools button,.hod-keks .hk-load{font-size:14px;line-height:1.4;padding:11px 8px;min-height:46px}
.hod-keks .hk-size-label,.hod-keks .hk-quantity-label{font-size:15px;line-height:1.5}
.hod-keks .hk-width,.hod-keks .hk-quantity{font-size:16px;height:44px}
.hod-keks .hk-dimensions{font-size:14px;line-height:1.5}
.hod-keks .hk-primary{font-size:15px}
.hod-keks [data-action="stl"]{font-size:14px;line-height:1.5}
.hod-keks .hk-preview-bar{flex-wrap:wrap;gap:8px}
.hod-keks .hk-tabs{flex-wrap:wrap;gap:6px}
.hod-keks .hk-tabs button{font-size:14px;padding:10px 12px;min-height:44px}
.hod-keks .hk-reset{font-size:14px;line-height:1.4;max-width:none;min-height:44px;margin-left:auto;padding:8px}
.hod-keks .hk-environments{flex-wrap:wrap;gap:8px 12px}
.hod-keks .hk-environments>span,.hod-keks .hk-orientation>span{font-size:14px;line-height:1.4;flex-shrink:0}
.hod-keks .hk-environments>div{flex-wrap:wrap;gap:6px}
.hod-keks .hk-environments button,.hod-keks .hk-orientation button{font-size:14px;min-height:44px;padding:10px 12px}
.hod-keks .hk-orientation{flex-wrap:wrap}
.hod-keks .hk-xray-label,.hod-keks .hk-xray-label small{font-size:14px;line-height:1.5;color:#67563e}
.hod-keks .hk-stage-label{font-size:14px;line-height:1.4;color:#5b5041}
.hod-keks .hk-status{font-size:14px;line-height:1.55}
.hod-keks .hk-facts{font-size:14px;line-height:1.5;gap:10px 20px}
.hod-keks .hk-draw-actions p{font-size:14px;line-height:1.5}
.hod-keks .hk-price-total{font-size:26px;line-height:1.25}
.hod-keks .hk-price-unit{font-size:15px;line-height:1.4}
.hod-keks .hk-price-note,.hod-keks .hk-price-detail,.hod-keks .hk-commerce-message{font-size:14px;line-height:1.55}
.hod-keks .hk-process{font-size:14px;line-height:1.4;gap:18px 30px;flex-wrap:wrap}
.hod-keks .hk-process b{font-size:13px;flex-shrink:0}
.hod-keks .hk-gallery>summary{font-size:15px;line-height:1.5}
.hod-keks .hk-gallery>summary>span{font-size:14px;line-height:1.5}
.hod-keks .hk-categories button{font-size:14px;min-height:44px;padding:9px 14px}
.hod-keks .hk-motif-list button{font-size:14px;line-height:1.4}
.hod-keks .hk-relief-count{font-size:14px;line-height:1.5}
.hod-keks .hk-relief-tools .hk-tools button,.hod-keks .hk-relief-modes button{font-size:14px;line-height:1.4;padding:10px 8px;min-height:48px}
.hod-keks .hk-info summary{font-size:15px;line-height:1.5}
.hod-keks .hk-info details p{font-size:14px;line-height:1.65}
.hod-keks .hk-footer{font-size:13px;line-height:1.6;color:#675b4a}
@media(min-width:641px) and (max-width:800px){
    .hod-keks .hk-variants{grid-template-columns:1fr}
    .hod-keks .hk-header-copy{max-width:70%}
    .hod-keks .hk-header{padding:40px 26px;min-height:260px}
}
@media(max-width:640px){
    .hod-keks .hk-header{display:block;min-height:0;padding:26px 20px 156px;
        background-image:linear-gradient(180deg,#faf5ed 0%,#faf5ed calc(100% - 156px),rgba(250,245,237,0) calc(100% - 126px)),url("banner-cookie-star-v1.webp");
        background-size:100% 100%,auto 156px;background-position:center,right bottom;
    }
    .hod-keks .hk-header-copy{max-width:100%}
    .hod-keks .hk-header h2{font-size:30px;margin-bottom:12px}
    .hod-keks .hk-header p{font-size:15px}
    .hod-keks .hk-badge{top:auto;right:auto;left:18px;bottom:12px}
    .hod-keks .hk-process{gap:12px;font-size:14px;padding:14px 12px;flex-wrap:nowrap}
    .hod-keks .hk-process span{min-width:0}
    .hod-keks .hk-variants{gap:8px}
    .hod-keks .hk-variants button{padding:13px 10px}
    .hod-keks .hk-presets small{font-size:14px}
    .hod-keks .hk-presets{gap:6px}
    .hod-keks .hk-stage{height:360px}
    .hod-keks .hk-stage-label{font-size:14px;max-width:calc(100% - 16px);left:8px;right:8px;bottom:8px}
    .hod-keks .hk-relief-tools{padding:12px}
}

@media(max-width:360px){.hod-keks .hk-presets{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:641px) and (max-width:999px){.hod-keks .hk-variants{grid-template-columns:1fr}}
@media(max-width:360px){.hod-keks .hk-variants{grid-template-columns:1fr}}
.hod-keks .hk-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}

/* 0.3.4 · two-tone banner title with an accessible cookie letter. */
.hod-keks .hk-header .hk-title-idea{display:block;color:#493326}
.hod-keks .hk-header .hk-title-form{display:block;color:#245b46}
.hod-keks .hk-title-word{white-space:nowrap}
.hod-keks .hk-cookie-letter{display:inline-block;position:relative;width:.66em;height:.66em;margin:0 .015em;vertical-align:-.025em}
.hod-keks .hk-cookie-letter svg{display:block;width:100%;height:100%;max-width:none;overflow:visible}
.hod-keks .hk-cookie-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}

/* 0.3.6 · HOD product layout: live preview, clear price and calm selection controls. */
.hod-keks{--hk-green:#245b46;--hk-green-soft:#edf3ef;--hk-brown:#493326;--hk-price:#9a452d;background:#faf7f1;overflow:clip}
.hod-keks .hk-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,440px);align-items:start;gap:30px;padding:30px}
.hod-keks .hk-preview-column{position:sticky;top:24px;align-self:start;padding:0;background:transparent;border:0;order:0}
.hod-keks .hk-controls{padding:25px;background:#fffdf9;border:1px solid var(--hk-line);border-radius:20px;order:1}
.hod-keks .hk-product-heading{margin-bottom:20px}
.hod-keks .hk-kicker{display:block;color:var(--hk-green);font-size:12px;font-weight:750;letter-spacing:.12em;margin-bottom:8px;line-height:1.5}
.hod-keks .hk-product-heading h3{font-size:29px;line-height:1.2;letter-spacing:-.025em;color:var(--hk-brown);margin:0 0 10px}
.hod-keks .hk-product-heading p{font-size:15px;line-height:1.6;color:var(--hk-muted)}
.hod-keks .hk-price-box{margin:0 0 24px;padding:18px 0 20px;border:0;border-bottom:1px solid var(--hk-line);border-radius:0;background:transparent;gap:5px}
.hod-keks .hk-price-caption{font-size:14px;font-weight:650;color:var(--hk-brown)}
.hod-keks .hk-price-total{display:block;font-size:32px;line-height:1.2;letter-spacing:-.02em;color:var(--hk-price);font-variant-numeric:tabular-nums;overflow-wrap:break-word}
.hod-keks .hk-price-unit{font-size:16px;color:var(--hk-brown)}
.hod-keks .hk-price-note,.hod-keks .hk-price-detail{color:var(--hk-muted);font-size:14px;line-height:1.5}
.hod-keks .hk-step{margin:0 0 14px;gap:10px}
.hod-keks .hk-step:not(:first-child){margin-top:26px}
.hod-keks .hk-price-box+.hk-step{margin-top:0}
.hod-keks .hk-step>span{width:27px;height:27px;line-height:27px;background:var(--hk-green-soft);color:var(--hk-green);font-weight:700}
.hod-keks .hk-step h3{font-size:18px;color:var(--hk-brown)}
.hod-keks button{border-radius:12px;transition:background .15s,border-color .15s,color .15s}
.hod-keks button:hover,.hod-keks button[aria-pressed=true]{background:var(--hk-green-soft);border-color:var(--hk-green);color:var(--hk-green)}
.hod-keks button:focus-visible,.hod-keks input:focus-visible,.hod-keks label:focus-within,.hod-keks summary:focus-visible{outline:3px solid #7b9c89;outline-offset:3px}
.hod-keks button:disabled{opacity:.55}
.hod-keks .hk-variants{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}
.hod-keks .hk-variants button{position:relative;min-height:104px;padding:17px 12px 13px;background:#fff;border-color:#d9ccba;gap:7px}
.hod-keks .hk-variants button[aria-pressed=true]{background:var(--hk-green-soft);border-color:var(--hk-green);box-shadow:inset 0 0 0 1px var(--hk-green)}
.hod-keks .hk-variants button[aria-pressed=true]::after{content:'✓';position:absolute;top:5px;right:7px;font-size:12px;line-height:17px;width:17px;height:17px;border-radius:50%;text-align:center;color:white;background:var(--hk-green)}
.hod-keks .hk-variants b{font-size:16px;color:var(--hk-brown)}
.hod-keks .hk-variants small{color:#5d584f}
.hod-keks .hk-presets{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.hod-keks .hk-presets button{min-height:78px;padding:10px 3px;background:#fff;font-size:26px}
.hod-keks .hk-presets button[aria-pressed=true]{border-color:var(--hk-green);background:var(--hk-green-soft)}
.hod-keks .hk-presets small{font-size:14px;font-weight:600}
.hod-keks .hk-upload{min-height:58px;border:1px dashed #b49a75;border-radius:13px;background:#f8f1e6;color:var(--hk-brown);font-weight:650}
.hod-keks .hk-logo-upload{border-style:solid;border-color:#d7c2a1;background:#ebdec8;margin-top:10px}
.hod-keks .hk-upload:hover,.hod-keks .hk-load:hover{border-color:var(--hk-green);background:var(--hk-green-soft)}
.hod-keks .hk-width{border-radius:10px}
.hod-keks .hk-range{accent-color:var(--hk-green)}
.hod-keks .hk-dimensions{min-height:0;color:var(--hk-brown)}
.hod-keks .hk-quantity-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.hod-keks .hk-quantity-label{display:block;font-size:15px;color:var(--hk-brown)}
.hod-keks .hk-quantity-control{display:flex;align-items:center;flex-shrink:0;border:1px solid #d9ccba;border-radius:28px;background:#fff;overflow:hidden}
.hod-keks .hk-quantity-control button{border:0;border-radius:0;padding:0;width:40px;min-height:46px;font-size:21px;color:var(--hk-green);background:transparent;flex-shrink:0}
.hod-keks .hk-quantity-control button:hover{background:var(--hk-green-soft)}
.hod-keks .hk-quantity-control .hk-quantity{width:52px;min-width:0;max-width:52px;height:46px;border:0;border-radius:0;text-align:center;padding:0 2px;font-size:17px;font-weight:700;background:transparent;appearance:textfield;-moz-appearance:textfield}
.hod-keks .hk-quantity::-webkit-inner-spin-button,.hod-keks .hk-quantity::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.hod-keks .hk-quantity-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:18px}
.hod-keks .hk-quantity-options button{font-size:14px;min-height:46px;padding:10px 3px;background:#fff;border-radius:11px}
.hod-keks .hk-quantity-options button[aria-pressed=true]{background:var(--hk-green-soft);border-color:var(--hk-green);color:var(--hk-green);box-shadow:inset 0 0 0 1px var(--hk-green)}
.hod-keks .hk-primary.hk-buy{min-height:56px;border-radius:30px;font-size:16px;background:var(--hk-green);border-color:var(--hk-green);color:#fff;margin-top:0}
.hod-keks .hk-primary.hk-buy:hover{background:#194332;border-color:#194332;color:#fff}
.hod-keks [data-action=stl]{border-radius:12px;background:#fff;border:1px solid #d9ccba;color:var(--hk-brown);margin-top:16px}
.hod-keks [data-action=stl]:hover{background:var(--hk-green-soft);border-color:var(--hk-green);color:var(--hk-green)}
.hod-keks .hk-commerce-message{margin:10px 0 0;color:var(--hk-muted)}
.hod-keks .hk-preview-bar{margin-bottom:14px}
.hod-keks .hk-tabs{background:#eee7db;padding:4px;border-radius:28px;gap:2px}
.hod-keks .hk-tabs button{border-radius:24px;border-color:transparent;background:transparent;min-height:42px;padding:9px 13px;color:var(--hk-brown)}
.hod-keks .hk-tabs button[aria-pressed=true]{background:#fff;border-color:#e2d9ca;color:var(--hk-green);box-shadow:0 2px 6px #4933260c}
.hod-keks .hk-environments,.hod-keks .hk-orientation{margin-bottom:10px}
.hod-keks .hk-environments button,.hod-keks .hk-orientation button{border-radius:22px;font-size:14px;padding:8px 12px;min-height:42px}
.hod-keks .hk-stage{height:500px;border-radius:20px;background:radial-gradient(ellipse at center,#fffcf6,#eee6d8);border-color:#e3d8c6}
.hod-keks .hk-stage-label{font-size:14px;line-height:1.4;max-width:calc(100% - 20px)}
.hod-keks .hk-status{background:#edf3ef;border-color:#d8e5dc;color:var(--hk-green);border-radius:12px}
.hod-keks .hk-status.hk-error{background:#fff0ec;border-color:#edc8bf;color:#8e372b}
.hod-keks .hk-facts{margin:16px 0 0;font-size:14px}
.hod-keks .hk-gallery{padding:0 16px;margin-top:24px;background:#fffdf9;border:1px solid var(--hk-line);border-radius:16px}
.hod-keks .hk-gallery>summary{padding:16px 0;font-size:15px;line-height:1.5;color:var(--hk-brown)}
.hod-keks .hk-gallery>summary>span{display:none}
.hod-keks .hk-motif-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-bottom:16px}
.hod-keks .hk-motif-list button{background:#f6efdf;border-color:#ded0b8;border-radius:14px;min-height:120px}
.hod-keks .hk-motif-list button:hover,.hod-keks .hk-motif-list button[aria-pressed=true]{background:var(--hk-green-soft);border-color:var(--hk-green)}
.hod-keks .hk-info{display:grid;grid-template-columns:1fr;gap:0;padding:0;margin-top:24px;background:transparent;border-top:1px solid var(--hk-line)}
.hod-keks .hk-info details{border:0;border-bottom:1px solid var(--hk-line);border-radius:0;padding:0;background:transparent}
.hod-keks .hk-info summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;font-size:15px;color:var(--hk-brown);list-style:none}
.hod-keks .hk-info summary::-webkit-details-marker{display:none}
.hod-keks .hk-info summary::after{content:'+';font-size:22px;font-weight:400;color:var(--hk-green);line-height:1}
.hod-keks .hk-info details[open]>summary::after{content:'−'}
.hod-keks .hk-info details p{font-size:14px;margin:0;padding:0 0 16px;line-height:1.65}
@media(max-width:1100px) and (min-width:961px){
    .hod-keks .hk-layout{grid-template-columns:minmax(0,1fr) 380px;gap:20px;padding:22px}
    .hod-keks .hk-controls{padding:20px}
    .hod-keks .hk-presets{grid-template-columns:repeat(3,minmax(0,1fr))}
    .hod-keks .hk-stage{height:460px}
}
@media(max-width:960px){
    .hod-keks .hk-layout{display:grid;grid-template-columns:1fr;gap:24px;padding:24px}
    .hod-keks .hk-preview-column{position:static;top:auto;order:0}
    .hod-keks .hk-controls{order:1;border:1px solid var(--hk-line);padding:25px}
    .hod-keks .hk-stage{height:440px}
    .hod-keks .hk-gallery{margin-top:20px}
    .hod-keks .hk-motif-list{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:640px){
    .hod-keks .hk-layout{padding:16px 12px;gap:20px}
    .hod-keks .hk-controls{padding:20px 16px;border-radius:17px}
    .hod-keks .hk-product-heading h3{font-size:27px}
    .hod-keks .hk-stage{height:360px}
    .hod-keks .hk-stage-label{left:8px;right:8px;bottom:8px;font-size:14px}
    .hod-keks .hk-price-total{font-size:30px}
    .hod-keks .hk-price-box{margin-bottom:22px}
    .hod-keks .hk-variants button{padding:20px 10px 12px;min-height:112px}
    .hod-keks .hk-presets{grid-template-columns:repeat(3,minmax(0,1fr))}
    .hod-keks .hk-quantity-row{flex-wrap:wrap}
    .hod-keks .hk-quantity-options{gap:6px}
    .hod-keks .hk-gallery{padding:0 12px}
    .hod-keks .hk-motif-list{grid-template-columns:repeat(2,minmax(0,1fr))}
    .hod-keks .hk-tabs button{font-size:14px;padding:9px 11px}
}
@media(max-width:360px){
    .hod-keks .hk-variants{grid-template-columns:1fr}
    .hod-keks .hk-quantity-options{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Keep the current price visible while choosing options further down the card. */
.hod-keks .hk-price-box{position:sticky;top:12px;z-index:3;background:#fffdf9;box-shadow:0 12px 16px -16px #49332655}
@media(max-height:600px){.hod-keks .hk-price-box{position:static}}

/* 0.3.7 · quantity and the current total form one purchase block. */
.hod-keks .hk-order-box{margin-top:26px;padding:20px 16px;border:1px solid #ddcfbb;border-radius:17px;background:#faf6ed}
.hod-keks .hk-order-box .hk-step{margin-top:0}
.hod-keks .hk-quantity-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}
.hod-keks .hk-order-box .hk-price-box{position:static;top:auto;z-index:auto;box-shadow:none;background:#fffdf9;border:1px solid #e4d8c7;border-radius:12px;padding:16px;margin:0 0 16px}
.hod-keks .hk-order-box .hk-price-total{font-size:30px}
@media(max-width:640px){.hod-keks .hk-order-box{padding:18px 12px}.hod-keks .hk-order-box .hk-price-total{font-size:28px}}
@media(max-width:360px){.hod-keks .hk-quantity-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 0.3.8 · sourced material information, separate from a finished-part approval. */
.hod-keks .hk-material-note{margin-top:16px;padding:14px;border:1px solid #d5dfd6;border-radius:12px;background:#f0f4ed;color:#334d3d}
.hod-keks .hk-material-note strong{display:block;font-size:15px;line-height:1.45;font-weight:700}
.hod-keks .hk-material-note p{font-size:14px;line-height:1.55;margin-top:7px;color:#4a554b}
.hod-keks .hk-info a{color:var(--hk-green);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.hod-keks .hk-info a:focus-visible{outline:3px solid #7b9c89;outline-offset:3px;border-radius:2px}

/* 0.3.10 · single-colour filament selection. */
.hod-keks .hk-color-section{margin-top:24px;padding-top:20px;border-top:1px solid var(--hk-line)}
.hod-keks .hk-color-title{font-size:15px;line-height:1.5;color:var(--hk-brown);margin-bottom:12px}
.hod-keks .hk-color-name{font-size:15px;font-weight:700}
.hod-keks .hk-color-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hod-keks .hk-color-options button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-height:85px;padding:12px 7px;font-size:14px;line-height:1.4;background:#fff}
.hod-keks .hk-color-options button[aria-pressed=true]{background:var(--hk-green-soft);border-color:var(--hk-green);box-shadow:inset 0 0 0 1px var(--hk-green)}
.hod-keks .hk-color-swatch{display:block;width:27px;height:27px;border:1px solid #9c9589;border-radius:50%;box-shadow:inset 0 1px 2px #ffffff60}
@media(max-width:360px){.hod-keks .hk-color-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Optional photo conversion: same spacing and type scale as the configurator. */
.hod-keks .hk-photo{margin:12px 0 16px;border:1px solid #d6c6ae;border-radius:14px;background:#f7f1e7;overflow:hidden}
.hod-keks .hk-photo summary{cursor:pointer;padding:16px;font-weight:700;font-size:16px;color:#245c49;line-height:1.4}
.hod-keks .hk-photo summary span{display:block;font-size:14px;font-weight:400;color:#665b4e;margin-top:3px}
.hod-keks .hk-photo-content{padding:0 16px 16px;min-width:0}
.hod-keks .hk-photo-content p{font-size:15px;line-height:1.55;margin:10px 0;overflow-wrap:anywhere}
.hod-keks .hk-photo .hk-hint{font-size:14px}
.hod-keks .hk-photo-field{display:flex;flex-direction:column;gap:6px;margin:14px 0;font-size:15px;font-weight:600}
.hod-keks .hk-photo-field select{display:block;width:100%;max-width:100%;height:auto;min-height:44px;padding:10px 30px 10px 12px;font-size:16px;line-height:1.4;border:1px solid #d6c6ae;border-radius:10px;background-color:#fff;color:#40352d}
.hod-keks .hk-photo-consent{display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.6;margin:15px 0}
.hod-keks .hk-photo-consent input{flex:none;width:18px;height:18px;margin:3px 0 0;accent-color:#245c49}
.hod-keks .hk-photo-content button{width:100%;margin:6px 0;white-space:normal;min-height:44px;font-size:15px;line-height:1.4;padding:12px 14px}
.hod-keks .hk-photo .hk-upload{position:relative}
.hod-keks .hk-photo-file{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.hod-keks .hk-photo .hk-primary{background:var(--hk-green,#245c49);border-color:var(--hk-green,#245c49);color:#fff}
.hod-keks .hk-photo .hk-primary:hover{background:#194332}
.hod-keks .hk-photo-input-image,.hod-keks .hk-photo-output-image{display:block;width:100%;height:auto;object-fit:contain;border-radius:10px;background:#fff}
.hod-keks .hk-photo-input-image{max-height:220px}
.hod-keks .hk-photo-result{border-top:1px solid #d6c6ae;padding-top:12px;margin-top:12px}
.hod-keks .hk-photo-status{color:#245c49}
.hod-keks .hk-photo-status.hk-error{color:#9b3b25}
.hod-keks .hk-photo [hidden]{display:none!important}
.hod-keks .hk-customer-note{padding:20px 28px;background:#edf4ef;border-bottom:1px solid #c5d7cc;color:#245c49}
.hod-keks .hk-customer-note strong{display:block;font-size:20px;overflow-wrap:anywhere}
.hod-keks .hk-customer-note p{font-size:15px;line-height:1.6;margin-top:7px}
.hod-keks .hk-share{margin:18px 0;border:1px solid #d6c6ae;border-radius:13px;background:#f8f3eb}
.hod-keks .hk-share summary{padding:15px;cursor:pointer;font-weight:700;font-size:16px;line-height:1.4;color:#245c49}
.hod-keks .hk-share-content{padding:0 15px 15px}
.hod-keks .hk-share-content p{font-size:14px;line-height:1.6;margin:10px 0;overflow-wrap:anywhere}
.hod-keks .hk-share-content label{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:600;margin:12px 0}
.hod-keks .hk-share-content input,.hod-keks .hk-share-content select{width:100%;max-width:100%;min-height:44px;padding:10px;border:1px solid #d6c6ae;border-radius:9px;background:#fff;color:#40352d;font-size:16px;line-height:1.4}
.hod-keks .hk-share-content button{width:100%;font-size:15px;margin:5px 0;min-height:44px}
.hod-keks .hk-share-content .hk-primary{background:#245c49;color:#fff;border-color:#245c49}
.hod-keks .hk-share-status{color:#245c49}

/* 0.3.14 – durchsuchbare Motivbibliothek. */
.hod-keks .hk-gallery>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.hod-keks .hk-gallery>summary strong{font-size:16px}
.hod-keks .hk-gallery>summary>.hk-motif-count{display:inline;font-size:12px;color:var(--hk-green);margin:0;font-weight:500}
.hod-keks .hk-gallery-tools{display:block;margin:0 0 12px}
.hod-keks .hk-motif-search-label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--hk-brown)}
.hod-keks .hk-motif-search{width:100%;height:45px;min-height:45px;padding:10px 13px;border:1px solid #d9c6ab;border-radius:10px;font-size:14px;background:#fff}
.hod-keks .hk-categories{margin-bottom:6px}
.hod-keks .hk-motif-results{font-size:12px;color:var(--hk-muted);margin:7px 0 10px}
.hod-keks .hk-motif-list{max-height:490px;overflow-y:auto;overscroll-behavior:contain;padding:3px 4px 13px 0}
.hod-keks .hk-motif-list button{min-height:136px;gap:5px;padding:10px 6px;justify-content:center}
.hod-keks .hk-motif-list button svg{width:90px;height:76px;max-width:100%;overflow:visible}
.hod-keks .hk-motif-list button span{font-weight:700;font-size:13px;line-height:1.25}
.hod-keks .hk-motif-list button small{font-size:11px;color:var(--hk-muted);line-height:1.25}
.hod-keks .hk-motif-outline{stroke-width:.013}
.hod-keks .hk-motif-line{stroke-width:.012;fill:none}
.hod-keks .hk-motif-region{fill:#b98d59b0;stroke:#8c6534;stroke-width:.009}
.hod-keks .hk-motif-empty{font-size:13px;color:var(--hk-muted);padding:0 0 14px}
@media(max-width:640px){.hod-keks .hk-gallery>summary>.hk-motif-count{display:block;font-size:12px}.hod-keks .hk-motif-list{max-height:430px}.hod-keks .hk-motif-list button{min-height:125px}}

/* 0.3.15 – motif composition: compact, accessible on mobile. */
.hod-keks .hk-combine{margin:16px 0 18px;padding:15px 16px;background:#f4f7f2;border:1px solid #c8d9cf;border-radius:15px;}
.hod-keks .hk-combine>summary{cursor:pointer;color:var(--hk-brown);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;line-height:1.35;}
.hod-keks .hk-combine>summary strong{font-size:15px;}
.hod-keks .hk-combine>summary span{font-size:11px;color:var(--hk-green);font-weight:650;}
.hod-keks .hk-combine>.hk-hint{margin:13px 0 11px;}
.hod-keks .hk-combine-upload{display:block;margin:0 0 12px;background:#fff;border-color:#b4cbbc;cursor:pointer;}
.hod-keks .hk-combine-library-row{margin-bottom:10px;}
.hod-keks .hk-combine-library-row>label{display:block;font-size:13px;font-weight:650;margin-bottom:6px;}
.hod-keks .hk-combine-library-row>div{display:flex;gap:7px;min-width:0;}
.hod-keks .hk-combine-motif{flex:1;min-width:0;max-width:100%;min-height:46px;background:#fff;border:1px solid #c7d3c8;border-radius:9px;padding:8px;font-size:13px;color:#353a32;}
.hod-keks .hk-combine-library-row button{min-height:46px;font-size:13px;padding:8px 12px;white-space:nowrap;}
.hod-keks .hk-combine-controls{display:grid;gap:12px;padding:13px 12px;margin-top:12px;background:#fff;border:1px solid #dae5dc;border-radius:12px;}
.hod-keks .hk-combine-controls[hidden]{display:none!important;}
.hod-keks .hk-combine-name{margin:0;font-size:13px;font-weight:700;color:var(--hk-green);overflow-wrap:anywhere;}
.hod-keks .hk-combine-controls label{display:block;color:var(--hk-brown);font-weight:600;font-size:13px;min-width:0;}
.hod-keks .hk-combine-controls output{float:right;color:var(--hk-green);font-variant-numeric:tabular-nums;}
.hod-keks .hk-combine-controls input[type=range]{display:block;width:100%;margin:9px 0 0;accent-color:var(--hk-green);touch-action:pan-y;}
.hod-keks .hk-combine-position{display:grid;grid-template-columns:1fr 1fr;gap:14px;min-width:0;}
.hod-keks .hk-combine-actions{display:flex;flex-wrap:wrap;gap:7px;}
.hod-keks .hk-combine-actions button{flex:1;min-height:42px;min-width:120px;font-size:13px;padding:8px;}
.hod-keks .hk-combine-message{margin:8px 0 0;font-size:12px;line-height:1.5;color:var(--hk-green);overflow-wrap:anywhere;}
.hod-keks .hk-combine-message.hk-error{color:#9a3633;}
@media(max-width:460px){.hod-keks .hk-combine{padding:12px}.hod-keks .hk-combine>summary span{font-size:11px}.hod-keks .hk-combine-position{grid-template-columns:1fr;gap:10px}.hod-keks .hk-combine-library-row>div{flex-wrap:wrap}.hod-keks .hk-combine-motif{min-width:100%}.hod-keks .hk-combine-library-row button{width:100%}}
.hod-keks .hk-combine-upload{position:relative}
.hod-keks .hk-combine-file{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;overflow:hidden}
.hod-keks .hk-combine-file:focus-visible{outline:2px solid var(--hk-green);outline-offset:3px}

/* 0.3.16-alpha – direct placement of inner embossing in the 3D/2D preview. */
.hod-keks .hk-preview-move{font-size:13px;min-height:42px;padding:9px 12px;border:1px solid #8bafa0;color:#205b44;background:#f4faf6;flex-shrink:0}
.hod-keks .hk-preview-move[aria-pressed="true"],.hod-keks [data-action="combine-drag"][aria-pressed="true"]{background:#205b44;color:#fff;border-color:#205b44}
.hod-keks .hk-preview-move[aria-pressed="true"]:hover,.hod-keks [data-action="combine-drag"][aria-pressed="true"]:hover{background:#174733;color:#fff}
.hod-keks .hk-stage.hk-move-active .hk-webgl canvas,.hod-keks .hk-stage.hk-move-active .hk-canvas{cursor:move;touch-action:none}
.hod-keks .hk-stage.hk-move-active .hk-stage-label{background:#205b44;color:#fff}
.hod-keks .hk-combine-actions [data-action="combine-drag"]{flex-basis:100%;background:#eaf3ee;color:#205b44;border-color:#a3c1af}
@media(max-width:640px){.hod-keks .hk-preview-move{font-size:12px;padding:8px 9px;min-height:42px}.hod-keks .hk-preview-bar{flex-wrap:wrap}.hod-keks .hk-reset{margin-left:auto}}

/* 0.3.17-alpha – visual scaling of combined inner motifs. */
.hod-keks .hk-preview-scale{font-size:13px;min-height:42px;padding:9px 12px;border:1px solid #8bafa0;color:#205b44;background:#f4faf6;flex-shrink:0}
.hod-keks .hk-preview-scale[aria-pressed="true"],.hod-keks [data-action="combine-scale"][aria-pressed="true"]{background:#205b44;color:#fff;border-color:#205b44}
.hod-keks .hk-preview-scale[aria-pressed="true"]:hover,.hod-keks [data-action="combine-scale"][aria-pressed="true"]:hover{background:#174733;color:#fff}
.hod-keks .hk-stage.hk-scale-active .hk-webgl canvas,.hod-keks .hk-stage.hk-scale-active .hk-canvas{cursor:ns-resize;touch-action:none}
.hod-keks .hk-stage.hk-scale-active .hk-stage-label{background:#205b44;color:#fff}
.hod-keks .hk-combine-actions [data-action="combine-scale"]{flex-basis:100%;background:#eaf3ee;color:#205b44;border-color:#a3c1af}
@media(max-width:640px){.hod-keks .hk-preview-scale{font-size:12px;padding:8px 9px;min-height:42px}}


/* 0.3.19-alpha: klarer, gebündelter Motiv-Import ohne Eingriff in bestehende Import-Handler. */
.hod-keks .hk-custom-motifs-heading{margin:15px 0 8px;color:var(--hk-brown);font-size:13px;font-weight:650;line-height:1.5}
.hod-keks .hk-own-motif{margin:0 0 10px;border:1px solid #e0ceba;border-radius:14px;background:#f9f5ef;overflow:hidden}
.hod-keks .hk-own-motif>summary{cursor:pointer;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 10px;padding:14px 16px;color:var(--hk-brown);line-height:1.4;min-height:58px}
.hod-keks .hk-own-motif>summary strong{font-size:15px}
.hod-keks .hk-own-motif>summary span{font-size:12px;color:#76624b;font-weight:500}
.hod-keks .hk-own-motif[open]>summary{border-bottom:1px solid #e7d9c8}
.hod-keks .hk-own-motif-content{display:grid;gap:12px;padding:14px 15px 16px}
.hod-keks .hk-own-motif-option{min-width:0;background:#fffdf9;border:1px solid #e7dccf;border-radius:12px;padding:12px}
.hod-keks .hk-own-motif-option>strong{display:block;font-size:14px;line-height:1.45;color:var(--hk-brown)}
.hod-keks .hk-own-motif-option>p{margin:5px 0 11px;font-size:13px;line-height:1.55;color:#665b4c}
.hod-keks .hk-own-motif-option .hk-upload{min-height:46px;margin:0;background:#f7f0e5;font-size:14px;border-color:#c5ae91}
.hod-keks .hk-own-motif-option .hk-logo-upload{background:#edf3ef;border-color:#b3cfc0}
.hod-keks .hk-own-motif-content>.hk-hint{margin:0;font-size:12px;line-height:1.45}
.hod-keks .hk-own-motif>summary:focus-visible,.hod-keks .hk-combine>summary:focus-visible{outline:3px solid #94764d;outline-offset:2px;border-radius:8px}
@media(max-width:460px){.hod-keks .hk-own-motif>summary{padding:13px 12px}.hod-keks .hk-own-motif-content{padding:12px}.hod-keks .hk-own-motif-option{padding:11px}.hod-keks .hk-own-motif>summary span{font-size:11px}}

/* 0.3.20-alpha: smartphone-first camera navigation (view only, not printable geometry) */
.hod-keks .hk-stage .hk-camera-tools{position:absolute;z-index:5;right:11px;top:11px;display:flex;align-items:center;gap:6px;max-width:calc(100% - 22px)}
.hod-keks .hk-stage .hk-camera-tools[hidden]{display:none!important}
.hod-keks .hk-camera-tools button{display:flex;justify-content:center;align-items:center;gap:6px;min-width:44px;min-height:44px;padding:8px 11px;font-size:23px;line-height:1;font-weight:600;color:#225b44;background:#fffdf9ed;border:1px solid #cbd9cb;border-radius:11px;box-shadow:0 2px 7px #33251012;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.hod-keks .hk-camera-tools button:focus-visible{outline:3px solid #ab8455;outline-offset:2px}
.hod-keks .hk-camera-tools .hk-camera-pan{font-size:12px;font-weight:650;line-height:1.25;max-width:155px;text-align:left}
.hod-keks .hk-camera-tools .hk-camera-pan span:first-child{font-size:19px}
.hod-keks .hk-camera-tools .hk-camera-pan[aria-pressed="true"]{color:#fff;background:#245c49;border-color:#245c49}
.hod-keks .hk-webgl canvas{touch-action:none;overscroll-behavior:contain}
.hod-keks .hk-stage.hk-view-pan-active .hk-webgl canvas{cursor:move}
@media(max-width:640px){.hod-keks .hk-camera-tools{right:8px!important;top:8px!important;gap:5px!important}.hod-keks .hk-camera-tools button{min-width:44px;min-height:44px;padding:8px!important}.hod-keks .hk-camera-tools .hk-camera-pan{max-width:136px;font-size:11px}.hod-keks .hk-stage-label{font-size:10px;line-height:1.35}.hod-keks .hk-stage{min-height:320px}}

/* 0.3.22 – visible surcharge at the variant selection. */
.hod-keks .hk-variants button { justify-content: flex-start; }
.hod-keks .hk-variants .hk-variant-price {
    display: block;
    margin-top: auto;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
    text-align: left;
    overflow-wrap: anywhere;
}
.hod-keks .hk-variant-price-included { color: #376753; }
.hod-keks .hk-variant-price-extra { color: #99512c; }
.hod-keks .hk-variants button[aria-pressed="true"] .hk-variant-price-extra { color: #245b46; }
.hod-keks .hk-variant-price-hint {
    margin: -6px 0 18px !important;
    color: #655c4f;
    font-size: 12px;
    line-height: 1.55;
}
@media (max-width: 640px) {
    .hod-keks .hk-variants button { min-height: 136px; }
    .hod-keks .hk-variants .hk-variant-price { font-size: 12px; }
    .hod-keks .hk-variant-price-hint { font-size: 12px; }
}


/* 0.3.23-alpha: accessible, tap-friendly info popovers for the three upload workflows. */
.hod-keks .hk-help-unit{position:relative;isolation:isolate;min-width:0}
.hod-keks .hk-help-unit.hk-help-open{z-index:30}
.hod-keks .hk-help-unit-own{margin:0 0 10px}
.hod-keks .hk-help-unit-combine{margin:16px 0 18px}
.hod-keks .hk-help-unit-photo{margin:12px 0 16px}
.hod-keks .hk-help-unit>details{margin:0}
.hod-keks .hk-help-unit>details>summary{padding-right:57px}
.hod-keks .hk-help-trigger{
    position:absolute;top:6px;right:7px;z-index:4;
    display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;
    padding:0!important;border:0!important;border-radius:50%;background:transparent!important;
    box-shadow:none!important;color:#255d47;cursor:pointer;touch-action:manipulation
}
.hod-keks .hk-help-trigger>span{
    display:grid;place-items:center;width:24px;height:24px;border:1.5px solid #628572;
    border-radius:50%;font-size:14px;line-height:1;font-weight:750;font-family:Arial,sans-serif;
    background:#fffdf9;color:#245b46
}
.hod-keks .hk-help-trigger:hover>span,.hod-keks .hk-help-trigger[aria-expanded="true"]>span{background:#245b46;color:white}
.hod-keks .hk-help-trigger:focus-visible{outline:3px solid #9b754b!important;outline-offset:1px}
.hod-keks .hk-help-popup{
    position:absolute;z-index:10;right:48px;top:10px;
    width:min(330px,calc(100% - 54px));max-height:min(280px,70vh);overflow-y:auto;
    padding:14px 16px;border:1px solid #bfd0c3;border-radius:12px;background:#fffefb;
    box-shadow:0 10px 30px rgba(36,48,38,.17);color:#3f352d;font-size:13px;line-height:1.5;
    overflow-wrap:anywhere
}
.hod-keks .hk-help-popup[hidden]{display:none!important}
.hod-keks .hk-help-popup strong{display:block;margin-bottom:6px;font-size:13px;line-height:1.35;color:#245b46}
.hod-keks .hk-help-popup p{margin:0;font-size:13px;line-height:1.55}
@media(max-width:460px){
    .hod-keks .hk-help-popup{right:45px;width:calc(100% - 50px);font-size:12px;padding:12px 13px}
    .hod-keks .hk-help-popup p{font-size:12px}
    .hod-keks .hk-help-unit>details>summary{padding-right:53px}
}


/* 0.3.24 · transparent one-time motif setup + affordable subsequent pieces */
.hod-keks .hk-repeat-teaser{display:flex;flex-direction:column;gap:4px;padding:12px 14px;margin:8px 0 14px;border:1px solid #c3d9cb;border-radius:12px;background:#eef5ef;color:#245b46}
.hod-keks .hk-repeat-teaser-main{font-size:16px;line-height:1.3}
.hod-keks .hk-repeat-teaser span{font-size:13px;line-height:1.45;color:#3e6153}
.hod-keks .hk-price-breakdown{display:flex;flex-direction:column;gap:7px;padding-top:12px;margin-top:10px;border-top:1px solid #dfd2bf}
.hod-keks .hk-price-breakdown>div{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:13px;line-height:1.45;color:#5c4e3e}
.hod-keks .hk-price-breakdown>div strong{white-space:nowrap;color:#4a3729;font-size:13px}
.hod-keks .hk-price-one-time{font-size:12px;line-height:1.55;color:#625747}
.hod-keks .hk-repeat-teaser[hidden],.hod-keks .hk-price-breakdown[hidden],.hod-keks .hk-price-one-time[hidden]{display:none!important}
@media(max-width:640px){.hod-keks .hk-repeat-teaser{padding:12px}.hod-keks .hk-repeat-teaser-main{font-size:15px}.hod-keks .hk-price-breakdown>div{font-size:12px}.hod-keks .hk-price-breakdown>div strong{font-size:12px}}

/* 0.3.25 · transparent pricing-group message */
.hk-price-group-label{display:block;font-size:12px;color:#24604a;font-weight:700;margin-bottom:5px;}


/* 0.3.29-alpha · clear pre-upload notice for minimum filled relief-detail width */
.hod-keks .hk-detail-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 13px;
    margin: 3px 0 14px;
    border: 1px solid #dec4a0;
    border-radius: 12px;
    background: #faf2e6;
    color: #59452e;
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.hod-keks .hk-detail-notice-icon {
    display: flex;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ac8753;
    border-radius: 50%;
    color: #795a32;
    background: #fffaf2;
    font-weight: 750;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
}
.hod-keks .hk-detail-notice strong { color: #654321; }
.hod-keks .hk-detail-notice p { margin: 4px 0 0; font-size: 12px; line-height: 1.55; }
@media(max-width:460px) {
    .hod-keks .hk-detail-notice { padding: 10px 11px; gap: 9px; }
    .hod-keks .hk-detail-notice p { font-size: 11.5px; }
}

/* 0.3.34: Simple, touch-friendly clearance selector for automatic logo outlines. */
.hod-keks .hk-own-motif-option .hk-logo-border-label {display:block;margin:8px 0 5px;font-weight:650;font-size:12px;color:var(--hk-brown)}
.hod-keks .hk-own-motif-option select.hk-logo-border {box-sizing:border-box;width:100%;min-width:0;min-height:43px;max-width:100%;border:1px solid #d5c6b5;border-radius:9px;background:#fff;color:var(--hk-brown);padding:8px 10px;margin:0 0 9px;font-size:13px}
.hod-keks .hk-own-motif-option select.hk-logo-border:focus-visible{outline:3px solid #7b9c89;outline-offset:2px}
.hod-keks .hk-own-motif-option p.hk-logo-border-hint{margin:0 0 11px;font-size:12px;color:#665b4c;line-height:1.5}
