/* ==========================================================================
   ARKUSZ STYLÓW SKLEPU INTERNETOWEGO WINCENT (v59 - STAL & GRAFIT)
   Ostrokrawędziowy brutalizm inżynierski: zero zaokrągleń, 3D GPU, PDF A4
   ========================================================================== */

.shop-page * {
    border-radius: 0 !important;
}

/* Ukrycie kontenera wydruku PDF podczas normalnego przeglądania w przeglądarce */
#shop-print-section.print-area {
    display: none;
}

.shop-page {
    padding-bottom: 78px;
}

/* ==========================================================================
   1. SEKCJA HERO SKLEPU I PRZEŁĄCZNIK TRYBÓW PRACY
   ========================================================================== */
.shop-hero {
    background-color: var(--primary-slate);
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    color: var(--bg-white);
    text-align: center;
    padding: 4.2rem 0 7.5rem 0;
}

.shop-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 0.9rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.3px;
}

.shop-hero p {
    font-size: 1.08rem;
    color: #e5e7eb;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes choiceMetallicWave {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.shop-mode-switcher-wrap {
    margin-top: -5rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 20;
}

.shop-mode-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.hub-card.mode-tab-btn {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    width: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.hub-card.mode-tab-btn.active {
    border-color: #15803d;
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: inset 0 -5px 0 #16a34a, 0 12px 26px rgba(17, 24, 39, 0.7);
}

.shop-view {
    display: none;
    animation: shopFadeIn 0.3s ease-out;
}

.shop-view.active {
    display: block;
}

@keyframes shopFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   2. PASZPORT TECHNOLOGICZNY I PASEK POSTĘPU KOMPLETACJI PACZKI
   ========================================================================== */
.blueprint-passport {
    background: linear-gradient(-45deg, #374151, #1f2937, #111827, #4b5563);
    background-size: 400% 400%;
    animation: gradientWaveGraphite 8s ease-in-out infinite;
    color: #ffffff;
    border: 2px solid #9ca3af;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.45);
}

.passport-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.passport-badge {
    display: inline-block;
    background: #15803d;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border: 1px solid #86efac;
    margin-bottom: 8px;
}

.passport-title {
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.passport-desc {
    font-size: 0.92rem;
    color: #d1d5db;
    margin: 0;
}

.passport-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.metric-tile {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid #9ca3af;
    padding: 12px 14px;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #cbd5e1;
    font-weight: 700;
    margin-bottom: 4px;
}

.metric-value {
    font-size: 1.12rem;
    font-weight: 900;
    color: #ffffff;
}

.passport-anchors-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
    align-items: center;
}

.passport-anchors-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: #cbd5e1;
    margin-right: 4px;
}

.anchor-chip {
    display: inline-block;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 8px;
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #94a3b8;
    text-decoration: none;
}

.blueprint-passport .anchor-chip {
    background: rgba(255, 255, 255, 0.12);
    color: #f3f4f6;
    border-color: rgba(203, 213, 225, 0.45);
}

.anchor-chip.clickable {
    cursor: pointer;
    transition: all 0.15s ease;
}

.anchor-chip.clickable:hover {
    background: #1f2937;
    color: #ffffff;
    border-color: #ffffff;
}

.passport-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-steel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    background: linear-gradient(-45deg, #e5e7eb, #d1d5db, #9ca3af, #f3f4f6);
    background-size: 400% 400%;
    animation: gradientWaveGray 8s ease-in-out infinite;
    color: #111827 !important;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    border: 2px solid #9ca3af;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.35);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-steel:hover {
    transform: translateY(-2px);
    border-color: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.6);
}

.btn-graphite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(-45deg, #4b5563, #374151, #1f2937, #111827);
    background-size: 400% 400%;
    animation: gradientWaveGraphite 8s ease-in-out infinite;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    border: 2px solid #9ca3af;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.45);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-graphite:hover {
    transform: translateY(-2px);
    border-color: #ffffff;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.7);
}

.btn-green-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(-45deg, #14532d, #15803d, #16a34a, #166534);
    background-size: 300% 300%;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    border: 2px solid #86efac;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.45);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-green-action:hover {
    transform: translateY(-2px);
    border-color: #ffffff;
    box-shadow: 0 12px 24px rgba(21, 128, 61, 0.55);
}

/* Pasek postępu kompletacji Paczki */
.shop-progress-box {
    background: linear-gradient(-45deg, #e5e7eb, #d1d5db, #9ca3af, #f3f4f6);
    background-size: 400% 400%;
    animation: gradientWaveGray 8s ease-in-out infinite;
    border: 2px solid #9ca3af;
    padding: 16px 20px;
    margin-bottom: 26px;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.35);
}

