/* Skorka stickers dla us_uspanel (guest chat + chat zamowien).
   Modul zostaje kanoniczny — tu tylko kolorystyka sklepu. */

.uspanel-gchat__fab {
    background: #ffcf02;
    border-color: rgba(0, 0, 0, 0.35);
    color: #232323;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.uspanel-gchat__fab:hover {
    background: #e6bb00;
}

.uspanel-gchat__fab-badge {
    background: #232323;
    color: #ffcf02;
    border: 1px solid #ffcf02;
}

.uspanel-gchat__header-avatar {
    background: rgba(255, 207, 2, 0.18);
    border-color: rgba(255, 207, 2, 0.5);
    color: #ffcf02;
}

.uspanel-gchat__msg--mine .uspanel-gchat__bubble {
    background: rgba(255, 207, 2, 0.22);
    border-color: rgba(255, 207, 2, 0.4);
}

.uspanel-gchat__send,
.uspanel-gchat__email-save {
    background: #ffcf02;
    color: #232323;
}

.uspanel-gchat__send:hover,
.uspanel-gchat__email-save:hover {
    background: #e6bb00;
}

/* chat zamowien (panel klienta) — te same akcenty */
.uspanel-chat-header__avatar,
.uspanel-chat__send {
    background: #ffcf02 !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
    color: #232323 !important;
}

.uspanel-chat__send:hover {
    background: #e6bb00 !important;
}

/* ===== kafelki "Twoje konto" — uklad jak ultrasshop, barwy sklepu ===== */
.page-my-account #content .links.account-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 0;
    background: none;
    box-shadow: none;
}

@media (max-width: 991px) {
    .page-my-account #content .links.account-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .page-my-account #content .links.account-tiles {
        grid-template-columns: 1fr;
    }
}

.page-my-account #content .links.account-tiles > a {
    width: auto;
    max-width: none;
    padding: 0;
    background: #232323;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.page-my-account #content .links.account-tiles > a:hover {
    transform: translateY(-3px);
    border-color: #ffcf02;
}

.page-my-account #content .links.account-tiles a span.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 34px 16px;
    background: none;
    box-shadow: none;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.page-my-account #content .links.account-tiles a span.link-item i {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: #ffcf02;
    border-radius: 10px;
    color: #232323;
    font-size: 26px;
}

.page-my-account #content {
    background: none;
    border: 0;
    box-shadow: none !important;
}

/* ===== podstrona chatow konta — teksty poza kartami pod jasne tlo, akcenty zolte ===== */
.uspanel-chats__intro,
.uspanel-chats__picker-subtitle,
.uspanel-chats__empty-note {
    color: #555;
}

.uspanel-chats__picker-title {
    color: #232323;
}

.uspanel-chats__offtopic-card {
    background: #232323;
    border-color: #3a3a3a;
}

.uspanel-chats__offtopic-card:hover {
    background: #2c2c2c;
    border-color: #ffcf02;
}

.uspanel-chats__offtopic-icon,
.uspanel-chats__item-icon--offtopic {
    background: rgba(255, 207, 2, 0.16);
    border-color: rgba(255, 207, 2, 0.5);
    color: #ffcf02;
}

.uspanel-chats__picker-arrow {
    color: #ffcf02;
}

.uspanel-chats__item-badge {
    background: #ffcf02;
    color: #232323;
}

.uspanel-chats__list,
.uspanel-chats__order-card {
    background: #232323;
    border-color: #3a3a3a;
}

.uspanel-chats__order-card:hover,
.uspanel-chats__item:hover {
    border-color: #ffcf02;
}

.uspanel-chat-thread__back,
.uspanel-chat-thread__order-link {
    color: #232323;
}

#module-us_uspanel-chats #main .page-header h1,
#module-us_uspanel-chat #main .page-header h1,
#module-us_uspanel-orders #main .page-header h1,
#module-us_uspanel-orderdetail #main .page-header h1 {
    color: #232323;
}

