:root{
      --bg:#050806;
      --card:#0d1410;
      --card2:#111d16;
      --text:#f4fff8;
      --muted:#a9b9ad;
      --green:#00ff7a;
      --green2:#7cffb0;
      --line:rgba(124,255,176,.16);
      --shadow:0 28px 80px rgba(0,0,0,.62);
    }

    *{box-sizing:border-box}

    body{
      margin:0;
      font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
      background:
        radial-gradient(circle at 20% 0%,rgba(0,255,122,.20),transparent 34%),
        radial-gradient(circle at 85% 5%,rgba(124,255,176,.12),transparent 30%),
        var(--bg);
      color:var(--text);
      min-height:100vh;
    }

    a{text-decoration:none;color:inherit}

    .wrap{width:min(1100px,92%);margin:0 auto}

    header{
      border-bottom:1px solid var(--line);
      background:rgba(5,8,6,.84);
      backdrop-filter:blur(14px);
      position:sticky;
      top:0;
      z-index:20;
    }

    .nav{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:20px;
      padding:14px 0;
    }

    .brand{
      display:flex;
      align-items:center;
      gap:10px;
      font-size:20px;
      font-weight:1000;
    }

    .brand img{
      width:44px;
      height:44px;
      border-radius:50%;
      object-fit:cover;
    }

    .back{color:var(--green2);font-weight:900}

    main{padding:46px 0 70px}

    .headline{margin-bottom:26px}

    .eyebrow{
      display:inline-flex;
      align-items:center;
      padding:9px 13px;
      border:1px solid rgba(0,255,122,.35);
      background:rgba(0,255,122,.09);
      color:var(--green2);
      border-radius:999px;
      font-size:13px;
      font-weight:900;
    }

    h1{
      font-size:clamp(34px,5vw,58px);
      margin:14px 0 10px;
      line-height:1;
      letter-spacing:-1.5px;
    }

    .headline p{color:var(--muted);font-size:17px;line-height:1.5;max-width:700px}

    .layout{
      display:grid;
      grid-template-columns:1.25fr .75fr;
      gap:22px;
      align-items:start;
    }

    .panel{
      background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
      border:1px solid var(--line);
      border-radius:26px;
      padding:22px;
      box-shadow:var(--shadow);
    }

    .panel h2{margin:0 0 18px;font-size:25px}

    .cart-list{display:grid;gap:14px}

    .cart-item{
      display:grid;
      grid-template-columns:1fr auto;
      gap:16px;
      align-items:center;
      padding:16px;
      border-radius:18px;
      background:rgba(255,255,255,.045);
      border:1px solid var(--line);
    }