.shop-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-weight: 800;
    font-size: 0.98rem;
    color: #111827;
    margin-bottom: 10px;
}

.shop-progress-track {
    position: relative;
    width: 100%;
    height: 22px;
    background: #1f2937;
    border: 2px solid #374151;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.55);
}

.shop-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #14532d, #15803d, #16a34a);
    transition: width 0.4s ease;
}

.shop-progress-pct {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* Pusty stan Trybu Paczki (gdy nie wygenerowano jeszcze projektu w kalkulatorze) */
.empty-blueprint-box {
    background-color: #d1d5db;
    border: 3px solid #9ca3af;
    padding: 30px 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.35);
    text-align: center;
}

.empty-blueprint-box h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #111827;
    margin: 0 0 22px 0;
}

.pkg-empty-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.pkg-upload-config-btn {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 14px 18px;
    background: linear-gradient(
        -45deg,
        #0f3f22 0%,
        #14532d 18%,
        #166534 30%,
        #16a34a 41%,
        #6ee7b7 48%,
        #bbf7d0 50%,
        #6ee7b7 52%,
        #16a34a 59%,
        #166534 70%,
        #14532d 82%,
        #0f3f22 100%
    );
    background-size: 250% 250%;
    animation: choiceMetallicWave 3.7s ease-in-out infinite;
    color: #ffffff !important;
    border: 2px solid #86efac;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-align: center;
    cursor: pointer;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.92), 0 0 8px rgba(15, 63, 34, 0.85), 0 0 2px rgba(0, 0, 0, 1);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
    .pkg-upload-config-btn:hover {
        transform: translateY(-2px);
        border-color: #ffffff;
        box-shadow: 0 8px 20px rgba(21, 128, 61, 0.5);
    }
}

.pkg-calc-btn-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.pkg-calc-btn {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.2px;
    color: #ffffff !important;
    background: linear-gradient(
        -45deg,
        #111827 0%,
        #1f2937 18%,
        #374151 30%,
        #6b7280 40%,
        #b4bcc8 47%,
        #e5e7eb 50%,
        #b4bcc8 53%,
        #6b7280 60%,
        #374151 70%,
        #1f2937 82%,
        #111827 100%
    );
    background-size: 250% 250%;
    animation: choiceMetallicWave 3.7s ease-in-out infinite;
    border: 2px solid #9ca3af;
    padding: 14px 18px;
    min-height: 56px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(17, 24, 39, 0.32);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 8px rgba(17, 24, 39, 0.8), 0 0 2px rgba(0, 0, 0, 1);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.pkg-calc-btn.is-full-row {
    grid-column: 1 / -1;
}

@media (hover: hover) {
    .pkg-calc-btn:not(.is-locked):hover {
        border-color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(17, 24, 39, 0.45);
    }
}

.pkg-calc-btn.is-locked {
    background: #6b7280 !important;
    border: 2px dashed #9ca3af !important;
    color: #e5e7eb !important;
    box-shadow: none;
    text-shadow: none;
    animation: none !important;
    cursor: not-allowed;
    opacity: 0.92;
}

/* ==========================================================================
   3. WĘZŁY TECHNOLOGICZNE I PÓŁKI PRODUKTOWE (PACZKA + DETAL)
   ========================================================================== */
.tech-node-section {
    background-color: #d1d5db;
    border: 3px solid #9ca3af;
    padding: 26px 22px;
    margin-bottom: 28px;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.35);
}

