/* ==========================================================================
   NENO — rozbudowane kategorie
   Kafelki podkategorii · pasek widoku Lista/Siatka · karta produktu
   ========================================================================== */

:root {
    --nc-ink: #1f1b18;
    --nc-text: #2b2623;
    --nc-muted: #8d847d;
    --nc-kicker: #8a7362;
    --nc-line: #ebe5df;
    --nc-soft: #f6f1ec;
    --nc-tile: #ece2d8;
    --nc-sale: #b9474b;
    --nc-badge-sale: #c0565a;
    --nc-badge-custom: #336a5d;
    --nc-green: #336a5d;   /* .color-2 motywu */
    --nc-brand: #877364;   /* .color-1 motywu (przycisk Szukaj) */
    --nc-brand-d: #6f5d50;
    --nc-radius: 16px;
    --nc-font: 'Raleway', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   Kafelki podkategorii
   -------------------------------------------------------------------------- */
.nsc {
    font-family: var(--nc-font);
    margin: 4px 0 26px;
}

.nsc-head {
    text-align: center;
    margin-bottom: 28px;
}

.nsc-head h2 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(30px, 4.2vw, 56px);
    line-height: 1.1;
    color: var(--nc-ink);
    margin: 0 0 10px;
}

.nsc-head p {
    color: var(--nc-muted);
    font-size: 17px;
    margin: 0 auto;
    max-width: 720px;
}

.nsc-grid {
    display: grid;
    /* stała liczba kolumn – przy 2–3 podkategoriach kafelki się nie rozciągają */
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 1199.98px) {
    .nsc-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .nsc-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.nsc-tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--nc-tile);
    text-decoration: none !important;
    isolation: isolate;
}

.nsc-tile .nsc-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.nsc-tile:hover .nsc-img {
    transform: scale(1.05);
}

.nsc-pill {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 40px;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 4px 14px rgba(60, 40, 25, .08);
    color: var(--nc-ink);
    font-weight: 600;
    font-size: 13.5px;
    line-height: 1.2;
    text-align: center;
    transition: background .2s ease, color .2s ease;
}

.nsc-pill small {
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 600;
}

.nsc-tile:hover .nsc-pill {
    background: var(--nc-brand);
    color: #fff;
}

.nsc-tile:hover .nsc-pill small {
    color: rgba(255, 255, 255, .7);
}

@media (max-width: 767.98px) {
    .nsc {
        margin-bottom: 18px;
    }

    .nsc-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0 -12px;
        padding: 0 12px 6px;
        scrollbar-width: none;
    }

    .nsc-grid::-webkit-scrollbar {
        display: none;
    }

    .nsc-tile {
        flex: 0 0 36%;
        scroll-snap-align: start;
    }

    .nsc-pill {
        left: 6px;
        right: 6px;
        bottom: 6px;
        min-height: 36px;
        font-size: 12.5px;
        padding: 6px 8px;
        flex-wrap: wrap;
        gap: 3px;
    }

    .nsc-pill small {
        font-size: 12px;
    }
}

/* --------------------------------------------------------------------------
   Pasek: przełącznik Lista / Siatka
   -------------------------------------------------------------------------- */
.nc-view {
    display: inline-flex;
    padding: 4px;
    gap: 2px;
    border-radius: 999px;
    background: var(--nc-soft);
    vertical-align: middle;
}

.nc-view button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--nc-muted);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.nc-view button:hover {
    color: var(--nc-ink);
}

.nc-view button.is-active {
    background: #fff;
    color: var(--nc-ink);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.nc-toolbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* --------------------------------------------------------------------------
   Siatka produktów
   -------------------------------------------------------------------------- */
#product-list-container.nc-grid,
#accessories-container.nc-grid {
    --bs-gutter-x: 0;
    margin-left: -9px;
    margin-right: -9px;
}

.nc-col {
    display: flex;
    padding: 0 9px;
    margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   Karta produktu
   -------------------------------------------------------------------------- */
.nc {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid var(--nc-line);
    border-radius: var(--nc-radius);
    overflow: hidden;
    font-family: var(--nc-font);
    color: var(--nc-text);
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}

.nc:hover {
    border-color: #ddd3ca;
    box-shadow: 0 14px 34px rgba(60, 40, 25, .09);
}

/* Zdjęcie */
.nc-media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-bottom: 1px solid var(--nc-line);
    background: #fff;
}

.nc-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.nc-media .nc-img,
.nc-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6%;
    transition: transform .45s ease;
}

