/* =========================================================================
   shop.css — style sklepu ELWOLIGHT (etap 1 redesignu, spec docs/superpowers/specs/2026-09-04-shop-redesign-design.md)
   Sekcja LEGACY = 1:1 kopia bloku <style> z templates/head.php (usuwana w etapie 5).
   ========================================================================= */

/* ===== LEGACY (templates/head.php) ===== */
        @font-face{font-family:'Fraunces-fallback';src:local('Times New Roman');size-adjust:106%;ascent-override:92%;descent-override:25%;line-gap-override:0%}
        @font-face{font-family:'Space-Grotesk-fallback';src:local('Arial');size-adjust:101%;ascent-override:95%;descent-override:24%;line-gap-override:0%}
        @font-face{font-family:'JetBrains-Mono-fallback';src:local('Courier New');size-adjust:96%;ascent-override:96%;descent-override:24%;line-gap-override:0%}
        :root {
            --bg-void: #0a0b09; --bg-surface: #131412; --text-raw: #f1efe9;
            --accent-flare: #00b0f0; --accent-amber: #ff9d00; --accent-blue: #3b82f6;
            --font-tech: 'Space Grotesk','Space-Grotesk-fallback',sans-serif;
            --font-soul: 'Fraunces','Fraunces-fallback',serif;
            --font-mono: 'JetBrains Mono','JetBrains-Mono-fallback',monospace;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html, body { font-family: var(--font-tech); }
        body { background: var(--bg-void); color: var(--text-raw); overflow-x: hidden; padding-top: 76px; }
        *:focus-visible { outline: 3px solid var(--accent-amber); outline-offset: 4px; }
        body.keyboard-nav { cursor: auto !important; } body.keyboard-nav * { cursor: auto !important; }
        @media(max-width:900px){ body { padding-top: 62px; } }

        .container { padding: 5vh 5vw 15vh 5vw; }
        h1 { font-family: var(--font-soul); font-weight: 300; font-size: clamp(3rem, 8vw, 6rem); color: var(--text-raw); letter-spacing: -0.03em; margin-bottom: 1vh; line-height: 1.1; }
        .price-toggle { display: inline-flex; align-self: flex-start; width: fit-content; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; background: rgba(255,255,255,0.03); }
        .price-toggle [data-price-toggle] { border: none; background: transparent; color: var(--text-raw); padding: 0.42rem 1.05rem; font-family: var(--font-tech); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; border-radius: 999px; opacity: 0.6; transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease; }
        .price-toggle [data-price-toggle]:hover { opacity: 1; }
        .price-toggle [data-price-toggle]:focus-visible { outline: 2px solid var(--accent-amber); outline-offset: 2px; }
        .price-toggle [data-price-toggle][aria-pressed="true"] { background: var(--accent-amber); color: #000; font-weight: 700; opacity: 1; }
        .discount-info { color: #4ade80; font-family: monospace; letter-spacing: 0.1em; margin-bottom: 5vh; display: inline-block; padding: 0.5rem 1rem; border: 1px solid #4ade80; }
        .status-msg { margin-bottom: 2rem; padding: 1rem; border: 1px solid #4ade80; color: #4ade80; font-weight: bold; text-transform: uppercase; letter-spacing: 0.1em; text-align: center; }
        .status-error { border-color: var(--accent-flare); color: var(--accent-flare); }


        .cart-item-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 0.8rem 0; }
        .checkout-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10,11,9,0.95); z-index: 99999; display: none; justify-content: center; align-items: flex-start; padding: 5vw; overflow-y: auto; }
        .checkout-modal.active { display: flex; }
        .checkout-box { background: var(--bg-surface); padding: 3rem; width: 100%; max-width: 800px; border-top: 4px solid var(--accent-amber); position: relative; margin: auto; }
        .close-modal { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--text-raw); font-size: 2rem; cursor: pointer; }
        .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
        .form-group label { display: block; font-size: 0.75rem; color: var(--accent-amber); text-transform: uppercase; margin-bottom: 0.5rem; letter-spacing: 0.1em; }
        .form-group input, .form-group select, .form-group textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2); color: var(--text-raw); padding: 0.5rem 0; font-family: var(--font-tech); font-size: 1rem; }
        .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-bottom-color: var(--accent-amber); }
        .form-group input:focus-visible, .form-group select:focus-visible, .form-group textarea:focus-visible { outline: 2px solid var(--accent-amber); outline-offset: 2px; }
        .form-group select { background: var(--bg-surface); padding: 0.5rem; }
        #toast-container { position: fixed; bottom: 36px; left: 50%; margin-left: -200px; z-index: 999999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; align-items: center; width: 400px; }
        .elwo-toast { background: rgba(10, 11, 9, 0.95); border: 1px solid var(--accent-flare); color: var(--text-raw); padding: 15px 25px; font-family: var(--font-tech); font-size: 0.9rem; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.8); backdrop-filter: blur(10px); transform: translateY(80px); transition: transform 0.4s cubic-bezier(0.21, 1.02, 0.31, 0.98), opacity 0.4s; opacity: 0; display:flex; align-items:center; gap: 15px; }
        .elwo-toast.success { border-color: #4ade80; } .elwo-toast.error { border-color: var(--accent-flare); } .elwo-toast.show { transform: translateY(0); opacity: 1; }

        /* Global font normalization: redirect stray legacy family names to the
           ELWOLIGHT system (Fraunces / Space Grotesk / JetBrains Mono). */
        [style*="Playfair Display"], [style*="'Playfair"]{font-family:var(--font-soul)!important}
        [style*="font-family: Inter"], [style*="font-family:'Inter"], [style*="font-family:\"Inter"]{font-family:var(--font-tech)!important}

        @media (max-width: 768px) {
            .form-grid { grid-template-columns: 1fr; gap: 1rem; }
            #toast-container { bottom: auto; top: 20px; right: 10px; left: 10px; margin-left: 0; width: auto; z-index: 9999999; }
        }

/* ===== TOKENY (spec §4.1) — po LEGACY, żeby nadpisać --bg-surface ===== */
:root {
  --bg-void: #0a0b09; --bg-surface: #16171a; --bg-raised: #1e2024; --bg-media: #e9e7e1;
  --line: rgba(241,239,233,0.10); --line-strong: rgba(241,239,233,0.22);
  --text: #f1efe9; --text-2: #b8b4ab; --text-3: #7d7a73;
  --amber: #ff9d00; --flare: #00b0f0; --ok: #4ade80; --warn: #f59e0b; --danger: #f43f5e;
  --radius: 6px; --radius-lg: 10px;
  --font-display: var(--font-soul); --font-ui: var(--font-tech); --font-num: var(--font-mono);
}
@media (prefers-reduced-motion: reduce) { .card, .card img, .btn, .btn::before { transition: none !important; transform: none !important; } }

/* ===== PRZYCISKI ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: 0 1.1rem; border-radius: var(--radius); border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 600 .85rem/1 var(--font-ui); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .15s; }
.btn:hover { border-color: var(--text); background: var(--bg-raised); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--amber); border-color: var(--amber); color: #0a0b09; }
.btn-primary:hover { background: #ffb340; border-color: #ffb340; }
.btn-secondary { border-color: var(--amber); color: var(--amber); }
.btn-secondary:hover { background: rgba(255,157,0,.12); border-color: var(--amber); }
.btn-ghost { border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--bg-raised); border-color: transparent; }
.btn-danger { border-color: var(--danger); color: var(--danger); }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0 .8rem; font-size: .75rem; }
.btn.btn-success-state { background: rgba(74,222,128,.12); border-color: var(--ok) !important; color: var(--ok) !important; pointer-events: none; }
.link-btn { background: none; border: 0; padding: .25rem 0; color: var(--text-2); font: 500 .78rem var(--font-ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--text); }

/* ===== POLA ===== */
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font: 600 .7rem var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.field input, .field select { width: 100%; min-height: 40px; padding: 0 .75rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-raised); color: var(--text); font: 400 .92rem var(--font-ui); }
.field input:focus, .field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,157,0,.25); }
.field select { cursor: pointer; }
.field select option { background: #111; }

/* ===== STEPPER ===== */
.stepper { display: inline-flex; align-items: stretch; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-raised); overflow: hidden; }
.stepper-btn { width: 38px; border: 0; background: transparent; color: var(--text); font-size: 1.1rem; cursor: pointer; touch-action: manipulation; }
.stepper-btn:hover { background: rgba(241,239,233,.08); color: var(--amber); }
.stepper-input { width: 48px; border: 0; background: transparent; color: var(--text); text-align: center; font: 500 .95rem var(--font-num); -moz-appearance: textfield; appearance: textfield; }
.stepper-input::-webkit-outer-spin-button, .stepper-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-input:focus { outline: none; }