.tech-node-header {
    background: linear-gradient(-45deg, #4b5563, #374151, #1f2937, #111827);
    background-size: 400% 400%;
    animation: gradientWaveGraphite 8s ease-in-out infinite;
    color: #ffffff;
    border: 2px solid #9ca3af;
    padding: 14px 18px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tech-node-header h2 {
    font-size: 1.18rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 0.3px;
}

.node-status-pill {
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid #cbd5e1;
    color: #f3f4f6;
}

.node-status-pill.done {
    background: #15803d;
    border-color: #86efac;
    color: #ffffff;
}

/* Boks instrukcji receptury (wyjaśnia które produkty ze sklepu trzeba dobrać) */
.node-recipe-box {
    background: linear-gradient(-45deg, #f8fafc, #e5e7eb, #f1f5f9, #e2e8f0);
    border: 2px solid #9ca3af;
    border-left: 6px solid #1f2937;
    padding: 15px 18px;
    margin-bottom: 20px;
    color: #1f2937;
    font-size: 0.93rem;
}

.node-recipe-box p {
    margin: 0 0 8px 0;
}

.node-recipe-list {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.node-recipe-list li {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    padding-left: 16px;
    position: relative;
}

.node-recipe-list li::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: #1f2937;
}

.slot-block {
    background: #e5e7eb;
    border: 2px solid #9ca3af;
    padding: 18px;
    margin-bottom: 18px;
}

.slot-block:last-child {
    margin-bottom: 0;
}

.slot-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #cbd5e1;
}

.slot-title-bar h3 {
    font-size: 1.05rem;
    font-weight: 900;
    color: #111827;
    margin: 0;
}

.slot-req-tag {
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    background: #1f2937;
    color: #ffffff;
    border: 1px solid #9ca3af;
}

.slot-req-tag.selected {
    background: #15803d;
    border-color: #86efac;
}

.shop-eng-note {
    background: linear-gradient(-45deg, #374151, #1f2937, #111827, #4b5563);
    color: #e5e7eb;
    border: 2px solid #9ca3af;
    border-left: 5px solid #fb923c;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

/* Siatka i karty produktów (z efektem przestrzennym 3D / Żyroskop) */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.shop-product-card {
    background: #ffffff;
    border: 2px solid #9ca3af;
    padding: 18px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.shop-product-card.selectable {
    cursor: pointer;
}

@media (hover: hover) {
    .shop-product-card:hover {
        transform: translateY(-3px);
        border-color: #ffffff;
        box-shadow: 0 12px 26px rgba(17, 24, 39, 0.7);
    }
}

.shop-product-card.selected-in-pkg {
    border: 3px solid #15803d;
    background: #f0fdf4;
    box-shadow: 0 8px 22px rgba(21, 128, 61, 0.35);
}

.shop-product-card.anchor-highlighted {
    border: 3px solid #ea580c;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.3), 0 12px 26px rgba(17, 24, 39, 0.7);
}

.pkg-selected-ribbon {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: #15803d;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 900;
    padding: 5px 10px;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.shop-product-card.selected-in-pkg .pkg-selected-ribbon {
    display: inline-block;
}

/* Galeria zdjęć w karcie + Ruch przestrzenny 3D GPU */
.shop-card-gallery {
    position: relative;
    width: 100%;
    height: 215px;
    margin-bottom: 14px;
    background: #1f2937;
    border: 1px solid #cbd5e1;
    overflow: hidden;
    perspective: 750px;
}

.shop-card-gallery::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        circle at var(--glare-x, 50%) var(--glare-y, 50%),
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    z-index: 2;
}

.shop-gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    transform: scale(1.14) translate3d(var(--gyro-x, 0px), var(--gyro-y, 0px), 0) rotateX(var(--gyro-rx, 0deg)) rotateY(var(--gyro-ry, 0deg));
    transform-origin: center center;
    will-change: transform;
}

.shop-gallery-track.is-single-slide {
    overflow: hidden;
    touch-action: pan-y;
}

.shop-gallery-track::-webkit-scrollbar {
    display: none;
}

.shop-gallery-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

@media (prefers-reduced-motion: reduce) {
    .shop-gallery-track {
        transform: none !important;
        will-change: auto;
    }
}

.shop-gallery-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 3;
    background: rgba(17, 24, 39, 0.65);
    padding: 4px 7px;
}

.shop-gallery-dot {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.45);
}

.shop-gallery-dot.active {
    background: #ffffff;
}

.shop-card-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.shop-sku-code {
    font-family: Consolas, Monaco, monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 2px 6px;
    border: 1px solid #cbd5e1;
    text-decoration: none;
}

.shop-spec-plate {
    font-size: 0.76rem;
    font-weight: 900;
    padding: 2px 8px;
    background: #1f2937;
    color: #ffffff;
    border: 1px solid #9ca3af;
}

.shop-card-title {
    font-size: 1.06rem;
    font-weight: 900;
    color: #111827;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

/* Plakietka w Trybie Paczki (zamiast ceny jednostkowej!) */
.pkg-included-badge {
    background: linear-gradient(-45deg, #e5e7eb, #d1d5db, #cbd5e1, #f3f4f6);
    color: #1f2937;
    border: 1px solid #9ca3af;
    border-left: 4px solid #1f2937;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 7px 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.shop-product-card.selected-in-pkg .pkg-included-badge {
    background: #dcfce7;
    color: #14532d;
    border-color: #86efac;
    border-left-color: #15803d;
}

/* Cena detaliczna w Trybie Sklepu Detalicznego */
.retail-price-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #15803d;
    padding: 8px 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.retail-price-amount {
    font-size: 1.28rem;
    font-weight: 900;
    color: #111827;
}

.retail-price-vat {
    font-size: 0.76rem;
    font-weight: 700;
    color: #4b5563;
}

.shop-card-desc {
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.55;
    margin: 0 0 12px 0;
    flex-grow: 1;
    white-space: pre-line;
}

.shop-card-docs {
    margin: 0 0 12px 0;
    padding: 10px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #374151;
}

.shop-docs-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #1f2937;
    margin-bottom: 7px;
}

.shop-docs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.shop-doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    background: #ffffff;
    color: #111827 !important;
    border: 1px solid #9ca3af;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.shop-doc-btn:hover,
.shop-doc-btn:active {
    background: #1f2937;
    color: #ffffff !important;
    border-color: #111827;
    transform: translateY(-1px);
}

@media (max-width: 420px) {
    .shop-docs-grid {
        grid-template-columns: 1fr;
    }
}

.shop-card-anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
    padding-top: 8px;
    border-top: 1px dashed #cbd5e1;
}

.btn-card-select {
    width: 100%;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    border: 2px solid #9ca3af;
    background: linear-gradient(-45deg, #4b5563, #374151, #1f2937, #111827);
    color: #ffffff;
    transition: all 0.2s ease;
}

.shop-product-card.selected-in-pkg .btn-card-select {
    background: #15803d;
    border-color: #86efac;
}

.btn-add-retail {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    border: 2px solid #86efac;
    background: linear-gradient(-45deg, #14532d, #15803d, #16a34a, #166534);
    color: #ffffff;
    transition: all 0.2s ease;
}

.btn-add-retail:hover {
    border-color: #ffffff;
    box-shadow: 0 6px 16px rgba(21, 128, 61, 0.45);
}

/* ==========================================================================
   4. FILTRY I WYSZUKIWARKA W TRYBIE PRODUKTÓW
   ========================================================================== */
.retail-toolbar {
    background-color: #d1d5db;
    border: 3px solid #9ca3af;
    padding: 20px;
    margin-bottom: 26px;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.3);
}

.retail-search-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.shop-input, .shop-select {
    width: 100%;
    padding: 12px 14px;
    background: #ffffff;
    border: 2px solid #9ca3af;
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 600;
    color: #111827;
    outline: none;
}

.shop-input:focus, .shop-select:focus {
    border-color: #1f2937;
}

.retail-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-pill-btn {
    padding: 8px 14px;
    background: #ffffff;
    color: #1f2937;
    border: 2px solid #9ca3af;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cat-pill-btn:hover {
    border-color: #1f2937;
}

.cat-pill-btn.active {
    background: #1f2937;
    color: #ffffff;
    border-color: #ffffff;
}

/* ==========================================================================
   5. PODSUMOWANIE PACZKI / KOSZYKA DETALICZNEGO, WARIANTY VAT (23% vs 8%) I FORMULARZ ZAMÓWIENIA
   ========================================================================== */
.checkout-panel {
    background-color: #d1d5db;
    border: 3px solid #9ca3af;
    padding: 28px 24px;
    margin-top: 28px;
    margin-bottom: 36px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.45);
}

.incomplete-pkg-notice {
    background: linear-gradient(-45deg, #374151, #1f2937, #111827, #4b5563);
    color: #ffffff;
    border: 2px solid #9ca3af;
    border-left: 6px solid #fb923c;
    padding: 22px;
    text-align: center;
}

.incomplete-pkg-notice h3 {
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0 0 8px 0;
}

.incomplete-pkg-notice p {
    color: #d1d5db;
    margin: 0 0 16px 0;
    font-size: 0.95rem;
}

/* Przełącznik stawki 23% VAT (Wysyłka) vs 8% VAT (Z Montażem Ostrołęka +50 km) */
.vat-switcher-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 22px;
}

.vat-option-card {
    background: #ffffff;
    border: 2px solid #9ca3af;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vat-option-card:hover {
    transform: translateY(-2px);
    border-color: #1f2937;
}

.vat-option-card.active {
    border: 3px solid #15803d;
    background: #f0fdf4;
    box-shadow: 0 10px 24px rgba(21, 128, 61, 0.35);
}

.vat-option-card.turnkey-opt.active {
    background: linear-gradient(-45deg, #4b5563, #374151, #1f2937, #111827);
    color: #ffffff;
    border: 3px solid #86efac;
}

.vat-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    background: #1f2937;
    color: #ffffff;
    margin-bottom: 10px;
}

.vat-option-card.turnkey-opt.active .vat-tag {
    background: #15803d;
    border: 1px solid #86efac;
}

.vat-option-card h4 {
    font-size: 1.08rem;
    font-weight: 900;
    margin: 0 0 8px 0;
}

.vat-big-price {
    font-size: 1.65rem;
    font-weight: 900;
    padding: 10px 12px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #111827;
    margin: 8px 0 10px 0;
}

.vat-option-card.turnkey-opt.active .vat-big-price {
    background: rgba(17, 24, 39, 0.65);
    color: #ffffff;
    border-color: #86efac;
}

.vat-note {
    font-size: 0.85rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

.vat-option-card.turnkey-opt.active .vat-note {
    color: #d1d5db;
}

/* Tabela skompletowanych elementów zestawu / koszyka */
.manifest-box {
    background: #ffffff;
    border: 2px solid #9ca3af;
    padding: 20px;
    margin-bottom: 22px;
}

.manifest-box h3 {
    font-size: 1.12rem;
    font-weight: 900;
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.manifest-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.manifest-table th,
.manifest-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: middle;
}

.manifest-table th {
    background: #f8fafc;
    font-weight: 800;
    color: #374151;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: #e5e7eb;
    border: 1px solid #9ca3af;
    font-weight: 900;
    cursor: pointer;
}

.qty-btn:hover {
    background: #1f2937;
    color: #ffffff;
}

.remove-item-btn {
    background: none;
    border: 1px solid #cbd5e1;
    color: #b91c1c;
    padding: 4px 8px;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.remove-item-btn:hover {
    background: #fee2e2;
}

.shop-relief-info {
    background: linear-gradient(-45deg, #e5e7eb, #f3f4f6, #d1d5db, #f8fafc);
    border: 2px solid #9ca3af;
    border-left: 6px solid #1f2937;
    padding: 16px 18px;
    margin-bottom: 22px;
    font-size: 0.88rem;
    color: #374151;
}

/* Formularz Zamówienia Netlify (Stal & Grafit) */
.order-form-box {
    background: linear-gradient(-45deg, #4b5563, #374151, #1f2937, #111827);
    background-size: 400% 400%;
    animation: gradientWaveGraphite 8s ease-in-out infinite;
    color: #ffffff;
    border: 2px solid #9ca3af;
    padding: 26px 24px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.5);
}

.order-form-box h3 {
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0 0 6px 0;
}

.order-form-sub {
    font-size: 0.9rem;
    color: #d1d5db;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
}

.order-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.order-input,
.order-textarea {
    width: 100%;
    padding: 12px 14px;
    background: #f8fafc;
    border: 2px solid #cbd5e1;
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 600;
    color: #111827;
    outline: none;
}

.order-textarea {
    margin-bottom: 14px;
    resize: vertical;
}

.order-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(17, 24, 39, 0.55);
    border: 1px solid #9ca3af;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #e5e7eb;
    cursor: pointer;
}

.order-consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0 0;
    flex-shrink: 0;
    accent-color: #15803d;
    cursor: pointer;
}

.order-consent-label a {
    color: #86efac;
    font-weight: 800;
    text-decoration: underline;
}

.order-actions-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
}

.order-success-panel {
    display: none;
    background: rgba(21, 128, 61, 0.22);
    border: 2px solid #86efac;
    padding: 20px;
    margin-top: 16px;
    text-align: center;
}

.order-success-panel h4 {
    font-size: 1.2rem;
    font-weight: 900;
    margin: 0 0 8px 0;
    color: #ffffff;
}

/* ==========================================================================
   6. PŁYWAJĄCY DOLNY PASEK SKLEPU ORAZ SŁUCHAWKA TELEFONICZNA
   ========================================================================== */
.shop-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: linear-gradient(-45deg, #1f2937, #111827, #374151, #1f2937);
    color: #ffffff;
    border-top: 3px solid #9ca3af;
    padding: 10px 20px;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.45);
}

.shop-sticky-inner {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding-left: 62px;
}

.sticky-status-main {
    font-size: 0.94rem;
    font-weight: 800;
    color: #f3f4f6;
}

.sticky-status-sub {
    font-size: 0.78rem;
    color: #cbd5e1;
}

.shop-floating-phone {
    position: fixed;
    left: 18px;
    bottom: 14px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #14532d, #15803d, #16a34a, #166534);
    color: #ffffff !important;
    border: 2px solid #86efac;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
    z-index: 9995;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.shop-floating-phone:hover {
    transform: translateY(-3px);
    border-color: #ffffff;
}

/* ==========================================================================
   6B. DOLNY PRZEWODNIK INŻYNIERSKI SEO SKLEPU (STAL & GRAFIT)
   ========================================================================== */
.shop-seo-section {
    padding: 4.5rem 0;
    background-color: #cbd5e1;
    border-top: 2px solid #9ca3af;
    border-bottom: 2px solid #9ca3af;
}

.shop-seo-box {
    background-color: #d1d5db;
    border: 3px solid #9ca3af;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.4);
}

.shop-seo-header {
    background: linear-gradient(-45deg, #4b5563, #374151, #1f2937, #111827);
    background-size: 400% 400%;
    animation: gradientWaveGraphite 8s ease-in-out infinite;
    color: #ffffff;
    border: 2px solid #9ca3af;
    padding: 20px 24px;
    margin-bottom: 22px;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.45);
}

.shop-seo-header h2 {
    font-size: 1.45rem;
    font-weight: 900;
    margin: 0 0 8px 0;
    color: #ffffff;
    line-height: 1.3;
}

.shop-seo-header p {
    font-size: 0.96rem;
    color: #e5e7eb;
    margin: 0;
    line-height: 1.6;
}

.shop-seo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.shop-seo-card {
    background: #ffffff;
    border: 2px solid #9ca3af;
    border-left: 5px solid #1f2937;
    padding: 22px;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.35);
    transition: all 0.2s ease;
}

.shop-seo-card:hover {
    transform: translateY(-3px);
    border-color: #ffffff;
    border-left-color: #15803d;
    box-shadow: 0 12px 26px rgba(17, 24, 39, 0.65);
}

.shop-seo-card h3 {
    font-size: 1.08rem;
    font-weight: 900;
    color: #111827;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.shop-seo-card p {
    font-size: 0.93rem;
    color: #374151;
    line-height: 1.65;
    margin: 0;
}

.shop-seo-cta-bar {
    background: linear-gradient(-45deg, #374151, #1f2937, #111827, #4b5563);
    background-size: 400% 400%;
    animation: gradientWaveGraphite 8s ease-in-out infinite;
    color: #ffffff;
    border: 2px solid #9ca3af;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.45);
}

.shop-seo-cta-bar p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f3f4f6;
}

.shop-seo-cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ==========================================================================
   7. RESPONSYWNOŚĆ MOBILNA (SMARTFONY I TABLETY)
   ========================================================================== */
@media (max-width: 900px) {
    .vat-switcher-grid,
    .retail-search-row,
    .order-grid-2,
    .order-actions-row,
    .shop-seo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .shop-hero {
        padding: 2.4rem 0 4.8rem 0;
    }
    .shop-hero h1 {
        font-size: 1.7rem;
    }
    .shop-hero p {
        font-size: 0.95rem;
    }
    .shop-mode-switcher-wrap {
        margin-top: -3rem;
        margin-bottom: 1.6rem;
    }
    .shop-mode-switcher {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .empty-blueprint-box {
        padding: 15px 10px;
        border-width: 2px;
    }
    .empty-blueprint-box h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    .pkg-empty-actions {
        gap: 10px;
    }
    .pkg-calc-btn-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .pkg-upload-config-btn,
    .pkg-calc-btn {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    .blueprint-passport,
    .tech-node-section,
    .checkout-panel,
    .order-form-box {
        padding: 16px 12px;
    }
    .shop-seo-box {
        padding: 15px 10px;
        border-width: 2px;
    }
    .shop-sticky-bar {
        padding: 10px;
    }
    .shop-seo-card,
    .shop-seo-header,
    .shop-seo-cta-bar {
        padding: 16px 14px;
    }
    .shop-seo-cta-actions,
    .shop-seo-cta-actions a {
        width: 100%;
    }
    .slot-block {
        padding: 12px 10px;
    }
    .shop-products-grid {
        grid-template-columns: 1fr;
    }
    .shop-sticky-inner {
        padding-left: 54px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .sticky-status-sub {
        display: none;
    }
    .manifest-table th:nth-child(1),
    .manifest-table td:nth-child(1) {
        display: none;
    }
}

/* ==========================================================================
   8. WYDRUK KARTY KOMPLETACJI / ZAMÓWIENIA PDF (A4 PORTRAIT)
   ========================================================================== */
.shop-pdf-page {
    font-family: "Segoe UI", "Open Sans", sans-serif;
    color: #000000;
    background: #ffffff;
    font-size: 12px;
    line-height: 1.4;
}

.shop-pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #000000;
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.shop-pdf-header img {
    max-width: 220px;
    max-height: 65px;
}

.shop-pdf-title {
    text-align: center;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 12px 0 4px 0;
}

.shop-pdf-sub {
    text-align: center;
    font-size: 12px;
    color: #333333;
    margin-bottom: 16px;
}

.shop-pdf-sec {
    background: #e9ecef !important;
    border: 1px solid #000000;
    padding: 6px 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 14px 0 8px 0;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.shop-pdf-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
}

.shop-pdf-table th,
.shop-pdf-table td {
    border: 1px solid #000000;
    padding: 6px 8px;
    text-align: left;
}

.shop-pdf-table th {
    background: #f8f9fa !important;
    font-weight: 800;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.shop-pdf-total {
    border: 2px solid #000000;
    padding: 12px;
    background: #f8fafc !important;
    margin-top: 14px;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 14mm;
    }
    body, html {
        background: #ffffff !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    header, main, section, footer, #lightbox, .shop-sticky-bar, .shop-floating-phone, .no-print-area, #wincent-cookie-bar {
        display: none !important;
    }
    #shop-print-section.print-area {
        display: block !important;
        width: 100% !important;
    }
}

/* ==========================================================================
   9. MODUŁ CHECKLIST INWESTORA PDF
   ========================================================================== */
.tools-pair-block {
    background: #d1d5db;
    border: 2px solid #9ca3af;
    padding: 26px 24px;
    margin-bottom: 28px;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.45);
}

.tools-pair-header {
    border-bottom: 2px dashed #9ca3af;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.tools-pair-header h2 {
    margin: 6px 0 6px 0;
    color: #111827;
}

.tools-pair-header p {
    margin: 0;
    color: #374151;
}

.tools-pair-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.tool-twin-card {
    background: #ffffff;
    border: 2px solid #9ca3af;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.45);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tool-twin-card:hover {
    transform: translateY(-3px);
    border-color: #ffffff;
    box-shadow: 0 12px 26px rgba(17, 24, 39, 0.7);
}

.tool-twin-card.dark-card {
    background: linear-gradient(-45deg, #4b5563, #374151, #1f2937, #111827);
    background-size: 400% 400%;
    animation: gradientWaveGraphite 8s ease-in-out infinite;
    color: #ffffff;
}

.tool-twin-card h3 {
    margin: 8px 0 10px 0;
    color: #111827;
}

.tool-twin-card.dark-card h3 {
    color: #ffffff;
}

.tool-twin-card p {
    margin: 0 0 12px 0;
    color: #374151;
}

.tool-twin-card.dark-card p {
    color: #e5e7eb;
}

.tool-twin-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
}

.tool-twin-list li {
    padding: 6px 0 6px 14px;
    border-left: 3px solid #4b5563;
    margin-bottom: 6px;
    background: #f8fafc;
    color: #1f2937;
}

.tool-twin-card.dark-card .tool-twin-list li {
    background: rgba(17, 24, 39, 0.55);
    border-left-color: #86efac;
    color: #f3f4f6;
}

.digital-showcase-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 22px;
    align-items: start;
    margin-bottom: 26px;
}

.digital-cover-frame {
    background: #111827;
    border: 2px solid #9ca3af;
    padding: 10px;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.45);
}