.nc:hover .nc-media img {
    transform: scale(1.04);
}

/* Etykiety */
.nc-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 64px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: none;
}

.nc-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}

.nc-badge--sale {
    background: var(--nc-badge-sale);
}

.nc-badge--new {
    background: var(--nc-brand);
}

.nc-badge--custom {
    background: var(--nc-badge-custom);
}

/* Ulubione */
.nc-wish {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--nc-line);
    background: rgba(255, 255, 255, .95);
    color: var(--nc-ink);
    transition: border-color .2s ease, transform .2s ease;
}

.nc-wish svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.nc-wish:hover {
    transform: scale(1.06);
    border-color: var(--nc-sale);
    color: var(--nc-sale);
}

.nc-wish.is-active {
    border-color: var(--nc-sale);
    color: var(--nc-sale);
}

.nc-wish.is-active svg {
    fill: currentColor;
}

/* Treść */
.nc-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 22px 24px 18px;
}

.nc-kicker {
    margin-bottom: 6px;
    color: var(--nc-kicker);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nc-title {
    margin: 0 0 6px;
    font-family: var(--nc-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    height: auto !important;
}

.nc-title a {
    color: var(--nc-ink);
    text-decoration: none;
}

.nc-title a::after {
    /* cała karta klikalna */
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.nc-sub {
    margin: 0 0 8px;
    color: #7d746d;
    font-size: 15.5px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nc-desc {
    display: none;
}

.nc-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--nc-ink);
}

.nc-stars {
    position: relative;
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 1;
    color: #d9cfc6;
}

.nc-stars::before {
    content: "★★★★★";
}

.nc-stars::after {
    content: "★★★★★";
    position: absolute;
    left: 0;
    top: 0;
    width: var(--nc-rate, 0%);
    overflow: hidden;
    color: var(--nc-kicker);
    white-space: nowrap;
}

.nc-rating strong {
    font-weight: 700;
}

.nc-rating-count {
    color: var(--nc-muted);
}

/* Cena + koszyk */
.nc-buy {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
}

.nc-prices {
    min-width: 0;
}

.nc-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 10px;
}

.nc-price {
    color: var(--nc-ink);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.nc-price.is-sale {
    color: var(--nc-sale);
}

.nc-old {
    color: #8b827b;
    font-size: 16px;
    white-space: nowrap;
}

.nc-lowest {
    margin-top: 4px;
    color: #8b827b;
    font-size: 13px;
    line-height: 1.4;
}

.nc-cart {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--nc-brand);
    color: #fff !important;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}

.nc-cart:hover {
    background: var(--nc-sale);
    transform: translateY(-2px);
}

.nc-cart:focus-visible,
.nc-wish:focus-visible,
.nc-view button:focus-visible {
    outline: 2px solid var(--nc-kicker);
    outline-offset: 2px;
}

.nc-cart .nc-ico-ok,
.nc-cart .nc-spin {
    display: none;
}

.nc-cart.is-loading {
    pointer-events: none;
}

.nc-cart.is-loading .nc-ico-bag {
    display: none;
}

.nc-cart.is-loading .nc-spin {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: nc-spin .7s linear infinite;
}

.nc-cart.is-added {
    background: var(--nc-green);
}

.nc-cart.is-added .nc-ico-bag {
    display: none;
}

.nc-cart.is-added .nc-ico-ok {
    display: block;
}

.nc-cart--off {
    background: #d8d1cb;
    cursor: not-allowed;
}

.nc-cart--off:hover {
    background: #d8d1cb;
    transform: none;
}

@keyframes nc-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Stopka karty */
.nc-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--nc-line);
    font-size: 14px;
    color: #5f5853;
}

.nc-ship {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nc-green);
    flex: 0 0 auto;
}

.nc-ship--off .nc-dot {
    background: #c9beb4;
}

.nc-coupon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--nc-green);
}

.nc-coupon b {
    font-weight: 800;
}

.nc-coupon-price {
    font-weight: 600;
}

.nc--oos .nc-media img {
    opacity: .55;
}

/* Komunikat błędu przy dodawaniu */
.nc-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 100000;
    transform: translate(-50%, 20px);
    max-width: calc(100% - 32px);
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--nc-brand);
    color: #fff;
    font-family: var(--nc-font);
    font-size: 14px;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
}

.nc-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Responsywność — siatka
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .nc-body {
        padding: 18px 18px 16px;
    }

    .nc-price {
        font-size: 21px;
    }
}

