/* LETWA — sklep klienta */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 14px; height: 66px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 30px; width: auto; }
.hdr-search { flex: 1; position: relative; max-width: 620px; }
.hdr-search .input { padding-left: 42px; padding-right: 88px; background: var(--bg); border-color: transparent; height: 44px; }
.hdr-search .input:focus { background: #fff; border-color: var(--line-2); }
.hdr-search > .ic { position: absolute; left: 13px; top: 12px; color: var(--ink-3); }
.hdr-search .tools { position: absolute; right: 6px; top: 5px; display: flex; gap: 4px; }
.hdr-search .tools button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.hdr-search .tools button:hover { background: #fff; color: var(--navy); }
.hdr-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.hbtn { position: relative; height: 42px; min-width: 42px; padding: 0 10px; border-radius: 11px; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); cursor: pointer; }
.hbtn:hover { background: var(--bg); }
.hbtn .badge { position: absolute; top: 3px; right: 1px; }
.lang-toggle { font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.modebar { background: var(--navy); color: #fff; font-size: 13px; }
.modebar .wrap { display: flex; align-items: center; gap: 18px; height: 38px; overflow-x: auto; scrollbar-width: none; }
.modebar .wrap::-webkit-scrollbar { display: none; }
.modebar a { opacity: .78; font-weight: 700; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.modebar a:hover, .modebar a.on { opacity: 1; }
.modebar a.on { color: var(--gold-2); }
.modebar .sep { flex: 1; }
.modebar .mb-usp { opacity: .9; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; color: #D7DEE8; font-weight: 600; }
@media (max-width: 860px) { .hdr .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; } .hdr-search { order: 3; flex-basis: 100%; max-width: none; } .hide-m { display: none !important; } .modebar .mb-usp { display: none; } }
@media (min-width: 861px) { .hide-d { display: none !important; } }
main { min-height: 60vh; padding-bottom: 96px; }
.page { padding-top: 22px; }
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ink-3); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--navy); }

/* Bottom nav (mobile) */
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.bnav a, .bnav button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 11px; font-weight: 700; color: var(--ink-3); background: none; border: 0; position: relative; cursor: pointer; }
.bnav .on { color: var(--navy); }
.bnav .badge { position: absolute; top: 4px; left: calc(50% + 6px); }
@media (min-width: 861px) { .bnav { display: none; } main { padding-bottom: 40px; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(201,154,46,.22), transparent 60%), linear-gradient(160deg, #0F2340 0%, #142C50 55%, #0F2340 100%); color: #fff; overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; padding-top: 52px; padding-bottom: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero .lead { font-size: 18px; color: #D4DCE8; max-width: 560px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.3); } .hero .btn.ghost:hover { background: rgba(255,255,255,.08); }
.pastebox { margin-top: 26px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 14px; max-width: 580px; }
.pastebox label { font-size: 13px; font-weight: 700; color: #C9D3E1; display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.pastebox .row { gap: 8px; }
.pastebox .input { background: #fff; color: var(--ink); border: 0; }
.hero-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.25); position: relative; }
.hero-card .pimg { width: 92px; flex: none; }
.hero-card .bd div { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hero-card .bd div:last-child { border: 0; font-weight: 800; font-size: 16px; }
.hero-card .stamp { position: absolute; right: -10px; top: -14px; background: var(--gold); color: var(--navy); font-weight: 800; font-family: var(--display); font-size: 13px; padding: 8px 12px; border-radius: 12px; transform: rotate(4deg); box-shadow: var(--shadow); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 34px; } .hero .lead { font-size: 16px; } .hero-card { display: none; } }

.usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: -26px; position: relative; z-index: 2; }
.usp { background: #fff; border-radius: 14px; padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.usp .ic-b { width: 40px; height: 40px; border-radius: 11px; background: var(--gold-soft); color: #8A6512; display: grid; place-items: center; flex: none; }
.usp b { display: block; font-size: 14px; } .usp span { font-size: 13px; color: var(--ink-3); }
@media (max-width: 860px) { .usps { grid-template-columns: 1fr 1fr; margin-top: 16px; } .usp { padding: 12px; } .usp .ic-b { width: 34px; height: 34px; } }
@media (max-width: 420px) { .usp span { display: none; } }

.section { margin-top: 38px; }
.section-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-h h2 { margin: 0; }
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 10px; text-align: center; transition: transform .12s, box-shadow .12s; }
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat .ci { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 8px; display: grid; place-items: center; background: var(--bg); color: var(--navy); }
.cat b { font-size: 13px; display: block; line-height: 1.25; }
@media (max-width: 860px) { .cats { grid-template-columns: repeat(3, 1fr); } }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; transition: transform .12s, box-shadow .12s; position: relative; }
.pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pcard .t { font-size: 13.5px; font-weight: 600; line-height: 1.35; min-height: 36px; }
.pcard .price { font-size: 18px; }
.pcard .meta { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }
.pcard .door { font-size: 11px; color: var(--ok); font-weight: 700; display: flex; gap: 4px; align-items: center; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; right: 14px; top: 10px; font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--line); }
.step .ic-b { width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; margin-bottom: 10px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
.biz-banner { background: linear-gradient(120deg, #0E7C86, #0F2340); color: #fff; border-radius: 20px; padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.biz-banner h2 { color: #fff; } .biz-banner p { color: #D3E6EA; }
@media (max-width: 700px) { .biz-banner { grid-template-columns: 1fr; } }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--ink-2); padding-bottom: 6px; }

footer.ftr { background: var(--navy); color: #C3CDDB; margin-top: 50px; padding: 40px 0 110px; font-size: 14px; }
footer.ftr .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
footer.ftr h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
footer.ftr a { display: block; padding: 3px 0; } footer.ftr a:hover { color: #fff; }
footer.ftr .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; font-size: 12px; color: #93A1B5; }
@media (max-width: 860px) { footer.ftr .wrap { grid-template-columns: 1fr 1fr; } footer.ftr { padding-bottom: 110px; } }
@media (min-width: 861px) { footer.ftr { padding-bottom: 40px; } }

/* Product page */
.pp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pp .gallery .pimg { border-radius: 18px; border: 1px solid var(--line); }
.pp .gallery .pimg .ic { width: 38%; height: 38%; }
@media (max-width: 860px) { .pp { grid-template-columns: 1fr; gap: 16px; } .pp .gallery .pimg { aspect-ratio: 4/3; } }
.pricebox { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.pricebox .big { font-size: 34px; line-height: 1.1; }
.nodue { display: flex; gap: 6px; align-items: center; color: var(--ok); font-weight: 700; font-size: 14px; margin-top: 4px; }
.opt { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; }
.opt.on { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,35,64,.08); }
.opt input { accent-color: var(--navy); width: 18px; height: 18px; }
.opt.dis { opacity: .5; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; height: 44px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; color: var(--navy); }
.qty span { min-width: 30px; text-align: center; font-weight: 800; }
.bdown div { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed var(--line); gap: 10px; }
.bdown div.tot { border: 0; font-weight: 800; font-size: 15px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; font-weight: 600; }

/* Cart */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
@media (max-width: 900px) { .cart-grid { grid-template-columns: 1fr; } }
.parcel-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 14px; }
.parcel-box .ph { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #FAFBFD; border-bottom: 1px solid var(--line); gap: 10px; flex-wrap: wrap; }
.cline { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.cline:last-child { border-bottom: 0; }
.cline .pimg { width: 72px; }
.sticky-side { position: sticky; top: 120px; }
.paybtn { height: 56px; font-size: 17px; }
.method { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 10px 12px; cursor: pointer; background: #fff; font-weight: 700; }
.method.on { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,35,64,.08); }
.method .dot { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Payment / phone mock */
.phone { width: 260px; margin: 0 auto; background: #111; border-radius: 34px; padding: 12px; box-shadow: var(--shadow-lg); }
.phone .scr { background: #f3f3f3; border-radius: 24px; padding: 22px 16px; min-height: 320px; font-family: system-ui, sans-serif; color: #222; }
.phone .ussd { background: #fff; border-radius: 10px; padding: 14px; font-size: 13px; line-height: 1.45; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.pinpad button { height: 38px; border: 0; border-radius: 8px; background: #fff; font-weight: 700; cursor: pointer; }

/* Account */
.acc-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 16px; scrollbar-width: none; }
.acc-tabs a { padding: 9px 14px; border-radius: 10px; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.acc-tabs a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.ocard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: block; margin-bottom: 10px; }
.ocard:hover { box-shadow: var(--shadow); }
.track-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.parcel-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 16px; overflow: hidden; }
.parcel-card .ph { padding: 14px 16px; border-bottom: 1px solid var(--line); background: #FAFBFD; }
.parcel-card .pb { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .parcel-card .pb { grid-template-columns: 1fr; } }
.progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--ok)); border-radius: 99px; transition: width .4s; }

/* Chat */
.chat-fab { position: fixed; right: 16px; bottom: 84px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--navy); color: #fff; border: 0; box-shadow: var(--shadow-lg); cursor: pointer; display: grid; place-items: center; }
.chat-fab .ic { width: 26px; height: 26px; }
.chat-fab .pulse { position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; background: var(--gold); border: 2px solid #fff; border-radius: 50%; }
@media (min-width: 861px) { .chat-fab { bottom: 24px; right: 24px; } }
.chat { position: fixed; right: 16px; bottom: 84px; z-index: 60; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 120px)); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); animation: up .2s; }
@media (min-width: 861px) { .chat { bottom: 24px; right: 24px; } }
@media (max-width: 520px) { .chat { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; } }
.chat-h { background: var(--navy); color: #fff; padding: 14px 16px; display: flex; gap: 10px; align-items: center; }
.chat-h .av { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.chat-h .av img { width: 24px; }
.chat-b { flex: 1; overflow-y: auto; padding: 16px; background: #F3F5F8; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 85%; padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.msg.me { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 5px; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.op { align-self: flex-start; background: var(--gold-soft); border: 1px solid #EBD9AE; border-bottom-left-radius: 5px; }
.msg.sys { align-self: center; background: transparent; color: var(--ink-3); font-size: 12px; }
.msg a { color: var(--teal); font-weight: 700; text-decoration: underline; }
.msg.me a { color: var(--gold-2); }
.chat-q { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; border-top: 1px solid var(--line); scrollbar-width: none; }
.chat-q button { flex: none; border: 1px solid var(--line-2); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--navy); }
.chat-f { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.chat-f .input { height: 44px; border-radius: 22px; }
.typing span { display: inline-block; width: 6px; height: 6px; margin: 0 1px; background: var(--ink-3); border-radius: 50%; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }

/* Business */
.biz-hero { background: linear-gradient(135deg, #0E7C86 0%, #0F2340 70%); color: #fff; }
.biz-hero .wrap { padding-top: 40px; padding-bottom: 44px; }
.biz-hero h1 { color: #fff; }
.biz-hero p { color: #D3E6EA; font-size: 17px; max-width: 680px; }
.tier-table td, .tier-table th { padding: 8px 10px; }
.stage-track { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin: 10px 0 4px; }
.stage-track i { height: 6px; border-radius: 99px; background: var(--line); }
.stage-track i.done { background: var(--ok); } .stage-track i.now { background: var(--gold); }
.supplier-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; }
.doc { font-family: var(--font); color: #111; }
.doc h2 { font-size: 20px; } .doc table { width: 100%; border-collapse: collapse; font-size: 13px; } .doc td, .doc th { border-bottom: 1px solid #ddd; padding: 6px 8px; text-align: left; } .doc .r { text-align: right; }
.mini-stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.mini-stat .v { font-family: var(--display); font-weight: 800; font-size: 22px; }
.prose h2 { margin-top: 26px; } .prose h3 { margin-top: 18px; } .prose li { margin-bottom: 6px; } .prose { max-width: 820px; }