.digital-cover-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.digital-price-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(-45deg, #e5e7eb, #d1d5db, #9ca3af, #f3f4f6);
    background-size: 400% 400%;
    animation: gradientWaveGray 8s ease-in-out infinite;
    border: 2px solid #9ca3af;
    padding: 14px 18px;
    margin: 14px 0;
}

.digital-price-val {
    font-size: 1.65rem;
    font-weight: 900;
    color: #111827;
}

.checklist-demo-box {
    background: #ffffff;
    border: 2px solid #9ca3af;
    padding: 22px 20px;
    margin: 22px 0;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.45);
}

.checklist-ref-bar {
    background: #e5e7eb;
    border: 1px solid #9ca3af;
    border-left: 5px solid #1f2937;
    padding: 12px 14px;
    margin: 12px 0;
    color: #111827;
}

.checklist-sign-good {
    background: #f8fafc;
    border: 1px solid #9ca3af;
    border-left: 5px solid #15803d;
    padding: 10px 14px;
    margin: 8px 0;
    color: #111827;
}

.checklist-sign-red {
    background: #f8fafc;
    border: 1px solid #9ca3af;
    border-left: 5px solid #374151;
    padding: 10px 14px;
    margin: 8px 0;
    color: #111827;
}

.checklist-skeleton-sec {
    background: #f8fafc;
    border: 2px solid #9ca3af;
    padding: 18px 18px;
    margin-bottom: 16px;
}