.cart-item h3{margin:0 0 6px;font-size:18px}
    .cart-item p{margin:0;color:var(--muted)}

    /* Promocja tylko dla Kompletnego Pakietu Wiedzy. */
    .cart-item .bundle-old-price{color:#8c9c91;font-weight:700;margin-right:7px}
    .cart-item .bundle-new-price{color:#f4fff8;font-weight:950;margin-right:3px}
    .cart-item .bundle-checkout-badge{display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;margin:6px 0 0 5px;padding:6px 9px;border-radius:999px;background:linear-gradient(135deg,#ffe788,#ffca43);color:#181506;font-size:11px;font-weight:950;line-height:1.2}
    /* Ten sam minizegar przy promocji w koszyku; bez ingerencji w płatności. */
    .cart-item .bundle-checkout-badge{gap:6px}
    .cart-item .bundle-checkout-badge::before{
      content:"";display:block;flex:0 0 18px;width:18px;height:18px;box-sizing:border-box;
      border:2px solid currentColor;border-radius:50%;
      background:radial-gradient(circle,currentColor 1.3px,transparent 1.7px) center/100% 100% no-repeat,
                 linear-gradient(currentColor,currentColor) center 2px/2px 6px no-repeat;
      animation:futrek-promo-hand 3.2s linear infinite;
    }
    @keyframes futrek-promo-hand{to{transform:rotate(360deg)}}
    @media(prefers-reduced-motion:reduce){.cart-item .bundle-checkout-badge::before{animation:none}}


    .controls{
      display:flex;
      align-items:center;
      gap:8px;
      margin-top:12px;
      flex-wrap:wrap;
    }

    button{font:inherit}

    .qty,.remove{
      border:1px solid var(--line);
      background:rgba(255,255,255,.07);
      color:white;
      border-radius:10px;
      cursor:pointer;
    }

    .qty{width:34px;height:34px;font-weight:1000}
    .remove{padding:8px 10px;color:#ffb4b4}

    .item-price{
      font-size:18px;
      font-weight:1000;
      white-space:nowrap;
    }

    .summary-row{
      display:flex;
      justify-content:space-between;
      gap:16px;
      padding:11px 0;
      color:var(--muted);
    }

    .summary-row.total{
      margin-top:8px;
      padding-top:18px;
      border-top:1px solid var(--line);
      font-size:22px;
      color:white;
      font-weight:1000;
    }

    .checkout-actions{
      display:flex;
      flex-direction:column;
      gap:12px;
      margin:18px auto 0;
      width:min(100%,280px);
    }

    .checkout-btn,.continue-btn{
      width:100%;
      min-height:54px;
      display:flex;
      justify-content:center;
      align-items:center;
      margin:0;
      border-radius:16px;
      padding:16px 18px;
      font-weight:950;
      line-height:1.15;
      text-align:center;
      cursor:pointer;
    }

    .checkout-btn{
      border:0;
      background:linear-gradient(135deg,var(--green),#b8ffd4);
      color:#031007;
      box-shadow:0 16px 38px rgba(0,255,122,.22);
    }

    .checkout-btn:disabled{
      opacity:.45;
      cursor:not-allowed;
      box-shadow:none;
    }

    .continue-btn{
      border:1px solid var(--line);
      background:rgba(255,255,255,.06);
      color:white;
    }
.empty{
      padding:30px 18px;
      text-align:center;
      border:1px dashed rgba(124,255,176,.25);
      border-radius:18px;
      color:var(--muted);
    }

    .empty strong{display:block;color:white;font-size:20px;margin-bottom:8px}

    .payment-error{
      display:none;
      margin-top:14px;
      padding:12px 14px;
      border-radius:14px;
      background:rgba(255,80,80,.10);
      border:1px solid rgba(255,120,120,.32);
      color:#ffd1d1;
      font-size:13px;
      line-height:1.5;
    }
    .payment-error.show{display:block}
    .embedded-checkout{
      width:100%;
      min-height:0;
      margin-top:0;
      overflow:visible;
      border-radius:18px;
    }

    .embedded-checkout:empty{display:none}
    .checkout-btn.loading{opacity:.65;cursor:wait}

    @media(max-width:820px){
      .layout{grid-template-columns:1fr}
      .nav{align-items:flex-start}
      .cart-item{grid-template-columns:1fr}
      .item-price{justify-self:start}
    }

    .layout.payment-active{
      grid-template-columns:1fr;
      max-width:820px;
      margin-inline:auto;
    }

    .layout.payment-active > section{
      display:none;
    }

    .layout.payment-active > aside{
      width:100%;
    }

    .layout.payment-active .summary-row,
    .layout.payment-active .continue-btn{
      display:none;
    }

    .layout.payment-active #embedded-checkout{
      display:block;
      min-height:720px;
      margin-top:20px;
    }

    @media(max-width:820px){
      .embedded-checkout,
      .layout.payment-active #embedded-checkout{
        min-height:780px;
      }
    }


.tiktok-blocker{position:fixed;inset:0;z-index:300;background:#050806;display:grid;place-items:center;padding:22px}
.tiktok-blocker[hidden]{display:none}
.tiktok-blocker__card{width:min(560px,100%);background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));border:1px solid rgba(124,255,176,.24);border-radius:28px;padding:30px;box-shadow:0 28px 80px rgba(0,0,0,.62)}
.tiktok-blocker__icon{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:rgba(0,255,122,.12);border:1px solid rgba(0,255,122,.35);font-size:32px;margin-bottom:18px}
.tiktok-blocker h1{font-size:clamp(30px,6vw,48px);line-height:1;margin:0 0 14px}
.tiktok-blocker p{color:var(--muted);line-height:1.5}
.tiktok-blocker ol{padding-left:22px;line-height:1.7;color:#d8f6df}
.tiktok-blocker button{width:100%;border:0;border-radius:16px;padding:16px 18px;background:linear-gradient(135deg,var(--green),#b8ffd4);color:#031007;font-weight:950;cursor:pointer}
.tiktok-blocker__status{min-height:22px;margin:10px 0 0!important;text-align:center;color:var(--green2)!important;font-size:13px}
