/* ==========================================================================
   INOX KATALOG - JASNY STALOWY MOTYW B2B v1.0.5
   ========================================================================== */

:root {
    --inox-bg-steel: #eef2f5;
    --inox-surface: #ffffff;
    --inox-surface-alt: #f5f8fa;
    --inox-border: #d5dde3;
    --inox-border-hover: #0b3446;
    --inox-text-main: #000000;
    --inox-text-muted: #000000;
    --inox-brand-navy: #0b3446;
    --inox-brand-deep: #000000;
}

html body:not(.wp-admin),
html body.inox-dark-bg:not(.wp-admin),
html body.woocommerce:not(.wp-admin),
html body.woocommerce-page:not(.wp-admin) {
    background-color: var(--inox-bg-steel) !important;
    background-image:
        linear-gradient(rgba(238, 242, 245, 0.94), rgba(238, 242, 245, 0.94)),
        url("../inox-katalog/assets/branding/inox-okucia-logo.jpg") !important;
    background-position: center, center 34% !important;
    background-repeat: no-repeat !important;
    background-size: auto, min(60vw, 680px) auto !important;
    background-attachment: fixed !important;
    color: #000000 !important;
}

body:not(.wp-admin) .site-content,
body:not(.wp-admin) .content-area,
body:not(.wp-admin) .site-main,
body:not(.wp-admin) #primary,
body:not(.wp-admin) #main,
body:not(.wp-admin) .entry-content,
body:not(.wp-admin) .content-bg,
body:not(.wp-admin) .site-container {
    background: transparent !important;
    color: #000000 !important;
}

body:not(.wp-admin) .site-header {
    background-color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(6, 40, 56, 0.07) !important;
}
body:not(.wp-admin) .site-header a,
body:not(.wp-admin) .site-header .menu-item a {
    color: #0b3446 !important;
    font-weight: 700 !important;
}

/* KAFELKI KATEGORII */
body:not(.wp-admin) .inox-category-grid .inox-category-card {
    background: var(--inox-surface) !important;
    border: 1px solid var(--inox-border) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(11, 52, 70, 0.06) !important;
    color: #000000 !important;
}
body:not(.wp-admin) .inox-category-grid .inox-category-card h2,
body:not(.wp-admin) .inox-category-grid .inox-category-card h3,
body:not(.wp-admin) .inox-category-grid .inox-category-card span,
body:not(.wp-admin) .inox-category-grid .inox-category-card p {
    color: #000000 !important;
}