/* ===== CHIPS / BADGE / STOCK ===== */
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-raised); color: var(--text-2); font: 500 .72rem var(--font-ui); letter-spacing: .03em; text-decoration: none; }
.chip--ok { border-color: rgba(74,222,128,.5); color: var(--ok); }
.chip--active { border-color: var(--amber); color: var(--amber); }
.chip-x { margin-left: .15rem; font-size: .9rem; line-height: 1; color: inherit; opacity: .7; }
.chip:hover .chip-x { opacity: 1; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: .28rem .55rem; border-radius: 4px; font: 700 .66rem var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: #0a0b09; }
.badge--sale { background: var(--ok); }
.badge--last { background: var(--amber); }
.stock { display: inline-flex; align-items: center; gap: .5rem; font: 600 .7rem var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.stock-bars { display: inline-flex; gap: 2px; }
.stock-bars i { width: 9px; height: 12px; border-radius: 2px; background: rgba(241,239,233,.10); transform: skewX(-10deg); }
.stock--ok { color: var(--ok); } .stock--ok .stock-bars i.on { background: var(--ok); }
.stock--low { color: var(--warn); } .stock--low .stock-bars i.on { background: var(--warn); }
.stock--out { color: var(--danger); } .stock--out .stock-bars i.on { background: var(--danger); }
.stock--request { color: var(--amber); }
.stock--variants { color: var(--flare); }

/* ===== KARTA PRODUKTU ===== */
.card { position: relative; display: flex; flex-direction: column; background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover, .card:focus-within { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--bg-media); }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; box-sizing: border-box; transition: transform .35s cubic-bezier(.21,1.02,.31,.98); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: .55rem; padding: .9rem 1rem 1rem; flex: 1; }
.card-cat { font: 500 .68rem var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.card-title { margin: 0; font: 600 1.02rem/1.3 var(--font-ui); letter-spacing: -.005em; }
.card-title a { color: var(--text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { color: var(--amber); }
.card-price { display: flex; flex-direction: column; gap: .15rem; margin-top: auto; }
.price-main { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; font: 600 1.15rem var(--font-num); color: var(--text); }
.price-main small { font: 500 .68rem var(--font-ui); text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.price-old { font: 400 .85rem var(--font-num); color: var(--text-3); text-decoration: line-through; }
.price-alt { font: 400 .78rem var(--font-num); color: var(--text-2); }
.price-request { font: 600 .95rem var(--font-ui); color: var(--text-2); }
.card-actions { display: flex; flex-direction: column; gap: .5rem; padding-top: .35rem; }
.card-add { display: flex; flex-direction: column; gap: .5rem; margin: 0; }
.card-stepper { align-self: flex-start; }
@media (hover: hover) and (pointer: fine) {
  .card-stepper { height: 0; opacity: 0; overflow: hidden; border-width: 0; transition: height .2s, opacity .2s; }
  .card:hover .card-stepper, .card:focus-within .card-stepper { height: 40px; opacity: 1; border-width: 1px; }
}

/* ===== LISTING ===== */
.shop { padding: 0; }
.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.shop-head h1 { font: 300 clamp(2rem, 4.5vw, 3.2rem)/1.05 var(--font-display); letter-spacing: -.02em; margin: 0; }
.shop-head .shop-count { font: 400 .85rem var(--font-num); color: var(--text-3); }
.shop-search { position: relative; min-width: 260px; }
.shop-search input { width: 100%; min-height: 42px; padding: 0 .9rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-raised); color: var(--text); font: 400 .95rem var(--font-ui); }
.shop-search input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,157,0,.25); }
.search-results { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 120; max-height: 420px; overflow-y: auto; background: var(--bg-surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.7); }
.shop-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; align-items: start; }
.shop-filters { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: .5rem; scrollbar-width: thin; }
.shop-filters-head { display: none; }
.f-group { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.f-group:first-child { padding-top: 0; }
fieldset.f-group { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 1rem 0; min-width: 0; }
fieldset.f-group legend { padding: 0; }
.f-title { margin: 0 0 .6rem; font: 600 .72rem var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.f-cats { display: flex; flex-direction: column; gap: .15rem; }
.f-cats a { display: flex; justify-content: space-between; padding: .38rem .5rem; border-radius: 4px; color: var(--text-2); font: 400 .9rem var(--font-ui); text-decoration: none; }
.f-cats a:hover { background: var(--bg-raised); color: var(--text); }
.f-cats a.active { color: var(--amber); font-weight: 600; }
.f-cats .sub { padding-left: 1rem; }
.f-check { display: flex; align-items: center; gap: .6rem; padding: .3rem 0; font: 400 .9rem var(--font-ui); color: var(--text); cursor: pointer; }
.f-check input { width: 16px; height: 16px; accent-color: var(--amber); }
.f-check .n { margin-left: auto; font: 400 .75rem var(--font-num); color: var(--text-3); }
.f-price { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; color: var(--text-3); }
.f-price input { min-height: 38px; width: 100%; padding: 0 .5rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-raised); color: var(--text); font: 500 .9rem var(--font-num); }
.f-price input:focus { outline: none; border-color: var(--amber); }
.f-actions { display: flex; gap: .5rem; padding-top: 1rem; }
.shop-toolbar { position: sticky; top: 76px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: .6rem 0; margin-bottom: 1.25rem; background: var(--bg-void); border-bottom: 1px solid var(--line); }
.shop-toolbar .chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.shop-toolbar .spacer { flex: 1; }
.shop-toolbar .sort-form { display: flex; align-items: center; gap: .5rem; margin: 0; }
.shop-toolbar .sort-form label { font: 500 .7rem var(--font-ui); text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.shop-toolbar .sort-form select { min-height: 36px; padding: 0 .6rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-raised); color: var(--text); font: 500 .8rem var(--font-ui); cursor: pointer; }
.shop-toolbar .sort-form select option { background: #111; }
.shop-toolbar .sort-form button { display: none; }
.view-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.view-toggle button { width: 36px; height: 36px; border: 0; background: transparent; color: var(--text-3); cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--bg-raised); color: var(--amber); }
.view-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.shop-filters-open { display: none; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.shop-grid.is-list { grid-template-columns: 1fr; }
.shop-grid.is-list .card { flex-direction: row; align-items: stretch; }
.shop-grid.is-list .card-media { width: 140px; flex-shrink: 0; aspect-ratio: auto; }
.shop-grid.is-list .card-body { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "cat price actions" "title price actions" "stock price actions"; column-gap: 1.5rem; align-items: center; }
.shop-grid.is-list .card-cat { grid-area: cat; } .shop-grid.is-list .card-title { grid-area: title; } .shop-grid.is-list .card-stock { grid-area: stock; }
.shop-grid.is-list .card-price { grid-area: price; margin: 0; text-align: right; align-items: flex-end; }
.shop-grid.is-list .card-actions { grid-area: actions; min-width: 200px; padding: 0; }
.shop-grid.is-list .card-stepper { height: 40px; opacity: 1; border-width: 1px; }
.shop-empty { grid-column: 1 / -1; padding: 3rem 1rem; text-align: center; color: var(--text-2); }
.shop-empty p { margin: 0 0 1rem; }
.shop-more { text-align: center; margin: 2.5rem 0 1rem; }
.shop-pagination { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; align-items: center; margin-top: 2rem; }
.shop-pagination a, .shop-pagination span[aria-current] { display: inline-block; min-width: 2.6rem; padding: .55rem .8rem; text-align: center; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text); font: 500 .85rem var(--font-ui); text-decoration: none; }
.shop-pagination span[aria-current] { border-color: var(--amber); color: var(--amber); }
.shop-pagination .ell { opacity: .4; padding: 0 .3rem; }
.shop-pageinfo { text-align: center; margin-top: .8rem; font: 400 .78rem var(--font-num); color: var(--text-3); }
.shop .discount-info { margin-bottom: 1rem; }
.category-faq { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.category-faq h2 { font: 300 1.4rem var(--font-display); margin: 0 0 1rem; }
.category-faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .6rem; background: var(--bg-surface); }
.category-faq summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 600; color: var(--amber); }
.category-faq details > div { padding: 0 1.1rem 1rem; color: var(--text-2); line-height: 1.6; font-size: .92rem; }

/* ===== MOBILE: sheet filtrów ===== */
@media (max-width: 1023px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters-open { display: inline-flex; }
  .shop-filters { position: fixed; inset: auto 0 0 0; z-index: 700; max-height: 85vh; padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); background: var(--bg-surface); border-top: 1px solid var(--line-strong); border-radius: 14px 14px 0 0; transform: translateY(105%); transition: transform .3s cubic-bezier(.21,1.02,.31,.98); box-shadow: 0 -10px 40px rgba(0,0,0,.6); }
  .shop-filters.is-open { transform: translateY(0); }
  .shop-filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; font: 600 .9rem var(--font-ui); }
  .shop-sheet-backdrop { position: fixed; inset: 0; z-index: 690; background: rgba(0,0,0,.6); }
  body.sheet-open { overflow: hidden; }
  .shop-toolbar { top: 62px; }
}
@media (max-width: 640px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .card-body { padding: .7rem .75rem .85rem; }
  .card-title { font-size: .92rem; }
  .price-main { font-size: 1.02rem; }
  .shop-grid.is-list .card-body { grid-template-columns: 1fr; grid-template-areas: "cat" "title" "stock" "price" "actions"; }
  .shop-grid.is-list .card-price { text-align: left; align-items: flex-start; }
  .shop-grid.is-list .card-media { width: 110px; }
  .view-toggle { display: none; }
  .shop-search { min-width: 0; width: 100%; }
  .shop-head { flex-direction: column; align-items: stretch; }
}