.checklist-skeleton-sec h3 {
    margin: 0 0 10px 0;
    color: #111827;
}

.checklist-locked-pill {
    display: inline-block;
    background: #1f2937;
    color: #e5e7eb;
    border: 1px solid #9ca3af;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 6px;
}

.blik-payment-box {
    background: rgba(17, 24, 39, 0.78);
    border: 2px solid #86efac;
    padding: 18px 16px;
    margin: 14px 0;
    text-align: left;
    color: #f3f4f6;
}

.blik-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(203, 213, 225, 0.3);
}

.blik-row:last-child {
    border-bottom: none;
}

@media (max-width: 900px) {
    .tools-pair-grid,
    .digital-showcase-grid {
        grid-template-columns: 1fr;
    }
    .tools-pair-block {
        padding: 18px 14px;
    }
}

/* ==========================================================================
   10. GUZIK OPISU NA KAFELKU ORAZ OKIENKO MODALNE OPISU PRODUKTU (STAL & GRAFIT)
   ========================================================================== */
.shop-card-desc-wrap {
    margin: 0 0 12px 0;
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
}

.btn-card-desc {
    width: 100%;
    padding: 9px 12px;
    background: linear-gradient(-45deg, #f8fafc, #e5e7eb, #f1f5f9, #e2e8f0);
    color: #111827;
    border: 2px solid #9ca3af;
    border-left: 4px solid #374151;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-card-desc .desc-btn-open-hint {
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #374151;
    white-space: nowrap;
}

.btn-card-desc:hover,
.btn-card-desc:active {
    background: #1f2937;
    color: #ffffff;
    border-color: #111827;
    border-left-color: #9ca3af;
    transform: translateY(-1px);
}

.btn-card-desc:hover .desc-btn-open-hint,
.btn-card-desc:active .desc-btn-open-hint {
    color: #e5e7eb;
}

#shop-desc-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background-color: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    padding: 18px;
    opacity: 0;
    transition: opacity 0.22s ease;
}