/* KARTY PRODUKTOW NA LISTACH */
body:not(.wp-admin) .woocommerce ul.products li.product,
body:not(.wp-admin) .woocommerce-page ul.products li.product {
    background: var(--inox-surface) !important;
    border: 1px solid var(--inox-border) !important;
    border-radius: 10px !important;
    padding: 0 0 18px 0 !important;
    overflow: hidden !important;
    box-shadow: 0 4px 14px rgba(11, 52, 70, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

body:not(.wp-admin) .woocommerce ul.products li.product a img,
body:not(.wp-admin) .woocommerce-page ul.products li.product a img {
    width: 100% !important;
    height: 230px !important;
    padding: 18px !important;
    margin: 0 0 14px 0 !important;
    box-sizing: border-box !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #ffffff !important;
    border-bottom: 1px solid #edf1f5 !important;
}

body:not(.wp-admin) .woocommerce ul.products li.product .woocommerce-loop-product__title,
body:not(.wp-admin) .woocommerce ul.products li.product h2,
body:not(.wp-admin) .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
body:not(.wp-admin) .woocommerce-page ul.products li.product h2 {
    color: #000000 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    padding: 0 16px !important;
    margin: 0 0 8px 0 !important;
}

/* POJEDYNCZA KARTA PRODUKTU */
body:not(.wp-admin) .woocommerce div.product div.images {
    background: #ffffff !important;
    border: 1px solid var(--inox-border) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: 0 4px 16px rgba(11, 52, 70, 0.06) !important;
    box-sizing: border-box !important;
}

body:not(.wp-admin) .woocommerce div.product div.summary {
    background: #ffffff !important;
    border: 1px solid var(--inox-border) !important;
    border-radius: 12px !important;
    padding: 26px 28px !important;
    box-shadow: 0 4px 16px rgba(11, 52, 70, 0.06) !important;
    box-sizing: border-box !important;
    color: #000000 !important;
}

body:not(.wp-admin) .woocommerce div.product .product_title,
body:not(.wp-admin) .related.products > h2 {
    color: #000000 !important;
    font-weight: 800 !important;
}

/* TABELE CENNIKOWE I WARIANTOWE */
body:not(.wp-admin) .woocommerce-tabs,
body:not(.wp-admin) .woocommerce-Tabs-panel,
body:not(.wp-admin) .inox-product-variants,
body:not(.wp-admin) .inox-product-details {
    background: #ffffff !important;
    border: 1px solid var(--inox-border) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-top: 24px !important;
    box-shadow: 0 4px 16px rgba(11, 52, 70, 0.05) !important;
    color: #000000 !important;
}

body:not(.wp-admin) .inox-variant-table,
body:not(.wp-admin) .woocommerce-Tabs-panel table,
body:not(.wp-admin) .entry-content table,
body:not(.wp-admin) table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
    border: 1px solid var(--inox-border) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

body:not(.wp-admin) .inox-variant-table thead th,
body:not(.wp-admin) .woocommerce-Tabs-panel table thead th,
body:not(.wp-admin) .entry-content table thead th,
body:not(.wp-admin) table.shop_table thead th {
    background-color: var(--inox-brand-navy) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 12px 14px !important;
    text-align: left !important;
}

body:not(.wp-admin) .inox-variant-table tbody tr:nth-child(odd),
body:not(.wp-admin) .woocommerce-Tabs-panel table tbody tr:nth-child(odd),
body:not(.wp-admin) .entry-content table tbody tr:nth-child(odd),
body:not(.wp-admin) table.shop_table tbody tr:nth-child(odd) {
    background-color: #ffffff !important;
}

body:not(.wp-admin) .inox-variant-table tbody tr:nth-child(even),
body:not(.wp-admin) .woocommerce-Tabs-panel table tbody tr:nth-child(even),
body:not(.wp-admin) .entry-content table tbody tr:nth-child(even),
body:not(.wp-admin) table.shop_table tbody tr:nth-child(even) {
    background-color: #f4f7f9 !important;
}

body:not(.wp-admin) .inox-variant-table tbody td,
body:not(.wp-admin) .woocommerce-Tabs-panel table tbody td,
body:not(.wp-admin) .entry-content table tbody td,
body:not(.wp-admin) table.shop_table tbody td {
    color: #000000 !important;
    padding: 11px 14px !important;
    border-bottom: 1px solid #e3e9ee !important;
}

/* EKRAN POWITALNY DLA NIEZALOGOWANYCH GOSCI */
.inox-welcome-wrapper {
    max-width: 980px;
    margin: 18px auto 60px;
}
.inox-welcome-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--inox-border);
    border-left: 6px solid var(--inox-brand-navy);
    border-radius: 12px;
    padding: 38px 42px;
    box-shadow: 0 12px 32px rgba(6, 40, 56, 0.08);
}
.inox-welcome-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: #e6eff3;
    color: var(--inox-brand-navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.inox-welcome-content h2 {
    margin: 0 0 16px 0;
    color: #000000 !important;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.25;
}
.inox-welcome-content p {
    margin: 0 0 14px 0;
    color: #000000 !important;
    font-size: 16px;
    line-height: 1.65;
}
.inox-welcome-actions {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.inox-welcome-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    background: var(--inox-brand-navy) !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.06em;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(11, 52, 70, 0.22);
}
.inox-welcome-hq-placeholder {
    width: 100%;
    padding: 32px 24px;
    background: var(--inox-surface-alt);
    border: 1px dashed #b8c6d1;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.inox-welcome-hq-placeholder img {
    max-width: 180px;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}
@media (max-width: 780px) {
    .inox-welcome-card {
        grid-template-columns: 1fr;
        padding: 26px;
    }
}