/* ===== STRONA PRODUKTU (etap 2) ===== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.crumbs { margin-bottom: 1.25rem; font: 500 .72rem var(--font-ui); letter-spacing: .08em; text-transform: uppercase; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "/"; color: var(--text-3); margin-right: .35rem; }
.crumbs a { color: var(--text-2); text-decoration: none; } .crumbs a:hover { color: var(--amber); }
.crumbs [aria-current] { color: var(--text); }
.pd { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: start; }
.pd-gallery { position: sticky; top: 92px; }
.pd-stage { aspect-ratio: 1 / 1; background: var(--bg-media); border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pd-stage img { width: 100%; height: 100%; object-fit: contain; padding: 6%; box-sizing: border-box; transition: opacity .2s; }
.pd-thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.pd-thumb { width: 64px; height: 64px; padding: 0; border: 2px solid var(--line); border-radius: var(--radius); background: var(--bg-media); cursor: pointer; overflow: hidden; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pd-thumb.is-active, .pd-thumb:hover { border-color: var(--amber); }
.pd-main { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.pd-cat { display: inline-block; font: 500 .7rem var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); text-decoration: none; margin-bottom: .5rem; }
.pd-title { margin: 0 0 .6rem; font: 300 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--font-display); letter-spacing: -.02em; color: var(--text); }
.pd-meta { display: flex; flex-wrap: wrap; gap: 1rem; font: 400 .8rem var(--font-ui); color: var(--text-3); }
.pd-meta code { font: 500 .8rem var(--font-num); color: var(--text-2); }
.pd-buy { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem; background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pd-price { display: flex; flex-direction: column; gap: .5rem; }
.pd-price .price-old { font-size: 1rem; }
.pd-price-row { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.pd-price-main { font: 600 2rem var(--font-num); color: var(--text); letter-spacing: -.02em; }
.pd-price-alt { font: 400 .95rem var(--font-num); color: var(--text-2); }
.pd-omnibus { margin: 0; padding-left: .75rem; border-left: 2px solid var(--ok); font: 400 .78rem var(--font-ui); color: var(--text-2); }
.pd-note { margin: 0; font: 400 .82rem var(--font-ui); color: var(--text-2); }
.pd-form { display: flex; flex-direction: column; gap: .9rem; margin: 0; }
.pd-variants { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pd-variants legend { font: 600 .7rem var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); padding: 0; margin-bottom: .5rem; width: 100%; }
.chip--variant { cursor: pointer; padding: .5rem .8rem; font-size: .85rem; color: var(--text); gap: .5rem; border-radius: var(--radius); }
.chip--variant input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip--variant:has(input:checked) { border-color: var(--amber); background: rgba(255,157,0,.12); color: var(--amber); }
.chip--variant:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.chip--variant.is-out { color: var(--text-3); text-decoration: line-through; }
.chip--variant .chip-sub { font: 500 .72rem var(--font-num); color: var(--text-3); text-decoration: none; }
.pd-hint { margin: 0; font: 500 .8rem var(--font-ui); color: var(--warn); }
.pd-hint.is-flash { animation: pdFlash .3s 3; }
@keyframes pdFlash { 50% { opacity: .2; } }
.pd-cta { display: flex; gap: .75rem; align-items: stretch; }
.pd-cta .btn { flex: 1; min-height: 48px; font-size: .95rem; }
.pd-cta .stepper { height: 48px; }
.pd-trust { list-style: none; margin: 0; padding: .9rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .45rem; font: 400 .8rem var(--font-ui); color: var(--text-2); }
.pd-trust li { display: flex; align-items: center; gap: .55rem; }
.pd-trust svg { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: var(--ok); stroke-width: 2; }
.pd-trust a { color: var(--amber); text-decoration: none; }
.pd-tabs { border-top: 1px solid var(--line); }
.pd-tab { border-bottom: 1px solid var(--line); }
.pd-tab summary { cursor: pointer; padding: 1rem 0; font: 600 .95rem var(--font-ui); color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.pd-tab summary::-webkit-details-marker { display: none; }
.pd-tab summary::after { content: "+"; color: var(--text-3); font-size: 1.2rem; }
.pd-tab[open] summary::after { content: "−"; }
.pd-tab-body { padding: 0 0 1.25rem; color: var(--text-2); line-height: 1.7; font-size: .95rem; }
.pd-tab-body p { margin: 0 0 .8rem; }
.pd-desc { max-width: 70ch; }
.pd-desc :is(h2, h3) { color: var(--text); font: 600 1.05rem var(--font-ui); margin: 1.2rem 0 .5rem; }
.pd-desc ul { padding-left: 1.2rem; }
.pd-specs { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pd-specs th, .pd-specs td { text-align: left; padding: .55rem .25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.pd-specs th { width: 38%; font-weight: 500; color: var(--text-3); }
.pd-specs td { color: var(--text); }
.pd-files { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.pd-files a { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); text-decoration: none; font-weight: 500; }
.pd-files a:hover { color: var(--amber); }
.pd-files svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.pd-similar { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.pd-similar h2 { margin: 0 0 1.25rem; font: 300 1.6rem var(--font-display); }
/* tablist na desktopie (shop.js) */
.pd-tablist { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.pd-tablist button { border: 0; background: transparent; padding: .8rem 1rem; color: var(--text-2); font: 600 .85rem var(--font-ui); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.pd-tablist button[aria-selected="true"] { color: var(--amber); border-bottom-color: var(--amber); }
.pd-tabs.is-tablist .pd-tab { border: 0; }
.pd-tabs.is-tablist .pd-tab summary { display: none; }
.pd-tabs.is-tablist .pd-tab:not([open]) { display: none; }
@media (max-width: 1023px) {
  .pd { grid-template-columns: 1fr; gap: 1.5rem; }
  .pd-gallery { position: static; }
  .pd-title { font-size: 1.6rem; }
  .pd-price-main { font-size: 1.6rem; }
}

/* ===== DRAWER KOSZYKA / ZAPYTANIA (etap 3) ===== */
.drawer-backdrop { position: fixed; inset: 0; z-index: 800; background: rgba(0,0,0,.6); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 810; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--bg-surface); border-left: 1px solid var(--line-strong); box-shadow: -20px 0 60px rgba(0,0,0,.6); transform: translateX(100%); transition: transform .3s cubic-bezier(.21,1.02,.31,.98); }
.drawer.is-open { transform: translateX(0); }
.drawer[hidden] { display: flex; visibility: hidden; }
.drawer.is-open[hidden] { visibility: visible; }
.drawer-head { display: flex; align-items: center; gap: .5rem; padding: .75rem .75rem .75rem 1rem; border-bottom: 1px solid var(--line); }
.drawer-tabs { display: flex; gap: .25rem; flex: 1; }
.drawer-tabs button { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .8rem; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--text-2); font: 600 .8rem var(--font-ui); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.drawer-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--amber); }
.drawer-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bg-raised); color: var(--text-2); font: 600 .72rem var(--font-num); display: inline-flex; align-items: center; justify-content: center; }
.drawer-tabs button[aria-selected="true"] .drawer-count { background: var(--amber); color: #0a0b09; }
.drawer-close { width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; }
.drawer-close:hover { border-color: var(--text); }
.drawer-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer-panel[hidden] { display: none; }
.drawer-body { flex: 1; overflow-y: auto; padding: .75rem 1rem; }
.drawer-note { margin: 0 0 .75rem; font: 400 .82rem var(--font-ui); color: var(--text-2); line-height: 1.5; }
.drawer-empty { padding: 2.5rem 1rem; text-align: center; color: var(--text-2); }
.drawer-empty p { margin: 0 0 .9rem; }
.drawer-foot { padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg-surface); display: flex; flex-direction: column; gap: .7rem; }
.drawer-sums { margin: 0; display: grid; gap: .3rem; }
.drawer-sums div { display: flex; justify-content: space-between; gap: 1rem; font: 400 .85rem var(--font-ui); color: var(--text-2); }
.drawer-sums dd { margin: 0; font: 600 .9rem var(--font-num); color: var(--text); }
.drawer-sums small { color: var(--text-3); font-size: .72rem; }
.drawer-clear { margin: 0; text-align: center; }
.btn-lg { min-height: 50px; font-size: .95rem; }
.free-bar { display: grid; gap: .35rem; }
.free-bar-track { height: 6px; border-radius: 999px; background: var(--bg-raised); overflow: hidden; }
.free-bar-track i { display: block; height: 100%; width: var(--pct, 0%); background: var(--ok); border-radius: 999px; transition: width .3s; }
.free-bar-text { margin: 0; font: 400 .78rem var(--font-ui); color: var(--text-2); }
.cd-rows, .qd-rows { display: flex; flex-direction: column; }
.cd-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.cd-img { width: 64px; height: 64px; border-radius: var(--radius); background: var(--bg-media); overflow: hidden; display: block; }
.cd-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; box-sizing: border-box; }
.cd-main { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.cd-name { color: var(--text); text-decoration: none; font: 600 .88rem/1.3 var(--font-ui); }
.cd-name:hover { color: var(--amber); }
.cd-unit { font: 400 .74rem var(--font-num); color: var(--text-3); }
.cd-controls { display: flex; align-items: center; gap: .6rem; margin-top: .2rem; }
.stepper--sm { height: 32px; }
.stepper--sm .stepper-btn { width: 30px; font-size: 1rem; }
.stepper--sm .stepper-input { width: 42px; font-size: .85rem; }
.cd-remove { background: none; border: 0; padding: 0; color: var(--text-3); font: 500 .74rem var(--font-ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cd-remove:hover { color: var(--danger); }
.cd-line { font: 600 .9rem var(--font-num); color: var(--text); white-space: nowrap; }
.cd-row.is-busy { opacity: .5; pointer-events: none; }
.qd-row { display: flex; flex-direction: column; gap: .4rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.qd-name { font: 600 .88rem/1.3 var(--font-ui); color: var(--text); }
.quote-remove-form { margin: 0; }
.drawer-extras { border: 0; margin: 0; padding: 0; display: grid; gap: .1rem; }
.drawer-extras legend { font: 600 .7rem var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); padding: 0; margin-bottom: .3rem; }
.drawer-extras .f-check { padding: .2rem 0; font-size: .85rem; }
.drawer-extras small { color: var(--text-3); font-size: .72rem; }
.cart-minibar { display: none; position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); z-index: 590; align-items: center; gap: .6rem; min-height: 52px; padding: 0 1rem; border: 1px solid var(--amber); border-radius: 999px; background: rgba(10,11,9,.96); color: var(--text); font: 600 .82rem var(--font-ui); cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.cart-minibar svg { width: 18px; height: 18px; fill: none; stroke: var(--amber); stroke-width: 2; flex-shrink: 0; }
.cart-minibar-quote { margin-left: auto; font: 500 .72rem var(--font-ui); color: var(--text-2); }
.cart-minibar[hidden] { display: none; }
@media (max-width: 900px) { .cart-minibar:not([hidden]) { display: flex; } }
body.drawer-open { overflow: hidden; }
/* Modale v2 (notify / inquiry) — overlay legacy .checkout-modal, box po nowemu */
.modal-box { padding: 2rem 1.75rem; border-top: 3px solid var(--amber); border-radius: var(--radius-lg); background: var(--bg-surface); }
.modal-box--sm { max-width: 460px; }
.modal-title { margin: 0 0 .5rem; font: 300 1.7rem var(--font-display); color: var(--text); }
.modal-lead { margin: 0 0 1.25rem; font: 400 .9rem var(--font-ui); color: var(--text-2); line-height: 1.5; }
.modal-form { display: flex; flex-direction: column; gap: .9rem; margin: 0; }
.modal-product { margin: 0; font: 500 .85rem var(--font-num); color: var(--amber); }
.modal-form textarea { width: 100%; min-height: 110px; padding: .6rem .75rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-raised); color: var(--text); font: 400 .92rem var(--font-ui); resize: vertical; }
.modal-form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,157,0,.25); }
.hp-field { position: absolute; top: -9999px; left: -9999px; opacity: 0; z-index: -1; }