/* ===== Your Orders — ciemna tabela spojna z kartami konta ===== */
#module-us_uspanel-orders .uspanel-table,
#module-us_uspanel-orderdetail .uspanel-table {
    background: #232323;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: #f0f0f0;
    overflow: hidden;
}

#module-us_uspanel-orders .uspanel-table th,
#module-us_uspanel-orderdetail .uspanel-table th {
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    border-color: #3a3a3a;
}

#module-us_uspanel-orders .uspanel-table td,
#module-us_uspanel-orderdetail .uspanel-table td {
    color: #f0f0f0;
    background: transparent;
    border-color: #3a3a3a;
}

#module-us_uspanel-orders .uspanel-order-number,
#module-us_uspanel-orders .uspanel-order-ref {
    color: #fff;
}

#module-us_uspanel-orders .uspanel-limit-bar,
#module-us_uspanel-orders .uspanel-limit-bar__label-text {
    color: #555;
}

#module-us_uspanel-orders .uspanel-limit-bar__control {
    background: #232323;
    border: 1px solid #3a3a3a;
    color: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#module-us_uspanel-orders .uspanel-limit-bar__control .uspanel-limit-bar__label-text {
    color: rgba(255, 255, 255, 0.82);
}

#module-us_uspanel-orders .uspanel-detail-link,
#module-us_uspanel-orderdetail .uspanel-detail-link {
    background: #ffcf02;
    border-color: rgba(0, 0, 0, 0.25);
    color: #232323;
}

#module-us_uspanel-orders .uspanel-detail-link:hover,
#module-us_uspanel-orderdetail .uspanel-detail-link:hover {
    background: #e6bb00;
    color: #232323;
}

/* solidne ciemne karty zamiast szkla (zmienne modulu) na stronach us_uspanel */
#module-us_uspanel-orders,
#module-us_uspanel-orderdetail,
#module-us_uspanel-chats,
#module-us_uspanel-chat {
    --uspanel-glass-bg: #232323;
    --uspanel-glass-border: #3a3a3a;
    --uspanel-glass-filter: none;
    --uspanel-glass-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

#module-us_uspanel-orderdetail .uspanel-back-link,
#module-us_uspanel-orderdetail a[href*="orders"] {
    color: #232323;
}

/* orderdetail: czerwone akcenty stepera/edycji/nawigacji -> zolte */
#module-us_uspanel-orderdetail .uspanel-od__step.is-done .uspanel-od__step-circle {
    background: rgba(255, 207, 2, 0.85);
    border-color: #ffcf02;
    color: #232323;
}

#module-us_uspanel-orderdetail .uspanel-od__step.is-active .uspanel-od__step-circle {
    box-shadow: 0 0 0 4px rgba(255, 207, 2, 0.25);
}

#module-us_uspanel-orderdetail .uspanel-od__step.is-done .uspanel-od__step-line {
    background: rgba(255, 207, 2, 0.55);
}

#module-us_uspanel-orderdetail .uspanel-od__card-edit {
    background: rgba(255, 207, 2, 0.16);
    border-color: rgba(255, 207, 2, 0.55);
    color: #ffcf02;
}

#module-us_uspanel-orderdetail .uspanel-od__card-edit:hover {
    background: rgba(255, 207, 2, 0.32);
    border-color: #ffcf02;
    color: #fff;
}

#module-us_uspanel-orderdetail .uspanel-od__nav a,
#module-us_uspanel-orderdetail .uspanel-progress-step.is-active .uspanel-progress-step__dot,
#module-us_uspanel-orderdetail .uspanel-progress-line__fill,
#module-us_uspanel-orderdetail .uspanel-progress-bar__fill {
    background: #ffcf02;
    color: #232323;
}

#module-us_uspanel-orderdetail #content .uspanel-od__nav a {
    color: #232323;
}