@media (max-width: 575.98px) {
    #product-list-container.nc-grid,
    #accessories-container.nc-grid {
        margin-left: -5px;
        margin-right: -5px;
    }

    .nc-col {
        padding: 0 5px;
        margin-bottom: 10px;
    }

    .nc {
        border-radius: 12px;
    }

    .nc-badges {
        top: 8px;
        left: 8px;
        right: 46px;
        gap: 4px;
    }

    .nc-badge {
        padding: 3px 8px;
        font-size: 11px;
    }

    .nc-wish {
        top: 6px;
        right: 6px;
        width: 36px;
        height: 36px;
    }

    .nc-wish svg {
        width: 17px;
        height: 17px;
    }

    .nc-body {
        padding: 12px 12px 12px;
    }

    .nc-kicker {
        font-size: 10.5px;
        letter-spacing: .06em;
    }

    .nc-title {
        font-size: 15.5px;
    }

    .nc-sub {
        font-size: 13px;
    }

    .nc-rating {
        font-size: 12px;
    }

    .nc-buy {
        padding-top: 12px;
        gap: 8px;
    }

    .nc-price {
        font-size: 17px;
    }

    .nc-old {
        font-size: 13px;
    }

    .nc-lowest {
        font-size: 11px;
    }

    .nc-cart {
        width: 42px;
        height: 42px;
    }

    .nc-cart svg {
        width: 18px;
        height: 18px;
    }

    .nc-foot {
        margin-top: 10px;
        padding-top: 10px;
        font-size: 12px;
        gap: 4px 10px;
    }
}

/* --------------------------------------------------------------------------
   Widok LISTA
   -------------------------------------------------------------------------- */
.nc-list > .nc-col {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

.nc-list .nc {
    flex-direction: row;
}

.nc-list .nc-media {
    flex: 0 0 260px;
    width: 260px;
    aspect-ratio: auto;
    min-height: 240px;
    border-bottom: 0;
    border-right: 1px solid var(--nc-line);
}

.nc-list .nc-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1fr auto;
    column-gap: 32px;
    padding: 24px 28px;
}

.nc-list .nc-info {
    grid-column: 1;
    grid-row: 1;
}

.nc-list .nc-buy {
    grid-column: 2;
    grid-row: 1 / span 2;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-width: 210px;
    margin: 0;
    padding: 0 0 0 28px;
    border-left: 1px solid var(--nc-line);
    text-align: right;
    gap: 16px;
}

.nc-list .nc-price-row {
    justify-content: flex-end;
}

.nc-list .nc-cart {
    width: auto;
    height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    gap: 10px;
}

.nc-list .nc-cart::after {
    content: attr(data-label);
    font-size: 15px;
    font-weight: 600;
}

.nc-list .nc-foot {
    grid-column: 1;
    grid-row: 2;
}

.nc-list .nc-title {
    font-size: 22px;
}

.nc-list .nc-sub {
    -webkit-line-clamp: 3;
}

.nc-list .nc-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 10px;
    color: #8b827b;
    font-size: 14.5px;
    line-height: 1.55;
}

@media (max-width: 991.98px) {
    .nc-list .nc-media {
        flex-basis: 200px;
        width: 200px;
        min-height: 200px;
    }

    .nc-list .nc-body {
        display: flex;
        padding: 18px 20px;
    }

    .nc-list .nc-buy {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        min-width: 0;
        padding: 16px 0 0;
        border-left: 0;
        text-align: left;
        margin-top: auto;
    }

    .nc-list .nc-price-row {
        justify-content: flex-start;
    }

    .nc-list .nc-desc {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .nc-list .nc-media {
        flex-basis: 128px;
        width: 128px;
        min-height: 0;
    }

    .nc-list .nc-media img {
        padding: 8%;
    }

    .nc-list .nc-body {
        padding: 12px 12px 12px 14px;
    }

    .nc-list .nc-title {
        font-size: 15.5px;
    }

    .nc-list .nc-sub {
        -webkit-line-clamp: 2;
    }

    .nc-list .nc-buy {
        padding-top: 10px;
    }

    .nc-list .nc-cart {
        width: 42px;
        height: 42px;
        padding: 0;
    }

    .nc-list .nc-cart::after {
        content: none;
    }

    .nc-list .nc-badges {
        right: 8px;
    }

    .nc-list .nc-wish {
        top: auto;
        bottom: 6px;
        right: 6px;
    }
}


/* --------------------------------------------------------------------------
   Podkategorie jako zaokrąglone przyciski (zamiast kafelków)
   -------------------------------------------------------------------------- */
.nsc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 24px;
    font-family: var(--nc-font);
}

