/* YKPATCH_PUDELKO_2026_10_12 - pudełko prezentowe. Kolory jak zestawy: #A88466 copper */
.ykp{--c:#A88466;--ink:#1d1d1b;--mut:#8a8580;--line:#ece7e2;--soft:#faf8f6;--err:#A3243B;font-family:Montserrat,sans-serif;color:var(--ink);max-width:980px;margin:0 auto;padding:8px 16px 140px}
.ykp a{color:inherit;text-decoration:none}
.ykp-preview{background:#fff4e5;border:1px solid #f0d3a8;color:#8a5a12;padding:10px 14px;border-radius:6px;margin:0 0 16px;font-size:13px}
.ykp-hero{text-align:center;margin:8px 0 28px}
.ykp-kicker{margin:0 0 6px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--c);font-weight:600}
.ykp-title{margin:0 0 10px;font-size:30px;line-height:1.2;font-weight:600}
.ykp-lead{margin:0 auto;max-width:620px;font-size:15px;line-height:1.6;color:#4d4a46}
.ykp-step{margin:0 0 30px}
.ykp-h{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:15px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.ykp-num{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--c);color:#fff;font-size:13px}
.ykp-sub{margin:-4px 0 14px;font-size:13px;color:var(--mut)}
.ykp-wraps{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.ykp-wrap{position:relative;display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid var(--line);border-radius:10px;cursor:pointer;background:#fff;transition:border-color .15s,box-shadow .15s}
.ykp-wrap input{position:absolute;opacity:0;pointer-events:none}
.ykp-wrap__img{aspect-ratio:1/1;background:var(--soft);border-radius:6px;overflow:hidden}
.ykp-wrap__img img{width:100%;height:100%;object-fit:cover;display:block}
.ykp-wrap__name{font-size:13px;font-weight:600;line-height:1.35}
.ykp-wrap__price{font-size:13px;color:var(--c);font-weight:700}
.ykp-wrap__tick{position:absolute;top:16px;right:16px;width:24px;height:24px;border-radius:50%;background:#fff;border:1px solid var(--line)}
.ykp-wrap:has(input:checked){border-color:var(--c);box-shadow:0 0 0 2px var(--c) inset}
.ykp-wrap:has(input:checked) .ykp-wrap__tick{background:var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat;border-color:var(--c)}
.ykp-wrap.is-out{opacity:.5;cursor:not-allowed}
.ykp-cats{display:flex;flex-direction:column;gap:10px}
.ykp-cat{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.ykp-cat.has-picked{border-color:var(--c)}
.ykp-cat__head{display:flex;align-items:center;gap:14px;width:100%;padding:12px 14px;background:none;border:0;cursor:pointer;text-align:left;font:inherit;color:inherit}
.ykp-cat__img{width:52px;height:52px;flex:0 0 auto;background:var(--soft);border-radius:8px;overflow:hidden}
.ykp-cat__img img{width:100%;height:100%;object-fit:contain}
.ykp-cat__txt{flex:1;display:flex;flex-direction:column;gap:2px}
.ykp-cat__txt b{font-size:16px;font-weight:600}
.ykp-cat__txt small{font-size:12px;color:var(--c);font-weight:600}
.ykp-cat.is-full:not(.has-picked) .ykp-cat__txt small{color:var(--mut);font-weight:500}
.ykp-cat__chev{width:10px;height:10px;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(45deg);transition:transform .2s;margin-right:6px}
.ykp-cat.is-open .ykp-cat__chev{transform:rotate(-135deg)}
.ykp-cat__list{list-style:none;margin:0;padding:0 14px 8px}
.ykp-prod{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.ykp-prod__img{width:56px;height:56px;object-fit:contain;background:var(--soft);border-radius:6px;flex:0 0 auto}
.ykp-prod__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ykp-prod__name{font-size:14px;font-weight:600;line-height:1.35}
.ykp-prod__name:hover{color:var(--c)}
.ykp-prod__price{font-size:13px;font-weight:700;color:var(--c)}
.ykp-prod__price s{color:var(--mut);font-weight:400;margin-right:4px}
.ykp-prod__why{font-size:12px;color:var(--mut);font-weight:500}
.ykp-prod.is-blocked:not(.is-picked) .ykp-prod__img,.ykp-prod.is-blocked:not(.is-picked) .ykp-prod__name{opacity:.45}
.ykp-qty{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.ykp-qty__btn{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:20px;line-height:1;cursor:pointer;color:var(--ink)}
.ykp-qty__plus{background:var(--c);border-color:var(--c);color:#fff}
.ykp-qty__plus[aria-disabled="true"]{background:#e9e5e1;border-color:#e9e5e1;color:#a9a39c;cursor:not-allowed}
.ykp-qty__btn:disabled{opacity:.35;cursor:default}
.ykp-qty__n{min-width:18px;text-align:center;font-weight:700}
.ykp-sum{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:10px}
.ykp-sum:empty{display:none}
.ykp-sum li{display:flex;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid var(--line);font-size:14px}
.ykp-sum li:first-child{border-top:0}
.ykp-sum li img{width:40px;height:40px;object-fit:contain;background:var(--soft);border-radius:6px}
.ykp-sum li span{flex:1}
.ykp-sum li button{border:0;background:none;font-size:20px;line-height:1;color:var(--mut);cursor:pointer;padding:0 4px}
.ykp-sum__wrap{background:var(--soft)}
.ykp-empty{font-size:14px;color:var(--mut);margin:0}
.ykp-bar{position:fixed;left:0;right:0;bottom:0;z-index:1000;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(0,0,0,.06);padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
.ykp-bar__in{max-width:980px;margin:0 auto;display:flex;align-items:center;gap:18px}
.ykp-bar__space{flex:1;min-width:0}
.ykp-bar__lbl{display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:600;margin-bottom:6px}
.ykp-bar__lbl span:last-child{color:var(--mut);font-weight:500}
.ykp-bar__track{height:8px;background:#efebe7;border-radius:8px;overflow:hidden}
.ykp-bar__track i{display:block;height:100%;width:0;background:var(--c);border-radius:8px;transition:width .25s}
.ykp-bar.is-full .ykp-bar__track i{background:linear-gradient(90deg,#c9a46a,#A88466)}
.ykp-bar.is-full [data-space-lbl]{color:var(--c)}
.ykp-bar__total{display:flex;flex-direction:column;align-items:flex-end;white-space:nowrap}
.ykp-bar__total small{font-size:11px;color:var(--mut);text-transform:uppercase;letter-spacing:.06em}
.ykp-bar__total b{font-size:18px}
.ykp-bar__btn{background:var(--ink);color:#fff;border:0;border-radius:6px;padding:13px 22px;font:inherit;font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap}
.ykp-bar.is-full .ykp-bar__btn{background:var(--c)}
.ykp-bar__btn:disabled{opacity:.4;cursor:not-allowed}
.ykp-bar__btn.is-loading{opacity:.6;pointer-events:none}
.ykp-bar__msg{max-width:980px;margin:6px auto 0;font-size:13px}
.ykp-bar__msg:empty{display:none}
.ykp-bar__msg.is-err{color:var(--err)}
.ykp-bar__msg.is-ok{color:#2e7d32}
.ykp-bar__msg a{text-decoration:underline;font-weight:700}
@media (max-width:767px){
  .ykp-title{font-size:24px}
  .ykp-wraps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .ykp-wrap{padding:6px}
  .ykp-wrap__name{font-size:11px}
  .ykp-wrap__tick{top:10px;right:10px;width:20px;height:20px}
  .ykp-bar__in{flex-wrap:wrap;gap:8px 12px}
  .ykp-bar__space{flex:1 1 100%}
  .ykp-bar__total{flex-direction:row;align-items:baseline;gap:6px}
  .ykp-bar__btn{flex:1;padding:12px}
}
/* przycisk na stronie owijki */
.ykp-pbtn{display:flex;align-items:center;gap:12px;margin:14px 0 4px;padding:12px 14px;border:1px solid #A88466;border-radius:8px;background:#faf6f2;color:#1d1d1b;text-decoration:none;font-family:Montserrat,sans-serif}
.ykp-pbtn:hover{background:#f3ebe3;color:#1d1d1b}
.ykp-pbtn__ico{color:#A88466;flex:0 0 auto}
.ykp-pbtn__txt{flex:1;display:flex;flex-direction:column;gap:2px}
.ykp-pbtn__txt b{font-size:14px;font-weight:700}
.ykp-pbtn__txt small{font-size:12px;color:#6f6a64}
.ykp-pbtn__arr{font-size:20px;color:#A88466}
