.kfc-root{--kfc-bg:#090d15;--kfc-panel:#121a28;--kfc-line:#283448;--kfc-text:#f4f7fc;--kfc-muted:#a9b6ca;--kfc-blue:#2999ff;color:var(--kfc-text);background:radial-gradient(ellipse at 90% 0%,#132c49 0%,transparent 44%),var(--kfc-bg);border:1px solid #26354c;border-radius:24px;padding:clamp(20px,4vw,46px);font:inherit;line-height:1.5;max-width:1050px;margin:auto;box-sizing:border-box}.kfc-root *{box-sizing:border-box}.kfc-root h2,.kfc-root h3{color:var(--kfc-text);margin:0 0 12px;line-height:1.2}.kfc-root h2{font-size:clamp(25px,3.6vw,42px);letter-spacing:-.035em}.kfc-root h3{font-size:clamp(20px,2.4vw,26px)}.kfc-top p,.kfc-muted{color:var(--kfc-muted);margin:0 0 24px}.kfc-kicker{color:#78bdff;font-size:11px;font-weight:800;letter-spacing:.16em}.kfc-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:32px 0}.kfc-steps>div{border-top:3px solid #26354a;padding-top:10px;color:#8290a4;font-size:12px}.kfc-steps>div.active{border-color:var(--kfc-blue);color:#fff}.kfc-steps span{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#26354a;width:22px;height:22px;margin-right:7px}.kfc-steps .active span{background:#1678d5}.kfc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kfc-root button{cursor:pointer;font:inherit}.kfc-tile,.kfc-package{background:#141e2d;border:1px solid var(--kfc-line);border-radius:15px;color:var(--kfc-text);text-align:left;transition:border-color .2s,transform .2s,background .2s}.kfc-tile:hover,.kfc-package:hover,.kfc-package.selected{border-color:#2999ff;background:#192c43}.kfc-tile:hover{transform:translateY(-2px)}.kfc-tile{min-height:136px;padding:19px;display:flex;flex-direction:column;gap:6px}.kfc-tile strong{font-size:16px}.kfc-tile>span:last-child{font-size:13px;color:var(--kfc-muted)}.kfc-icon{color:#58aeff;font-size:26px}.kfc-packages{display:grid;gap:11px}.kfc-package{padding:20px;display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%}.kfc-package small{display:block;color:var(--kfc-muted);font-size:13px;margin-top:6px}.kfc-package b{white-space:nowrap;font-size:19px}.kfc-extras{display:grid;gap:9px}.kfc-extra{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid var(--kfc-line);border-radius:13px;padding:16px;background:#111b29}.kfc-extra strong{display:block;font-size:14px}.kfc-extra small{display:block;color:var(--kfc-muted);margin-top:4px}.kfc-counter{display:flex;align-items:center;gap:10px}.kfc-counter button{background:#263b56;border:0;color:white;border-radius:8px;width:33px;height:33px}.kfc-counter output{min-width:20px;text-align:center}.kfc-toggle{white-space:nowrap;color:#dce9f8;font-size:13px}.kfc-toggle input,.kfc-custom input,.kfc-consent input{accent-color:#2999ff;margin-right:7px}.kfc-custom{display:block;color:#dce9f8;font-size:13px;margin-top:18px}.kfc-nav{display:flex;justify-content:space-between;gap:12px;margin-top:30px}.kfc-nav>button:not(.kfc-primary),.kfc-success button{background:transparent;color:#d6e5f6;border:1px solid #44566c;border-radius:10px;padding:12px 18px}.kfc-primary{border:0;border-radius:10px;padding:13px 22px;background:linear-gradient(110deg,#0875d6,#32a8ff);color:white!important;font-weight:750!important}.kfc-primary:disabled{opacity:.55;cursor:not-allowed}.kfc-summary{border:1px solid #2c496a;background:linear-gradient(150deg,#152b44,#0e1928);border-radius:16px;padding:23px;margin:20px 0 28px}.kfc-summary>span{font-size:12px;color:#9acbff;font-weight:700;letter-spacing:.08em}.kfc-summary>strong{display:block;font-size:clamp(30px,5vw,44px);margin:4px 0 15px}.kfc-summary>div{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-top:1px solid #2b3d52;font-size:14px}.kfc-summary>div b{white-space:nowrap}.kfc-summary>small{display:block;color:#b6c5d7;margin-top:14px}.kfc-warning{color:#ffdba2;border:1px solid #8b6430;border-radius:8px;padding:10px}.kfc-form label{display:block;font-size:13px;color:#dce8f6}.kfc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:17px}.kfc-root input:not([type=checkbox]),.kfc-root textarea{width:100%;background:#101b2a;border:1px solid #3a4c62;border-radius:9px;padding:12px;color:white;display:block;margin-top:6px;font:inherit}.kfc-root input:focus,.kfc-root textarea:focus{outline:2px solid #2999ff;outline-offset:1px}.kfc-consent{margin:16px 0 8px}.kfc-privacy{color:#8bc9ff;font-size:13px}.kfc-honey{position:absolute!important;left:-9999px!important;height:0;overflow:hidden}.kfc-feedback{color:#ffb5b5}.kfc-form>.kfc-primary{margin-top:14px}.kfc-success{padding:35px 0}.kfc-loading{color:white}@media(max-width:620px){.kfc-grid,.kfc-fields{grid-template-columns:1fr}.kfc-steps>div{font-size:10px}.kfc-steps span{display:none}.kfc-package{align-items:flex-start}.kfc-package b{font-size:16px}.kfc-tile{min-height:100px}.kfc-root{border-radius:16px}.kfc-extra{align-items:flex-start}}
/* v1.1: jatkuva hintaerittely ja usean tuotannon ostoskori */
.kfc-root{max-width:1250px}.kfc-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);align-items:start;gap:24px}.kfc-layout>.kfc-content{min-width:0}.kfc-cart-wrap{position:sticky;top:22px;align-self:start}.kfc-cart{background:linear-gradient(155deg,#162d47,#101a2a);border:1px solid #365677;border-radius:16px;padding:19px;max-height:calc(100vh - 44px);overflow:auto}.kfc-cart-head{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:14px}.kfc-cart-head small,.kfc-cart-tax,.kfc-cart-vat,.kfc-cart-disclaimer{color:#b5c9de;font-size:12px}.kfc-cart-price{font-size:clamp(25px,2.8vw,35px);font-weight:800;margin:12px 0 0;line-height:1.2}.kfc-cart-vat{margin-top:5px}.kfc-cart-tax{margin:5px 0 16px}.kfc-cart-item{padding:13px 0;border-top:1px solid #30455c;font-size:12px}.kfc-cart-item>strong{display:block;margin-bottom:8px}.kfc-cart-item>div{display:flex;justify-content:space-between;gap:8px;margin:6px 0;color:#d7e3ef}.kfc-cart-item>div b{white-space:nowrap}.kfc-cart-item button{border:1px solid #506c87;border-radius:7px;background:transparent;color:#b8dcff;padding:4px 9px;font-size:11px;margin-top:8px}.kfc-cart-item small{color:#8da7c1}.kfc-cart-disclaimer{display:block;margin-top:12px}.kfc-summary>small{margin-bottom:15px}.kfc-mobile-bar{display:none}.kfc-nav>button[data-add]{background:#183955;border:1px solid #4a85b7;color:white;border-radius:10px;padding:12px 15px}.kfc-root button:focus-visible{outline:2px solid #70c3ff;outline-offset:3px}
@media(max-width:900px){.kfc-layout{grid-template-columns:1fr}.kfc-cart-wrap{display:none}.kfc-mobile-bar{display:block;position:sticky;bottom:0;z-index:10;margin:20px -12px -12px;background:#10233a;border:1px solid #3d6587;border-radius:13px;box-shadow:0 -10px 35px #0009}.kfc-mobile-bar>button{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;background:transparent;color:white;border:0;padding:12px 15px}.kfc-mobile-bar>button strong{font-size:19px;display:block}.kfc-mobile-bar>button small{font-size:11px;display:block;color:#c0d1e4}.kfc-mobile-bar .kfc-cart{border:0;border-top:1px solid #3d6587;border-radius:0;max-height:50vh}}
@media(max-width:620px){.kfc-root{padding:18px}.kfc-mobile-bar{margin:20px -10px -10px}.kfc-nav{flex-wrap:wrap}.kfc-nav button{flex:1}}

/* v1.2: wider sticky cart and collapsible, editable productions */
@media(min-width:901px){.kfc-root{max-width:1320px}.kfc-layout{grid-template-columns:minmax(0,1fr) minmax(320px,370px);gap:26px}}
.kfc-cart-item>strong{font-size:13px;line-height:1.4}.kfc-cart-item .kfc-expand{display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;gap:10px;padding:9px 0;margin:0;border:0;background:transparent;color:#9ed1ff;font-size:12px}.kfc-expand span{font-weight:800;color:white;white-space:nowrap}.kfc-item-lines{border-top:1px solid #2b4059;padding:5px 0}.kfc-item-actions{display:flex;gap:7px;flex-wrap:wrap}.kfc-cart-item .kfc-item-actions button{padding:7px 10px;font-size:12px}.kfc-cart-item .kfc-item-actions button:first-child{border-color:#368bd0;color:#d4eeff}

/* v1.2.1: ensure expanded cart line items stack vertically */
.kfc-root .kfc-cart-item > .kfc-item-lines {
  display: block;
  min-width: 0;
  width: 100%;
  overflow: visible;
}
.kfc-root .kfc-cart-item .kfc-item-lines > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 6px 0;
  color: #d7e3ef;
}
.kfc-root .kfc-cart-item .kfc-item-lines > div > span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.kfc-root .kfc-cart-item .kfc-item-lines > div > b {
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: right;
}
.kfc-root .kfc-cart-item { min-width: 0; }
.kfc-root .kfc-cart-item .kfc-expand { min-width: 0; }
.kfc-root .kfc-cart-item .kfc-expand span { flex: 0 0 auto; }

/* v1.2.3: optional product descriptions and examples */
.kfc-product-wrap{min-width:0}.kfc-product-wrap>.kfc-package{width:100%}.kfc-product-info{margin-top:7px;min-width:0}.kfc-product-wrap>.kfc-product-info{margin:5px 0 9px 12px}.kfc-info-toggle{border:0;background:transparent;color:#9ed1ff;padding:5px 0;font-size:13px;text-align:left}.kfc-info-body{background:#142338;border:1px solid #2b496a;border-radius:9px;padding:12px;color:#d8e5f5;font-size:13px;overflow-wrap:anywhere}.kfc-info-body p{margin:0 0 8px;white-space:normal}.kfc-info-body a{color:#91ccff;text-decoration:underline}.kfc-extra>span{min-width:0;flex:1}.kfc-extra .kfc-product-info{margin-top:4px}.kfc-package.selected{border-color:#2999ff;background:#192c43}.kfc-package:focus-visible,.kfc-info-toggle:focus-visible{outline:2px solid #68b9ff;outline-offset:2px}

/* v1.2.4: distinguish selected package from pointer hover.
   Touch devices must not retain a misleading hover selection. */
.kfc-root .kfc-package.selected {
  border-color:#2999ff;
  background:#192c43;
  box-shadow:inset 0 0 0 1px rgba(41,153,255,.16);
}
@media (hover:hover) and (pointer:fine) {
  .kfc-root .kfc-package:not(.selected):hover {
    border-color:#49617d;
    background:#172438;
    box-shadow:none;
  }
}
@media (hover:none) {
  .kfc-root .kfc-package:not(.selected):hover {
    border-color:var(--kfc-line);
    background:#141e2d;
    box-shadow:none;
  }
}

/* v1.2.5: desktop cart follows document height without a nested scrollbar.
   Keep the existing sticky mobile price bar and its expandable panel. */
@media (min-width:901px) {
  .kfc-root .kfc-layout > .kfc-cart-wrap {
    position: static;
    top: auto;
    min-width: 0;
  }
  .kfc-root .kfc-layout > .kfc-cart-wrap > .kfc-cart {
    max-height: none;
    overflow: visible;
    min-width: 0;
  }
}

/* v1.3.4: multi-select package indicator */
.kfc-multi-indicator{display:inline-block;margin-right:10px;color:#49aaff;font-size:1.2em;vertical-align:middle}

/* v1.3.5: dedicated success confirmation after server-confirmed submission */
.kfc-root .kfc-success-screen{max-width:760px;margin:12px auto 6px;text-align:center}
.kfc-root .kfc-success-card{background:linear-gradient(155deg,#143a33,#102a2a 72%,#112b30);border:1px solid #367b68;border-radius:20px;padding:clamp(28px,5vw,56px) clamp(20px,5vw,52px);box-shadow:0 12px 42px rgba(0,0,0,.14)}
.kfc-root .kfc-success-icon{display:flex;align-items:center;justify-content:center;width:82px;height:82px;margin:0 auto 23px;border-radius:50%;background:#196a50;color:#e5fff2;border:2px solid #51b68c}
.kfc-root .kfc-success-kicker{display:block;color:#a3f0cb;font-size:11px;font-weight:800;letter-spacing:.15em;margin-bottom:12px}
.kfc-root .kfc-success-card h2{font-size:clamp(27px,4vw,40px);line-height:1.2;margin:0 0 15px;color:#fff}
.kfc-root .kfc-success-lead{color:#d8f7e8;font-size:clamp(16px,2vw,19px);margin:0 auto 24px;max-width:540px}
.kfc-root .kfc-success-note{display:flex;align-items:flex-start;justify-content:center;gap:12px;border-top:1px solid #397060;padding-top:22px;margin:auto;max-width:560px;text-align:left;color:#e1f4ec;font-size:14px}
.kfc-root .kfc-success-note>span:first-child{color:#a3f0cb;font-size:23px;line-height:1}
.kfc-root .kfc-success-reset{display:inline-flex;align-items:center;justify-content:center;margin:26px auto 0;background:#173f60;border:1px solid #42799e;border-radius:10px;padding:13px 23px;color:#fff;font-weight:700;transition:background .2s}
.kfc-root .kfc-success-reset:hover{background:#21567e}.kfc-root .kfc-success-reset:focus-visible{outline:3px solid #7bc7ff;outline-offset:3px}
.kfc-root #kfc-success-title:focus{outline:none}
@media(max-width:620px){.kfc-root .kfc-success-card{padding:30px 19px}.kfc-root .kfc-success-note{font-size:13px}}

/* 1.3.7: category selection and custom icons */
.kfc-root .kfc-tile.kfc-tile-added{border-color:#2999ff;background:#182e45;box-shadow:inset 0 0 0 1px rgba(41,153,255,.28)}
.kfc-root .kfc-tile-status{display:inline-flex;align-items:center;gap:6px;color:#8ed0ff!important;font-weight:700;font-size:12px!important;margin-top:auto;padding-top:7px}
.kfc-root .kfc-tile-status>span{display:inline-grid;place-items:center;width:19px;height:19px;background:#1779c9;border-radius:50%;color:#fff}
.kfc-root .kfc-category-icon-image{display:block;width:32px;height:32px;object-fit:contain}
.kfc-root .kfc-tile:focus-visible{outline:2px solid #74c4ff;outline-offset:3px}

.kfc-root .kfc-icon i[class^="fa-"]{font-size:25px;line-height:1.2;color:#58aeff}

/* 1.3.19: tuotantokohtainen yhteenveto */
.kfc-review{display:grid;gap:14px;margin:18px 0}.kfc-review-item{border:1px solid #355474;background:#111d2d;border-radius:14px;padding:18px;min-width:0}.kfc-review-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.kfc-review-head small{font-size:11px;color:#9acbff;letter-spacing:.08em}.kfc-review-head h4{color:#fff;margin:5px 0;font-size:17px}.kfc-review-head p{color:#c2d4e7;margin:0 0 14px;font-size:13px}.kfc-review-head button{background:#173855;color:#bfe3ff;border:1px solid #389bea;border-radius:8px;padding:7px 11px;flex-shrink:0}.kfc-review-lines>div,.kfc-review-subtotal{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:8px 0;border-top:1px solid #2c4056;font-size:13px}.kfc-review-lines b,.kfc-review-subtotal strong{white-space:nowrap}.kfc-review-subtotal{margin-top:4px;color:#fff;font-weight:700}.kfc-review-item .kfc-warning{font-size:12px}.kfc-summary>div{align-items:baseline}@media(max-width:620px){.kfc-review-item{padding:14px}.kfc-review-head h4{font-size:15px}.kfc-review-lines>div,.kfc-review-subtotal{font-size:12px}}

/* v1.3.20: full-width final review and configurable success navigation */
.kfc-root .kfc-layout-review{grid-template-columns:minmax(0,1fr)}
.kfc-root .kfc-layout-review>.kfc-content{width:100%;max-width:none}
.kfc-root .kfc-layout-review .kfc-review{grid-template-columns:repeat(2,minmax(0,1fr))}
.kfc-root .kfc-layout-review .kfc-summary{max-width:none}
.kfc-root .kfc-success-actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin-top:26px}
.kfc-root .kfc-success-actions .kfc-success-reset{margin:0}
.kfc-root .kfc-success-home{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:13px 23px;background:linear-gradient(110deg,#0875d6,#32a8ff);border:1px solid #399fea;color:#fff;text-decoration:none;font-weight:700}
.kfc-root .kfc-success-home:hover{background:#0875d6;color:#fff}
.kfc-root .kfc-success-home:focus-visible{outline:3px solid #7bc7ff;outline-offset:3px}
@media(max-width:700px){.kfc-root .kfc-layout-review .kfc-review{grid-template-columns:1fr}}

/* 1.3.29 – Tuotekohtaiset työnäytteet ja suositukset */
.kfc-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 12px}.kfc-preview-grid a{display:block;overflow:hidden;border-radius:9px;aspect-ratio:4/3;background:#222;max-width:180px}.kfc-preview-grid img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}.kfc-preview-grid a:hover img{transform:scale(1.05)}.kfc-recommend{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:10px 12px;margin:8px 0;border:1px solid rgba(100,150,255,.3);border-radius:9px;font-size:13px}.kfc-recommend button{border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer;font-weight:700}@media(max-width:600px){.kfc-preview-grid{gap:5px}.kfc-preview-grid a{max-width:none}}

/* Reset selected productions */
.kfc-clear-button{display:block;width:100%;margin-top:16px;padding:11px 12px;background:transparent;color:#a9bdd8;border:1px solid rgba(148,163,184,.35);border-radius:9px;font:inherit;font-size:13px;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.kfc-clear-button:hover,.kfc-clear-button:focus-visible{background:rgba(148,163,184,.12);color:#fff;border-color:#93c5fd}