.nsc-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid #e3dad2;
    border-radius: 999px;
    background: #fff;
    color: var(--nc-ink) !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.nsc-chip small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #f3ede7;
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 700;
}

a.nsc-chip:hover {
    border-color: var(--nc-brand);
    background: var(--nc-soft);
}

.nsc-chip.is-active {
    border-color: var(--nc-brand);
    background: var(--nc-brand);
    color: #fff !important;
}

.nsc-chip.is-active small {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

@media (max-width: 767.98px) {
    .nsc-chips {
        flex-wrap: nowrap;
        gap: 8px;
        margin: 0 -12px 16px;
        padding: 0 12px 4px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .nsc-chips::-webkit-scrollbar {
        display: none;
    }

    .nsc-chip {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 0 16px;
        font-size: 14px;
        scroll-snap-align: start;
    }
}


/* --------------------------------------------------------------------------
   Karta – parametry, "Zobacz szczegóły", "Powiadom o dostępności"
   -------------------------------------------------------------------------- */
.nc-specs,
.nc-more {
    display: none;
}

.nc-cart--notify {
    background: #fff;
    border: 1.5px solid var(--nc-brand);
    color: var(--nc-ink) !important;
}

.nc-cart--notify:hover {
    background: var(--nc-brand);
    color: #fff !important;
}

/* Widok LISTA */
.nc-list .nc-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 4px 0 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--nc-soft);
}

.nc-list .nc-specs > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nc-list .nc-specs dt {
    margin: 0;
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

.nc-list .nc-specs dd {
    margin: 0;
    overflow: hidden;
    color: var(--nc-ink);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nc-list .nc-more {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--nc-ink) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.nc-list .nc-more:hover {
    color: var(--nc-sale) !important;
}

.nc-list .nc-buy {
    justify-content: center;
    gap: 14px;
}

.nc-list .nc-cart--notify::after {
    font-size: 14px;
}

/* lista: zdjęcie dopasowane do treści, bez pustego pola */
.nc-list .nc-media {
    min-height: 0;
    align-self: stretch;
}

.nc-list .nc-body {
    padding: 22px 26px;
}

.nc-list .nc-desc {
    -webkit-line-clamp: 2;
}

@media (max-width: 991.98px) {
    .nc-list .nc-specs {
        grid-template-columns: minmax(0, 1fr);
        padding: 10px 12px;
    }

    .nc-list .nc-specs > div:nth-child(n + 3) {
        display: none;
    }

    .nc-list .nc-more {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .nc-list .nc-specs {
        display: none;
    }
}


/* Parametry "Tak" jako ptaszek, niski stan magazynowy */
.nc-list .nc-specs dd {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nc-list .nc-specs .is-yes dd {
    color: var(--nc-green);
}

.nc-list .nc-specs .is-yes dd svg {
    flex: 0 0 auto;
}

.nc-low {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b0632b;
    font-weight: 600;
}

.nc-low::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

@media (max-width: 1199.98px) {
    .nc-list .nc-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nc-list .nc-specs > div:nth-child(n + 5) {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Widok LISTA (desktop): wysyłka, niski stan i "Porównaj" w prawej kolumnie,
   pod ceną i przyciskiem koszyka
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    .nc-list .nc-body {
        grid-template-rows: auto 1fr;
    }

    .nc-list .nc-info {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .nc-list .nc-buy {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
        padding-top: 6px;
    }

    .nc-list .nc-foot {
        grid-column: 2;
        grid-row: 2;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 8px;
        margin: 0;
        padding: 16px 0 0 28px;
        border-top: 0;
        border-left: 1px solid var(--nc-line);
        text-align: right;
    }

    .nc-list .nc-foot .nc-compare {
        margin-left: 0;
        margin-top: 4px;
    }
}

/* Kwota oszczędności na karcie produktu w kategorii */
.nc-save {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eaf2ef;
    color: var(--nc-green, #336a5d);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}
.nc-save b { font-weight: 800; }
.nc-list .nc-save { align-self: flex-end; }

/* UX: najniższa cena z 30 dni – mniej wyraźna (wymóg prawny, ale nie główna informacja) */
.nc-lowest { margin-top: 3px; color: #a89e96; font-size: 11.5px; line-height: 1.35; }
@media (max-width: 767.98px) { .nc-lowest { font-size: 10.5px; } }