#shop-desc-modal.active {
    display: flex;
    opacity: 1;
}

.shop-desc-dialog {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 3px solid #9ca3af;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
    animation: shopFadeIn 0.22s ease-out;
}

.shop-desc-header {
    background: linear-gradient(-45deg, #4b5563, #374151, #1f2937, #111827);
    background-size: 400% 400%;
    animation: gradientWaveGraphite 8s ease-in-out infinite;
    color: #ffffff;
    padding: 16px 20px;
    border-bottom: 2px solid #9ca3af;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.shop-desc-meta {
    display: inline-block;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.75rem;
    font-weight: 800;
    color: #e5e7eb;
    background: rgba(17, 24, 39, 0.65);
    border: 1px solid #9ca3af;
    padding: 2px 8px;
    margin-bottom: 6px;
}

.shop-desc-title {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 900;
    line-height: 1.35;
    color: #ffffff;
}

.shop-desc-close-x {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: linear-gradient(-45deg, #e5e7eb, #d1d5db, #9ca3af, #f3f4f6);
    color: #111827;
    border: 2px solid #ffffff;
    font-family: inherit;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, background 0.18s ease;
}

.shop-desc-close-x:hover {
    transform: scale(1.06);
    background: #ffffff;
}

.shop-desc-body {
    padding: 20px 22px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    color: #1f2937;
}

.shop-desc-lead {
    font-size: 0.98rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.6;
    margin: 0 0 16px 0;
    padding-bottom: 14px;
    border-bottom: 2px solid #cbd5e1;
}

.shop-desc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-desc-list:last-child {
    margin-bottom: 0;
}

.shop-desc-list li {
    position: relative;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #475569;
    padding: 10px 14px 10px 28px;
    font-size: 0.91rem;
    line-height: 1.55;
    color: #1f2937;
}

.shop-desc-list li::before {
    content: "▪";
    position: absolute;
    left: 11px;
    top: 9px;
    color: #374151;
    font-weight: 900;
}

.shop-desc-para {
    font-size: 0.92rem;
    color: #1f2937;
    line-height: 1.6;
    margin: 12px 0 0 0;
    padding: 12px 14px;
    background: linear-gradient(-45deg, #e5e7eb, #f3f4f6, #e5e7eb);
    border: 1px solid #cbd5e1;
    border-left: 4px solid #1f2937;
}

.shop-desc-footer {
    background: #f1f5f9;
    border-top: 2px solid #cbd5e1;
    padding: 12px 20px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    #shop-desc-modal {
        padding: 10px;
    }
    .shop-desc-dialog {
        max-height: 92vh;
        border-width: 2px;
    }
    .shop-desc-header {
        padding: 14px 14px;
    }
    .shop-desc-title {
        font-size: 1rem;
    }
    .shop-desc-body {
        padding: 16px 14px;
    }
    .shop-desc-footer {
        padding: 10px 14px;
    }
    .shop-desc-footer .btn-graphite {
        width: 100%;
    }
}
