/* Czytelność publicznej części sklepu. Ładowany jako ostatnia warstwa stylów. */

body:not(.admin-mode) main .muted,
body:not(.admin-mode) main .empty-cart,
body:not(.admin-mode) main .cart-item p,
body:not(.admin-mode) main .product-body > p:not(.product-meta),
body:not(.admin-mode) main .product-body > small,
body:not(.admin-mode) main .product-detail-info > p,
body:not(.admin-mode) main .product-description-card p,
body:not(.admin-mode) main .story-box p,
body:not(.admin-mode) main .info-panel p,
body:not(.admin-mode) main .faq-list p,
body:not(.admin-mode) main .legal-card p,
body:not(.admin-mode) main .legal-card li,
body:not(.admin-mode) main .contact-card p,
body:not(.admin-mode) main .transfer-order-id,
body:not(.admin-mode) main .transfer-detail dt,
body:not(.admin-mode) main .transfer-confirmation .transfer-note,
body:not(.admin-mode) main .package8-result-count {
    color: #f2f7ff !important;
    opacity: 1 !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .9) !important;
}

/* Drugorzędne akcje nie mogą ginąć na tle zdjęcia ani jasnego panelu. */
body:not(.admin-mode) main .btn.ghost {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(8, 31, 46, .98), rgba(20, 27, 52, .98)) !important;
    border-color: rgba(132, 238, 245, .68) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .95) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 24px rgba(0, 0, 0, .34) !important;
}

body:not(.admin-mode) main .btn.ghost:hover,
body:not(.admin-mode) main .btn.ghost:focus-visible {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(12, 54, 70, 1), rgba(35, 37, 75, 1)) !important;
    border-color: #84eef5 !important;
}

body:not(.admin-mode) main input::placeholder,
body:not(.admin-mode) main textarea::placeholder {
    color: #46515e !important;
    opacity: 1 !important;
}

body:not(.admin-mode) main button:disabled,
body:not(.admin-mode) main .btn[disabled] {
    opacity: .78 !important;
}

/* Strony błędów używają zwykłej sekcji bez ciemnej karty. */
body:not(.admin-mode) main .error-section h1,
body:not(.admin-mode) main .error-section > p:not(.eyebrow) {
    color: #fff !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, .96) !important;
}