/* ===== KASA /kasa (etap 4) ===== */
.chk-title { margin: 0 0 1.25rem; font: 300 clamp(1.8rem, 3vw, 2.6rem) var(--font-display); }
.chk { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: start; }
.chk-form { display: flex; flex-direction: column; gap: 1.25rem; margin: 0; }
.chk-step { padding: 1.25rem; background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: .9rem; }
.chk-step-title { margin: 0; display: flex; align-items: center; gap: .7rem; font: 600 1.05rem var(--font-ui); }
.chk-num { width: 28px; height: 28px; border-radius: 50%; background: var(--amber); color: #0a0b09; font: 700 .85rem var(--font-num); display: inline-flex; align-items: center; justify-content: center; }
.chk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.chk-note { margin: 0; font: 400 .85rem var(--font-ui); color: var(--text-2); }
.chk-note a { color: var(--amber); }
.chk-hint { font: 400 .75rem var(--font-ui); color: var(--text-3); min-height: 1em; }
.chk-hint.is-ok { color: var(--ok); } .chk-hint.is-err { color: var(--danger); }
.chk-inline { display: flex; gap: .5rem; align-items: stretch; }
.chk-inline input { flex: 1; min-width: 0; }
.chk-toggle { display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); cursor: pointer; }
.chk-toggle input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--amber); flex-shrink: 0; }
.chk-toggle strong { display: block; font: 600 .92rem var(--font-ui); color: var(--text); }
.chk-toggle small { display: block; font: 400 .78rem var(--font-ui); color: var(--text-2); margin-top: .15rem; }
.chk-sub { padding: .9rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); display: flex; flex-direction: column; gap: .9rem; }
.chk-sub[hidden] { display: none; }
.field textarea { width: 100%; padding: .6rem .75rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-raised); color: var(--text); font: 400 .92rem var(--font-ui); resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,157,0,.25); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice-body { display: flex; flex-direction: column; gap: .25rem; height: 100%; padding: .9rem 1rem; border: 2px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); transition: border-color .2s, background .2s; }
.choice-body svg { width: 26px; height: 26px; fill: none; stroke: var(--text-3); stroke-width: 1.6; margin-bottom: .2rem; }
.choice-body strong { font: 600 .92rem var(--font-ui); color: var(--text); }
.choice-body small { font: 400 .78rem var(--font-ui); color: var(--text-2); }
.choice-body em { font: 600 .85rem var(--font-num); font-style: normal; color: var(--amber); margin-top: auto; }
.choice:hover .choice-body { border-color: var(--line-strong); }
.choice input:checked + .choice-body { border-color: var(--amber); background: rgba(255,157,0,.07); }
.choice input:checked + .choice-body svg { stroke: var(--amber); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--amber); outline-offset: 2px; }
.pay-icon { width: 34px; height: 22px; border-radius: 4px; background: var(--bg-surface); border: 1px solid var(--line-strong); display: inline-block; margin-bottom: .3rem; position: relative; }
.pay-icon::after { content: ""; position: absolute; inset: 0; margin: auto; width: 60%; height: 3px; background: var(--text-3); border-radius: 2px; }
.pay-icon--blik::after { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.pay-icon--card::after { height: 6px; top: -6px; }
.pay-icon--cash::after { width: 40%; height: 40%; border-radius: 50%; background: var(--ok); }
.pay-icon--invoice::after { width: 50%; height: 50%; background: transparent; border: 2px solid var(--text-3); border-radius: 2px; }
.chk-terms { display: flex; gap: .7rem; align-items: flex-start; font: 400 .85rem/1.5 var(--font-ui); color: var(--text-2); cursor: pointer; }
.chk-terms input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--amber); flex-shrink: 0; }
.chk-terms a { color: var(--amber); }
.chk-error { padding: .8rem 1rem; border: 1px solid var(--danger); border-radius: var(--radius); background: rgba(244,63,94,.1); color: var(--text); font: 500 .88rem var(--font-ui); }
.chk-error[hidden] { display: none; }
.chk-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.chk-submit { flex: 2; min-width: 240px; }
.chk-secure { margin: 0; display: flex; align-items: center; gap: .5rem; font: 500 .74rem var(--font-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.chk-secure svg { width: 14px; height: 14px; fill: none; stroke: var(--ok); stroke-width: 2; }
.chk-summary { position: sticky; top: 92px; background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.chk-summary-toggle { display: none; width: 100%; padding: .9rem 1rem; border: 0; background: transparent; color: var(--text); font: 600 .9rem var(--font-ui); text-align: left; cursor: pointer; }
.chk-summary-caret { float: right; }
.chk-summary-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .9rem; }
.chk-summary-head { display: flex; justify-content: space-between; align-items: baseline; }
.chk-summary-head h2 { margin: 0; font: 600 1rem var(--font-ui); }
.chk-items { display: flex; flex-direction: column; max-height: 40vh; overflow-y: auto; }
.chk-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: .6rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.chk-item img { width: 48px; height: 48px; object-fit: contain; background: var(--bg-media); border-radius: 4px; padding: 4px; box-sizing: border-box; }
.chk-item-main { display: flex; flex-direction: column; min-width: 0; }
.chk-item-name { font: 500 .85rem/1.3 var(--font-ui); color: var(--text); }
.chk-item-qty { font: 400 .74rem var(--font-num); color: var(--text-3); }
.chk-item-line { font: 600 .85rem var(--font-num); white-space: nowrap; }
.chk-sums { margin: 0; display: grid; gap: .35rem; }
.chk-sums div { display: flex; justify-content: space-between; font: 400 .85rem var(--font-ui); color: var(--text-2); }
.chk-sums dd { margin: 0; font: 600 .9rem var(--font-num); color: var(--text); }
.chk-sums-total { padding-top: .5rem; border-top: 1px solid var(--line-strong); }
.chk-sums-total dt { color: var(--text); font-weight: 600; }
.chk-sums-total dd { font-size: 1.25rem; color: var(--amber); }
.chk-vat { margin: 0; font: 400 .74rem var(--font-ui); color: var(--text-3); }
.chk-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chk-badges li { padding: .2rem .55rem; border: 1px solid var(--line-strong); border-radius: 4px; font: 500 .7rem var(--font-ui); color: var(--text-2); }
/* checkout legacy scripts.php koloruje puste pola border-bottom */
.chk-form .field input[style*="border-bottom"] { border-color: var(--danger); }
@media (max-width: 1023px) {
  .chk { grid-template-columns: 1fr; }
  .chk-summary { position: static; order: -1; }
  .chk-summary-toggle { display: block; }
  .chk-summary-body { display: none; }
  .chk-summary.is-open .chk-summary-body { display: flex; }
}
@media (max-width: 640px) { .chk-grid, .choice-grid { grid-template-columns: 1fr; } .chk-inline { flex-direction: column; } }

/* ===== POTWIERDZENIA (/zamowienie, /zapytanie-wyslane) ===== */
.conf-container { max-width: 960px; margin: 0 auto; }
.conf { display: flex; flex-direction: column; gap: 1.25rem; }
.conf-head { padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-surface); border-left: 4px solid var(--ok); }
.conf--warn .conf-head { border-left-color: var(--warn); }
.conf-kicker { margin: 0 0 .4rem; font: 500 .75rem var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.conf-kicker code { font: 600 .8rem var(--font-num); color: var(--text); }
.conf-head h1 { margin: 0 0 .5rem; font: 300 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--font-display); }
.conf-lead { margin: 0 0 .5rem; font: 400 .95rem/1.6 var(--font-ui); color: var(--text-2); }
.conf-status { margin: 0; font: 400 .85rem var(--font-ui); color: var(--text-2); }
.conf-retry { margin: 0; }
.conf-box { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-surface); }
.conf-box h2 { margin: 0 0 .9rem; font: 600 1rem var(--font-ui); }
.conf-transfer { border-color: rgba(255,157,0,.5); }
.conf-transfer dl, .conf-dl { margin: 0; display: grid; gap: .6rem; }
.conf-transfer dl div, .conf-dl div { display: grid; grid-template-columns: 140px 1fr; gap: .75rem; font: 400 .9rem/1.5 var(--font-ui); }
.conf-transfer dt, .conf-dl dt { color: var(--text-3); }
.conf-transfer dd, .conf-dl dd { margin: 0; color: var(--text); }
.conf-account { font: 600 1.1rem var(--font-num); color: var(--ok); letter-spacing: .04em; }
.conf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.conf-items { width: 100%; border-collapse: collapse; font: 400 .88rem var(--font-ui); }
.conf-items td { padding: .5rem .25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.conf-items .num { text-align: right; font-family: var(--font-num); white-space: nowrap; }
.conf-items tfoot td { color: var(--text-2); }
.conf-items .total td { color: var(--text); font-weight: 600; font-size: 1rem; border-bottom: 0; }
.conf-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; color: var(--text-2); font: 400 .88rem var(--font-ui); }
.conf-foot p { margin: 0; }
.conf-foot a { color: var(--amber); }
@media (max-width: 720px) { .conf-grid { grid-template-columns: 1fr; } .conf-transfer dl div, .conf-dl div { grid-template-columns: 1fr; gap: .1rem; } }
